From: Bruce Momjian Date: Thu, 10 Sep 1998 05:40:16 +0000 (+0000) Subject: autoconf X-Git-Tag: REL6_4_2~450 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a9c626a866f45cc31f9b2f50999f0ced0cb89e4;p=postgresql autoconf --- diff --git a/src/configure b/src/configure index 213455c038..f00c905ad7 100755 --- a/src/configure +++ b/src/configure @@ -3710,8 +3710,8 @@ rm -fr conftest* fi -echo $ac_n "checking whether 'long long int' is 64 bits using %Ld""... $ac_c" 1>&6 -echo "configure:3715: checking whether 'long long int' is 64 bits using %Ld" >&5 +echo $ac_n "checking whether 'long long int' is 64 bits using %lld""... $ac_c" 1>&6 +echo "configure:3715: checking whether 'long long int' is 64 bits using %lld" >&5 if test "$cross_compiling" = yes; then echo "$ac_t""assuming not on target machine" 1>&6 else @@ -3720,7 +3720,7 @@ else #include "confdefs.h" #include typedef long long int int64; -#define INT64_FORMAT "%Ld" +#define INT64_FORMAT "%lld" int64 a = 20000001; int64 b = 40000005; @@ -3754,7 +3754,7 @@ EOF if { (eval echo configure:3755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then cat >> confdefs.h <<\EOF -#define HAVE_LONG_LONG_INT_64_Ld 1 +#define HAVE_LONG_LONG_INT_64_lld 1 EOF echo "$ac_t""yes" 1>&6 else