]> git.lyx.org Git - lyx.git/blobdiff - config/gettext.m4
Bugfixes, de.po and sl.po updates, lyxlookup cleanup
[lyx.git] / config / gettext.m4
index 078443463477ffa3ee574dac2868aaa71499ba2a..7ecae1d0b1eef102392e5efa75cd7fc9fff867f6 100644 (file)
@@ -49,7 +49,11 @@ AC_DEFUN(AM_WITH_NLS,
               [AC_CACHE_CHECK([for gettext in libintl],
                 gt_cv_func_gettext_libintl,
                 [AC_CHECK_LIB(intl, gettext,
-                 gt_cv_func_gettext_libintl=yes,
+dnl ============== A fix is here! ======================
+dnl -lintl was not added to the LIBS variable in this case
+                 [gt_cv_func_gettext_libintl=yes
+                  INTLLIBS="-lintl"],
+dnl ==== end of fix
                  gt_cv_func_gettext_libintl=no)],
                 gt_cv_func_gettext_libintl=no)])
           fi