summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/cvc4.m416
-rw-r--r--config/doxygen.cfg2
2 files changed, 17 insertions, 1 deletions
diff --git a/config/cvc4.m4 b/config/cvc4.m4
index 0eca68c13..e75476e8e 100644
--- a/config/cvc4.m4
+++ b/config/cvc4.m4
@@ -102,3 +102,19 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main() { return 0; }])],
AC_LANG_POP([C++])
CXXFLAGS="$cvc4_save_CXXFLAGS"
])# CVC4_CXX_OPTION
+
+# CVC4_C_OPTION(OPTION, VAR)
+# --------------------------
+# Run $(CC) $(CPPFLAGS) $(CFLAGS) OPTION and see if the compiler
+# likes it. If so, add OPTION to shellvar VAR.
+AC_DEFUN([CVC4_C_OPTION], [
+AC_MSG_CHECKING([whether $CC supports $1])
+cvc4_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $C_WERROR $1"
+AC_LANG_PUSH([C])
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([int main() { return 0; }])],
+ [AC_MSG_RESULT([yes]); $2='$1'],
+ [AC_MSG_RESULT([no])])
+AC_LANG_POP([C])
+CFLAGS="$cvc4_save_CFLAGS"
+])# CVC4_C_OPTION
diff --git a/config/doxygen.cfg b/config/doxygen.cfg
index f4713b616..f385fb94a 100644
--- a/config/doxygen.cfg
+++ b/config/doxygen.cfg
@@ -1247,7 +1247,7 @@ SEARCH_INCLUDES = YES
# contain include files that are not input files but should be processed by
# the preprocessor.
-INCLUDE_PATH = . include $(SRCDIR)/src $(SRCDIR)/src/include
+INCLUDE_PATH = . $(SRCDIR)/src $(SRCDIR)/src/include
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback