got --disable-native working on i386

This commit is contained in:
Clifford T. Matthews 2009-06-08 12:39:06 -06:00
parent 25eaed6e60
commit f508f8c67c
3 changed files with 5 additions and 8 deletions

View File

@ -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],

View File

@ -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"

View File

@ -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; \