From 82a6e755dac617069db08fb2208b1c06b3fa8f6d Mon Sep 17 00:00:00 2001 From: Mayur Nagekar Date: Thu, 10 Jul 2014 02:30:10 +0530 Subject: [PATCH] Compiles on Mac/Darwin with clang-gcc. So added the support in configure --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index bb28399..3c4b7d7 100755 --- a/configure +++ b/configure @@ -20,7 +20,8 @@ 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 @@ -32,7 +33,10 @@ if [ "$SYSS" = "Linux" -o "$SYSS" = "OpenBSD" -o "$SYSS" = "FreeBSD" -o "$SYSS" SIXFOUR=64 echo Detected 64 Bit $SYSS OS fi +else + echo "Unsupported Platform" fi + PREFIX="" NOSTRIP="" ORACLE_PATH=""