From: Gaetan Nadon <mems...@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 <matts...@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

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to