Oops, sorry. Typo alert: Gary V. Vaughan wrote:
# _LT_SET_OPTION(NAME) # ------------------------------ # Set option NAME, and if there is a matching handler defined, # dispatch to it. Other NAMEs are saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1]), _LT_MANGLE_DEFUN([$1]), [m4_fatal([Unknown Libtool option `$1'])])[]dnl ])... # _LT_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Libtool options. # If any OPTION has a handler macro declared with LT_OPTION_DEFINE, # dispatch to that macro; otherwise complain about the unknown option # and exit. m4_define([_LT_SET_OPTIONS], [AC_FOREACH([_LT_Option], [symbols], [_LT_SET_OPTION(_LT_Option)])
^^^^^^^^^ that should be [$1]
What happened there? How odd...
dnl
dnl Simply set some default values (i.e off) if boolean options were not
dnl specified:
_LT_UNLESS_OPTIONS([dlopen], enable_dlopen=no)
_LT_UNLESS_OPTIONS([win32-dll], enable_win32_dll=no)
dnl
dnl If no reference was made to various pairs of opposing options, then
dnl we run the default mode handler for the pair. For example, if neither
dnl `shared' nor `disable-shared' was passed, we enable building of shared
dnl archives by default:
_LT_UNLESS_OPTIONS([shared disable-shared], [_LT_ENABLE_SHARED])
_LT_UNLESS_OPTIONS([static disable-static], [_LT_ENABLE_STATIC])
_LT_UNLESS_OPTIONS([pic-only no-pic], [_LT_ENABLE_PIC])
_LT_UNLESS_OPTIONS([fast-install disable-fast-install],
[_LT_ENABLE_FAST_INSTALL])
])# _LT_SET_OPTIONS
Cheers,
Gary.
--
Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
