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

gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-194-ge045f84)



The branch, master has been updated
       via  e045f84435ed3e07d7a54a41015bf145335c5094 (commit)
      from  dc5dc7051c988d63941454df58dd635eb66611c1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 m4/geda-doxygen.m4 |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit e045f84435ed3e07d7a54a41015bf145335c5094
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    build-sys: Check for pdflatex if doxygen is enabled. [3108442]

:100644 100644 f5a5116... e42b25c... M	m4/geda-doxygen.m4

=========
 Changes
=========

commit e045f84435ed3e07d7a54a41015bf145335c5094
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    build-sys: Check for pdflatex if doxygen is enabled. [3108442]

diff --git a/m4/geda-doxygen.m4 b/m4/geda-doxygen.m4
index f5a5116..e42b25c 100644
--- a/m4/geda-doxygen.m4
+++ b/m4/geda-doxygen.m4
@@ -1,8 +1,8 @@
 # geda-doxygen.m4                                       -*-Autoconf-*-
-# serial 1.0
+# serial 2
 
 dnl Optional Doxygen API documentation support
-dnl Copyright (C) 2009  Peter Brett <peter@xxxxxxxxxxxxx>
+dnl Copyright (C) 2009-2011  Peter Brett <peter@xxxxxxxxxxxxx>
 dnl
 dnl This program is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
@@ -52,6 +52,14 @@ neither Inkscape nor ImageMagick were found. Ensure one of these is
 installed and in your path, or configure without --enable-doxygen.])
     fi
 
+    # We need pdflatex to create PDF format API docs.
+    AC_CHECK_PROG([PDFLATEX], [pdflatex], [pdflatex], [no])
+    if test "X$PDFLATEX" = "Xno"; then
+      AC_MSG_ERROR([API documentation generation was requested, but pdflatex was not
+found.  Ensure it is installed and in your path, or configure without
+--enable-doxygen.])
+    fi
+
   else
     AC_MSG_RESULT([no])
   fi




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs