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.
This commit is contained in:
parent
a37bc48dca
commit
033320b317
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
|
2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
|
* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
|
||||||
|
@ -577,16 +577,23 @@ AC_DEFUN([ACX_BUGURL],[
|
|||||||
[Direct users to URL to report a bug]),
|
[Direct users to URL to report a bug]),
|
||||||
[case "$withval" in
|
[case "$withval" in
|
||||||
yes) AC_MSG_ERROR([bug URL not specified]) ;;
|
yes) AC_MSG_ERROR([bug URL not specified]) ;;
|
||||||
no) REPORT_BUGS_TO="";
|
no) BUGURL=
|
||||||
REPORT_BUGS_TEXI=""
|
|
||||||
;;
|
;;
|
||||||
*) REPORT_BUGS_TO="<$withval>"
|
*) BUGURL="$withval"
|
||||||
REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
|
|
||||||
;;
|
;;
|
||||||
esac],
|
esac],
|
||||||
REPORT_BUGS_TO="<$1>"
|
BUGURL="$1"
|
||||||
REPORT_BUGS_TEXI="@uref{`echo $1 | sed 's/@/@@/g'`}"
|
|
||||||
)
|
)
|
||||||
|
case ${BUGURL} in
|
||||||
|
"")
|
||||||
|
REPORT_BUGS_TO=
|
||||||
|
REPORT_BUGS_TEXI=
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
REPORT_BUGS_TO="<$BUGURL>"
|
||||||
|
REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
|
||||||
|
;;
|
||||||
|
esac;
|
||||||
AC_SUBST(REPORT_BUGS_TO)
|
AC_SUBST(REPORT_BUGS_TO)
|
||||||
AC_SUBST(REPORT_BUGS_TEXI)
|
AC_SUBST(REPORT_BUGS_TEXI)
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user