* m4/strsep.m4 (gl_FUNC_STRSEP): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRSEP invocations from
here...
* modules/strsep (configure.ac): ... to here.
+2011-05-22 Bruno Haible <bruno@clisp.org>
+
+ strsep: Move AC_LIBOBJ invocations to module description.
+ * m4/strsep.m4 (gl_FUNC_STRSEP): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_STRSEP invocations from
+ here...
+ * modules/strsep (configure.ac): ... to here.
+
2011-05-22 Bruno Haible <bruno@clisp.org>
strptime: Move AC_LIBOBJ invocations to module description.
-# strsep.m4 serial 9
+# strsep.m4 serial 10
dnl Copyright (C) 2002-2004, 2007, 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_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
- AC_REPLACE_FUNCS([strsep])
+ AC_CHECK_FUNCS([strsep])
if test $ac_cv_func_strsep = no; then
HAVE_STRSEP=0
- gl_PREREQ_STRSEP
fi
])
configure.ac:
gl_FUNC_STRSEP
+if test $HAVE_STRSEP = 0; then
+ AC_LIBOBJ([strsep])
+ gl_PREREQ_STRSEP
+fi
gl_STRING_MODULE_INDICATOR([strsep])
Makefile.am: