diff options
author | Gary V. Vaughan <gary@gnu.org> | 2014-11-27 12:45:44 +0000 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-11-27 12:45:44 +0000 |
commit | bb68bc18379fb91f9ea39a5bb4870a05e1f7516a (patch) | |
tree | 8d7fed0ef0c656e5a97698540ccdc11dfd4138b7 /configure.ac | |
parent | 64a09a29e335b68d1996d36c95cd95a1f85b2bcf (diff) | |
download | m4-bb68bc18379fb91f9ea39a5bb4870a05e1f7516a.tar.gz |
modules: clean up no-longer supported preloading references.
* doc/m4.texi: Remove references to preloaded modules.
* configure.ac (Preloaded module configuration): Remove.
* Makefile.am (src_m4_LDFLAGS): Remove. DLPREOPEN no longer set.
(src_m4_DEPENDENCIES): Remove PREOPEN_DEPENDENCIES reference.
* tests/atlocal.in (DYNAMIC_MODULES): Remove.
* tests/testsuite.at (AT_CHECK_DYNAMIC_MODULE): Remove.
* tests/builtins.at, tests/modules.at: Remove references to
removed AT_CHECK_DYNAMIC_MODULE.
* tests/generate.awk: Don't generate AT_CHECK_DYNAMIC_MODULE
calls.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/configure.ac b/configure.ac index 2688a7f1..9b336c70 100644 --- a/configure.ac +++ b/configure.ac @@ -271,46 +271,6 @@ AC_DEFINE_UNQUOTED([PATH_SEPARATOR], ['$PATH_SEPARATOR'], [Define this to system search path delimiter]) -## ------------------------------- ## -## Preloaded module configuration. ## -## ------------------------------- ## -AS_IF([test "x$enable_shared" != xno], - [DYNAMIC_MODULES=yes], [DYNAMIC_MODULES=no]) -AC_SUBST([DYNAMIC_MODULES], [$DYNAMIC_MODULES]) - -AC_MSG_CHECKING([for modules to preload]) - DLPREOPEN= - - AC_ARG_WITH([modules], - [AS_HELP_STRING([--with-modules=MODULES], - [preload MODULES @<:@default: ]M4_DEFAULT_PRELOAD[@:>@])], - [use_modules="$withval"], - [use_modules="$M4_default_preload"]) - - PREOPEN_DEPENDENCIES= - DLPREOPEN="-dlpreopen force" - if test -z "$use_modules"; then - use_modules=none - else - if test "$use_modules" != yes; then - for module in $use_modules; do - case $module in - no|none) break ;; - m4|traditional|gnu|load|mpeval) dir=modules ;; - import|modtest|shadow|stdlib|time) dir=tests ;; - *) AC_MSG_ERROR([Unrecognized module `$module' in --with-modules]) - ;; - esac - DLPREOPEN="$DLPREOPEN -dlpreopen $dir/$module.la" - PREOPEN_DEPENDENCIES="$PREOPEN_DEPENDENCIES $dir/$module.la" - done - fi - fi -AC_MSG_RESULT([$use_modules]) -AC_SUBST([DLPREOPEN]) -AC_SUBST([PREOPEN_DEPENDENCIES]) - - ## ---------------- ## ## Gettext support. ## ## ---------------- ## |