diff --git a/src/acconfig.h b/src/acconfig.h index f3ae6b63ecf7383ca0a5d922fe0c56797b27f26f..2101e23a69c3ecc5037fbb7859b379d198618d83 100644 --- a/src/acconfig.h +++ b/src/acconfig.h @@ -481,9 +481,6 @@ /* Define if your OS has the union wait. */ #undef HAVE_UNION_WAIT -/* Define if you have isgraph */ -#undef HAVE_ISGRAPH - /* Define if your cpp supports the ANSI concatenation operator ## */ #undef HAVE_ANSI_CONCAT diff --git a/src/configure.in b/src/configure.in index 134820b023a9c965bf1992f1fd92c0538bf975fe..2e000e4e30298bc81550f1e79adb3663088ba7a8 100644 --- a/src/configure.in +++ b/src/configure.in @@ -3266,20 +3266,6 @@ fi ############################################################################# -AC_MSG_CHECKING(for isgraph) -AC_CACHE_VAL(pike_cv_func_isgraph, [ AC_TRY_LINK([ -#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 - -############################################################################# - PIKE_AC_DEBUG # Note: For function detection to work correctly with diff --git a/src/pike_macros.h b/src/pike_macros.h index 6898b15b273276c705eb1ccaef89b3e48cfd74cf..5e86c5bf1546386264cbc024026793482d39a858 100644 --- a/src/pike_macros.h +++ b/src/pike_macros.h @@ -40,10 +40,6 @@ PMOD_EXPORT extern const char Pike_is8bitalnum_vector[]; #define isidchar(X) is8bitalnum(X) -#ifndef HAVE_ISGRAPH -#define isgraph(X) (ispunct(X) || isupper(X) || islower(X) || isdigit(X)) -#endif /* !HAVE_ISGRAPH */ - #define DO_ALIGN(X,Y) (((size_t)(X)+((Y)-1)) & ~((Y)-1))