acinclude/ltoptions.m4
author Ozkan Sezer <sezeroz@gmail.com>
Sat, 24 Mar 2018 22:29:42 +0300
branchSDL-1.2
changeset 11967 e2982541c99c
parent 4277 803eeeeaa8a0
child 6442 2d3caa191dc4
permissions -rw-r--r--
SDL_audio.c: do the pulseaudio name dance only if SDL_AUDIO_DRIVER_PULSE is defined.
slouken@4277
     1
##############################################################################
slouken@4277
     2
# Helper functions for option handling.                    -*- Autoconf -*-
slouken@4277
     3
#
slouken@4277
     4
#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
slouken@4277
     5
#   Written by Gary V. Vaughan, 2004
slouken@4277
     6
#
slouken@4277
     7
# This file is free software; the Free Software Foundation gives
slouken@4277
     8
# unlimited permission to copy and/or distribute it, with or without
slouken@4277
     9
# modifications, as long as this notice is preserved.
slouken@4277
    10
slouken@4277
    11
# serial 6 ltoptions.m4
slouken@4277
    12
slouken@4277
    13
# This is to help aclocal find these macros, as it can't see m4_define.
slouken@4277
    14
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
slouken@4277
    15
slouken@4277
    16
slouken@4277
    17
# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
slouken@4277
    18
# ------------------------------------------
slouken@4277
    19
m4_define([_LT_MANGLE_OPTION],
slouken@4277
    20
[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
slouken@4277
    21
slouken@4277
    22
slouken@4277
    23
# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
slouken@4277
    24
# ---------------------------------------
slouken@4277
    25
# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
slouken@4277
    26
# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
slouken@4277
    27
# saved as a flag.
slouken@4277
    28
m4_define([_LT_SET_OPTION],
slouken@4277
    29
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
slouken@4277
    30
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
slouken@4277
    31
        _LT_MANGLE_DEFUN([$1], [$2]),
slouken@4277
    32
    [m4_warning([Unknown $1 option `$2'])])[]dnl
slouken@4277
    33
])
slouken@4277
    34
slouken@4277
    35
slouken@4277
    36
# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
slouken@4277
    37
# ------------------------------------------------------------
slouken@4277
    38
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
slouken@4277
    39
m4_define([_LT_IF_OPTION],
slouken@4277
    40
[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
slouken@4277
    41
slouken@4277
    42
slouken@4277
    43
# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
slouken@4277
    44
# -------------------------------------------------------
slouken@4277
    45
# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
slouken@4277
    46
# are set.
slouken@4277
    47
m4_define([_LT_UNLESS_OPTIONS],
slouken@4277
    48
[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
slouken@4277
    49
	    [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
slouken@4277
    50
		      [m4_define([$0_found])])])[]dnl
slouken@4277
    51
m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
slouken@4277
    52
])[]dnl
slouken@4277
    53
])
slouken@4277
    54
slouken@4277
    55
slouken@4277
    56
# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
slouken@4277
    57
# ----------------------------------------
slouken@4277
    58
# OPTION-LIST is a space-separated list of Libtool options associated
slouken@4277
    59
# with MACRO-NAME.  If any OPTION has a matching handler declared with
slouken@4277
    60
# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
slouken@4277
    61
# the unknown option and exit.
slouken@4277
    62
m4_defun([_LT_SET_OPTIONS],
slouken@4277
    63
[# Set options
slouken@4277
    64
m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
slouken@4277
    65
    [_LT_SET_OPTION([$1], _LT_Option)])
slouken@4277
    66
slouken@4277
    67
m4_if([$1],[LT_INIT],[
slouken@4277
    68
  dnl
slouken@4277
    69
  dnl Simply set some default values (i.e off) if boolean options were not
slouken@4277
    70
  dnl specified:
slouken@4277
    71
  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
slouken@4277
    72
  ])
slouken@4277
    73
  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
slouken@4277
    74
  ])
slouken@4277
    75
  dnl
slouken@4277
    76
  dnl If no reference was made to various pairs of opposing options, then
slouken@4277
    77
  dnl we run the default mode handler for the pair.  For example, if neither
slouken@4277
    78
  dnl `shared' nor `disable-shared' was passed, we enable building of shared
slouken@4277
    79
  dnl archives by default:
slouken@4277
    80
  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
slouken@4277
    81
  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
slouken@4277
    82
  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
slouken@4277
    83
  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
slouken@4277
    84
  		   [_LT_ENABLE_FAST_INSTALL])
slouken@4277
    85
  ])
slouken@4277
    86
])# _LT_SET_OPTIONS
slouken@4277
    87
slouken@4277
    88
slouken@4277
    89
## --------------------------------- ##
slouken@4277
    90
## Macros to handle LT_INIT options. ##
slouken@4277
    91
## --------------------------------- ##
slouken@4277
    92
slouken@4277
    93
# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
slouken@4277
    94
# -----------------------------------------
slouken@4277
    95
m4_define([_LT_MANGLE_DEFUN],
slouken@4277
    96
[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
slouken@4277
    97
slouken@4277
    98
slouken@4277
    99
# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
slouken@4277
   100
# -----------------------------------------------
slouken@4277
   101
m4_define([LT_OPTION_DEFINE],
slouken@4277
   102
[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
slouken@4277
   103
])# LT_OPTION_DEFINE
slouken@4277
   104
slouken@4277
   105
slouken@4277
   106
# dlopen
slouken@4277
   107
# ------
slouken@4277
   108
LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
slouken@4277
   109
])
slouken@4277
   110
slouken@4277
   111
AU_DEFUN([AC_LIBTOOL_DLOPEN],
slouken@4277
   112
[_LT_SET_OPTION([LT_INIT], [dlopen])
slouken@4277
   113
AC_DIAGNOSE([obsolete],
slouken@4277
   114
[$0: Remove this warning and the call to _LT_SET_OPTION when you
slouken@4277
   115
put the `dlopen' option into LT_INIT's first parameter.])
slouken@4277
   116
])
slouken@4277
   117
slouken@4277
   118
dnl aclocal-1.4 backwards compatibility:
slouken@4277
   119
dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
slouken@4277
   120
slouken@4277
   121
slouken@4277
   122
# win32-dll
slouken@4277
   123
# ---------
slouken@4277
   124
# Declare package support for building win32 dll's.
slouken@4277
   125
LT_OPTION_DEFINE([LT_INIT], [win32-dll],
slouken@4277
   126
[enable_win32_dll=yes
slouken@4277
   127
slouken@4277
   128
case $host in
slouken@4277
   129
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
slouken@4277
   130
  AC_CHECK_TOOL(AS, as, false)
slouken@4277
   131
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
slouken@4277
   132
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
slouken@4277
   133
  ;;
slouken@4277
   134
esac
slouken@4277
   135
slouken@4277
   136
test -z "$AS" && AS=as
slouken@4277
   137
_LT_DECL([], [AS],      [0], [Assembler program])dnl
slouken@4277
   138
slouken@4277
   139
test -z "$DLLTOOL" && DLLTOOL=dlltool
slouken@4277
   140
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
slouken@4277
   141
slouken@4277
   142
test -z "$OBJDUMP" && OBJDUMP=objdump
slouken@4277
   143
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
slouken@4277
   144
])# win32-dll
slouken@4277
   145
slouken@4277
   146
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
slouken@4277
   147
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
slouken@4277
   148
_LT_SET_OPTION([LT_INIT], [win32-dll])
slouken@4277
   149
AC_DIAGNOSE([obsolete],
slouken@4277
   150
[$0: Remove this warning and the call to _LT_SET_OPTION when you
slouken@4277
   151
put the `win32-dll' option into LT_INIT's first parameter.])
slouken@4277
   152
])
slouken@4277
   153
slouken@4277
   154
dnl aclocal-1.4 backwards compatibility:
slouken@4277
   155
dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
slouken@4277
   156
slouken@4277
   157
slouken@4277
   158
# _LT_ENABLE_SHARED([DEFAULT])
slouken@4277
   159
# ----------------------------
slouken@4277
   160
# implement the --enable-shared flag, and supports the `shared' and
slouken@4277
   161
# `disable-shared' LT_INIT options.
slouken@4277
   162
# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
slouken@4277
   163
m4_define([_LT_ENABLE_SHARED],
slouken@4277
   164
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
slouken@4277
   165
AC_ARG_ENABLE([shared],
slouken@4277
   166
    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
slouken@4277
   167
	[build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
slouken@4277
   168
    [p=${PACKAGE-default}
slouken@4277
   169
    case $enableval in
slouken@4277
   170
    yes) enable_shared=yes ;;
slouken@4277
   171
    no) enable_shared=no ;;
slouken@4277
   172
    *)
slouken@4277
   173
      enable_shared=no
slouken@4277
   174
      # Look at the argument we got.  We use all the common list separators.
slouken@4277
   175
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
slouken@4277
   176
      for pkg in $enableval; do
slouken@4277
   177
	IFS="$lt_save_ifs"
slouken@4277
   178
	if test "X$pkg" = "X$p"; then
slouken@4277
   179
	  enable_shared=yes
slouken@4277
   180
	fi
slouken@4277
   181
      done
slouken@4277
   182
      IFS="$lt_save_ifs"
slouken@4277
   183
      ;;
slouken@4277
   184
    esac],
slouken@4277
   185
    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
slouken@4277
   186
slouken@4277
   187
    _LT_DECL([build_libtool_libs], [enable_shared], [0],
slouken@4277
   188
	[Whether or not to build shared libraries])
slouken@4277
   189
])# _LT_ENABLE_SHARED
slouken@4277
   190
slouken@4277
   191
LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
slouken@4277
   192
LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
slouken@4277
   193
slouken@4277
   194
# Old names:
slouken@4277
   195
AC_DEFUN([AC_ENABLE_SHARED],
slouken@4277
   196
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
slouken@4277
   197
])
slouken@4277
   198
slouken@4277
   199
AC_DEFUN([AC_DISABLE_SHARED],
slouken@4277
   200
[_LT_SET_OPTION([LT_INIT], [disable-shared])
slouken@4277
   201
])
slouken@4277
   202
slouken@4277
   203
AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
slouken@4277
   204
AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
slouken@4277
   205
slouken@4277
   206
dnl aclocal-1.4 backwards compatibility:
slouken@4277
   207
dnl AC_DEFUN([AM_ENABLE_SHARED], [])
slouken@4277
   208
dnl AC_DEFUN([AM_DISABLE_SHARED], [])
slouken@4277
   209
slouken@4277
   210
slouken@4277
   211
slouken@4277
   212
# _LT_ENABLE_STATIC([DEFAULT])
slouken@4277
   213
# ----------------------------
slouken@4277
   214
# implement the --enable-static flag, and support the `static' and
slouken@4277
   215
# `disable-static' LT_INIT options.
slouken@4277
   216
# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
slouken@4277
   217
m4_define([_LT_ENABLE_STATIC],
slouken@4277
   218
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
slouken@4277
   219
AC_ARG_ENABLE([static],
slouken@4277
   220
    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
slouken@4277
   221
	[build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
slouken@4277
   222
    [p=${PACKAGE-default}
slouken@4277
   223
    case $enableval in
slouken@4277
   224
    yes) enable_static=yes ;;
slouken@4277
   225
    no) enable_static=no ;;
slouken@4277
   226
    *)
slouken@4277
   227
     enable_static=no
slouken@4277
   228
      # Look at the argument we got.  We use all the common list separators.
slouken@4277
   229
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
slouken@4277
   230
      for pkg in $enableval; do
slouken@4277
   231
	IFS="$lt_save_ifs"
slouken@4277
   232
	if test "X$pkg" = "X$p"; then
slouken@4277
   233
	  enable_static=yes
slouken@4277
   234
	fi
slouken@4277
   235
      done
slouken@4277
   236
      IFS="$lt_save_ifs"
slouken@4277
   237
      ;;
slouken@4277
   238
    esac],
slouken@4277
   239
    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
slouken@4277
   240
slouken@4277
   241
    _LT_DECL([build_old_libs], [enable_static], [0],
slouken@4277
   242
	[Whether or not to build static libraries])
slouken@4277
   243
])# _LT_ENABLE_STATIC
slouken@4277
   244
slouken@4277
   245
LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
slouken@4277
   246
LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
slouken@4277
   247
slouken@4277
   248
# Old names:
slouken@4277
   249
AC_DEFUN([AC_ENABLE_STATIC],
slouken@4277
   250
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
slouken@4277
   251
])
slouken@4277
   252
slouken@4277
   253
AC_DEFUN([AC_DISABLE_STATIC],
slouken@4277
   254
[_LT_SET_OPTION([LT_INIT], [disable-static])
slouken@4277
   255
])
slouken@4277
   256
slouken@4277
   257
AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
slouken@4277
   258
AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
slouken@4277
   259
slouken@4277
   260
dnl aclocal-1.4 backwards compatibility:
slouken@4277
   261
dnl AC_DEFUN([AM_ENABLE_STATIC], [])
slouken@4277
   262
dnl AC_DEFUN([AM_DISABLE_STATIC], [])
slouken@4277
   263
slouken@4277
   264
slouken@4277
   265
slouken@4277
   266
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
slouken@4277
   267
# ----------------------------------
slouken@4277
   268
# implement the --enable-fast-install flag, and support the `fast-install'
slouken@4277
   269
# and `disable-fast-install' LT_INIT options.
slouken@4277
   270
# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
slouken@4277
   271
m4_define([_LT_ENABLE_FAST_INSTALL],
slouken@4277
   272
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
slouken@4277
   273
AC_ARG_ENABLE([fast-install],
slouken@4277
   274
    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
slouken@4277
   275
    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
slouken@4277
   276
    [p=${PACKAGE-default}
slouken@4277
   277
    case $enableval in
slouken@4277
   278
    yes) enable_fast_install=yes ;;
slouken@4277
   279
    no) enable_fast_install=no ;;
slouken@4277
   280
    *)
