diff options
author | Bruno Haible <bruno@clisp.org> | 2008-09-21 13:58:22 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:15:51 +0200 |
commit | 8c5378865ea3f8c479adaeb09c6949f31b6fc887 (patch) | |
tree | 390373fb728192f6fcbd02dcdf4ccd1b10cbad90 /build-aux | |
parent | 9bc711ecce2c25f201e1b5704a74f47eddd938ba (diff) | |
download | external_gettext-8c5378865ea3f8c479adaeb09c6949f31b6fc887.zip external_gettext-8c5378865ea3f8c479adaeb09c6949f31b6fc887.tar.gz external_gettext-8c5378865ea3f8c479adaeb09c6949f31b6fc887.tar.bz2 |
Adapt for newer versions of 'aclocal'.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/fixaclocal | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build-aux/fixaclocal b/build-aux/fixaclocal index 943ab30..9d62bff 100755 --- a/build-aux/fixaclocal +++ b/build-aux/fixaclocal @@ -1,6 +1,6 @@ #!/bin/sh # Script for fixing aclocal.m4 files produced by 'aclocal' from automake 1.10. -# Copyright (C) 2006 Free Software Foundation, Inc. +# Copyright (C) 2006, 2008 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,8 +20,9 @@ "$@" result=$? if test $result = 0 && test -f aclocal.m4; then - # Remove the block of 4 lines starting with 'm4_if(m4_PACKAGE_VERSION'. - sed -e '/m4_if(m4_PACKAGE_VERSION/{N;N;N;d}' < aclocal.m4 > aclocal.m4.tmp + # Remove the block of 4 lines starting with 'm4_if(m4_PACKAGE_VERSION' + # and the block of 5 lines starting with 'm4_if(AC_AUTOCONF_VERSION'. + sed -e '/m4_if(m4_PACKAGE_VERSION/{N;N;N;d}' -e '/m4_if(AC_AUTOCONF_VERSION/{N;N;N;N;d}' < aclocal.m4 > aclocal.m4.tmp if cmp aclocal.m4 aclocal.m4.tmp > /dev/null; then rm -f aclocal.m4.tmp else |