===================================================================
@@ -140,6 +140,8 @@
# Package versions and bug reporting configuration.
PKGVERSION = @PKGVERSION@
+PKGVERSION_TEXI = @PKGVERSION_TEXI@
REPORT_BUGS_TO = @REPORT_BUGS_TO@
+REPORT_BUGS_TEXI = @REPORT_BUGS_TEXI@
# More variables may be inserted below by configure.
===================================================================
@@ -131,7 +131,9 @@
esac],
PKGVERSION="($1) "
)
+ PKGVERSION_TEXI=`echo "$PKGVERSION" | sed 's/@/@@/g'`
AC_SUBST(PKGVERSION)
+ AC_SUBST(PKGVERSION_TEXI)
])
dnl Support the --with-bugurl configure option.
===================================================================
@@ -116,9 +116,8 @@
# Package version and bug reporting URL.
pkgvers.texi: stamp-pkgvers
stamp-pkgvers:
- echo "@set PKGVERSION $(subst @,@@,$(PKGVERSION))" > pkgvers-tmp
- echo "@set REPORT_BUGS_TO $(subst @,@@,$(REPORT_BUGS_TO))" \
- >> pkgvers-tmp
+ echo "@set PKGVERSION $(PKGVERSION_TEXI)" > pkgvers-tmp
+ echo "@set REPORT_BUGS_TO $(REPORT_BUGS_TEXI)" >> pkgvers-tmp
$(move-if-change) pkgvers-tmp pkgvers.texi
touch $@
===================================================================
@@ -733,6 +733,7 @@
libc_cv_nss_crypt
REPORT_BUGS_TEXI
REPORT_BUGS_TO
+PKGVERSION_TEXI
PKGVERSION
all_warnings
force_install
@@ -3831,10 +3832,12 @@
fi
+ PKGVERSION_TEXI=`echo "$PKGVERSION" | sed 's/@/@@/g'`
+
# Check whether --with-bugurl was given.
if test "${with_bugurl+set}" = set; then
withval=$with_bugurl; case "$withval" in
===================================================================
@@ -1,3 +1,11 @@
+2011-10-12 Michael Hope <michael.hope@linaro.org>
+
+ * aclocal.m4 (PKGVERSION_TEXI): Define.
+ * config.make.in (PKGVERSION_TEXI, REPORT_BUGS_TEXI): Define.
+ * manual/Makefile (stamp-pkgvers): Use PKGVERSION_TEXI and
+ REPORT_BUGS_TEXI.
+ * configure: Regenerate.
+
2011-10-07 Michael Hope <michael.hope@linaro.org>
* manual/Makefile (stamp-pkgvers): Escape PKGVERSION. Fix the