int64 fix

This commit is contained in:
Bruce Momjian 1998-08-25 02:23:58 +00:00
parent 28d90a5f8b
commit a06ba33cfd
2 changed files with 9 additions and 9 deletions

12
src/configure vendored
View File

@ -3634,10 +3634,10 @@ else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -fr conftest*
echo "$ac_t""no" 1>&6 cat >> confdefs.h <<\EOF
cat >> confdefs.h <<\EOF
#define HAVE_DBL_MIN_PROBLEM 1
EOF
echo "$ac_t""no" 1>&6
fi
rm -fr conftest*
fi
@ -3686,10 +3686,10 @@ main() {
EOF
if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF
cat >> confdefs.h <<\EOF
#define HAVE_LONG_INT_64 1
EOF
echo "$ac_t""yes" 1>&6
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
@ -3743,10 +3743,10 @@ main() {
EOF
if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF
cat >> confdefs.h <<\EOF
#define HAVE_LONG_LONG_INT_64 1
EOF
echo "$ac_t""yes" 1>&6
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5

View File

@ -522,7 +522,7 @@ AC_TRY_RUN([#include <stdlib.h>
#endif
main() { double d = DBL_MIN; if (d != DBL_MIN) exit(-1); else exit(0); }],
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))
dnl Check to see if we have a working 64-bit integer type.
@ -559,7 +559,7 @@ int does_int64_work()
main() {
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(assuming not on target machine))
@ -596,7 +596,7 @@ int does_int64_work()
main() {
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(assuming not on target machine))