block read/write function for kernel added
[guestos.git] / configure.in
blob9efe2314388fb66ce1a3abf0210be7ae1b9e8b43
1 AC_INIT
2 AM_INIT_AUTOMAKE(multi2sim, 3.0.2)
3 AM_PROG_AS
4 AC_PROG_CC
5 AC_PROG_CXX
6 AC_PROG_INSTALL
7 AC_PROG_RANLIB
9 # Checks for header files.
10 AC_HEADER_STDC
11 AC_HEADER_SYS_WAIT
12 AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h sys/ioctl.h sys/time.h termios.h unistd.h])
14 # Checks for typedefs, structures, and compiler characteristics.
15 AC_C_CONST
16 AC_TYPE_SIZE_T
17 AC_CHECK_MEMBERS([struct stat.st_blksize])
18 AC_STRUCT_ST_BLOCKS
19 AC_CHECK_MEMBERS([struct stat.st_rdev])
20 AC_HEADER_TIME
22 # Checks for library functions.
23 AC_PROG_GCC_TRADITIONAL
24 AC_FUNC_LSTAT
25 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
26 AC_FUNC_MALLOC
27 AC_FUNC_REALLOC
28 AC_TYPE_SIGNAL
29 AC_FUNC_STAT
30 AC_FUNC_VPRINTF
31 AC_CHECK_FUNCS([alarm bzero ftruncate getcwd gettimeofday mkdir strcasecmp strdup strstr])
32 AC_CHECK_LIB([pthread], [pthread_create], [LIBPTHREAD=true], [], [])
34 AC_CONFIG_FILES([Makefile
35                  src/Makefile
36                  src/libnetwork/Makefile
37                  src/libgpukernel/Makefile
38                  src/libgpudisasm/Makefile
39                  src/libcachesystem/Makefile
40                  src/libm2skernel/Makefile
41                  src/libdisasm/Makefile
42                  src/libesim/Makefile
43                  src/libmhandle/Makefile
44                  src/libopt/Makefile
45                  src/libstruct/Makefile
46                  src/libmisc/Makefile
47                  src/libutils/Makefile
48                  src/libfs/Makefile
49                  src/libfs/hostfs/Makefile
50                  src/libfs/bfs/Makefile
51                  src/libintr/Makefile
52                  src/libbio/Makefile
53                  ])
54 AC_OUTPUT