man: --nbi, not --NBI
[wraplinux.git] / configure.in
1 dnl
2 dnl autoconf input file to generate MCONFIG
3 dnl
4
5 AC_INIT
6 AC_PREREQ(2.61)
7 AC_PREFIX_DEFAULT(/usr)
8
9 AC_PROG_CC
10 AC_USE_SYSTEM_EXTENSIONS
11 AC_ISC_POSIX
12 AC_SYS_LARGEFILE
13 AC_C_CONST
14 AC_C_INLINE
15
16 PA_ADD_CFLAGS(-Wall)
17 PA_ADD_CFLAGS(-W)
18 PA_ADD_CFLAGS(-Wpointer-arith)
19 PA_ADD_CFLAGS(-Wbad-function-cast)
20 PA_ADD_CFLAGS(-Wcast-equal)
21 PA_ADD_CFLAGS(-Wstrict-prototypes)
22 PA_ADD_CFLAGS(-Wmissing-prototypes)
23 PA_ADD_CFLAGS(-Wmissing-declarations)
24 PA_ADD_CFLAGS(-Wnested-externs)
25 PA_ADD_CFLAGS(-Winline)
26 PA_ADD_CFLAGS(-Wshadow)
27 PA_ADD_CFLAGS(-Wcast-align)
28 PA_ADD_CFLAGS(-pipe)
29
30 AC_CHECK_HEADERS(inttypes.h)
31 AC_CHECK_HEADERS(sysexits.h)
32 AC_CHECK_HEADERS(getopt.h)
33
34 AC_SEARCH_LIBS(getopt_long, [getopt getopt_long])
35 AC_CHECK_FUNCS(getopt_long)
36 AH_TEMPLATE([HAVE_GETOPT_LONG],
37         [Define to 1 if you have the `getopt_long' function])
38
39 AC_PROG_SED
40 AC_PROG_RANLIB
41 AC_PROG_INSTALL
42 AC_PROG_MKDIR_P
43
44 AC_CONFIG_HEADER(config.h)
45 AC_OUTPUT(MCONFIG)