Don't build 64-bit software on 32 bit Solaris
authorTrond Norbye <trond.norbye@gmail.com>
Tue, 22 Feb 2011 13:43:58 +0000 (14:43 +0100)
committerTrond Norbye <trond.norbye@gmail.com>
Tue, 22 Feb 2011 13:43:58 +0000 (14:43 +0100)
m4/pandora_64bit.m4

index e026fd924f633215e928b507de7538f2898f3882..5d9983b84689e5eec93d78e492b4ff15f3314acd 100644 (file)
@@ -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}"
       ])