File: am_path_docbook.m4

package info (click to toggle)
glib-java 0.4.2-10
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 2,048 kB
  • ctags: 703
  • sloc: sh: 8,728; ansic: 2,772; java: 1,265; makefile: 227
file content (17 lines) | stat: -rw-r--r-- 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

AC_DEFUN([AM_PATH_DOCBOOK],[
AC_REQUIRE([AC_EXEEXT])dnl
AC_PATH_PROG(DB1, db2html$EXEEXT, nocommand)
if test "$DB1" = nocommand; then
	AC_PATH_PROG(DB2, docbook2html$EXEEXT, nocommand)
  	if test "$DB2" = nocommand; then
   		AC_MSG_WARN([Some documentation will not be installed - docbook not found in $PATH])
	else
		DOCBOOK=$DB2
  	fi;
else
  DOCBOOK=$DB1
fi;
AC_SUBST(DOCBOOK)
AM_CONDITIONAL(HAVE_DOCBOOK, test "$DOCBOOK" != "")
])