e2d53bcc7ca92262fa84346f40f0a2b698e94432
[deliverable/binutils-gdb.git] / sim / bfin / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(Makefile.in)
3 AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
4
5 SIM_AC_COMMON
6
7 SIM_AC_OPTION_ENDIAN(LITTLE)
8 SIM_AC_OPTION_DEFAULT_MODEL(bf537)
9 SIM_AC_OPTION_WARNINGS
10 SIM_AC_OPTION_HARDWARE(\
11 bfin_cec \
12 bfin_ctimer \
13 bfin_dma \
14 bfin_dmac \
15 bfin_ebiu_amc \
16 bfin_ebiu_ddrc \
17 bfin_ebiu_sdc \
18 bfin_emac \
19 bfin_eppi \
20 bfin_evt \
21 bfin_gpio \
22 bfin_gpio2 \
23 bfin_gptimer \
24 bfin_jtag \
25 bfin_mmu \
26 bfin_nfc \
27 bfin_otp \
28 bfin_pfmon \
29 bfin_pint \
30 bfin_pll \
31 bfin_ppi \
32 bfin_rtc \
33 bfin_sic \
34 bfin_spi \
35 bfin_trace \
36 bfin_twi \
37 bfin_uart \
38 bfin_uart2 \
39 bfin_wdog \
40 bfin_wp \
41 eth_phy \
42 )
43
44 PKG_PROG_PKG_CONFIG
45 PKG_CHECK_MODULES(SDL, sdl, [
46 AC_CHECK_LIB(dl, dlopen, [
47 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
48 SDL_LIBS="-ldl"
49 ], [SDL_CFLAGS= SDL_LIBS=])
50 ], [:])
51 AC_SUBST(SDL_CFLAGS)
52 AC_SUBST(SDL_LIBS)
53
54 SIM_AC_OUTPUT
This page took 0.047948 seconds and 3 git commands to generate.