From: Trond Norbye Date: Tue, 22 Feb 2011 13:43:58 +0000 (+0100) Subject: Don't build 64-bit software on 32 bit Solaris X-Git-Tag: 0.51~31^2~1 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e1b50af4534fed3854585b9332f4b7a6a5314315;p=awesomized%2Flibmemcached Don't build 64-bit software on 32 bit Solaris --- diff --git a/m4/pandora_64bit.m4 b/m4/pandora_64bit.m4 index e026fd92..5d9983b8 100644 --- a/m4/pandora_64bit.m4 +++ b/m4/pandora_64bit.m4 @@ -20,9 +20,9 @@ AC_DEFUN([PANDORA_64BIT],[ [isainfo_b=`${ISAINFO} -b`], [isainfo_b="x"]) - AS_IF([test "$isainfo_b" != "x"],[ + AS_IF([test "$isainfo_b" != "x" -a "$isainfo_b" != "32"],[ - isainfo_k=`${ISAINFO} -k` + isainfo_k=`${ISAINFO} -k` DTRACEFLAGS="${DTRACEFLAGS} -${isainfo_b}" AS_IF([test "x$ac_enable_64bit" = "xyes"],[ @@ -32,7 +32,7 @@ AC_DEFUN([PANDORA_64BIT],[ ]) AS_IF([test "x$libdir" = "x\${exec_prefix}/lib"],[ - dnl The user hasn't overridden the default libdir, so we'll + dnl The user hasn't overridden the default libdir, so we'll dnl the dir suffix to match solaris 32/64-bit policy libdir="${libdir}/${isainfo_k}" ])