[PATCH 26/57][Arm][GAS] Add support for MVE instructions: vpnot and vpsel
[binutils-gdb.git] / sim / bfin / configure.ac
blob44b9952c75b82e3434b47f2d88e953cf1f5c7e06
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(Makefile.in)
3 sinclude(../common/acinclude.m4)
5 SIM_AC_COMMON
7 SIM_AC_OPTION_ENDIAN(LITTLE)
8 SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT,STRICT_ALIGNMENT)
9 SIM_AC_OPTION_DEFAULT_MODEL(bf537)
10 SIM_AC_OPTION_WARNINGS
11 SIM_AC_OPTION_HARDWARE(yes,,\
12         bfin_cec \
13         bfin_ctimer \
14         bfin_dma \
15         bfin_dmac \
16         bfin_ebiu_amc \
17         bfin_ebiu_ddrc \
18         bfin_ebiu_sdc \
19         bfin_emac \
20         bfin_eppi \
21         bfin_evt \
22         bfin_gpio \
23         bfin_gpio2 \
24         bfin_gptimer \
25         bfin_jtag \
26         bfin_mmu \
27         bfin_nfc \
28         bfin_otp \
29         bfin_pfmon \
30         bfin_pint \
31         bfin_pll \
32         bfin_ppi \
33         bfin_rtc \
34         bfin_sic \
35         bfin_spi \
36         bfin_trace \
37         bfin_twi \
38         bfin_uart \
39         bfin_uart2 \
40         bfin_wdog \
41         bfin_wp \
42         eth_phy \
45 AC_CHECK_FUNCS([getuid getgid geteuid getegid setuid setgid mmap munmap kill pread])
46 AC_CHECK_HEADERS([ \
47         linux/if_tun.h \
48         linux/mii.h \
49         linux/types.h \
50         net/if.h \
51         sys/ioctl.h \
52         sys/mman.h \
55 PKG_PROG_PKG_CONFIG
56 PKG_CHECK_MODULES(SDL, sdl, [
57         AC_CHECK_LIB(dl, dlopen, [
58                 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
59                 SDL_LIBS="-ldl"
60                 ], [SDL_CFLAGS= SDL_LIBS=])
61         ], [:])
62 AC_SUBST(SDL_CFLAGS)
63 AC_SUBST(SDL_LIBS)
65 SIM_AC_OUTPUT