On Mon, 15 Oct 2012, Måns Rullgård wrote:

Martin Storsjö <mar...@martin.st> writes:

On Mon, 15 Oct 2012, Mans Rullgard wrote:

diff --git a/configure b/configure
index 0acaf3e..25e2e83 100755
--- a/configure
+++ b/configure
@@ -956,7 +956,7 @@ apply(){
cp_if_changed(){
    cmp -s "$1" "$2" && echo "$2 is unchanged" && return
    mkdir -p "$(dirname $2)"
-    cp -f "$1" "$2"
+    $cp_f "$1" "$2"
}

# CONFIG_LIST contains configurable options, while HAVE_LIST is for

Perhaps the cp_f addition could be split out to a separate commit?

Sure.

@@ -1790,6 +1790,7 @@ shlibdir_default="$libdir_default"
ar_default="ar"
cc_default="gcc"
host_cc_default="gcc"
+cp_f="cp -f"
ln_s="ln -sf"
nm_default="nm -g"
objformat="elf"
@@ -2898,6 +2899,19 @@ case $target_os in
        ;;
    minix)
        ;;
+    plan9)
+        add_host_cflags -I${source_path}/compat/plan9

Hmm, what headers is this for? This isn't totally clean for cross
compilation I guess, but OTOH I don't see what headers the host tools
would use from this dir at all.

Oops, that one wasn't supposed to be there.

+        add_cppflags -I${source_path}/compat/plan9 \
+                     -D_C99_SNPRINTF_EXTENSION     \
+                     -D_REENTRANT_SOURCE           \
+                     -D_RESEARCH_SOURCE
+        add_compat strtod.o strtod=avpriv_strtod
+        network_extralibs='-lbsd'
+        exeobjs=compat/plan9/main.o
+        disable avserver

I take it that plan9 currently has everything that we check for, but
still fails on something else. Is there some other function we could
add to the avserver deps to make this be disabled automatically?

It fails on SA_RESTART.  If I define that to zero, the link fails with
atoll, lrintf, and unsetenv missing.

Ah, I see. In that case I'm ok with the 'disable avserver'.

// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to