From f508f8c67cdf17d28bede00824578bb8f03ec49b Mon Sep 17 00:00:00 2001 From: "Clifford T. Matthews" Date: Mon, 8 Jun 2009 12:39:06 -0600 Subject: [PATCH] got --disable-native working on i386 --- configure.ac | 6 +++--- include/syn68k_private.h.in | 2 ++ runtime/native/i386/Makefile.am | 5 ----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 510c883..72653e2 100644 --- a/configure.ac +++ b/configure.ac @@ -68,13 +68,13 @@ AC_ARG_ENABLE([native], [var_native=$enable_native], [var_native=yes] ) if test "$var_native" = "yes"; then HOST_NATIVE="native/i386" - NO_NATIVE=FALSE + NONNATIVE="" else HOST_NATIVE="native/null" - NO_NATIVE=TRUE + NONNATIVE="#define NONNATIVE" fi +AC_SUBST(NONNATIVE) AC_SUBST(HOST_NATIVE) -AC_SUBST(NO_NATIVE) AC_ARG_ENABLE([debug], AC_HELP_STRING([--enable-debug], diff --git a/include/syn68k_private.h.in b/include/syn68k_private.h.in index 3d50d8a..82d28be 100644 --- a/include/syn68k_private.h.in +++ b/include/syn68k_private.h.in @@ -5,6 +5,8 @@ #ifndef _syn68k_private_h_ #define _syn68k_private_h_ +@NONNATIVE@ + /* $Id: syn68k_private.h.in 72 2004-12-28 15:57:12Z ctm $ */ #include "syn68k_public.h" diff --git a/runtime/native/i386/Makefile.am b/runtime/native/i386/Makefile.am index e4492f3..2f53f7f 100644 --- a/runtime/native/i386/Makefile.am +++ b/runtime/native/i386/Makefile.am @@ -38,14 +38,9 @@ xlate.o: xlate.c .c.o: $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c $(LOCAL_INCLUDES) -o $(@F) $< -## ifneq ($(NO_NATIVE), TRUE) subdir-stmp: $(MISC_OBJS) src-stmp obj-stmp echo $(MISC_OBJS) \ `ls _*.o` > subdir-stmp -## else -## subdir-stmp: -## > subdir-stmp -## endif obj-stmp: k=1; \