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

gEDA-cvs: pcb.git: branch: master updated (b4ca96d312884a8bc2314e490c2c957ab590b427)



The branch, master has been updated
       via  b4ca96d312884a8bc2314e490c2c957ab590b427 (commit)
      from  5c7cc398ffc8f646d68eada8d6cd74dff4bceb85 (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
=========

 configure.ac |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)


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

commit b4ca96d312884a8bc2314e490c2c957ab590b427
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    When building the docs have configure check for epsf.tex being in the TeX
    installation.  Problem noted by Kai-Martin Knaak and the method for checking
    suggested by Peter Clifton.

:100644 100644 415c400... d5578fb... M	configure.ac

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

commit b4ca96d312884a8bc2314e490c2c957ab590b427
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    When building the docs have configure check for epsf.tex being in the TeX
    installation.  Problem noted by Kai-Martin Knaak and the method for checking
    suggested by Peter Clifton.

diff --git a/configure.ac b/configure.ac
index 415c400..d5578fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -224,6 +224,31 @@ Alternatively, you can disable building the documentation with
 --disable-doc.
 ])
 	fi
+
+
+   AC_PATH_PROG([KPSEWHICH], [kpsewhich], [no])
+   if test "X$KPSEWHICH" = "Xno"; then
+      AC_MSG_ERROR([You have requested a build
+of the documentation.  For this to work, you must have a functional install of
+TeX and LaTeX.  kpsewhich is part of TeX.
+Alternatively, you can disable building the documentation with
+--disable-doc.])
+   fi
+
+   AC_MSG_CHECKING([If your TeX installation contains epsf.tex])
+   f=`$KPSEWHICH epsf.tex`
+   if test $? -eq 0 ; then
+	AC_MSG_RESULT([yes ($f)])
+   else
+	AC_MSG_RESULT([no])
+        AC_MSG_ERROR([You have requested a build
+of the documentation.  For this to work, you must have a functional install of
+TeX and LaTeX that includes epsf.tex.  On some linux distributions this is
+part of the texlive-generic-recommended package.
+Alternatively, you can disable building the documentation with
+--disable-doc.])
+   fi
+
 fi
 
 ##########################################################################




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