diff options
author | Bruno Haible <bruno@clisp.org> | 2002-12-09 17:54:43 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:08:52 +0200 |
commit | d47979fe826e80d1b5f118a9cdccc40369ea6218 (patch) | |
tree | b536ba5da4799f04fa7292d80e65838d616470ef /m4 | |
parent | ae5567f22432b354b2523fbb9bd8825127c7b546 (diff) | |
download | external_gettext-d47979fe826e80d1b5f118a9cdccc40369ea6218.zip external_gettext-d47979fe826e80d1b5f118a9cdccc40369ea6218.tar.gz external_gettext-d47979fe826e80d1b5f118a9cdccc40369ea6218.tar.bz2 |
Switch to autoconf-2.57 and automake-1.7.2.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 5 | ||||
-rw-r--r-- | m4/fixautomake.m4 | 27 |
2 files changed, 32 insertions, 0 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index a808e0e..26f3e9e 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2002-12-07 Bruno Haible <bruno@clisp.org> + + Switch to autoconf-2.57 and automake-1.7.2. + * fixautomake.m4: New file, extracted from configure.in. + 2002-11-19 Bruno Haible <bruno@clisp.org> Switch to autoconf-2.56. diff --git a/m4/fixautomake.m4 b/m4/fixautomake.m4 new file mode 100644 index 0000000..82371c5 --- /dev/null +++ b/m4/fixautomake.m4 @@ -0,0 +1,27 @@ +# fixautomake.m4 serial 1 (gettext-0.11.6) +dnl Copyright (C) 2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible + +dnl Fix unesthetic build commands generated by automake. +AC_DEFUN([FIX_MAKEFILE_COMPILE], [ + sed -e "s,\`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," -e "s,\`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$<,\\\$<," < $1 > $1.tmp + mv $1.tmp $1 +]) + +dnl Fix an automake-1.5-1.7.2 bug: the distrib rule is omitted. +AC_DEFUN([FIX_MAKEFILE_DISTRIB], [ + sed -e 's,^#distdir:,distdir:,' < $1 > $1.tmp + mv $1.tmp $1 +]) + +dnl Fix an automake-1-5.1.7.2 bug: all info files are erased by "make". +AC_DEFUN([FIX_MAKEFILE_INFO], [ + sed -e '/@rm -f \$''@/d' < $1 > $1.tmp + mv $1.tmp $1 +]) |