slouken@4277
   281
      enable_fast_install=no
slouken@4277
   282
      # Look at the argument we got.  We use all the common list separators.
slouken@4277
   283
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
slouken@4277
   284
      for pkg in $enableval; do
slouken@4277
   285
	IFS="$lt_save_ifs"
slouken@4277
   286
	if test "X$pkg" = "X$p"; then
slouken@4277
   287
	  enable_fast_install=yes
slouken@4277
   288
	fi
slouken@4277
   289
      done
slouken@4277
   290
      IFS="$lt_save_ifs"
slouken@4277
   291
      ;;
slouken@4277
   292
    esac],
slouken@4277
   293
    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
slouken@4277
   294
slouken@4277
   295
_LT_DECL([fast_install], [enable_fast_install], [0],
slouken@4277
   296
	 [Whether or not to optimize for fast installation])dnl
slouken@4277
   297
])# _LT_ENABLE_FAST_INSTALL
slouken@4277
   298
slouken@4277
   299
LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
slouken@4277
   300
LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
slouken@4277
   301
slouken@4277
   302
# Old names:
slouken@4277
   303
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
slouken@4277
   304
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
slouken@4277
   305
AC_DIAGNOSE([obsolete],
slouken@4277
   306
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
slouken@4277
   307
the `fast-install' option into LT_INIT's first parameter.])
slouken@4277
   308
])
slouken@4277
   309
slouken@4277
   310
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
slouken@4277
   311
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
slouken@4277
   312
AC_DIAGNOSE([obsolete],
slouken@4277
   313
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
slouken@4277
   314
the `disable-fast-install' option into LT_INIT's first parameter.])
slouken@4277
   315
])
slouken@4277
   316
slouken@4277
   317
dnl aclocal-1.4 backwards compatibility:
slouken@4277
   318
dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
slouken@4277
   319
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
slouken@4277
   320
slouken@4277
   321
slouken@4277
   322
# _LT_WITH_PIC([MODE])
slouken@4277
   323
# --------------------
slouken@4277
   324
# implement the --with-pic flag, and support the `pic-only' and `no-pic'
slouken@4277
   325
# LT_INIT options.
slouken@4277
   326
# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
slouken@4277
   327
m4_define([_LT_WITH_PIC],
slouken@4277
   328
[AC_ARG_WITH([pic],
slouken@4277
   329
    [AS_HELP_STRING([--with-pic],
slouken@4277
   330
	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
slouken@4277
   331
    [pic_mode="$withval"],
slouken@4277
   332
    [pic_mode=default])
slouken@4277
   333
slouken@4277
   334
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
slouken@4277
   335
slouken@4277
   336
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
slouken@4277
   337
])# _LT_WITH_PIC
slouken@4277
   338
slouken@4277
   339
LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
slouken@4277
   340
LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
slouken@4277
   341
slouken@4277
   342
# Old name:
slouken@4277
   343
AU_DEFUN([AC_LIBTOOL_PICMODE],
slouken@4277
   344
[_LT_SET_OPTION([LT_INIT], [pic-only])
slouken@4277
   345
AC_DIAGNOSE([obsolete],
slouken@4277
   346
[$0: Remove this warning and the call to _LT_SET_OPTION when you
slouken@4277
   347
put the `pic-only' option into LT_INIT's first parameter.])
slouken@4277
   348
])
slouken@4277
   349
slouken@4277
   350
dnl aclocal-1.4 backwards compatibility:
slouken@4277
   351
dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
slouken@4277
   352
slouken@4277
   353
## ----------------- ##
slouken@4277
   354
## LTDL_INIT Options ##
slouken@4277
   355
## ----------------- ##
slouken@4277
   356
slouken@4277
   357
m4_define([_LTDL_MODE], [])
slouken@4277
   358
LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
slouken@4277
   359
		 [m4_define([_LTDL_MODE], [nonrecursive])])
slouken@4277
   360
LT_OPTION_DEFINE([LTDL_INIT], [recursive],
slouken@4277
   361
		 [m4_define([_LTDL_MODE], [recursive])])
slouken@4277
   362
LT_OPTION_DEFINE([LTDL_INIT], [subproject],
slouken@4277
   363
		 [m4_define([_LTDL_MODE], [subproject])])
slouken@4277
   364
slouken@4277
   365
m4_define([_LTDL_TYPE], [])
slouken@4277
   366
LT_OPTION_DEFINE([LTDL_INIT], [installable],
slouken@4277
   367
		 [m4_define([_LTDL_TYPE], [installable])])
slouken@4277
   368
LT_OPTION_DEFINE([LTDL_INIT], [convenience],
slouken@4277
   369
		 [m4_define([_LTDL_TYPE], [convenience])])
slouken@4277
   370