[PATCH 22/57][Arm][GAS] Add support for MVE instructions: vmlaldav, vmlalv, vmlsldav...
[binutils-gdb.git] / sim / igen / configure.ac
blobf03d8b785d3e69ebef4acb23c746b1158902e7a6
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(table.h)
3 sinclude(../common/acinclude.m4)
5 AC_PROG_INSTALL
6 AC_PROG_CC
8 SIM_AC_OPTION_WARNINGS
10 # Put a plausible default for CC_FOR_BUILD in Makefile.
11 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
12   AR_FOR_BUILD='$(AR)'
13   AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
14   CC_FOR_BUILD='$(CC)'
15   CFLAGS_FOR_BUILD='$(CFLAGS)'
16   RANLIB_FOR_BUILD='$(RANLIB)'
17   LIBIBERTY_LIB=../../libiberty/libiberty.a
18 else
19   AR_FOR_BUILD=${AR_FOR_BUILD-ar}
20   AR_FLAGS_FOR_BUILD=${AR_FLAGS_FOR_BUILD-rc}
21   CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
22   CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"}
23   RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
24   LIBIBERTY_LIB=
28 AC_CANONICAL_SYSTEM
29 AC_ARG_PROGRAM
31 . ${srcdir}/../../bfd/configure.host
33 AC_CONFIG_HEADER(config.h:config.in)
35 AC_CHECK_HEADERS(stdlib.h string.h strings.h sys/stat.h sys/types.h unistd.h)
36 AC_HEADER_DIRENT
38 AC_SUBST(AR_FOR_BUILD)
39 AC_SUBST(AR_FLAGS_FOR_BUILD)
40 AC_SUBST(CC_FOR_BUILD)
41 AC_SUBST(CFLAGS_FOR_BUILD)
42 AC_SUBST(RANLIB_FOR_BUILD)
43 AC_SUBST(LIBIBERTY_LIB)
45 AC_SUBST(AR)
46 AC_SUBST(CFLAGS)
47 AC_PROG_RANLIB
49 AC_OUTPUT(Makefile,
50 [case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])