roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
[pspp] / modules / strtok_r
index 08afb439e3cbb4badc7be0d84b97bc4a2c341756..23a6acbedc46147711c5993f25d52cb43955b91f 100644 (file)
@@ -7,10 +7,14 @@ m4/strtok_r.m4
 
 Depends-on:
 string
-strpbrk
+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: