File: configure.ac

package info (click to toggle)
rsh-redone 85-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 224 kB
  • sloc: ansic: 2,118; makefile: 74; sh: 11
file content (36 lines) | stat: -rw-r--r-- 988 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([rsh-redone], [82], [https://github.com/gsliepen/rsh-redone/issues])
AC_CONFIG_SRCDIR([rsh.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL

# Checks for libraries.
AC_CHECK_LIB([pam], [pam_set_item])
AC_CHECK_LIB([util], [openpty])

# Checks for header files.
AC_CHECK_HEADERS([fcntl.h netdb.h paths.h stdint.h sys/ioctl.h sys/socket.h syslog.h termios.h unistd.h utmp.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT16_T

# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_CHECK_FUNCS([dup2 ftruncate getpagesize memset mkdir munmap select socket strchr strdup strerror strrchr utime])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT