summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure31
1 files changed, 19 insertions, 12 deletions
diff --git a/unix/configure b/unix/configure
index 1734e67..52d4bcc 100755
--- a/unix/configure
+++ b/unix/configure
@@ -9265,25 +9265,32 @@ if test "${enable_xft+set}" = set; then
enableval="$enable_xft"
enable_xft=$enableval
else
- enable_xft="yes"
+ enable_xft="default"
fi;
XFT_CFLAGS=""
XFT_LIBS=""
- 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"
+ if test "$enable_xft" == "no" ; then
+ echo "$as_me:$LINENO: result: $enable_xft" >&5
+echo "${ECHO_T}$enable_xft" >&6
+ else
+ found_xft="yes"
+ XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
+ XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
+ if test "$found_xft" = "no" ; then
+ found_xft=yes
+ XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
+ XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
fi
- if test "$enable_xft" = "no" ; then
- { echo "$as_me:$LINENO: WARNING: Can't find xft configuration" >&5
+ echo "$as_me:$LINENO: result: $found_xft" >&5
+echo "${ECHO_T}$found_xft" >&6
+ if test "$found_xft" = "no" ; then
+ if test "$enable_xft" = "yes" ; then
+ { echo "$as_me:$LINENO: WARNING: Can't find xft configuration" >&5
echo "$as_me: WARNING: Can't find xft configuration" >&2;}
+ fi
+ enable_xft=no
fi
fi
- echo "$as_me:$LINENO: result: $enable_xft" >&5
-echo "${ECHO_T}$enable_xft" >&6
if test $enable_xft = "yes" ; then
UNIX_FONT_OBJS=tkUnixRFont.o