From: Bruno Haible Date: Sat, 21 May 2011 15:29:30 +0000 (+0200) Subject: putenv: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2458 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=98ceac18596c7520e9c022fa64431b48ee22b4d7;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 814725a1f..4bbc4509e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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. * m4/pty.m4 (gl_FUNC_LOGIN_TTY): Move AC_LIBOBJ invocation from here... * modules/login_tty (configure.ac): ... to here. diff --git a/m4/putenv.m4 b/m4/putenv.m4 index de3900bf2..1497b4a79 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 ce28e4c6e..7476af11a 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: