Skip to content
This repository
Browse code

Update to rc4. Upgrade autoconf version.

  • Loading branch information...
commit 10d1e51393f08c14045db85843208f44f9f1e9ba 1 parent 9bcc884
Anthony Green authored
92 .pc/x32libtool/acinclude.m4
... ... @@ -1,92 +0,0 @@
1   -# mmap(2) blacklisting. Some platforms provide the mmap library routine
2   -# but don't support all of the features we need from it.
3   -AC_DEFUN([AC_FUNC_MMAP_BLACKLIST],
4   -[
5   -AC_CHECK_HEADER([sys/mman.h],
6   - [libffi_header_sys_mman_h=yes], [libffi_header_sys_mman_h=no])
7   -AC_CHECK_FUNC([mmap], [libffi_func_mmap=yes], [libffi_func_mmap=no])
8   -if test "$libffi_header_sys_mman_h" != yes \
9   - || test "$libffi_func_mmap" != yes; then
10   - ac_cv_func_mmap_file=no
11   - ac_cv_func_mmap_dev_zero=no
12   - ac_cv_func_mmap_anon=no
13   -else
14   - AC_CACHE_CHECK([whether read-only mmap of a plain file works],
15   - ac_cv_func_mmap_file,
16   - [# Add a system to this blacklist if
17   - # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
18   - # memory area containing the same data that you'd get if you applied
19   - # read() to the same fd. The only system known to have a problem here
20   - # is VMS, where text files have record structure.
21   - case "$host_os" in
22   - vms* | ultrix*)
23   - ac_cv_func_mmap_file=no ;;
24   - *)
25   - ac_cv_func_mmap_file=yes;;
26   - esac])
27   - AC_CACHE_CHECK([whether mmap from /dev/zero works],
28   - ac_cv_func_mmap_dev_zero,
29   - [# Add a system to this blacklist if it has mmap() but /dev/zero
30   - # does not exist, or if mmapping /dev/zero does not give anonymous
31   - # zeroed pages with both the following properties:
32   - # 1. If you map N consecutive pages in with one call, and then
33   - # unmap any subset of those pages, the pages that were not
34   - # explicitly unmapped remain accessible.
35   - # 2. If you map two adjacent blocks of memory and then unmap them
36   - # both at once, they must both go away.
37   - # Systems known to be in this category are Windows (all variants),
38   - # VMS, and Darwin.
39   - case "$host_os" in
40   - vms* | cygwin* | pe | mingw* | darwin* | ultrix* | hpux10* | hpux11.00)
41   - ac_cv_func_mmap_dev_zero=no ;;
42   - *)
43   - ac_cv_func_mmap_dev_zero=yes;;
44   - esac])
45   -
46   - # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
47   - AC_CACHE_CHECK([for MAP_ANON(YMOUS)], ac_cv_decl_map_anon,
48   - [AC_TRY_COMPILE(
49   -[#include <sys/types.h>
50   -#include <sys/mman.h>
51   -#include <unistd.h>
52   -
53   -#ifndef MAP_ANONYMOUS
54   -#define MAP_ANONYMOUS MAP_ANON
55   -#endif
56   -],
57   -[int n = MAP_ANONYMOUS;],
58   - ac_cv_decl_map_anon=yes,
59   - ac_cv_decl_map_anon=no)])
60   -
61   - if test $ac_cv_decl_map_anon = no; then
62   - ac_cv_func_mmap_anon=no
63   - else
64   - AC_CACHE_CHECK([whether mmap with MAP_ANON(YMOUS) works],
65   - ac_cv_func_mmap_anon,
66   - [# Add a system to this blacklist if it has mmap() and MAP_ANON or
67   - # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
68   - # doesn't give anonymous zeroed pages with the same properties listed
69   - # above for use of /dev/zero.
70   - # Systems known to be in this category are Windows, VMS, and SCO Unix.
71   - case "$host_os" in
72   - vms* | cygwin* | pe | mingw* | sco* | udk* )
73   - ac_cv_func_mmap_anon=no ;;
74   - *)
75   - ac_cv_func_mmap_anon=yes;;
76   - esac])
77   - fi
78   -fi
79   -
80   -if test $ac_cv_func_mmap_file = yes; then
81   - AC_DEFINE(HAVE_MMAP_FILE, 1,
82   - [Define if read-only mmap of a plain file works.])
83   -fi
84   -if test $ac_cv_func_mmap_dev_zero = yes; then
85   - AC_DEFINE(HAVE_MMAP_DEV_ZERO, 1,
86   - [Define if mmap of /dev/zero works.])
87   -fi
88   -if test $ac_cv_func_mmap_anon = yes; then
89   - AC_DEFINE(HAVE_MMAP_ANON, 1,
90   - [Define if mmap with MAP_ANON(YMOUS) works.])
91   -fi
92   -])
2,016 .pc/x32libtool/aclocal.m4
... ... @@ -1,2016 +0,0 @@
1   -# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2   -
3   -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4   -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5   -# This file is free software; the Free Software Foundation
6   -# gives unlimited permission to copy and/or distribute it,
7   -# with or without modifications, as long as this notice is preserved.
8   -
9   -# This program is distributed in the hope that it will be useful,
10   -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11   -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12   -# PARTICULAR PURPOSE.
13   -
14   -m4_ifndef([AC_AUTOCONF_VERSION],
15   - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16   -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17   -[m4_warning([this file was generated for autoconf 2.68.
18   -You have another version of autoconf. It may work, but is not guaranteed to.
19   -If you have problems, you may need to regenerate the build system entirely.
20   -To do so, use the procedure documented by the package, typically `autoreconf'.])])
21   -
22   -# ===========================================================================
23   -# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html
24   -# ===========================================================================
25   -#
26   -# SYNOPSIS
27   -#
28   -# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
29   -#
30   -# DESCRIPTION
31   -#
32   -# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
33   -# added in between.
34   -#
35   -# If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
36   -# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
37   -# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
38   -# FLAG.
39   -#
40   -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
41   -#
42   -# LICENSE
43   -#
44   -# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
45   -# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
46   -#
47   -# This program is free software: you can redistribute it and/or modify it
48   -# under the terms of the GNU General Public License as published by the
49   -# Free Software Foundation, either version 3 of the License, or (at your
50   -# option) any later version.
51   -#
52   -# This program is distributed in the hope that it will be useful, but
53   -# WITHOUT ANY WARRANTY; without even the implied warranty of
54   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
55   -# Public License for more details.
56   -#
57   -# You should have received a copy of the GNU General Public License along
58   -# with this program. If not, see <http://www.gnu.org/licenses/>.
59   -#
60   -# As a special exception, the respective Autoconf Macro's copyright owner
61   -# gives unlimited permission to copy, distribute and modify the configure
62   -# scripts that are the output of Autoconf when processing the Macro. You
63   -# need not follow the terms of the GNU General Public License when using
64   -# or distributing such scripts, even though portions of the text of the
65   -# Macro appear in them. The GNU General Public License (GPL) does govern
66   -# all other use of the material that constitutes the Autoconf Macro.
67   -#
68   -# This special exception to the GPL applies to versions of the Autoconf
69   -# Macro released by the Autoconf Archive. When you make and distribute a
70   -# modified version of the Autoconf Macro, you may extend this special
71   -# exception to the GPL to apply to your modified version as well.
72   -
73   -#serial 2
74   -
75   -AC_DEFUN([AX_APPEND_FLAG],
76   -[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
77   -AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])dnl
78   -AS_VAR_SET_IF(FLAGS,
79   - [case " AS_VAR_GET(FLAGS) " in
80   - *" $1 "*)
81   - AC_RUN_LOG([: FLAGS already contains $1])
82   - ;;
83   - *)
84   - AC_RUN_LOG([: FLAGS="$FLAGS $1"])
85   - AS_VAR_SET(FLAGS, ["AS_VAR_GET(FLAGS) $1"])
86   - ;;
87   - esac],
88   - [AS_VAR_SET(FLAGS,["$1"])])
89   -AS_VAR_POPDEF([FLAGS])dnl
90   -])dnl AX_APPEND_FLAG
91   -
92   -# ===========================================================================
93   -# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
94   -# ===========================================================================
95   -#
96   -# SYNOPSIS
97   -#
98   -# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS])
99   -#
100   -# DESCRIPTION
101   -#
102   -# Check whether the given FLAG works with the current language's compiler
103   -# or gives an error. (Warnings, however, are ignored)
104   -#
105   -# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
106   -# success/failure.
107   -#
108   -# If EXTRA-FLAGS is defined, it is added to the current language's default
109   -# flags (e.g. CFLAGS) when the check is done. The check is thus made with
110   -# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
111   -# force the compiler to issue an error when a bad flag is given.
112   -#
113   -# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
114   -# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
115   -#
116   -# LICENSE
117   -#
118   -# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
119   -# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
120   -#
121   -# This program is free software: you can redistribute it and/or modify it
122   -# under the terms of the GNU General Public License as published by the
123   -# Free Software Foundation, either version 3 of the License, or (at your
124   -# option) any later version.
125   -#
126   -# This program is distributed in the hope that it will be useful, but
127   -# WITHOUT ANY WARRANTY; without even the implied warranty of
128   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
129   -# Public License for more details.
130   -#
131   -# You should have received a copy of the GNU General Public License along
132   -# with this program. If not, see <http://www.gnu.org/licenses/>.
133   -#
134   -# As a special exception, the respective Autoconf Macro's copyright owner
135   -# gives unlimited permission to copy, distribute and modify the configure
136   -# scripts that are the output of Autoconf when processing the Macro. You
137   -# need not follow the terms of the GNU General Public License when using
138   -# or distributing such scripts, even though portions of the text of the
139   -# Macro appear in them. The GNU General Public License (GPL) does govern
140   -# all other use of the material that constitutes the Autoconf Macro.
141   -#
142   -# This special exception to the GPL applies to versions of the Autoconf
143   -# Macro released by the Autoconf Archive. When you make and distribute a
144   -# modified version of the Autoconf Macro, you may extend this special
145   -# exception to the GPL to apply to your modified version as well.
146   -
147   -#serial 2
148   -
149   -AC_DEFUN([AX_CHECK_COMPILE_FLAG],
150   -[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
151   -AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
152   -AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
153   - ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
154   - _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
155   - AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
156   - [AS_VAR_SET(CACHEVAR,[yes])],
157   - [AS_VAR_SET(CACHEVAR,[no])])
158   - _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
159   -AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
160   - [m4_default([$2], :)],
161   - [m4_default([$3], :)])
162   -AS_VAR_POPDEF([CACHEVAR])dnl
163   -])dnl AX_CHECK_COMPILE_FLAGS
164   -
165   -# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
166   -#
167   -# Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc.
168   -# Written by Thomas Tanner, 1999
169   -#
170   -# This file is free software; the Free Software Foundation gives
171   -# unlimited permission to copy and/or distribute it, with or without
172   -# modifications, as long as this notice is preserved.
173   -
174   -# serial 18 LTDL_INIT
175   -
176   -# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
177   -# ------------------------------------------
178   -# DIRECTORY contains the libltdl sources. It is okay to call this
179   -# function multiple times, as long as the same DIRECTORY is always given.
180   -AC_DEFUN([LT_CONFIG_LTDL_DIR],
181   -[AC_BEFORE([$0], [LTDL_INIT])
182   -_$0($*)
183   -])# LT_CONFIG_LTDL_DIR
184   -
185   -# We break this out into a separate macro, so that we can call it safely
186   -# internally without being caught accidentally by the sed scan in libtoolize.
187   -m4_defun([_LT_CONFIG_LTDL_DIR],
188   -[dnl remove trailing slashes
189   -m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$]))
190   -m4_case(_LTDL_DIR,
191   - [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.'
192   - m4_if(_ARG_DIR, [.],
193   - [],
194   - [m4_define([_LTDL_DIR], _ARG_DIR)
195   - _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])],
196   - [m4_if(_ARG_DIR, _LTDL_DIR,
197   - [],
198   - [m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])])
199   -m4_popdef([_ARG_DIR])
200   -])# _LT_CONFIG_LTDL_DIR
201   -
202   -# Initialise:
203   -m4_define([_LTDL_DIR], [])
204   -
205   -
206   -# _LT_BUILD_PREFIX
207   -# ----------------
208   -# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise
209   -# to `${top_builddir}/'.
210   -m4_define([_LT_BUILD_PREFIX],
211   -[m4_ifdef([AC_AUTOCONF_VERSION],
212   - [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]),
213   - [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX],
214   - [${top_build_prefix}],
215   - [${top_builddir}/])],
216   - [${top_build_prefix}])],
217   - [${top_builddir}/])[]dnl
218   -])
219   -
220   -
221   -# LTDL_CONVENIENCE
222   -# ----------------
223   -# sets LIBLTDL to the link flags for the libltdl convenience library and
224   -# LTDLINCL to the include flags for the libltdl header and adds
225   -# --enable-ltdl-convenience to the configure arguments. Note that
226   -# AC_CONFIG_SUBDIRS is not called here. LIBLTDL will be prefixed with
227   -# '${top_build_prefix}' if available, otherwise with '${top_builddir}/',
228   -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
229   -# quotes!). If your package is not flat and you're not using automake,
230   -# define top_build_prefix, top_builddir, and top_srcdir appropriately
231   -# in your Makefiles.
232   -AC_DEFUN([LTDL_CONVENIENCE],
233   -[AC_BEFORE([$0], [LTDL_INIT])dnl
234   -dnl Although the argument is deprecated and no longer documented,
235   -dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
236   -dnl here make sure it is the same as any other declaration of libltdl's
237   -dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
238   -dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
239   -m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
240   -_$0()
241   -])# LTDL_CONVENIENCE
242   -
243   -# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools,
244   -# now we have LT_CONFIG_LTDL_DIR:
245   -AU_DEFUN([AC_LIBLTDL_CONVENIENCE],
246   -[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
247   -_LTDL_CONVENIENCE])
248   -
249   -dnl aclocal-1.4 backwards compatibility:
250   -dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [])
251   -
252   -
253   -# _LTDL_CONVENIENCE
254   -# -----------------
255   -# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]).
256   -m4_defun([_LTDL_CONVENIENCE],
257   -[case $enable_ltdl_convenience in
258   - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
259   - "") enable_ltdl_convenience=yes
260   - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
261   -esac
262   -LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
263   -LTDLDEPS=$LIBLTDL
264   -LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
265   -
266   -AC_SUBST([LIBLTDL])
267   -AC_SUBST([LTDLDEPS])
268   -AC_SUBST([LTDLINCL])
269   -
270   -# For backwards non-gettext consistent compatibility...
271   -INCLTDL="$LTDLINCL"
272   -AC_SUBST([INCLTDL])
273   -])# _LTDL_CONVENIENCE
274   -
275   -
276   -# LTDL_INSTALLABLE
277   -# ----------------
278   -# sets LIBLTDL to the link flags for the libltdl installable library
279   -# and LTDLINCL to the include flags for the libltdl header and adds
280   -# --enable-ltdl-install to the configure arguments. Note that
281   -# AC_CONFIG_SUBDIRS is not called from here. If an installed libltdl
282   -# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if
283   -# available, otherwise with '${top_builddir}/', and LTDLINCL will be
284   -# prefixed with '${top_srcdir}/' (note the single quotes!). If your
285   -# package is not flat and you're not using automake, define top_build_prefix,
286   -# top_builddir, and top_srcdir appropriately in your Makefiles.
287   -# In the future, this macro may have to be called after LT_INIT.
288   -AC_DEFUN([LTDL_INSTALLABLE],
289   -[AC_BEFORE([$0], [LTDL_INIT])dnl
290   -dnl Although the argument is deprecated and no longer documented,
291   -dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
292   -dnl here make sure it is the same as any other declaration of libltdl's
293   -dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
294   -dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
295   -m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
296   -_$0()
297   -])# LTDL_INSTALLABLE
298   -
299   -# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools,
300   -# now we have LT_CONFIG_LTDL_DIR:
301   -AU_DEFUN([AC_LIBLTDL_INSTALLABLE],
302   -[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
303   -_LTDL_INSTALLABLE])
304   -
305   -dnl aclocal-1.4 backwards compatibility:
306   -dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [])
307   -
308   -
309   -# _LTDL_INSTALLABLE
310   -# -----------------
311   -# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
312   -m4_defun([_LTDL_INSTALLABLE],
313   -[if test -f $prefix/lib/libltdl.la; then
314   - lt_save_LDFLAGS="$LDFLAGS"
315   - LDFLAGS="-L$prefix/lib $LDFLAGS"
316   - AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes])
317   - LDFLAGS="$lt_save_LDFLAGS"
318   - if test x"${lt_lib_ltdl-no}" = xyes; then
319   - if test x"$enable_ltdl_install" != xyes; then
320   - # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
321   - AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install'])
322   - enable_ltdl_install=no
323   - fi
324   - elif test x"$enable_ltdl_install" = xno; then
325   - AC_MSG_WARN([libltdl not installed, but installation disabled])
326   - fi
327   -fi
328   -
329   -# If configure.ac declared an installable ltdl, and the user didn't override
330   -# with --disable-ltdl-install, we will install the shipped libltdl.
331   -case $enable_ltdl_install in
332   - no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
333   - LIBLTDL="-lltdl"
334   - LTDLDEPS=
335   - LTDLINCL=
336   - ;;
337   - *) enable_ltdl_install=yes
338   - ac_configure_args="$ac_configure_args --enable-ltdl-install"
339   - LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
340   - LTDLDEPS=$LIBLTDL
341   - LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
342   - ;;
343   -esac
344   -
345   -AC_SUBST([LIBLTDL])
346   -AC_SUBST([LTDLDEPS])
347   -AC_SUBST([LTDLINCL])
348   -
349   -# For backwards non-gettext consistent compatibility...
350   -INCLTDL="$LTDLINCL"
351   -AC_SUBST([INCLTDL])
352   -])# LTDL_INSTALLABLE
353   -
354   -
355   -# _LTDL_MODE_DISPATCH
356   -# -------------------
357   -m4_define([_LTDL_MODE_DISPATCH],
358   -[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself:
359   -m4_if(_LTDL_DIR, [],
360   - [],
361   - dnl if _LTDL_MODE was not set already, the default value is `subproject':
362   - [m4_case(m4_default(_LTDL_MODE, [subproject]),
363   - [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR)
364   - _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
365   - [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])],
366   - [recursive], [],
367   - [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl
368   -dnl Be careful not to expand twice:
369   -m4_define([$0], [])
370   -])# _LTDL_MODE_DISPATCH
371   -
372   -
373   -# _LT_LIBOBJ(MODULE_NAME)
374   -# -----------------------
375   -# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead
376   -# of into LIBOBJS.
377   -AC_DEFUN([_LT_LIBOBJ], [
378   - m4_pattern_allow([^_LT_LIBOBJS$])
379   - _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
380   -])# _LT_LIBOBJS
381   -
382   -
383   -# LTDL_INIT([OPTIONS])
384   -# --------------------
385   -# Clients of libltdl can use this macro to allow the installer to
386   -# choose between a shipped copy of the ltdl sources or a preinstalled
387   -# version of the library. If the shipped ltdl sources are not in a
388   -# subdirectory named libltdl, the directory name must be given by
389   -# LT_CONFIG_LTDL_DIR.
390   -AC_DEFUN([LTDL_INIT],
391   -[dnl Parse OPTIONS
392   -_LT_SET_OPTIONS([$0], [$1])
393   -
394   -dnl We need to keep our own list of libobjs separate from our parent project,
395   -dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
396   -dnl we look for our own LIBOBJs.
397   -m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
398   -m4_pushdef([AC_LIBSOURCES])
399   -
400   -dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
401   -m4_if(_LTDL_MODE, [],
402   - [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
403   - m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
404   - [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
405   -
406   -AC_ARG_WITH([included_ltdl],
407   - [AS_HELP_STRING([--with-included-ltdl],
408   - [use the GNU ltdl sources included here])])
409   -
410   -if test "x$with_included_ltdl" != xyes; then
411   - # We are not being forced to use the included libltdl sources, so
412   - # decide whether there is a useful installed version we can use.
413   - AC_CHECK_HEADER([ltdl.h],
414   - [AC_CHECK_DECL([lt_dlinterface_register],
415   - [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
416   - [with_included_ltdl=no],
417   - [with_included_ltdl=yes])],
418   - [with_included_ltdl=yes],
419   - [AC_INCLUDES_DEFAULT
420   - #include <ltdl.h>])],
421   - [with_included_ltdl=yes],
422   - [AC_INCLUDES_DEFAULT]
423   - )
424   -fi
425   -
426   -dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
427   -dnl was called yet, then for old times' sake, we assume libltdl is in an
428   -dnl eponymous directory:
429   -AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
430   -
431   -AC_ARG_WITH([ltdl_include],
432   - [AS_HELP_STRING([--with-ltdl-include=DIR],
433   - [use the ltdl headers installed in DIR])])
434   -
435   -if test -n "$with_ltdl_include"; then
436   - if test -f "$with_ltdl_include/ltdl.h"; then :
437   - else
438   - AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
439   - fi
440   -else
441   - with_ltdl_include=no
442   -fi
443   -
444   -AC_ARG_WITH([ltdl_lib],
445   - [AS_HELP_STRING([--with-ltdl-lib=DIR],
446   - [use the libltdl.la installed in DIR])])
447   -
448   -if test -n "$with_ltdl_lib"; then
449   - if test -f "$with_ltdl_lib/libltdl.la"; then :
450   - else
451   - AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
452   - fi
453   -else
454   - with_ltdl_lib=no
455   -fi
456   -
457   -case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
458   - ,yes,no,no,)
459   - m4_case(m4_default(_LTDL_TYPE, [convenience]),
460   - [convenience], [_LTDL_CONVENIENCE],
461   - [installable], [_LTDL_INSTALLABLE],
462   - [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
463   - ;;
464   - ,no,no,no,)
465   - # If the included ltdl is not to be used, then use the
466   - # preinstalled libltdl we found.
467   - AC_DEFINE([HAVE_LTDL], [1],
468   - [Define this if a modern libltdl is already installed])
469   - LIBLTDL=-lltdl
470   - LTDLDEPS=
471   - LTDLINCL=
472   - ;;
473   - ,no*,no,*)
474   - AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
475   - ;;
476   - *) with_included_ltdl=no
477   - LIBLTDL="-L$with_ltdl_lib -lltdl"
478   - LTDLDEPS=
479   - LTDLINCL="-I$with_ltdl_include"
480   - ;;
481   -esac
482   -INCLTDL="$LTDLINCL"
483   -
484   -# Report our decision...
485   -AC_MSG_CHECKING([where to find libltdl headers])
486   -AC_MSG_RESULT([$LTDLINCL])
487   -AC_MSG_CHECKING([where to find libltdl library])
488   -AC_MSG_RESULT([$LIBLTDL])
489   -
490   -_LTDL_SETUP
491   -
492   -dnl restore autoconf definition.
493   -m4_popdef([AC_LIBOBJ])
494   -m4_popdef([AC_LIBSOURCES])
495   -
496   -AC_CONFIG_COMMANDS_PRE([
497   - _ltdl_libobjs=
498   - _ltdl_ltlibobjs=
499   - if test -n "$_LT_LIBOBJS"; then
500   - # Remove the extension.
501   - _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
502   - for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
503   - _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
504   - _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
505   - done
506   - fi
507   - AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
508   - AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
509   -])
510   -
511   -# Only expand once:
512   -m4_define([LTDL_INIT])
513   -])# LTDL_INIT
514   -
515   -# Old names:
516   -AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
517   -AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
518   -AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
519   -dnl aclocal-1.4 backwards compatibility:
520   -dnl AC_DEFUN([AC_LIB_LTDL], [])
521   -dnl AC_DEFUN([AC_WITH_LTDL], [])
522   -dnl AC_DEFUN([LT_WITH_LTDL], [])
523   -
524   -
525   -# _LTDL_SETUP
526   -# -----------
527   -# Perform all the checks necessary for compilation of the ltdl objects
528   -# -- including compiler checks and header checks. This is a public
529   -# interface mainly for the benefit of libltdl's own configure.ac, most
530   -# other users should call LTDL_INIT instead.
531   -AC_DEFUN([_LTDL_SETUP],
532   -[AC_REQUIRE([AC_PROG_CC])dnl
533   -AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
534   -AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
535   -AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
536   -AC_REQUIRE([LT_LIB_DLLOAD])dnl
537   -AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
538   -AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
539   -AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
540   -AC_REQUIRE([gl_FUNC_ARGZ])dnl
541   -
542   -m4_require([_LT_CHECK_OBJDIR])dnl
543   -m4_require([_LT_HEADER_DLFCN])dnl
544   -m4_require([_LT_CHECK_DLPREOPEN])dnl
545   -m4_require([_LT_DECL_SED])dnl
546   -
547   -dnl Don't require this, or it will be expanded earlier than the code
548   -dnl that sets the variables it relies on:
549   -_LT_ENABLE_INSTALL
550   -
551   -dnl _LTDL_MODE specific code must be called at least once:
552   -_LTDL_MODE_DISPATCH
553   -
554   -# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
555   -# the user used. This is so that ltdl.h can pick up the parent projects
556   -# config.h file, The first file in AC_CONFIG_HEADERS must contain the
557   -# definitions required by ltdl.c.
558   -# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
559   -AC_CONFIG_COMMANDS_PRE([dnl
560   -m4_pattern_allow([^LT_CONFIG_H$])dnl
561   -m4_ifset([AH_HEADER],
562   - [LT_CONFIG_H=AH_HEADER],
563   - [m4_ifset([AC_LIST_HEADERS],
564   - [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
565   - [])])])
566   -AC_SUBST([LT_CONFIG_H])
567   -
568   -AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
569   - [], [], [AC_INCLUDES_DEFAULT])
570   -
571   -AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
572   -AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
573   -
574   -m4_pattern_allow([LT_LIBEXT])dnl
575   -AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
576   -
577   -name=
578   -eval "lt_libprefix=\"$libname_spec\""
579   -m4_pattern_allow([LT_LIBPREFIX])dnl
580   -AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
581   -
582   -name=ltdl
583   -eval "LTDLOPEN=\"$libname_spec\""
584   -AC_SUBST([LTDLOPEN])
585   -])# _LTDL_SETUP
586   -
587   -
588   -# _LT_ENABLE_INSTALL
589   -# ------------------
590   -m4_define([_LT_ENABLE_INSTALL],
591   -[AC_ARG_ENABLE([ltdl-install],
592   - [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
593   -
594   -case ,${enable_ltdl_install},${enable_ltdl_convenience} in
595   - *yes*) ;;
596   - *) enable_ltdl_convenience=yes ;;
597   -esac
598   -
599   -m4_ifdef([AM_CONDITIONAL],
600   -[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
601   - AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)])
602   -])# _LT_ENABLE_INSTALL
603   -
604   -
605   -# LT_SYS_DLOPEN_DEPLIBS
606   -# ---------------------
607   -AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS],
608   -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
609   -AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
610   - [lt_cv_sys_dlopen_deplibs],
611   - [# PORTME does your system automatically load deplibs for dlopen?
612   - # or its logical equivalent (e.g. shl_load for HP-UX < 11)
613   - # For now, we just catch OSes we know something about -- in the
614   - # future, we'll try test this programmatically.
615   - lt_cv_sys_dlopen_deplibs=unknown
616   - case $host_os in
617   - aix3*|aix4.1.*|aix4.2.*)
618   - # Unknown whether this is true for these versions of AIX, but
619   - # we want this `case' here to explicitly catch those versions.
620   - lt_cv_sys_dlopen_deplibs=unknown
621   - ;;
622   - aix[[4-9]]*)
623   - lt_cv_sys_dlopen_deplibs=yes
624   - ;;
625   - amigaos*)
626   - case $host_cpu in
627   - powerpc)
628   - lt_cv_sys_dlopen_deplibs=no
629   - ;;
630   - esac
631   - ;;
632   - darwin*)
633   - # Assuming the user has installed a libdl from somewhere, this is true
634   - # If you are looking for one http://www.opendarwin.org/projects/dlcompat
635   - lt_cv_sys_dlopen_deplibs=yes
636   - ;;
637   - freebsd* | dragonfly*)
638   - lt_cv_sys_dlopen_deplibs=yes
639   - ;;
640   - gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
641   - # GNU and its variants, using gnu ld.so (Glibc)
642   - lt_cv_sys_dlopen_deplibs=yes
643   - ;;
644   - hpux10*|hpux11*)
645   - lt_cv_sys_dlopen_deplibs=yes
646   - ;;
647   - interix*)
648   - lt_cv_sys_dlopen_deplibs=yes
649   - ;;
650   - irix[[12345]]*|irix6.[[01]]*)
651   - # Catch all versions of IRIX before 6.2, and indicate that we don't
652   - # know how it worked for any of those versions.
653   - lt_cv_sys_dlopen_deplibs=unknown
654   - ;;
655   - irix*)
656   - # The case above catches anything before 6.2, and it's known that
657   - # at 6.2 and later dlopen does load deplibs.
658   - lt_cv_sys_dlopen_deplibs=yes
659   - ;;
660   - netbsd*)
661   - lt_cv_sys_dlopen_deplibs=yes
662   - ;;
663   - openbsd*)
664   - lt_cv_sys_dlopen_deplibs=yes
665   - ;;
666   - osf[[1234]]*)
667   - # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
668   - # it did *not* use an RPATH in a shared library to find objects the
669   - # library depends on, so we explicitly say `no'.
670   - lt_cv_sys_dlopen_deplibs=no
671   - ;;
672   - osf5.0|osf5.0a|osf5.1)
673   - # dlopen *does* load deplibs and with the right loader patch applied
674   - # it even uses RPATH in a shared library to search for shared objects
675   - # that the library depends on, but there's no easy way to know if that
676   - # patch is installed. Since this is the case, all we can really
677   - # say is unknown -- it depends on the patch being installed. If
678   - # it is, this changes to `yes'. Without it, it would be `no'.
679   - lt_cv_sys_dlopen_deplibs=unknown
680   - ;;
681   - osf*)
682   - # the two cases above should catch all versions of osf <= 5.1. Read
683   - # the comments above for what we know about them.
684   - # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
685   - # is used to find them so we can finally say `yes'.
686   - lt_cv_sys_dlopen_deplibs=yes
687   - ;;
688   - qnx*)
689   - lt_cv_sys_dlopen_deplibs=yes
690   - ;;
691   - solaris*)
692   - lt_cv_sys_dlopen_deplibs=yes
693   - ;;
694   - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
695   - libltdl_cv_sys_dlopen_deplibs=yes
696   - ;;
697   - esac
698   - ])
699   -if test "$lt_cv_sys_dlopen_deplibs" != yes; then
700   - AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
701   - [Define if the OS needs help to load dependent libraries for dlopen().])
702   -fi
703   -])# LT_SYS_DLOPEN_DEPLIBS
704   -
705   -# Old name:
706   -AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS])
707   -dnl aclocal-1.4 backwards compatibility:
708   -dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [])
709   -
710   -
711   -# LT_SYS_MODULE_EXT
712   -# -----------------
713   -AC_DEFUN([LT_SYS_MODULE_EXT],
714   -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
715   -AC_CACHE_CHECK([which extension is used for runtime loadable modules],
716   - [libltdl_cv_shlibext],
717   -[
718   -module=yes
719   -eval libltdl_cv_shlibext=$shrext_cmds
720   - ])
721   -if test -n "$libltdl_cv_shlibext"; then
722   - m4_pattern_allow([LT_MODULE_EXT])dnl
723   - AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
724   - [Define to the extension used for runtime loadable modules, say, ".so".])
725   -fi
726   -])# LT_SYS_MODULE_EXT
727   -
728   -# Old name:
729   -AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT])
730   -dnl aclocal-1.4 backwards compatibility:
731   -dnl AC_DEFUN([AC_LTDL_SHLIBEXT], [])
732   -
733   -
734   -# LT_SYS_MODULE_PATH
735   -# ------------------
736   -AC_DEFUN([LT_SYS_MODULE_PATH],
737   -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
738   -AC_CACHE_CHECK([which variable specifies run-time module search path],
739   - [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
740   -if test -n "$lt_cv_module_path_var"; then
741   - m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
742   - AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
743   - [Define to the name of the environment variable that determines the run-time module search path.])
744   -fi
745   -])# LT_SYS_MODULE_PATH
746   -
747   -# Old name:
748   -AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH])
749   -dnl aclocal-1.4 backwards compatibility:
750   -dnl AC_DEFUN([AC_LTDL_SHLIBPATH], [])
751   -
752   -
753   -# LT_SYS_DLSEARCH_PATH
754   -# --------------------
755   -AC_DEFUN([LT_SYS_DLSEARCH_PATH],
756   -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
757   -AC_CACHE_CHECK([for the default library search path],
758   - [lt_cv_sys_dlsearch_path],
759   - [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
760   -if test -n "$lt_cv_sys_dlsearch_path"; then
761   - sys_dlsearch_path=
762   - for dir in $lt_cv_sys_dlsearch_path; do
763   - if test -z "$sys_dlsearch_path"; then
764   - sys_dlsearch_path="$dir"
765   - else
766   - sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
767   - fi
768   - done
769   - m4_pattern_allow([LT_DLSEARCH_PATH])dnl
770   - AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
771   - [Define to the system default library search path.])
772   -fi
773   -])# LT_SYS_DLSEARCH_PATH
774   -
775   -# Old name:
776   -AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH])
777   -dnl aclocal-1.4 backwards compatibility:
778   -dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [])
779   -
780   -
781   -# _LT_CHECK_DLPREOPEN
782   -# -------------------
783   -m4_defun([_LT_CHECK_DLPREOPEN],
784   -[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
785   -AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
786   - [libltdl_cv_preloaded_symbols],
787   - [if test -n "$lt_cv_sys_global_symbol_pipe"; then
788   - libltdl_cv_preloaded_symbols=yes
789   - else
790   - libltdl_cv_preloaded_symbols=no
791   - fi
792   - ])
793   -if test x"$libltdl_cv_preloaded_symbols" = xyes; then
794   - AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
795   - [Define if libtool can extract symbol lists from object files.])
796   -fi
797   -])# _LT_CHECK_DLPREOPEN
798   -
799   -
800   -# LT_LIB_DLLOAD
801   -# -------------
802   -AC_DEFUN([LT_LIB_DLLOAD],
803   -[m4_pattern_allow([^LT_DLLOADERS$])
804   -LT_DLLOADERS=
805   -AC_SUBST([LT_DLLOADERS])
806   -
807   -AC_LANG_PUSH([C])
808   -
809   -LIBADD_DLOPEN=
810   -AC_SEARCH_LIBS([dlopen], [dl],
811   - [AC_DEFINE([HAVE_LIBDL], [1],
812   - [Define if you have the libdl library or equivalent.])
813   - if test "$ac_cv_search_dlopen" != "none required" ; then
814   - LIBADD_DLOPEN="-ldl"
815   - fi
816   - libltdl_cv_lib_dl_dlopen="yes"
817   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
818   - [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
819   -# include <dlfcn.h>
820   -#endif
821   - ]], [[dlopen(0, 0);]])],
822   - [AC_DEFINE([HAVE_LIBDL], [1],
823   - [Define if you have the libdl library or equivalent.])
824   - libltdl_cv_func_dlopen="yes"
825   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
826   - [AC_CHECK_LIB([svld], [dlopen],
827   - [AC_DEFINE([HAVE_LIBDL], [1],
828   - [Define if you have the libdl library or equivalent.])
829   - LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
830   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
831   -if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
832   -then
833   - lt_save_LIBS="$LIBS"
834   - LIBS="$LIBS $LIBADD_DLOPEN"
835   - AC_CHECK_FUNCS([dlerror])
836   - LIBS="$lt_save_LIBS"
837   -fi
838   -AC_SUBST([LIBADD_DLOPEN])
839   -
840   -LIBADD_SHL_LOAD=
841   -AC_CHECK_FUNC([shl_load],
842   - [AC_DEFINE([HAVE_SHL_LOAD], [1],
843   - [Define if you have the shl_load function.])
844   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
845   - [AC_CHECK_LIB([dld], [shl_load],
846   - [AC_DEFINE([HAVE_SHL_LOAD], [1],
847   - [Define if you have the shl_load function.])
848   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
849   - LIBADD_SHL_LOAD="-ldld"])])
850   -AC_SUBST([LIBADD_SHL_LOAD])
851   -
852   -case $host_os in
853   -darwin[[1567]].*)
854   -# We only want this for pre-Mac OS X 10.4.
855   - AC_CHECK_FUNC([_dyld_func_lookup],
856   - [AC_DEFINE([HAVE_DYLD], [1],
857   - [Define if you have the _dyld_func_lookup function.])
858   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
859   - ;;
860   -beos*)
861   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
862   - ;;
863   -cygwin* | mingw* | os2* | pw32*)
864   - AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
865   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
866   - ;;
867   -esac
868   -
869   -AC_CHECK_LIB([dld], [dld_link],
870   - [AC_DEFINE([HAVE_DLD], [1],
871   - [Define if you have the GNU dld library.])
872   - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
873   -AC_SUBST([LIBADD_DLD_LINK])
874   -
875   -m4_pattern_allow([^LT_DLPREOPEN$])
876   -LT_DLPREOPEN=
877   -if test -n "$LT_DLLOADERS"
878   -then
879   - for lt_loader in $LT_DLLOADERS; do
880   - LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
881   - done
882   - AC_DEFINE([HAVE_LIBDLLOADER], [1],
883   - [Define if libdlloader will be built on this platform])
884   -fi
885   -AC_SUBST([LT_DLPREOPEN])
886   -
887   -dnl This isn't used anymore, but set it for backwards compatibility
888   -LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
889   -AC_SUBST([LIBADD_DL])
890   -
891   -AC_LANG_POP
892   -])# LT_LIB_DLLOAD
893   -
894   -# Old name:
895   -AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD])
896   -dnl aclocal-1.4 backwards compatibility:
897   -dnl AC_DEFUN([AC_LTDL_DLLIB], [])
898   -
899   -
900   -# LT_SYS_SYMBOL_USCORE
901   -# --------------------
902   -# does the compiler prefix global symbols with an underscore?
903   -AC_DEFUN([LT_SYS_SYMBOL_USCORE],
904   -[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
905   -AC_CACHE_CHECK([for _ prefix in compiled symbols],
906   - [lt_cv_sys_symbol_underscore],
907   - [lt_cv_sys_symbol_underscore=no
908   - cat > conftest.$ac_ext <<_LT_EOF
909   -void nm_test_func(){}
910   -int main(){nm_test_func;return 0;}
911   -_LT_EOF
912   - if AC_TRY_EVAL(ac_compile); then
913   - # Now try to grab the symbols.
914   - ac_nlist=conftest.nm
915   - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
916   - # See whether the symbols have a leading underscore.
917   - if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
918   - lt_cv_sys_symbol_underscore=yes
919   - else
920   - if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
921   - :
922   - else
923   - echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
924   - fi
925   - fi
926   - else
927   - echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
928   - fi
929   - else
930   - echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
931   - cat conftest.c >&AS_MESSAGE_LOG_FD
932   - fi
933   - rm -rf conftest*
934   - ])
935   - sys_symbol_underscore=$lt_cv_sys_symbol_underscore
936   - AC_SUBST([sys_symbol_underscore])
937   -])# LT_SYS_SYMBOL_USCORE
938   -
939   -# Old name:
940   -AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE])
941   -dnl aclocal-1.4 backwards compatibility:
942   -dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [])
943   -
944   -
945   -# LT_FUNC_DLSYM_USCORE
946   -# --------------------
947   -AC_DEFUN([LT_FUNC_DLSYM_USCORE],
948   -[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
949   -if test x"$lt_cv_sys_symbol_underscore" = xyes; then
950   - if test x"$libltdl_cv_func_dlopen" = xyes ||
951   - test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
952   - AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
953   - [libltdl_cv_need_uscore],
954   - [libltdl_cv_need_uscore=unknown
955   - save_LIBS="$LIBS"
956   - LIBS="$LIBS $LIBADD_DLOPEN"
957   - _LT_TRY_DLOPEN_SELF(
958   - [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
959   - [], [libltdl_cv_need_uscore=cross])
960   - LIBS="$save_LIBS"
961   - ])
962   - fi
963   -fi
964   -
965   -if test x"$libltdl_cv_need_uscore" = xyes; then
966   - AC_DEFINE([NEED_USCORE], [1],
967   - [Define if dlsym() requires a leading underscore in symbol names.])
968   -fi
969   -])# LT_FUNC_DLSYM_USCORE
970   -
971   -# Old name:
972   -AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE])
973   -dnl aclocal-1.4 backwards compatibility:
974   -dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], [])
975   -
976   -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
977   -#
978   -# This file is free software; the Free Software Foundation
979   -# gives unlimited permission to copy and/or distribute it,
980   -# with or without modifications, as long as this notice is preserved.
981   -
982   -# AM_AUTOMAKE_VERSION(VERSION)
983   -# ----------------------------
984   -# Automake X.Y traces this macro to ensure aclocal.m4 has been
985   -# generated from the m4 files accompanying Automake X.Y.
986   -# (This private macro should not be called outside this file.)
987   -AC_DEFUN([AM_AUTOMAKE_VERSION],
988   -[am__api_version='1.11'
989   -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
990   -dnl require some minimum version. Point them to the right macro.
991   -m4_if([$1], [1.11.1], [],
992   - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
993   -])
994   -
995   -# _AM_AUTOCONF_VERSION(VERSION)
996   -# -----------------------------
997   -# aclocal traces this macro to find the Autoconf version.
998   -# This is a private macro too. Using m4_define simplifies
999   -# the logic in aclocal, which can simply ignore this definition.
1000   -m4_define([_AM_AUTOCONF_VERSION], [])
1001   -
1002   -# AM_SET_CURRENT_AUTOMAKE_VERSION
1003   -# -------------------------------
1004   -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1005   -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
1006   -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1007   -[AM_AUTOMAKE_VERSION([1.11.1])dnl
1008   -m4_ifndef([AC_AUTOCONF_VERSION],
1009   - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1010   -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1011   -
1012   -# Figure out how to run the assembler. -*- Autoconf -*-
1013   -
1014   -# Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1015   -#
1016   -# This file is free software; the Free Software Foundation
1017   -# gives unlimited permission to copy and/or distribute it,
1018   -# with or without modifications, as long as this notice is preserved.
1019   -
1020   -# serial 5
1021   -
1022   -# AM_PROG_AS
1023   -# ----------
1024   -AC_DEFUN([AM_PROG_AS],
1025   -[# By default we simply use the C compiler to build assembly code.
1026   -AC_REQUIRE([AC_PROG_CC])
1027   -test "${CCAS+set}" = set || CCAS=$CC
1028   -test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
1029   -AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
1030   -AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
1031   -_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
1032   -])
1033   -
1034   -# AM_AUX_DIR_EXPAND -*- Autoconf -*-
1035   -
1036   -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1037   -#
1038   -# This file is free software; the Free Software Foundation
1039   -# gives unlimited permission to copy and/or distribute it,
1040   -# with or without modifications, as long as this notice is preserved.
1041   -
1042   -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1043   -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
1044   -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1045   -#
1046   -# Of course, Automake must honor this variable whenever it calls a
1047   -# tool from the auxiliary directory. The problem is that $srcdir (and
1048   -# therefore $ac_aux_dir as well) can be either absolute or relative,
1049   -# depending on how configure is run. This is pretty annoying, since
1050   -# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1051   -# source directory, any form will work fine, but in subdirectories a
1052   -# relative path needs to be adjusted first.
1053   -#
1054   -# $ac_aux_dir/missing
1055   -# fails when called from a subdirectory if $ac_aux_dir is relative
1056   -# $top_srcdir/$ac_aux_dir/missing
1057   -# fails if $ac_aux_dir is absolute,
1058   -# fails when called from a subdirectory in a VPATH build with
1059   -# a relative $ac_aux_dir
1060   -#
1061   -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1062   -# are both prefixed by $srcdir. In an in-source build this is usually
1063   -# harmless because $srcdir is `.', but things will broke when you
1064   -# start a VPATH build or use an absolute $srcdir.
1065   -#
1066   -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1067   -# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
1068   -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1069   -# and then we would define $MISSING as
1070   -# MISSING="\${SHELL} $am_aux_dir/missing"
1071   -# This will work as long as MISSING is not called from configure, because
1072   -# unfortunately $(top_srcdir) has no meaning in configure.
1073   -# However there are other variables, like CC, which are often used in
1074   -# configure, and could therefore not use this "fixed" $ac_aux_dir.
1075   -#
1076   -# Another solution, used here, is to always expand $ac_aux_dir to an
1077   -# absolute PATH. The drawback is that using absolute paths prevent a
1078   -# configured tree to be moved without reconfiguration.
1079   -
1080   -AC_DEFUN([AM_AUX_DIR_EXPAND],
1081   -[dnl Rely on autoconf to set up CDPATH properly.
1082   -AC_PREREQ([2.50])dnl
1083   -# expand $ac_aux_dir to an absolute path
1084   -am_aux_dir=`cd $ac_aux_dir && pwd`
1085   -])
1086   -
1087   -# AM_CONDITIONAL -*- Autoconf -*-
1088   -
1089   -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
1090   -# Free Software Foundation, Inc.
1091   -#
1092   -# This file is free software; the Free Software Foundation
1093   -# gives unlimited permission to copy and/or distribute it,
1094   -# with or without modifications, as long as this notice is preserved.
1095   -
1096   -# serial 9
1097   -
1098   -# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1099   -# -------------------------------------
1100   -# Define a conditional.
1101   -AC_DEFUN([AM_CONDITIONAL],
1102   -[AC_PREREQ(2.52)dnl
1103   - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1104   - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1105   -AC_SUBST([$1_TRUE])dnl
1106