Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/dist/nawk
> Log Message:
> In preparation for building awk as a host tool, add
> #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h"
Unfortunately, this causes building on my ubuntu box to fail:
/home/dogcow/work/nbsrc/dist/nawk/b.c:773: error: 'isblank' undeclared here (not
in a function)
This is because isblank, while it exists in glibc, requires you fiddle
around with _XOPEN_SOURCE or whatever; also, tools/compat/configure
misdetects its presence:
configure:4993: checking for isblank
configure:5030: cc -o conftest -O conftest.c -lz >&5
configure:5009: warning: conflicting types for built-in function 'isblank'
I'm not sure what to do about this; does nawk actually _require_ any of
the nbcompat functions? Alternately, could always just define a local
version of isblank (as the code already has, but is #ifdef'ed out)
Home |
Main Index |
Thread Index |
Old Index