error: depend on stdio
[gnulib.git] / modules / strsep
index 3510fba..825cd19 100644 (file)
@@ -7,10 +7,16 @@ m4/strsep.m4
 
 Depends-on:
 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:
 
@@ -18,7 +24,7 @@ Include:
 <string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Yoann Vandoorselaere