# HG changeset patch # User Glenn Morris # Date 1226041125 0 # Node ID 759f9e60a642656345b54d351b803627f2d6741d # Parent eb8eaf591892d76aec5ccf3807032e34ad74b1e0 (HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287) diff -r eb8eaf591892 -r 759f9e60a642 configure --- a/configure Fri Nov 07 06:56:47 2008 +0000 +++ b/configure Fri Nov 07 06:58:45 2008 +0000 @@ -5913,9 +5913,11 @@ ### 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 cat >>confdefs.h <<\_ACEOF #define HAVE_LIB64_DIR 1