This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
# -*- Autoconf -*- |
| 2 |
# Process this file with autoconf to produce a configure script. |
| 3 |
|
| 4 |
AC_PREREQ([2.65]) |
| 5 |
AC_INIT([InitNG], [0.7-GIT], [http://initng.sourceforge.net/trac]) |
| 6 |
|
| 7 |
AC_CONFIG_FILES([config.jam]) |
| 8 |
AC_CONFIG_HEADERS([config.h initng-paths.h]) |
| 9 |
|
| 10 |
# Checks for programs. |
| 11 |
AC_PROG_CC |
| 12 |
|
| 13 |
# Checks for libraries. |
| 14 |
|
| 15 |
# Checks for header files. |
| 16 |
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h shadow.h stddef.h stdint.h stdlib.h string.h sys/file.h sys/ioctl.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h utmp.h]) |
| 17 |
|
| 18 |
# Checks for typedefs, structures, and compiler characteristics. |
| 19 |
AC_C_INLINE |
| 20 |
AC_TYPE_PID_T |
| 21 |
AC_TYPE_SIZE_T |
| 22 |
AC_TYPE_SSIZE_T |
| 23 |
AC_CHECK_MEMBERS([struct stat.st_rdev]) |
| 24 |
AC_HEADER_STDBOOL |
| 25 |
AC_TYPE_UINT32_T |
| 26 |
|
| 27 |
# Checks for library functions. |
| 28 |
AC_FUNC_FORK |
| 29 |
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK |
| 30 |
AC_HEADER_MAJOR |
| 31 |
AC_FUNC_MALLOC |
| 32 |
AC_FUNC_REALLOC |
| 33 |
AC_CHECK_FUNCS([alarm dup2 getcwd getspnam gettimeofday memmove memset mkdir mkfifo putenv select setenv socket strchr strcspn strdup strerror strncasecmp strrchr strstr strtol]) |
| 34 |
|
| 35 |
# Checks for addional, third-party libraries |
| 36 |
PKG_PROG_PKG_CONFIG |
| 37 |
PKG_CHECK_MODULES([DBUS], [dbus-1]) |
| 38 |
|
| 39 |
AC_OUTPUT_INSTALLDIRS |
| 40 |
AC_OUTPUT |