OSDN Git Service

Fix nasty bug in configure.
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 19 Feb 2001 05:16:40 +0000 (05:16 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 19 Feb 2001 05:16:40 +0000 (05:16 +0000)
      STRTOL='strtoul.o' --> STRTOUL='strtoul.o'

configure
configure.in

index f5c0142..83d0eaf 100755 (executable)
--- 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
 
 
index 063bb18..194ff03 100644 (file)
@@ -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),