From 190c8c60c11467424910605d8d0098ccc1168fdc Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 19 Apr 2015 14:10:54 +0100 Subject: Fix build on MacOS. Reviewed-by: Andy Polyakov --- config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config b/config index 944ead2fcd..94534cb3bb 100755 --- a/config +++ b/config @@ -518,10 +518,12 @@ case "$GUESSOS" in ISA64=`(sysctl -n hw.optional.x86_64) 2>/dev/null` if [ "$ISA64" = "1" -a -z "$KERNEL_BITS" ]; then echo "WARNING! If you wish to build 64-bit library, then you have to" - echo " invoke './Configure darwin64-x86_64-cc' *manually*." + echo " invoke './Configure darwin64-x86_64-cc $options' *manually*." if [ "$TEST" = "false" -a -t 1 ]; then echo " You have about 5 seconds to press Ctrl-C to abort." - (trap "stty `stty -g`" 2 0; stty -icanon min 0 time 50; read waste) <&1 + # The stty technique used elsewhere doesn't work on + # MacOS. At least, right now on this Mac. + sleep 5 fi fi if [ "$ISA64" = "1" -a "$KERNEL_BITS" = "64" ]; then -- cgit v1.2.1