summaryrefslogtreecommitdiffstats
path: root/bfd/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-26 15:40:00 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-26 15:40:00 +0000
commit5bd8253dbb48e833946cae3a4fda58037b1f0b48 (patch)
treea90df6ffd6859b5f85be780e25f27278b0ac8767 /bfd/configure
parentd52fb0e920a7aaf9c04d5f4741b1ad1510c18c69 (diff)
downloadppe42-binutils-5bd8253dbb48e833946cae3a4fda58037b1f0b48.tar.gz
ppe42-binutils-5bd8253dbb48e833946cae3a4fda58037b1f0b48.zip
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-xbfd/configure19
1 files changed, 13 insertions, 6 deletions
diff --git a/bfd/configure b/bfd/configure
index b32160b85a..97a0d3d844 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;
OpenPOWER on IntegriCloud