From f51047c0b6749ae8f04925eb62706b4743328383 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 5 Aug 2005 15:43:31 +0000 Subject: [PATCH] Fix 32-bit vs. 64-bit test for Solaris --- configure.ac | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 2413ce5d4..9a0166d32 100644 --- a/configure.ac +++ b/configure.ac @@ -678,13 +678,7 @@ test x$XORG = xyes && case $host_os in if test "x$SUNCC" = "xyes"; then solaris_asm_inline="yes" fi - AC_MSG_CHECKING([whether building 32-bit or 64-bit]) - AC_EGREP_CPP(IAM64, [ -#ifdef __LP64 -IAM64 -#endif - ], [SOLARIS_64="yes" ; AC_MSG_RESULT([64-bit])], - [SOLARIS_64="no" ; AC_MSG_RESULT([32-bit])]) + AC_CHECK_DECL([_LP64], [SOLARIS_64="yes"], [SOLARIS_64="no"]) case $host_cpu in sparc*)