--- configure~	2007-07-14 14:08:05.000000000 +0400
+++ configure	2014-06-05 23:00:09.000000000 +0400
@@ -5401,8 +5401,7 @@
       fi
     fi
 
-    if test "$gt_use_preinstalled_gnugettext" = "yes" \
-       || test "$nls_cv_use_gnu_gettext" = "yes"; then
+	if test "${enable_nls+set}" = set; then
 
 cat >>confdefs.h <<\_ACEOF
 #define ENABLE_NLS 1
