autoconf gets the code for that part of configure from m4/check_ssl.m4

On Sat, Jan 26, 2013 at 4:44 PM, Jeffrey Walton <[email protected]> wrote:

> On Sat, Jan 26, 2013 at 6:43 PM, Eric J Korpela
> <[email protected]> wrote:
> > SSL_LIBS is set in m4/check_ssl.m4
> Thanks Eric. Autoconf, Automake and friends give me the worst trouble.
> I still write my Makefiles by hand.
>
> It also looks like ./configure is setting things up, too, at around
> line 24270 (shown below).
>
> Jeff
>
> if test "x${SSL_LIBS}" = "x" ; then
>   found_ssl="no"
>   for dir in $check_ssl_dir ${prefix} /usr/local/ssl /usr/lib/ssl
> /usr/ssl /usr/pkg /usr/local /usr /opt/misc /opt/csw /opt/sfw; do
>     ssldir="$dir"
>     if test -f "$dir/include/openssl/ssl.h"; then
>       found_ssl="yes";
>       SSLDIR="${ssldir}"
>       SSL_CFLAGS="-I$ssldir/include -I$ssldir/include/openssl";
>       SSL_CXXFLAGS="-I$ssldir/include -I$ssldir/include/openssl";
>       SSL_LIBS="-L$ssldir -lssl -lcrypto -ldl -lz"
>       break;
>     fi
>     if test -f "$dir/include/ssl.h"; then
>       found_ssl="yes"
>       SSLDIR="${ssldir}"
>       SSL_CFLAGS="-I$ssldir/include/"
>       SSL_CXXFLAGS="-I$ssldir/include/"
>       SSL_LIBS="-L$ssldir -lssl -lcrypto"
>       break;
>     fi
>   done
> fi
>
> > On Sat, Jan 26, 2013 at 2:54 PM, Jeffrey Walton <[email protected]>
> wrote:
> >>
> >> Hi All,
> >>
> >> I'm not an expert in Autoconf and friends.
> >>
> >> In Makefile.in, the following is present:
> >>
> >>     SSL_LIBS = @SSL_LIBS@
> >>
> >> In this particular instance, I am looking at client/Makefile.in.
> >>
> >> Where is @SSL_LIBS@ set up?
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to