Fix --disable-afs-support disable lib/kafs

This commit is contained in:
Nicolas Williams
2016-08-04 18:51:23 -05:00
parent f027fc834d
commit 6d1571a3c4
3 changed files with 3 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ AC_ARG_ENABLE([afs-support],
if test "$enable_afs_support" = no; then
AC_DEFINE(NO_AFS, 1, [Define if you don't wan't support for AFS.])
NO_AFS="1"
AM_CONDITIONAL(HAVE_AFS, 0)
AM_CONDITIONAL(NO_AFS, 1)
fi
AC_SUBST(NO_AFS)dnl

View File

@@ -2,7 +2,7 @@
include $(top_srcdir)/Makefile.am.common
if HAVE_AFS
if !NO_AFS
afs_lib = $(LIB_kafs)
endif

View File

@@ -20,7 +20,7 @@ endif
if MAINTAINER_MODE
dir_sqlite = sqlite
endif
if HAVE_AFS
if !NO_AFS
dir_afs = kafs
endif