mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Update configure include checks.
This commit is contained in:
parent
0858b06f16
commit
07262a2dfb
@ -582,12 +582,10 @@ AC_CHECK_HEADERS(dld.h)
|
|||||||
AC_CHECK_HEADERS(endian.h)
|
AC_CHECK_HEADERS(endian.h)
|
||||||
AC_CHECK_HEADERS(float.h)
|
AC_CHECK_HEADERS(float.h)
|
||||||
AC_CHECK_HEADERS(fp_class.h)
|
AC_CHECK_HEADERS(fp_class.h)
|
||||||
AC_CHECK_HEADERS(getopt.h)
|
|
||||||
AC_CHECK_HEADERS(history.h)
|
AC_CHECK_HEADERS(history.h)
|
||||||
AC_CHECK_HEADERS(ieeefp.h)
|
AC_CHECK_HEADERS(ieeefp.h)
|
||||||
AC_CHECK_HEADERS(limits.h)
|
AC_CHECK_HEADERS(limits.h)
|
||||||
AC_CHECK_HEADERS(netdb.h)
|
AC_CHECK_HEADERS(netdb.h)
|
||||||
AC_CHECK_HEADERS(netinet/in.h)
|
|
||||||
AC_CHECK_HEADERS(readline.h)
|
AC_CHECK_HEADERS(readline.h)
|
||||||
AC_CHECK_HEADERS(readline/history.h)
|
AC_CHECK_HEADERS(readline/history.h)
|
||||||
AC_CHECK_HEADERS(readline/readline.h)
|
AC_CHECK_HEADERS(readline/readline.h)
|
||||||
|
@ -77,9 +77,6 @@
|
|||||||
/* Set to 1 if you have <fp_class.h> */
|
/* Set to 1 if you have <fp_class.h> */
|
||||||
#undef HAVE_FP_CLASS_H
|
#undef HAVE_FP_CLASS_H
|
||||||
|
|
||||||
/* Set to 1 if you have <getopt.h> */
|
|
||||||
#undef HAVE_GETOPT_H
|
|
||||||
|
|
||||||
/* Set to 1 if you have <history.h> */
|
/* Set to 1 if you have <history.h> */
|
||||||
#undef HAVE_HISTORY_H
|
#undef HAVE_HISTORY_H
|
||||||
|
|
||||||
@ -92,9 +89,6 @@
|
|||||||
/* Set to 1 if you have <netdb.h> */
|
/* Set to 1 if you have <netdb.h> */
|
||||||
#undef HAVE_NETDB_H
|
#undef HAVE_NETDB_H
|
||||||
|
|
||||||
/* Set to 1 if you have <netinet/in.h> */
|
|
||||||
#undef HAVE_NETINET_IN_H
|
|
||||||
|
|
||||||
/* Set to 1 if you have <readline.h> */
|
/* Set to 1 if you have <readline.h> */
|
||||||
#undef HAVE_READLINE_H
|
#undef HAVE_READLINE_H
|
||||||
|
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
|
|
||||||
#if HAVE_GETOPT_H
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#else
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
extern int optind;
|
extern int optind;
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user