aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros/ChangeLog4
-rw-r--r--macros/gnome-support.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index e101b87279..6953c24145 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,7 @@
+Sat Mar 7 00:04:22 1998 Tom Tromey <tromey@cygnus.com>
+
+ * gnome-support.m4 (GNOME_SUPPORT_CHECKS): Check for strnlen().
+
Wed Mar 4 01:02:55 1998 Tom Tromey <tromey@cygnus.com>
* gnome-support.m4 (GNOME_SUPPORT_CHECKS): Check for argp code,
diff --git a/macros/gnome-support.m4 b/macros/gnome-support.m4
index 381bc98ca8..1ec30425ad 100644
--- a/macros/gnome-support.m4
+++ b/macros/gnome-support.m4
@@ -9,6 +9,6 @@ AC_DEFUN([GNOME_SUPPORT_CHECKS],[
AC_TRY_LINK([#include <errno.h>],[
char *foo = program_invocation_name], [
AC_DEFINE(HAVE_PROGRAM_INVOCATION_NAME)])
- AC_REPLACE_FUNCS(strtok_r strcasecmp strndup)
+ AC_REPLACE_FUNCS(strtok_r strcasecmp strndup strnlen)
AC_SUBST(LIBOBJS)
])