summaryrefslogtreecommitdiffstats
path: root/unix/configure.in
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-05-07 00:35:39 (GMT)
committerhobbs <hobbs>2005-05-07 00:35:39 (GMT)
commite740fc417f05f6bddb546e8b5c7894b745df08c9 (patch)
treef63e82d3449864e5b5b7507161f3679dc27a2db0 /unix/configure.in
parent2860b91b131b8baa4cbda5ab254fb3af247658da (diff)
downloadtk-e740fc417f05f6bddb546e8b5c7894b745df08c9.zip
tk-e740fc417f05f6bddb546e8b5c7894b745df08c9.tar.gz
tk-e740fc417f05f6bddb546e8b5c7894b745df08c9.tar.bz2
fixed pkg-config xft check, needed reset of enable_xft first
Diffstat (limited to 'unix/configure.in')
-rw-r--r--unix/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 6b9f99e..e9d1c63 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tk installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.100 2005/05/07 00:28:17 hobbs Exp $
+# RCS: @(#) $Id: configure.in,v 1.101 2005/05/07 00:35:40 hobbs Exp $
AC_INIT([tk],[8.5])
AC_PREREQ(2.57)
@@ -304,6 +304,7 @@ if test "$enable_xft" = "yes" ; then
XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || enable_xft="no"
XFT_LIBS=`xft-config --libs 2>/dev/null` || enable_xft="no"
if test "$enable_xft" = "no" ; then
+ enable_xft=yes
XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || enable_xft="no"
XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || enable_xft="no"
fi