1dnl Process this file with autoconf to produce a configure script.
2AC_INIT
3AC_CONFIG_SRCDIR([src/rename_unlink.c])
4AM_INIT_AUTOMAKE(srm, 1.2.8/Apple-6)
5AM_CONFIG_HEADER(config.h)
6
7dnl Checks for programs.
8AC_PROG_CC
9AC_PROG_INSTALL
10AC_PROG_RANLIB
11
12dnl Checks for header files.
13AC_HEADER_STDC
14AC_CHECK_HEADERS(linux/ext2_fs.h sys/vfs.h sys/param.h sys/mount.h varargs.h stdarg.h)
15
16dnl Checks for typedefs, structures, and compiler characteristics.
17AC_C_CONST
18AC_DIAGNOSE([obsolete],[AC_STRUCT_ST_BLKSIZE:
19        your code should no longer depend upon `HAVE_ST_BLKSIZE', but
20        `HAVE_STRUCT_STAT_ST_BLKSIZE'.  Remove this warning and
21        the `AC_DEFINE' when you adjust the code.])
22AC_CHECK_MEMBERS([struct stat.st_blksize],[AC_DEFINE(HAVE_ST_BLKSIZE, 1,
23                            [Define to 1 if your `struct stat' has
24                             `st_blksize'.  Deprecated, use
25                             `HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
26
27
28dnl Checks for library functions.
29AC_CHECK_FUNCS(fts_open nftw fdatasync chflags snprintf vsnprintf)
30
31AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile lib/Makefile srm.spec])
32AC_OUTPUT
33