ltoptions.m4 revision 1016ad83
11016ad83Smrg# Helper functions for option handling. -*- Autoconf -*- 21016ad83Smrg# 31016ad83Smrg# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, 41016ad83Smrg# Inc. 51016ad83Smrg# Written by Gary V. Vaughan, 2004 61016ad83Smrg# 71016ad83Smrg# This file is free software; the Free Software Foundation gives 81016ad83Smrg# unlimited permission to copy and/or distribute it, with or without 91016ad83Smrg# modifications, as long as this notice is preserved. 101016ad83Smrg 111016ad83Smrg# serial 7 ltoptions.m4 121016ad83Smrg 131016ad83Smrg# This is to help aclocal find these macros, as it can't see m4_define. 141016ad83SmrgAC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 151016ad83Smrg 161016ad83Smrg 171016ad83Smrg# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) 181016ad83Smrg# ------------------------------------------ 191016ad83Smrgm4_define([_LT_MANGLE_OPTION], 201016ad83Smrg[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) 211016ad83Smrg 221016ad83Smrg 231016ad83Smrg# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) 241016ad83Smrg# --------------------------------------- 251016ad83Smrg# Set option OPTION-NAME for macro MACRO-NAME, and if there is a 261016ad83Smrg# matching handler defined, dispatch to it. Other OPTION-NAMEs are 271016ad83Smrg# saved as a flag. 281016ad83Smrgm4_define([_LT_SET_OPTION], 291016ad83Smrg[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl 301016ad83Smrgm4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), 311016ad83Smrg _LT_MANGLE_DEFUN([$1], [$2]), 321016ad83Smrg [m4_warning([Unknown $1 option `$2'])])[]dnl 331016ad83Smrg]) 341016ad83Smrg 351016ad83Smrg 361016ad83Smrg# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) 371016ad83Smrg# ------------------------------------------------------------ 381016ad83Smrg# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 391016ad83Smrgm4_define([_LT_IF_OPTION], 401016ad83Smrg[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) 411016ad83Smrg 421016ad83Smrg 431016ad83Smrg# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) 441016ad83Smrg# ------------------------------------------------------- 451016ad83Smrg# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME 461016ad83Smrg# are set. 471016ad83Smrgm4_define([_LT_UNLESS_OPTIONS], 481016ad83Smrg[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), 491016ad83Smrg [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), 501016ad83Smrg [m4_define([$0_found])])])[]dnl 511016ad83Smrgm4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 521016ad83Smrg])[]dnl 531016ad83Smrg]) 541016ad83Smrg 551016ad83Smrg 561016ad83Smrg# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) 571016ad83Smrg# ---------------------------------------- 581016ad83Smrg# OPTION-LIST is a space-separated list of Libtool options associated 591016ad83Smrg# with MACRO-NAME. If any OPTION has a matching handler declared with 601016ad83Smrg# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about 611016ad83Smrg# the unknown option and exit. 621016ad83Smrgm4_defun([_LT_SET_OPTIONS], 631016ad83Smrg[# Set options 641016ad83Smrgm4_foreach([_LT_Option], m4_split(m4_normalize([$2])), 651016ad83Smrg [_LT_SET_OPTION([$1], _LT_Option)]) 661016ad83Smrg 671016ad83Smrgm4_if([$1],[LT_INIT],[ 681016ad83Smrg dnl 691016ad83Smrg dnl Simply set some default values (i.e off) if boolean options were not 701016ad83Smrg dnl specified: 711016ad83Smrg _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no 721016ad83Smrg ]) 731016ad83Smrg _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no 741016ad83Smrg ]) 751016ad83Smrg dnl 761016ad83Smrg dnl If no reference was made to various pairs of opposing options, then 771016ad83Smrg dnl we run the default mode handler for the pair. For example, if neither 781016ad83Smrg dnl `shared' nor `disable-shared' was passed, we enable building of shared 791016ad83Smrg dnl archives by default: 801016ad83Smrg _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) 811016ad83Smrg _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) 821016ad83Smrg _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) 831016ad83Smrg _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], 841016ad83Smrg [_LT_ENABLE_FAST_INSTALL]) 851016ad83Smrg ]) 861016ad83Smrg])# _LT_SET_OPTIONS 871016ad83Smrg 881016ad83Smrg 891016ad83Smrg## --------------------------------- ## 901016ad83Smrg## Macros to handle LT_INIT options. ## 911016ad83Smrg## --------------------------------- ## 921016ad83Smrg 931016ad83Smrg# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) 941016ad83Smrg# ----------------------------------------- 951016ad83Smrgm4_define([_LT_MANGLE_DEFUN], 961016ad83Smrg[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) 971016ad83Smrg 981016ad83Smrg 991016ad83Smrg# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) 1001016ad83Smrg# ----------------------------------------------- 1011016ad83Smrgm4_define([LT_OPTION_DEFINE], 1021016ad83Smrg[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl 1031016ad83Smrg])# LT_OPTION_DEFINE 1041016ad83Smrg 1051016ad83Smrg 1061016ad83Smrg# dlopen 1071016ad83Smrg# ------ 1081016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes 1091016ad83Smrg]) 1101016ad83Smrg 1111016ad83SmrgAU_DEFUN([AC_LIBTOOL_DLOPEN], 1121016ad83Smrg[_LT_SET_OPTION([LT_INIT], [dlopen]) 1131016ad83SmrgAC_DIAGNOSE([obsolete], 1141016ad83Smrg[$0: Remove this warning and the call to _LT_SET_OPTION when you 1151016ad83Smrgput the `dlopen' option into LT_INIT's first parameter.]) 1161016ad83Smrg]) 1171016ad83Smrg 1181016ad83Smrgdnl aclocal-1.4 backwards compatibility: 1191016ad83Smrgdnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) 1201016ad83Smrg 1211016ad83Smrg 1221016ad83Smrg# win32-dll 1231016ad83Smrg# --------- 1241016ad83Smrg# Declare package support for building win32 dll's. 1251016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [win32-dll], 1261016ad83Smrg[enable_win32_dll=yes 1271016ad83Smrg 1281016ad83Smrgcase $host in 1291016ad83Smrg*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 1301016ad83Smrg AC_CHECK_TOOL(AS, as, false) 1311016ad83Smrg AC_CHECK_TOOL(DLLTOOL, dlltool, false) 1321016ad83Smrg AC_CHECK_TOOL(OBJDUMP, objdump, false) 1331016ad83Smrg ;; 1341016ad83Smrgesac 1351016ad83Smrg 1361016ad83Smrgtest -z "$AS" && AS=as 1371016ad83Smrg_LT_DECL([], [AS], [1], [Assembler program])dnl 1381016ad83Smrg 1391016ad83Smrgtest -z "$DLLTOOL" && DLLTOOL=dlltool 1401016ad83Smrg_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl 1411016ad83Smrg 1421016ad83Smrgtest -z "$OBJDUMP" && OBJDUMP=objdump 1431016ad83Smrg_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl 1441016ad83Smrg])# win32-dll 1451016ad83Smrg 1461016ad83SmrgAU_DEFUN([AC_LIBTOOL_WIN32_DLL], 1471016ad83Smrg[AC_REQUIRE([AC_CANONICAL_HOST])dnl 1481016ad83Smrg_LT_SET_OPTION([LT_INIT], [win32-dll]) 1491016ad83SmrgAC_DIAGNOSE([obsolete], 1501016ad83Smrg[$0: Remove this warning and the call to _LT_SET_OPTION when you 1511016ad83Smrgput the `win32-dll' option into LT_INIT's first parameter.]) 1521016ad83Smrg]) 1531016ad83Smrg 1541016ad83Smrgdnl aclocal-1.4 backwards compatibility: 1551016ad83Smrgdnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) 1561016ad83Smrg 1571016ad83Smrg 1581016ad83Smrg# _LT_ENABLE_SHARED([DEFAULT]) 1591016ad83Smrg# ---------------------------- 1601016ad83Smrg# implement the --enable-shared flag, and supports the `shared' and 1611016ad83Smrg# `disable-shared' LT_INIT options. 1621016ad83Smrg# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 1631016ad83Smrgm4_define([_LT_ENABLE_SHARED], 1641016ad83Smrg[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl 1651016ad83SmrgAC_ARG_ENABLE([shared], 1661016ad83Smrg [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], 1671016ad83Smrg [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], 1681016ad83Smrg [p=${PACKAGE-default} 1691016ad83Smrg case $enableval in 1701016ad83Smrg yes) enable_shared=yes ;; 1711016ad83Smrg no) enable_shared=no ;; 1721016ad83Smrg *) 1731016ad83Smrg enable_shared=no 1741016ad83Smrg # Look at the argument we got. We use all the common list separators. 1751016ad83Smrg lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 1761016ad83Smrg for pkg in $enableval; do 1771016ad83Smrg IFS="$lt_save_ifs" 1781016ad83Smrg if test "X$pkg" = "X$p"; then 1791016ad83Smrg enable_shared=yes 1801016ad83Smrg fi 1811016ad83Smrg done 1821016ad83Smrg IFS="$lt_save_ifs" 1831016ad83Smrg ;; 1841016ad83Smrg esac], 1851016ad83Smrg [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) 1861016ad83Smrg 1871016ad83Smrg _LT_DECL([build_libtool_libs], [enable_shared], [0], 1881016ad83Smrg [Whether or not to build shared libraries]) 1891016ad83Smrg])# _LT_ENABLE_SHARED 1901016ad83Smrg 1911016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) 1921016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) 1931016ad83Smrg 1941016ad83Smrg# Old names: 1951016ad83SmrgAC_DEFUN([AC_ENABLE_SHARED], 1961016ad83Smrg[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) 1971016ad83Smrg]) 1981016ad83Smrg 1991016ad83SmrgAC_DEFUN([AC_DISABLE_SHARED], 2001016ad83Smrg[_LT_SET_OPTION([LT_INIT], [disable-shared]) 2011016ad83Smrg]) 2021016ad83Smrg 2031016ad83SmrgAU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) 2041016ad83SmrgAU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) 2051016ad83Smrg 2061016ad83Smrgdnl aclocal-1.4 backwards compatibility: 2071016ad83Smrgdnl AC_DEFUN([AM_ENABLE_SHARED], []) 2081016ad83Smrgdnl AC_DEFUN([AM_DISABLE_SHARED], []) 2091016ad83Smrg 2101016ad83Smrg 2111016ad83Smrg 2121016ad83Smrg# _LT_ENABLE_STATIC([DEFAULT]) 2131016ad83Smrg# ---------------------------- 2141016ad83Smrg# implement the --enable-static flag, and support the `static' and 2151016ad83Smrg# `disable-static' LT_INIT options. 2161016ad83Smrg# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 2171016ad83Smrgm4_define([_LT_ENABLE_STATIC], 2181016ad83Smrg[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl 2191016ad83SmrgAC_ARG_ENABLE([static], 2201016ad83Smrg [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], 2211016ad83Smrg [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], 2221016ad83Smrg [p=${PACKAGE-default} 2231016ad83Smrg case $enableval in 2241016ad83Smrg yes) enable_static=yes ;; 2251016ad83Smrg no) enable_static=no ;; 2261016ad83Smrg *) 2271016ad83Smrg enable_static=no 2281016ad83Smrg # Look at the argument we got. We use all the common list separators. 2291016ad83Smrg lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 2301016ad83Smrg for pkg in $enableval; do 2311016ad83Smrg IFS="$lt_save_ifs" 2321016ad83Smrg if test "X$pkg" = "X$p"; then 2331016ad83Smrg enable_static=yes 2341016ad83Smrg fi 2351016ad83Smrg done 2361016ad83Smrg IFS="$lt_save_ifs" 2371016ad83Smrg ;; 2381016ad83Smrg esac], 2391016ad83Smrg [enable_static=]_LT_ENABLE_STATIC_DEFAULT) 2401016ad83Smrg 2411016ad83Smrg _LT_DECL([build_old_libs], [enable_static], [0], 2421016ad83Smrg [Whether or not to build static libraries]) 2431016ad83Smrg])# _LT_ENABLE_STATIC 2441016ad83Smrg 2451016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) 2461016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) 2471016ad83Smrg 2481016ad83Smrg# Old names: 2491016ad83SmrgAC_DEFUN([AC_ENABLE_STATIC], 2501016ad83Smrg[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) 2511016ad83Smrg]) 2521016ad83Smrg 2531016ad83SmrgAC_DEFUN([AC_DISABLE_STATIC], 2541016ad83Smrg[_LT_SET_OPTION([LT_INIT], [disable-static]) 2551016ad83Smrg]) 2561016ad83Smrg 2571016ad83SmrgAU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) 2581016ad83SmrgAU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) 2591016ad83Smrg 2601016ad83Smrgdnl aclocal-1.4 backwards compatibility: 2611016ad83Smrgdnl AC_DEFUN([AM_ENABLE_STATIC], []) 2621016ad83Smrgdnl AC_DEFUN([AM_DISABLE_STATIC], []) 2631016ad83Smrg 2641016ad83Smrg 2651016ad83Smrg 2661016ad83Smrg# _LT_ENABLE_FAST_INSTALL([DEFAULT]) 2671016ad83Smrg# ---------------------------------- 2681016ad83Smrg# implement the --enable-fast-install flag, and support the `fast-install' 2691016ad83Smrg# and `disable-fast-install' LT_INIT options. 2701016ad83Smrg# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 2711016ad83Smrgm4_define([_LT_ENABLE_FAST_INSTALL], 2721016ad83Smrg[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl 2731016ad83SmrgAC_ARG_ENABLE([fast-install], 2741016ad83Smrg [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], 2751016ad83Smrg [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], 2761016ad83Smrg [p=${PACKAGE-default} 2771016ad83Smrg case $enableval in 2781016ad83Smrg yes) enable_fast_install=yes ;; 2791016ad83Smrg no) enable_fast_install=no ;; 2801016ad83Smrg *) 2811016ad83Smrg enable_fast_install=no 2821016ad83Smrg # Look at the argument we got. We use all the common list separators. 2831016ad83Smrg lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 2841016ad83Smrg for pkg in $enableval; do 2851016ad83Smrg IFS="$lt_save_ifs" 2861016ad83Smrg if test "X$pkg" = "X$p"; then 2871016ad83Smrg enable_fast_install=yes 2881016ad83Smrg fi 2891016ad83Smrg done 2901016ad83Smrg IFS="$lt_save_ifs" 2911016ad83Smrg ;; 2921016ad83Smrg esac], 2931016ad83Smrg [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) 2941016ad83Smrg 2951016ad83Smrg_LT_DECL([fast_install], [enable_fast_install], [0], 2961016ad83Smrg [Whether or not to optimize for fast installation])dnl 2971016ad83Smrg])# _LT_ENABLE_FAST_INSTALL 2981016ad83Smrg 2991016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) 3001016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) 3011016ad83Smrg 3021016ad83Smrg# Old names: 3031016ad83SmrgAU_DEFUN([AC_ENABLE_FAST_INSTALL], 3041016ad83Smrg[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 3051016ad83SmrgAC_DIAGNOSE([obsolete], 3061016ad83Smrg[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3071016ad83Smrgthe `fast-install' option into LT_INIT's first parameter.]) 3081016ad83Smrg]) 3091016ad83Smrg 3101016ad83SmrgAU_DEFUN([AC_DISABLE_FAST_INSTALL], 3111016ad83Smrg[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 3121016ad83SmrgAC_DIAGNOSE([obsolete], 3131016ad83Smrg[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3141016ad83Smrgthe `disable-fast-install' option into LT_INIT's first parameter.]) 3151016ad83Smrg]) 3161016ad83Smrg 3171016ad83Smrgdnl aclocal-1.4 backwards compatibility: 3181016ad83Smrgdnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) 3191016ad83Smrgdnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) 3201016ad83Smrg 3211016ad83Smrg 3221016ad83Smrg# _LT_WITH_PIC([MODE]) 3231016ad83Smrg# -------------------- 3241016ad83Smrg# implement the --with-pic flag, and support the `pic-only' and `no-pic' 3251016ad83Smrg# LT_INIT options. 3261016ad83Smrg# MODE is either `yes' or `no'. If omitted, it defaults to `both'. 3271016ad83Smrgm4_define([_LT_WITH_PIC], 3281016ad83Smrg[AC_ARG_WITH([pic], 3291016ad83Smrg [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], 3301016ad83Smrg [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 3311016ad83Smrg [lt_p=${PACKAGE-default} 3321016ad83Smrg case $withval in 3331016ad83Smrg yes|no) pic_mode=$withval ;; 3341016ad83Smrg *) 3351016ad83Smrg pic_mode=default 3361016ad83Smrg # Look at the argument we got. We use all the common list separators. 3371016ad83Smrg lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3381016ad83Smrg for lt_pkg in $withval; do 3391016ad83Smrg IFS="$lt_save_ifs" 3401016ad83Smrg if test "X$lt_pkg" = "X$lt_p"; then 3411016ad83Smrg pic_mode=yes 3421016ad83Smrg fi 3431016ad83Smrg done 3441016ad83Smrg IFS="$lt_save_ifs" 3451016ad83Smrg ;; 3461016ad83Smrg esac], 3471016ad83Smrg [pic_mode=default]) 3481016ad83Smrg 3491016ad83Smrgtest -z "$pic_mode" && pic_mode=m4_default([$1], [default]) 3501016ad83Smrg 3511016ad83Smrg_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl 3521016ad83Smrg])# _LT_WITH_PIC 3531016ad83Smrg 3541016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) 3551016ad83SmrgLT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) 3561016ad83Smrg 3571016ad83Smrg# Old name: 3581016ad83SmrgAU_DEFUN([AC_LIBTOOL_PICMODE], 3591016ad83Smrg[_LT_SET_OPTION([LT_INIT], [pic-only]) 3601016ad83SmrgAC_DIAGNOSE([obsolete], 3611016ad83Smrg[$0: Remove this warning and the call to _LT_SET_OPTION when you 3621016ad83Smrgput the `pic-only' option into LT_INIT's first parameter.]) 3631016ad83Smrg]) 3641016ad83Smrg 3651016ad83Smrgdnl aclocal-1.4 backwards compatibility: 3661016ad83Smrgdnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) 3671016ad83Smrg 3681016ad83Smrg## ----------------- ## 3691016ad83Smrg## LTDL_INIT Options ## 3701016ad83Smrg## ----------------- ## 3711016ad83Smrg 3721016ad83Smrgm4_define([_LTDL_MODE], []) 3731016ad83SmrgLT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], 3741016ad83Smrg [m4_define([_LTDL_MODE], [nonrecursive])]) 3751016ad83SmrgLT_OPTION_DEFINE([LTDL_INIT], [recursive], 3761016ad83Smrg [m4_define([_LTDL_MODE], [recursive])]) 3771016ad83SmrgLT_OPTION_DEFINE([LTDL_INIT], [subproject], 3781016ad83Smrg [m4_define([_LTDL_MODE], [subproject])]) 3791016ad83Smrg 3801016ad83Smrgm4_define([_LTDL_TYPE], []) 3811016ad83SmrgLT_OPTION_DEFINE([LTDL_INIT], [installable], 3821016ad83Smrg [m4_define([_LTDL_TYPE], [installable])]) 3831016ad83SmrgLT_OPTION_DEFINE([LTDL_INIT], [convenience], 3841016ad83Smrg [m4_define([_LTDL_TYPE], [convenience])]) 385