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:
parent
6924741843
commit
09c4ea1c00
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue