summaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2007-03-26 15:40:00 +0000
committerH.J. Lu <hjl@lucon.org>2007-03-26 15:40:00 +0000
commitd11271f715291708dc177e0bd371dfd04bb39308 (patch)
tree7d3d1918ce7886f4693cad26fef84df095888cfd /bfd/configure
parenta4a146feee59e90bca8172258afafd38e17ccd28 (diff)
downloadgdb-d11271f715291708dc177e0bd371dfd04bb39308.tar.gz
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 b32160b85a3..97a0d3d844f 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;