Commit 66d0cd00 authored by panne's avatar panne

[project @ 2003-08-18 15:53:51 by panne]

Nuked FPTOOLS_C_LONG_LONG, AC_CHECK_TYPES already does what we want.
parent e8b241ac
......@@ -663,31 +663,6 @@ undefine([AC_TYPE_NAME])dnl
undefine([AC_CV_NAME])dnl
])
dnl ** figure out whether C compiler supports 'long long's
dnl (Closely based on Andreas Zeller's macro for testing
dnl for this under C++)
dnl
dnl If the C compiler supports `long long' types,
dnl define `HAVE_LONG_LONG'.
dnl
AC_DEFUN(FPTOOLS_C_LONG_LONG,
[
AC_REQUIRE([AC_PROG_CC])
AC_MSG_CHECKING(whether ${CC} supports long long types)
AC_CACHE_VAL(fptools_cv_have_long_long,
[
AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILE(,[long long a;],
fptools_cv_have_long_long=yes,
fptools_cv_have_long_long=no)
AC_LANG_RESTORE
])
AC_MSG_RESULT($fptools_cv_have_long_long)
if test "$fptools_cv_have_long_long" = yes; then
AC_DEFINE(HAVE_LONG_LONG)
fi
])
dnl ** Obtain the value of a C constant.
dnl The value will be `(-1)' if the constant is undefined.
......
......@@ -844,7 +844,7 @@ dnl ** does struct stat contain st_blksize?
AC_STRUCT_ST_BLKSIZE
dnl ** do we have long longs?
FPTOOLS_C_LONG_LONG
AC_CHECK_TYPES([long long])
dnl ** check what fields struct msghdr contains
FPTOOLS_MSGHDR_MSG_ACCRIGHTS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment