Fix 32-bit vs. 64-bit test for Solaris
This commit is contained in:
parent
4220a0c4cc
commit
f51047c0b6
|
@ -678,13 +678,7 @@ test x$XORG = xyes && case $host_os in
|
||||||
if test "x$SUNCC" = "xyes"; then
|
if test "x$SUNCC" = "xyes"; then
|
||||||
solaris_asm_inline="yes"
|
solaris_asm_inline="yes"
|
||||||
fi
|
fi
|
||||||
AC_MSG_CHECKING([whether building 32-bit or 64-bit])
|
AC_CHECK_DECL([_LP64], [SOLARIS_64="yes"], [SOLARIS_64="no"])
|
||||||
AC_EGREP_CPP(IAM64, [
|
|
||||||
#ifdef __LP64
|
|
||||||
IAM64
|
|
||||||
#endif
|
|
||||||
], [SOLARIS_64="yes" ; AC_MSG_RESULT([64-bit])],
|
|
||||||
[SOLARIS_64="no" ; AC_MSG_RESULT([32-bit])])
|
|
||||||
|
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
sparc*)
|
sparc*)
|
||||||
|
|
Loading…
Reference in New Issue