aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-04-27 23:43:38 -0700
committerGlenn Morris2010-04-27 23:43:38 -0700
commit44e3d510df92cc32bc682a874b978608075ffad2 (patch)
treeceaed40c2bab4527d78dcd1554fe0bdd2865bca0 /src
parent17818d715235dafd82625fb6d739dddaf60c2701 (diff)
downloademacs-44e3d510df92cc32bc682a874b978608075ffad2.tar.gz
emacs-44e3d510df92cc32bc682a874b978608075ffad2.zip
Move test for 64-bit kernel with 32-bit userland to configure.
See discussion in bug#5655. * configure.in (machine, canonical): On amdx86-64, check for a 32-bit userland and maybe change values to i386 (move test from s/amdx86-64.h). * src/m/amdx86-64.h [i386]: Move this test to configure.in.
Diffstat (limited to 'src')
-rw-r--r--src/m/amdx86-64.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h
index f7dfb126e6e..b2e6cae48c7 100644
--- a/src/m/amdx86-64.h
+++ b/src/m/amdx86-64.h
@@ -17,15 +17,6 @@ GNU General Public License for more details.
17You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19 19
20#ifdef i386
21/* Although we're running on an amd64 kernel, we're actually compiling for
22 the x86 architecture. The user should probably have provided an
23 explicit --build to `configure', but if everything else than the kernel
24 is running in i386 mode, then the bug is really ours: we should have
25 guessed better. */
26#include "m/intel386.h"
27#else
28
29/* The following line tells the configuration script what sort of 20/* The following line tells the configuration script what sort of
30 operating system this machine is likely to run. 21 operating system this machine is likely to run.
31 USUAL-OPSYS="linux" */ 22 USUAL-OPSYS="linux" */
@@ -90,7 +81,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
90#define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o 81#define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o
91 82
92#endif /* SOLARIS2 */ 83#endif /* SOLARIS2 */
93#endif /* !i386 */
94 84
95/* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e 85/* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e
96 (do not change this comment) */ 86 (do not change this comment) */