Commit 104fa518 authored by unknown's avatar unknown

acinclude.m4 undef inline during some C++ tests


acinclude.m4:
  undef inline during some C++ tests
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 645cfcb1
...@@ -3,3 +3,4 @@ monty@narttu.mysql.fi ...@@ -3,3 +3,4 @@ monty@narttu.mysql.fi
mwagner@work.mysql.com mwagner@work.mysql.com
sasha@mysql.sashanet.com sasha@mysql.sashanet.com
serg@serg.mysql.com serg@serg.mysql.com
tim@threads.polyesthetic.msg
...@@ -41,14 +41,20 @@ then ...@@ -41,14 +41,20 @@ then
CXXFLAGS="$CXXFLAGS -Werror" CXXFLAGS="$CXXFLAGS -Werror"
fi fi
mysql_cv_btype_last_arg_accept=none mysql_cv_btype_last_arg_accept=none
[AC_TRY_COMPILE([#include <stdlib.h> [AC_TRY_COMPILE([#if defined(inline)
#undef inline
#endif
#include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
], ],
[int a = accept(1, (struct sockaddr *) 0, (socklen_t *) 0); return (a != 0);], [int a = accept(1, (struct sockaddr *) 0, (socklen_t *) 0); return (a != 0);],
mysql_cv_btype_last_arg_accept=socklen_t)] mysql_cv_btype_last_arg_accept=socklen_t)]
if test $mysql_cv_btype_last_arg_accept = none; then if test $mysql_cv_btype_last_arg_accept = none; then
[AC_TRY_COMPILE([#include <stdlib.h> [AC_TRY_COMPILE([#if defined(inline)
#undef inline
#endif
#include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
], ],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment