summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-04-04 21:50:56 +0000
committerKristian Høgsberg <krh@redhat.com>2005-04-04 21:50:56 +0000
commitd3d12235bf4de48363571b3d992ea3bfc29e6529 (patch)
tree0c30587e15e7cd099bf53d37f995ecea0f7caaff /configure.ac
parent2cb9d70678e33504246cbfbe0525c33f5e3b7736 (diff)
2005-04-04 Kristian Høgsberg <krh@redhat.com>
* configure.ac: Add checks for mkstemp() and mkstemps(). * glib/poppler-page.cc (poppler_page_find_text): Reverse y-coordinates so we return PDF style coordinates. From Maro Pesenti Gritti <mpgritti@gmail.com>: * configure.ac, poppler/Makefile.am: Check for fontconfig when we're building the splash backend. * glib/poppler-page.cc (poppler_page_get_text): New function to select text on page.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9982e736..2a1a2bf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ if test $ac_cv_func_gethostbyname = no; then
fi
dnl ##### Checks for library functions.
-AC_CHECK_FUNCS(popen)
+AC_CHECK_FUNCS(popen mkstemp mkstemps)
dnl ##### Back to C for the library tests.
AC_LANG_C
@@ -138,6 +138,9 @@ AC_ARG_ENABLE(splash-output,
AC_HELP_STRING([--disable-splash-output],
[Don't build the Splash graphics backend.]),,
enable_splash_output="yes")
+if test x$enable_splash_output = xyes; then
+ PKG_CHECK_MODULES(SPLASH, fontconfig)
+fi
AM_CONDITIONAL(BUILD_SPLASH_OUTPUT, test x$enable_splash_output = xyes)
AC_ARG_ENABLE(cairo-output,