I've been building texinfo 5.0 using HP-UX 11.11/11.23/11.31 on PA-RISC platforms with HP's ANSI C compiler and have come across some issues that may need fixing (they're mainly for non-GNU environments obviously).
The changes I suggest below are probably not the most "correct" (e.g. some should be done via configure testing etc.), but hopefully they'll provide at least a starting point. * gnulib/lib/xalloc.h: XALLOC_INLINE needed to be be defined as static (rather than extern inline) to avoid multiple defintions of *alloc() routines. I just put this in xalloc.h as follows (line 30): #ifdef __hpux #undef XALLOC_INLINE #define XALLOC_INLINE static #endif * HP-UX has never had the va_copy() function, so I defined one to use memcpy() at line 28 of info/info-utils.c: #ifdef __hpux #define va_copy(ap1,ap2) memcpy((&ap1),(&ap2),sizeof(va_list)) #endif * HP-UX 11 ships with two zdiff binaries (in /usr/bin and /usr/contrib/bin) and tends to pick the "non-gzip" version in /usr/bin with the default PATH. To get around this, I put /usr/contrib/bin in front of the PATH just before zdiff is run (line 21 in install-info/tests/ii-0041-test and line 22 in install-info/tests/ii-0050-test): export PATH=/usr/contrib/bin:$PATH * Non-gcc compilers, including HP's ANSI C, probably won't like the TEXINFO_PRINTFLIKE() macro definition in system.h, so for non-gcc systems, I defined it to be nothing (line 232): #ifndef TEXINFO_PRINTFLIKE #ifdef __GNUC__ # define TEXINFO_PRINTFLIKE(fmt,narg) __attribute__ ((__format__ (__printf__, fmt, narg))) #else # define TEXINFO_PRINTFLIKE(fmt,narg) #endif #endif * GNU diff-only flags (-a, -U, -u, --exclude=) were used in the following scripts and were removed to improve portability for non-GNU diff: tp/maintain/all_tests.sh tp/tests/many_input_files/indices.sh tp/tests/many_input_files/tex_l2h.sh tp/tests/many_input_files/tex_t4ht.sh tp/tests/run_parser_all.sh All the "gmake check" diff tests worked correctly without those GNU diff-only flags. Richard K. Lloyd, E-mail: richard.ll...@connectinternetsolutions.com Connect Internet Solutions, WWW: http://www.connectinternetsolutions.com/ 4th Floor, New Barratt House, 47, North John Street, Liverpool, Merseyside, UK. L2 6SG -- This e-mail (and any attachments) is private and confidential. If you have received it in error, please notify the sender immediately and delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Connect Internet Solutions Ltd. This e-mail and any attachments are believed to be virus free but it is the recipient's responsibility to ensure that they are. Connect Internet Solutions Ltd (A company registered in England No: 04424350) Registered Office: 4th Floor, New Barratt House, 47 North John Street, Liverpool, L2 6SG Telephone: +44 (0) 151 282 4321 Fax: +44 (0) 151 282 4322 VAT registration number: 758 2838 85