summaryrefslogtreecommitdiff
path: root/m4/db2.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/db2.m4')
-rw-r--r--m4/db2.m442
1 files changed, 0 insertions, 42 deletions
diff --git a/m4/db2.m4 b/m4/db2.m4
deleted file mode 100644
index 64a8ba05c..000000000
--- a/m4/db2.m4
+++ /dev/null
@@ -1,42 +0,0 @@
-dnl This file is part of GNU mailutils.
-dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
-dnl
-dnl GNU Mailutils is free software; you can redistribute it and/or modify
-dnl it under the terms of the GNU General Public License as published by
-dnl the Free Software Foundation; either version 3, or (at your option)
-dnl any later version.
-dnl
-dnl GNU Mailutils is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-dnl GNU General Public License for more details.
-dnl
-dnl You should have received a copy of the GNU General Public License along
-dnl with GNU Mailutils; if not, write to the Free Software Foundation,
-dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-dnl
-
-AH_TEMPLATE(BDB2_CURSOR_LASTARG,
- [Last argument to the cursor member of Berkeley 2 DB structure])
-
-dnl The cursor member of DB structure used to take three arguments in older
-dnl implementations of Berkeley DB. Newer versions (>= 4.0) declare
-dnl it as taking four arguments.
-dnl This macro checks which of the variants we have.
-AC_DEFUN([MU_DB2_CURSOR],
- [AC_CACHE_CHECK([whether db->cursor takes 4 arguments],
- [mu_cv_bdb2_cursor_four_args],
- [AC_TRY_COMPILE([#include <db.h>],
- [
-DB *db;
-db->cursor(NULL, NULL, NULL, 0)
- ],
- [mu_cv_bdb2_cursor_four_args=yes],
- [mu_cv_bdb2_cursor_four_args=no])])
- if test $mu_cv_bdb2_cursor_four_args = yes; then
- AC_DEFINE(BDB2_CURSOR_LASTARG,[,0])
- else
- AC_DEFINE(BDB2_CURSOR_LASTARG,[])
- fi])
-
-

Return to:

Send suggestions and report system problems to the System administrator.