]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/rx/configure.ac
sim: rl78/rx: drop unnecessary getopt.h probing
[thirdparty/binutils-gdb.git] / sim / rx / configure.ac
index 35638b2288a69eb69f97020412082393bd3d7570..5d1076834c1d9512533532dcc051a39911fdbde9 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-dnl Copyright (C) 2005-2014 Free Software Foundation, Inc.
+dnl Copyright (C) 2005-2021 Free Software Foundation, Inc.
 dnl Contributed by Red Hat, Inc.
 dnl 
 dnl This file is part of the GNU simulators.
@@ -18,23 +18,22 @@ 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.64)dnl
 AC_INIT(Makefile.in)
-sinclude(../common/acinclude.m4)
+AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
 
 SIM_AC_COMMON
 
-AC_CHECK_HEADERS(getopt.h)
-
 AC_ARG_ENABLE(cycle-accurate,
-[  --disable-cycle-accurate ],
+[AS_HELP_STRING([--disable-cycle-accurate],
+               [Disable cycle accurate simulation (faster runtime)])],
 [case "${enableval}" in
 yes | no) ;;
 *)     AC_MSG_ERROR(bad value ${enableval} given for --enable-cycle-accurate option) ;;
 esac])
 
 AC_ARG_ENABLE(cycle-stats,
-[  --disable-cycle-stats ],
+[AS_HELP_STRING([--disable-cycle-stats],
+               [Disable cycle statistics (faster runtime)])],
 [case "${enableval}" in
 yes | no) ;;
 *)     AC_MSG_ERROR(bad value ${enableval} given for --enable-cycle-stats option) ;;