strtoimax: port to HP-UX 11.11
[gnulib.git] / modules / strstr-simple
index 9ebf5da..c61afc4 100644 (file)
@@ -8,12 +8,15 @@ m4/strstr.m4
 
 Depends-on:
 string
-stdbool
-memchr
-memcmp
+stdbool         [test $REPLACE_STRSTR = 1]
+memchr          [test $REPLACE_STRSTR = 1]
+memcmp          [test $REPLACE_STRSTR = 1]
 
 configure.ac:
 gl_FUNC_STRSTR_SIMPLE
+if test $REPLACE_STRSTR = 1; then
+  AC_LIBOBJ([strstr])
+fi
 gl_STRING_MODULE_INDICATOR([strstr])
 
 Makefile.am: