tcpdump mailing list archives

Re: AC_LBL_FIXINCLUDES does not make it into configure


From: Guy Harris via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Wed, 18 Jan 2023 01:19:28 -0800

--- Begin Message --- From: Guy Harris <gharris () sonic net>
Date: Wed, 18 Jan 2023 01:19:28 -0800
On Jan 18, 2023, at 1:07 AM, Denis Ovsienko <denis () ovsienko info> wrote:

Thank you for explaining the context Guy, it is very educational.

A significant part of what's in autoconf, and a significant part of what's in at least some configure scripts, dates 
back to old UN*Xes.

ISO C and POSIX have, over time, rendered a lot of old-time tests unnecessary except for hobbyists and ancient "if it 
ain't broke don't fix it" systems:

        https://www.theregister.com/2001/04/12/missing_novell_server_discovered_after/

(although that one was Netware rather than UN*X, there may be old UN*X versions running on old hardware still out 
there).

Is AC_LBL_UNION_WAIT of a similar origin?

Probably.

 Neither tcpdump nor libpcap use it.

I think BSD's "union wait" has been supplanted by various POSIX-specified macros to pull apart an exit status stored in 
an int, and, in the 3.4/0.4 timeframe, I don't think tcpdump or libpcap had any code to wait for a child process, and 
thus didn't need AC_LBL_UNION_WAIT.

--- End Message ---
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Current thread: