mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Add --enable-docs. Patch by NAKAMURA Takumi.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -493,6 +493,18 @@ else
|
||||
esac
|
||||
fi
|
||||
|
||||
dnl Allow enablement of building and installing docs
|
||||
AC_ARG_ENABLE(docs,
|
||||
AS_HELP_STRING([--enable-docs],
|
||||
[Build documents (default is YES)]),,
|
||||
enableval=default)
|
||||
case "$enableval" in
|
||||
yes) AC_SUBST(ENABLE_DOCS,[1]) ;;
|
||||
no) AC_SUBST(ENABLE_DOCS,[0]) ;;
|
||||
default) AC_SUBST(ENABLE_DOCS,[1]) ;;
|
||||
*) AC_MSG_ERROR([Invalid setting for --enable-docs. Use "yes" or "no"]) ;;
|
||||
esac
|
||||
|
||||
dnl Allow enablement of doxygen generated documentation
|
||||
AC_ARG_ENABLE(doxygen,
|
||||
AS_HELP_STRING([--enable-doxygen],
|
||||
|
Reference in New Issue
Block a user