* Makefile.am: Don't compile mcserv if VFS is disabled.

* extfs/Makefile.am: Don't install anything if VFS is disabled.
This commit is contained in:
Pavel Roskin 2002-02-20 03:07:42 +00:00
parent 93f18d3e24
commit eb18605ecc
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-02-19 Pavel Roskin <proski@gnu.org>
* Makefile.am: Don't compile mcserv if VFS is disabled.
* extfs/Makefile.am: Don't install anything if VFS is disabled.
* extfs.c (extfs_open): Only create a new entry if it has not
been found and O_CREAT is set. Consider file as changed only
if it has been successfully created.

View File

@ -89,8 +89,10 @@ endif
if MCSERV_INSTALL
sbin_PROGRAMS = mcserv
else
if USE_VFS
noinst_PROGRAMS = mcserv
endif
endif
mcserv_SOURCES = mcserv.c tcputil.c

View File

@ -32,9 +32,10 @@ EXTFS_OUT = \
ulha \
uha
if USE_VFS
extfs_DATA = $(EXTFS_MISC)
extfs_SCRIPTS = $(EXTFS_CONST) $(EXTFS_OUT)
endif
EXTRA_DIST = $(EXTFS_MISC) $(EXTFS_CONST)