Debian Codegraph @

xo/configure.in

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 dnl Process this file with autoconf to produce a configure script.
2 AC_REVISION([$Id: configure.in,v 1.5 2000/01/13 07:04:46 elf Exp $])
3 AC_PREREQ(2.12)dnl dnl Minimum Autoconf version required.
4 AC_INIT(ldisplay.cxx) dnl Name of unique file that must exist
5
6 AC_CONFIG_HEADER(config.h)
7
8 AC_LANG_CPLUSPLUS dnl Default to c++ cause that what we done.
9
10 dnl Checks for programs.
11 AC_PROG_YACC
12 AC_PROG_LEX
13 AC_PROG_CXX
14 AC_PROG_LN_S
15
16 if test "${GXX}" = "yes" ; then
17 CFLAGS_W=" -Wall -Wno-parentheses -Wno-unused"
18 CFLAGS="${CFLAGS}"
19 fi
20
21 dnl Checks for header files.
22 AC_PATH_XTRA
23 AC_HEADER_STDC
24 AC_CHECK_FUNCS(memset strncmp)
25 AC_CHECK_HEADERS(memory.h fcntl.h limits.h unistd.h)
26
27 dnl Checks for typedefs, structures, and compiler characteristics.
28 dnl -- Removed because it tends to interfere with headers
29 dnl AC_C_CONST
30 dnl -- Removed because it tends to interfere with headers
31 dnl AC_C_INLINE
32 AC_TYPE_SIZE_T
33 AC_HEADER_TIME
34
35 dnl Checks for library functions.
36 dnl AC_FUNC_MMAP
37 dnl AC_FUNC_VPRINTF dnl -- We use vsprintf
38
39
40 AC_SUBST(CFLAGS_W)
41 AC_OUTPUT(Makefile)
42
43 dnl -- Prevent accidental edits.
44 chmod -w Makefile
45 chmod -w config.h