configure.ac revision 036d45e551ca5405c726f8ccb51f446620cd4af4
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4AC_PREREQ([2.68])
5AC_INIT([F2FS tools], [1.0.0], [TBD])
6AM_INIT_AUTOMAKE
7AC_CONFIG_SRCDIR([mkfs/f2fs_format.c])
8AC_CONFIG_HEADERS([config.h])
9
10# Checks for programs.
11AC_PROG_CC
12
13# Checks for libraries.
14
15# Checks for header files.
16AC_CHECK_HEADERS([fcntl.h mntent.h stdlib.h string.h sys/ioctl.h sys/mount.h unistd.h])
17
18# Checks for typedefs, structures, and compiler characteristics.
19AC_C_INLINE
20AC_TYPE_INT32_T
21AC_TYPE_INT8_T
22AC_TYPE_SIZE_T
23
24# Checks for library functions.
25AC_FUNC_GETMNTENT
26AC_CHECK_FUNCS([getmntent memset])
27
28AC_CONFIG_FILES([Makefile
29                 man/Makefile
30                 mkfs/Makefile])
31AC_OUTPUT
32