diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
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);],[ | |||
1074 | AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP)) | 1075 | AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP)) |
1075 | 1076 | ||
1076 | dnl Make sure prototypes are defined for these before using them. | 1077 | dnl Make sure prototypes are defined for these before using them. |
1077 | AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)]) | ||
1078 | AC_CHECK_DECL(getrusage, [AC_CHECK_FUNCS(getrusage)]) | 1078 | AC_CHECK_DECL(getrusage, [AC_CHECK_FUNCS(getrusage)]) |
1079 | AC_CHECK_DECL(strsep, | ||
1080 | [AC_CHECK_FUNCS(strsep)], | ||
1081 | [], | ||
1082 | [ | ||
1083 | #ifdef HAVE_STRING_H | ||
1084 | # include <string.h> | ||
1085 | #endif | ||
1086 | ]) | ||
1079 | 1087 | ||
1080 | dnl tcsendbreak might be a macro | 1088 | dnl tcsendbreak might be a macro |
1081 | AC_CHECK_DECL(tcsendbreak, | 1089 | AC_CHECK_DECL(tcsendbreak, |