forked from TinyMUSH/TinyMUSH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
461 lines (383 loc) · 16.8 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
dnl AC_INIT and AX_VERSION need constants to work. By defining the version here we can avoid
dnl to have multiple places to update when
m4_define(TINYMUSH_VERSION, [3.3.0.9])
m4_define(TINYMUSH_RELEASE_DATE, ["2015-06-06"])
m4_define(TINYMUSH_COPYRIGHT, [Copyright (C) 1989-2015 TinyMUSH development team.])
AC_INIT([TinyMUSH],[TINYMUSH_VERSION],[https://github.com/TinyMUSH/TinyMUSH/issues],[tinymush],[https://github.com/TinyMUSH])
AX_VERSION()
dnl AC_INIT define the following itself:
dnl PACKAGE_NAME
dnl PACKAGE_TARNAME
dnl PACKAGE_VERSION
dnl PACKAGE_STRING
dnl PACKAGE_BUGREPORT
dnl PACKAGE_URL
dnl Aith AX_VERSION, We define the following.
dnl PACKAGE_VERSION_MAJOR
dnl PACKAGE_VERSION_MINOR
dnl PACKAGE_RELEASE_STATUS
dnl PACKAGE_RELEASE_NAME
dnl PACKAGE_RELEASE_REVISION
dnl And we manually create a few other things that need to be updated from time to time.
dnl PACKAGE_RELEASE_DATE
dnl PACKAGE_COPYRIGHT
dnl Some default values
dnl
with_included_ltdl="yes"
AC_COPYRIGHT([TINYMUSH_COPYRIGHT
This software is release under the terms of the Artistic License 2.0.
The Artistic License 2.0 establishes the terms under which a given free
software Package may be copied, modified, distributed, and/or redistributed.
The intent is that the Copyright Holder maintains some artistic control over
the development of that Package while still keeping the Package available as
open source and free software.
You are always permitted to make arrangements wholly outside of this license
directly with the Copyright Holder of a given Package. If the terms of this
license do not permit the full use that you propose to make of the Package,
you should contact the Copyright Holder and seek a different licensing
arrangement.])
AC_CONFIG_SRCDIR([src/game.c])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_AUX_DIR([src/libltdl/config])
AC_CONFIG_MACRO_DIR([src/libltdl/m4])
AX_PRINT_PACKAGE_TITLE()
AX_BOX([Checks for programs])
# Checks for programs.
AC_PROG_CC
AC_PROG_CC_STDC
AC_PROG_CPP
AC_PROG_CPP_WERROR
AM_PROG_CC_C_O
AC_GNU_SOURCE
AC_PROG_MAKE_SET
AC_PROG_INSTALL
LT_INIT
AC_PATH_PROGS([with_cproto_prog], [cproto], [notfound])
AS_IF([test "x$with_cproto_prog" = "xnotfound"],[AC_MSG_ERROR([Please install CPROTO before trying again])],)
AC_PATH_PROGS([with_tar_prog], [tar], [notfound])
AS_IF([test "x$with_tar_prog" = "xnotfound"],[AC_MSG_ERROR([Please install TAR before trying again])],)
AC_PATH_PROGS([with_compress_prog], [gzip], [notfound])
AS_IF([test "x$with_compress_prog" = "xnotfound"],[AC_MSG_ERROR([Please install GZIP before trying again])],)
AX_BOX([Initializing Automake])
AM_INIT_AUTOMAKE([subdir-objects])
AX_BOX([Initializing Libtools])
LT_PREREQ([2.4])
LT_CONFIG_LTDL_DIR([src/libltdl])
LT_INIT([dlopen])
AC_SUBST([LIBTOOL_DEPS])
LTDL_INIT([convenience])
AX_BOX([$ac_default_prefix])
AX_BOX([Checks for Prefix])
dnl XXX // This really need to be check...
dnl AC_PREFIX_DEFAULT([`pwd -P | sed 's:/[[^/]]*$::'`/game])
AC_PREFIX_DEFAULT([`pwd -P`/game])
AC_MSG_CHECKING([for installation suffix])
AC_ARG_WITH([install-suffix],
[AS_HELP_STRING([--with-install-suffix@<:@=suffix@:>@], [Select an installation suffix for includes, libraries and text files, if no installation suffix is given, configure will use "tinymush" if installed in the default location, else, no prefix will be used])],
[AS_IF([test "x$withval" = "x"], [with_install_suffix="tinymush"], [with_install_suffix="$withval"])],
[AS_CASE(["$prefix"], ["NONE"], [with_install_suffix="tinymush"],[$ac_default_prefix], [with_install_suffix="tinymush"], [with_install_suffix=""])])
with_install_suffix="/`echo "$with_install_suffix" | sed "s/\///g"`"
AS_IF([test "x$with_install_suffix" = "x/"], [
with_install_suffix=""
AC_MSG_RESULT([none])
], [
AC_MSG_RESULT([$with_install_suffix])
])
AC_SUBST([with_install_suffix])
AX_BOX([Checks for Options])
AH_TOP([#ifndef __AUTOCONF_H
#define __AUTOCONF_H
#include "copyright.h"])
AH_BOTTOM([
#endif /* __AUTOCONF_H */])
AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug],[enable debugging, default: no]), [case "${enableval}" in yes) with_debug=true ;; no) with_debug=false ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; esac], [with_debug=false])
AM_CONDITIONAL(GCC_DEBUG, test x"$with_debug" = x"true")
AC_MSG_CHECKING([dbm engine to use])
AC_ARG_WITH([dbm],
[AS_HELP_STRING([--with-dbm=gdbm|qdbm], [Select the DBM driver used to save game data, valid values are : gdbm Use the traditional GDBM hash database driver, or qdbm : Use the new QDBM hash database driver. A newer implementation of the DBM engine. @<:@default=qdbm@:>@])],
[AS_CASE([$withval],
[gdbm],
[
with_dbm="gdbm"
AC_DEFINE([MUSH_DBM], ["gdbm"], [Type of DBM used])
],
[qdbm],
[
with_dbm="qdbm"
AC_DEFINE([MUSH_DBM], ["qdbm"], [Type of DBM used])
],
[
with_dbm="qdbm"
AC_DEFINE([MUSH_DBM], ["qdbm"], [Type of DBM used])
]
)],
[
with_dbm="qdbm"
AC_DEFINE([MUSH_DBM], ["qdbm"], [Type of DBM used])
])
AC_MSG_RESULT([$with_dbm])
AM_CONDITIONAL([WANT_DBM_GDBM], [test "x$with_dbm" = "xgdbm"])
AM_CONDITIONAL([WANT_DBM_QDBM], [test "x$with_dbm" = "xqdbm"])
AC_MSG_CHECKING([whether to enable compiler warnings])
AC_ARG_ENABLE([warnings], [AS_HELP_STRING([--enable-warnings], [enable compiler warnings (-Wall) @<:@default=no@:>@])],
[AS_IF([test "x$enableval" = "xyes"],
[
CFLAGS="$CFLAGS -Wall"
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
]
)],
[AC_MSG_RESULT([no])]
)
AC_MSG_CHECKING([whether to enable compiler extra warnings])
AC_ARG_ENABLE([warnings], [AS_HELP_STRING([--enable-warnings-extra], [enable compiler extra warnings (-Wextra) @<:@default=no@:>@])],
[AS_IF([test "x$enableval" = "xyes"],
[
CFLAGS="$CFLAGS -Wextra"
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no])
]
)],
[AC_MSG_RESULT([no])]
)
AC_MSG_CHECKING([whether to enable disk-based database])
AC_ARG_ENABLE([disk-based], [AS_HELP_STRING([--enable-disk-based], [store the database on disk using a DBM hashfile, and cache some attributes in a limited amount of memory. The alternative is memory-based, where the database is kept in memory. Disabling the disk-based cache can improve performance if enough memory is available. @<:@default=yes@:>@])],
[AS_IF([test "x$enableval" = "xno"],
[
AC_DEFINE([MEMORY_BASED], [1], [Enable memory-based DBM hashDB])
AC_MSG_RESULT([no])
],
[
AC_MSG_RESULT([yes])
]
)],
[AC_MSG_RESULT([yes])]
)
AC_MSG_CHECKING([whether the comsys module is enable])
AC_ARG_ENABLE([module-comsys], [AS_HELP_STRING([--enable-module-comsys], [Enable support for the comsys module @<:@default=yes@:>@])],
[
AX_ENABLE_YESNO([$enableval])
], [
AC_MSG_RESULT([yes])
enable_module_comsys="yes"
]
)
AM_CONDITIONAL([WANT_MODULE_COMSYS], [test "x$enable_module_comsys" = "xyes"])
AC_MSG_CHECKING([whether the mail module is enable])
AC_ARG_ENABLE([module-mail], [AS_HELP_STRING([--enable-module-mail], [Enable support for the mail module @<:@default=yes@:>@])],
[
AX_ENABLE_YESNO([$enableval])
], [
AC_MSG_RESULT([yes])
enable_module_mail="yes"
]
)
AM_CONDITIONAL([WANT_MODULE_MAIL], [test "x$enable_module_mail" = "xyes"])
AC_MSG_CHECKING([whether the dbsql module is enable])
AC_ARG_ENABLE([module-dbsql], [AS_HELP_STRING([--enable-module-dbsql], [Enable support for the dbsql module @<:@default=no@:>@])],
[
AX_ENABLE_YESNO([$enableval])
], [
AC_MSG_RESULT([no])
enable_module_dbsql="no"
]
)
AM_CONDITIONAL([WANT_MODULE_DB_SQL], [test "x$enable_module_dbsql" = "xyes"])
AC_MSG_CHECKING([dbsql module driver to use])
AC_ARG_WITH([module-dbsql],
[AS_HELP_STRING([--with-module-dbsql=DRIVER], [Select the SQL driver used by the db_sql module, valid values are : none : no database driver, msql : use mSQL database, mysql : use MySQL database driver, pgsql : use PostgreSQL database driver or sqlite : use SQLite database driver. Of course support for the database must be avalable before trying to use anything but none. @<:@default=none@:>@])],
[AS_CASE([$withval], [msql], [with_db_sql="msql"], [pgsql], [with_db_sql="pgsql"], [sqlite], [with_db_sql="sqlite"], [with_db_sql="none"])],
[with_module_dbsql="none"])
AC_MSG_RESULT([$with_module_dbsql])
AS_CASE([$with_module_dbsql],
[msql], [
AX_CHECK_MSQL([yes])
],
[mysql], [
AX_CHECK_MYSQL([yes])
AC_SUBST([MYSQL_LIBS])
AC_SUBST([MYSQL_CFLAGS])
AC_DEFINE([HAVE_MYSQL], [1], [DB_SQL use the MySQL driver])
],
[pgsql], [
AX_CHECK_PGSQL([yes])
AC_SUBST([PGSQL_LIBS])
AC_SUBST([PGSQL_CFLAGS])
AC_DEFINE([HAVE_PGSQL], [1], [DB_SQL use the PostgreSQL driver])
],
[sqlite], [
AX_LIB_SQLITE3([3.0.0])
],
[AC_DEFINE([DB_SQL_DRIVER],[NONE], [DB_SQL use no driver driver])]
)
AM_CONDITIONAL([WANT_MODULE_DB_SQL_DRIVER_NONE], [test "x$with_module_dbsql" = "xnone"])
AM_CONDITIONAL([WANT_MODULE_DB_SQL_DRIVER_MSQL], [test "x$with_module_dbsql" = "xmsql"])
AM_CONDITIONAL([WANT_MODULE_DB_SQL_DRIVER_MYSQL], [test "x$with_module_dbsql" = "xmysql"])
AM_CONDITIONAL([WANT_MODULE_DB_SQL_DRIVER_PGSQL], [test "x$with_module_dbsql" = "xpgsql"])
AM_CONDITIONAL([WANT_MODULE_DB_SQL_DRIVER_SQLITE], [test "x$with_module_dbsql" = "xsqlite"])
AC_MSG_CHECKING([number of env vars])
AC_ARG_WITH([env-vars], [AS_HELP_STRING([--with-env-vars=NUMBER], [Number of env vars (%0 et al) @<:@default=10@:>@])], [with_env_vars=$withval], [with_env_vars=10])
AC_MSG_RESULT([$with_env_vars])
AC_DEFINE_UNQUOTED([NUM_ENV_VARS], [${with_env_vars}], [Number of env vars (%0 et al)])
AC_MSG_CHECKING([maximum number of iter levels])
AC_ARG_WITH([max-iter], [AS_HELP_STRING([--with-max-iter=MAX], [Maximum number of iter levels @<:@default=1024@:>@])], [with_max_iter=$withval], [with_max_iter=1024])
AC_MSG_RESULT([$with_max_iter])
AC_DEFINE_UNQUOTED([MAX_ITER_NESTING], [${with_max_iter}], [max # of iter levels])
AC_MSG_CHECKING([maximum length of a delimiter])
AC_ARG_WITH([max-delim], [AS_HELP_STRING([--with-max-delim=MAX], [Maximum lenght of a delimiter @<:@default=128@:>@])], [with_max_delim=$withval], [with_max_delim=128])
AC_MSG_RESULT([$with_max_delim])
AC_DEFINE_UNQUOTED([MAX_DELIM_LEN], [${with_max_delim}], [Maximum length of a delimiter])
AX_BOX([Checks for platform])
# Checks for platform.
AX_BOX([Checks for libraries])
# Checks for libraries.
AC_SEARCH_LIBS([crypt], [crypt], [], [AC_MSG_FAILURE([could not find library crypt])])
AC_SEARCH_LIBS([SSL_library_init], [ssl], [], [AC_MSG_FAILURE([could not find library openssl])])
AC_SEARCH_LIBS([herror], [resolv], [], [AC_MSG_FAILURE([could not find library resolv])])
AC_SEARCH_LIBS([socket], [c socket], [], [AC_MSG_FAILURE([could not find libraries c or socket])])
AC_SEARCH_LIBS([gethostbyaddr], [nsl inet], [], [AC_MSG_FAILURE([could not find libraries nls or inet])])
AC_SEARCH_LIBS([sqrt],[m], [], [AC_MSG_FAILURE([could not find librarie m])])
AC_SEARCH_LIBS([pcre_exec], [pcre], [], [AC_MSG_FAILURE([could not find librarie pcre])])
AX_BOX([Checks for header files.])
# Checks for header files.
AC_HEADER_STDBOOL
AC_HEADER_STDC
AC_HEADER_TIME
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([arpa/inet.h ctype.h dlfcn.h dl.h dld.h errno.h fcntl.h float.h limits.h math.h malloc.h memory.h netdb.h netinet/in.h signal.h stddef.h stdlib.h stdio.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/select.h sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h unistd.h pcre.h libgen.h])
AX_BOX([Checks for typedefs, structures, and compiler characteristics.])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_CHAR_UNSIGNED
AC_C_INLINE
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_STRUCT_TM
AC_STRUCT_TIMEZONE
AC_MSG_CHECKING([for struct linger in sys/socket.h])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
#include <sys/socket.h> ]], [[struct linger ling; ling.l_onoff = 1;]])],[AC_DEFINE(HAVE_LINGER, 1, Define if your <sys/socket.h> declares `struct linger'.) AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
AC_MSG_CHECKING([for union wait in sys/wait.h])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/wait.h>]], [[union wait stat;]])],[AC_DEFINE(HAVE_UNION_WAIT, 1, Define if your <sys/wait.h> declares `union wait'.) AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
AC_MSG_CHECKING([for struct rusage completeness in sys/resource.h])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/resource.h>]], [[struct rusage usage; usage.ru_ixrss = 1]])],[AC_DEFINE(STRUCT_RUSAGE_COMPLETE, 1, Define if your <sys/resource.h> declares everything we need in `struct rusage'.) AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
AC_MSG_CHECKING([for signal SIGCHLD braindamage in signal.h])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <sys/types.h>
#include <signal.h>
#ifndef SIGCHLD
#define SIGCHLD SIGCLD
#endif
int rlev;
RETSIGTYPE sighand(sig)
int sig;
{
int stat;
if (rlev++ > 2)
exit(1);
signal(SIGCHLD, sighand);
wait(&stat);
return;
}
main(argc, argv)
int argc;
char **argv;
{
rlev = 0;
signal(SIGCHLD, sighand);
if (fork()) {
sleep(10);
} else {
sleep(2);
exit(1);
}
exit(0);
}]])],[AC_MSG_RESULT(no)],[AC_DEFINE(SIGNAL_SIGCHLD_BRAINDAMAGE, 1, Define if your <sys/signal> handle signals correctly.) AC_MSG_RESULT(yes)],[AC_DEFINE(SIGNAL_SIGCHLD_BRAINDAMAGE, 1, Define if your <sys/signal> handle signals correctly.) AC_MSG_RESULT(unable to test... assuming yes)])
AC_MSG_CHECKING([for broken small struct padding])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
main(argc, argv)
int argc;
char **argv;
{
struct in_addr addr;
char *dq;
addr.s_addr = htonl(0x01020304);
dq = inet_ntoa(addr);
if (dq[0] != '1' || dq[1] != '.' || dq[2] != '2' || dq[3] != '.' ||
dq[4] != '3' || dq[5] != '.' || dq[6] != '4' || dq[7] != '\0')
return 1;
return 0;
}]])],[AC_MSG_RESULT(no)],[AC_DEFINE(BROKEN_GCC_PADDING, 1, Define if your GCC break small struct padding) AC_MSG_RESULT(yes)],[AC_DEFINE(BROKEN_GCC_PADDING, 1, Define if your GCC break small struct padding) AC_MSG_RESULT(unable to test... assuming yes)])
AC_CHECK_TYPES([ptrdiff_t])
AC_CHECK_MEMBERS([struct stat.st_blksize])
AX_BOX([Check for Declarations.])
# Check for Declarations
AC_CHECK_DECLS([sys_siglist],[],[],[#include <signal.h>
/* NetBSD declares sys_siglist in unistd.h. */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
])
AC_MSG_CHECKING(for sys_signame in signal.h)
AC_EGREP_HEADER(sys_signame,signal.h,AC_DEFINE([HAVE_SYS_SIGNAME], [1], [Define if your <signal.h> doesn't declares `sys_signame'.]) AC_MSG_RESULT(yes),AC_MSG_RESULT(no))
AX_BOX([Checks for library functions.])
# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_FORK
AC_FUNC_VPRINTF
AC_FUNC_MMAP
AC_CHECK_FUNCS([alarm gethostbyaddr gethostbyname inet_ntoa isascii localtime_r munmap setrlimit srandom strcasecmp strchr strrchr strspn])
includedir=$includedir$with_install_suffix
libdir=$libdir$with_install_suffix
datarootdir=$datarootdir$with_install_suffix
sysconfdir=$sysconfdir$with_install_suffix
AC_SUBST([ac_aux_dir])
AC_DEFINE_UNQUOTED([PACKAGE_CONFIG], ["$ac_configure_args"], [Switches used with ./configure])
AC_DEFINE_UNQUOTED([PACKAGE_RELEASE_DATE], TINYMUSH_RELEASE_DATE, [Date of Release])
AC_DEFINE_UNQUOTED([PACKAGE_COPYRIGHT], TINYMUSH_COPYRIGHT, [Copyright Notice])
AX_BOX([Configuring files.])
AC_CONFIG_FILES([src/Makefile src/modules/comsys/Makefile src/modules/mail/Makefile src/modules/db_sql/Makefile Makefile])
AX_BOX([Generating config.status.])
AC_OUTPUT
dnl We need to expand the paths twices to be sure all vars are expanded.
AX_EXPAND_DIR(tm_prefix,AX_EXPAND_DIR(tm_prefix, "$prefix"))
AX_EXPAND_DIR(tm_includedir,AX_EXPAND_DIR(tm_includedir, "$includedir"))
AX_EXPAND_DIR(tm_libdir,AX_EXPAND_DIR(tm_libdir, "$libdir"))
AX_EXPAND_DIR(tm_datarootdir,AX_EXPAND_DIR(tm_datarootdir, "$datarootdir"))
AX_EXPAND_DIR(tm_sysconfdir,AX_EXPAND_DIR(tm_sysconfdir, "$sysconfdir"))
AX_PRINT_PACKAGE_TITLE()
AX_PRINT([
%BPath
-------------------------------%b
Installation directory : %B$tm_prefix%b
Binaries directory : %B$tm_prefix/bin%b
Includes directory : %B$tm_includedir%b
Libraries directory : %B$tm_libdir%b
Help Text directory : %B$tm_datarootdir%b
Data directory : %B$tm_sysconfdir%b
%BLimits
-------------------------------%b
Number of env vars : %B$with_env_vars%b
Number of iter levels : %B$with_max_iter%b
Lenght of a delimiter : %B$with_max_delim%b
%BDatabase
-------------------------------%b
DBM Engine : %B$with_dbm%b
%BModules
-------------------------------%b
Module ComSYS : %B$enable_module_comsys%b
Module Mail : %B$enable_module_mail%b
Module DBSQL : %B$enable_module_dbsql%b with driver %B$with_module_dbsql%b
If everything is ok, you can now type %Bmake install%b to install the engine.])