aboutsummaryrefslogtreecommitdiff
path: root/m4/tr1-memory.m4
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-13 21:57:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-23 21:20:44 +0300
commitfc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (patch)
tree6c8c1bfb5fe89f7378b92ac066b4ca8ecfd25228 /m4/tr1-memory.m4
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
Diffstat (limited to 'm4/tr1-memory.m4')
-rw-r--r--m4/tr1-memory.m438
1 files changed, 0 insertions, 38 deletions
diff --git a/m4/tr1-memory.m4 b/m4/tr1-memory.m4
deleted file mode 100644
index a70f397..0000000
--- a/m4/tr1-memory.m4
+++ /dev/null
@@ -1,38 +0,0 @@
-dnl file : m4/tr1-memory.m4
-dnl license : GNU GPL v2; see accompanying LICENSE file
-dnl
-dnl TR1_MEMORY
-dnl
-dnl Check for TR1 <memory> availability. If successful, define HAVE_TR1_MEMORY
-dnl as both a macro and conditional as well as set the tr1_memory variable
-dnl to 'yes'.
-dnl
-AC_DEFUN([TR1_MEMORY],
-[
-tr1_memory=no
-
-AC_MSG_CHECKING([for TR1 <memory>])
-
-CXX_LIBTOOL_LINK_IFELSE([
-AC_LANG_SOURCE([
-#include <odb/tr1/memory.hxx>
-
-int
-main ()
-{
- std::tr1::shared_ptr<int> p (new int (10));
- *p = 11;
-}
-])],
-[tr1_memory=yes])
-
-if test x"$tr1_memory" = xyes; then
- AC_MSG_RESULT([yes])
- AC_DEFINE([HAVE_TR1_MEMORY], [1], [Have TR1 <memory>.])
-else
- AC_MSG_RESULT([no])
-fi
-
-AM_CONDITIONAL([HAVE_TR1_MEMORY], [test x$tr1_memory = xyes])
-
-])dnl