diff --git a/auxdir/x_ac_gtk.m4 b/auxdir/x_ac_gtk.m4 index 758cddf64904494e8c20c4e71f7741de8a95ed0b..57cf85ce7cc0ba666ff1b268a7687b52fb1bb321 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 e4dc90a42b604b97f5621605f99a7225b313ccc9..97d7c13290b8b4080d8e14dcd414eb191187866c 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.