From: Bruno Haible Date: Sat, 21 May 2011 13:57:36 +0000 (+0200) Subject: mkostemps: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2476 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=d729369360c9f2b7ae265ecf65ebe466d65c0c0a;p=gnulib.git mkostemps: Move AC_LIBOBJ invocations to module description. * m4/mkostemps.m4 (gl_FUNC_MKOSTEMPS): Move AC_LIBOBJ invocation from here... * modules/mkostemps (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 10d8f298e..c984ad042 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-21 Bruno Haible + mkostemps: Move AC_LIBOBJ invocations to module description. + * m4/mkostemps.m4 (gl_FUNC_MKOSTEMPS): Move AC_LIBOBJ invocation from + here... + * modules/mkostemps (configure.ac): ... to here. + +2011-05-21 Bruno Haible + mkostemp: Move AC_LIBOBJ invocations to module description. * m4/mkostemp.m4 (gl_FUNC_MKOSTEMP): Move AC_LIBOBJ and gl_PREREQ_MKOSTEMP invocations from here... diff --git a/m4/mkostemps.m4 b/m4/mkostemps.m4 index bc5775661..4e2b1a4e9 100644 --- a/m4/mkostemps.m4 +++ b/m4/mkostemps.m4 @@ -1,4 +1,4 @@ -# mkostemps.m4 serial 1 +# mkostemps.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_MKOSTEMPS], AC_CHECK_FUNCS_ONCE([mkostemps]) if test $ac_cv_func_mkostemps != yes; then HAVE_MKOSTEMPS=0 - AC_LIBOBJ([mkostemps]) fi ]) diff --git a/modules/mkostemps b/modules/mkostemps index ff3c97ace..2061f6951 100644 --- a/modules/mkostemps +++ b/modules/mkostemps @@ -13,6 +13,9 @@ tempname [test $HAVE_MKOSTEMPS = 0] configure.ac: gl_FUNC_MKOSTEMPS +if test $HAVE_MKOSTEMPS = 0; then + AC_LIBOBJ([mkostemps]) +fi gl_MODULE_INDICATOR([mkostemps]) gl_STDLIB_MODULE_INDICATOR([mkostemps])