mkostemps: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 13:57:36 +0000 (15:57 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:33 +0000 (00:06 +0200)
* m4/mkostemps.m4 (gl_FUNC_MKOSTEMPS): Move AC_LIBOBJ invocation from
here...
* modules/mkostemps (configure.ac): ... to here.

ChangeLog
m4/mkostemps.m4
modules/mkostemps

index 10d8f298ec724bc6665ce232b699fb21649ccc3d..c984ad04280c88cb9171b596067aa881fcb817dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       mkostemps: Move AC_LIBOBJ invocations to module description.
+       * m4/mkostemps.m4 (gl_FUNC_MKOSTEMPS): Move AC_LIBOBJ invocation from
+       here...
+       * modules/mkostemps (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        mkostemp: Move AC_LIBOBJ invocations to module description.
index bc5775661d18d7b48648230fde5e49b64acf17be..4e2b1a4e9e8ec5df8809f62d3e14357be03b9acd 100644 (file)
@@ -1,4 +1,4 @@
-# mkostemps.m4 serial 1
+# mkostemps.m4 serial 2
 dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -14,6 +14,5 @@ AC_DEFUN([gl_FUNC_MKOSTEMPS],
   AC_CHECK_FUNCS_ONCE([mkostemps])
   if test $ac_cv_func_mkostemps != yes; then
     HAVE_MKOSTEMPS=0
-    AC_LIBOBJ([mkostemps])
   fi
 ])
index ff3c97acee4cf03f38d84cc8aad1143ee2f1c1fc..2061f695180b7a1aefad88f6f34cac7e40a0b8e7 100644 (file)
@@ -13,6 +13,9 @@ tempname        [test $HAVE_MKOSTEMPS = 0]
 
 configure.ac:
 gl_FUNC_MKOSTEMPS
+if test $HAVE_MKOSTEMPS = 0; then
+  AC_LIBOBJ([mkostemps])
+fi
 gl_MODULE_INDICATOR([mkostemps])
 gl_STDLIB_MODULE_INDICATOR([mkostemps])