changeset 74208:33d92b32de0c

(HAVE_X86_64_LIB64_DIR): New test.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 26 Nov 2006 22:16:17 +0000
parents bc1e81a3e86d
children 6a387161d304
files configure.in
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun Nov 26 22:15:51 2006 +0000
+++ b/configure.in	Sun Nov 26 22:16:17 2006 +0000
@@ -1485,6 +1485,16 @@
 AC_SYS_LARGEFILE
 
 
+### The standard library on x86-64 GNU/Linux distributions can 
+### be located in either /usr/lib64 or /usr/lib.
+case "${canonical}" in
+  x86_64-*-linux-gnu* )
+    if test -d /usr/lib64; then
+      AC_DEFINE(HAVE_X86_64_LIB64_DIR, 1,
+        [Define to 1 if the file /usr/lib64 exists.])
+fi
+esac
+
 dnl This function defintion taken from Gnome 2.0
 dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
 dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page