summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2021-03-23 19:28:28 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2021-03-23 19:46:00 +0000
commit71709af99a86c1709ef7309a7e8e7b99fff7ca65 (patch)
tree23d37f4c96920b626c7b64c32934d6b387cbf296
parent9df60351e45055ea882d837af0de28ae95a0ee3e (diff)
downloadswig-71709af99a86c1709ef7309a7e8e7b99fff7ca65.tar.gz
Show CFLAGS and CXXFLAGS for SWIG executable build
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 31f8c2cfa..e8cdfb043 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,11 @@ AM_PROG_CC_C_O # Needed for subdir-objects in AUTOMAKE_OPTIONS
AC_COMPILE_WARNINGS # Increase warning levels
+AC_MSG_CHECKING([CFLAGS to compile SWIG executable])
+AC_MSG_RESULT([$CFLAGS])
+AC_MSG_CHECKING([CXXFLAGS to compile SWIG executable])
+AC_MSG_RESULT([$CXXFLAGS])
+
AC_DEFINE_UNQUOTED(SWIG_CXX, ["$CXX"], [Compiler that built SWIG])
AC_DEFINE_UNQUOTED(SWIG_PLATFORM, ["$host"], [Platform that SWIG is built for])