* m4/mkdtemp.m4 (gl_FUNC_MKDTEMP): Move AC_LIBOBJ and gl_PREREQ_MKDTEMP
invocations from here...
* modules/mkdtemp (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ mkdtemp: Move AC_LIBOBJ invocations to module description.
+ * m4/mkdtemp.m4 (gl_FUNC_MKDTEMP): Move AC_LIBOBJ and gl_PREREQ_MKDTEMP
+ invocations from here...
+ * modules/mkdtemp (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
mkdir: Move AC_LIBOBJ invocations to module description.
-# mkdtemp.m4 serial 7
+# mkdtemp.m4 serial 8
dnl Copyright (C) 2001-2003, 2006-2007, 2009-2011 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
AC_DEFUN([gl_FUNC_MKDTEMP],
[
AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
- AC_REPLACE_FUNCS([mkdtemp])
+ AC_CHECK_FUNCS([mkdtemp])
if test $ac_cv_func_mkdtemp = no; then
HAVE_MKDTEMP=0
- gl_PREREQ_MKDTEMP
fi
])
configure.ac:
gl_FUNC_MKDTEMP
+if test $HAVE_MKDTEMP = 0; then
+ AC_LIBOBJ([mkdtemp])
+ gl_PREREQ_MKDTEMP
+fi
gl_STDLIB_MODULE_INDICATOR([mkdtemp])
Makefile.am: