aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-06 20:48:46 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-12 20:24:08 -0400
commit6dd65fc048dbe167b809f687acc6228eb07ecec6 (patch)
tree6784f6a25e493296f4600ee94f1d5bcc3cf79da9 /sim/configure.ac
parent04381273a9ea0cf30575d58983287cd950b3e166 (diff)
downloadfsf-binutils-gdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.zip
fsf-binutils-gdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.tar.gz
fsf-binutils-gdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.tar.bz2
sim: unify bug & package settings
Move these options up to the common dir so we only test & export them once across all ports. The AC_INIT macro does a lot of the heavy lifting already which allows further simplification.
Diffstat (limited to 'sim/configure.ac')
-rw-r--r--sim/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/configure.ac b/sim/configure.ac
index d8c6f2d..8022a11 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -5,6 +5,13 @@ AC_INIT([sim], [0],
[https://sourceware.org/bugzilla/enter_bug.cgi?product=gdb&component=sim],
[], [https://sourceware.org/gdb/wiki/Sim/])
+dnl Probably should unify PKGVERSION with PACKAGE_* settings from AC_INIT.
+ACX_PKGVERSION([SIM])
+AC_DEFINE_UNQUOTED([PKGVERSION], ["$PKGVERSION"], [Additional package description])
+dnl PACKAGE_BUGREPORT is provided by AC_INIT.
+ACX_BUGURL([$PACKAGE_BUGREPORT])
+AC_DEFINE_UNQUOTED([REPORT_BUGS_TO], ["$REPORT_BUGS_TO"], [Bug reporting address])
+
AC_CONFIG_HEADERS([config.h])
SIM_AC_TOOLCHAIN