mirror of
https://github.com/bspeice/libcvautomation
synced 2025-04-21 00:41:29 -04:00
Disable building latex documents by default
This commit is contained in:
parent
97c1ea12b5
commit
4043c9cbad
12
configure.ac
12
configure.ac
@ -54,7 +54,7 @@ fi
|
|||||||
# Check for doxygen
|
# Check for doxygen
|
||||||
AC_ARG_WITH(docs, [ --with-docs build documentation for libcvautomation @<:@default=no@:>@])
|
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 - only works if --with-docs is enabled @<:@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 - only works if --with-docs is enabled @<:@default=enable@:>@])
|
AC_ARG_ENABLE(tex, [ --enable-tex enable building the 'latex' pages for libcvautomation - only works if --with-docs is enabled @<:@default=disable@:>@])
|
||||||
|
|
||||||
if test "$with_docs" == "yes"; then
|
if test "$with_docs" == "yes"; then
|
||||||
AC_CHECK_PROGS([Doxygen], [doxygen], [missing])
|
AC_CHECK_PROGS([Doxygen], [doxygen], [missing])
|
||||||
@ -69,7 +69,7 @@ if test "$with_docs" == "yes"; then
|
|||||||
AC_CONFIG_FILES([docs/Doxyfile])
|
AC_CONFIG_FILES([docs/Doxyfile])
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$with_docs" == "yes"])
|
AM_CONDITIONAL(BUILD_DOXYGEN, [test "$with_docs" == "yes"]) #false
|
||||||
enable_man="no"
|
enable_man="no"
|
||||||
enable_tex="no"
|
enable_tex="no"
|
||||||
fi
|
fi
|
||||||
@ -80,16 +80,16 @@ if test "$enable_man" != "no"; then
|
|||||||
AM_CONDITIONAL(BUILD_MAN, [test "$enable_man" != "no"])
|
AM_CONDITIONAL(BUILD_MAN, [test "$enable_man" != "no"])
|
||||||
else
|
else
|
||||||
AC_SUBST(ENABLE_MAN, NO)
|
AC_SUBST(ENABLE_MAN, NO)
|
||||||
AM_CONDITIONAL(BUILD_MAN, [test "$enable_man" != "no"])
|
AM_CONDITIONAL(BUILD_MAN, [test "$enable_man" != "no"]) #false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Check if we should build Tex pages
|
#Check if we should build Tex pages
|
||||||
if test "$enable_tex" != "no"; then
|
if test "$enable_tex" == "yes"; then
|
||||||
AC_SUBST(ENABLE_TEX, YES)
|
AC_SUBST(ENABLE_TEX, YES)
|
||||||
AM_CONDITIONAL(BUILD_TEX, [test "$enable_tex" != "no"])
|
AM_CONDITIONAL(BUILD_TEX, [test "$enable_tex" == "yes"])
|
||||||
else
|
else
|
||||||
AC_SUBST(ENABLE_TEX, NO)
|
AC_SUBST(ENABLE_TEX, NO)
|
||||||
AM_CONDITIONAL(BUILD_TEX, [test "$enable_tex" != "no"])
|
AM_CONDITIONAL(BUILD_TEX, [test "$enable_tex" == "yes"]) #false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
|
Loading…
Reference in New Issue
Block a user