diff options
author | Paul Jakma <paul@quagga.net> | 2012-03-08 14:51:21 +0100 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-03-08 17:14:13 +0100 |
commit | fa482834ea1a30eff056dbf0f36a6f3262460a08 (patch) | |
tree | cdabf37152e29e05724d54e4ed6bb783b0d9472e /configure.ac | |
parent | HACKING: Typo fix (diff) | |
download | frr-fa482834ea1a30eff056dbf0f36a6f3262460a08.tar.xz frr-fa482834ea1a30eff056dbf0f36a6f3262460a08.zip |
HACKING.tex: Change to a LaTeX version of HACKING
* configure.ac: Check for latexmk and pdflatex
* Makefile.am: Add a conditional target to build HACKING.pdf, as a convenience
* HACKING.tex: A slightly more structured HACKING, is readable on its own.
* HACKING: removed
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4e5b5359b..61c4466bb 100755 --- a/configure.ac +++ b/configure.ac @@ -72,6 +72,16 @@ dnl autoconf 2.59 appears not to support AC_PROG_SED dnl AC_PROG_SED AC_CHECK_PROG([SED],[sed],[sed],[/bin/false]) +dnl pdflatex and latexmk are needed to build HACKING.pdf +AC_CHECK_PROG([PDFLATEX],[pdflatex],[pdflatex],[/bin/false]) +AC_CHECK_PROG([LATEXMK],[latexmk],[latexmk],[/bin/false]) +if test "x$PDFLATEX" = "x/bin/false" -o "x$LATEXMK" = "x/bin/false"; then + AC_MSG_WARN([Will not be able to make PDF versions of TeX documents]) +else + HAVE_LATEX=true +fi +AM_CONDITIONAL([HAVE_LATEX], [test "x$HAVE_LATEX" = "xtrue"]) + dnl ------------------------------------------------------------------ dnl Intel compiler check. Although Intel tries really hard to make icc dnl look like gcc, there are some differences. It's very verbose with |