diff --git a/ChangeLog b/ChangeLog index 1ea9af396..071456642 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-27 Daniel Jacobowitz + + * configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET. + * configure: Regenerate. + 2004-05-25 Daniel Jacobowitz * Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS) diff --git a/configure b/configure index 580c9165d..765022877 100755 --- a/configure +++ b/configure @@ -3352,7 +3352,7 @@ elif test -d ${srcdir}/gcc; then elif test "$host" = "$target"; then GFORTRAN_FOR_TARGET='gfortran' else - GFORTRAN_FOR_TARGET=`echo gfortran | sed -e 's/x/x/' ${program_transform_name}` + GFORTRAN_FOR_TARGET=`echo gfortran | sed "${program_transform_name}"` fi case $GFORTRAN_FOR_TARGET in *' $(FLAGS_FOR_TARGET)') ;; diff --git a/configure.in b/configure.in index 42f7beacc..3d7538459 100644 --- a/configure.in +++ b/configure.in @@ -2033,7 +2033,7 @@ elif test -d ${srcdir}/gcc; then elif test "$host" = "$target"; then GFORTRAN_FOR_TARGET='gfortran' else - GFORTRAN_FOR_TARGET=`echo gfortran | sed -e 's/x/x/' ${program_transform_name}` + GFORTRAN_FOR_TARGET=`echo gfortran | sed "${program_transform_name}"` fi case $GFORTRAN_FOR_TARGET in *' $(FLAGS_FOR_TARGET)') ;;