diff options
author | Timo Sirainen <cras@irssi.org> | 2002-04-22 10:08:07 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-04-22 10:08:07 +0000 |
commit | 350c75714c2926ec86e1369219f7c28b5b76ec0f (patch) | |
tree | 4cc510152d97b64a4dc3fe45ea20343b319b7278 /autogen.sh | |
parent | e47cab1ecc3c35cddef56e9980baf77fa32f3470 (diff) | |
download | irssi-350c75714c2926ec86e1369219f7c28b5b76ec0f.zip |
another try with glib*.m4
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2705 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -106,15 +106,16 @@ if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then fi aclocalinclude="$ACLOCAL_FLAGS -I ." echo "Running aclocal $aclocalinclude ..." -aclocal $aclocalinclude +error=`aclocal $aclocalinclude 2>&1` # see if we don't have glib.m4 or glib-2.0.m4 there yet -if ! grep "^AC_DEFUN(AM_PATH_GLIB," aclocal.m4 >/dev/null; then - cp glib.m4_ glib.m4 -fi -if ! grep "^AC_DEFUN(AM_PATH_GLIB_2_0," aclocal.m4 >/dev/null; then +if `echo $error|grep AM_PATH_GLIB_2_0`; then cp glib-2.0.m4_ glib-2.0.m4 fi +if `echo $error|grep AM_PATH_GLIB[^_]`; then + cp glib.m4_ glib.m4 +fi + aclocal $aclocalinclude if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then |