mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-22 15:04:13 +01:00
configure: rewrote support for option '--disable-locale'
Renamed it to '--disable-xlocale' because the original name is misleading about what the option really is for (it sets locale for X, not locales in general) and updated its documentation; Added checks to report incorrect uses to the user; It is now possible to use '--enable-xlocale' to explicitely request for the feature, so configure would stop if it were not found. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
f222a319b1
commit
d543decee6
@@ -451,15 +451,8 @@ AC_SUBST(X_LIBRARY_PATH)
|
||||
dnl Decide which locale function to use, setlocale() or _Xsetlocale()
|
||||
dnl by MANOME Tomonori
|
||||
dnl ===========================================
|
||||
use_locale=yes
|
||||
AC_ARG_ENABLE(locale, AS_HELP_STRING([--disable-locale], [disable use of X locale support]),
|
||||
use_locale=no)
|
||||
WM_I18N_XLOCALE
|
||||
|
||||
if test "$use_locale" = yes; then
|
||||
AC_CHECK_LIB(X11, _Xsetlocale,
|
||||
AC_DEFINE(X_LOCALE, 1, [define if you want support for X window's X_LOCALE (set by configure)]),,
|
||||
$XLFLAGS $XLIBS)
|
||||
fi
|
||||
|
||||
|
||||
dnl Check whether XInternAtoms() exist
|
||||
|
||||
Reference in New Issue
Block a user