mirror of
https://github.com/vgough/encfs.git
synced 2025-01-30 09:38:35 +01:00
add check for std::shared_ptr
git-svn-id: http://encfs.googlecode.com/svn/branches/1.x@131 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
parent
b5352f2381
commit
218124c359
14
configure.ac
14
configure.ac
@ -50,6 +50,20 @@ AX_BOOST_SYSTEM
|
||||
AX_BOOST_SERIALIZATION
|
||||
AX_BOOST_FILESYSTEM
|
||||
|
||||
AC_MSG_CHECKING([for std::shared_ptr])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||
[[#include <memory>]]
|
||||
[[std::shared_ptr<int> have_shared_ptr;]])
|
||||
], [
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE_UNQUOTED([HAVE_STD_SHARED_PTR], 1,
|
||||
[Define to 1 if you have the 'std::shared_ptr' class.])
|
||||
], [
|
||||
AC_MSG_RESULT([no])
|
||||
AC_DEFINE_UNQUOTED([HAVE_STD_SHARED_PTR], 0,
|
||||
[Define to 1 if you have the 'std::shared_ptr' class.])
|
||||
])
|
||||
|
||||
dnl Need to include any user specified flags in the tests below, as they might
|
||||
dnl specify required include directories..
|
||||
FUSE_FLAGS="-D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26"
|
||||
|
Loading…
Reference in New Issue
Block a user