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

Annotation of /eggdrop1.9/configure.ac

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


Revision 1.43 - (hide annotations) (download)
Sun Dec 14 08:51:01 2003 UTC (15 years, 10 months ago) by stdarg
Branch: MAIN
Changes since 1.42: +1 -1 lines
* 'make dist' works again (dunno if I did it right though)

1 ite 1.1 dnl Process this file with autoconf to produce a configure script.
2 wcc 1.37 AC_INIT(Eggdrop, 1.7, bugs@eggheads.org)
3 ite 1.5 AC_PREREQ(2.52)
4 tothwolf 1.3 AC_CONFIG_AUX_DIR(acconfig)
5 ite 1.1 AM_CONFIG_HEADER(config.h)
6 tothwolf 1.35
7     # FIXME: make module Makefile list dynamic
8 stdarg 1.43 AC_CONFIG_FILES([Makefile intl/Makefile lib/Makefile lib/compat/Makefile lib/eggdrop/Makefile lib/egglib/Makefile m4/Makefile modules/Makefile modules/blowfish/Makefile modules/dccparty/Makefile modules/ircparty/Makefile modules/javascript/Makefile modules/oldbotnet/Makefile modules/perlscript/Makefile modules/script/Makefile modules/server/Makefile modules/tclscript/Makefile modules/telnetparty/Makefile nettype/Makefile po/Makefile.in scripts/Makefile src/Makefile])
9 tothwolf 1.35
10 ite 1.1 EGG_MSG_CONFIGURE_START
11     AM_INIT_AUTOMAKE(eggdrop, 1.7.0)
12    
13     # FIXME: optionally allow a system wide install by bypassing the macro below.
14     AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
15    
16     # config.h stuff
17     AH_TOP([#ifndef _EGG_CONFIG_H
18     #define _EGG_CONFIG_H])
19     AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
20    
21     # Setup build environment
22     AC_PROG_CC
23     EGG_CHECK_CC
24    
25     # Crazy machines
26     AC_AIX
27     AC_ISC_POSIX
28     AC_MINIX
29    
30 tothwolf 1.2 # Checks for compiler characteristics
31     AC_C_BIGENDIAN
32     AC_C_CONST
33     AC_C_VOLATILE
34     AC_C_INLINE
35     AC_C_LONG_DOUBLE
36     EGG_C_LONG_LONG
37    
38 ite 1.1 # Gettext support
39     EGG_GNU_GETTEXT
40    
41     # Libtool support
42     EGG_LIBTOOL
43    
44     # Speedup compile
45     EGG_CHECK_CCPIPE
46    
47 ite 1.4 # Compile Warnings
48     EGG_CHECK_CFLAGS_WALL
49    
50 ite 1.1 # Checks for programs
51     AC_PROG_LN_S
52 stdarg 1.38 AC_PROG_LIBTOOL
53 ite 1.1 EGG_PROG_AWK
54     EGG_PROG_BASENAME
55     AC_CHECK_PROG(EGG_UNAME,uname,uname)
56     AC_CHECK_PROG(AR,ar,ar)
57    
58 ite 1.9 # Should -O2 CFLAG be removed?
59     EGG_DISABLE_CC_OPTIMIZATION
60    
61 ite 1.1 # Test the os and set the module linking settings
62     EGG_CHECK_OS
63    
64     # Checks for system libraries
65     EGG_CHECK_LIBS
66    
67     # Checks for header files
68     AC_HEADER_DIRENT
69 tothwolf 1.2 AC_HEADER_STAT
70     AC_HEADER_STDC
71 ite 1.1 AC_HEADER_SYS_WAIT
72     AC_CHECK_HEADERS(sys/time.h)
73     AC_HEADER_TIME
74 tothwolf 1.2 AC_CHECK_HEADERS(string.h strings.h ctype.h stdlib.h limits.h unistd.h)
75 stdarg 1.24 AC_CHECK_HEADERS(sys/rusage.h sys/select.h sys/poll.h stdarg.h std_args.h)
76 ite 1.1
77 tothwolf 1.2 # Checks for types and structures
78 ite 1.1 AC_TYPE_PID_T
79     AC_TYPE_SIZE_T
80 tothwolf 1.2 EGG_TYPE_32BIT
81 ite 1.1 EGG_TYPE_SOCKLEN_T
82 tothwolf 1.2 EGG_INADDR_LOOPBACK
83 ite 1.1
84 ite 1.17 # Checks for library variables
85     EGG_VAR_SYS_ERRLIST
86    
87 ite 1.1 # Checks for library functions
88 ite 1.17 AC_CHECK_FUNCS(clock dprintf fsync getdtablesize getrusage isascii)
89 tothwolf 1.2 AC_CHECK_FUNCS(random srandom rename setpgid sigaction sigemptyset uname)
90    
91     # Check for these functions, and replace those not found
92 stdarg 1.24 AC_REPLACE_FUNCS(memcpy memset poll strcasecmp strncasecmp strftime strdup)
93 stdarg 1.22 AC_REPLACE_FUNCS(inet_ntop inet_pton strerror strlcat strlcpy)
94 tothwolf 1.2
95     # These all share a common file: snprintf.c
96     AC_CHECK_FUNCS(vsnprintf snprintf asprintf vasprintf,,egg_replace_snprintf="yes")
97    
98     # Check if vsnprintf is C99 compliant
99     EGG_FUNC_C99_VSNPRINTF
100 ite 1.1
101 ite 1.18 # Check if getopt_long is avalaibale
102     EGG_FUNC_GETOPT_LONG
103    
104 tothwolf 1.2 # Check if we need to compile all or part of snprintf.c
105     EGG_REPLACE_SNPRINTF
106 ite 1.1
107 tothwolf 1.2 # Checks for IPV6
108 ite 1.1 EGG_IPV6_SUPPORTED
109     EGG_IPV6_OPTIONS
110    
111     EGG_DEBUG_OPTIONS
112    
113     EGG_DEFINE_VERSION_NUM
114    
115     EGG_COMPRESS_MODULE
116 ite 1.4 EGG_PERLSCRIPT_MODULE
117 ite 1.13 EGG_TCLSCRIPT_MODULE
118 ite 1.20 EGG_JAVASCRIPT_MODULE
119 ite 1.1
120     AC_CONFIG_SUBDIRS(libltdl)
121    
122     AC_SUBST(ac_aux_dir)
123 ite 1.16
124 tothwolf 1.33 EGG_LTLIBOBJS
125    
126 tothwolf 1.35 AC_OUTPUT
127 ite 1.1
128     EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23