Browse Source

* Makefile.am: Don't compile mcserv if VFS is disabled.
* extfs/Makefile.am: Don't install anything if VFS is disabled.

Pavel Roskin 23 years ago
parent
commit
eb18605ecc
3 changed files with 7 additions and 1 deletions
  1. 3 0
      vfs/ChangeLog
  2. 2 0
      vfs/Makefile.am
  3. 2 1
      vfs/extfs/Makefile.am

+ 3 - 0
vfs/ChangeLog

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

+ 2 - 0
vfs/Makefile.am

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

+ 2 - 1
vfs/extfs/Makefile.am

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