open-src/lib/libX11/locale.paths.patch
changeset 1179 4ad971e180c3
parent 1112 4778e9ecf66e
equal deleted inserted replaced
1178:859fc7cfa429 1179:4ad971e180c3
     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 -Nurp -x '*~' -x '*.orig' configure.ac configure.ac
     3 diff --git a/configure.ac b/configure.ac
     4 --- configure.ac	2011-04-06 13:52:52.161843884 -0700
     4 index c2f2376..9d85355 100644
     5 +++ configure.ac	2011-04-06 13:52:53.339680452 -0700
     5 --- a/configure.ac
     6 @@ -422,11 +422,16 @@ AC_ARG_WITH(locale-lib-dir,	AS_HELP_STRI
     6 +++ b/configure.ac
       
     7 @@ -414,11 +414,16 @@ AC_ARG_WITH(locale-lib-dir,	AS_HELP_STRING([--with-locale-lib-dir=DIR],
     7   [Directory where locale libraries files are installed (default: $libdir/X11/locale)]),
     8   [Directory where locale libraries files are installed (default: $libdir/X11/locale)]),
     8  				[ X11_LOCALELIBDIR="$withval" ],
     9  				[ X11_LOCALELIBDIR="$withval" ],
     9  				[ X11_LOCALELIBDIR="${X11_LIBDIR}/locale" ])
    10  				[ X11_LOCALELIBDIR="${X11_LIBDIR}/locale" ])
    10 -AX_DEFINE_DIR(XLOCALELIBDIR, X11_LOCALELIBDIR, [Location of libX11 locale libraries])
    11 -AX_DEFINE_DIR(XLOCALELIBDIR, X11_LOCALELIBDIR, [Location of libX11 locale libraries])
    11 +if test "x$XLOCALELIBDIR" = "x" ; then
    12 +if test "x$XLOCALELIBDIR" = "x" ; then