summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2015-04-19 14:10:54 +0100
committerBen Laurie <ben@links.org>2015-05-01 17:46:17 +0100
commit190c8c60c11467424910605d8d0098ccc1168fdc (patch)
treec8d603555c4398e81f6ee6202bbcedbece817da9 /config
parent8b68b7e97bea1bb19ae5ad9afc7fdb5547bd4fc7 (diff)
downloadopenssl-new-190c8c60c11467424910605d8d0098ccc1168fdc.tar.gz
Fix build on MacOS.
Reviewed-by: Andy Polyakov
Diffstat (limited to 'config')
-rwxr-xr-xconfig6
1 files changed, 4 insertions, 2 deletions
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