summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-12-13 11:07:55 +0100
committerSergei Golubchik <sergii@pisem.net>2011-12-13 11:07:55 +0100
commit44d335b828440603353d8f1f4dfc6db2cf72ca8c (patch)
tree9406dc22c05a6ec454a9eb6a94b8b687366b7807
parent2ccf247e939b39d1f84908a56b8717150e5fd1b4 (diff)
downloadmariadb-git-44d335b828440603353d8f1f4dfc6db2cf72ca8c.tar.gz
bugfix: cxxabi.h was not found
-rw-r--r--configure.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index fd4e22de447..2356d64336b 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -178,6 +178,7 @@ ENDIF()
# Tests for header files
#
INCLUDE (CheckIncludeFiles)
+INCLUDE (CheckIncludeFileCXX)
CHECK_INCLUDE_FILES ("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
CHECK_INCLUDE_FILES (sys/types.h HAVE_SYS_TYPES_H)
@@ -185,7 +186,7 @@ CHECK_INCLUDE_FILES (alloca.h HAVE_ALLOCA_H)
CHECK_INCLUDE_FILES (aio.h HAVE_AIO_H)
CHECK_INCLUDE_FILES (arpa/inet.h HAVE_ARPA_INET_H)
CHECK_INCLUDE_FILES (crypt.h HAVE_CRYPT_H)
-CHECK_INCLUDE_FILES (cxxabi.h HAVE_CXXABI_H)
+CHECK_INCLUDE_FILE_CXX (cxxabi.h HAVE_CXXABI_H)
CHECK_INCLUDE_FILES (bfd.h HAVE_BFD_H)
CHECK_INCLUDE_FILES (dirent.h HAVE_DIRENT_H)
CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)