summaryrefslogtreecommitdiffstats
path: root/c++/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'c++/configure.in')
-rw-r--r--c++/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/c++/configure.in b/c++/configure.in
index 9770738..62aa13d 100644
--- a/c++/configure.in
+++ b/c++/configure.in
@@ -289,6 +289,16 @@ echo yes
CXXFLAGS="${CXXFLAGS} -DOLD_HEADER_FILENAME"
])
+AC_MSG_CHECKING(if $CXX supports bool types)
+AC_TRY_RUN([
+int main(void) { bool flag; return 0; }
+], [
+echo yes
+], [
+echo no
+CXXFLAGS="${CXXFLAGS} -DBOOL_NOTDEFINED"
+])
+
dnl ----------------------------------------------------------------------
dnl Checks for header files.
dnl