Only include ffi.d when it is required. Some compilers do not like empty files.

This commit is contained in:
jjgarcia 2003-07-02 08:41:39 +00:00
parent af3ae3ca3b
commit 34c9a7fdcd
3 changed files with 3 additions and 1 deletions

View file

@ -43,7 +43,7 @@ OBJS = main.o symbol.o package.o list.o\
time.o unixint.o\
mapfun.o multival.o hash.o format.o pathname.o\
structure.o load.o unixfsys.o unixsys.o \
all_symbols.o ffi.o @EXTRA_OBJS@
all_symbols.o @EXTRA_OBJS@
.SUFFIXES: .c .o .d

1
src/configure vendored
View file

@ -4670,6 +4670,7 @@ if test "${ffi}"; then
#define ECL_FFI 1
_ACEOF
EXTRA_OBJS="${EXTRA_OBJS} ffi.o"
fi
if test "${locative}" ; then
EXTRA_OBJS="${EXTRA_OBJS} unify.o"

View file

@ -215,6 +215,7 @@ if test "${closstreams}"; then
fi
if test "${ffi}"; then
AC_DEFINE(ECL_FFI)
EXTRA_OBJS="${EXTRA_OBJS} ffi.o"
fi
if test "${locative}" ; then
EXTRA_OBJS="${EXTRA_OBJS} unify.o"