Conditionally emit AM_PROG_CC_C_O invocation to tests/configure.ac.
authorBruno Haible <bruno@clisp.org>
Sat, 3 Oct 2009 16:13:38 +0000 (18:13 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 3 Oct 2009 16:13:38 +0000 (18:13 +0200)
ChangeLog
gnulib-tool

index 8bcb8b1..e747ef6 100644 (file)
--- 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
index ea018bd..397f442 100755 (executable)
@@ -4019,6 +4019,10 @@ func_create_testdir ()
      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