changeset 1946:78e1212f0dee

(AC_REPLACE_FUNCS): Add strdup. Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3 due to missing strdup (against sh-utils-2.0).
author Jim Meyering <jim@meyering.net>
date Fri, 17 Sep 1999 21:45:48 +0000
parents 557812846979
children 750e7dd898b3
files m4/jm-macros.m4
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -41,6 +41,10 @@
   AC_REQUIRE([jm_AC_PREREQ_XSTRTOUMAX])
   AC_REPLACE_FUNCS(strcasecmp strncasecmp)
   AC_REPLACE_FUNCS(dup2)
+
+  dnl used by e.g. intl/*domain.c and lib/canon-host.c
+  AC_REPLACE_FUNCS(strdup)
+
   AC_REPLACE_FUNCS(memchr)
   AC_REPLACE_FUNCS(memmove)
   AC_CHECK_FUNCS(getpagesize)