-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

strchr() should be fine -- I haven't seen a system that didn't support it,
either.   Regarding autoheader et al -- I have no idea why it wants to get
rid of HAVE_LIBSSL, but iirc autoscan is destructive, and only suitable as
a "first try" which you're supposed to spend some time hand-editing
afterwards, so I wouldn't say the removal of that holds too much water.

- --j.

Malte S. Stretz writes:
> Moin,
> 
> I just remembered that I used strchr(3) in my last commit to spamc and 
> according to the man page is that one part of C99, so might be missing on 
> some system (?).
> 
> I wondered what autofoo might say about it and got this:
> 
> [EMAIL PROTECTED] ~/projects/current/spamassassin/3.1.clean/spamc $ autoscan
> configure.in: warning: missing AC_CHECK_FUNCS([alarm]) wanted by: utils.c:79
> configure.in: warning: missing AC_CHECK_FUNCS([dup2]) wanted by: spamc.c:513
> configure.in: warning: missing AC_CHECK_FUNCS([gethostbyname]) wanted by: 
> libspamc.c:1493
> configure.in: warning: missing AC_CHECK_FUNCS([inet_ntoa]) wanted by: 
> libspamc.c:360
> configure.in: warning: missing AC_CHECK_FUNCS([memset]) wanted by: 
> libspamc.c:303
> configure.in: warning: missing AC_CHECK_FUNCS([strcasecmp]) wanted by: 
> libspamc.c:805
> configure.in: warning: missing AC_CHECK_FUNCS([strchr]) wanted by: 
> libspamc.c:1488
> configure.in: warning: missing AC_CHECK_FUNCS([strerror]) wanted by: 
> libspamc.c:211
> configure.in: warning: missing AC_CHECK_FUNCS([strstr]) wanted by: 
> libspamc.c:828
> configure.in: warning: missing AC_CHECK_HEADERS([arpa/inet.h]) wanted by: 
> libspamc.c:40
> configure.in: warning: missing AC_CHECK_HEADERS([fcntl.h]) wanted by: 
> spamc.c:30
> configure.in: warning: missing AC_FUNC_FORK wanted by: qmail-spamc.c:87
> configure.in: warning: missing AC_FUNC_MALLOC wanted by: libspamc.c:465
> configure.in: warning: missing AC_TYPE_SIGNAL wanted by: spamc.c:625
> [EMAIL PROTECTED] ~/projects/current/spamassassin/3.1.clean/spamc $ autoheader
> autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', 
> `config.h.bot'
> autoheader-2.59: WARNING: and `config.h.top', to define templates for 
> `config.h.in'
> autoheader-2.59: WARNING: is deprecated and discouraged.
> autoheader-2.59:
> autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
> autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template 
> without
> autoheader-2.59: WARNING: `acconfig.h':
> autoheader-2.59:
> autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
> autoheader-2.59:                [Define if a function `main' is needed.])
> autoheader-2.59:
> autoheader-2.59: WARNING: More sophisticated templates can also be produced, 
> see the
> autoheader-2.59: WARNING: documentation.
> [EMAIL PROTECTED] ~/projects/current/spamassassin/3.1.clean/spamc $ svn diff 
> config.h.in
> Index: config.h.in
> ==================================================================--- 
> config.h.in (revision 202147)
> +++ config.h.in (working copy)
> @@ -25,9 +25,6 @@
>  /* Define to 1 if you have the <inttypes.h> header file. */
>  #undef HAVE_INTTYPES_H
> 
> -/* Define to 1 if you have the `crypto' library (-lcrypto). */
> -#undef HAVE_LIBCRYPTO
> -
>  /* Define to 1 if you have the `dl' library (-ldl). */
>  #undef HAVE_LIBDL
> 
> @@ -40,9 +37,6 @@
>  /* Define to 1 if you have the `socket' library (-lsocket). */
>  #undef HAVE_LIBSOCKET
> 
> -/* Define to 1 if you have the `ssl' library (-lssl). */
> -#undef HAVE_LIBSSL
> -
>  /* Define to 1 if you have the <memory.h> header file. */
>  #undef HAVE_MEMORY_H
> 
> Do we care about the missing checks?  Why does autoheader want to remove the 
> SSL/crypto defines?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFCwilnMJF5cimLx9ARAqKgAJsFpiLHV5JtFQ1bbgrE3jT8yGfRQgCghuKV
VVnGlLLQ0Mrm6YkbLg5dHq8=
=HaRf
-----END PGP SIGNATURE-----

Reply via email to