From 6d1571a3c4e4f126e6527b00e2ee7cf5b22b7b11 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Thu, 4 Aug 2016 18:51:23 -0500 Subject: [PATCH] Fix --disable-afs-support disable lib/kafs --- configure.ac | 2 +- kuser/Makefile.am | 2 +- lib/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 082118484..16fa85eda 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/kuser/Makefile.am b/kuser/Makefile.am index c04c9c911..acfd97477 100644 --- a/kuser/Makefile.am +++ b/kuser/Makefile.am @@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.am.common -if HAVE_AFS +if !NO_AFS afs_lib = $(LIB_kafs) endif diff --git a/lib/Makefile.am b/lib/Makefile.am index bc6e43736..5f34eee6b 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -20,7 +20,7 @@ endif if MAINTAINER_MODE dir_sqlite = sqlite endif -if HAVE_AFS +if !NO_AFS dir_afs = kafs endif