ltoptions.m4 revision 267843
1267843Sdelphij# Helper functions for option handling. -*- Autoconf -*- 2267843Sdelphij# 3267843Sdelphij# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, 4267843Sdelphij# Inc. 5267843Sdelphij# Written by Gary V. Vaughan, 2004 6267843Sdelphij# 7267843Sdelphij# This file is free software; the Free Software Foundation gives 8267843Sdelphij# unlimited permission to copy and/or distribute it, with or without 9267843Sdelphij# modifications, as long as this notice is preserved. 10267843Sdelphij 11267843Sdelphij# serial 7 ltoptions.m4 12267843Sdelphij 13267843Sdelphij# This is to help aclocal find these macros, as it can't see m4_define. 14267843SdelphijAC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 15267843Sdelphij 16267843Sdelphij 17267843Sdelphij# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) 18267843Sdelphij# ------------------------------------------ 19267843Sdelphijm4_define([_LT_MANGLE_OPTION], 20267843Sdelphij[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) 21267843Sdelphij 22267843Sdelphij 23267843Sdelphij# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) 24267843Sdelphij# --------------------------------------- 25267843Sdelphij# Set option OPTION-NAME for macro MACRO-NAME, and if there is a 26267843Sdelphij# matching handler defined, dispatch to it. Other OPTION-NAMEs are 27267843Sdelphij# saved as a flag. 28267843Sdelphijm4_define([_LT_SET_OPTION], 29267843Sdelphij[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl 30267843Sdelphijm4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), 31267843Sdelphij _LT_MANGLE_DEFUN([$1], [$2]), 32267843Sdelphij [m4_warning([Unknown $1 option `$2'])])[]dnl 33267843Sdelphij]) 34267843Sdelphij 35267843Sdelphij 36267843Sdelphij# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) 37267843Sdelphij# ------------------------------------------------------------ 38267843Sdelphij# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 39267843Sdelphijm4_define([_LT_IF_OPTION], 40267843Sdelphij[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) 41267843Sdelphij 42267843Sdelphij 43267843Sdelphij# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) 44267843Sdelphij# ------------------------------------------------------- 45267843Sdelphij# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME 46267843Sdelphij# are set. 47267843Sdelphijm4_define([_LT_UNLESS_OPTIONS], 48267843Sdelphij[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), 49267843Sdelphij [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), 50267843Sdelphij [m4_define([$0_found])])])[]dnl 51267843Sdelphijm4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 52267843Sdelphij])[]dnl 53267843Sdelphij]) 54267843Sdelphij 55267843Sdelphij 56267843Sdelphij# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) 57267843Sdelphij# ---------------------------------------- 58267843Sdelphij# OPTION-LIST is a space-separated list of Libtool options associated 59267843Sdelphij# with MACRO-NAME. If any OPTION has a matching handler declared with 60267843Sdelphij# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about 61267843Sdelphij# the unknown option and exit. 62267843Sdelphijm4_defun([_LT_SET_OPTIONS], 63267843Sdelphij[# Set options 64267843Sdelphijm4_foreach([_LT_Option], m4_split(m4_normalize([$2])), 65267843Sdelphij [_LT_SET_OPTION([$1], _LT_Option)]) 66267843Sdelphij 67267843Sdelphijm4_if([$1],[LT_INIT],[ 68267843Sdelphij dnl 69267843Sdelphij dnl Simply set some default values (i.e off) if boolean options were not 70267843Sdelphij dnl specified: 71267843Sdelphij _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no 72267843Sdelphij ]) 73267843Sdelphij _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no 74267843Sdelphij ]) 75267843Sdelphij dnl 76267843Sdelphij dnl If no reference was made to various pairs of opposing options, then 77267843Sdelphij dnl we run the default mode handler for the pair. For example, if neither 78267843Sdelphij dnl `shared' nor `disable-shared' was passed, we enable building of shared 79267843Sdelphij dnl archives by default: 80267843Sdelphij _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) 81267843Sdelphij _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) 82267843Sdelphij _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) 83267843Sdelphij _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], 84267843Sdelphij [_LT_ENABLE_FAST_INSTALL]) 85267843Sdelphij ]) 86267843Sdelphij])# _LT_SET_OPTIONS 87267843Sdelphij 88267843Sdelphij 89267843Sdelphij## --------------------------------- ## 90267843Sdelphij## Macros to handle LT_INIT options. ## 91267843Sdelphij## --------------------------------- ## 92267843Sdelphij 93267843Sdelphij# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) 94267843Sdelphij# ----------------------------------------- 95267843Sdelphijm4_define([_LT_MANGLE_DEFUN], 96267843Sdelphij[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) 97267843Sdelphij 98267843Sdelphij 99267843Sdelphij# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) 100267843Sdelphij# ----------------------------------------------- 101267843Sdelphijm4_define([LT_OPTION_DEFINE], 102267843Sdelphij[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl 103267843Sdelphij])# LT_OPTION_DEFINE 104267843Sdelphij 105267843Sdelphij 106267843Sdelphij# dlopen 107267843Sdelphij# ------ 108267843SdelphijLT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes 109267843Sdelphij]) 110267843Sdelphij 111267843SdelphijAU_DEFUN([AC_LIBTOOL_DLOPEN], 112267843Sdelphij[_LT_SET_OPTION([LT_INIT], [dlopen]) 113267843SdelphijAC_DIAGNOSE([obsolete], 114267843Sdelphij[$0: Remove this warning and the call to _LT_SET_OPTION when you 115267843Sdelphijput the `dlopen' option into LT_INIT's first parameter.]) 116267843Sdelphij]) 117267843Sdelphij 118267843Sdelphijdnl aclocal-1.4 backwards compatibility: 119267843Sdelphijdnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) 120267843Sdelphij 121267843Sdelphij 122267843Sdelphij# win32-dll 123267843Sdelphij# --------- 124267843Sdelphij# Declare package support for building win32 dll's. 125267843SdelphijLT_OPTION_DEFINE([LT_INIT], [win32-dll], 126267843Sdelphij[enable_win32_dll=yes 127267843Sdelphij 128267843Sdelphijcase $host in 129267843Sdelphij*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 130267843Sdelphij AC_CHECK_TOOL(AS, as, false) 131267843Sdelphij AC_CHECK_TOOL(DLLTOOL, dlltool, false) 132267843Sdelphij AC_CHECK_TOOL(OBJDUMP, objdump, false) 133267843Sdelphij ;; 134267843Sdelphijesac 135267843Sdelphij 136267843Sdelphijtest -z "$AS" && AS=as 137267843Sdelphij_LT_DECL([], [AS], [1], [Assembler program])dnl 138267843Sdelphij 139267843Sdelphijtest -z "$DLLTOOL" && DLLTOOL=dlltool 140267843Sdelphij_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl 141267843Sdelphij 142267843Sdelphijtest -z "$OBJDUMP" && OBJDUMP=objdump 143267843Sdelphij_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl 144267843Sdelphij])# win32-dll 145267843Sdelphij 146267843SdelphijAU_DEFUN([AC_LIBTOOL_WIN32_DLL], 147267843Sdelphij[AC_REQUIRE([AC_CANONICAL_HOST])dnl 148267843Sdelphij_LT_SET_OPTION([LT_INIT], [win32-dll]) 149267843SdelphijAC_DIAGNOSE([obsolete], 150267843Sdelphij[$0: Remove this warning and the call to _LT_SET_OPTION when you 151267843Sdelphijput the `win32-dll' option into LT_INIT's first parameter.]) 152267843Sdelphij]) 153267843Sdelphij 154267843Sdelphijdnl aclocal-1.4 backwards compatibility: 155267843Sdelphijdnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) 156267843Sdelphij 157267843Sdelphij 158267843Sdelphij# _LT_ENABLE_SHARED([DEFAULT]) 159267843Sdelphij# ---------------------------- 160267843Sdelphij# implement the --enable-shared flag, and supports the `shared' and 161267843Sdelphij# `disable-shared' LT_INIT options. 162267843Sdelphij# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 163267843Sdelphijm4_define([_LT_ENABLE_SHARED], 164267843Sdelphij[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl 165267843SdelphijAC_ARG_ENABLE([shared], 166267843Sdelphij [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], 167267843Sdelphij [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], 168267843Sdelphij [p=${PACKAGE-default} 169267843Sdelphij case $enableval in 170267843Sdelphij yes) enable_shared=yes ;; 171267843Sdelphij no) enable_shared=no ;; 172267843Sdelphij *) 173267843Sdelphij enable_shared=no 174267843Sdelphij # Look at the argument we got. We use all the common list separators. 175267843Sdelphij lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 176267843Sdelphij for pkg in $enableval; do 177267843Sdelphij IFS="$lt_save_ifs" 178267843Sdelphij if test "X$pkg" = "X$p"; then 179267843Sdelphij enable_shared=yes 180267843Sdelphij fi 181267843Sdelphij done 182267843Sdelphij IFS="$lt_save_ifs" 183267843Sdelphij ;; 184267843Sdelphij esac], 185267843Sdelphij [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) 186267843Sdelphij 187267843Sdelphij _LT_DECL([build_libtool_libs], [enable_shared], [0], 188267843Sdelphij [Whether or not to build shared libraries]) 189267843Sdelphij])# _LT_ENABLE_SHARED 190267843Sdelphij 191267843SdelphijLT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) 192267843SdelphijLT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) 193267843Sdelphij 194267843Sdelphij# Old names: 195267843SdelphijAC_DEFUN([AC_ENABLE_SHARED], 196267843Sdelphij[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) 197267843Sdelphij]) 198267843Sdelphij 199267843SdelphijAC_DEFUN([AC_DISABLE_SHARED], 200267843Sdelphij[_LT_SET_OPTION([LT_INIT], [disable-shared]) 201267843Sdelphij]) 202267843Sdelphij 203267843SdelphijAU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) 204267843SdelphijAU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) 205267843Sdelphij 206267843Sdelphijdnl aclocal-1.4 backwards compatibility: 207267843Sdelphijdnl AC_DEFUN([AM_ENABLE_SHARED], []) 208267843Sdelphijdnl AC_DEFUN([AM_DISABLE_SHARED], []) 209267843Sdelphij 210267843Sdelphij 211267843Sdelphij 212267843Sdelphij# _LT_ENABLE_STATIC([DEFAULT]) 213267843Sdelphij# ---------------------------- 214267843Sdelphij# implement the --enable-static flag, and support the `static' and 215267843Sdelphij# `disable-static' LT_INIT options. 216267843Sdelphij# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 217267843Sdelphijm4_define([_LT_ENABLE_STATIC], 218267843Sdelphij[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl 219267843SdelphijAC_ARG_ENABLE([static], 220267843Sdelphij [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], 221267843Sdelphij [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], 222267843Sdelphij [p=${PACKAGE-default} 223267843Sdelphij case $enableval in 224267843Sdelphij yes) enable_static=yes ;; 225267843Sdelphij no) enable_static=no ;; 226267843Sdelphij *) 227267843Sdelphij enable_static=no 228267843Sdelphij # Look at the argument we got. We use all the common list separators. 229267843Sdelphij lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 230267843Sdelphij for pkg in $enableval; do 231267843Sdelphij IFS="$lt_save_ifs" 232267843Sdelphij if test "X$pkg" = "X$p"; then 233267843Sdelphij enable_static=yes 234267843Sdelphij fi 235267843Sdelphij done 236267843Sdelphij IFS="$lt_save_ifs" 237267843Sdelphij ;; 238267843Sdelphij esac], 239267843Sdelphij [enable_static=]_LT_ENABLE_STATIC_DEFAULT) 240267843Sdelphij 241267843Sdelphij _LT_DECL([build_old_libs], [enable_static], [0], 242267843Sdelphij [Whether or not to build static libraries]) 243267843Sdelphij])# _LT_ENABLE_STATIC 244267843Sdelphij 245267843SdelphijLT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) 246267843SdelphijLT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) 247267843Sdelphij 248267843Sdelphij# Old names: 249267843SdelphijAC_DEFUN([AC_ENABLE_STATIC], 250267843Sdelphij[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) 251267843Sdelphij]) 252267843Sdelphij 253267843SdelphijAC_DEFUN([AC_DISABLE_STATIC], 254267843Sdelphij[_LT_SET_OPTION([LT_INIT], [disable-static]) 255267843Sdelphij]) 256267843Sdelphij 257267843SdelphijAU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) 258267843SdelphijAU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) 259267843Sdelphij 260267843Sdelphijdnl aclocal-1.4 backwards compatibility: 261267843Sdelphijdnl AC_DEFUN([AM_ENABLE_STATIC], []) 262267843Sdelphijdnl AC_DEFUN([AM_DISABLE_STATIC], []) 263267843Sdelphij 264267843Sdelphij 265267843Sdelphij 266267843Sdelphij# _LT_ENABLE_FAST_INSTALL([DEFAULT]) 267267843Sdelphij# ---------------------------------- 268267843Sdelphij# implement the --enable-fast-install flag, and support the `fast-install' 269267843Sdelphij# and `disable-fast-install' LT_INIT options. 270267843Sdelphij# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. 271267843Sdelphijm4_define([_LT_ENABLE_FAST_INSTALL], 272267843Sdelphij[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl 273267843SdelphijAC_ARG_ENABLE([fast-install], 274267843Sdelphij [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], 275267843Sdelphij [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], 276267843Sdelphij [p=${PACKAGE-default} 277267843Sdelphij case $enableval in 278267843Sdelphij yes) enable_fast_install=yes ;; 279267843Sdelphij no) enable_fast_install=no ;; 280267843Sdelphij *) 281267843Sdelphij enable_fast_install=no 282267843Sdelphij # Look at the argument we got. We use all the common list separators. 283267843Sdelphij lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 284267843Sdelphij for pkg in $enableval; do 285267843Sdelphij IFS="$lt_save_ifs" 286267843Sdelphij if test "X$pkg" = "X$p"; then 287267843Sdelphij enable_fast_install=yes 288267843Sdelphij fi 289267843Sdelphij done 290267843Sdelphij IFS="$lt_save_ifs" 291267843Sdelphij ;; 292267843Sdelphij esac], 293267843Sdelphij [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) 294267843Sdelphij 295267843Sdelphij_LT_DECL([fast_install], [enable_fast_install], [0], 296267843Sdelphij [Whether or not to optimize for fast installation])dnl 297267843Sdelphij])# _LT_ENABLE_FAST_INSTALL 298267843Sdelphij 299267843SdelphijLT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) 300267843SdelphijLT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) 301267843Sdelphij 302267843Sdelphij# Old names: 303267843SdelphijAU_DEFUN([AC_ENABLE_FAST_INSTALL], 304267843Sdelphij[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 305267843SdelphijAC_DIAGNOSE([obsolete], 306267843Sdelphij[$0: Remove this warning and the call to _LT_SET_OPTION when you put 307267843Sdelphijthe `fast-install' option into LT_INIT's first parameter.]) 308267843Sdelphij]) 309267843Sdelphij 310267843SdelphijAU_DEFUN([AC_DISABLE_FAST_INSTALL], 311267843Sdelphij[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 312267843SdelphijAC_DIAGNOSE([obsolete], 313267843Sdelphij[$0: Remove this warning and the call to _LT_SET_OPTION when you put 314267843Sdelphijthe `disable-fast-install' option into LT_INIT's first parameter.]) 315267843Sdelphij]) 316267843Sdelphij 317267843Sdelphijdnl aclocal-1.4 backwards compatibility: 318267843Sdelphijdnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) 319267843Sdelphijdnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) 320267843Sdelphij 321267843Sdelphij 322267843Sdelphij# _LT_WITH_PIC([MODE]) 323267843Sdelphij# -------------------- 324267843Sdelphij# implement the --with-pic flag, and support the `pic-only' and `no-pic' 325267843Sdelphij# LT_INIT options. 326267843Sdelphij# MODE is either `yes' or `no'. If omitted, it defaults to `both'. 327267843Sdelphijm4_define([_LT_WITH_PIC], 328267843Sdelphij[AC_ARG_WITH([pic], 329267843Sdelphij [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], 330267843Sdelphij [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 331267843Sdelphij [lt_p=${PACKAGE-default} 332267843Sdelphij case $withval in 333267843Sdelphij yes|no) pic_mode=$withval ;; 334267843Sdelphij *) 335267843Sdelphij pic_mode=default 336267843Sdelphij # Look at the argument we got. We use all the common list separators. 337267843Sdelphij lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 338267843Sdelphij for lt_pkg in $withval; do 339267843Sdelphij IFS="$lt_save_ifs" 340267843Sdelphij if test "X$lt_pkg" = "X$lt_p"; then 341267843Sdelphij pic_mode=yes 342267843Sdelphij fi 343267843Sdelphij done 344267843Sdelphij IFS="$lt_save_ifs" 345267843Sdelphij ;; 346267843Sdelphij esac], 347267843Sdelphij [pic_mode=default]) 348267843Sdelphij 349267843Sdelphijtest -z "$pic_mode" && pic_mode=m4_default([$1], [default]) 350267843Sdelphij 351267843Sdelphij_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl 352267843Sdelphij])# _LT_WITH_PIC 353267843Sdelphij 354267843SdelphijLT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) 355267843SdelphijLT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) 356267843Sdelphij 357267843Sdelphij# Old name: 358267843SdelphijAU_DEFUN([AC_LIBTOOL_PICMODE], 359267843Sdelphij[_LT_SET_OPTION([LT_INIT], [pic-only]) 360267843SdelphijAC_DIAGNOSE([obsolete], 361267843Sdelphij[$0: Remove this warning and the call to _LT_SET_OPTION when you 362267843Sdelphijput the `pic-only' option into LT_INIT's first parameter.]) 363267843Sdelphij]) 364267843Sdelphij 365267843Sdelphijdnl aclocal-1.4 backwards compatibility: 366267843Sdelphijdnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) 367267843Sdelphij 368267843Sdelphij## ----------------- ## 369267843Sdelphij## LTDL_INIT Options ## 370267843Sdelphij## ----------------- ## 371267843Sdelphij 372267843Sdelphijm4_define([_LTDL_MODE], []) 373267843SdelphijLT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], 374267843Sdelphij [m4_define([_LTDL_MODE], [nonrecursive])]) 375267843SdelphijLT_OPTION_DEFINE([LTDL_INIT], [recursive], 376267843Sdelphij [m4_define([_LTDL_MODE], [recursive])]) 377267843SdelphijLT_OPTION_DEFINE([LTDL_INIT], [subproject], 378267843Sdelphij [m4_define([_LTDL_MODE], [subproject])]) 379267843Sdelphij 380267843Sdelphijm4_define([_LTDL_TYPE], []) 381267843SdelphijLT_OPTION_DEFINE([LTDL_INIT], [installable], 382267843Sdelphij [m4_define([_LTDL_TYPE], [installable])]) 383267843SdelphijLT_OPTION_DEFINE([LTDL_INIT], [convenience], 384267843Sdelphij [m4_define([_LTDL_TYPE], [convenience])]) 385