* 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>
+
+ 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.
-# 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,
AC_CHECK_FUNCS_ONCE([mkostemp])
if test $ac_cv_func_mkostemp != yes; then
HAVE_MKOSTEMP=0
- AC_LIBOBJ([mkostemp])
- gl_PREREQ_MKOSTEMP
fi
])
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])