1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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.
This commit is contained in:
Peter Eisentraut
2000-11-03 18:43:52 +00:00
parent b98ba2a04c
commit dfda21e7a6
8 changed files with 265 additions and 193 deletions

View File

@ -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])