NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / strtok_r
index 92aa8eb..23a6acb 100644 (file)
@@ -3,23 +3,27 @@ strtok_r() function: split string into tokens, thread safe.
 
 Files:
 lib/strtok_r.c
-lib/strtok_r.h
 m4/strtok_r.m4
 
 Depends-on:
-restrict
+string
+strpbrk         [test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1]
 
 configure.ac:
 gl_FUNC_STRTOK_R
+if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then
+  AC_LIBOBJ([strtok_r])
+  gl_PREREQ_STRTOK_R
+fi
+gl_STRING_MODULE_INDICATOR([strtok_r])
 
 Makefile.am:
-lib_SOURCES += strtok_r.h
 
 Include:
-"strtok_r.h"
+<string.h>
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all, glibc