summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-09-11 04:17:43 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-09-11 04:17:43 -0400
commitb7a838261bd2aace4466a725a8de08cdd4dccc9c (patch)
treea0a60c2a25eead7b0c74913e9b717ce9b7c83122 /autogen.sh
parentac6e4b83e7eac8cf99849b3c4b60da7fdace8625 (diff)
Move m4 macros into build/aclocal.*.m4 files
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 1 insertions, 15 deletions
diff --git a/autogen.sh b/autogen.sh
index 7dd9016d..cf00ce9b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,6 +15,7 @@ cd $srcdir
PACKAGE=cairo
LIBTOOLIZE_FLAGS="--copy --force --automake"
+ACLOCAL_FLAGS="-I build"
AUTOHEADER=${AUTOHEADER-autoheader}
AUTOMAKE_FLAGS="--add-missing --gnu -Wall"
AUTOCONF=${AUTOCONF-autoconf}
@@ -143,21 +144,6 @@ ACLOCAL=`echo $AUTOMAKE | sed s/automake/aclocal/`
version_check libtool LIBTOOLIZE "$LIBTOOLIZE glibtoolize libtoolize" $libtoolize_min_vers \
"http://ftp.gnu.org/pub/gnu/libtool/libtool-${libtool_min_vers}.tar.gz" || DIE=1
-if test -n "$ACLOCAL" && test -z "$ACLOCAL_FLAGS"; then
- acdir=`$ACLOCAL --print-ac-dir`
- if [ ! -f $acdir/pkg.m4 ]; then
- echo "$ARGV0: Error: Could not find pkg-config macros."
- echo " (Looked in $acdir/pkg.m4)"
- echo " If pkg.m4 is available in /another/directory, please set"
- echo " ACLOCAL_FLAGS=\"-I /another/directory\""
- echo " Otherwise, please install pkg-config."
- echo ""
- echo "pkg-config is available from:"
- echo "http://www.freedesktop.org/software/pkgconfig/"
- DIE=1
- fi
-fi
-
if test -n "$DIE"; then
exit 1
fi