re PR bootstrap/14522 (Bad sed command in the configure script)

2004-03-11  Eric Botcazou  <ebotcazou@gcc.gnu.org>
	    Paolo Bonzini  <bonzini@gnu.org>

	PR bootstrap/14522
	* configure.in: Cope with shell that do not support nesting
	quotes inside quoted backquote substitutions.
	* configure: Regenerate.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>

From-SVN: r79325
This commit is contained in:
Eric Botcazou 2004-03-11 14:41:14 +00:00 committed by Paolo Bonzini
parent 877fb3cb41
commit 6bbec498e5
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org>
Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/14522
* configure.in: Cope with shell that do not support nesting
quotes inside quoted backquote substitutions.
* configure: Regenerate.
2004-03-10 Andrew Pinski <pinskia@physics.uc.edu> 2004-03-10 Andrew Pinski <pinskia@physics.uc.edu>
PR bootstrap/14522 PR bootstrap/14522

6
configure vendored
View File

@ -2272,13 +2272,13 @@ if test -d ${srcdir}/gcc; then
eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\" ;; eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\" ;;
*) *)
new_enable_languages="$new_enable_languages,$language" new_enable_languages="$new_enable_languages,$language"
missing_languages="`echo "$missing_languages" | sed "s/,$language,/,/"`" ;; missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"` ;;
esac esac
;; ;;
esac esac
done done
missing_languages="`echo "$missing_languages" | sed -e s/^,// -e s/,\$//`" missing_languages=`echo "$missing_languages" | sed -e s/^,// -e s/,\$//`
if test "x$missing_languages" != x; then if test "x$missing_languages" != x; then
{ echo "configure: error: { echo "configure: error:
The following requested languages were not found: ${missing_languages}" 1>&2; exit 1; } The following requested languages were not found: ${missing_languages}" 1>&2; exit 1; }
@ -2288,7 +2288,7 @@ The following requested languages were not found: ${missing_languages}" 1>&2; ex
echo The following languages will be built: ${new_enable_languages} echo The following languages will be built: ${new_enable_languages}
fi fi
enable_languages="$new_enable_languages" enable_languages="$new_enable_languages"
ac_configure_args="`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[^ ]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `" ac_configure_args=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[^ ]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `
fi fi
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs and # Remove the entries in $skipdirs and $noconfigdirs from $configdirs and

View File

@ -1171,13 +1171,13 @@ if test -d ${srcdir}/gcc; then
eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\" ;; eval noconfigdirs='"$noconfigdirs "'\"$target_libs $lang_dirs\" ;;
*) *)
new_enable_languages="$new_enable_languages,$language" new_enable_languages="$new_enable_languages,$language"
missing_languages="`echo "$missing_languages" | sed "s/,$language,/,/"`" ;; missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"` ;;
esac esac
;; ;;
esac esac
done done
missing_languages="`echo "$missing_languages" | sed -e s/^,// -e s/,\$//`" missing_languages=`echo "$missing_languages" | sed -e s/^,// -e s/,\$//`
if test "x$missing_languages" != x; then if test "x$missing_languages" != x; then
AC_MSG_ERROR([ AC_MSG_ERROR([
The following requested languages were not found: ${missing_languages}]) The following requested languages were not found: ${missing_languages}])
@ -1187,7 +1187,7 @@ The following requested languages were not found: ${missing_languages}])
echo The following languages will be built: ${new_enable_languages} echo The following languages will be built: ${new_enable_languages}
fi fi
enable_languages="$new_enable_languages" enable_languages="$new_enable_languages"
ac_configure_args="`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[[^ ]]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `" ac_configure_args=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[[^ ]]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `
fi fi
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs and # Remove the entries in $skipdirs and $noconfigdirs from $configdirs and