error: depend on stdio
[gnulib.git] / modules / strsep
index 5699e31..825cd19 100644 (file)
@@ -2,24 +2,29 @@ Description:
 strsep() function: extract token from string.
 
 Files:
-lib/strsep.h
 lib/strsep.c
 m4/strsep.m4
 
 Depends-on:
-strpbrk
+string
+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:
-EXTRA_DIST += strsep.h strsep.c
 
 Include:
-"strsep.h"
+<string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 Yoann Vandoorselaere