]> git.sesse.net Git - vlc/blobdiff - bootstrap
Fix the pkg-config warning
[vlc] / bootstrap
index 52a754ad4d4c1c1883182365aca90767e00a6f1d..836545942fb5dce928cfe006599614616d3e109f 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -9,8 +9,7 @@
 
 if test "$#" != "0"; then
   echo "Usage: $0"
-  echo "  Calls automake, autoconf, autoheader, autopoint and other auto* to generate"
-  echo "  m4 macros and prepare Makefiles."
+  echo "  Calls autoreconf to generate m4 macros and prepare Makefiles."
   exit 1
 fi
 
@@ -31,16 +30,20 @@ ACLOCAL_ARGS="-I m4 ${ACLOCAL_ARGS}"
 
 # Check for contrib directory
 if test -d extras/contrib/bin; then
-  export PATH="`pwd`/extras/contrib/bin:$PATH"
+  PATH="`pwd`/extras/contrib/bin:$PATH"
   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
+    LD_LIBRARY_PATH=./extras/contrib/lib:$LD_LIBRARY_PATH
+    DYLD_LIBRARY_PATH=./extras/contrib/lib:$DYLD_LIBRARY_PATH
+    export LD_LIBRARY_PATH
+    export DYLD_LIBRARY_PATH
   elif test ".`uname -s`" = ".BeOS"; then
-    export LIBRARY_PATH=./extras/contrib/lib:$LIBRARY_PATH
-    export BELIBRARIES=./extras/contrib/lib:$BELIBRARIES
+    LIBRARY_PATH=./extras/contrib/lib:$LIBRARY_PATH
+    BELIBRARIES=./extras/contrib/lib:$BELIBRARIES
+    export LIBRARY_PATH
+    export BELIBRARIES
   fi
 elif test ".`uname -s`" = ".Darwin"; then
   set +x
@@ -56,17 +59,6 @@ elif test ".`uname -s`" = ".Darwin"; then
   exit 1
 fi
 
-# Check for autoconf
-rm -f m4/autoconf260.m4
-case "$(autoreconf --version|head -n 1)" in
-  *2.59*)
-    echo "Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP."
-    echo "Press Enter to continue"
-    read
-    cp -f extras/buildsystem/autotools/m4/autoconf260.m4 m4/
-    ;;
-esac
-
 # Check for pkg-config
 if pkg-config --version >/dev/null 2>&1; then
   # We have pkg-config, everything is cool.
@@ -149,9 +141,8 @@ if [ "$PKGCONFIG" = "no" ]; then
   cat << EOF
 
 ==============================================================
-NOTE: you do not have the "pkg-config" utility on your system;
-detection of the Gtk-2.0 and GNOME 2.0 libraries will not be
-reliable.
+NOTE: "pkg-config" is missing from your system. Certain
+libraries may not be detected properly.
 EOF
 fi