From: Ross Burton <[email protected]>

The bug report field is passed unquoted to m4_define which causes
problems if it contains values such as ',' (as seen in gmp).

Ensure that the value is correctly quoted to solve this.
---
 lib/autoconf/general.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 1488df4d..40464989 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -260,7 +260,7 @@ m4_ifndef([AC_PACKAGE_STRING],
          [m4_define([AC_PACKAGE_STRING],
                     m4_defn([_ac_init_NAME])[ ]m4_defn([_ac_init_VERSION]))])
 m4_ifndef([AC_PACKAGE_BUGREPORT],
-         [m4_define([AC_PACKAGE_BUGREPORT], _ac_init_BUGREPORT)])
+         [m4_define([AC_PACKAGE_BUGREPORT], m4_defn([_ac_init_BUGREPORT]))])
 m4_ifndef([AC_PACKAGE_TARNAME],
          [m4_define([AC_PACKAGE_TARNAME],
                     m4_default(m4_defn([_ac_init_TARNAME]),
-- 
2.28.0


Reply via email to