| 1 |
ferringb |
2 |
AC_PREREQ(2.59)
|
| 2 |
|
|
AC_INIT(sandbox, 1.1, dev-portage@gentoo.org)
|
| 3 |
|
|
AM_INIT_AUTOMAKE
|
| 4 |
|
|
AC_CONFIG_SRCDIR([canonicalize.c])
|
| 5 |
ferringb |
16 |
AC_CONFIG_HEADER([config.h])
|
| 6 |
ferringb |
2 |
|
| 7 |
|
|
# Checks for programs.
|
| 8 |
|
|
AC_PROG_CC
|
| 9 |
|
|
AC_PROG_LIBTOOL
|
| 10 |
|
|
|
| 11 |
|
|
AC_PREFIX_DEFAULT([/usr])
|
| 12 |
|
|
# Checks for libraries.
|
| 13 |
|
|
# Checks for header files.
|
| 14 |
|
|
AC_FUNC_ALLOCA
|
| 15 |
|
|
AC_HEADER_DIRENT
|
| 16 |
|
|
AC_HEADER_STDC
|
| 17 |
|
|
AC_HEADER_SYS_WAIT
|
| 18 |
|
|
AC_CHECK_HEADERS([fcntl.h limits.h memory.h stddef.h stdlib.h string.h strings.h sys/file.h sys/param.h sys/time.h unistd.h utime.h])
|
| 19 |
|
|
|
| 20 |
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
| 21 |
|
|
AC_C_CONST
|
| 22 |
|
|
AC_TYPE_UID_T
|
| 23 |
|
|
AC_TYPE_MODE_T
|
| 24 |
|
|
AC_TYPE_SIZE_T
|
| 25 |
|
|
AC_CHECK_TYPES([ptrdiff_t])
|
| 26 |
|
|
|
| 27 |
|
|
# Checks for library functions.
|
| 28 |
|
|
AC_FUNC_CHOWN
|
| 29 |
|
|
AC_FUNC_FORK
|
| 30 |
|
|
AC_FUNC_LSTAT
|
| 31 |
|
|
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
|
| 32 |
|
|
AC_FUNC_MALLOC
|
| 33 |
|
|
AC_FUNC_REALLOC
|
| 34 |
|
|
AC_TYPE_SIGNAL
|
| 35 |
|
|
AC_FUNC_STAT
|
| 36 |
|
|
AC_CHECK_FUNCS([bzero ftruncate getcwd lchown memmove mempcpy memset mkdir pathconf realpath rmdir setenv strcasecmp strchr strdup strerror strndup strrchr strspn strstr])
|
| 37 |
|
|
|
| 38 |
|
|
AC_CONFIG_FILES([Makefile])
|
| 39 |
|
|
AC_OUTPUT
|