gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / modules / strsep
index 10ca817..825cd19 100644 (file)
@@ -6,12 +6,16 @@ lib/strsep.c
 m4/strsep.m4
 
 Depends-on:
-extensions
 string
-strpbrk
+extensions
+strpbrk         [test $HAVE_STRSEP = 0]
 
 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: