]> granicus.if.org Git - curl/commit
configure: fix the -ldl check for openssl, add -lpthread check
authorDaniel Stenberg <daniel@haxx.se>
Tue, 18 Apr 2017 11:36:23 +0000 (13:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Apr 2017 07:06:12 +0000 (09:06 +0200)
commitc68fed8751f76ae38b7fbb5bc0fb04fb7ea9afc5
treeb4dae513b9dad738b3d91aa75b28a794bf1bd2da
parentd87bd46cbf37aeebadf927b110b6c02e056dd9ea
configure: fix the -ldl check for openssl, add -lpthread check

The check for if -ldl is needed to build with (a statically built)
openssl was broken. This repairs the check, and adds a check for
-lpthread as well since OpenSSL 1.1.0+ does in fact require -lpthread so
only adding -ldl for a static openssl build is no longer enough.

Reported-by: Jay Satiro
Ref: #1426
Closes #1427
configure.ac