summaryrefslogtreecommitdiff
path: root/configure.in
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 /configure.in
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 'configure.in')
-rw-r--r--configure.in26
1 files changed, 22 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index ab2cc87d46f..92ff73a7ed4 100644
--- a/configure.in
+++ b/configure.in
@@ -2075,6 +2075,7 @@ EOF
AC_MSG_RESULT([default: $default_charset; compiled in: $CHARSETS])
+MYSQL_CHECK_ISAM
MYSQL_CHECK_BDB
MYSQL_CHECK_INNODB
MYSQL_CHECK_GEMINI
@@ -2107,12 +2108,23 @@ then
AC_SUBST(THREAD_LPROGRAMS)
THREAD_LOBJECTS="thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my_pthread.o my_thr_init.o"
AC_SUBST(THREAD_LOBJECTS)
- sql_server_dirs="strings dbug mysys extra regex isam merge myisam myisammrg heap vio sql"
server_scripts="mysqld_safe mysql_install_db"
+ sql_server_dirs="strings dbug mysys extra regex"
+
+
+ #
+ # Configuration for optional table handlers
+ #
+
+ if test X"$have_isam" != Xno
+ then
+ sql_server_dirs="$sql_server_dirs isam merge"
+ fi
+
if test X"$have_berkeley_db" != Xno; then
if test X"$have_berkeley_db" != Xyes; then
# we must build berkeley db from source
- sql_server_dirs="$have_berkeley_db $sql_server_dirs"
+ sql_server_dirs="$sql_server_dirs $have_berkeley_db"
echo "CONFIGURING FOR BERKELEY DB"
bdb_conf_flags=
@@ -2179,7 +2191,7 @@ EOF
if test X"$have_innodb" = Xyes
then
- sql_server_dirs="innobase $sql_server_dirs"
+ sql_server_dirs="$sql_server_dirs innobase"
echo "CONFIGURING FOR INNODB"
if test ! -d "innobase"; then
# This should only happen when doing a VPATH build
@@ -2198,7 +2210,7 @@ EOF
fi
if test "X$have_gemini_db" = "Xyes"; then
- sql_server_dirs="gemini $sql_server_dirs"
+ sql_server_dirs="$sql_server_dirs gemini"
echo "CONFIGURING FOR GEMINI DB"
(cd gemini && sh ./configure) \
|| AC_MSG_ERROR([could not configure Gemini DB])
@@ -2208,6 +2220,12 @@ EOF
AC_DEFINE(HAVE_GEMINI_DB)
fi
+ #
+ # END of configuration for optional table handlers
+ #
+
+ sql_server_dirs="$sql_server_dirs myisam myisammrg heap vio sql"
+
if test "$with_posix_threads" = "no" -o "$with_mit_threads" = "yes"
then
# MIT user level threads