From 8cbd72e42bb55ceb7943cf7b9824810239c129c7 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Fri, 17 Sep 2010 12:44:50 +0200 Subject: [PATCH] Fix testing when compiled with --disable-afs-support Signed-off-by: Love Hornquist Astrand --- configure.ac | 1 + tests/bin/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index dbeb93050..5c8e2320b 100644 --- a/configure.ac +++ b/configure.ac @@ -245,6 +245,7 @@ AC_ARG_ENABLE([afs-support], AS_HELP_STRING([--disable-afs-support],[if you don't want support for AFS])) 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" fi AC_SUBST(NO_AFS)dnl diff --git a/tests/bin/Makefile.am b/tests/bin/Makefile.am index 3d54a97ad..52b7f15d6 100644 --- a/tests/bin/Makefile.am +++ b/tests/bin/Makefile.am @@ -9,7 +9,7 @@ do_subst = \ -e "s,[@]EGREP[@],$(EGREP),g" \ -e "s,[@]top_srcdir[@],$${top_srcdir},g" \ -e "s,[@]top_builddir[@],$${top_builddir},g" \ - -e "s,[@]NO_AFS[@],$${NO_AFS},g" + -e "s,[@]NO_AFS[@],$(NO_AFS),g" setup-env: setup-env.in Makefile $(do_subst) < $(srcdir)/setup-env.in > setup-env.tmp -- 2.11.4.GIT