summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-02-01 18:01:16 +0000
committerRichard Hughes <richard@hughsie.com>2010-02-01 18:01:16 +0000
commit293f9322b7ce3406c1e46644a646025e30d44960 (patch)
tree9c1e4e3de6d59de11994e3e49c14efd482d0b465 /autogen.sh
parent09665a21ac630747cc6a567a54ecf69de1643af8 (diff)
Fix up autogen.sh after the configure.ac modernisation
Signed-off-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index c098d33..bb2423f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,7 +22,7 @@ DIE=0
DIE=1
}
-(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
+(grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && {
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have libtool installed."
@@ -75,7 +75,7 @@ esac
aclocalinclude="$ACLOCAL_FLAGS"
- if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
+ if grep "^LT_INIT" configure.ac >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
libtoolize --force --copy
@@ -83,7 +83,7 @@ esac
fi
echo "Running aclocal $aclocalinclude ..."
aclocal $aclocalinclude
- if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then
+ if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then
echo "Running autoheader..."
autoheader
fi