mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-02-11 01:42:24 +02:00
fix: configure option "--disable-use-locale" is not working
Bug: 52663
This commit is contained in:
@@ -274,7 +274,7 @@
|
||||
* Define USE_LOCALE if you want screen to use the locale names
|
||||
* for the name of the month and day of the week.
|
||||
*/
|
||||
#define USE_LOCALE
|
||||
#undef USE_LOCALE
|
||||
|
||||
/*
|
||||
* Define USE_PAM if your system supports PAM (Pluggable Authentication
|
||||
|
||||
@@ -1246,7 +1246,11 @@ if test "$enable_pam" = "yes"; then
|
||||
AC_MSG_RESULT(no);LIBS="$oldlibs")
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(use_locale, [ --enable-use-locale use localized month/day names])
|
||||
AC_ARG_ENABLE(use-locale,
|
||||
[ --enable-use-locale use localized month/day names (default: yes)],
|
||||
[],
|
||||
[enable_use_locale=yes]
|
||||
)
|
||||
if test "$enable_use_locale" = "yes"; then
|
||||
AC_DEFINE(USE_LOCALE)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user