summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut2000-11-03 18:43:52 +0000
committerPeter Eisentraut2000-11-03 18:43:52 +0000
commitdfda21e7a66a11a70c31c4cd625ae0d0988ed248 (patch)
tree55a98fb7ebac9be43cdf0423f5915923300815ef /configure.in
parentb98ba2a04c07c451cb26a6865d7a9fae4659261d (diff)
Add configure check to see whether <string.h> and <strings.h> may both be
included, and then include <strings.h> if so. Several systems already needed <strings.h> anyway. Some new systems that claim to conform to the Unix 9x "standard" do not declare str[n]casemp() in string.h, and C99 compilers will not like that.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index bce2d04ac01..a008e478361 100644
--- a/configure.in
+++ b/configure.in
@@ -694,6 +694,8 @@ AC_TRY_CPP([
], [AC_DEFINE(HAVE_NETINET_TCP_H) AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
+PGAC_HEADER_STRING
+
AC_CHECK_HEADERS([readline/readline.h readline.h], [break])
AC_CHECK_HEADERS([readline/history.h history.h], [break])