summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-05-28 16:54:36 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-05-28 16:54:36 +1000
commit390b6d5dbf879e5daaa924c91cb1448a5748b558 (patch)
tree7458315382a83d88fb18db6e95f75b86808f542e /configure.ac
parente910be1c4248953f46c46f66507c5eaf3f9c5d02 (diff)
- (dtucker) [configure.ac] strsep() may be defined in string.h, so check
for its presence and include it in the strsep check.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 10 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 05b8041ae..7767e9080 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.265 2005/05/28 06:01:18 dtucker Exp $ 1# $Id: configure.ac,v 1.266 2005/05/28 06:54:36 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -566,6 +566,7 @@ AC_CHECK_HEADERS( \
566 shadow.h \ 566 shadow.h \
567 stddef.h \ 567 stddef.h \
568 stdint.h \ 568 stdint.h \
569 string.h \
569 strings.h \ 570 strings.h \
570 sys/audit.h \ 571 sys/audit.h \
571 sys/bitypes.h \ 572 sys/bitypes.h \
@@ -1074,8 +1075,15 @@ str = gai_strerror(0);],[
1074AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP)) 1075AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP))
1075 1076
1076dnl Make sure prototypes are defined for these before using them. 1077dnl Make sure prototypes are defined for these before using them.
1077AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)])
1078AC_CHECK_DECL(getrusage, [AC_CHECK_FUNCS(getrusage)]) 1078AC_CHECK_DECL(getrusage, [AC_CHECK_FUNCS(getrusage)])
1079AC_CHECK_DECL(strsep,
1080 [AC_CHECK_FUNCS(strsep)],
1081 [],
1082 [
1083#ifdef HAVE_STRING_H
1084# include <string.h>
1085#endif
1086 ])
1079 1087
1080dnl tcsendbreak might be a macro 1088dnl tcsendbreak might be a macro
1081AC_CHECK_DECL(tcsendbreak, 1089AC_CHECK_DECL(tcsendbreak,