$NetBSD: patch-ad,v 1.2 2007/09/20 08:30:15 rillig Exp $ --- src/Makefile.in.orig 2007-01-28 07:31:13.000000000 +0100 +++ src/Makefile.in 2007-09-20 10:23:58.000000000 +0200 @@ -103,6 +103,8 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ +CROSS_COMPILING_FALSE = @CROSS_COMPILING_FALSE@ +CROSS_COMPILING_TRUE = @CROSS_COMPILING_TRUE@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ @@ -299,6 +301,8 @@ BUILT_SOURCE = StringDefs.c BUILT_HEADER = $(top_builddir)/include/X11/StringDefs.h $(top_builddir)/include/X11/Shell.h BUILT_FILES = $(BUILT_SOURCE) $(BUILT_HEADER) STRING_LIST = $(top_srcdir)/util/string.list +@CROSS_COMPILING_FALSE@MAKESTRS = $(top_builddir)/util/makestrs +@CROSS_COMPILING_TRUE@MAKESTRS = $(top_builddir)/util/xmakestrs all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am @@ -637,7 +641,7 @@ all-local: $(BUILT_FILES) $(BUILT_HEADER): $(BUILT_SOURCE) $(BUILT_SOURCE): - $(top_builddir)/util/makestrs -i $(top_srcdir) $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c + $(MAKESTRS) -i $(top_srcdir) $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c mkdir -p $(top_builddir)/src mkdir -p $(top_builddir)/include/X11 cp StringDefs.h $(top_builddir)/include/X11