[project @ 2003-08-18 15:53:51 by panne]
authorpanne <unknown>
Mon, 18 Aug 2003 15:53:51 +0000 (15:53 +0000)
committerpanne <unknown>
Mon, 18 Aug 2003 15:53:51 +0000 (15:53 +0000)
Nuked FPTOOLS_C_LONG_LONG, AC_CHECK_TYPES already does what we want.

aclocal.m4
configure.ac

index 9de8d1d..19370ff 100644 (file)
@@ -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.
index d56d0ca..509f8e2 100644 (file)
@@ -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