* configure.in: Don't use the canonical host name to decide

whether `bzero' and `usleep' have declarations --- that's going
back to the bad old days before autoconf.  Remove the call to
AC_CANONICAL_HOST and the subsequent case statement.
(GUILE_FUNC_DECLARED): New m4 macro.  Use it to check for
declarations for `bzero', `usleep', and (new!) `strptime'.
* acconfig.h: (DECLARE_BZERO, DECLARE_USLEEP): Removed.
(MISSING_BZERO_DECL, MISSING_USLEEP_DECL, MISSING_STRPTIME_DECL):
Added.  I think this naming convention is more consistent with the
rest of autoconf; names generally describes the system, not what
the package should do to accomodate the system.
* configure: Regenerated.
This commit is contained in:
Jim Blandy 1998-10-03 08:01:41 +00:00
commit 777b022a9e
3 changed files with 207 additions and 131 deletions

View file

@ -88,10 +88,14 @@
#undef HAVE_REGCOMP
/* Define if the operating system supplies bzero without declaring it. */
#undef DECLARE_BZERO
#undef MISSING_BZERO_DECL
/* Define if the operating system supplies usleep without declaring it. */
#undef DECLARE_USLEEP
#undef MISSING_USLEEP_DECL
/* Define if the operating system supplies strptime without declaring it. */
#undef MISSING_STRPTIME_DECL
/* Define if usleep doesn't return a value. */
#undef USLEEP_RETURNS_VOID