diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-03 09:48:21 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-03 09:48:21 +0000 |
commit | f1ac6f3e0cfbdd6d2d1ab9f5225c2af340039b09 (patch) | |
tree | fbf6c48c13b3307098f22808ffe6b6adde324b80 /Build/source/texk/xdvipdfmx | |
parent | cfd31fe0d15b872cbd26a3c1c3e2b8747404a559 (diff) |
fix bug in fontconfig detection
git-svn-id: svn://tug.org/texlive/trunk@13603 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx')
-rwxr-xr-x | Build/source/texk/xdvipdfmx/configure | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/xdvipdfmx/configure b/Build/source/texk/xdvipdfmx/configure index b0285ef6956..b282f8c0e64 100755 --- a/Build/source/texk/xdvipdfmx/configure +++ b/Build/source/texk/xdvipdfmx/configure @@ -18754,19 +18754,18 @@ if test "${kpse_cv_have_fontconfig+set}" = set; then else kpse_save_CPPFLAGS=$CPPFLAGS kpse_save_LIBS=$LIBS +kpse_cv_fontconfig_includes= +kpse_cv_fontconfig_libs='-lfontconfig' if test "x$with_fontconfig_includes:$with_fontconfig_libdir" != x:; then if test "x$with_fontconfig_includes" != x; then kpse_cv_fontconfig_includes="-I$with_fontconfig_includes" fi if test "x$with_fontconfig_libdir" != x; then - kpse_cv_fontconfig_libdir="-L$with_fontconfig_libdir -lfontconfig" + kpse_cv_fontconfig_libs="-L$with_fontconfig_libdir $kpse_cv_fontconfig_libs" fi elif $PKG_CONFIG fontconfig; then kpse_cv_fontconfig_includes=`$PKG_CONFIG fontconfig --cflags` kpse_cv_fontconfig_libs=`$PKG_CONFIG fontconfig --libs` -else - kpse_cv_fontconfig_includes= - kpse_cv_fontconfig_libs='-lfontconfig' fi CPPFLAGS="$kpse_cv_fontconfig_includes $CPPFLAGS" LIBS="$kpse_cv_fontconfig_libs $LIBS" |