the test below is completely bogus
1) wtf is sys/bitypes.h ?
2) u_int64_t is defined in sys/types.h
3) why not use uint64_t instead ? it is defined by the C99 standard, which is 13 years old, so any libc should support it by now
4) the test does not even seem to compile (at least there's no compiler output in config.log, only checking ... no)
to reproduce build failure, try to build against musl libc
ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default
#ifdef HAVE_SYS_BITYPES_H
#include <sys/bitypes.h>
#endif
"
if test "x$ac_cv_type_u_int64_t" = x""yes; then :
else
$as_echo "#define u_int64_t unsigned long long" >>confdefs.h
fi
Administrators of the "libpcap" SourceForge project have superseded this tracker item (formerly artifact 3565775, now bug 168) with issue 171 of the "libpcap" GitHub project.