summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-02-16 11:28:28 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-02-16 11:28:28 +0000
commit62c3b010baf59b4f6e7186846dab771e8d73454b (patch)
tree9373cb40a7263e3767c826bc83a7b33eb13b2765
parenta72c780e290acfd9acffed038907c8c03de33b29 (diff)
downloadmailutils-62c3b010baf59b4f6e7186846dab771e8d73454b.tar.gz
mailutils-62c3b010baf59b4f6e7186846dab771e8d73454b.tar.bz2
Added check for declaration of strerror.
Raised version number to 0.3
-rw-r--r--configure.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index d19e62c55..0efa0a117 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@
# Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-AC_INIT([GNU Mailutils], [0.2.2], [bug-mailutils@gnu.org], [mailutils])
+AC_INIT([GNU Mailutils], [0.3], [bug-mailutils@gnu.org], [mailutils])
AC_CONFIG_SRCDIR([mailbox/mailbox.c])
AC_CONFIG_AUX_DIR([scripts])
AC_CANONICAL_TARGET([])
@@ -296,7 +296,8 @@ jm_INCLUDED_REGEX(lib/regex.c)
AC_FUNC_MMAP
AC_FUNC_FNMATCH
-AC_CHECK_DECLS([strtok_r, strchrnul, strndup, asprintf, vasprintf] , , , [
+AC_CHECK_DECLS([strtok_r, strchrnul, strndup, asprintf, vasprintf, strsignal],
+ , , [
#include <stdio.h>
#include <string.h>
#ifdef HAVE_STRINGS_H
@@ -310,7 +311,11 @@ AC_CHECK_DECLS(environ, , ,
AH_BOTTOM([
#if !HAVE_DECL_STRTOK_R
extern char *strtok_r (char *s, const char *delim, char **save_ptr);
-#endif])
+#endif
+#if !HAVE_DECL_STRSIGNAL
+extern char *strsignal (int);
+#endif
+])
AC_REPLACE_FUNCS(fgetpwent getpass setenv snprintf strncasecmp \
strcasecmp strsignal vasprintf)

Return to:

Send suggestions and report system problems to the System administrator.