From: Bruno Haible Date: Fri, 16 Mar 2001 18:33:53 +0000 (+0000) Subject: Work around yet another automake problem. X-Git-Tag: v0.10.36~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d24c557db2bd050bba57663abde44f43af24d321;p=thirdparty%2Fgettext.git Work around yet another automake problem. --- diff --git a/ChangeLog b/ChangeLog index 295a13b76..717aee4f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-03-16 Bruno Haible + + * configure.in: Postprocess tests/Makefile to work around an + inconsistency in automake-1.4: EXTRA_PROGRAMS is not treated like + bin_PROGRAMS. + 2001-03-11 Bruno Haible * configure.in: Add AC_REPLACE_FUNCS(strcasecmp). Needed for EMX. diff --git a/configure.in b/configure.in index 538e23305..6925d21c1 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.13) -AC_REVISION($Revision: 1.19 $) +AC_REVISION($Revision: 1.20 $) AC_INIT(src/msgfmt.c) AM_INIT_AUTOMAKE(gettext, 0.10.36) RELEASE_DATE=2001-03-09 dnl in "date +%Y-%m-%d" format @@ -119,4 +119,12 @@ changequote([, ])dnl sed -e "s/list='\\\$(lisp_LISP)'; for/list='\$(lisp_LISP)'; test '\$(EMACS)' = no || for/" \ < misc/Makefile > misc/Makefile.tmp mv misc/Makefile.tmp misc/Makefile + dnl Workaround another automake-1.4 bug which forgets to add $(EXEEXT) + dnl suffixes to elements of EXTRA_PROGRAMS. It does correctly add the suffix + dnl to the elements of bin_PROGRAMS. +changequote(,)dnl + sed -e '/^EXTRA_PROGRAMS = /{' -e 's/\([a-z0-9_]\)\( \)/\1\$(EXEEXT)\2/g' -e 's/\([a-z0-9_]\)$/\1\$(EXEEXT)/g' -e '}' \ + < tests/Makefile > tests/Makefile.tmp +changequote([, ])dnl + mv tests/Makefile.tmp tests/Makefile ])