]> git.sesse.net Git - vlc/commitdiff
* aclocal doesn't handle searching in non-existing dirs all that gracefully.
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 5 Jul 2004 14:18:51 +0000 (14:18 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 5 Jul 2004 14:18:51 +0000 (14:18 +0000)
  new method in which aclocal args first get stored in a variable.

bootstrap

index 8feac583ca6cc960892462edfec57a12861b03b6..09304f8b979f09f7d5edee09156688296be0ce35 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -29,11 +29,14 @@ set -x
 AUTOMAKESUCKS=no
 INSTALLSUCKS=no
 
+ACLOCAL_ARGS="-I m4"
+
 # 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
+  ACLOCAL_ARGS="${ACLOCAL_ARGS} -I extras/contrib/share/aclocal"
 fi
 
 # Check for automake
@@ -360,7 +363,7 @@ fi
 
 # Do the rest
 ${autopoint} -f
-${aclocal} -I m4 -I extras/contrib/share/aclocal
+${aclocal} ${ACLOCAL_ARGS}
 ${autoconf}
 ${autoheader}
 ${automake} --add-missing --copy