aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2001-02-19 05:16:40 +0000
committerTatsuo Ishii <ishii@postgresql.org>2001-02-19 05:16:40 +0000
commit87117f5d9e33d5a6157f62287160585588e5e62a (patch)
treef372d06a1a6b13c6541885ec45281d15cb189d34
parenta276392e5223a9cdb3160ecde8e4baa43e45cd66 (diff)
downloadpostgresql-87117f5d9e33d5a6157f62287160585588e5e62a.tar.gz
postgresql-87117f5d9e33d5a6157f62287160585588e5e62a.zip
Fix nasty bug in configure.
STRTOL='strtoul.o' --> STRTOUL='strtoul.o'
-rwxr-xr-xconfigure8
-rw-r--r--configure.in2
2 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index f5c01429bf0..83d0eaf6e05 100755
--- a/configure
+++ b/configure
@@ -2641,7 +2641,7 @@ INSTALL_SHLIB="\${INSTALL} $INSTL_SHLIB_OPTS"
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk 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
@@ -4999,7 +4999,7 @@ else
int main() {
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x;
+typedef int charset[2]; const charset x={0,0};
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
@@ -5074,7 +5074,7 @@ for ac_kw in inline __inline__ __inline; do
#include "confdefs.h"
int main() {
-} $ac_kw foo() {
+} $ac_kw int foo() {
; return 0; }
EOF
if { (eval echo configure:5081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@@ -6329,7 +6329,7 @@ EOF
else
echo "$ac_t""no" 1>&6
-STRTOL='strtoul.o'
+STRTOUL='strtoul.o'
fi
diff --git a/configure.in b/configure.in
index 063bb18564e..194ff03e7d4 100644
--- a/configure.in
+++ b/configure.in
@@ -865,7 +865,7 @@ AC_CHECK_FUNC(strtol,
AC_SUBST(STRTOL)
AC_CHECK_FUNC(strtoul,
AC_DEFINE(HAVE_STRTOUL),
- STRTOL='strtoul.o')
+ STRTOUL='strtoul.o')
AC_SUBST(STRTOUL)
AC_CHECK_FUNC(strcasecmp,
AC_DEFINE(HAVE_STRCASECMP),