summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-11-07 06:56:39 +0000
committerGlenn Morris <rgm@gnu.org>2008-11-07 06:56:39 +0000
commit3956f20b671ca7d71c1c04f5274ef9159967448e (patch)
tree36925cd87727238a55368e7a9f4d622ae3334ae7 /configure.in
parent736916447ea66c6b7ff0edfd39980e4e2f107959 (diff)
downloademacs-3956f20b671ca7d71c1c04f5274ef9159967448e.tar.gz
(HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e40203bb38c..1cd2c439c4b 100644
--- a/configure.in
+++ b/configure.in
@@ -907,9 +907,11 @@ AC_SYS_LARGEFILE
### The standard library on x86-64 and s390x GNU/Linux distributions can
### be located in either /usr/lib64 or /usr/lib.
+### In some rare cases, /usr/lib64 exists but does not contain the
+### relevant files (bug#1287). Hence test for crtn.o.
case "${canonical}" in
x86_64-*-linux-gnu* | s390x-*-linux-gnu* )
- if test -d /usr/lib64; then
+ if test -e /usr/lib64/crtn.o; then
AC_DEFINE(HAVE_LIB64_DIR, 1,
[Define to 1 if the directory /usr/lib64 exists.])
fi