summaryrefslogtreecommitdiffstats
path: root/m4/ac_prog_javadoc.m4
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:14:56 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:14:56 +0000
commit6e33ada682bd0aa9f746e1407afbda93af9b2d25 (patch)
tree567f5be90e5223a179f0efdb9043bf2daabca5b5 /m4/ac_prog_javadoc.m4
parent366e4433610e8846b9ceb82952eb2f42fd7284f6 (diff)
downloadlasso-6e33ada682bd0aa9f746e1407afbda93af9b2d25.tar.gz
lasso-6e33ada682bd0aa9f746e1407afbda93af9b2d25.tar.xz
lasso-6e33ada682bd0aa9f746e1407afbda93af9b2d25.zip
Core: Use automake-1.11 when possible
* Makefile.am: use new automake-1.11 silent rules if possible move macros to m4 directory * m4/gtk-doc.m4: add gtk-doc macros. * lasso/Makefile.am: add missing -f flag to rm, to unbreak make distcheck * docs/references/Makefile.am: fix problem between libtool and gtk-doc * autogen.sh: update to autogen.sh from gtk-doc, add support for automake-1.11
Diffstat (limited to 'm4/ac_prog_javadoc.m4')
-rw-r--r--m4/ac_prog_javadoc.m453
1 files changed, 53 insertions, 0 deletions
diff --git a/m4/ac_prog_javadoc.m4 b/m4/ac_prog_javadoc.m4
new file mode 100644
index 00000000..0920c559
--- /dev/null
+++ b/m4/ac_prog_javadoc.m4
@@ -0,0 +1,53 @@
+##### http://autoconf-archive.cryp.to/ac_prog_javadoc.html
+#
+# SYNOPSIS
+#
+# AC_PROG_JAVADOC
+#
+# DESCRIPTION
+#
+# AC_PROG_JAVADOC tests for an existing javadoc generator. It uses
+# the environment variable JAVADOC then tests in sequence various
+# common javadoc generator.
+#
+# If you want to force a specific compiler:
+#
+# - at the configure.in level, set JAVADOC=yourgenerator before
+# calling AC_PROG_JAVADOC
+#
+# - at the configure level, setenv JAVADOC
+#
+# You can use the JAVADOC variable in your Makefile.in, with
+# @JAVADOC@.
+#
+# Note: This macro depends on the autoconf M4 macros for Java
+# programs. It is VERY IMPORTANT that you download that whole set,
+# some macros depend on other. Unfortunately, the autoconf archive
+# does not support the concept of set of macros, so I had to break it
+# for submission.
+#
+# The general documentation of those macros, as well as the sample
+# configure.in, is included in the AC_PROG_JAVA macro.
+#
+# LAST MODIFICATION
+#
+# 2000-07-19
+#
+# COPYLEFT
+#
+# Copyright (c) 2000 Egon Willighagen <e.willighagen@science.ru.nl>
+#
+# Copying and distribution of this file, with or without
+# modification, are permitted in any medium without royalty provided
+# the copyright notice and this notice are preserved.
+
+AC_DEFUN([AC_PROG_JAVADOC],[
+AC_REQUIRE([AC_EXEEXT])dnl
+if test "x$JAVAPREFIX" = x; then
+ test "x$JAVADOC" = x && AC_CHECK_PROGS(JAVADOC, javadoc$EXEEXT)
+else
+ test "x$JAVADOC" = x && AC_CHECK_PROGS(JAVADOC, javadoc, $JAVAPREFIX)
+fi
+true
+AC_PROVIDE([$0])dnl
+])