diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-17 13:48:08 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-06 12:00:42 -0500 |
commit | 7a36eeea266e41fba314ddaf27782abd903cf71e (patch) | |
tree | 529dd971bcb98eb535681868bb5118a9028726ef /sim/common | |
parent | aa09469fc64467d1748c6041befb55bbad9e2328 (diff) | |
download | gdb-7a36eeea266e41fba314ddaf27782abd903cf71e.zip gdb-7a36eeea266e41fba314ddaf27782abd903cf71e.tar.gz gdb-7a36eeea266e41fba314ddaf27782abd903cf71e.tar.bz2 |
sim: common: switch AC_CONFIG_HEADERS
The AC_CONFIG_HEADER macro is long deprecated, so switch to the
newer form. This also gets rid of the position limitation, and
drops support for an argument to SIM_AC_COMMON which we haven't
used anywhere.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/acinclude.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4 index 0ad2ca8..14663d3 100644 --- a/sim/common/acinclude.m4 +++ b/sim/common/acinclude.m4 @@ -21,8 +21,7 @@ sinclude([../../config/depstand.m4]) AC_DEFUN([SIM_AC_COMMON], [ AC_REQUIRE([AC_PROG_CC]) -# autoconf.info says this should be called right after AC_INIT. -AC_CONFIG_HEADER(ifelse([$1],,config.h,[$1]):config.in) +AC_CONFIG_HEADERS([config.h:config.in]) AC_CANONICAL_SYSTEM AC_USE_SYSTEM_EXTENSIONS AC_C_BIGENDIAN |