X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=configure.in;h=13d9cbe9a6ad2c7c6f14dfac06c41f54be0c350b;hb=1b10aa3a3712c43c8f32feb364b0951aeaab6238;hp=57cd03c772eeb7d033eddad45fbecb0c12325ba3;hpb=bcc5a5d96b1c570541b7fd2606c6463a262400a9;p=chise%2Fchise-base.git diff --git a/configure.in b/configure.in index 57cd03c..13d9cbe 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(chise-base, 0.24, chise-en@m17n.org) +AC_INIT(chise-base, 0.25, chise-en@m17n.org) AC_CANONICAL_TARGET @@ -86,6 +86,20 @@ if test x"$with_canna" != x"no"; then xemacs_opts="$xemacs_opts --with-canna") 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.