X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Flib-prefix.m4;h=7e5f0bde03d858ae3df72481ab340f2a17fd15ef;hb=e2de58e827ce0af0b6d38d08ffc89ab04e7b41ac;hp=3bdc0fc574abd05e85a4f380131fb0f5bb363d80;hpb=05f7bb5e714f8d3a535d36cc31ed8ce13b79b835;p=gnulib.git diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4 index 3bdc0fc57..7e5f0bde0 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-2011 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 ;;