-if test "x$USE_POPPLER" = "xtrue"; then
- xpdf_in_source=
- splash_in_source=
- AC_DEFINE([HAVE_POPPLER],[1],[use poppler])
- PKG_CHECK_MODULES([POPPLER],[poppler poppler-splash],,[poppler_pkgconfig=no])
- if test "x$poppler_pkgconfig" = "xno"; then
- AC_LANG_PUSH([C++])
- AC_CHECK_HEADERS([OutputDev.h],[
- AC_CHECK_LIB([poppler],[main],,[])
- ],[AC_MSG_ERROR([No poppler library found. This library is required.])])
- AC_LANG_POP
- else
- CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"
- AC_DEFINE([HAVE_POPPLER], [1])
- LIBS="$LIBS $POPPLER_LIBS"
- fi
-fi
+dnl if test "x$USE_POPPLER" = "xtrue"; then
+dnl xpdf_in_source=
+dnl splash_in_source=
+dnl AC_DEFINE([HAVE_POPPLER],[1],[use poppler])
+dnl PKG_CHECK_MODULES([POPPLER],[poppler poppler-splash],,[poppler_pkgconfig=no])
+dnl if test "x$poppler_pkgconfig" = "xno"; then
+dnl AC_LANG_PUSH([C++])
+dnl AC_CHECK_HEADERS([OutputDev.h],[
+dnl AC_CHECK_LIB([poppler],[main],,[])
+dnl ],[AC_MSG_ERROR([No poppler library found. This library is required.])])
+dnl AC_LANG_POP
+dnl else
+dnl CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"
+dnl AC_DEFINE([HAVE_POPPLER], [1])
+dnl LIBS="$LIBS $POPPLER_LIBS"
+dnl fi
+dnl fi
+
+AC_SUBST([art_in_source])