Code

Added missing #ifdefs for HAVE_POPPLER_GLIB
authormiklosh <miklosh@users.sourceforge.net>
Wed, 4 Jul 2007 09:04:38 +0000 (09:04 +0000)
committermiklosh <miklosh@users.sourceforge.net>
Wed, 4 Jul 2007 09:04:38 +0000 (09:04 +0000)
src/extension/init.cpp

index a8129fc8b30ea2f7774464ccd0d652db22393dbd..a6471be257f9d8348769cefcfcd65257b254cf91 100644 (file)
@@ -43,7 +43,9 @@
 # include "internal/cairo-png-out.h"
 # include "internal/cairo-ps-out.h"
 #endif
-#include "internal/pdf-input-cairo.h"
+#ifdef HAVE_POPPLER_GLIB
+# include "internal/pdf-input-cairo.h"
+#endif
 #include "internal/pov-out.h"
 #include "internal/odf.h"
 #include "internal/latex-pstricks-out.h"
@@ -125,7 +127,9 @@ init()
     }
     Internal::CairoPsOutput::init();
 #endif
+#ifdef HAVE_POPPLER_GLIB
     Internal::PdfInputCairo::init();
+#endif
 #ifdef WITH_GNOME_PRINT
     Internal::PrintGNOME::init();
 #endif