[gtk-doc] m4: we disable pdf if there is no mkpdf installed



commit 8c0074fa63cad3e3c718fd1b02c09dc95fcf36a7
Author: Stefan Kost <ensonic users sf net>
Date:   Tue Jul 7 18:35:01 2009 +0100

    m4: we disable pdf if there is no mkpdf installed
    
    Invert the check.

 gtk-doc.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk-doc.m4 b/gtk-doc.m4
index ef01a82..2cfa1e7 100644
--- a/gtk-doc.m4
+++ b/gtk-doc.m4
@@ -48,7 +48,7 @@ AC_DEFUN([GTK_DOC_CHECK],
                      [build documentation in pdf format [[default=no]]]),,
       [enable_gtk_doc_pdf=no])
 
-  if test -n "$GTKDOC_MKPDF"; then
+  if test -z "$GTKDOC_MKPDF"; then
     enable_gtk_doc_pdf=no
   fi
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]