-#line 5457 "configure"
+#line 5497 "configure"
#include "confdefs.h"
#include <$f/tk.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:5462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:5502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
for f in tk8.0 tk80; do
if test -z "$TK_LIB"; then
echo $ac_n "checking for main in -l$f""... $ac_c" 1>&6
-echo "configure:5503: checking for main in -l$f" >&5
+echo "configure:5543: checking for main in -l$f" >&5
ac_lib_var=`echo $f'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-l$f $LIBS"
cat > conftest.$ac_ext <
-#line 5511 "configure"
+#line 5551 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:5558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
AC_CHECK_HEADERS(sys/resource.h netdb.h arpa/inet.h getopt.h)
AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h float.h)
AC_CHECK_HEADERS(readline/history.h ieeefp.h fp_class.h netinet/in.h)
+AC_CHECK_HEADERS(string.h strings.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
* The following is set using configure.
*/
+/* Set to 1 if you have */
+#undef HAVE_STRING_H
+
+/* Set to 1 if you have */
+#undef HAVE_STRINGS_H
+
/* Set to 1 if you have */
#undef HAVE_GETOPT_H
/* (C) Michael Meskes Feb 5th, 1998 */
/* Placed under the same copyright as PostgresSQL */
+#include "postgres.h"
+
#include
#if HAVE_GETOPT_H
# include
# include
#endif
#include
-#include
+#if defined(HAVE_STRING_H)
+# include
+#else
+# include
+#endif
#include "extern.h"