From 2f3c81b048f3816cc47cc5d5bc4e31675fff556a Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 19 Oct 2012 07:17:16 +0000 Subject: 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 --- Build/source/m4/kpse-poppler-flags.m4 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Build/source/m4/kpse-poppler-flags.m4') diff --git a/Build/source/m4/kpse-poppler-flags.m4 b/Build/source/m4/kpse-poppler-flags.m4 index 29f741a97d4..029e495d64c 100644 --- a/Build/source/m4/kpse-poppler-flags.m4 +++ b/Build/source/m4/kpse-poppler-flags.m4 @@ -12,10 +12,12 @@ # Set the make variables POPPLER_INCLUDES and POPPLER_LIBS to the CPPFLAGS and # LIBS required for the `-lpoppler' library in libs/poppler/ of the TL tree. AC_DEFUN([KPSE_POPPLER_FLAGS], -[_KPSE_LIB_FLAGS([poppler], [poppler], [], - [-IBLD/libs/poppler -IBLD/libs/poppler/goo -IBLD/libs/poppler/poppler], - [BLD/libs/poppler/libpoppler.a], [], - [], [${top_builddir}/../../libs/poppler/poppler/Stream.h])[]dnl +[AC_REQUIRE([KPSE_CHECK_WIN32])[]dnl +_KPSE_LIB_FLAGS([poppler], [poppler], [], + [-IBLD/libs/poppler -IBLD/libs/poppler/goo -IBLD/libs/poppler/poppler], + [BLD/libs/poppler/libpoppler.a], [], + [], [${top_builddir}/../../libs/poppler/poppler/Stream.h])[]dnl +test "x$kpse_cv_have_win32" = xno || POPPLER_LIBS="$POPPLER_LIBS -lgdi32" ]) # KPSE_POPPLER_FLAGS # KPSE_POPPLER_OPTIONS([WITH-SYSTEM]) -- cgit v1.2.3