From: Pierre d'Herbemont Date: Wed, 20 Jun 2007 21:01:26 +0000 (+0000) Subject: bootstrap: Make sure we warn the user when no contrib is present on Mac OS X. X-Git-Tag: 0.9.0-test0~6971 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7173c8f8dd6793c944734937c21ebfcdd47c43c0;p=vlc bootstrap: Make sure we warn the user when no contrib is present on Mac OS X. --- diff --git a/bootstrap b/bootstrap index 4fcb42bdf7..ee7caf7829 100755 --- a/bootstrap +++ b/bootstrap @@ -40,26 +40,27 @@ if test -d extras/contrib/bin; then ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal" fi if test ".`uname -s`" = ".Darwin"; then - # Make sure contrib has been built - if test ! -e ./extras/contrib/config.mak; then - set +x - echo "" - echo "ERR: Contribs haven't been built" - echo "ERR: Please run:" - echo "" - echo "ERR: 'cd extras/contrib && ./bootstrap && make && cd ../..'" - echo "" - echo "ERR: Make sure fink has been disabled too" - echo "" - set -x - exit 1 - fi export LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH elif test ".`uname -s`" = ".BeOS"; then export LIBRARY_PATH=./extras/contrib/lib:$LIBRARY_PATH export BELIBRARIES=./extras/contrib/lib:$BELIBRARIES fi +elif test ".`uname -s`" = ".Darwin"; then + # Make sure contrib has been built + if test ! -e ./extras/contrib/config.mak; then + set +x + echo "" + echo "ERR: Contribs haven't been built" + echo "ERR: Please run:" + echo "ERR: " + echo "ERR: 'cd extras/contrib && ./bootstrap && make && cd ../..'" + echo "ERR: " + echo "ERR: Make sure fink has been disabled too." + echo "" + set -x + exit 1 + fi fi # Check for autoconf