mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
configure.ac: check for boost/spirit.hpp
This commit is contained in:
parent
028e44f6c3
commit
ace25a776f
@ -88,6 +88,15 @@ AM_CONDITIONAL(WITH_CCGNU, test "WITH_CCGNU" = "1")
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_SYS_WAIT
|
||||
|
||||
# spirit?
|
||||
AC_LANG([C++])
|
||||
AC_DEFINE([HAVE_BOOST_SPIRIT_CORE_HPP], [], [Description])
|
||||
AC_CHECK_HEADER([boost/spirit.hpp],
|
||||
[AC_DEFINE([HAVE_BOOST_SPIRIT_CORE_HPP])],
|
||||
[AC_MSG_ERROR([Sorry, you need to install the Boost spirit parser library (libboost-dev on debian)])])
|
||||
|
||||
AC_LANG([C])
|
||||
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/file.h sys/ioctl.h sys/mount.h sys/param.h sys/socket.h sys/statvfs.h sys/time.h sys/vfs.h syslog.h unistd.h utime.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
|
Loading…
Reference in New Issue
Block a user