Comments
Patch
===================================================================
@@ -2081,6 +2081,28 @@ case ,${enable_languages},:${enable_objc_gc} in
;;
esac
+# a user forced "--disable-target-.." was given
+# add this to the ingnore list if not already present
+for target_lib_var in $target_libraries
+do
+ var=`$as_echo "$target_lib_var" | sed 's/[[-+.]]/_/g'`
+ eval is_enabled=\$enable_$var
+ if test x$is_enabled = xno ; then
+ append_var=yes
+ for var in $noconfigdirs $skipdirs
+ do
+ if test x$var = x$target_lib_var ; then
+ append_var=no
+ break
+ fi
+ done
+ if test x$append_var = xyes ; then
+ noconfigdirs="$noconfigdirs $target_lib_var"
+ echo "add $target_lib_var to noconfigdirs"
+ fi
+ fi
+done
+
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
# $build_configdirs and $target_configdirs.
# If we have the source for $noconfigdirs entries, add them to $notsupp.
===================================================================
@@ -6546,6 +6546,28 @@ case ,${enable_languages},:${enable_objc_gc} in
;;
esac
+# a user forced "--disable-target-.." was given
+# add this to the ingnore list if not already present
+for target_lib_var in $target_libraries
+do
+ var=`$as_echo "$target_lib_var" | sed 's/[-+.]/_/g'`
+ eval is_enabled=\$enable_$var
+ if test x$is_enabled = xno ; then
+ append_var=yes
+ for var in $noconfigdirs $skipdirs
+ do
+ if test x$var = x$target_lib_var ; then
+ append_var=no
+ break
+ fi
+ done
+ if test x$append_var = xyes ; then
+ noconfigdirs="$noconfigdirs $target_lib_var"
+ echo "add $target_lib_var to noconfigdirs"
+ fi
+ fi
+done
+
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
# $build_configdirs and $target_configdirs.
# If we have the source for $noconfigdirs entries, add them to $notsupp.