1 --- gettext-0.19.8.1/gettext-runtime/gnulib-m4/lib-prefix.m4.orig 2016-06-11 14:59:32.000000000 +0200
2 +++ gettext-0.19.8.1/gettext-runtime/gnulib-m4/lib-prefix.m4 2017-02-05 14:26:12.237083553 +0100
4 for searchdir in $searchpath; do
5 if test -d "$searchdir"; then
7 + */libx32/ | */libx32 ) acl_libdirstem=libx32 ;;
8 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
10 # Better ignore directories of this form. They are misleading.
12 *) searchdir=`cd "$searchdir" && pwd`
14 + */libx32 ) acl_libdirstem=libx32 ;;
15 */lib64 ) acl_libdirstem=lib64 ;;
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.19.8.1/gettext-tools/gnulib-m4/lib-prefix.m4.orig 2016-06-11 14:59:32.000000000 +0200
34 +++ gettext-0.19.8.1/gettext-tools/gnulib-m4/lib-prefix.m4 2017-02-05 14:26:12.237083553 +0100
36 for searchdir in $searchpath; do
37 if test -d "$searchdir"; then
39 + */libx32/ | */libx32 ) acl_libdirstem=libx32 ;;
40 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
42 # Better ignore directories of this form. They are misleading.
44 *) searchdir=`cd "$searchdir" && pwd`
46 + */libx32 ) acl_libdirstem=libx32 ;;
47 */lib64 ) acl_libdirstem=lib64 ;;
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