This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed.


On Wed, Feb 06, 2002 at 04:27:34PM -0500, Edwin Bates wrote:
> Hi Zack,
> 
> I'm sorry that I couldn't get this to you before now, but I have the results
> you asked for.  Again, this is ./gcc/configure.

I'm now thinking this might be a shell bug.  Please try the following
patch (you'll need to regenerate configure after using it).

zw

===================================================================
Index: configure.in
--- configure.in	2002/01/10 22:21:36	1.576
+++ configure.in	2002/02/08 18:20:58
@@ -2057,14 +2057,15 @@ changequote(,)dnl
 	  *) add_this_lang=no ;;
 	  esac
 	  if test x"${add_this_lang}" = xyes; then
+		subdir=`echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`
 		case $lang in
 		    ${srcdir}/ada/config-lang.in)
 			if test x$have_gnat = xyes ; then
-				subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
+				subdirs="$subdirs $subdir"
 			fi
 			;;
 		    *)
-			subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
+			subdirs="$subdirs $subdir"
 			;;
 		esac
 	  fi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]