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

Contents of /eggdrop1.6/configure.in

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


Revision 1.54 - (show annotations) (download)
Tue Apr 1 05:33:40 2003 UTC (18 years ago) by wcc
Branch: MAIN
CVS Tags: eggdrop_1_6_15
Changes since 1.53: +7 -2 lines
* Added the IPv6 patch to CVS. This is not 100% complete yet. Please test
  and improve! :P

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 # Should -O2 CFLAG be removed?
33 EGG_DISABLE_CC_OPTIMIZATION
34
35 # Test the os and set the module linking settings
36 EGG_CHECK_OS
37
38 # Checks for system libraries
39 EGG_CHECK_LIBS
40
41 # Checks for header files
42 AC_HEADER_DIRENT
43 AC_HEADER_SYS_WAIT
44 AC_CHECK_HEADERS(sys/time.h)
45 AC_HEADER_TIME
46 AC_CHECK_HEADERS(sys/select.h sys/rusage.h unistd.h stdarg.h std_args.h strings.h limits.h)
47
48 # Checks for typedefs, structures, and compiler characteristics
49 AC_TYPE_PID_T
50 AC_TYPE_SIZE_T
51 AC_C_CONST
52 AC_C_BIGENDIAN
53 AC_C_INLINE
54 AC_CHECK_SIZEOF(long, 0)
55 AC_CHECK_SIZEOF(int, 0)
56
57 # Check for IPv6 support
58 EGG_IPV6_SUPPORTED
59 EGG_IPV6_OPTIONS
60
61 # Checks for library functions
62 AC_CHECK_FUNCS(clock getrusage setpgid uname sigaction sigemptyset rename strcasecmp strncasecmp getdtablesize memset random srandom)
63 AC_CHECK_FUNCS(dlopen dprintf snprintf vsnprintf isascii inet_aton inet_ntop memcpy strftime fsync gethostbyname2 getipnodebyname)
64 EGG_CHECK_FUNC_VSPRINTF
65
66 # Make sure we have stdc headers, since we can't compile without them
67 EGG_HEADER_STDC
68
69 # Make sure we are using the correct result from a broken libsafe sscanf
70 EGG_CHECK_LIBSAFE_SSCANF
71
72 # Checks for executable extension
73 EGG_EXEEXT
74
75 # Where is Tcl? Is it here?
76 # ---------- begin robey's Tcl thingies
77 # (well, what used to be robey's Tcl thingies...)
78
79 # Latest tested Tcl version to recommend if Tcl isn't found
80 tclrecommendver="8.3.4"
81
82 # Site recommended to download Tcl from
83 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_3/"
84
85 # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
86 tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
87 tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
88 tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
89
90 # Tcl library filename suffixes
91 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll .dylib"
92
93 # Tcl library search paths
94 tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
95 /usr/lib /lib /usr/i486-linuxaout/lib \
96 /beos/system/lib /sys/lib \
97 $HOME/lib $HOME/tcl/lib $HOME"
98
99 # Tcl header filenames
100 tclheadernames="tcl.h"
101
102 # Tcl header search paths
103 tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
104 /usr/include /beos/system/include /beos/devel/include \
105 /sys/include $HOME/include $HOME/tcl/include $HOME"
106
107 EGG_TCL_ARG_WITH
108 EGG_TCL_ENV
109 EGG_TCL_WITH_TCLLIB
110 EGG_TCL_WITH_TCLINC
111 EGG_TCL_FIND_LIBRARY
112 EGG_TCL_FIND_HEADER
113 EGG_TCL_CHECK_LIBRARY
114 EGG_TCL_CHECK_HEADER
115 EGG_TCL_DETECT_CHANGE
116
117 EGG_TCL_CHECK_VERSION
118 EGG_TCL_CHECK_PRE70
119 EGG_TCL_TESTLIBS
120 EGG_TCL_CHECK_FREE
121 EGG_TCL_ENABLE_THREADS
122 EGG_TCL_CHECK_THREADS
123 EGG_TCL_LIB_REQS
124 EGG_TCL_LUSH
125 # ---------- end of (what used to be) robey's Tcl thingies
126
127 EGG_FUNC_DLOPEN
128
129 EGG_SUBST_EGGVERSION
130 EGG_SUBST_DEST
131 EGG_SUBST_MOD_UPDIR
132 EGG_CATCH_MAKEFILE_REBUILD
133
134 AC_OUTPUT(Makefile doc/Makefile scripts/Makefile src/Makefile src/md5/Makefile src/compat/Makefile src/mod/Makefile)
135
136 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23