summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authortsmith@siva.hindu.god <>2007-05-17 14:21:35 -0600
committertsmith@siva.hindu.god <>2007-05-17 14:21:35 -0600
commit4a4590cd49e5af2fc54da05937323a8a6558d47a (patch)
tree10ace6766fed5baa02e072f80988abb4c8aca792 /config
parent8406164e7e78e23ca354bf5fd6342e83227fb73d (diff)
parent37843864da1a67c737c3a0f1fd8219c5b52b851f (diff)
downloadmariadb-git-4a4590cd49e5af2fc54da05937323a8a6558d47a.tar.gz
Merge siva.hindu.god:/home/tsmith/m/bk/51
into siva.hindu.god:/home/tsmith/m/bk/maint/51
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/ha_ndbcluster.m41
-rw-r--r--config/ac-macros/misc.m44
2 files changed, 2 insertions, 3 deletions
diff --git a/config/ac-macros/ha_ndbcluster.m4 b/config/ac-macros/ha_ndbcluster.m4
index 2a54638b3ae..04244b9ec13 100644
--- a/config/ac-macros/ha_ndbcluster.m4
+++ b/config/ac-macros/ha_ndbcluster.m4
@@ -197,7 +197,6 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [
MAKE_BINARY_DISTRIBUTION_OPTIONS="$MAKE_BINARY_DISTRIBUTION_OPTIONS --with-ndbcluster"
- CXXFLAGS="$CXXFLAGS \$(NDB_CXXFLAGS)"
if test "$have_ndb_debug" = "default"
then
have_ndb_debug=$with_debug
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4
index 6e9dfe8231c..a20db96a950 100644
--- a/config/ac-macros/misc.m4
+++ b/config/ac-macros/misc.m4
@@ -479,7 +479,7 @@ AC_MSG_CHECKING(if conversion of longlong to float works)
AC_CACHE_VAL(ac_cv_conv_longlong_to_float,
[AC_TRY_RUN([#include <stdio.h>
typedef long long longlong;
-main()
+int main()
{
longlong ll=1;
float f;
@@ -487,7 +487,7 @@ main()
f = (float) ll;
fprintf(file,"%g\n",f);
fclose(file);
- exit (0);
+ return (0);
}], ac_cv_conv_longlong_to_float=`cat conftestval`, ac_cv_conv_longlong_to_float=0, ifelse([$2], , , ac_cv_conv_longlong_to_float=$2))])dnl
if test "$ac_cv_conv_longlong_to_float" = "1" -o "$ac_cv_conv_longlong_to_float" = "yes"
then