summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m431
1 files changed, 6 insertions, 25 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 9d7d33cf..6d013bf6 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,5 +1,6 @@
# Autoconf macros for groff.
-# Copyright (C) 1989-1995, 2001, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1989-1995, 2001, 2002, 2003, 2004
+# Free Software Foundation, Inc.
#
# This file is part of groff.
#
@@ -284,28 +285,6 @@ int z = UCHAR_MAX;
[AC_MSG_RESULT([no])])
AC_LANG_POP([C++])])
-AC_DEFUN([GROFF_STDINT_H],
- [AC_LANG_PUSH([C++])
- AC_MSG_CHECKING([C++ <stdint.h>])
- AC_COMPILE_IFELSE([
- AC_LANG_PROGRAM([[
-
-#include <stdint.h>
-
- ]],
- [[
-
-uint32_t x;
-int32_t y;
-
- ]])
- ],
- [AC_MSG_RESULT([yes])
- AC_DEFINE([HAVE_CC_STDINT_H], [1],
- [Define if you have a C++ <stdint.h>.])],
- [AC_MSG_RESULT([no])])
- AC_LANG_POP([C++])])
-
AC_DEFUN([GROFF_TIME_T],
[AC_LANG_PUSH([C++])
AC_MSG_CHECKING([for declaration of time_t])
@@ -775,7 +754,7 @@ f = mkstemp;
AC_DEFUN([GROFF_INTTYPES_H],
[AC_LANG_PUSH([C++])
- AC_MSG_CHECKING([for inttypes.h])
+ AC_MSG_CHECKING([C++ <inttypes.h>])
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
@@ -789,7 +768,9 @@ uintmax_t i = (uintmax_t)-1;
]])
],
- [groff_cv_header_inttypes_h=yes],
+ [groff_cv_header_inttypes_h=yes
+ AC_DEFINE([HAVE_CC_INTTYPES_H], [1],
+ [Define if you have a C++ <inttypes.h>.])],
[groff_cv_header_inttypes_h=no])
AC_MSG_RESULT([$groff_cv_header_inttypes_h])
AC_LANG_POP([C++])])