diff options
author | monty@hundin.mysql.fi <> | 2001-09-21 16:36:23 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-09-21 16:36:23 +0300 |
commit | ed297508c4357cba42c465cb8d2e6b8260b7bb19 (patch) | |
tree | 08d42f4dfab1e2188ad35fbd09ffd078803b70ed /configure.in | |
parent | 52ad757818e65659d5237d9768c4aa5b9dce025d (diff) | |
download | mariadb-git-ed297508c4357cba42c465cb8d2e6b8260b7bb19.tar.gz |
Fixes for distributed build
Changed --do-pstack to --enable-pstack
Removed pstack from default build
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.in b/configure.in index b121d641fe4..14816515e97 100644 --- a/configure.in +++ b/configure.in @@ -699,9 +699,9 @@ int main() AC_MSG_RESULT($atom_ops) AC_ARG_WITH(pstack, - [ --without-pstack Do not use the pstack backtrace library], - [USE_PSTACK=$withval], - [USE_PSTACK=yes]) + [ --with-pstack Use the pstack backtrace library], + [ USE_PSTACK=$withval ], + [ USE_PSTACK=no ]) pstack_libs= pstack_dirs= if test "$USE_PSTACK" = yes -a "$IS_LINUX" = "true" -a "$BASE_MACHINE_TYPE" = "i386" -a "$with_mit_threads" = "no" @@ -717,7 +717,9 @@ dnl I have no idea if this is a good test - can not find docs for libiberty if test x"$have_libiberty" = xyes -a x"$have_libbfd" = xyes then pstack_dirs='$(top_srcdir)'/pstack - pstack_libs="$pstack_dirs/libpstack.a -lbfd -liberty" + pstack_libs="../pstack/libpstack.a -lbfd -liberty" + # We must link staticly when using pstack + with_mysqld_ldflags="-all-static" AC_SUBST([pstack_dirs]) AC_SUBST([pstack_libs]) AC_DEFINE([USE_PSTACK]) |