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
# 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
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.
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