putenv: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 15:29:30 +0000 (17:29 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:39 +0000 (00:06 +0200)
* m4/putenv.m4 (gl_FUNC_PUTENV): Move AC_LIBOBJ invocation from here...
* modules/putenv (configure.ac): ... to here.

ChangeLog
m4/putenv.m4
modules/putenv

index 814725a1f3a9aa6747626829ee29d4425ce4d439..4bbc4509e8f77df0fdfc84241d63ef5f0beac1f4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       putenv: Move AC_LIBOBJ invocations to module description.
+       * m4/putenv.m4 (gl_FUNC_PUTENV): Move AC_LIBOBJ invocation from here...
+       * modules/putenv (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        login_tty: Move AC_LIBOBJ invocations to module description.
index de3900bf282cf04805bbe72152df33ffd600d44c..1497b4a7978927c993e6e8a183e6b4ce699639f6 100644 (file)
@@ -1,4 +1,4 @@
-# putenv.m4 serial 17
+# putenv.m4 serial 18
 dnl Copyright (C) 2002-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,
@@ -36,6 +36,5 @@ AC_DEFUN([gl_FUNC_PUTENV],
    ])
   if test $gl_cv_func_svid_putenv = no; then
     REPLACE_PUTENV=1
-    AC_LIBOBJ([putenv])
   fi
 ])
index ce28e4c6e94967f71520581043ceb958d33fba26..7476af11aee84455b2fac7fa46f99f5082088bc9 100644 (file)
@@ -11,6 +11,9 @@ malloc-posix    [test $REPLACE_PUTENV = 1]
 
 configure.ac:
 gl_FUNC_PUTENV
+if test $REPLACE_PUTENV = 1; then
+  AC_LIBOBJ([putenv])
+fi
 gl_STDLIB_MODULE_INDICATOR([putenv])
 
 Makefile.am: