Code

autoconf: Checks for libraries
authorJakub Narebski <jnareb@gmail.com>
Sat, 8 Jul 2006 21:07:12 +0000 (23:07 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 9 Jul 2006 09:20:54 +0000 (02:20 -0700)
commitebdf53210ca30eaaa6cf5f555200678bf5f256ac
treec89fecbac0b4c19dece611ec53125d8c7aa7c3c7
parent1bbbadbc2c32d1a6d0e97713e4f6e417daa72759
autoconf: Checks for libraries

./configure script checks now if the following libraries are present:
 * -lssl    for SHA1_Init (NO_OPENSSL)
 * -lcurl   for curl_easy_setopt (NO_CURL)
 * -lexpat  for XML_ParserCreate (NO_EXPAT)
It also checks if adding the following libraries are needed:
 * -lcrypto for SHA1_Init (NEEDS_SSL_WITH_CRYPTO)
 * -liconv  for iconv (NEEDS_LIBICONV)
 * -lsocket for socket (NEEDS_SOCKET)

Policy: we check also if NEEDS_LIBRARY libraries are present, even if
there is no NO_LIBRARY variable.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
configure.ac