diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2017-12-16 15:09:57 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2017-12-16 15:09:57 +0100 |
commit | 5c3643fb701cc380ceb02116526ef4f5885295d0 (patch) | |
tree | 49443347b753b9205beca7e371cfa0e4b8a5836c | |
parent | 8c2b4061d16756ee2ed37f08db063b8215656943 (diff) | |
download | screen-5c3643fb701cc380ceb02116526ef4f5885295d0.tar.gz |
fix: configure option "--disable-use-locale" is not working
Bug: 52663
-rw-r--r-- | src/acconfig.h | 2 | ||||
-rw-r--r-- | src/configure.ac | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/acconfig.h b/src/acconfig.h index 4e5cda0..6ff2d32 100644 --- a/src/acconfig.h +++ b/src/acconfig.h @@ -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 diff --git a/src/configure.ac b/src/configure.ac index 34f9735..d1bc42c 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -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 |