From 9db4ae7e2f7a11864293419d1d986ee8ef6dc1b8 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 11 Nov 2002 01:57:43 +0000 Subject: [PATCH] * configure.in: Check for uintptr_t. Needed to compile regex.c on MacOS X. Reported by Wim Rijnders --- ChangeLog | 5 +++++ configure.in | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 60ac981b8..9b576ec18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-10 Pavel Roskin + + * configure.in: Check for uintptr_t. Needed to compile regex.c + on MacOS X. Reported by Wim Rijnders + 2002-11-07 Andrew V. Samoilov * syntax/ada95.syntax: Highlight "then" and "else". diff --git a/configure.in b/configure.in index a9e4629a4..8cdd106ce 100644 --- a/configure.in +++ b/configure.in @@ -189,6 +189,12 @@ AC_TYPE_PID_T AC_TYPE_UID_T AC_CHECK_TYPE(nlink_t, unsigned int) +dnl This is needed for regex.c only +AC_CHECK_TYPE(uintptr_t, + [AC_DEFINE(HAVE_UINTPTR_T, 1, + [Define if you have the `uintptr_t' type.]) +]) + AC_FUNC_ALLOCA AC_FUNC_STRCOLL