1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

(trunk) #1581: resolve ambiguity between --enable-gtk and --disable-nls

This commit is contained in:
Charles Kerr 2008-12-10 19:31:21 +00:00
parent 6924741843
commit 09c4ea1c00

View file

@ -179,6 +179,10 @@ AC_ARG_ENABLE([nls],
AS_HELP_STRING([--enable-nls],[enable native language support]),,
[enable_nls=yes])
if test "x$build_gtk" = "xyes" -a "x$enable_nls" = "xno" ; then
AC_MSG_ERROR("The gtk client cannot be built without nls support. Try adding either --enable-nls or --disable-gtk" )
fi
use_nls=no
if test "x$enable_nls" = "xyes" ; then
use_nls=yes