diff options
author | Michael Meskes | 2010-05-25 17:28:20 +0000 |
---|---|---|
committer | Michael Meskes | 2010-05-25 17:28:20 +0000 |
commit | 29259531c7b48384dba863124aff79e05980b329 (patch) | |
tree | 290b34b78076d9d4ca463f9e99393cd162dedab9 /config/c-compiler.m4 | |
parent | 9b6dba119349475f12d2a909ca265770156c4667 (diff) |
Replace self written 'long long int' configure test by standard 'AC_TYPE_LONG_LONG_INT' macro call.
Diffstat (limited to 'config/c-compiler.m4')
-rw-r--r-- | config/c-compiler.m4 | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/config/c-compiler.m4 b/config/c-compiler.m4 index fb1c0c9f0ae..a8df61b649e 100644 --- a/config/c-compiler.m4 +++ b/config/c-compiler.m4 @@ -1,5 +1,5 @@ # Macros to detect C compiler features -# $PostgreSQL: pgsql/config/c-compiler.m4,v 1.21 2010/05/25 14:32:55 meskes Exp $ +# $PostgreSQL: pgsql/config/c-compiler.m4,v 1.22 2010/05/25 17:28:20 meskes Exp $ # PGAC_C_SIGNED @@ -156,18 +156,3 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([extern void $2 (); void (*fptr) () = $2;],[])], AC_MSG_RESULT(assuming no)]) ])# PGAC_PROG_CC_LDFLAGS_OPT - - -# PGAC_C_LONG_LONG -# ---------------- -# Check if the C compiler understands long long type. -AC_DEFUN([PGAC_C_LONG_LONG], -[AC_CACHE_CHECK(for long long type, pgac_cv_c_long_long, -[AC_TRY_COMPILE([], -[long long l;], -[pgac_cv_c_long_long=yes], -[pgac_cv_c_long_long=no])]) -if test x"$pgac_cv_c_long_long" = xyes ; then - AC_DEFINE(HAVE_LONG_LONG, 1, [Define to 1 if the C compiler does understand long long type.]) -fi])# PGAC_C_LONG_LONG - |