Thanks Greg,

That makes sense. I saw the 2048 grep truncate problem but didn't think anything of it. I also noted that on Solaris, it was giving an awk error. Your new acconfig.h has done the trick wonderfully.

David

There is a reason why its using DX_CHECK_HEADERS  rather than
AC_CHECK_HEADERS that arose during the initial conversion to the auto
tools; exactly what, I don't recall - it could have arisen on any of quite
a few platforms.  It has something to do with how the preprocesor is
invoked.

Since the auto tools don't know about DX_CHECK_HEADERS, #undefs have to be
added explicitly into acconfig.h that correspond to the tested header files
have to be added to acconfig.h - eg. '#undef HAVE_SYS_SOCKET_H', if
sys/socket.h shows up in the DX_CHECK_HEADERS list.  autoheader then uses
acconfig.h to build dxconfig.h.in.

Unfortunately for AIX, autoheader passes very long lines into some system
utilities - sed, awk or something, and the AIX versions of these fails.
This causes some symbols, notably HAVE_SYS_SOCKET_H, to not appear in
dxconfig.h.

I have a version of acconfig.h that cases these long lines to be broken up,
and it works for AIX.  Since I have a lot of confidence that it won't break
anything else, I'll check it in. I'm not comfortable with the
AC_CHECK_HEADERS fix since (you'll find) there are a lot of other symbols
that are missing form dxconfig.h due to this problem.

Greg

.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to