As I reported recently, the problem with the snprintf() library built
from
http://www.ijs.si/software/snprintf/snprintf_2.2.tar.gz
on DEC Alpha OSF/1 4.0 that caused a test failure with m4-1.4.7 goes
away when that library is omitted from LIBS at configure time.
Since then, we have tracked down another, more complete,
implementation of snprintf() in the GPL code at
http://www.netsw.org/system/libs/string/snprintfv-0.98h.tar.gz
I've just built a library with it using the native cc compiler,
-lsnprintfv, and rerun the test builds of m4-1.4.7 with cc and gcc
using that library. All tests pass flawlessly.
Thus, the snprintfv library seems to be an acceptable fallback for
those older systems that lack snprintf() in -lc, and I plan to replace
-lsnprintf and -lgccsnprintf with -lsnprintfv in builds on OSF/1 4.0.
In the list of almost 30 systems for which I posted m4-1.4.7 build
successes yesterday, OSF/1 4.0 is the ONLY once that lacks snprintf(),
which is part of both POSIX and C99 (but absent from C89). Even
Minix-3 and the NetBSD and OpenBSD SIMH VAXes have snprintf().
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: [EMAIL PROTECTED] -
- 155 S 1400 E RM 233 [EMAIL PROTECTED] [EMAIL
PROTECTED] -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4