# HG changeset patch # User Chong Yidong # Date 1164579377 0 # Node ID 33d92b32de0c4a6ab383c5c578ee686c01c71a52 # Parent bc1e81a3e86d1009db8db004ebc1ea766cc23266 (HAVE_X86_64_LIB64_DIR): New test. diff -r bc1e81a3e86d -r 33d92b32de0c configure.in --- 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