diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-03-26 15:40:00 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-03-26 15:40:00 +0000 |
commit | 5bd8253dbb48e833946cae3a4fda58037b1f0b48 (patch) | |
tree | a90df6ffd6859b5f85be780e25f27278b0ac8767 /bfd/configure | |
parent | d52fb0e920a7aaf9c04d5f4741b1ad1510c18c69 (diff) | |
download | gdb-5bd8253dbb48e833946cae3a4fda58037b1f0b48.zip gdb-5bd8253dbb48e833946cae3a4fda58037b1f0b48.tar.gz gdb-5bd8253dbb48e833946cae3a4fda58037b1f0b48.tar.bz2 |
2007-03-26 H.J. Lu <hongjiu.lu@intel.com>
* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first
when setting REPORT_BUGS_TEXI.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-x | bfd/configure | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/bfd/configure b/bfd/configure index b32160b..97a0d3d 100755 --- a/bfd/configure +++ b/bfd/configure @@ -4415,18 +4415,25 @@ if test "${with_bugurl+set}" = set; then yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5 echo "$as_me: error: bug URL not specified" >&2;} { (exit 1); exit 1; }; } ;; - no) REPORT_BUGS_TO=""; - REPORT_BUGS_TEXI="" + no) BUGURL= ;; - *) REPORT_BUGS_TO="<$withval>" - REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}" + *) BUGURL="$withval" ;; esac else - REPORT_BUGS_TO="<http://www.sourceware.org/bugzilla/>" - REPORT_BUGS_TEXI="@uref{`echo http://www.sourceware.org/bugzilla/ | sed 's/@/@@/g'`}" + BUGURL="http://www.sourceware.org/bugzilla/" fi; + case ${BUGURL} in + "") + REPORT_BUGS_TO= + REPORT_BUGS_TEXI= + ;; + *) + REPORT_BUGS_TO="<$BUGURL>" + REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`} + ;; + esac; |