/[cvs]/eggdrop1.4/configure.in
ViewVC logotype

Contents of /eggdrop1.4/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.49 - (show annotations) (download)
Thu Jun 22 04:01:05 2000 UTC (18 years, 5 months ago) by guppy
Branch: MAIN
CVS Tags: eggdrop10404, HEAD
Changes since 1.48: +7 -6 lines
tcl84 patch added

1 dnl Process this file with autoconf to produce a configure script.
2 AC_REVISION($Revision $)
3 AC_INIT(eggdrop.conf.dist)
4 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
5 AC_CONFIG_HEADER(config.h)
6
7 EGG_MSG_CONFIGURE_START
8
9 # Setup build environment
10 AC_PROG_CC
11 EGG_CHECK_CC
12
13 # Crazy machines
14 AC_AIX
15 AC_ISC_POSIX
16 AC_MINIX
17
18 # Checks for programs
19 AC_PROG_MAKE_SET
20 AC_PROG_RANLIB
21 AC_PROG_INSTALL
22 AC_PROG_LN_S
23 EGG_PROG_STRIP
24 EGG_PROG_AWK
25 EGG_PROG_BASENAME
26 AC_CHECK_PROG(UNAME,uname,uname)
27
28 # Test the os and set the module linking settings
29 EGG_CHECK_OS
30
31 # Checks for system libraries
32 EGG_CHECK_LIBS
33
34 # Checks for header files
35 AC_HEADER_DIRENT
36 AC_HEADER_SYS_WAIT
37 AC_CHECK_HEADERS(sys/time.h)
38 AC_HEADER_TIME
39 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h strings.h)
40
41 # Checks for typedefs, structures, and compiler characteristics
42 AC_TYPE_PID_T
43 AC_C_BIGENDIAN
44 AC_C_INLINE
45 AC_CHECK_SIZEOF(long, 0)
46 AC_CHECK_SIZEOF(int, 0)
47 AC_CHECK_SIZEOF(char, 0)
48 AC_CHECK_SIZEOF(short int, 0)
49
50 # Checks for library functions
51 AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp getdtablesize bzero random srandom dlopen dprintf snprintf vsnprintf)
52 EGG_CHECK_FUNC_VSPRINTF
53
54 # Make sure we have stdc headers, since we can't compile without them
55 EGG_HEADER_STDC
56
57 # Checks for cygwin
58 EGG_CYGWIN
59 EGG_EXEEXT
60
61 # Check how much space is left in filedb (informational purposes)
62 EGG_CHECK_FILEDB_STRUCT
63
64 # Where is tcl? Is it here?
65 # ---------- begin robey's tcl thingies
66 # (well, what used to be robey's tcl thingies...)
67
68 # Latest tested Tcl version to recommend if Tcl isn't found
69 tclrecommendver="8.3.1"
70
71 # Site recommended to download Tcl from
72 tclrecommendsite="ftp://ftp.scriptics.com/pub/tcl/tcl8_3/"
73
74 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
75 tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 \
76 tcl81 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 \
77 tcl74 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 \
78 tcl70"
79
80 # Tcl library filename suffixes
81 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll"
82
83 # Tcl library search paths
84 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
85 /usr/lib /lib /usr/i486-linuxaout/lib \
86 /beos/system/lib /sys/lib \
87 $HOME/lib $HOME/tcl/lib $HOME"
88
89 # Tcl header filenames
90 tclheadernames="tcl.h"
91
92 # Tcl header search paths
93 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
94 /usr/include /beos/system/include /beos/devel/include \
95 /sys/include $HOME/include $HOME/tcl/include $HOME"
96
97 EGG_TCL_ARG_WITH
98 EGG_TCL_ENV
99 EGG_TCL_WITH_TCLLIB
100 EGG_TCL_WITH_TCLINC
101 EGG_TCL_FIND_LIBRARY
102 EGG_TCL_FIND_HEADER
103 EGG_TCL_CHECK_LIBRARY
104 EGG_TCL_CHECK_HEADER
105 EGG_TCL_CHECK_VERSION
106 EGG_TCL_CHECK_PRE70
107 EGG_TCL_CHECK_PRE75
108 EGG_TCL_TESTLIBS
109 EGG_TCL_CHECK_FREE
110 EGG_TCL_CHECK_THREADS
111 EGG_TCL_LIB_REQS
112 # ---------- end of (what used to be) robey's tcl thingies
113
114 EGG_FUNC_DLOPEN
115
116 EGG_SUBST_EGGVERSION
117 EGG_SUBST_DEST
118
119 AC_OUTPUT(Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/mod/Makefile lush.h)
120
121 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23