summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-01-31 23:04:45 +0100
committerpgen <p.gen.progs@gmail.com>2018-01-31 23:04:45 +0100
commite6b8b4ba8881dbb985f22bd349577c5658ff9936 (patch)
treebc754d66cff415cfbc107b371f2a15dd820f8fb9 /configure.ac
parent1d29b0dd699cf1d536beba922fea9864915724f2 (diff)
Use isgraph if it is available and an alternative otherwise
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index de48dec..7ead12d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,8 +34,9 @@ AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
-AC_CHECK_FUNCS([mblen memset nl_langinfo pathconf regcomp \
- setlocale strchr strrchr strspn])
+AC_CHECK_FUNCS([mblen memset nl_langinfo pathconf regcomp setlocale])
+AC_CHECK_FUNCS([strchr strrchr strspn])
+AC_CHECK_FUNCS([isgraph])
AC_CANONICAL_HOST
# OS-specific tests