changeset 12109:b56c1bd3de46

Conditionally emit AM_PROG_CC_C_O invocation to tests/configure.ac.
author Bruno Haible <bruno@clisp.org>
date Sat, 03 Oct 2009 18:13:38 +0200
parents fd6226a4117b
children a141d503d085
files ChangeLog gnulib-tool
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-03  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_create_testdir): Conditionally emit AM_PROG_CC_C_O
+	invocation to tests/configure.ac.
+	Reported by Ian Beckwith <ianb@erislabs.net>.
+
 2009-10-02  Eric Blake  <ebb9@byu.net>
 
 	fchdir: avoid compiler warning
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -4019,6 +4019,10 @@
      echo "AC_PROG_MAKE_SET"
      echo "AC_PROG_RANLIB"
      echo
+     if test -n "$uses_subdirs"; then
+       echo "AM_PROG_CC_C_O"
+       echo
+     fi
      for module in $modules; do
        func_verify_module
        if test -n "$module"; then