/[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.52 - (hide annotations) (download)
Thu Jun 17 13:32:43 2004 UTC (15 years ago) by wingman
Branch: MAIN
Changes since 1.51: +5 -5 lines
* Added new TAG: DDC for "this feature is document". After we are sure
  that all source code variables/commands/functions/ are tagged with either
  DDD or DDC we'll remove them.

* Made module Makefile.am's more centralized by moving common stuff
  to acconfig/module.mk.

* Introducted new help system. It's now on per module basis and localized.
  Default language is "en_EN" else not otherwise specified. Beside the
  %b formattings of 1.6 it has all features of the 1.6 help system.

  It's also more intelligent since help files are automaticly bound to
  module load/unload events. You don't need to manually load module help
  files any more. (Though unloading not tested yet... 8-))

* Fixed some tweaks here and there.

1 wcc 1.51 dnl configure.ac: this file is processed by autoconf to produce ./configure.
2     dnl
3 wingman 1.52 dnl $Id: configure.ac,v 1.51 2004/06/16 06:33:44 wcc Exp $
4 wcc 1.51
5     AC_PREREQ(2.57)
6     AC_INIT([Eggdrop], [1.7.0], [bugs@eggheads.org])
7     AC_COPYRIGHT([Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team])
8 wingman 1.52 AC_REVISION($Revision: 1.51 $)
9 tothwolf 1.3 AC_CONFIG_AUX_DIR(acconfig)
10 ite 1.1 AM_CONFIG_HEADER(config.h)
11 wingman 1.52 AC_CONFIG_FILES([Makefile lib/Makefile lib/compat/Makefile lib/eggdrop/Makefile m4/Makefile po/Makefile.in src/Makefile modules/Makefile acconfig/module.mk])
12 tothwolf 1.35
13    
14 wcc 1.51 # Print start message
15 ite 1.1 EGG_MSG_CONFIGURE_START
16     AM_INIT_AUTOMAKE(eggdrop, 1.7.0)
17    
18 wcc 1.51
19 ite 1.1 # FIXME: optionally allow a system wide install by bypassing the macro below.
20     AC_PREFIX_DEFAULT([\${HOME}/eggdrop])
21    
22 wcc 1.51
23 ite 1.1 # config.h stuff
24     AH_TOP([#ifndef _EGG_CONFIG_H
25     #define _EGG_CONFIG_H])
26     AH_BOTTOM([#endif /* !_EGG_CONFIG_H */])
27    
28 wcc 1.51
29     # Check for a working C compiler
30 ite 1.1 AC_PROG_CC
31     EGG_CHECK_CC
32    
33 wcc 1.51
34     # Checks for odd operating systems
35 ite 1.1 AC_AIX
36     AC_ISC_POSIX
37     AC_MINIX
38    
39 wcc 1.51
40 tothwolf 1.2 # Checks for compiler characteristics
41     AC_C_BIGENDIAN
42     AC_C_CONST
43     AC_C_VOLATILE
44     AC_C_INLINE
45     AC_C_LONG_DOUBLE
46     EGG_C_LONG_LONG
47    
48 wcc 1.51
49 ite 1.1 # Gettext support
50     EGG_GNU_GETTEXT
51    
52 wcc 1.51
53 ite 1.1 # Libtool support
54     EGG_LIBTOOL
55    
56 wcc 1.51
57 ite 1.1 # Speedup compile
58     EGG_CHECK_CCPIPE
59    
60 wcc 1.51
61 ite 1.4 # Compile Warnings
62     EGG_CHECK_CFLAGS_WALL
63    
64 wcc 1.51
65 ite 1.1 # Checks for programs
66     AC_PROG_LN_S
67 stdarg 1.38 AC_PROG_LIBTOOL
68 ite 1.1 EGG_PROG_AWK
69     EGG_PROG_BASENAME
70     AC_CHECK_PROG(EGG_UNAME,uname,uname)
71     AC_CHECK_PROG(AR,ar,ar)
72    
73 ite 1.9
74 ite 1.1 # Test the os and set the module linking settings
75     EGG_CHECK_OS
76    
77 wcc 1.51
78 ite 1.1 # Checks for system libraries
79     EGG_CHECK_LIBS
80    
81 wcc 1.51
82 ite 1.1 # Checks for header files
83     AC_HEADER_DIRENT
84 tothwolf 1.2 AC_HEADER_STAT
85     AC_HEADER_STDC
86 ite 1.1 AC_HEADER_SYS_WAIT
87     AC_HEADER_TIME
88 wcc 1.51 AC_CHECK_HEADERS(string.h strings.h ctype.h stdlib.h limits.h unistd.h sys/rusage.h sys/select.h sys/poll.h stdarg.h std_args.h sys/time.h)
89    
90 ite 1.1
91 tothwolf 1.2 # Checks for types and structures
92 ite 1.1 AC_TYPE_PID_T
93     AC_TYPE_SIZE_T
94 tothwolf 1.2 EGG_TYPE_32BIT
95 ite 1.1 EGG_TYPE_SOCKLEN_T
96 tothwolf 1.2 EGG_INADDR_LOOPBACK
97 ite 1.1
98 wcc 1.51
99 ite 1.17 # Checks for library variables
100     EGG_VAR_SYS_ERRLIST
101    
102 wcc 1.51
103 ite 1.1 # Checks for library functions
104 wcc 1.51 AC_CHECK_FUNCS(clock dprintf fsync getdtablesize getrusage isascii random srandom rename setpgid sigaction sigemptyset uname)
105    
106 tothwolf 1.2
107     # Check for these functions, and replace those not found
108 wcc 1.51 AC_REPLACE_FUNCS(memcpy memset poll strcasecmp strncasecmp strftime strdup inet_ntop inet_pton strerror strlcat strlcpy)
109    
110 tothwolf 1.2
111     # These all share a common file: snprintf.c
112 wcc 1.51 AC_CHECK_FUNCS(vsnprintf snprintf asprintf vasprintf, [], [egg_replace_snprintf="yes"])
113     EGG_FUNC_C99_VSNPRINTF
114     EGG_REPLACE_SNPRINTF
115 tothwolf 1.2
116 ite 1.1
117 ite 1.18 # Check if getopt_long is avalaibale
118     EGG_FUNC_GETOPT_LONG
119    
120 ite 1.1
121 tothwolf 1.2 # Checks for IPV6
122 ite 1.1 EGG_IPV6_SUPPORTED
123     EGG_IPV6_OPTIONS
124    
125 wcc 1.51
126 wingman 1.50 # Checks for debug options
127 ite 1.1 EGG_DEBUG_OPTIONS
128    
129 wcc 1.51
130 wingman 1.50 # Defines version num
131 ite 1.1 EGG_DEFINE_VERSION_NUM
132    
133 wcc 1.51
134     # Save now since modules may fail due to a missing requirement
135 wingman 1.50 AC_CACHE_SAVE
136 ite 1.1
137 wcc 1.51
138 wingman 1.50 # Check for modules
139     EGG_CHECK_MODULES
140    
141 wcc 1.51
142 wingman 1.50 # Export list of enabled modules
143     AC_SUBST(EGG_MODULES_ENABLED)
144 ite 1.1
145 wcc 1.51
146 wingman 1.52 # Export auxiliary dir (./acconfig/)
147    
148 ite 1.1 AC_SUBST(ac_aux_dir)
149 ite 1.16
150 wingman 1.50 # Export list of preloaded shared objects
151     AC_SUBST(LIBEGGDROP_PRELOAD)
152    
153 wcc 1.51
154 wingman 1.50 # ldl support
155     AC_CONFIG_SUBDIRS(libltdl intl)
156    
157 wcc 1.51
158 tothwolf 1.35 AC_OUTPUT
159 ite 1.1 EGG_MSG_CONFIGURE_END

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23