Skip to content

Commit 46355e9

Browse files
committed
Update includes from configure
1 parent 9c30bba commit 46355e9

File tree

2 files changed

+49
-41
lines changed

2 files changed

+49
-41
lines changed

src/configure.in

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,25 @@ AC_CHECK_LIB(PW, main)
576576
dnl Checks for header files.
577577
AC_HEADER_STDC
578578
AC_HEADER_SYS_WAIT
579-
AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
580-
AC_CHECK_HEADERS(sys/resource.h netdb.h arpa/inet.h getopt.h)
581-
AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h float.h)
582-
AC_CHECK_HEADERS(readline/readline.h readline/history.h ieeefp.h fp_class.h)
579+
AC_CHECK_HEADERS(arpa/inet.h)
580+
AC_CHECK_HEADERS(crypt.h)
581+
AC_CHECK_HEADERS(dld.h)
582+
AC_CHECK_HEADERS(endian.h)
583+
AC_CHECK_HEADERS(float.h)
584+
AC_CHECK_HEADERS(fp_class.h)
585+
AC_CHECK_HEADERS(getopt.h)
586+
AC_CHECK_HEADERS(history.h)
587+
AC_CHECK_HEADERS(ieeefp.h)
588+
AC_CHECK_HEADERS(limits.h)
589+
AC_CHECK_HEADERS(netdb.h)
583590
AC_CHECK_HEADERS(netinet/in.h)
591+
AC_CHECK_HEADERS(readline.h)
592+
AC_CHECK_HEADERS(readline/history.h)
593+
AC_CHECK_HEADERS(readline/readline.h)
594+
AC_CHECK_HEADERS(sys/select.h)
595+
AC_CHECK_HEADERS(termios.h)
596+
AC_CHECK_HEADERS(unistd.h)
597+
AC_CHECK_HEADERS(values.h)
584598
dnl ODBC headers...
585599
AC_CHECK_HEADERS(sys/param.h pwd.h)
586600
dnl

src/include/config.h.in

Lines changed: 31 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -59,68 +59,59 @@
5959
* The following is set using configure.
6060
*/
6161

62-
/* Set to 1 if you have <string.h> */
63-
#undef HAVE_STRING_H
64-
65-
/* Set to 1 if you have <strings.h> */
66-
#undef HAVE_STRINGS_H
67-
68-
/* Set to 1 if you have <getopt.h> */
69-
#undef HAVE_GETOPT_H
70-
71-
/* Set to 1 if you have <fp_class.h> */
72-
#undef HAVE_FP_CLASS_H
73-
74-
/* Set to 1 if you have <netinet/in.h> */
75-
#undef HAVE_NETINET_IN_H
76-
77-
/* Set to 1 if you have <ieeefp.h> */
78-
#undef HAVE_IEEEFP_H
79-
8062
/* Set to 1 if you have <arpa/inet.h> */
8163
#undef HAVE_ARPA_INET_H
8264

83-
/* Set to 1 if you have <netdb.h> */
84-
#undef HAVE_NETDB_H
85-
86-
/* Set to 1 if you have <endian.h> */
87-
#undef HAVE_ENDIAN_H
88-
8965
/* Set to 1 if you have <crypt.h> */
9066
#undef HAVE_CRYPT_H
9167

92-
/* Set to 1 if you have <termios.h> */
93-
#undef HAVE_TERMIOS_H
68+
/* Set to 1 if you have <dld.h> */
69+
#undef HAVE_DLD_H
70+
71+
/* Set to 1 if you have <endian.h> */
72+
#undef HAVE_ENDIAN_H
9473

9574
/* Set to 1 if you have <float.h> */
9675
#undef HAVE_FLOAT_H
9776

77+
/* Set to 1 if you have <fp_class.h> */
78+
#undef HAVE_FP_CLASS_H
79+
80+
/* Set to 1 if you have <getopt.h> */
81+
#undef HAVE_GETOPT_H
82+
83+
/* Set to 1 if you have <history.h> */
84+
#undef HAVE_HISTORY_H
85+
86+
/* Set to 1 if you have <ieeefp.h> */
87+
#undef HAVE_IEEEFP_H
88+
9889
/* Set to 1 if you have <limits.h> */
9990
#undef HAVE_LIMITS_H
10091

101-
/* Set to 1 if you have <values.h> */
102-
#undef HAVE_VALUES_H
92+
/* Set to 1 if you have <netdb.h> */
93+
#undef HAVE_NETDB_H
10394

104-
/* Set to 1 if you have <sys/select.h> */
105-
#undef HAVE_SYS_SELECT_H
95+
/* Set to 1 if you have <netinet/in.h> */
96+
#undef HAVE_NETINET_IN_H
10697

10798
/* Set to 1 if you have <readline.h> */
10899
#undef HAVE_READLINE_H
109100

110-
/* Set to 1 if you have <history.h> */
111-
#undef HAVE_HISTORY_H
112-
113101
/* Set to 1 if you have <readline/history.h> */
114102
#undef HAVE_READLINE_HISTORY_H
115103

116104
/* Set to 1 if you have <readline/readline.h> */
117105
#undef HAVE_READLINE_READLINE_H
118106

119-
/* Set to 1 if you have libreadline and it includes history functions */
120-
#undef HAVE_HISTORY
107+
/* Set to 1 if you have <sys/select.h> */
108+
#undef HAVE_SYS_SELECT_H
121109

122-
/* Set to 1 if you have <dld.h> */
123-
#undef HAVE_DLD_H
110+
/* Set to 1 if you have <termios.h> */
111+
#undef HAVE_TERMIOS_H
112+
113+
/* Set to 1 if you have <values.h> */
114+
#undef HAVE_VALUES_H
124115

125116
/* Define if you have the ANSI C header files. */
126117
#undef STDC_HEADERS
@@ -131,6 +122,9 @@
131122
/* Define if you have the stricmp function. */
132123
#undef HAVE_STRICMP
133124

125+
/* Set to 1 if you have libreadline and it includes history functions */
126+
#undef HAVE_HISTORY
127+
134128
/*
135129
* Block of parameters for the ODBC code.
136130
*/

0 commit comments

Comments
 (0)