File: configure.in

package info (click to toggle)
francine 0.99.8%2Borig-2.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 620 kB
  • sloc: ansic: 2,375; sh: 330; makefile: 15
file content (40 lines) | stat: -rw-r--r-- 932 bytes parent folder | download | duplicates (4)
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
37
38
39
40
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/after_login.c)

AM_INIT_AUTOMAKE(francine,0.99.8)

AM_CONFIG_HEADER(src/config.h)

dnl some hacks...

test "$prefix" = "NONE" && prefix="/usr"
test "$prefix" = "/usr" && exec_prefix=""
test "CFLAGS" = "" && CFLAGS="-O2 -Wall"

dnl Checks for programs.

AC_PROG_CC
AC_PROG_INSTALL

dnl Checks for libraries.

AC_CHECK_LIB(slang,SLang_init_all)
AC_CHECK_LIB(pam,pam_end)
AC_CHECK_LIB(crypt,crypt)

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h malloc.h syslog.h unistd.h lastlog.h security/pam_appl.h shadow.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_UID_T
AC_TYPE_PID_T
AC_STRUCT_TM

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(putenv uname updwtmp)

AC_OUTPUT(Makefile src/Makefile etc/Makefile example/Makefile example/default.theme/Makefile)