aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-18 00:17:24 +0000
committerMike Frysinger <vapier@gentoo.org>2011-10-18 00:17:24 +0000
commit6ffe910a7e62888428dfe53168a5383dd3daf689 (patch)
treeac6b545b717a658b232a219a78f7533d437596d3 /sim/rx/configure.ac
parent783981cfd6e26ffa2eed01f42225e9518b07ed2c (diff)
downloadgdb-6ffe910a7e62888428dfe53168a5383dd3daf689.zip
gdb-6ffe910a7e62888428dfe53168a5383dd3daf689.tar.gz
gdb-6ffe910a7e62888428dfe53168a5383dd3daf689.tar.bz2
sim: move from common.m4 to SIM_AC_COMMON
Now that the sourceware tree generally requires autoconf-2.64, update the sim tree to require that too. This allows us to drop the long standing SIM_AC_COMMON/common.m4 workaround as autoconf 2.64+ seems to work for me. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/rx/configure.ac')
-rw-r--r--sim/rx/configure.ac14
1 files changed, 5 insertions, 9 deletions
diff --git a/sim/rx/configure.ac b/sim/rx/configure.ac
index d80a09f..19657c5 100644
--- a/sim/rx/configure.ac
+++ b/sim/rx/configure.ac
@@ -19,13 +19,14 @@ dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.
dnl
-AC_PREREQ(2.5)dnl
+AC_PREREQ(2.64)dnl
AC_INIT(Makefile.in)
-AC_CONFIG_HEADER(config.h:config.in)
-AC_CHECK_HEADERS(getopt.h)
-
sinclude(../common/aclocal.m4)
+SIM_AC_COMMON
+
+AC_CHECK_HEADERS(getopt.h)
+
AC_ARG_ENABLE(cycle-accurate,
[ --disable-cycle-accurate ],
[case "${enableval}" in
@@ -55,9 +56,4 @@ else
fi
fi
-
-# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around
-# it by inlining the macro's contents.
-sinclude(../common/common.m4)
-
SIM_AC_OUTPUT