Debian Codegraph @

xo/configure.in

raw ◀ ▶
1 Debian patch touch this file
1 dnl Process this file with autoconf to produce a configure script.
•2 AC_PREREQ([2.71])dnl dnl Minimum Autoconf version required.
3 AC_INIT
4 AC_CONFIG_SRCDIR([ldisplay.cxx]) dnl Name of unique file that must exist
5
•6 AC_CONFIG_HEADERS([config.h])
7
•8 AC_LANG([C++]) dnl Default to c++ cause that what we done.
9
10 dnl Checks for programs.
11 AC_PROG_YACC
•12 AC_PROG_LEX([noyywrap])
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_CHECK_HEADERS(memory.h fcntl.h limits.h unistd.h)
24
25 dnl Checks for typedefs, structures, and compiler characteristics.
26 dnl -- Removed because it tends to interfere with headers
27 dnl AC_C_CONST
28 dnl -- Removed because it tends to interfere with headers
29 dnl AC_C_INLINE
30 AC_TYPE_SIZE_T
31
32 dnl Checks for library functions.
33 dnl AC_FUNC_MMAP
34 dnl AC_FUNC_VPRINTF dnl -- We use vsprintf
35
36
37 AC_SUBST(CFLAGS_W)
•38 AC_CONFIG_FILES([Makefile])
39 AC_OUTPUT
40
41 dnl -- Prevent accidental edits.
42 chmod -w Makefile
43 chmod -w config.h