summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3ab38fb..6f8a7d0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,9 @@ AC_PROG_INSTALL
AC_CHECK_FUNCS([strlcpy])
+AC_SEARCH_LIBS([iconv], [iconv],
+ [AC_DEFINE(HAVE_ICONV, 1, [Define to 1 if iconv() is available.])])
+
dnl Required dependencies
PKG_CHECK_MODULES(XCLOCK_X11, x11)
XAW_CHECK_XPRINT_SUPPORT(XAW)