This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

PATCH: Tighten pattern for extracting DEPRECATED_TM_FILE from fragment


Committed as obvious.

gdb/ChangeLog:
2007-01-08  Jim Blandy  <jimb@codesourcery.com>

	* configure.ac: Tighten pattern for extracting value of
	DEPRECATED_TM_FILE from the target makefile fragment.
	* configure: Regenerated.

Index: gdb/configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.38
diff -u -r1.38 configure.ac
--- gdb/configure.ac	4 Jan 2007 19:42:10 -0000	1.38
+++ gdb/configure.ac	8 Jan 2007 22:54:45 -0000
@@ -1462,7 +1462,7 @@
 ' ${host_makefile_frag}`
 
 targetfile=`sed -n '
-s/DEPRECATED_TM_FILE[ 	]*=[ 	]*\([^ 	]*\)/\1/p
+s/^[ 	]*DEPRECATED_TM_FILE[ 	]*=[ 	]*\([^ 	]*\)/\1/p
 ' ${target_makefile_frag}`
 
 if test "${gdb_native}" = "yes"; then


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