Don't build regexprops if we are cross compiling

This commit is contained in:
James Youngman 2005-07-29 21:11:27 +00:00
parent cb54caa095
commit 25ca02af9e

View File

@ -4,9 +4,15 @@ AUTOMAKE_OPTIONS = 1.5 gnits
# no-dependencies
noinst_LIBRARIES = libfind.a
noinst_PROGRAMS = regexprops
if CROSS_COMPILING
# The regexprops program needs to be a native executable, so we
# can't build it with a cross-compiler.
else
noinst_PROGRAMS = regexprops
regexprops_SOURCES = regexprops.c regextype.c
endif
libfind_a_SOURCES =
EXTRA_DIST = modetype.h wait.h extendbuf.h savedirinfo.h buildcmd.h
BUILT_SOURCES =
@ -20,8 +26,6 @@ MAINTAINERCLEANFILES =
INCLUDES = -I../gnulib/lib -I$(top_srcdir)/gnulib/lib
LDADD = ../gnulib/lib/libgnulib.a
INCLUDES = -I$(top_srcdir)/gnulib/lib
libfind_a_SOURCES += modetype.h nextelem.h printquoted.h listfile.h regextype.h
libfind_a_SOURCES += listfile.c nextelem.c extendbuf.c buildcmd.c savedirinfo.c forcefindlib.c qmark.c printquoted.c regextype.c