summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <tim@black.box>2001-10-09 18:11:44 -0400
committerunknown <tim@black.box>2001-10-09 18:11:44 -0400
commit0cbaff7b752c186de851bc5f512a43ac8b4dd19d (patch)
tree305dc7d1714dcdcdf3f64ca1e68570c5d11ee6b8 /acinclude.m4
parent7291568c0f6f79cd2cee369314fca0024af5dafd (diff)
downloadmariadb-git-0cbaff7b752c186de851bc5f512a43ac8b4dd19d.tar.gz
Add --without-isam configure switch.
Portability fix for mysqlmanager. acconfig.h: Add HAVE_ISAM acinclude.m4: Add --without-isam configure switch. configure.in: Add --without-isam configure switch. include/my_global.h: remove #define HAVE_ISAM libmysqld/examples/test-run: pass --language option to embedded server sql/Makefile.am: use @isam_libs@ instead of hard-coded values tools/mysqlmanager.c: #include <signal.h> for portability
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 79caa4338ac..2b429010692 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -814,6 +814,23 @@ AC_SUBST(orbit_libs)
AC_SUBST(orbit_idl)
])
+AC_DEFUN([MYSQL_CHECK_ISAM], [
+ AC_ARG_WITH([isam], [\
+ --without-isam Disable the ISAM table type],
+ [with_isam="$withval"],
+ [with_isam=yes])
+
+ isam_libs=
+ if test X"$with_isam" = X"yes"
+ then
+ AC_DEFINE(HAVE_ISAM)
+ isam_libs="\$(top_builddir)/isam/libnisam.a\
+ \$(top_builddir)/merge/libmerge.a"
+ fi
+ AC_SUBST(isam_libs)
+])
+
+
dnl ---------------------------------------------------------------------------
dnl Macro: MYSQL_CHECK_BDB
dnl Sets HAVE_BERKELEY_DB if inst library is found