File: configure.in

package info (click to toggle)
wraplinux 1.7-10
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 424 kB
  • sloc: ansic: 1,552; asm: 427; perl: 155; sh: 152; makefile: 88
file content (45 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (3)
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
41
42
43
44
45
dnl
dnl autoconf input file to generate MCONFIG
dnl

AC_INIT
AC_PREREQ(2.61)
AC_PREFIX_DEFAULT(/usr)

AC_PROG_CC
AC_USE_SYSTEM_EXTENSIONS
AC_ISC_POSIX
AC_SYS_LARGEFILE
AC_C_CONST
AC_C_INLINE

PA_ADD_CFLAGS(-Wall)
PA_ADD_CFLAGS(-W)
PA_ADD_CFLAGS(-Wpointer-arith)
PA_ADD_CFLAGS(-Wbad-function-cast)
PA_ADD_CFLAGS(-Wcast-equal)
PA_ADD_CFLAGS(-Wstrict-prototypes)
PA_ADD_CFLAGS(-Wmissing-prototypes)
PA_ADD_CFLAGS(-Wmissing-declarations)
PA_ADD_CFLAGS(-Wnested-externs)
PA_ADD_CFLAGS(-Winline)
PA_ADD_CFLAGS(-Wshadow)
PA_ADD_CFLAGS(-Wcast-align)
PA_ADD_CFLAGS(-pipe)

AC_CHECK_HEADERS(inttypes.h)
AC_CHECK_HEADERS(sysexits.h)
AC_CHECK_HEADERS(getopt.h)

AC_SEARCH_LIBS(getopt_long, [getopt getopt_long])
AC_CHECK_FUNCS(getopt_long)
AH_TEMPLATE([HAVE_GETOPT_LONG],
	[Define to 1 if you have the `getopt_long' function])

AC_PROG_SED
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_MKDIR_P

AC_CONFIG_HEADER(config.h)
AC_OUTPUT(MCONFIG)