diff options
| author | unknown <jimw@mysql.com> | 2005-04-27 10:01:41 -0700 |
|---|---|---|
| committer | unknown <jimw@mysql.com> | 2005-04-27 10:01:41 -0700 |
| commit | a9a6adec9b355694f1b91126905e8cf701c769f6 (patch) | |
| tree | f1fb5e28cc9711d545fa7ccc3e512d5ab85b455d | |
| parent | 8d1bb62224244a4ab116bbd3d6e38ce43d4faed5 (diff) | |
| download | mariadb-git-a9a6adec9b355694f1b91126905e8cf701c769f6.tar.gz | |
Carry over change to fix build on ICC that was lost in merge from 4.1.mysql-5.0.5
config/ac-macros/misc.m4:
Try exit-related declarations before including stdlib.h, as
this is how the actual code is structured.
| -rw-r--r-- | config/ac-macros/misc.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4 index 201702e5379..d75dedafa2a 100644 --- a/config/ac-macros/misc.m4 +++ b/config/ac-macros/misc.m4 @@ -646,8 +646,8 @@ m4_define([_AC_PROG_CXX_EXIT_DECLARATION], 'void exit (int);' \ '#include <stdlib.h>' do - _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h> -$ac_declaration], + _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration +@%:@include <stdlib.h>], [exit (42);])], [], [continue]) |
