X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fstrtok_r;h=23a6acbedc46147711c5993f25d52cb43955b91f;hb=e2de8c10bd15a92eff786f8f51d0a322fbc402ee;hp=92aa8eb91d0376760bafb0a6a89ccd992fdc38d8;hpb=929af18645255344bf1e4dc4f1c65cca195488bb;p=gnulib.git diff --git a/modules/strtok_r b/modules/strtok_r index 92aa8eb91..23a6acbed 100644 --- a/modules/strtok_r +++ b/modules/strtok_r @@ -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" + License: -LGPL +LGPLv2+ Maintainer: all, glibc