diff --git a/src/configure b/src/configure index 213455c03897c59e1e1a063e033beb6b14ddee6e..f00c905ad792333e05fdcf4f94918948dfdf9b56 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 <stdio.h> 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