configure.in
changeset 431 a1cb2bf24ce5
parent 427 c38ace41039f
child 434 19a16ec64f82
equal deleted inserted replaced
430:5a445b536027 431:a1cb2bf24ce5
   230 fi
   230 fi
   231 
   231 
   232 dnl determine language.
   232 dnl determine language.
   233 physfslang=english
   233 physfslang=english
   234 AC_ARG_ENABLE(language,
   234 AC_ARG_ENABLE(language,
   235 [  --enable-language=lang     English, currently. [default=english]],
   235 [  --enable-language=lang     english, russian. [default=english]],
   236               physfslang=`echo $enable_language |tr A-Z a-z`)
   236               physfslang=`echo $enable_language |tr A-Z a-z`)
   237 
   237 
   238 AC_MSG_CHECKING([if language choice is supported])
   238 AC_MSG_CHECKING([if language choice is supported])
   239 physfs_valid_lang=no
   239 physfs_valid_lang=no
   240 if test x$physfslang = xenglish; then
   240 if test x$physfslang = xenglish; then
   241   physfs_valid_lang=yes
   241   physfs_valid_lang=yes
   242   AC_DEFINE([PHYSFS_LANG], PHYSFS_LANG_ENGLISH, [define desired natural language])
   242   AC_DEFINE([PHYSFS_LANG], PHYSFS_LANG_ENGLISH, [define desired natural language])
       
   243 fi
       
   244 
       
   245 if test x$physfslang = xrussian; then
       
   246   physfs_valid_lang=yes
       
   247   AC_DEFINE([PHYSFS_LANG], PHYSFS_LANG_RUSSIAN, [define desired natural language])
   243 fi
   248 fi
   244 
   249 
   245 dnl Add other language checks here...
   250 dnl Add other language checks here...
   246 
   251 
   247 AC_MSG_RESULT([$physfs_valid_lang])
   252 AC_MSG_RESULT([$physfs_valid_lang])