autoconf
This commit is contained in:
parent
a7b5abcbc7
commit
3a9c626a86
8
src/configure
vendored
8
src/configure
vendored
@ -3710,8 +3710,8 @@ rm -fr conftest*
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo $ac_n "checking whether 'long long int' is 64 bits using %Ld""... $ac_c" 1>&6
|
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 %Ld" >&5
|
echo "configure:3715: checking whether 'long long int' is 64 bits using %lld" >&5
|
||||||
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
||||||
echo "$ac_t""assuming not on target machine" 1>&6
|
echo "$ac_t""assuming not on target machine" 1>&6
|
||||||
else
|
else
|
||||||
@ -3720,7 +3720,7 @@ else
|
|||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
typedef long long int int64;
|
typedef long long int int64;
|
||||||
#define INT64_FORMAT "%Ld"
|
#define INT64_FORMAT "%lld"
|
||||||
|
|
||||||
int64 a = 20000001;
|
int64 a = 20000001;
|
||||||
int64 b = 40000005;
|
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
|
if { (eval echo configure:3755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_LONG_LONG_INT_64_Ld 1
|
#define HAVE_LONG_LONG_INT_64_lld 1
|
||||||
EOF
|
EOF
|
||||||
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user