* m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Move AC_LIBOBJ and
gl_PREREQ_STRERROR_R invocations from here...
* modules/strerror_r-posix (configure.ac): ... to here.
+2011-05-24 Bruno Haible <bruno@clisp.org>
+
+ strerror_r-posix: Respect rules for use of AC_LIBOBJ.
+ * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Move AC_LIBOBJ and
+ gl_PREREQ_STRERROR_R invocations from here...
+ * modules/strerror_r-posix (configure.ac): ... to here.
+
2011-05-24 Eric Blake <eblake@redhat.com>
strerror_r: fix missing header
-# strerror_r.m4 serial 8
+# strerror_r.m4 serial 9
dnl Copyright (C) 2002, 2007-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,
REPLACE_STRERROR_R=1
fi
fi
- if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
- AC_LIBOBJ([strerror_r])
- gl_PREREQ_STRERROR_R
- fi
])
# Prerequisites of lib/strerror_r.c.
configure.ac:
gl_FUNC_STRERROR_R
+if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
+ AC_LIBOBJ([strerror_r])
+ gl_PREREQ_STRERROR_R
+fi
gl_STRING_MODULE_INDICATOR([strerror_r])
Makefile.am: