aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
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/m4
parent04381273a9ea0cf30575d58983287cd950b3e166 (diff)
downloadgdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.zip
gdb-6dd65fc048dbe167b809f687acc6228eb07ecec6.tar.gz
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/m4')
-rw-r--r--sim/m4/sim_ac_common.m412
1 files changed, 0 insertions, 12 deletions
diff --git a/sim/m4/sim_ac_common.m4 b/sim/m4/sim_ac_common.m4
index 0f687dc..e8385c2 100644
--- a/sim/m4/sim_ac_common.m4
+++ b/sim/m4/sim_ac_common.m4
@@ -24,13 +24,6 @@ AC_DEFUN([SIM_AC_COMMON],
SIM_AC_TOOLCHAIN
AC_CONFIG_HEADERS([config.h:config.in])
-# Some of the common include files depend on bfd.h, and bfd.h checks
-# that config.h is included first by testing that the PACKAGE macro
-# is defined.
-PACKAGE=sim
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ])
-AC_SUBST(PACKAGE)
-
# Dependency checking.
ZW_CREATE_DEPDIR
ZW_PROG_COMPILER_DEPENDENCIES([CC])
@@ -60,11 +53,6 @@ AM_MAINTAINER_MODE
SIM_AC_OPTION_INLINE
-ACX_PKGVERSION([SIM])
-ACX_BUGURL([https://www.gnu.org/software/gdb/bugs/])
-AC_DEFINE_UNQUOTED([PKGVERSION], ["$PKGVERSION"], [Additional package description])
-AC_DEFINE_UNQUOTED([REPORT_BUGS_TO], ["$REPORT_BUGS_TO"], [Bug reporting address])
-
dnl Detect exe extension
AC_EXEEXT
]) dnl End of SIM_AC_COMMON