SHA256
3
0
forked from pool/screen
screen/use_locale.diff
Ismail Dönmez 603a97f8a3 Accepting request 137554 from home:lnt-sysadmin:branches:Base:System
The currently used "--enable-locale" is not correct, it should be "--enable-use-locale" instead, as the configure code is testing: 
-------- 
if test "$enable_use_locale" = "yes"; then 
... 
-------- 
Hence, using "--enable-locale" will result in a warning about an unknown option.

Changelog updated and bug reported upstream here: https://savannah.gnu.org/bugs/index.php?37528

OBS-URL: https://build.opensuse.org/request/show/137554
OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=37
2012-10-09 13:15:30 +00:00

25 lines
1.1 KiB
Diff

diff -Pdpru a/configure b/configure
--- a/configure 2012-09-19 14:44:09.593017471 +0200
+++ b/configure 2012-09-19 15:20:44.406073384 +0200
@@ -1338,7 +1339,7 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-socket-dir disable system wide socket-dir and use ~/.screen instead
--enable-pam enable PAM support
- --enable-locale use localized month/day names
+ --enable-use-locale use localized month/day names
--enable-telnet enable builtin telnet
--enable-colors256 enable support for 256 colors
--enable-rxvt_osc enable support for rxvt OSC codes
diff -Pdpru a/configure.in b/configure.in
--- a/configure.in 2012-09-19 14:44:09.592017464 +0200
+++ b/configure.in 2012-09-19 15:21:45.555515336 +0200
@@ -1265,7 +1276,7 @@ if test "$enable_pam" = "yes"; then
AC_MSG_RESULT(no);LIBS="$oldlibs")
fi
-AC_ARG_ENABLE(use_locale, [ --enable-locale use localized month/day names])
+AC_ARG_ENABLE(use_locale, [ --enable-use-locale use localized month/day names])
if test "$enable_use_locale" = "yes"; then
AC_DEFINE(USE_LOCALE)
fi