summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2014-01-23 22:38:39 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2014-01-23 22:38:39 (GMT)
commit0f2efc156d3aec11091d4c9b107eff66508a912f (patch)
treed2de3f09cf9fcb8d3c1d3d6a692c6627d9faf762 /unix
parentdc7be6aeb14cdd8608677e5b0e3294d068d7d2fb (diff)
downloadtk-0f2efc156d3aec11091d4c9b107eff66508a912f.zip
tk-0f2efc156d3aec11091d4c9b107eff66508a912f.tar.gz
tk-0f2efc156d3aec11091d4c9b107eff66508a912f.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 1c1a00d..cd11970 100755
--- a/unix/configure
+++ b/unix/configure
@@ -10784,7 +10784,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 5b74bb5..d9862ef 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -516,7 +516,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