summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-11-26 22:16:17 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-11-26 22:16:17 +0000
commit0bc02f03d2d2b5b249ecb064c50451e2b8fee610 (patch)
treeab9ee7e273d6bfe87f31ea8ab4a279384522ea93 /configure.in
parentbc5d9888219224495f0c6a94d64500ef0a29f6f2 (diff)
downloademacs-0bc02f03d2d2b5b249ecb064c50451e2b8fee610.tar.gz
(HAVE_X86_64_LIB64_DIR): New test.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
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