ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/configure.in
Revision: 1.3
Committed: 2000-09-19T16:14:42Z (23 years, 9 months ago) by cebix
Branch: MAIN
Changes since 1.2: +1 -16 lines
Log Message:
simplified version information

File Contents

# Content
1 dnl Process this file with autoconf to produce a configure script.
2 dnl Written in 2000 by Christian Bauer
3
4 AC_INIT(src/mon.cpp)
5 AC_PREREQ(2.13)
6
7 dnl This defines PACKAGE and VERSION.
8 AM_INIT_AUTOMAKE([mon], [2.2])
9 AM_CONFIG_HEADER(config.h)
10
11 dnl Checks for programs.
12 AC_PROG_CXX
13 AC_PROG_CXXCPP
14 AC_PROG_INSTALL
15
16 dnl Checks for header files.
17 AC_HEADER_STDC
18 AC_CHECK_HEADERS(unistd.h readline.h history.h readline/readline.h readline/history.h)
19
20 dnl Checks for typedefs, structures, and compiler characteristics.
21 AC_CHECK_SIZEOF(short, 2)
22 AC_CHECK_SIZEOF(int, 4)
23 AC_CHECK_SIZEOF(long, 4)
24
25 dnl Checks for libraries.
26 AC_CHECK_LIB(readline, readline)
27 AC_CHECK_LIB(termcap, tputs)
28
29 dnl Generate Makefile.
30 AC_OUTPUT([
31 Makefile
32 src/Makefile
33 ])
34
35 dnl Print summary.
36 echo "Configuration done. Now type \"make\"."