diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-21 15:57:36 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:33 +0200 |
commit | d729369360c9f2b7ae265ecf65ebe466d65c0c0a (patch) | |
tree | ed19683d1b5e02ddab87374dff046549446d40a3 | |
parent | bc8e10689b90cd6bc447f30ea79859bf60843308 (diff) | |
download | gnulib-d729369360c9f2b7ae265ecf65ebe466d65c0c0a.tar.gz |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | m4/mkostemps.m4 | 3 | ||||
-rw-r--r-- | modules/mkostemps | 3 |
3 files changed, 11 insertions, 2 deletions
@@ -1,5 +1,12 @@ 2011-05-21 Bruno Haible <bruno@clisp.org> + 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 <bruno@clisp.org> + 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 bc5775661d..4e2b1a4e9e 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 ff3c97acee..2061f69518 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]) |