gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / sim / igen / configure.ac
CommitLineData
c906108c 1dnl Process this file with autoconf to produce a configure script.
c906108c 2AC_INIT(table.h)
9c082ca8 3sinclude(../common/acinclude.m4)
c906108c
SS
4
5AC_PROG_INSTALL
6AC_PROG_CC
7
8SIM_AC_OPTION_WARNINGS
9
10# Put a plausible default for CC_FOR_BUILD in Makefile.
11if 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
18else
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=
25fi
26
27
c906108c
SS
28AC_CANONICAL_SYSTEM
29AC_ARG_PROGRAM
30
31. ${srcdir}/../../bfd/configure.host
32
33AC_CONFIG_HEADER(config.h:config.in)
34
35AC_CHECK_HEADERS(stdlib.h string.h strings.h sys/stat.h sys/types.h unistd.h)
36AC_HEADER_DIRENT
37
38AC_SUBST(AR_FOR_BUILD)
39AC_SUBST(AR_FLAGS_FOR_BUILD)
40AC_SUBST(CC_FOR_BUILD)
41AC_SUBST(CFLAGS_FOR_BUILD)
42AC_SUBST(RANLIB_FOR_BUILD)
43AC_SUBST(LIBIBERTY_LIB)
44
45AC_SUBST(AR)
46AC_SUBST(CFLAGS)
47AC_PROG_RANLIB
48
49AC_OUTPUT(Makefile,
50[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
This page took 0.898768 seconds and 4 git commands to generate.