quotearg: don't attempt to store 1 << 31 into an "int"
[gnulib.git] / modules / strsignal
index d734723..bdb68fa 100644 (file)
@@ -8,20 +8,25 @@ m4/strsignal.m4
 
 Depends-on:
 string
-gettext-h
-lock
-tls
-snprintf
-memset
+extensions
+gettext-h       [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
+lock            [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
+tls             [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
+snprintf        [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
+memset          [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
 
 configure.ac:
 gl_FUNC_STRSIGNAL
+if test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1; then
+  AC_LIBOBJ([strsignal])
+  gl_PREREQ_STRSIGNAL
+fi
 gl_STRING_MODULE_INDICATOR([strsignal])
 
 Makefile.am:
 
 Include:
-"strsignal.h"
+<string.h>
 
 License:
 LGPLv2+