*** openssl-1.0.1e/config.orig	2013-02-11 07:26:04.000000000 -0800
--- openssl-1.0.1e/config	2013-04-24 14:31:38.000000000 -0700
***************
*** 553,558 ****
--- 553,561 ----
  	fi ;;
    i?86-apple-darwin*)
  	ISA64=`(sysctl -n hw.optional.x86_64) 2>/dev/null`
+ 	if [ "$ISA64" = "1" ]; then
+ 		KERNEL_BITS=`(getconf LONG_BIT) 2>/dev/null`
+ 	fi
  	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*."
