mirror of
https://github.com/bspeice/libcvautomation
synced 2025-04-21 00:41:29 -04:00
Make building without documentation the default
This commit is contained in:
parent
460bbc322c
commit
97c1ea12b5
16
configure.ac
16
configure.ac
@ -52,24 +52,24 @@ if test "$with_examples" != "no"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for doxygen
|
# Check for doxygen
|
||||||
AC_ARG_WITH(docs, [ --with-docs build documentation for libcvautomation @<:@default=yes@:>@])
|
AC_ARG_WITH(docs, [ --with-docs build documentation for libcvautomation @<:@default=no@:>@])
|
||||||
AC_ARG_ENABLE(man, [ --enable-man enable building the 'man' pages for libcvautomation @<:@default=enable@:>@])
|
AC_ARG_ENABLE(man, [ --enable-man enable building the 'man' pages for libcvautomation - only works if --with-docs is enabled @<:@default=enable@:>@])
|
||||||
AC_ARG_ENABLE(tex, [ --enable-tex enable building the 'latex' pages for libcvautomation @<:@default=enable@:>@])
|
AC_ARG_ENABLE(tex, [ --enable-tex enable building the 'latex' pages for libcvautomation - only works if --with-docs is enabled @<:@default=enable@:>@])
|
||||||
|
|
||||||
if test "$with_docs" != "no"; then
|
if test "$with_docs" == "yes"; then
|
||||||
AC_CHECK_PROGS([Doxygen], [doxygen], [missing], [found])
|
AC_CHECK_PROGS([Doxygen], [doxygen], [missing])
|
||||||
|
|
||||||
if test "$Doxygen" == "missing"; then
|
if test "$Doxygen" == "missing"; then
|
||||||
AC_MSG_WARN([Doxygen not found - continuing without building documentation.])
|
AC_MSG_WARN([Doxygen not found - continuing without building documentation.])
|
||||||
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$Doxygen" != "missing"])
|
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$Doxygen" != "missing"]) #false
|
||||||
enable_man="no"
|
enable_man="no"
|
||||||
enable_tex="no"
|
enable_tex="no"
|
||||||
else
|
else
|
||||||
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$with_docs" != "no"])
|
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$with_docs" == "yes"])
|
||||||
AC_CONFIG_FILES([docs/Doxyfile])
|
AC_CONFIG_FILES([docs/Doxyfile])
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$with_docs" != "no"])
|
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$with_docs" == "yes"])
|
||||||
enable_man="no"
|
enable_man="no"
|
||||||
enable_tex="no"
|
enable_tex="no"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user