-for ac_prog in gawk mawk nawk awk
+for ac_prog in mawk gawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
##
## Header files
##
-for ac_hdr in crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/pstat.h sys/select.h sys/socket.h sys/types.h termios.h values.h
+for ac_hdr in crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/pstat.h sys/select.h sys/socket.h sys/types.h termios.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
## Header files
##
dnl sys/socket.h and sys/types.h are required by AC_FUNC_ACCEPT_ARGTYPES
-AC_CHECK_HEADERS([crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/pstat.h sys/select.h sys/socket.h sys/types.h termios.h values.h])
+AC_CHECK_HEADERS([crypt.h dld.h endian.h fp_class.h getopt.h ieeefp.h pwd.h sys/pstat.h sys/select.h sys/socket.h sys/types.h termios.h])
AC_CHECK_HEADERS([readline/readline.h readline.h], [break])
AC_CHECK_HEADERS([readline/history.h history.h], [break])
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
-
#include <float.h> /* faked on sunos4 */
-
#include <math.h>
-
#include <limits.h>
-#ifndef MAXINT
-#define MAXINT INT_MAX
-#endif
-
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
#include "fmgr.h"
#include "utils/timestamp.h"
#include <math.h>
#include <limits.h>
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
#include "optimizer/geqo.h"
#include "optimizer/pathnode.h"
#include <fcntl.h>
#include <time.h>
#include <sys/param.h>
-
- /* moved here to prevent double define */
+/* moved here to prevent double define */
#include <netdb.h>
-
#include <limits.h>
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#include "postgres.h"
#include <limits.h>
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
/* for finite() on Solaris */
#ifdef HAVE_IEEEFP_H
#include <float.h>
#include <limits.h>
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
-
#ifndef USE_POSIX_TIME
#include <sys/timeb.h>
#endif
#include <math.h>
#include <limits.h>
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
-
#include "fmgr.h"
#include "utils/builtins.h"
#include "utils/varbit.h"
/* Set to 1 if you have <termios.h> */
#undef HAVE_TERMIOS_H
-/* Set to 1 if you have <values.h> */
-#undef HAVE_VALUES_H
-
/* Set to 1 if you have <sys/pstat.h> */
#undef HAVE_SYS_PSTAT_H
#include <math.h>
#include <limits.h>
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
#include "utils/builtins.h"
-#define HEXDIG(z) (z)<10 ? ((z)+'0') : ((z)-10+'A')
+#define HEXDIG(z) ((z)<10 ? ((z)+'0') : ((z)-10+'A'))
-/* Modeled on struct varlena from postgres.h, bu data type is bits8 */
+/* Modeled on struct varlena from postgres.h, but data type is bits8 */
struct varbita
{
int32 vl_len;