1 dnl Process this file with autoconf to produce a configure script.
3 sinclude(../common/acinclude.m4)
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,,\
45 AC_CHECK_FUNCS([getuid getgid geteuid getegid setuid setgid mmap munmap kill pread])
56 PKG_CHECK_MODULES(SDL, sdl, [
57 AC_CHECK_LIB(dl, dlopen, [
58 SDL_CFLAGS="${SDL_CFLAGS} -DHAVE_SDL"
60 ], [SDL_CFLAGS= SDL_LIBS=])