diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-05-18 13:57:15 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-05-18 13:57:15 -0700 |
commit | 38e77edd7c3cf9a3f8895e92e46debd0467ecc68 (patch) | |
tree | d94d6c7be6f66e2ff23923ed9f73ec864955cfa5 /configure.ac | |
parent | 4abb71337d740fdcca30f4f2f57b769b7f422c13 (diff) |
Make use of iconv() conditional on configure.ac finding it in libc or libiconv
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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) |