configure: libssh2 link fix without pkg-config
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 Apr 2011 20:10:29 +0000 (22:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Apr 2011 20:10:29 +0000 (22:10 +0200)
commitfde795894f9af996aff9f7f0bff7d15050d5f8e0
tree9c48ef556c8e26676fe2f35dbb1d2e433de3d139
parent6710970bcea14f57896b1fb0c90825b33061ef51
configure: libssh2 link fix without pkg-config

The script didn't properly add the -lssh2 link option when it enabled
libssh2 linking where pkg-config isn't found.

Reported by: Saqib Ali
Bug: http://curl.haxx.se/mail/lib-2011-04/0054.html
configure.ac