int64 fix
This commit is contained in:
parent
28d90a5f8b
commit
a06ba33cfd
12
src/configure
vendored
12
src/configure
vendored
@ -3634,10 +3634,10 @@ else
|
|||||||
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
rm -fr conftest*
|
rm -fr conftest*
|
||||||
echo "$ac_t""no" 1>&6 cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_DBL_MIN_PROBLEM 1
|
#define HAVE_DBL_MIN_PROBLEM 1
|
||||||
EOF
|
EOF
|
||||||
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
fi
|
||||||
rm -fr conftest*
|
rm -fr conftest*
|
||||||
fi
|
fi
|
||||||
@ -3686,10 +3686,10 @@ main() {
|
|||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_LONG_INT_64 1
|
#define HAVE_LONG_INT_64 1
|
||||||
EOF
|
EOF
|
||||||
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
@ -3743,10 +3743,10 @@ main() {
|
|||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
||||||
then
|
then
|
||||||
echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_LONG_LONG_INT_64 1
|
#define HAVE_LONG_LONG_INT_64 1
|
||||||
EOF
|
EOF
|
||||||
|
echo "$ac_t""yes" 1>&6
|
||||||
else
|
else
|
||||||
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
||||||
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
||||||
|
@ -522,7 +522,7 @@ AC_TRY_RUN([#include <stdlib.h>
|
|||||||
#endif
|
#endif
|
||||||
main() { double d = DBL_MIN; if (d != DBL_MIN) exit(-1); else exit(0); }],
|
main() { double d = DBL_MIN; if (d != DBL_MIN) exit(-1); else exit(0); }],
|
||||||
AC_MSG_RESULT(yes),
|
AC_MSG_RESULT(yes),
|
||||||
[AC_MSG_RESULT(no) AC_DEFINE(HAVE_DBL_MIN_PROBLEM)],
|
[AC_DEFINE(HAVE_DBL_MIN_PROBLEM) AC_MSG_RESULT(no)],
|
||||||
AC_MSG_RESULT(assuming ok on target machine))
|
AC_MSG_RESULT(assuming ok on target machine))
|
||||||
|
|
||||||
dnl Check to see if we have a working 64-bit integer type.
|
dnl Check to see if we have a working 64-bit integer type.
|
||||||
@ -559,7 +559,7 @@ int does_int64_work()
|
|||||||
main() {
|
main() {
|
||||||
exit(! does_int64_work());
|
exit(! does_int64_work());
|
||||||
}],
|
}],
|
||||||
[AC_MSG_RESULT(yes) AC_DEFINE(HAVE_LONG_INT_64)],
|
[AC_DEFINE(HAVE_LONG_INT_64) AC_MSG_RESULT(yes)],
|
||||||
AC_MSG_RESULT(no),
|
AC_MSG_RESULT(no),
|
||||||
AC_MSG_RESULT(assuming not on target machine))
|
AC_MSG_RESULT(assuming not on target machine))
|
||||||
|
|
||||||
@ -596,7 +596,7 @@ int does_int64_work()
|
|||||||
main() {
|
main() {
|
||||||
exit(! does_int64_work());
|
exit(! does_int64_work());
|
||||||
}],
|
}],
|
||||||
[AC_MSG_RESULT(yes) AC_DEFINE(HAVE_LONG_LONG_INT_64)],
|
[AC_DEFINE(HAVE_LONG_LONG_INT_64) AC_MSG_RESULT(yes)],
|
||||||
AC_MSG_RESULT(no),
|
AC_MSG_RESULT(no),
|
||||||
AC_MSG_RESULT(assuming not on target machine))
|
AC_MSG_RESULT(assuming not on target machine))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user