From 5a409d7b67e00c1e08df4b1fca4f4bc095df804e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 8 Oct 2000 20:13:39 +0200 Subject: [PATCH] Ignore directories that don't have a configure.in. Rev: src/modules/configure.in:1.6 --- src/modules/configure.in | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/modules/configure.in b/src/modules/configure.in index a6c2d40bd6..3c9bd5178e 100644 --- a/src/modules/configure.in +++ b/src/modules/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.5 1998/03/28 14:54:09 grubba Exp $ +# $Id: configure.in,v 1.6 2000/10/08 18:13:39 grubba Exp $ AC_INIT(dynamic_module_makefile.in) AC_SET_MAKE @@ -11,12 +11,14 @@ for a in `(cd $srcdir ; echo *)` do if test "$a" != "CVS" -a "$a" != "RCS" ; then if test -d "$srcdir/$a" ; then - yesno=`eval echo \\$with_$a` - if test "x${yesno-}" != xno ; then - dirs="$dirs $a" - MODULE_LINKOPTS="$MODULE_LINKOPTS $a/linker_options" - MODULE_SEGMENTS="$MODULE_SEGMENTS $a/modlist_headers" - module_names="$module_names $a" + if test -f "$srcdir/$a/configure.in"; then + yesno=`eval echo \\$with_$a` + if test "x${yesno-}" != xno ; then + dirs="$dirs $a" + MODULE_LINKOPTS="$MODULE_LINKOPTS $a/linker_options" + MODULE_SEGMENTS="$MODULE_SEGMENTS $a/modlist_headers" + module_names="$module_names $a" + fi fi fi fi -- GitLab