From 0bc02f03d2d2b5b249ecb064c50451e2b8fee610 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 26 Nov 2006 22:16:17 +0000 Subject: [PATCH] (HAVE_X86_64_LIB64_DIR): New test. --- configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.in b/configure.in index 91ec83765d4..8b2bfcba251 100644 --- a/configure.in +++ b/configure.in @@ -1485,6 +1485,16 @@ dnl Do this early because it can frob feature test macros for Unix-98 &c. 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 -- 2.39.2