|
* .gitignore: Update.
* Makefile.am (SUBDIRS): Remove libltdl
* configure.ac (LT_WITH_LTDL et al): Removed.
Check for libtool and dlopen explicitly.
* include/smap/module.h (SMAP_EXPORT): Remove.
(SMAP_MODULE_VERSION): Raise version number.
* modules/echo/echo.c: Change declaration of smap_module.
* modules/guile/guile.c: Likewise.
* modules/ldap/ldap.c: Likewise.
* modules/mailutils/mailutils.c: Likewise.
* modules/mysql/mysql.c: Likewise.
* modules/postgres/postgres.c: Likewise.
* modules/sed/sed.c: Likewise.
* src/Makefile.am (smapd_LDADD): Remove @LIBLTDL@
(noinst_HEADERS): Add list.h
* src/list.h: New file (from https://git.gnu.org.ua/micron.git)
* src/common.h (e2nrealloc): New proto.
* src/mem.c (e2nrealloc): New function.
* src/module.c (mod_load_path): Change data type.
(try_load_in_path): New function.
(_load_module): Try prepend path, LD_LIBRARY_PATH, SMAP_MODDIR,
and append path, in that order.
* src/query.c (dispatch_rule): Remove prev,next, add link
instead.
All uses changed
* src/smapd.h: Don't include ltdl.h.
Include list.h
(DCLATT,DCLDET,DCLLOC,DCLLIST,DCLIDLIST): Remove.
(struct smap_module_instance: Change type of handle to void*
Remove prev,next, add link instead.
(struct smap_database_instance): Remove prev,next, add link instead.
|