From: Chong Yidong Date: Sun, 26 Nov 2006 22:16:17 +0000 (+0000) Subject: (HAVE_X86_64_LIB64_DIR): New test. X-Git-Tag: emacs-pretest-22.0.92~494 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0bc02f03d2d2b5b249ecb064c50451e2b8fee610;p=emacs.git (HAVE_X86_64_LIB64_DIR): New test. --- 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