From: panne Date: Mon, 18 Aug 2003 15:53:51 +0000 (+0000) Subject: [project @ 2003-08-18 15:53:51 by panne] X-Git-Tag: Approx_11550_changesets_converted~558 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=66d0cd00c6fe1588f68604e513f4b2c7336359a1 [project @ 2003-08-18 15:53:51 by panne] Nuked FPTOOLS_C_LONG_LONG, AC_CHECK_TYPES already does what we want. --- diff --git a/aclocal.m4 b/aclocal.m4 index 9de8d1d..19370ff 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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. diff --git a/configure.ac b/configure.ac index d56d0ca..509f8e2 100644 --- a/configure.ac +++ b/configure.ac @@ -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