This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: A question on ACX_BUGURL


On Fri, Mar 23, 2007 at 04:57:03PM +0000, Joseph S. Myers wrote:
> On Fri, 23 Mar 2007, H. J. Lu wrote:
> 
> > It assumes there is no @ in $1. Shouldn't be
> > 
> >      REPORT_BUGS_TEXI="@uref{`echo $1 | sed 's/@/@@/g'`}"
> 
> Feel free to refine it.  It's just there are about three possible users of 
> these macros in the GCC and src trees and I expected them all to wish to 
> use a bug database or instructions URL not containing '@' as the default.
> 

I am applying this patch and will regeneate bfd/configure.

H.J.
----
2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>

	* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
	REPORT_BUGS_TEXI.

--- config/acx.m4.url	2007-03-23 09:35:15.000000000 -0700
+++ config/acx.m4	2007-03-23 09:49:08.000000000 -0700
@@ -585,7 +585,7 @@ AC_DEFUN([ACX_BUGURL],[
 	   ;;
      esac],
      REPORT_BUGS_TO="<$1>"
-     REPORT_BUGS_TEXI="@uref{$1}"
+     REPORT_BUGS_TEXI="@uref{`echo $1 | sed 's/@/@@/g'`}"
   )
   AC_SUBST(REPORT_BUGS_TO)
   AC_SUBST(REPORT_BUGS_TEXI)


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