summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <istruewing@chilla.local>2007-04-30 18:49:38 +0200
committerunknown <istruewing@chilla.local>2007-04-30 18:49:38 +0200
commit0f824dc212f9de5c8bc7590bb89b93d48955bc64 (patch)
tree7bf9e4313e01d0144b146d2529bbcd3ad6fc7607 /config
parent84c0830bef22b9626feab53897ea493f1cc36f92 (diff)
downloadmariadb-git-0f824dc212f9de5c8bc7590bb89b93d48955bc64.tar.gz
WL#2936 - Falcon & MySQL plugin interface: server variables
Avoid compiler warnings cmd-line-utils/readline/rltty.c: Avoid a compiler warning config/ac-macros/misc.m4: Avoid a compiler warning, which could abort ./configure if CFLAGS contain -Werror.
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/misc.m44
1 files changed, 2 insertions, 2 deletions
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