From 992540004ee8488817c6afec188d2e3cbda0f469 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 17:04:18 +0200 Subject: [PATCH] popen: Move AC_LIBOBJ invocations to module description. * m4/popen.m4 (gl_FUNC_POPEN): Move AC_LIBOBJ and gl_PREREQ_POPEN invocations from here... * modules/popen (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/popen.m4 | 4 +--- modules/popen | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f4d73ca8..951ff389b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-21 Bruno Haible + popen: Move AC_LIBOBJ invocations to module description. + * m4/popen.m4 (gl_FUNC_POPEN): Move AC_LIBOBJ and gl_PREREQ_POPEN + invocations from here... + * modules/popen (configure.ac): ... to here. + +2011-05-21 Bruno Haible + poll: Move AC_LIBOBJ invocations to module description. * m4/poll.m4 (gl_FUNC_POLL): Move AC_LIBOBJ and gl_PREREQ_POLL invocations from here... diff --git a/m4/popen.m4 b/m4/popen.m4 index 7477923ef..c45298145 100644 --- a/m4/popen.m4 +++ b/m4/popen.m4 @@ -1,4 +1,4 @@ -# popen.m4 serial 3 +# popen.m4 serial 4 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, @@ -27,8 +27,6 @@ AC_DEFUN([gl_FUNC_POPEN], ]) if test "$gl_cv_func_popen_works" = no; then REPLACE_POPEN=1 - AC_LIBOBJ([popen]) - gl_PREREQ_POPEN fi ]) diff --git a/modules/popen b/modules/popen index d4ba0ab06..37b3cf6ca 100644 --- a/modules/popen +++ b/modules/popen @@ -11,6 +11,10 @@ open [test $REPLACE_POPEN = 1] configure.ac: gl_FUNC_POPEN +if test $REPLACE_POPEN = 1; then + AC_LIBOBJ([popen]) + gl_PREREQ_POPEN +fi gl_STDIO_MODULE_INDICATOR([popen]) Makefile.am: -- 2.11.0