diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2012-02-01 12:18:06 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-02-01 12:18:06 -0500 |
commit | a17b298430d3d55e92f30647346d9d3450f2f699 (patch) | |
tree | b31655a7e87abe25c24a67a89919f73e3f7b9103 /configure.ac | |
parent | d50aaed45a5770d9f84fe94279d4fd49ff834b85 (diff) |
Make --enable-internationalization default
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@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | 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 |