summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-01-23 22:39:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-01-23 22:39:24 (GMT)
commita30279739b3a8f30696b44c63ea6780453099f5c (patch)
treeb404617aff245c76bd19752d54137a2055b9eea0 /unix
parente62b7433ff74f591d6240795193f425313043aea (diff)
parentdaf5a05cbed5ebd093734f1fe936477fc580b4b7 (diff)
downloadtk-a30279739b3a8f30696b44c63ea6780453099f5c.zip
tk-a30279739b3a8f30696b44c63ea6780453099f5c.tar.gz
tk-a30279739b3a8f30696b44c63ea6780453099f5c.tar.bz2
Put -lfontconfig in XFT_LIBS, not XLIBSW flag
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure2
-rw-r--r--unix/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 5fc5cca..de9eaa9 100755
--- a/unix/configure
+++ b/unix/configure
@@ -10523,7 +10523,7 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_fontconfig_FcFontSort" >&5
echo "${ECHO_T}$ac_cv_lib_fontconfig_FcFontSort" >&6
if test $ac_cv_lib_fontconfig_FcFontSort = yes; then
- XLIBSW="$XLIBSW -lfontconfig"
+ XFT_LIBS="$XFT_LIBS -lfontconfig"
fi
diff --git a/unix/configure.in b/unix/configure.in
index ecbac80..948eae2 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -520,7 +520,7 @@ if test $tk_aqua = no; then
tk_oldLibs=$LIBS
LIBS="$tk_oldLIBS $XFT_LIBS $XLIBSW -lfontconfig"
AC_CHECK_LIB(fontconfig, FcFontSort, [
- XLIBSW="$XLIBSW -lfontconfig"
+ XFT_LIBS="$XFT_LIBS -lfontconfig"
], [])
CFLAGS=$tk_oldCFlags
LIBS=$tk_oldLibs