1
1

* fix for a fix for a bug. mca/common doesn't have a common.h, so it didn't

look like a framework.  Add special exception for common.

This commit was SVN r6365.
Этот коммит содержится в:
Brian Barrett 2005-07-07 04:09:28 +00:00
родитель 269a30fb0e
Коммит e381ac08d9

Просмотреть файл

@ -781,27 +781,29 @@ EOF
framework="`basename \"$framework_path\"`" framework="`basename \"$framework_path\"`"
if test "$framework" != "base" -a \ if test "$framework" != "base" -a \
-d "$framework_path" -a \ -d "$framework_path" ; then
-r "${framework_path}/${framework}.h" ; then if test "$framework" = "common" -o \
framework_list="$framework_list $framework" -r "${framework_path}/${framework}.h" ; then
framework_list="$framework_list $framework"
rm -f "$mca_no_config_env_file" rm -f "$mca_no_config_env_file"
touch "$mca_no_config_env_file" touch "$mca_no_config_env_file"
echo "component_list=" >> "$mca_no_config_env_file" echo "component_list=" >> "$mca_no_config_env_file"
for component_path in "$framework_path"/*; do for component_path in "$framework_path"/*; do
if test -d "$component_path"; then if test -d "$component_path"; then
if test -f "$component_path/configure.in" -o \ if test -f "$component_path/configure.in" -o \
-f "$component_path/configure.params" -o \ -f "$component_path/configure.params" -o \
-f "$component_path/configure.ac"; then -f "$component_path/configure.ac"; then
component="`basename \"$component_path\"`" component="`basename \"$component_path\"`"
process_dir "$component_path" "$rg_cwd" \ process_dir "$component_path" "$rg_cwd" \
"$project" "$framework" "$component" "$project" "$framework" "$component"
fi fi
fi fi
done done
fi
# make list of components for this framework # make list of components for this framework
. "$mca_no_config_env_file" . "$mca_no_config_env_file"