summaryrefslogtreecommitdiff
path: root/m4/lib-prefix.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-26 18:59:33 +0200
committerBruno Haible <bruno@clisp.org>2009-04-26 18:59:33 +0200
commit13a006f97fca894168e4c1aedfa780f83717c78c (patch)
treef53e19b053d057a4905cb81e7b7d4482b39c5aa9 /m4/lib-prefix.m4
parent4772d3e97208e709087f3d74c282be0015c117e5 (diff)
downloadgnulib-13a006f97fca894168e4c1aedfa780f83717c78c.tar.gz
Make the lib vs. lib64 recognition work on openSUSE 11 with "gcc -m32".
Diffstat (limited to 'm4/lib-prefix.m4')
-rw-r--r--m4/lib-prefix.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4
index 3bdc0fc574..4b7ee3358d 100644
--- a/m4/lib-prefix.m4
+++ b/m4/lib-prefix.m4
@@ -1,5 +1,5 @@
-# lib-prefix.m4 serial 6 (gettext-0.18)
-dnl Copyright (C) 2001-2005, 2008 Free Software Foundation, Inc.
+# lib-prefix.m4 serial 7 (gettext-0.18)
+dnl Copyright (C) 2001-2005, 2008-2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -206,6 +206,9 @@ sixtyfour bits
if test -d "$searchdir"; then
case "$searchdir" in
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
+ */../ | */.. )
+ # Better ignore directories of this form. They are misleading.
+ ;;
*) searchdir=`cd "$searchdir" && pwd`
case "$searchdir" in
*/lib64 ) acl_libdirstem=lib64 ;;