Commit 4ee6aa92 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

bootstrap: Warn if contrib hasn't been built (on Mac OS X). (good for new comers).

parent ce39456c
...@@ -40,6 +40,20 @@ if test -d extras/contrib/bin; then ...@@ -40,6 +40,20 @@ if test -d extras/contrib/bin; then
ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal" ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal"
fi fi
if test ".`uname -s`" = ".Darwin"; then 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 LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH
elif test ".`uname -s`" = ".BeOS"; then elif test ".`uname -s`" = ".BeOS"; then
......
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