mkstemps: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 14:02:11 +0000 (16:02 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:34 +0000 (00:06 +0200)
* m4/mkstemps.m4 (gl_FUNC_MKSTEMPS): Move AC_LIBOBJ invocation from
here...
* modules/mkstemps (configure.ac): ... to here.

ChangeLog
m4/mkstemps.m4
modules/mkstemps

index b41bc18f04080c09fc1faaf20d90a503438b2932..47d13298dc41885cac22202d9e390120d037f9ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       mkstemps: Move AC_LIBOBJ invocations to module description.
+       * m4/mkstemps.m4 (gl_FUNC_MKSTEMPS): Move AC_LIBOBJ invocation from
+       here...
+       * modules/mkstemps (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        mkstemp: Move AC_LIBOBJ invocations to module description.
index 2a065d60226d8d1575ec476b74427a9a0d55c105..74d4f0ec23b8248c14e3fdab50a6dbc3f85884a6 100644 (file)
@@ -1,4 +1,4 @@
-# mkstemps.m4 serial 1
+# mkstemps.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_MKSTEMPS],
   AC_CHECK_FUNCS_ONCE([mkstemps])
   if test $ac_cv_func_mkstemps != yes; then
     HAVE_MKSTEMPS=0
-    AC_LIBOBJ([mkstemps])
   fi
 ])
index 56718a9b42ae6e58a02adc3c83259800a1c19924..cb3e5722f71bd65a34a85086e127143ea2599a72 100644 (file)
@@ -12,6 +12,9 @@ tempname        [test $HAVE_MKSTEMPS = 0]
 
 configure.ac:
 gl_FUNC_MKSTEMPS
+if test $HAVE_MKSTEMPS = 0; then
+  AC_LIBOBJ([mkstemps])
+fi
 gl_MODULE_INDICATOR([mkstemps])
 gl_STDLIB_MODULE_INDICATOR([mkstemps])