summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-11-17 12:32:55 -0500
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2011-11-21 10:33:10 +0200
commit4eaba919fccc7618aee0b2f58294e460640bedb9 (patch)
treedf4424ffa9eb57b2686f5e526b8fa5042d115709
parent65275e62415ded849f9986a36ad55ca3c96dc331 (diff)
Remove unused and misleading I386ARCH configuration code
The AM_CONDITIONAL I386ARCH is not used. The AC_CHECK_DECLS is misleading as it suggests there could be some i*86 system with a 64 bit architecture which is incorrect. It also provides false results on 64 bit computer. The generated HAVE_DECL_XXX are not used anyway. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac15
1 files changed, 0 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index ec4f87e..179fd28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,21 +114,6 @@ AC_SUBST([XORG_CFLAGS])
AC_SUBST([moduledir])
AC_SUBST([AMD_CFLAGS])
-is386=false
-
-case $host_cpu in
- i*86)
- is386=true
- ;;
-esac
-
-# Unset is386 if compiling for AMD64/EM64T
-if test $is386 = true ; then
- AC_CHECK_DECLS([_LP64, __amd64__, amd64], [is386=false])
-fi
-
-AM_CONDITIONAL([I386ARCH], [test $is386 = true])
-
DRIVER_NAME=geode
AC_SUBST([DRIVER_NAME])