open-src/lib/libX11/locale.paths.patch
changeset 1265 0b5cc5c013e4
parent 1179 4ad971e180c3
child 1301 371a43cad701
equal deleted inserted replaced
1264:a3323e4f263f 1265:0b5cc5c013e4
     1 Allow passing multi-directory paths to configure search for locale files
     1 Allow passing multi-directory paths to configure search for locale files
     2 
     2 
     3 diff --git a/configure.ac b/configure.ac
     3 diff --git a/configure.ac b/configure.ac
     4 index c2f2376..9d85355 100644
     4 index 5f82e47..b1ee4f6 100644
     5 --- a/configure.ac
     5 --- a/configure.ac
     6 +++ b/configure.ac
     6 +++ b/configure.ac
     7 @@ -414,11 +414,16 @@ AC_ARG_WITH(locale-lib-dir,	AS_HELP_STRING([--with-locale-lib-dir=DIR],
     7 @@ -414,11 +414,16 @@ AC_ARG_WITH(locale-lib-dir,	AS_HELP_STRING([--with-locale-lib-dir=DIR],
     8   [Directory where locale libraries files are installed (default: $libdir/X11/locale)]),
     8   [Directory where locale libraries files are installed (default: $libdir/X11/locale)]),
     9  				[ X11_LOCALELIBDIR="$withval" ],
     9  				[ X11_LOCALELIBDIR="$withval" ],
    21 +	XLOCALEDIR="${X11_LOCALEDATADIR}"
    21 +	XLOCALEDIR="${X11_LOCALEDATADIR}"
    22 +fi
    22 +fi
    23 +AX_DEFINE_DIR(XLOCALEDIR, XLOCALEDIR, [Location of libX11 locale data])
    23 +AX_DEFINE_DIR(XLOCALEDIR, XLOCALEDIR, [Location of libX11 locale data])
    24  AC_SUBST(X11_LOCALEDIR)
    24  AC_SUBST(X11_LOCALEDIR)
    25  
    25  
    26  XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
    26  locales="\