bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#define proc in awk.h causes problems


From: mcmahill
Subject: #define proc in awk.h causes problems
Date: Wed, 11 Dec 2002 22:23:44 -0500 (EST)

This is in regards to gawk-3.1.1

The '#define proc .....' line in awk causes problem when io.c pulls in
sys/socket.h since sys/socket.h has a 'struct proc *foo;' in it on some
systems.  Changing that #define to gawk_proc or some such thing should fix
it.


Also, I noticed that some systems only have partial wide char support and
thus an autoconf test for the existance of type wctype_t as an additional
requirement along with HAVE_WCHAR_H before enabling wide char support
would make the build more portable.

Finally, could the link ${exec_prefix}/bin/awk be made something you can
turn off with a configure flag?  I usually don't want to install gawk as
'awk', but rather i want to keep my 'awk' and have 'gawk' as a separate
thing.

Best regards and keep up the excellent work.  Gawk rules!

-Dan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]