* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Move AC_LIBOBJ and
gl_PREREQ_MKSTEMP invocations from here...
* modules/mkstemp (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ mkstemp: Move AC_LIBOBJ invocations to module description.
+ * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Move AC_LIBOBJ and
+ gl_PREREQ_MKSTEMP invocations from here...
+ * modules/mkstemp (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
mkostemps: Move AC_LIBOBJ invocations to module description.
2011-05-21 Bruno Haible <bruno@clisp.org>
mkostemps: Move AC_LIBOBJ invocations to module description.
# Copyright (C) 2001, 2003-2007, 2009-2011 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# Copyright (C) 2001, 2003-2007, 2009-2011 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
])
if test "$gl_cv_func_working_mkstemp" != yes; then
REPLACE_MKSTEMP=1
])
if test "$gl_cv_func_working_mkstemp" != yes; then
REPLACE_MKSTEMP=1
- AC_LIBOBJ([mkstemp])
- gl_PREREQ_MKSTEMP
- AC_LIBOBJ([mkstemp])
- gl_PREREQ_MKSTEMP
configure.ac:
gl_FUNC_MKSTEMP
configure.ac:
gl_FUNC_MKSTEMP
+if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
+ AC_LIBOBJ([mkstemp])
+ gl_PREREQ_MKSTEMP
+fi
gl_STDLIB_MODULE_INDICATOR([mkstemp])
Makefile.am:
gl_STDLIB_MODULE_INDICATOR([mkstemp])
Makefile.am: