On Sun, Jan 12, 2003 at 01:23:56PM +0100, Lars Gullik Bj?nnes wrote: > Philipp Reichmuth <[EMAIL PROTECTED]> writes: > > | Hi folks, > | > | is there a reason why automake 2.57 is listed as unsupported? > > I guess you mean autoconf? > > Marked as unsupported since no-one has tested it before. > > Change the approp. line(s) in autogen.sh and report your results here. > If everything worked ok, we will set 2.57 as supported as well.
It works with the attached autoconf 2.57 patch. This patch should be in 2.58. BTW, this patch matters mainly for HP-UX. However, neither the HP C++ compiler nor G++ can build LyX at the moment. But, a 64-bit G++ 3.3 *can* build LyX and there is currently work going on to make a 32-bit G++ build LyX on HP-UX. -- albert chin ([EMAIL PROTECTED]) -- snip snip --- lib/autoconf/c.m4.orig 2002-12-22 22:10:46.000000000 -0600 +++ lib/autoconf/c.m4 2002-12-23 08:33:43.000000000 -0600 @@ -176,15 +176,22 @@ # m4_define([AC_LANG_FUNC_LINK_TRY(C)], [AC_LANG_PROGRAM( -[/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $1 (); below. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since - <limits.h> exists even on freestanding compilers. */ +[/* Define $1 to an innocuous variant, in case <limits.h> declares $1. + For example, HP-UX 11i <limits.h> declares gettimeofday. */ +#define $1 innocuous_$1 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $1 (); below. + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since + <limits.h> exists even on freestanding compilers. */ #ifdef __STDC__ # include <limits.h> #else # include <assert.h> #endif + +#undef $1 + /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C"