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