summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-02-05 18:52:51 +0000
committerDiego Biurrun <diego@biurrun.de>2007-02-05 18:52:51 +0000
commitd6ceace3e25bc68687409412df07b059e13c7664 (patch)
tree7ad47af28e33a22a5015a88efdca0588f29c07ae /configure
parent93dd19e06962b6a4b38567cfa8c7e26579e3d3bb (diff)
Use enabled/disabled functions where possible.
Originally committed as revision 7834 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index baa06f77fd..a5c24a05b0 100755
--- a/configure
+++ b/configure
@@ -1399,7 +1399,7 @@ int main(){
EOF
if test "$?" != 0; then
echo "$cc is unable to create an executable file."
- if test -z "$cross_prefix" -a "$cross_compile" = no; then
+ if test -z "$cross_prefix" && disabled cross_compile ; then
echo "If $cc is a cross-compiler, use the --cross-compile option."
echo "Only do this if you know what cross compiling means."
fi
@@ -1648,7 +1648,7 @@ if enabled_any vhook liba52bin libfaadbin; then
add_extralibs $ldl
fi
-if test "$targetos" = "CYGWIN" -a "$lstatic" = "yes" ; then
+if test "$targetos" = "CYGWIN" && enabled lstatic ; then
vhook="no"
echo
echo "At the moment vhooks don't work on Cygwin static builds."