I've been meaning to revisit aclocal.m4 and the autoconf setup for a
long time.  Much of it was hand-spun to get around bugs or limitations
in autoconf 2.9.  Unfortunately, I don't have access to many of the
"funny" systems to make sure that I don't delete something that looks
like cruft but is actually needed.

I'd start with a modern check for libcrypto - use AC_ARG_WITH to add
-L$with_libcrypto/lib to LDFLAGS and -I$with_libcrypto/include to CPPFLAGS
if $with_libcrypto is not "yes" or "no", then if $with_libcrypto is not
"no", use AC_CHECK_LIB with either "main" or a more modern function than
the current autoconf check uses (the one that autoconf currently uses
was turned into a compatability macro in OpenSSL 0.9.7, I think, which
is why it usually fails).

I dunno if we want to try to keep compatibility with older systems with
sslEAY.

  Bill
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to