]> git.sesse.net Git - vlc/blobdiff - bootstrap
bootstrap: test for the presence of contrib/share/aclocal before including it because...
[vlc] / bootstrap
index 4a9e423b6b3e676ba86eac4f317a9e965d038daa..78dd8affaa5d4bd35e315a2c4a71816d4dd18fe0 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -36,7 +36,9 @@ ACLOCAL_ARGS="-I m4"
 # Check for contrib directory
 if test -d extras/contrib/bin; then
   export PATH=./extras/contrib/bin:$PATH
-  ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal"
+  if test -d extras/contrib/share/aclocal; then
+    ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal"
+  fi
   if test ".`uname -s`" = ".Darwin"; then
     export LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH
     export DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH