From 085c16fe4b8061aca6b0d066675c26fef24f3c1c Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Mon, 2 Mar 2009 22:44:45 +0000
Subject: [PATCH] svn merge -r16746:16749
 https://eris.llnl.gov/svn/slurm/branches/slurm-1.3

---
 auxdir/x_ac_gtk.m4 | 1 +
 configure          | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/auxdir/x_ac_gtk.m4 b/auxdir/x_ac_gtk.m4
index 758cddf6490..57cf85ce7cc 100644
--- a/auxdir/x_ac_gtk.m4
+++ b/auxdir/x_ac_gtk.m4
@@ -18,6 +18,7 @@ AC_DEFUN([X_AC_GTK],
     ac_have_gtk="yes"
     _x_ac_pkcfg_bin="no"
 
+    # use the correct libs if running on 64bit
     if test -d "/usr/lib64/pkgconfig"; then
 	    PKG_CONFIG_PATH="/usr/lib64/pkgconfig/"
     fi
diff --git a/configure b/configure
index e4dc90a42b6..97d7c13290b 100755
--- a/configure
+++ b/configure
@@ -25593,6 +25593,12 @@ fi
     ac_have_gtk="yes"
     _x_ac_pkcfg_bin="no"
 
+    # use the correct libs if running on 64bit
+    if test -d "/usr/lib64/pkgconfig"; then
+	    PKG_CONFIG_PATH="/usr/lib64/pkgconfig/"
+    fi
+
+
 ### Check for pkg-config program
 
 # Check whether --with-pkg-config was given.
-- 
GitLab