]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Work around yet another automake problem.
authorBruno Haible <bruno@clisp.org>
Fri, 16 Mar 2001 18:33:53 +0000 (18:33 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 16 Mar 2001 18:33:53 +0000 (18:33 +0000)
ChangeLog
configure.in

index 295a13b76093f57b5a93393baa7e494832265797..717aee4f1da3b9d34960515e25de87dcce5eeca1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-03-16  Bruno Haible  <haible@clisp.cons.org>
+
+       * 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  <haible@clisp.cons.org>
 
        * configure.in: Add AC_REPLACE_FUNCS(strcasecmp). Needed for EMX.
index 538e2330528243001efc4cd23b69e2727a0bed99..6925d21c118eab4aecfa29d13403c40b00d54e37 100644 (file)
@@ -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
 ])