ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/configure.ac
Revision: 1.1
Committed: 2002-08-03T14:54:28Z (22 years, 3 months ago) by cebix
Branch: MAIN
CVS Tags: release_3-1
Log Message:
updated the autoconf stuff

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
5 AC_CONFIG_SRCDIR(src/mon.cpp)
6 AC_PREREQ(2.50)
7
8 dnl This defines PACKAGE and VERSION.
9 AM_CONFIG_HEADER(config.h)
10 AM_INIT_AUTOMAKE([cxmon], [3.1])
11
12 dnl Checks for programs.
13 AC_PROG_CC
14 AC_PROG_CPP
15 AC_PROG_CXX
16 AC_PROG_CXXCPP
17 AC_PROG_INSTALL
18 AC_PROG_RANLIB
19
20 dnl Checks for header files.
21 AC_HEADER_STDC
22 AC_CHECK_HEADERS(unistd.h readline.h history.h readline/readline.h readline/history.h)
23
24 dnl Checks for typedefs, structures, and compiler characteristics.
25 AC_CHECK_SIZEOF(short, 2)
26 AC_CHECK_SIZEOF(int, 4)
27 AC_CHECK_SIZEOF(long, 4)
28 AC_CHECK_SIZEOF(long long, 8)
29 AC_CHECK_SIZEOF(void *, 4)
30
31 dnl Checks for libraries.
32 AC_CHECK_LIB(ncurses, tgetent, ,
33 AC_CHECK_LIB(termcap, tgetent, ,
34 AC_CHECK_LIB(termlib, tgetent, ,
35 AC_CHECK_LIB(terminfo, tgetent, ,
36 AC_CHECK_LIB(Hcurses, tgetent, ,
37 AC_CHECK_LIB(curses, tgetent))))))
38 AC_CHECK_LIB(readline, readline)
39
40 dnl Generate Makefile.
41 AC_OUTPUT([
42 Makefile
43 cxmon.spec
44 src/Makefile
45 src/disass/Makefile
46 ])
47
48 dnl Print summary.
49 echo "Configuration done. Now type \"make\"."