]> The Tcpdump Group git mirrors - tcpdump/commit
workaround check of inet_{ntop,pton} for bsdi4.
authoritojun <itojun>
Tue, 3 Oct 2000 02:59:53 +0000 (02:59 +0000)
committeritojun <itojun>
Tue, 3 Oct 2000 02:59:53 +0000 (02:59 +0000)
commitb1b643aa50c261e95b40998c71dc8ef658116746
treeb74d6b20763fe22295b7a1f9de499a802f7aaca0
parent061c146d5de0e02e2e7d575b32dec4a3abd9f655
workaround check of inet_{ntop,pton} for bsdi4.

bsdi4 ships with BIND8 resolver, and the way it defines inet_{ntop,pton}
is rather strange; it does not ship with libc symbol "inet_ntop".
it ships with "_inet_ntop", and has a #define macro in header to rename it.
AC_CHECK_FUNCS will always fail for resolver functions.

i consider it as a bug in merger.  bsdi should have done the following:
- supply _inet_ntop for libc-internal calls
- supply weak symbol inet_ntop for external reference
- no #define in headers

from kame.
configure.in