summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/configure.ac
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-22 18:17:33 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-22 18:17:33 +0000
commit633c2bc993d2ad14ecf137836f22eef08805a3b5 (patch)
tree784c479c7046d0dbf7cbfb9446c7762b5e1bb494 /Build/source/texk/xdvipdfmx/configure.ac
parent62b00fcce4ced507597a1c9b18116b781f0d1a9e (diff)
build fix for freetype2 and macosx (preliminary)
git-svn-id: svn://tug.org/texlive/trunk@12798 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx/configure.ac')
-rw-r--r--Build/source/texk/xdvipdfmx/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/xdvipdfmx/configure.ac b/Build/source/texk/xdvipdfmx/configure.ac
index db6fd5ee46e..08fc22347a6 100644
--- a/Build/source/texk/xdvipdfmx/configure.ac
+++ b/Build/source/texk/xdvipdfmx/configure.ac
@@ -59,10 +59,18 @@ CHO_CHECK_ZLIB
KPSE_ADD_FLAGS([libpng])
CHO_CHECK_LIBPNG
+set -x
+kpse_save_FREETYPE2_INCLUDES=$FREETYPE2_INCLUDES
+kpse_save_FREETYPE2_LIBS=$FREETYPE2_LIBS
+eval FREETYPE2_INCLUDES="$FREETYPE2_INCLUDES"
+eval FREETYPE2_LIBS="$FREETYPE2_LIBS"
+set +x
KPSE_ADD_FLAGS([freetype2])
CHO_CHECK_LIBFREETYPE([xdvipdfmx])
KPSE_RESTORE_FLAGS
+FREETYPE2_INCLUDES=$kpse_save_FREETYPE2_INCLUDES
+FREETYPE2_LIBS=$kpse_save_FREETYPE2_LIBS
dnl We do not provide the configure option '--enable-tetex-build', but may
dnl inherit enable_tetex_build when part of a teTeX / TeX Live installation.