This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
PATCH: Tighten pattern for extracting DEPRECATED_TM_FILE from fragment
- From: Jim Blandy <jimb at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 08 Jan 2007 14:56:48 -0800
- Subject: 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