--- configure
+++ configure
@@ -8205,6 +8205,7 @@
   done
 
 
+if test "${enable_nls}" = yes && test "${with_included_gettext}" = yes; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 $as_echo_n "checking for iconv... " >&6; }
 if test "${am_cv_func_iconv+set}" = set; then :
@@ -8329,6 +8330,7 @@
 _ACEOF
 
   fi
+fi
 
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
