From 20e31fd8584ee046a3cef64227a95e7ea680c0e8 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Wed, 7 Feb 2001 16:41:16 +0000 Subject: [PATCH] * configure.in: Only configure in vfs/samba if smbfs support is enabled even with Autoconf 2.13. --- ChangeLog | 5 +++++ configure.in | 12 ++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ed8b61e1d..6090fa60a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-07 Pavel Roskin + + * configure.in: Only configure in vfs/samba if smbfs support is + enabled even with Autoconf 2.13. + 2001-01-30 Pavel Roskin * macros/gnome-vfs.m4 (GNOME_WITH_VFS): Fix mishandling of diff --git a/configure.in b/configure.in index bbb9ab898..121b33829 100644 --- a/configure.in +++ b/configure.in @@ -959,9 +959,17 @@ AC_SUBST(PCENTRULE) dnl dnl Output configuration files dnl +dnl It's a hack to accomodate both Autoconf 2.13 and the 2.49x series, +dnl It's needed until Autoconf 2.50 is released. +ifelse(AC_ACVERSION, [2.13], +[mc_subdirs= if test "x$SAMBAFILES" != x; then - AC_CONFIG_SUBDIRS(vfs/samba) -fi + mc_subdirs=vfs/samba + AC_CONFIG_SUBDIRS([$mc_subdirs]) +fi], +[if test "x$SAMBAFILES" != x; then + AC_CONFIG_SUBDIRS([vfs/samba]) +fi]) AC_OUTPUT([ Make.common