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

Annotation of /eggdrop1.6/configure.ac

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


Revision 1.4 - (hide annotations) (download)
Sun Jan 18 02:11:39 2004 UTC (16 years ago) by wcc
Branch: MAIN
Changes since 1.3: +7 -4 lines
* More build process/build process documentation updates and portability
  stuff.

* Changed trace (back?) to +t as it should be. This is a botnet command
  and should be set to 'botnet master' instead of all partyline users.

1 wcc 1.1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2     dnl
3 wcc 1.4 dnl $Id: configure.ac,v 1.3 2004/01/12 07:49:17 wcc Exp $
4 wcc 1.1 dnl
5    
6     AC_PREREQ(2.59)
7     AC_INIT([Eggdrop],[1.6.16],[bugs@eggheads.org])
8 wcc 1.2 AC_COPYRIGHT([Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team])
9 wcc 1.4 AC_REVISION($Revision: 1.3 $)
10 wcc 1.1 AC_CONFIG_SRCDIR(src/eggdrop.h)
11     AC_CONFIG_AUX_DIR(misc)
12     AC_CONFIG_HEADER(config.h)
13     AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
14    
15     EGG_MSG_CONFIGURE_START
16     EGG_SAVE_PARAMETERS
17    
18     # Setup build environment
19     AC_PROG_CC
20     EGG_CHECK_CC
21    
22     # Crazy machines
23     AC_AIX
24     AC_ISC_POSIX
25     AC_MINIX
26    
27     # Speedup compile
28     EGG_CHECK_CCPIPE
29    
30     # Checks for programs
31     AC_PROG_INSTALL
32     AC_PROG_MAKE_SET
33     AC_PROG_RANLIB
34     AC_PROG_LN_S
35     EGG_PROG_HEAD_1
36     EGG_PROG_STRIP
37     EGG_PROG_AWK
38     EGG_PROG_BASENAME
39     AC_CHECK_PROG(UNAME,uname,uname)
40    
41     # Test the os and set the module linking settings
42     EGG_CHECK_OS
43    
44     # Checks for system libraries
45     EGG_CHECK_LIBS
46    
47     # Checks for header files
48     EGG_HEADER_STDC
49     AC_HEADER_DIRENT
50     AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.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])
51     AC_HEADER_TIME
52    
53     # Checks for typedefs, structures, and compiler characteristics
54     AC_C_CONST
55     AC_C_BIGENDIAN
56     AC_C_INLINE
57     AC_TYPE_PID_T
58     AC_TYPE_SIZE_T
59     AC_C_VOLATILE
60    
61     AC_CHECK_SIZEOF(long, 0)
62     AC_CHECK_SIZEOF(int, 0)
63    
64     # Checks for functions
65     AC_CHECK_FUNCS(clock dlopen dprintf fsync getdtablesize getrusage inet_aton isascii memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom strcasecmp strncasecmp uname vsnprintf)
66 wcc 1.3 AC_FUNC_SELECT_ARGTYPES
67 wcc 1.1 AC_FUNC_VPRINTF
68 wcc 1.3 EGG_FUNC_VPRINTF
69 wcc 1.1 AC_FUNC_STRFTIME
70    
71     # Make sure we are using the correct result from a broken libsafe sscanf
72     EGG_CHECK_LIBSAFE_SSCANF
73    
74     # Checks for executable extension
75     EGG_EXEEXT
76    
77     # Begin Tcl checks
78     # Latest tested Tcl version to recommend if Tcl isn't found
79     tclrecommendver="8.3.4"
80    
81     # Site recommended to download Tcl from
82     tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_3/"
83    
84     # Tcl library filename prefixes (also used for Tcl header dir on FreeBSD)
85     tcllibnames="tcl tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
86     tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
87     tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
88    
89     # Tcl library filename suffixes
90     tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a .sl .dll .dylib"
91    
92     # Tcl library search paths
93     tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
94     /usr/lib /lib /usr/i486-linuxaout/lib \
95 wcc 1.4 /beos/system/lib /sys/lib /usr/local/lib/tcl8.3 /usr/local/lib/tcl8.4 \
96     /usr/lib/tcl8.3 /usr/lib/tcl8.4 $HOME/lib $HOME/tcl/lib $HOME"
97 wcc 1.1
98     # Tcl header filenames
99     tclheadernames="tcl.h"
100    
101     # Tcl header search paths
102     tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
103     /usr/include /beos/system/include /beos/devel/include \
104 wcc 1.4 /sys/include /usr/local/include/tcl8.3 /usr/local/include/tcl8.4 \
105     /usr/include/tcl8.3 /usr/include/tcl8.4 $HOME/include \
106     $HOME/tcl/include $HOME"
107 wcc 1.1
108     EGG_TCL_ARG_WITH
109     EGG_TCL_ENV
110     EGG_TCL_WITH_TCLLIB
111     EGG_TCL_WITH_TCLINC
112     EGG_TCL_FIND_LIBRARY
113     EGG_TCL_FIND_HEADER
114     EGG_TCL_CHECK_LIBRARY
115     EGG_TCL_CHECK_HEADER
116     EGG_TCL_DETECT_CHANGE
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 Tcl checks
126    
127     EGG_FUNC_DLOPEN
128    
129     # Substitute Makefile variables
130     EGG_SUBST_EGGVERSION
131     EGG_SUBST_DEST
132     EGG_SUBST_MOD_UPDIR
133    
134     EGG_CATCH_MAKEFILE_REBUILD
135     AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
136     AC_OUTPUT
137    
138     EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23