+notsupp=""
+for dir in . $noconfigdirs ; do
+ if [ $dir != . ] && echo "# ${configdirs} #" | grep "${dir} " >/dev/null 2>&1 ; then
+ configdirs=`echo $configdirs | sed -e "s/${dir} / /"`
+ if [ -r $srcdir/$dir/configure ] || [ -r $srcdir/$dir/configure.in ]; then
+ notsupp="$notsupp $dir"
+ fi
+ fi
+done
+
+# Produce a warning message for the subdirs we can't configure.
+# This isn't especially interesting in the Cygnus tree, but in the individual
+# FSF releases, it's important to let people know when their machine isn't
+# supported by the one or two programs in a package.
+
+if [ -n "${notsupp}" ] && [ -z "${norecursion}" ]; then
+ echo "*** This configuration is not supported in the following subdirectories:" 1>&2
+ echo " ${notsupp}" 1>&2
+ echo " (Any other directories should still work fine.)" 1>&2
+fi