diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-21 15:55:19 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:33 +0200 |
commit | bc8e10689b90cd6bc447f30ea79859bf60843308 (patch) | |
tree | bbc630fe218e14368c3e864455fe531117faa8a6 | |
parent | 01a45f3687df620fa17a0691639b55783afa1ef8 (diff) | |
download | gnulib-bc8e10689b90cd6bc447f30ea79859bf60843308.tar.gz |
mkostemp: Move AC_LIBOBJ invocations to module description.
* m4/mkostemp.m4 (gl_FUNC_MKOSTEMP): Move AC_LIBOBJ and
gl_PREREQ_MKOSTEMP invocations from here...
* modules/mkostemp (configure.ac): ... to here.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | m4/mkostemp.m4 | 4 | ||||
-rw-r--r-- | modules/mkostemp | 4 |
3 files changed, 12 insertions, 3 deletions
@@ -1,5 +1,12 @@ 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... + * modules/mkostemp (configure.ac): ... to here. + +2011-05-21 Bruno Haible <bruno@clisp.org> + mknod: Move AC_LIBOBJ invocations to module description. * m4/mknod.m4 (gl_FUNC_MKNOD): Move AC_LIBOBJ invocations from here... * modules/mknod (configure.ac): ... to here. diff --git a/m4/mkostemp.m4 b/m4/mkostemp.m4 index 03c12bb70c..e408bb2134 100644 --- a/m4/mkostemp.m4 +++ b/m4/mkostemp.m4 @@ -1,4 +1,4 @@ -# mkostemp.m4 serial 1 +# mkostemp.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,8 +14,6 @@ AC_DEFUN([gl_FUNC_MKOSTEMP], AC_CHECK_FUNCS_ONCE([mkostemp]) if test $ac_cv_func_mkostemp != yes; then HAVE_MKOSTEMP=0 - AC_LIBOBJ([mkostemp]) - gl_PREREQ_MKOSTEMP fi ]) diff --git a/modules/mkostemp b/modules/mkostemp index 85b01b7e26..299b01f27c 100644 --- a/modules/mkostemp +++ b/modules/mkostemp @@ -13,6 +13,10 @@ tempname [test $HAVE_MKOSTEMP = 0] configure.ac: gl_FUNC_MKOSTEMP +if test $HAVE_MKOSTEMP = 0; then + AC_LIBOBJ([mkostemp]) + gl_PREREQ_MKOSTEMP +fi gl_MODULE_INDICATOR([mkostemp]) gl_STDLIB_MODULE_INDICATOR([mkostemp]) |