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

Contents of /eggdrop1.6/configure.ac

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


Revision 1.9 - (show annotations) (download)
Tue Jun 15 07:20:54 2004 UTC (15 years, 7 months ago) by wcc
Branch: MAIN
Changes since 1.8: +3 -2 lines
* Removed 'eggautoconf' crao; moved to autoconf 2.59 for modules. This
  should fix some of the module-configure/make config bugs. Couple more
  commits coming in a sec. Test me (although already tested pretty well).
  Needs to at least be tested on Cygwin, and I don't have access to
  Cygwin ATM.

1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2 dnl
3 dnl $Id: configure.ac,v 1.8 2004/06/11 19:16:27 wcc Exp $
4
5 AC_PREREQ(2.59)
6 AC_INIT([Eggdrop],[1.6.17],[bugs@eggheads.org])
7 AC_COPYRIGHT([Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team])
8 AC_REVISION($Revision: 1.8 $)
9 AC_CONFIG_SRCDIR(src/eggdrop.h)
10 AC_CONFIG_AUX_DIR(misc)
11 AC_CONFIG_HEADER(config.h)
12 AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
13
14
15 # Print start message
16 EGG_MSG_CONFIGURE_START
17 EGG_SAVE_PARAMETERS
18
19
20 # Check for a working C compiler
21 AC_PROG_CC
22 EGG_CHECK_CC
23
24
25 # Checks for odd operating systems
26 AC_AIX
27 AC_ISC_POSIX
28 AC_MINIX
29
30
31 # Speedup compile
32 EGG_CHECK_CCPIPE
33
34
35 # Checks for programs
36 AC_PROG_INSTALL
37 AC_PROG_MAKE_SET
38 AC_PROG_RANLIB
39 AC_PROG_LN_S
40 EGG_PROG_HEAD_1
41 EGG_PROG_STRIP
42 EGG_PROG_AWK
43 EGG_PROG_BASENAME
44 AC_CHECK_PROG(UNAME,uname,uname)
45
46
47 # Test the os and set the module linking settings
48 EGG_CHECK_OS
49
50
51 # Checks for system libraries
52 EGG_CHECK_LIBS
53
54 # Checks for header files
55 EGG_HEADER_STDC
56 AC_HEADER_DIRENT
57 AC_HEADER_TIME
58 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h std_args.h stdarg.h stddef.h sys/file.h sys/param.h sys/rusage.h sys/select.h sys/socket.h sys/time.h unistd.h wchar.h])
59
60
61 # Checks for typedefs, structures, and compiler characteristics
62 AC_C_CONST
63 AC_C_BIGENDIAN
64 AC_C_INLINE
65 AC_TYPE_PID_T
66 AC_TYPE_SIZE_T
67 AC_STRUCT_TIMEZONE
68 AC_C_VOLATILE
69 EGG_CHECK_SOCKLEN_T
70
71
72 # Check the sizes of int and long
73 AC_CHECK_SIZEOF(long, 0)
74 AC_CHECK_SIZEOF(int, 0)
75
76
77 # Checks for functions and their arguments
78 AC_CHECK_FUNCS(clock dlopen dprintf fsync getdtablesize getrusage inet_aton isascii mbrlen memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom strcasecmp strncasecmp uname vsnprintf)
79 AC_FUNC_SELECT_ARGTYPES
80 AC_FUNC_VPRINTF
81 EGG_FUNC_VPRINTF
82 AC_FUNC_STRFTIME
83 AC_FUNC_MMAP
84
85
86 # Make sure we are using the correct result from a broken libsafe sscanf
87 EGG_CHECK_LIBSAFE_SSCANF
88
89
90 # Check for executable extension
91 EGG_EXEEXT
92
93
94 # Tcl version to recomend if no Tcl is found, and the site where it can be
95 # found for download.
96 tclrecommendver="8.4.6"
97 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_4/"
98
99
100 # Tcl library filename prefixes, suffixes, and search paths
101 tcllibnames="tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
102 tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 tcl7.3 \
103 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70 tcl8.5 tcl85"
104 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll .dylib"
105 tcllibpaths="/usr/local/lib /usr/lib /lib \
106 /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.3 \
107 /usr/lib/tcl8.4 /usr/lib/tcl8.3 \
108 /usr/local/lib/tcl8.5 /usr/lib/tcl8.5 \
109 /usr/local/pkgs/tcl/lib /sys/lib \
110 /usr/i486-linuxaout/lib /beos/system/lib \
111 $HOME/lib $HOME/tcl/lib $HOME"
112
113
114
115 # Tcl header filenames and search paths
116 tclheadernames="tcl.h"
117 tclheaderpaths="/usr/local/include /usr/include \
118 /usr/local/include/tcl8.3 /usr/local/include/tcl8.4 \
119 /usr/include/tcl8.3 /usr/include/tcl8.4 \
120 /usr/local/include/tcl8.5 /usr/include/tcl8.5 \
121 /usr/local/pkgs/tcl/include /sys/include \
122 /beos/system/include /beos/devel/include \
123 $HOME/include $HOME/tcl/include $HOME"
124
125
126 # Misc Tcl checks
127 EGG_TCL_ARG_WITH
128 EGG_TCL_ENV
129 EGG_TCL_WITH_TCLLIB
130 EGG_TCL_WITH_TCLINC
131 EGG_TCL_FIND_LIBRARY
132 EGG_TCL_FIND_HEADER
133 EGG_TCL_CHECK_LIBRARY
134 EGG_TCL_CHECK_HEADER
135 EGG_TCL_DETECT_CHANGE
136 EGG_TCL_CHECK_VERSION
137 EGG_TCL_CHECK_PRE70
138 EGG_TCL_TESTLIBS
139 EGG_TCL_CHECK_FREE
140 EGG_TCL_ENABLE_THREADS
141 EGG_TCL_CHECK_THREADS
142 EGG_TCL_LIB_REQS
143 EGG_TCL_LUSH
144
145
146 # dlopen() / module load function checks
147 EGG_FUNC_DLOPEN
148
149
150 # Substitute Makefile variables
151 EGG_SUBST_EGGVERSION
152 EGG_SUBST_DEST
153 EGG_SUBST_MOD_UPDIR
154
155
156 EGG_CATCH_MAKEFILE_REBUILD
157
158
159 # Create Makefiles
160 AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
161 AC_OUTPUT
162
163
164 # Display configure end message
165 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23