mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
configure: openssl / memcached build fix
On Debian/Ubuntu, compilation against openssl 3.0 causes a failure to find INT_MAX, despite the openssl headers including limits.h. However, the fact that the libmemcached-dev package provides both /usr/include/libmemcached{,-1.0} directories, both of which contain memcached.h, mean that MCACHED_IPATH ends up set to the libmemcached-1.0 one, which contains a limits.h, which shadows /usr/include/limits.h. Don't do that.
This commit is contained in:
parent
e9140e5434
commit
e40b0dc252
1 changed files with 2 additions and 4 deletions
6
configure
vendored
6
configure
vendored
|
@ -998,11 +998,9 @@ echo "Checking for Memcached (libmemcached/memcached.h) ..."
|
||||||
if [ "X" = "X$MCACHED_IPATH" ]; then
|
if [ "X" = "X$MCACHED_IPATH" ]; then
|
||||||
if [ -f "$i/memcached.h" ]; then
|
if [ -f "$i/memcached.h" ]; then
|
||||||
MCACHED_IPATH="$i"
|
MCACHED_IPATH="$i"
|
||||||
fi
|
elif [ -f "$i/libmemcached/memcached.h" ]; then
|
||||||
if [ -f "$i/libmemcached/memcached.h" ]; then
|
|
||||||
MCACHED_IPATH="$i/libmemcached"
|
MCACHED_IPATH="$i/libmemcached"
|
||||||
fi
|
elif [ -f "$i/libmemcached-1.0/memcached.h" ]; then
|
||||||
if [ -f "$i/libmemcached-1.0/memcached.h" ]; then
|
|
||||||
MCACHED_IPATH="$i/libmemcached-1.0"
|
MCACHED_IPATH="$i/libmemcached-1.0"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue