faubackup2 configure.ac,1.6,1.7
Martin Waitz <[email protected]> Fri, 03 Jun 2005 09:50:32 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25620 Modified Files: configure.ac Log Message: allow to disable xmlto/doxygen Index: configure.ac =================================================================== RCS file: /cvsroot/faubackup/faubackup2/configure.ac,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** configure.ac 3 Jun 2005 09:13:18 -0000 1.6 --- configure.ac 3 Jun 2005 09:50:30 -0000 1.7 *************** *** 9,13 **** --- 9,24 ---- AM_CONFIG_HEADER(config.h) + # commandline configuration + AC_ARG_WITH(xmlto, + AC_HELP_STRING([--without-xmlto], [disable manual generation]), + [XMLTO=$withval], [XMLTO=auto] + ) + AC_ARG_WITH(doxygen, + AC_HELP_STRING([--without-doxygen], [disable doxygen generation]), + [DOXYGEN=$withval], [DOXYGEN=auto] + ) + + # check for compilers AC_PROG_CC AC_PROG_RANLIB *************** *** 17,26 **** AC_PROG_CXX AC_PROG_RANLIB AC_CHECK_PROGS(XMLTO, xmlto) AC_CHECK_PROGS(DOXYGEN, doxygen) ! AC_CHECK_PROG(HAVE_DOT, dot, YES, NO) AM_CONDITIONAL(HAVE_XMLTO, [test -n "$XMLTO" ]) AM_CONDITIONAL(HAVE_DOXYGEN, [test -n "$DOXYGEN" ]) #GCC Settings --- 28,51 ---- AC_PROG_CXX AC_PROG_RANLIB + + + # check for documentation generation programs + if test "$XMLTO" = auto; then + XMLTO= AC_CHECK_PROGS(XMLTO, xmlto) + fi + if test "$DOXYGEN" = auto; then + DOXYGEN= AC_CHECK_PROGS(DOXYGEN, doxygen) ! fi ! ! if test "$XMLTO" = no; then XMLTO=; fi ! if test "$DOXYGEN" = no; then DOXYGEN=; fi ! AM_CONDITIONAL(HAVE_XMLTO, [test -n "$XMLTO" ]) AM_CONDITIONAL(HAVE_DOXYGEN, [test -n "$DOXYGEN" ]) + AC_CHECK_PROG(HAVE_DOT, dot, YES, NO) + #GCC Settings ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005