aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-06-07 17:50:12 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-06-07 18:02:45 +0300
commitc14f3c4856d75624641ffa1d62d6e0c87217036f (patch)
treef4bab25f862624477314348cedadc96ae4a2bb7e /bootstrap
parentc42ac1fa64f94f23cec5dac1d2bdb3d000e62f8f (diff)
downloadsmap-c14f3c4856d75624641ffa1d62d6e0c87217036f.tar.gz
smap-c14f3c4856d75624641ffa1d62d6e0c87217036f.tar.bz2
Improve module loading/unloading sequence. Implement `guile' module.
* include/smap/parseopt.h: New file. * lib/parseopt.c: New file. * lib/Makefile.am (libsmap_la_SOURCES): Add parseopt.c. * src/cfg.c (cfg_cur_line): New variable. (read_line,parse_config): cfg_line keeps number of the line where the current statement started. cfg_cur_line keeps the actual line number. * src/module.c (smap_modules_unload): New function. (link_databases): Merge into init_databases. (init_databases): New function. (close_databases): New function. (free_databases: New function. * src/query.c (route_query): Rewrite initialization sequence. (match_map,match_cond): Minor fixes. * src/smap.c (smap_session_server): Close databases before returning. (smap_daemon): Return to caller, instead of exiting. (main): Rewrite initialization sequence. * src/smap.h: Include time.h (DBG_DATABASE): New constant. (smap_database_instance)<opened>: New member. (link_databases): Remove proto. (init_databases, free_databases, close_databases): New prototypes. * gint: New module. * Makefile.am (SUBDIRS): Add gint (ACLOCAL_AMFLAGS): Likewise. * bootstrap: Initialize submodules. * configure.ac: Initialize GINT * modules/Makefile.am (SUBDIRS): Add guile (conditionally) * modules/guile/Makefile.am: New file. * modules/guile/guile.c: New file. * include/smap/Makefile.am (smap_module) <smap_open> <smap_close>: New methods. * modules/echo/echo.c: Update module interfaces. Add missing includes. * modules/mbq/mbq.c: Likewise. * modules/mu-auth/mu-auth.c: Likewise. * lib/ostr.c: Add missing includes. * lib/wordsplit.c: Likewise. * src/srvman.c: Minor fixes. * src/url.c: Likewise.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 45df2f9..ea5f8ad 100755
--- a/bootstrap
+++ b/bootstrap
@@ -4,6 +4,9 @@ set -e
test -d m4 || mkdir m4
test -d build-aux || mkdir build-aux
+git submodule init || exit $?
+git submodule update || exit $?
+
cat > ChangeLog <<EOT
This file is a placeholder. It will be replaced with the actual ChangeLog
by make dist. Run make ChangeLog if you wish to create it earlier.

Return to:

Send suggestions and report system problems to the System administrator.