argp: Use standard gnulib idiom for EXEEXT.
authorSimon Josefsson <simon@josefsson.org>
Tue, 28 Oct 2008 10:04:35 +0000 (11:04 +0100)
committerSimon Josefsson <simon@josefsson.org>
Tue, 28 Oct 2008 10:04:35 +0000 (11:04 +0100)
ChangeLog
gnulib-tool
modules/argp-tests

index 606e3a8..2b3c23b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-28  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_emit_tests_Makefile_am): Revert last commit.
+       * modules/argp-tests (test_argp_LDADD): Set EXEEXT here instead,
+       using idiom used elsewhere in gnulib.
+
 2008-10-27  Jim Meyering  <meyering@redhat.com>
 
        * modules/gethostname (License): Relicense: LGPL -> LGPLv2+.
index c6d9dc1..b0f4c18 100755 (executable)
@@ -2012,7 +2012,7 @@ func_emit_tests_Makefile_am ()
   #   "AM_GNU_GETTEXT used but SUBDIRS not defined"
   echo "SUBDIRS ="
   echo "TESTS ="
-  echo "TESTS_ENVIRONMENT = EXEEXT=\$(EXEEXT)"
+  echo "TESTS_ENVIRONMENT ="
   echo "noinst_PROGRAMS ="
   if ! $for_test; then
     echo "check_PROGRAMS ="
index 8f92a4d..8879cce 100644 (file)
@@ -7,5 +7,6 @@ progname
 
 Makefile.am:
 TESTS += test-argp test-argp-2.sh
+TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@'
 check_PROGRAMS += test-argp
 test_argp_LDADD = $(LDADD) @LIBINTL@