]> git.sesse.net Git - mlt/blobdiff - configure
partially fix leak of service allocated in on_start_xxx
[mlt] / configure
index 8ae178f0717c8d92627004441b0918c25bfa3586..c9c6e00fda72a131b162d861e1b74fb1fc85cd6b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-export version=0.7.9
+export version=0.8.3
 export soversion=5
 
 show_help()
@@ -195,6 +195,9 @@ export targetos=$(uname -s)
 export targetarch=
 export amd64=false
 
+# Define the compiler used in tests (gcc is not installed everywhere)
+: ${CC:=gcc}
+
 # Iterate through arguments
 for i in "$@"
 do
@@ -327,7 +330,7 @@ do
                [ $help = 0 ] && echo "Configuring `basename $i`:"
                olddir=`pwd`
                cd src/$i
-               ./configure "$@"
+               CC="$CC" ./configure "$@"
                [ $? != 0 ] && exit 1
                cd $olddir
        fi