Author: cazfi Date: Sun Jul 6 23:25:38 2014 New Revision: 25403 URL: http://svn.gna.org/viewcvs/freeciv?rev=25403&view=rev Log: Add "-lintl" to UTILITY_LIBS when we notice that we need it.
See bug #22266 Modified: branches/S2_5/configure.ac Modified: branches/S2_5/configure.ac URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/configure.ac?rev=25403&r1=25402&r2=25403&view=diff ============================================================================== --- branches/S2_5/configure.ac (original) +++ branches/S2_5/configure.ac Sun Jul 6 23:25:38 2014 @@ -513,9 +513,10 @@ FC_CHECK_NGETTEXT_RUNTIME(,have_working_ngettext=1,)],) if test "$have_working_ngettext" = "0"; then - AC_CHECK_LIB(intl, ngettext, - [AC_MSG_CHECKING(whether libintl's ngettext works at runtime) - FC_CHECK_NGETTEXT_RUNTIME("-lintl",have_working_ngettext=1,)],) + AC_CHECK_LIB([intl], [ngettext], + [AC_MSG_CHECKING([whether libintl's ngettext works at runtime]) + FC_CHECK_NGETTEXT_RUNTIME(["-lintl"],[have_working_ngettext=1 +UTILITY_LIBS="${UTILITY_LIBS} -lintl"],)],) fi if test "$have_working_ngettext" = "0"; then _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits