autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HP-UX 10.20 breakage in 2.57


From: Albert Chin
Subject: HP-UX 10.20 breakage in 2.57
Date: Sun, 22 Dec 2002 22:21:20 -0600
User-agent: Mutt/1.4i

2.57 introduced the following incompatible change:
  * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
  _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
  defined, to support freestanding compilers.  This should fix the
  bug reported by Momchil Velkov in
  <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.

Under, HP-UX 10.20, #include <limits.h> brings in <sys/time.h> which
defines a prototype for gettimeofday(). Therefore, the following code
fails on HP-UX 10.20:
  AC_CHECK_FUNCS(gettimeofday)

The error:
  cc: "configure", line 11666: warning 573: Parameter list is
  Inconsistent for "gettimeofday".

This error also occurs on HP-UX 11.00 and 11i.

-- 
albert chin (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]