From 98ceac18596c7520e9c022fa64431b48ee22b4d7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 17:29:30 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ m4/putenv.m4 | 3 +-- modules/putenv | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 814725a1f3..4bbc4509e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Bruno Haible + + 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 login_tty: Move AC_LIBOBJ invocations to module description. diff --git a/m4/putenv.m4 b/m4/putenv.m4 index de3900bf28..1497b4a797 100644 --- a/m4/putenv.m4 +++ b/m4/putenv.m4 @@ -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 ]) diff --git a/modules/putenv b/modules/putenv index ce28e4c6e9..7476af11ae 100644 --- a/modules/putenv +++ b/modules/putenv @@ -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: -- 2.30.2