/[cvs]/eggdrop-alpha/configure.in
ViewVC logotype

Contents of /eggdrop-alpha/configure.in

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


Revision 1.6 - (show annotations) (download)
Wed Jul 18 06:20:55 2001 UTC (17 years, 5 months ago) by tothwolf
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +5 -2 lines
sync with 1.6.6-CVS-995399486

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23