]> git.ipfire.org Git - thirdparty/squid.git/commit
./configure needs to use $CRYPTLIB when checking for crypt()
authorwessels <>
Sat, 30 Jun 2007 12:33:05 +0000 (12:33 +0000)
committerwessels <>
Sat, 30 Jun 2007 12:33:05 +0000 (12:33 +0000)
commitd06d566f19d13fba44a782fcef3041bd16dab53c
tree25148a83cb9ce0228084ba7389dbe0b41420d8a7
parent7708955871a1e3931063470ccee5e2d30cce54d8
./configure needs to use $CRYPTLIB when checking for crypt()

When ./configure checks for the crypt() function, it should have -lcrypt
in $LIBS (if -lcrypt was found).  Created a special AC_CHECK_FUNCS
for crypt() that temporarily adds $CRYPTLIB to $LIBS.

This became a problem when #if HAVE_CRYPT was added to
helpers/basic_auth/NCSA/ncsa_auth.c.  The crypt() function was always
there, but not always surrounded by the #ifdef.
configure.in