From 145a7bb9312e2af292daf10201422a1bc85b793a Mon Sep 17 00:00:00 2001 From: tomo Date: Sat, 18 Feb 2012 11:06:50 +0000 Subject: [PATCH] update. --- configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configure b/configure index bc9f6a2..2516dd7 100755 --- a/configure +++ b/configure @@ -2903,6 +2903,20 @@ fi fi +os_name=`uname -s` +mac_product_name=`sw_vers |grep ProductName|cut -f2` +mac_product_version=`sw_vers |grep ProductVersion|cut -f2` +mac_product_major_version=`echo $mac_product_version|cut -d'.' -f1` +mac_product_minor_version=`echo $mac_product_version|cut -d'.' -f2` + +if test "$os_name" = "Darwin" -a \ + "$mac_product_name" = "Mac OS X" -a \ + $mac_product_major_version -eq 10 -a \ + $mac_product_minor_version -ge 7 +then + xemacs_opts="$xemacs_opts '--ldflags=-Wl,-no_pie'" +fi + # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. -- 1.7.10.4