summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorwlemb <wlemb>2004-05-16 22:33:07 +0000
committerwlemb <wlemb>2004-05-16 22:33:07 +0000
commit726778ace2659a24c1c079ce378e99c5893669f5 (patch)
tree1f32ff0bd2fb50bf78f36dd9f124a43fbfabdc13 /aclocal.m4
parent65a30a4a64793f61f998ac16df7c21640cc46e6b (diff)
downloadgroff-726778ace2659a24c1c079ce378e99c5893669f5.tar.gz
* REVISION: Set to 2.
* aclocal.m4 (GROFF_STDINT_H): Removed. (GROFF_INTTYPES_H): Define HACE_CC_INTTYPES_H. * configure.ac: Updated. * configure, src/include/config.hin: Regenerated. * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but inttypes.h conditionally.
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++])])