Commit 7173c8f8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

bootstrap: Make sure we warn the user when no contrib is present on Mac OS X.

parent 12d8104c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment