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?

@@ -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.

+        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?

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to