X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=c9c6e00fda72a131b162d861e1b74fb1fc85cd6b;hb=0b2c626ca0bd207de942aa5fb738d265f5efeb17;hp=8ae178f0717c8d92627004441b0918c25bfa3586;hpb=46ca9cd9ec7f9173d11b047ebf26a28dfcfbdf58;p=mlt diff --git a/configure b/configure index 8ae178f0..c9c6e00f 100755 --- 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