configure enhancements

This commit is contained in:
vanhauser-thc 2014-07-10 09:29:18 +02:00
parent 92f8491e21
commit 499c57f877

14
configure vendored
View file

@ -3,17 +3,7 @@
# uname -s = Linux | OpenBSD | FreeBSD
# uname -m = i636 or x86_64
if [ "$1" = "-h" ]; then
echo Options:
echo " --prefix=path path to install hydra and its datafiles to"
echo " --with-oracle=prefix prefix for oracle include dir"
echo " --with-oracle-lib=prefix prefix for oracle lib dir"
echo " --disable-xhydra disable compilation of hydra GUI"
echo " --nostrip do not per default strip binaries before install"
echo " --help this here"
exit 0
fi
if [ "$1" = "--help" ]; then
if [ "$1" = "-h" -o "$1" = "--help" ]; then
echo Options:
echo " --prefix=path path to install hydra and its datafiles to"
echo " --with-oracle=prefix prefix for oracle include dir"
@ -30,7 +20,7 @@ rm -f Makefile.in
SYSS=`uname -s 2> /dev/null`
SYSO=`uname -o 2> /dev/null`
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`
if [ `uname -m` = "s390x" ]; then
SF=64