--enable-expensive-checks
Compile with expensive debug checks enabled (default
is NO)
+ --enable-abi-breaking-checks
+ Compile with abi-breaking asserts support (default
+ is with-asserts)
--enable-debug-runtime Build runtime libs with debug symbols (default is
NO)
--enable-debug-symbols Build compiler with debug symbols (default is NO if
if test ${enableval} = "yes" ; then
DISABLE_ASSERTIONS=
+ assertions_enabled="yes"
else
DISABLE_ASSERTIONS=DISABLE_ASSERTIONS=1
+ assertions_enabled="no"
fi
# Check whether --enable-werror was given.
fi
+# Check whether --enable-abi-breaking-checks was given.
+if test "${enable_abi_breaking_checks+set}" = set; then
+ enableval=$enable_abi_breaking_checks;
+else
+ enableval="with-asserts"
+fi
+
+case "$enableval" in
+ with-asserts) if test ${assertions_enabled} = "yes" ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1
+_ACEOF
+
+ fi ;;
+ yes)
+cat >>confdefs.h <<\_ACEOF
+#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1
+_ACEOF
+ ;;
+ no) ;;
+ *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-abi-breaking-checks. Use \"with-asserts\", \"yes\" or \"no\"" >&5
+echo "$as_me: error: Invalid setting for --enable-abi-breaking-checks. Use \"with-asserts\", \"yes\" or \"no\"" >&2;}
+ { (exit 1); exit 1; }; }
+esac
+
# Check whether --enable-debug-runtime was given.
if test "${enable_debug_runtime+set}" = set; then
enableval=$enable_debug_runtime;
enable_server_based_search=YES
- searchengine_url=$WITH_DOXYGEN_SEARCH_ENGINE_URL
+ searchengine_url="$WITH_DOXYGEN_SEARCH_ENGINE_URL"
- extra_search_mappings=$WITH_DOXYGEN_SEARCH_MAPPINGS
+ extra_search_mappings="$WITH_DOXYGEN_SEARCH_MAPPINGS"
;;
llvm_doxygen_qhp_namespace=org.llvm
- llvm_doxygen_qhelpgenerator_path=$QHELPGENERATOR
+ llvm_doxygen_qhelpgenerator_path="$QHELPGENERATOR"
- llvm_doxygen_qhp_cust_filter_name=$PACKAGE_STRING
+ llvm_doxygen_qhp_cust_filter_name="$PACKAGE_STRING"
- llvm_doxygen_qhp_cust_filter_attrs=$PACKAGE_NAME,$PACKAGE_VERSION
+ llvm_doxygen_qhp_cust_filter_attrs="$PACKAGE_NAME,$PACKAGE_VERSION"
clang_doxygen_generate_qhp=YES
clang_doxygen_qhp_namespace=org.llvm.clang
- clang_doxygen_qhelpgenerator_path=$QHELPGENERATOR
+ clang_doxygen_qhelpgenerator_path="$QHELPGENERATOR"
- clang_doxygen_qhp_cust_filter_name=Clang $PACKAGE_VERSION
+ clang_doxygen_qhp_cust_filter_name="Clang $PACKAGE_VERSION"
- clang_doxygen_qhp_cust_filter_attrs=Clang,$PACKAGE_VERSION
+ clang_doxygen_qhp_cust_filter_attrs="Clang,$PACKAGE_VERSION"
;;
- clang_doxygen_qhp_cust_filter_name=Clang $PACKAGE_VERSION
+ clang_doxygen_qhp_cust_filter_name="Clang $PACKAGE_VERSION"
- clang_doxygen_qhp_cust_filter_attrs=Clang,$PACKAGE_VERSION
+ clang_doxygen_qhp_cust_filter_attrs="Clang,$PACKAGE_VERSION"
;;