diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 702b8d3af..40806997f 100644 --- a/configure.ac +++ b/configure.ac @@ -979,7 +979,11 @@ AC_DEFINE_UNQUOTED(PRINTABLE_OS_NAME, "$PRINTABLE_OS_NAME", # # Checking for iconv # +missing_iconv=no AM_ICONV +if test "$am_cv_func_iconv" != yes; then + missing_iconv=yes +fi # @@ -1498,6 +1502,14 @@ if test "$missing_pth" = "yes"; then ***]]) die=yes fi +if test "$missing_iconv" = "yes"; then + AC_MSG_NOTICE([[ +*** +*** It is now required to build with support for iconv +*** Please install a suitable iconv implementation. +***]]) + die=yes +fi if test "$die" = "yes"; then AC_MSG_ERROR([[ |