#! /bin/sh
## bootstrap file for the VLC media player
-## $Id: bootstrap,v 1.81 2003/11/04 15:31:44 sam Exp $
+## $Id: bootstrap,v 1.83 2003/11/15 01:21:48 massiot Exp $
##
## Authors: Sam Hocevar <sam@zoy.org>
AUTOMAKESUCKS=no
INSTALLSUCKS=no
+# Check for contrib directory
+if test -d extras/contrib/bin; then
+ export PATH=./extras/contrib/bin:$PATH
+ export LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH
+ export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH
+fi
+
# Check for automake
amvers="none"
if automake-1.7 --version >/dev/null 2>&1; then
# remove autotools cruft
rm -f aclocal.m4 configure config.log config.h config.h.in
+rm -Rf autom4te.cache
# remove old autotools extra cruft
rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh
# remove new autotools extra cruft