summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2005-05-16 21:56:31 +0000
committerKristian Høgsberg <krh@redhat.com>2005-05-16 21:56:31 +0000
commit6d7f624c13e8a9a8251ac97388cd80e418c70250 (patch)
tree5e0c1d251150bc6e9b57c8c83e9d5ada3c6c50f0 /configure.ac
parent2801b54a944fc9e1072c5dcb9f1153a0c9f42de5 (diff)
2005-05-16 Kristian Høgsberg <krh@redhat.com>
* configure.ac: Check for glib-mkenums. * glib/Makefile.am (poppler-enums.h): Generate glib enums at compile time. * glib/poppler-enums.c: * glib/poppler-enums.h: Removed.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c1473a6..54294173 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,6 +206,9 @@ elif test x$enable_poppler_glib = xtry; then
[enable_poppler_glib="yes"],
[enable_poppler_glib="no"])
fi
+if test x$enable_poppler_glib = xyes; then
+ AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
+fi
AM_CONDITIONAL(BUILD_POPPLER_GLIB, test x$enable_poppler_glib = xyes)
AC_ARG_ENABLE(poppler-qt,