summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-poppler-flags.m4
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-10-19 07:17:16 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-10-19 07:17:16 +0000
commit2f3c81b048f3816cc47cc5d5bc4e31675fff556a (patch)
tree3c42eafadaaa2c9d7446d5056d5754915a3bfbea /Build/source/m4/kpse-poppler-flags.m4
parentd48840293d264a628b2432cac087c33012c069da (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-poppler-flags.m4')
-rw-r--r--Build/source/m4/kpse-poppler-flags.m410
1 files changed, 6 insertions, 4 deletions
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])