From: Bruno Haible Date: Sat, 21 May 2011 14:02:11 +0000 (+0200) Subject: mkstemps: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78cb09bd3634a3d183f1e9422c9eb990f27e358c;p=pspp mkstemps: Move AC_LIBOBJ invocations to module description. * m4/mkstemps.m4 (gl_FUNC_MKSTEMPS): Move AC_LIBOBJ invocation from here... * modules/mkstemps (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index b41bc18f04..47d13298dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-21 Bruno Haible + + mkstemps: Move AC_LIBOBJ invocations to module description. + * m4/mkstemps.m4 (gl_FUNC_MKSTEMPS): Move AC_LIBOBJ invocation from + here... + * modules/mkstemps (configure.ac): ... to here. + 2011-05-21 Bruno Haible mkstemp: Move AC_LIBOBJ invocations to module description. diff --git a/m4/mkstemps.m4 b/m4/mkstemps.m4 index 2a065d6022..74d4f0ec23 100644 --- a/m4/mkstemps.m4 +++ b/m4/mkstemps.m4 @@ -1,4 +1,4 @@ -# mkstemps.m4 serial 1 +# mkstemps.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_MKSTEMPS], AC_CHECK_FUNCS_ONCE([mkstemps]) if test $ac_cv_func_mkstemps != yes; then HAVE_MKSTEMPS=0 - AC_LIBOBJ([mkstemps]) fi ]) diff --git a/modules/mkstemps b/modules/mkstemps index 56718a9b42..cb3e5722f7 100644 --- a/modules/mkstemps +++ b/modules/mkstemps @@ -12,6 +12,9 @@ tempname [test $HAVE_MKSTEMPS = 0] configure.ac: gl_FUNC_MKSTEMPS +if test $HAVE_MKSTEMPS = 0; then + AC_LIBOBJ([mkstemps]) +fi gl_MODULE_INDICATOR([mkstemps]) gl_STDLIB_MODULE_INDICATOR([mkstemps])