diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-10-19 07:17:16 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-10-19 07:17:16 +0000 |
commit | 2f3c81b048f3816cc47cc5d5bc4e31675fff556a (patch) | |
tree | 3c42eafadaaa2c9d7446d5056d5754915a3bfbea /Build/source/m4/kpse-xpdf-flags.m4 | |
parent | d48840293d264a628b2432cac087c33012c069da (diff) |
build system [WIN32]: Reorganize adding '-lgdi32' to POPPLER_LIBS and XPDF_LIBS
git-svn-id: svn://tug.org/texlive/trunk@28029 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/kpse-xpdf-flags.m4')
-rw-r--r-- | Build/source/m4/kpse-xpdf-flags.m4 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/m4/kpse-xpdf-flags.m4 b/Build/source/m4/kpse-xpdf-flags.m4 index ceb32dffb5b..8b3afd369a2 100644 --- a/Build/source/m4/kpse-xpdf-flags.m4 +++ b/Build/source/m4/kpse-xpdf-flags.m4 @@ -12,10 +12,12 @@ # Set the make variables XPDF_INCLUDES and XPDF_LIBS to the CPPFLAGS and # LIBS required for the `-lxpdf' library in libs/xpdf/ of the TL tree. AC_DEFUN([KPSE_XPDF_FLAGS], -[_KPSE_LIB_FLAGS([xpdf], [xpdf], [], - [-DPDF_PARSER_ONLY -IBLD/libs/xpdf -IBLD/libs/xpdf/goo -IBLD/libs/xpdf/xpdf], - [BLD/libs/xpdf/libxpdf.a], [], - [], [${top_builddir}/../../libs/xpdf/xpdf/Stream.h])[]dnl +[AC_REQUIRE([KPSE_CHECK_WIN32])[]dnl +_KPSE_LIB_FLAGS([xpdf], [xpdf], [], + [-DPDF_PARSER_ONLY -IBLD/libs/xpdf -IBLD/libs/xpdf/goo -IBLD/libs/xpdf/xpdf], + [BLD/libs/xpdf/libxpdf.a], [], + [], [${top_builddir}/../../libs/xpdf/xpdf/Stream.h])[]dnl +test "x$kpse_cv_have_win32" = xno || XPDF_LIBS="$XPDF_LIBS -lgdi32" ]) # KPSE_XPDF_FLAGS # KPSE_XPDF_OPTIONS([WITH-SYSTEM]) |