File: am_path_docbook.m4

package info (click to toggle)
glib-java 0.2.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,564 kB
  • ctags: 113
  • sloc: sh: 8,444; ansic: 455; makefile: 161; java: 119
file content (17 lines) | stat: -rw-r--r-- 442 bytes parent folder | download | duplicates (2)
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 != nocommand)
])