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

Contents of /eggdrop1.9/configure.in

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


Revision 1.13 - (show annotations) (download)
Wed Dec 1 00:09:42 1999 UTC (19 years, 10 months ago) by fabian
Branch: MAIN
Changes since 1.12: +63 -905 lines
toths new-configure patch

1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(eggdrop.conf.dist)
3 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
4 AC_CONFIG_HEADER(config.h)
5
6 EGG_MSG_CONFIGURE_START
7
8 # Setup build environment
9 AC_PROG_CC
10 EGG_CHECK_CC
11 EGG_CHECK_STRIP
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 AC_CHECK_PROG(STRIP,strip,strip)
24 AC_CHECK_PROG(UNAME,uname,uname)
25 EGG_PROG_AWK
26 EGG_PROG_BASENAME
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 EGG_CHECK_RES_LIBS
34
35 # Checks for header files
36 AC_HEADER_DIRENT
37 AC_HEADER_SYS_WAIT
38 AC_CHECK_HEADERS(sys/time.h)
39 AC_HEADER_TIME
40 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h dlfcn.h stdarg.h std_args.h)
41
42 # Checks for typedefs, structures, and compiler characteristics
43 AC_TYPE_PID_T
44 AC_C_BIGENDIAN
45 AC_C_INLINE
46 AC_CHECK_SIZEOF(long, 0)
47 AC_CHECK_SIZEOF(int, 0)
48
49 # Checks for library functions
50 AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp getdtablesize bzero random srandom dlopen dprintf snprintf vsnprintf)
51 EGG_CHECK_FUNC_VSPRINTF
52
53 # Make sure we have stdc headers, since we can't compile without them
54 EGG_HEADER_STDC
55
56 # Checks for cygwin
57 EGG_CYGWIN
58 EGG_EXEEXT
59
60 # Where is tcl? Is it here?
61 # ---------- begin robey's tcl thingies
62 # (well, what used to be robey's tcl thingies...)
63
64 # Latest tested Tcl version to recommend if Tcl isn't found
65 tclrecommendver="8.2.2"
66
67 # Site recommended to download Tcl from
68 tclrecommendsite="ftp://ftp.scriptics.com/pub/tcl/tcl8_2/"
69
70 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
71 tcllibnames="tcl tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
72 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
73 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
74
75 # Tcl library filename suffixes
76 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a"
77
78 # Tcl library search paths
79 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
80 /usr/lib /lib /usr/i486-linuxaout/lib \
81 $HOME/lib $HOME/tcl/lib $HOME"
82
83 # Tcl header filenames
84 tclheadernames="tcl.h"
85
86 # Tcl header search paths
87 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
88 /usr/include $HOME/include $HOME/tcl/include $HOME"
89
90 EGG_TCL_ARG_WITH
91 EGG_TCL_ENV
92 EGG_TCL_WITH_TCLLIB
93 EGG_TCL_WITH_TCLINC
94 EGG_TCL_FIND_LIBRARY
95 EGG_TCL_FIND_HEADER
96 EGG_TCL_CHECK_LIBRARY
97 EGG_TCL_CHECK_HEADER
98 EGG_TCL_CHECK_VERSION
99 EGG_TCL_CHECK_PRE70
100 EGG_TCL_CHECK_PRE75
101 EGG_TCL_TESTLIBS
102 EGG_TCL_CHECK_FREE
103 EGG_TCL_CHECK_THREADS
104 EGG_TCL_LIB_REQS
105 # ---------- end of (what used to be) robey's tcl thingies
106
107 EGG_FUNC_DLOPEN
108
109 EGG_SUBST_EGGVERSION
110 EGG_SUBST_DEST
111
112 AC_OUTPUT(Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/mod/Makefile lush.h)
113
114 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23