From 371176f554a155e1587fde691cc11a3c10b9e80a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 18 May 1998 00:57:57 +0200
Subject: [PATCH] Added check for isgraph().

Rev: src/configure.in:1.187
---
 src/configure.in | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/src/configure.in b/src/configure.in
index 9596ed3906..87b1a2fb7c 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.186 1998/05/17 20:37:55 grubba Exp $")
+AC_REVISION("$Id: configure.in,v 1.187 1998/05/17 22:57:57 grubba Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -1747,6 +1747,20 @@ fi
 
 #############################################################################
 
+AC_MSG_CHECKING(for isgraph)
+AC_CACHE_VAL(pike_cv_func_isgraph, [ AC_COMPILE([
+#include <ctype.h>
+], [
+return(!isgraph('A'));
+], pike_cv_func_isgraph=yes, pike_cv_func_isgraph=no)
+])
+AC_MSG_RESULT($pike_cv_func_isgraph)
+if test "x$pike_cv_func_isgraph" = "xyes" ; then
+  AC_DEFINE(HAVE_ISGRAPH)
+else :; fi
+
+#############################################################################
+
 AC_MSG_CHECKING(for gcc function attributes)
 AC_CACHE_VAL(pike_cv_gcc_attributes,
 [
-- 
GitLab