[PATCH] Make --enable-internationalization default

Matt Turner mattst88 at gmail.com
Wed Feb 1 09:19:21 PST 2012


From: Gaetan Nadon <memsize at videotron.ca>

libXaw3d-1.5 was built with internationalization by default and software
such as gv and xterm require it.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45153

Signed-off-by: Matt Turner <mattst88 at gmail.com>
---
 configure.ac |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8dd3984..bf5f022 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,11 +38,13 @@ AC_TYPE_INTPTR_T
 XAW3D_CPPFLAGS=
 
 AC_ARG_ENABLE([internationalization],
-    [AS_HELP_STRING([--enable-internationalization], dnl
-     [enable utf8 strings])], [XAW3D_CPPFLAGS="${XAW3D_CPPFLAGS} -DXAW_INTERNATIONALIZATION"])
-
-AM_CONDITIONAL(XAW_INTERNATIONALIZATION,
-    [test x${enable_internationalization} = xyes])
+    AS_HELP_STRING([--enable-internationalization], dnl
+    [enable utf8 strings (default: yes)]),
+    [XAW_I18N=$enableval], [XAW_I18N=yes])
+if test "x$XAW_I18N" = xyes; then
+    XAW3D_CPPFLAGS="${XAW3D_CPPFLAGS} -DXAW_INTERNATIONALIZATION"
+fi
+AM_CONDITIONAL(XAW_INTERNATIONALIZATION, [test "x$XAW_I18N" = xyes])
 
 AC_ARG_ENABLE([multiplane-bitmaps],
     [AS_HELP_STRING([--enable-multiplane-bitmaps], dnl
-- 
1.7.3.4



More information about the xorg-devel mailing list