]> git.tuebingen.mpg.de Git - paraslash.git/commit
configure: Use AC_ARG_WITH also for openssl options.
authorAndre Noll <maan@systemlinux.org>
Tue, 1 Mar 2011 22:12:46 +0000 (23:12 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 27 Mar 2011 14:43:12 +0000 (16:43 +0200)
commitae7a5e56804fcb6789b5512201cacb6f29b2fb7b
tree360ca2beef7cb2737630b9d5cb65b5bcc49c82cc
parent15ddd9078769b8c866061a8f715f5dbdcea66fd0
configure: Use AC_ARG_WITH also for openssl options.

Currently the check for openssl is performed by CHECK_SSL() in
configure.ac. This function searches the given directory for the
openssl-header but does not check the existence and usability of
the openssl libraries. The argument of --enable-ssldir, if given,
is tried first, and each member of a hard-coded list of directories
is searched next.

This patch replaces CHECK_SSL() by checks similar to those for
other headers and libraries. In particular, we now also check
for the openssl libraries, and the configure options are now
called --with-openssl-headers and --with-openssl-libs rather than
--enable-ssldir.
Makefile.in
configure.ac