]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/bfin/configure.ac
sim: delete SIM_AC_COMMON macro
[thirdparty/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_OPTION_DEFAULT_MODEL(bf537)
6 SIM_AC_OPTION_HARDWARE(\
7 bfin_cec \
8 bfin_ctimer \
9 bfin_dma \
10 bfin_dmac \
11 bfin_ebiu_amc \
12 bfin_ebiu_ddrc \
13 bfin_ebiu_sdc \
14 bfin_emac \
15 bfin_eppi \
16 bfin_evt \
17 bfin_gpio \
18 bfin_gpio2 \
19 bfin_gptimer \
20 bfin_jtag \
21 bfin_mmu \
22 bfin_nfc \
23 bfin_otp \
24 bfin_pfmon \
25 bfin_pint \
26 bfin_pll \
27 bfin_ppi \
28 bfin_rtc \
29 bfin_sic \
30 bfin_spi \
31 bfin_trace \
32 bfin_twi \
33 bfin_uart \
34 bfin_uart2 \
35 bfin_wdog \
36 bfin_wp \
37 eth_phy \
38 )
39
40 PKG_PROG_PKG_CONFIG
41 PKG_CHECK_MODULES(SDL, sdl, [
42 AC_CHECK_LIB(dl, dlopen, [
43 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
44 SDL_LIBS="-ldl"
45 ], [SDL_CFLAGS= SDL_LIBS=])
46 ], [:])
47 AC_SUBST(SDL_CFLAGS)
48 AC_SUBST(SDL_LIBS)
49
50 SIM_AC_OUTPUT