mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-22 06:13:55 -07:00
Compiles on Mac/Darwin with clang-gcc. So added the support in configure
This commit is contained in:
parent
071f6f46bb
commit
82a6e755da
1 changed files with 5 additions and 1 deletions
6
configure
vendored
6
configure
vendored
|
@ -20,7 +20,8 @@ rm -f Makefile.in
|
||||||
SYSS=`uname -s 2> /dev/null`
|
SYSS=`uname -s 2> /dev/null`
|
||||||
SYSO=`uname -o 2> /dev/null`
|
SYSO=`uname -o 2> /dev/null`
|
||||||
SIXFOUR=""
|
SIXFOUR=""
|
||||||
if [ "$SYSS" = "Linux" -o "$SYSS" = "OpenBSD" -o "$SYSS" = "FreeBSD" -o "$SYSS" = "NetBSD" ]; then
|
|
||||||
|
if [ "$SYSS" = "Linux" -o "$SYSS" = "OpenBSD" -o "$SYSS" = "FreeBSD" -o "$SYSS" = "NetBSD" -o "$SYSS" = "Darwin" ]; then
|
||||||
SF=`uname -m | grep 64`
|
SF=`uname -m | grep 64`
|
||||||
if [ `uname -m` = "s390x" ]; then
|
if [ `uname -m` = "s390x" ]; then
|
||||||
SF=64
|
SF=64
|
||||||
|
@ -32,7 +33,10 @@ if [ "$SYSS" = "Linux" -o "$SYSS" = "OpenBSD" -o "$SYSS" = "FreeBSD" -o "$SYSS"
|
||||||
SIXFOUR=64
|
SIXFOUR=64
|
||||||
echo Detected 64 Bit $SYSS OS
|
echo Detected 64 Bit $SYSS OS
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "Unsupported Platform"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PREFIX=""
|
PREFIX=""
|
||||||
NOSTRIP=""
|
NOSTRIP=""
|
||||||
ORACLE_PATH=""
|
ORACLE_PATH=""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue