From: Glenn Morris Date: Fri, 7 Nov 2008 06:56:47 +0000 (+0000) Subject: (HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287) X-Git-Tag: emacs-pretest-23.0.90~1930 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9fea5ed149e58172d07707b8083d748c5a655205;p=emacs.git (HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287) --- diff --git a/ChangeLog b/ChangeLog index 0287efa03ed..cf313b1dc5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-11-07 Glenn Morris + + * configure.in (HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287) + 2008-10-31 Eli Zaretskii * config.bat: Tell user to expect one "File not found" message 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