File: configure.in

package info (click to toggle)
nwall 1.32+debian-4.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 352 kB
  • ctags: 89
  • sloc: sh: 3,198; ansic: 476; makefile: 79
file content (32 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (5)
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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/defines.h)
AM_INIT_AUTOMAKE(nwall,1.32)
AM_CONFIG_HEADER(config.h)
AC_LANG_C

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

dnl Checks for libraries.
dnl Replace `main' with a function in -lreadline:
AC_CHECK_LIB(readline, add_history)

dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h paths.h unistd.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(strerror)

dnl allow non-root to build
AC_ARG_WITH(setuid, [  --without-setuid   do not chmod or chown nwall])
AM_CONDITIONAL(SETUID, test x"$with_setuid" != xno)

AC_OUTPUT(Makefile src/Makefile)