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

Annotation of /eggdrop1.7/configure.ac

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


Revision 1.6 - (hide annotations) (download)
Mon Nov 20 13:53:24 2006 UTC (12 years, 5 months ago) by tothwolf
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
* Updated copyright dates for 2006 (better late than never).

1 wcc 1.1 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2     dnl
3 tothwolf 1.6 dnl $Id: configure.ac,v 1.5 2006-11-20 13:20:24 tothwolf Exp $
4 wcc 1.1
5     AC_PREREQ(2.59)
6 wcc 1.2 AC_INIT([Eggdrop],[1.7.0],[bugs@eggheads.org])
7 tothwolf 1.6 AC_COPYRIGHT([Copyright (C) 1999 - 2006 Eggheads Development Team])
8     AC_REVISION($Revision: 1.5 $)
9 wcc 1.1 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     dnl config.h stuff
15     AH_TOP([#ifndef _EGG_CONFIG_H
16     #define _EGG_CONFIG_H])
17     AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
18    
19     # Print start message
20     EGG_MSG_CONFIGURE_START
21     EGG_SAVE_PARAMETERS
22    
23    
24     # Check for a working C compiler
25     AC_PROG_CC
26     EGG_CHECK_CC
27    
28     # These 3 need to be done before any AC_COMPILE_IFELSE()'s.
29     AC_AIX
30     AC_ISC_POSIX
31     AC_MINIX
32    
33     # Check C compiler characteristics.
34     EGG_CHECK_CCWALL
35     EGG_CHECK_CCPIPE
36    
37    
38     # Checks for programs.
39     AC_PROG_INSTALL
40     AC_PROG_MAKE_SET
41     AC_PROG_RANLIB
42     AC_PROG_LN_S
43     EGG_PROG_HEAD_1
44     EGG_PROG_STRIP
45     EGG_PROG_AWK
46     EGG_PROG_BASENAME
47     AC_CHECK_PROG(UNAME,uname,uname)
48    
49    
50     # Checks for system libraries.
51     EGG_CHECK_LIBS
52    
53    
54     # Test the OS and set the module linking settings.
55     EGG_OS_VERSION
56     EGG_CHECK_MODULE_SUPPORT
57     EGG_CHECK_OS
58    
59    
60     # Checks for header files.
61     EGG_HEADER_STDC
62     AC_HEADER_DIRENT
63     AC_HEADER_TIME
64     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])
65    
66    
67     # Checks for typedefs, structures, and compiler characteristics.
68     AC_C_CONST
69     AC_C_BIGENDIAN
70     AC_C_INLINE
71     AC_TYPE_PID_T
72     AC_TYPE_SIZE_T
73     AC_STRUCT_TIMEZONE
74     AC_C_VOLATILE
75     EGG_CHECK_SOCKLEN_T
76    
77    
78     # Check the sizes of various types.
79     AC_CHECK_SIZEOF(long, 0)
80     AC_CHECK_SIZEOF(int, 0)
81     AC_CHECK_SIZEOF(short, 0)
82    
83    
84     # Checks for functions and their arguments.
85     AC_CHECK_FUNCS([clock dprintf fsync getdtablesize getrusage inet_aton isascii mbrlen memcpy memset random rename setpgid sigaction sigemptyset snprintf srandom strcasecmp strncasecmp uname vsnprintf])
86     AC_FUNC_SELECT_ARGTYPES
87     EGG_FUNC_VPRINTF
88     AC_FUNC_STRFTIME
89     AC_FUNC_MMAP
90    
91    
92     # Make sure we are using the correct result from a broken libsafe sscanf().
93     EGG_CHECK_LIBSAFE_SSCANF
94    
95    
96     # Check for executable extension.
97     EGG_EXEEXT
98    
99    
100     # Tcl version to recomend if no Tcl is found, and the site where it can be
101     # found for download.
102 tothwolf 1.5 tclrecommendver="8.4.14"
103 wcc 1.1 tclrecommendsite="ftp://tcl.activestate.com/pub/tcl/tcl8_4/"
104    
105    
106     # Tcl library filename prefixes, suffixes, and search paths.
107 wcc 1.4 tcllibnames="tcl8.5 tcl85 tcl8.4 tcl84 tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
108 wcc 1.1 tcl8.0 tcl80 tcl tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 tcl7.3 \
109 wcc 1.4 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
110    
111 wcc 1.1 tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .dll .dylib .sl .a"
112 wcc 1.4
113 wcc 1.1 tcllibpaths="$HOME/lib $HOME/tcl/lib \
114     /usr/local/lib /usr/lib /lib \
115     /usr/local/lib/tcl8.5 /usr/lib/tcl8.5 \
116     /usr/local/lib/tcl8.4 /usr/lib/tcl8.4 \
117     /usr/local/lib/tcl8.3 /usr/lib/tcl8.3 \
118     /usr/local/pkgs/tcl/lib /sys/lib \
119     /usr/i486-linuxaout/lib /beos/system/lib $HOME"
120    
121     # Tcl header filenames and search paths.
122     tclheadernames="tcl.h"
123     tclheaderpaths="$HOME/include $HOME/tcl/include \
124     /usr/local/include /usr/include \
125     /usr/local/include/tcl8.5 /usr/include/tcl8.5 \
126     /usr/local/include/tcl8.4 /usr/include/tcl8.4 \
127     /usr/local/include/tcl8.3 /usr/include/tcl8.3 \
128     /usr/local/pkgs/tcl/include /sys/include \
129     /beos/system/include /beos/devel/include $HOME"
130    
131    
132     # Misc Tcl checks. We save the cache (if used) here to speed things up if we
133     # can't find Tcl.
134     AC_CACHE_SAVE
135     EGG_TCL_ARG_WITH
136     EGG_TCL_ENV
137     EGG_TCL_WITH_TCLLIB
138     EGG_TCL_WITH_TCLINC
139     EGG_TCL_FIND_LIBRARY
140     EGG_TCL_FIND_HEADER
141     EGG_TCL_CHECK_LIBRARY
142     EGG_TCL_CHECK_HEADER
143     EGG_TCL_DETECT_CHANGE
144     EGG_TCL_CHECK_VERSION
145     EGG_TCL_CHECK_PRE70
146     EGG_TCL_TESTLIBS
147     EGG_TCL_CHECK_FREE
148     EGG_TCL_ENABLE_THREADS
149     EGG_TCL_CHECK_THREADS
150     EGG_TCL_LIB_REQS
151     EGG_TCL_LUSH
152    
153    
154     # Substitute Makefile variables.
155     EGG_SUBST_EGGVERSION
156     EGG_SUBST_DEST
157     EGG_SUBST_MOD_UPDIR
158    
159    
160     EGG_CATCH_MAKEFILE_REBUILD
161    
162    
163     # Create Makefiles
164     AC_CONFIG_FILES([Makefile doc/Makefile scripts/Makefile src/Makefile src/compat/Makefile src/md5/Makefile src/mod/Makefile])
165     AC_OUTPUT
166    
167    
168     # Display configure end message
169     AC_MSG_RESULT
170     EGG_MSG_WEIRDOS
171     EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23