Fix testing when compiled with --disable-afs-support
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
4328f3980f
commit
61bfc2997b
@@ -245,6 +245,7 @@ AC_ARG_ENABLE([afs-support],
|
|||||||
AS_HELP_STRING([--disable-afs-support],[if you don't want support for AFS]))
|
AS_HELP_STRING([--disable-afs-support],[if you don't want support for AFS]))
|
||||||
if test "$enable_afs_support" = no; then
|
if test "$enable_afs_support" = no; then
|
||||||
AC_DEFINE(NO_AFS, 1, [Define if you don't wan't support for AFS.])
|
AC_DEFINE(NO_AFS, 1, [Define if you don't wan't support for AFS.])
|
||||||
|
NO_AFS="1"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(NO_AFS)dnl
|
AC_SUBST(NO_AFS)dnl
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ do_subst = \
|
|||||||
-e "s,[@]EGREP[@],$(EGREP),g" \
|
-e "s,[@]EGREP[@],$(EGREP),g" \
|
||||||
-e "s,[@]top_srcdir[@],$${top_srcdir},g" \
|
-e "s,[@]top_srcdir[@],$${top_srcdir},g" \
|
||||||
-e "s,[@]top_builddir[@],$${top_builddir},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
|
setup-env: setup-env.in Makefile
|
||||||
$(do_subst) < $(srcdir)/setup-env.in > setup-env.tmp
|
$(do_subst) < $(srcdir)/setup-env.in > setup-env.tmp
|
||||||
|
Reference in New Issue
Block a user