Added check for declaration of strerror.
Raised version number to 0.3
Showing
1 changed file
with
8 additions
and
3 deletions
... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
17 | # Foundation, Inc. | 17 | # Foundation, Inc. |
18 | # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | 19 | ||
20 | AC_INIT([GNU Mailutils], [0.2.2], [bug-mailutils@gnu.org], [mailutils]) | 20 | AC_INIT([GNU Mailutils], [0.3], [bug-mailutils@gnu.org], [mailutils]) |
21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) | 21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) |
22 | AC_CONFIG_AUX_DIR([scripts]) | 22 | AC_CONFIG_AUX_DIR([scripts]) |
23 | AC_CANONICAL_TARGET([]) | 23 | AC_CANONICAL_TARGET([]) |
... | @@ -296,7 +296,8 @@ jm_INCLUDED_REGEX(lib/regex.c) | ... | @@ -296,7 +296,8 @@ jm_INCLUDED_REGEX(lib/regex.c) |
296 | AC_FUNC_MMAP | 296 | AC_FUNC_MMAP |
297 | AC_FUNC_FNMATCH | 297 | AC_FUNC_FNMATCH |
298 | 298 | ||
299 | AC_CHECK_DECLS([strtok_r, strchrnul, strndup, asprintf, vasprintf] , , , [ | 299 | AC_CHECK_DECLS([strtok_r, strchrnul, strndup, asprintf, vasprintf, strsignal], |
300 | , , [ | ||
300 | #include <stdio.h> | 301 | #include <stdio.h> |
301 | #include <string.h> | 302 | #include <string.h> |
302 | #ifdef HAVE_STRINGS_H | 303 | #ifdef HAVE_STRINGS_H |
... | @@ -310,7 +311,11 @@ AC_CHECK_DECLS(environ, , , | ... | @@ -310,7 +311,11 @@ AC_CHECK_DECLS(environ, , , |
310 | AH_BOTTOM([ | 311 | AH_BOTTOM([ |
311 | #if !HAVE_DECL_STRTOK_R | 312 | #if !HAVE_DECL_STRTOK_R |
312 | extern char *strtok_r (char *s, const char *delim, char **save_ptr); | 313 | extern char *strtok_r (char *s, const char *delim, char **save_ptr); |
313 | #endif]) | 314 | #endif |
315 | #if !HAVE_DECL_STRSIGNAL | ||
316 | extern char *strsignal (int); | ||
317 | #endif | ||
318 | ]) | ||
314 | 319 | ||
315 | AC_REPLACE_FUNCS(fgetpwent getpass setenv snprintf strncasecmp \ | 320 | AC_REPLACE_FUNCS(fgetpwent getpass setenv snprintf strncasecmp \ |
316 | strcasecmp strsignal vasprintf) | 321 | strcasecmp strsignal vasprintf) | ... | ... |
-
Please register or sign in to post a comment