1 --- gettext-0.20.1/gettext-runtime/gnulib-m4/lib-prefix.m4.orig 2019-06-18 17:53:08.859806346 +0200
2 +++ gettext-0.20.1/gettext-runtime/gnulib-m4/lib-prefix.m4 2019-06-18 18:56:16.922617983 +0200
4 if test -d "$searchdir"; then
6 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
7 + */libx32/ | */libx32 ) acl_libdirstem=libx32 ;;
9 # Better ignore directories of this form. They are misleading.
11 *) searchdir=`cd "$searchdir" && pwd`
13 */lib64 ) acl_libdirstem=lib64 ;;
14 + */libx32 ) acl_libdirstem=libx32 ;;
18 --- gettext-0.19.8.1/gettext-runtime/gnulib-m4/lib-link.m4.orig 2016-06-11 14:59:32.000000000 +0200
19 +++ gettext-0.19.8.1/gettext-runtime/gnulib-m4/lib-link.m4 2017-02-05 14:27:31.840415976 +0100
22 if test "X$found_dir" != "X"; then
23 dnl Found the library.
25 + if test "X$found_dir" = "X/usr/$acl_libdirstem" || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
26 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
28 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
30 if test "X$found_so" != "X"; then
31 dnl Linking with a shared library. We attempt to hardcode its
32 dnl directory into the executable's runpath, unless it's the
33 --- gettext-0.20.1/gettext-tools/gnulib-m4/lib-prefix.m4.orig 2016-06-11 14:59:32.000000000 +0200
34 +++ gettext-0.20.1/gettext-tools/gnulib-m4/lib-prefix.m4 2017-02-05 14:26:12.237083553 +0100
36 if test -d "$searchdir"; then
38 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
39 + */libx32/ | */libx32 ) acl_libdirstem=libx32 ;;
41 # Better ignore directories of this form. They are misleading.
43 *) searchdir=`cd "$searchdir" && pwd`
45 */lib64 ) acl_libdirstem=lib64 ;;
46 + */libx32 ) acl_libdirstem=libx32 ;;
50 --- gettext-0.19.8.1/gettext-tools/gnulib-m4/lib-link.m4.orig 2016-06-11 14:59:32.000000000 +0200
51 +++ gettext-0.19.8.1/gettext-tools/gnulib-m4/lib-link.m4 2017-02-05 14:27:31.840415976 +0100
54 if test "X$found_dir" != "X"; then
55 dnl Found the library.
57 + if test "X$found_dir" = "X/usr/$acl_libdirstem" || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
58 + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
60 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
62 if test "X$found_so" != "X"; then
63 dnl Linking with a shared library. We attempt to hardcode its
64 dnl directory into the executable's runpath, unless it's the