1# generated automatically by aclocal 1.11.5 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5# Inc.
6# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15m4_ifndef([AC_AUTOCONF_VERSION],
16  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18[m4_warning([this file was generated for autoconf 2.68.
19You have another version of autoconf.  It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
23# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*-
24#
25#   Copyright (C) 1999-2006, 2007, 2008, 2011 Free Software Foundation, Inc.
26#   Written by Thomas Tanner, 1999
27#
28# This file is free software; the Free Software Foundation gives
29# unlimited permission to copy and/or distribute it, with or without
30# modifications, as long as this notice is preserved.
31
32# serial 18 LTDL_INIT
33
34# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
35# ------------------------------------------
36# DIRECTORY contains the libltdl sources.  It is okay to call this
37# function multiple times, as long as the same DIRECTORY is always given.
38AC_DEFUN([LT_CONFIG_LTDL_DIR],
39[AC_BEFORE([$0], [LTDL_INIT])
40_$0($*)
41])# LT_CONFIG_LTDL_DIR
42
43# We break this out into a separate macro, so that we can call it safely
44# internally without being caught accidentally by the sed scan in libtoolize.
45m4_defun([_LT_CONFIG_LTDL_DIR],
46[dnl remove trailing slashes
47m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$]))
48m4_case(_LTDL_DIR,
49	[], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.'
50	     m4_if(_ARG_DIR, [.],
51	             [],
52		 [m4_define([_LTDL_DIR], _ARG_DIR)
53	          _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])],
54    [m4_if(_ARG_DIR, _LTDL_DIR,
55	    [],
56	[m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])])
57m4_popdef([_ARG_DIR])
58])# _LT_CONFIG_LTDL_DIR
59
60# Initialise:
61m4_define([_LTDL_DIR], [])
62
63
64# _LT_BUILD_PREFIX
65# ----------------
66# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise
67# to `${top_builddir}/'.
68m4_define([_LT_BUILD_PREFIX],
69[m4_ifdef([AC_AUTOCONF_VERSION],
70   [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]),
71	  [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX],
72			  [${top_build_prefix}],
73			  [${top_builddir}/])],
74	  [${top_build_prefix}])],
75   [${top_builddir}/])[]dnl
76])
77
78
79# LTDL_CONVENIENCE
80# ----------------
81# sets LIBLTDL to the link flags for the libltdl convenience library and
82# LTDLINCL to the include flags for the libltdl header and adds
83# --enable-ltdl-convenience to the configure arguments.  Note that
84# AC_CONFIG_SUBDIRS is not called here.  LIBLTDL will be prefixed with
85# '${top_build_prefix}' if available, otherwise with '${top_builddir}/',
86# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
87# quotes!).  If your package is not flat and you're not using automake,
88# define top_build_prefix, top_builddir, and top_srcdir appropriately
89# in your Makefiles.
90AC_DEFUN([LTDL_CONVENIENCE],
91[AC_BEFORE([$0], [LTDL_INIT])dnl
92dnl Although the argument is deprecated and no longer documented,
93dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
94dnl here make sure it is the same as any other declaration of libltdl's
95dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
96dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
97m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
98_$0()
99])# LTDL_CONVENIENCE
100
101# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools,
102# now we have LT_CONFIG_LTDL_DIR:
103AU_DEFUN([AC_LIBLTDL_CONVENIENCE],
104[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
105_LTDL_CONVENIENCE])
106
107dnl aclocal-1.4 backwards compatibility:
108dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [])
109
110
111# _LTDL_CONVENIENCE
112# -----------------
113# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]).
114m4_defun([_LTDL_CONVENIENCE],
115[case $enable_ltdl_convenience in
116  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
117  "") enable_ltdl_convenience=yes
118      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
119esac
120LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
121LTDLDEPS=$LIBLTDL
122LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
123
124AC_SUBST([LIBLTDL])
125AC_SUBST([LTDLDEPS])
126AC_SUBST([LTDLINCL])
127
128# For backwards non-gettext consistent compatibility...
129INCLTDL="$LTDLINCL"
130AC_SUBST([INCLTDL])
131])# _LTDL_CONVENIENCE
132
133
134# LTDL_INSTALLABLE
135# ----------------
136# sets LIBLTDL to the link flags for the libltdl installable library
137# and LTDLINCL to the include flags for the libltdl header and adds
138# --enable-ltdl-install to the configure arguments.  Note that
139# AC_CONFIG_SUBDIRS is not called from here.  If an installed libltdl
140# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if
141# available, otherwise with '${top_builddir}/', and LTDLINCL will be
142# prefixed with '${top_srcdir}/' (note the single quotes!).  If your
143# package is not flat and you're not using automake, define top_build_prefix,
144# top_builddir, and top_srcdir appropriately in your Makefiles.
145# In the future, this macro may have to be called after LT_INIT.
146AC_DEFUN([LTDL_INSTALLABLE],
147[AC_BEFORE([$0], [LTDL_INIT])dnl
148dnl Although the argument is deprecated and no longer documented,
149dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
150dnl here make sure it is the same as any other declaration of libltdl's
151dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
152dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
153m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
154_$0()
155])# LTDL_INSTALLABLE
156
157# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools,
158# now we have LT_CONFIG_LTDL_DIR:
159AU_DEFUN([AC_LIBLTDL_INSTALLABLE],
160[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
161_LTDL_INSTALLABLE])
162
163dnl aclocal-1.4 backwards compatibility:
164dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [])
165
166
167# _LTDL_INSTALLABLE
168# -----------------
169# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
170m4_defun([_LTDL_INSTALLABLE],
171[if test -f $prefix/lib/libltdl.la; then
172  lt_save_LDFLAGS="$LDFLAGS"
173  LDFLAGS="-L$prefix/lib $LDFLAGS"
174  AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes])
175  LDFLAGS="$lt_save_LDFLAGS"
176  if test x"${lt_lib_ltdl-no}" = xyes; then
177    if test x"$enable_ltdl_install" != xyes; then
178      # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install
179      AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install'])
180      enable_ltdl_install=no
181    fi
182  elif test x"$enable_ltdl_install" = xno; then
183    AC_MSG_WARN([libltdl not installed, but installation disabled])
184  fi
185fi
186
187# If configure.ac declared an installable ltdl, and the user didn't override
188# with --disable-ltdl-install, we will install the shipped libltdl.
189case $enable_ltdl_install in
190  no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
191      LIBLTDL="-lltdl"
192      LTDLDEPS=
193      LTDLINCL=
194      ;;
195  *)  enable_ltdl_install=yes
196      ac_configure_args="$ac_configure_args --enable-ltdl-install"
197      LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la"
198      LTDLDEPS=$LIBLTDL
199      LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
200      ;;
201esac
202
203AC_SUBST([LIBLTDL])
204AC_SUBST([LTDLDEPS])
205AC_SUBST([LTDLINCL])
206
207# For backwards non-gettext consistent compatibility...
208INCLTDL="$LTDLINCL"
209AC_SUBST([INCLTDL])
210])# LTDL_INSTALLABLE
211
212
213# _LTDL_MODE_DISPATCH
214# -------------------
215m4_define([_LTDL_MODE_DISPATCH],
216[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself:
217m4_if(_LTDL_DIR, [],
218	[],
219    dnl if _LTDL_MODE was not set already, the default value is `subproject':
220    [m4_case(m4_default(_LTDL_MODE, [subproject]),
221	  [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR)
222			  _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])],
223	  [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])],
224	  [recursive], [],
225	[m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl
226dnl Be careful not to expand twice:
227m4_define([$0], [])
228])# _LTDL_MODE_DISPATCH
229
230
231# _LT_LIBOBJ(MODULE_NAME)
232# -----------------------
233# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead
234# of into LIBOBJS.
235AC_DEFUN([_LT_LIBOBJ], [
236  m4_pattern_allow([^_LT_LIBOBJS$])
237  _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
238])# _LT_LIBOBJS
239
240
241# LTDL_INIT([OPTIONS])
242# --------------------
243# Clients of libltdl can use this macro to allow the installer to
244# choose between a shipped copy of the ltdl sources or a preinstalled
245# version of the library.  If the shipped ltdl sources are not in a
246# subdirectory named libltdl, the directory name must be given by
247# LT_CONFIG_LTDL_DIR.
248AC_DEFUN([LTDL_INIT],
249[dnl Parse OPTIONS
250_LT_SET_OPTIONS([$0], [$1])
251
252dnl We need to keep our own list of libobjs separate from our parent project,
253dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
254dnl we look for our own LIBOBJs.
255m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
256m4_pushdef([AC_LIBSOURCES])
257
258dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
259m4_if(_LTDL_MODE, [],
260        [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
261        m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
262                [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
263
264AC_ARG_WITH([included_ltdl],
265    [AS_HELP_STRING([--with-included-ltdl],
266                    [use the GNU ltdl sources included here])])
267
268if test "x$with_included_ltdl" != xyes; then
269  # We are not being forced to use the included libltdl sources, so
270  # decide whether there is a useful installed version we can use.
271  AC_CHECK_HEADER([ltdl.h],
272      [AC_CHECK_DECL([lt_dlinterface_register],
273	   [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
274	       [with_included_ltdl=no],
275	       [with_included_ltdl=yes])],
276	   [with_included_ltdl=yes],
277	   [AC_INCLUDES_DEFAULT
278	    #include <ltdl.h>])],
279      [with_included_ltdl=yes],
280      [AC_INCLUDES_DEFAULT]
281  )
282fi
283
284dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
285dnl was called yet, then for old times' sake, we assume libltdl is in an
286dnl eponymous directory:
287AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
288
289AC_ARG_WITH([ltdl_include],
290    [AS_HELP_STRING([--with-ltdl-include=DIR],
291                    [use the ltdl headers installed in DIR])])
292
293if test -n "$with_ltdl_include"; then
294  if test -f "$with_ltdl_include/ltdl.h"; then :
295  else
296    AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
297  fi
298else
299  with_ltdl_include=no
300fi
301
302AC_ARG_WITH([ltdl_lib],
303    [AS_HELP_STRING([--with-ltdl-lib=DIR],
304                    [use the libltdl.la installed in DIR])])
305
306if test -n "$with_ltdl_lib"; then
307  if test -f "$with_ltdl_lib/libltdl.la"; then :
308  else
309    AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
310  fi
311else
312  with_ltdl_lib=no
313fi
314
315case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
316  ,yes,no,no,)
317	m4_case(m4_default(_LTDL_TYPE, [convenience]),
318	    [convenience], [_LTDL_CONVENIENCE],
319	    [installable], [_LTDL_INSTALLABLE],
320	  [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
321	;;
322  ,no,no,no,)
323	# If the included ltdl is not to be used, then use the
324	# preinstalled libltdl we found.
325	AC_DEFINE([HAVE_LTDL], [1],
326	  [Define this if a modern libltdl is already installed])
327	LIBLTDL=-lltdl
328	LTDLDEPS=
329	LTDLINCL=
330	;;
331  ,no*,no,*)
332	AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
333	;;
334  *)	with_included_ltdl=no
335	LIBLTDL="-L$with_ltdl_lib -lltdl"
336	LTDLDEPS=
337	LTDLINCL="-I$with_ltdl_include"
338	;;
339esac
340INCLTDL="$LTDLINCL"
341
342# Report our decision...
343AC_MSG_CHECKING([where to find libltdl headers])
344AC_MSG_RESULT([$LTDLINCL])
345AC_MSG_CHECKING([where to find libltdl library])
346AC_MSG_RESULT([$LIBLTDL])
347
348_LTDL_SETUP
349
350dnl restore autoconf definition.
351m4_popdef([AC_LIBOBJ])
352m4_popdef([AC_LIBSOURCES])
353
354AC_CONFIG_COMMANDS_PRE([
355    _ltdl_libobjs=
356    _ltdl_ltlibobjs=
357    if test -n "$_LT_LIBOBJS"; then
358      # Remove the extension.
359      _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
360      for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
361        _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
362        _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
363      done
364    fi
365    AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
366    AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
367])
368
369# Only expand once:
370m4_define([LTDL_INIT])
371])# LTDL_INIT
372
373# Old names:
374AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
375AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
376AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
377dnl aclocal-1.4 backwards compatibility:
378dnl AC_DEFUN([AC_LIB_LTDL], [])
379dnl AC_DEFUN([AC_WITH_LTDL], [])
380dnl AC_DEFUN([LT_WITH_LTDL], [])
381
382
383# _LTDL_SETUP
384# -----------
385# Perform all the checks necessary for compilation of the ltdl objects
386#  -- including compiler checks and header checks.  This is a public
387# interface  mainly for the benefit of libltdl's own configure.ac, most
388# other users should call LTDL_INIT instead.
389AC_DEFUN([_LTDL_SETUP],
390[AC_REQUIRE([AC_PROG_CC])dnl
391AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
392AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
393AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
394AC_REQUIRE([LT_LIB_DLLOAD])dnl
395AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
396AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
397AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
398AC_REQUIRE([gl_FUNC_ARGZ])dnl
399
400m4_require([_LT_CHECK_OBJDIR])dnl
401m4_require([_LT_HEADER_DLFCN])dnl
402m4_require([_LT_CHECK_DLPREOPEN])dnl
403m4_require([_LT_DECL_SED])dnl
404
405dnl Don't require this, or it will be expanded earlier than the code
406dnl that sets the variables it relies on:
407_LT_ENABLE_INSTALL
408
409dnl _LTDL_MODE specific code must be called at least once:
410_LTDL_MODE_DISPATCH
411
412# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
413# the user used.  This is so that ltdl.h can pick up the parent projects
414# config.h file, The first file in AC_CONFIG_HEADERS must contain the
415# definitions required by ltdl.c.
416# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
417AC_CONFIG_COMMANDS_PRE([dnl
418m4_pattern_allow([^LT_CONFIG_H$])dnl
419m4_ifset([AH_HEADER],
420    [LT_CONFIG_H=AH_HEADER],
421    [m4_ifset([AC_LIST_HEADERS],
422	    [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[      ]]*,,;s,[[ :]].*$,,'`],
423	[])])])
424AC_SUBST([LT_CONFIG_H])
425
426AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
427	[], [], [AC_INCLUDES_DEFAULT])
428
429AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
430AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
431
432m4_pattern_allow([LT_LIBEXT])dnl
433AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
434
435name=
436eval "lt_libprefix=\"$libname_spec\""
437m4_pattern_allow([LT_LIBPREFIX])dnl
438AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
439
440name=ltdl
441eval "LTDLOPEN=\"$libname_spec\""
442AC_SUBST([LTDLOPEN])
443])# _LTDL_SETUP
444
445
446# _LT_ENABLE_INSTALL
447# ------------------
448m4_define([_LT_ENABLE_INSTALL],
449[AC_ARG_ENABLE([ltdl-install],
450    [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
451
452case ,${enable_ltdl_install},${enable_ltdl_convenience} in
453  *yes*) ;;
454  *) enable_ltdl_convenience=yes ;;
455esac
456
457m4_ifdef([AM_CONDITIONAL],
458[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno)
459 AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)])
460])# _LT_ENABLE_INSTALL
461
462
463# LT_SYS_DLOPEN_DEPLIBS
464# ---------------------
465AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS],
466[AC_REQUIRE([AC_CANONICAL_HOST])dnl
467AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
468  [lt_cv_sys_dlopen_deplibs],
469  [# PORTME does your system automatically load deplibs for dlopen?
470  # or its logical equivalent (e.g. shl_load for HP-UX < 11)
471  # For now, we just catch OSes we know something about -- in the
472  # future, we'll try test this programmatically.
473  lt_cv_sys_dlopen_deplibs=unknown
474  case $host_os in
475  aix3*|aix4.1.*|aix4.2.*)
476    # Unknown whether this is true for these versions of AIX, but
477    # we want this `case' here to explicitly catch those versions.
478    lt_cv_sys_dlopen_deplibs=unknown
479    ;;
480  aix[[4-9]]*)
481    lt_cv_sys_dlopen_deplibs=yes
482    ;;
483  amigaos*)
484    case $host_cpu in
485    powerpc)
486      lt_cv_sys_dlopen_deplibs=no
487      ;;
488    esac
489    ;;
490  darwin*)
491    # Assuming the user has installed a libdl from somewhere, this is true
492    # If you are looking for one http://www.opendarwin.org/projects/dlcompat
493    lt_cv_sys_dlopen_deplibs=yes
494    ;;
495  freebsd* | dragonfly*)
496    lt_cv_sys_dlopen_deplibs=yes
497    ;;
498  gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
499    # GNU and its variants, using gnu ld.so (Glibc)
500    lt_cv_sys_dlopen_deplibs=yes
501    ;;
502  hpux10*|hpux11*)
503    lt_cv_sys_dlopen_deplibs=yes
504    ;;
505  interix*)
506    lt_cv_sys_dlopen_deplibs=yes
507    ;;
508  irix[[12345]]*|irix6.[[01]]*)
509    # Catch all versions of IRIX before 6.2, and indicate that we don't
510    # know how it worked for any of those versions.
511    lt_cv_sys_dlopen_deplibs=unknown
512    ;;
513  irix*)
514    # The case above catches anything before 6.2, and it's known that
515    # at 6.2 and later dlopen does load deplibs.
516    lt_cv_sys_dlopen_deplibs=yes
517    ;;
518  netbsd*)
519    lt_cv_sys_dlopen_deplibs=yes
520    ;;
521  openbsd*)
522    lt_cv_sys_dlopen_deplibs=yes
523    ;;
524  osf[[1234]]*)
525    # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
526    # it did *not* use an RPATH in a shared library to find objects the
527    # library depends on, so we explicitly say `no'.
528    lt_cv_sys_dlopen_deplibs=no
529    ;;
530  osf5.0|osf5.0a|osf5.1)
531    # dlopen *does* load deplibs and with the right loader patch applied
532    # it even uses RPATH in a shared library to search for shared objects
533    # that the library depends on, but there's no easy way to know if that
534    # patch is installed.  Since this is the case, all we can really
535    # say is unknown -- it depends on the patch being installed.  If
536    # it is, this changes to `yes'.  Without it, it would be `no'.
537    lt_cv_sys_dlopen_deplibs=unknown
538    ;;
539  osf*)
540    # the two cases above should catch all versions of osf <= 5.1.  Read
541    # the comments above for what we know about them.
542    # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
543    # is used to find them so we can finally say `yes'.
544    lt_cv_sys_dlopen_deplibs=yes
545    ;;
546  qnx*)
547    lt_cv_sys_dlopen_deplibs=yes
548    ;;
549  solaris*)
550    lt_cv_sys_dlopen_deplibs=yes
551    ;;
552  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
553    libltdl_cv_sys_dlopen_deplibs=yes
554    ;;
555  esac
556  ])
557if test "$lt_cv_sys_dlopen_deplibs" != yes; then
558 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
559    [Define if the OS needs help to load dependent libraries for dlopen().])
560fi
561])# LT_SYS_DLOPEN_DEPLIBS
562
563# Old name:
564AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS])
565dnl aclocal-1.4 backwards compatibility:
566dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [])
567
568
569# LT_SYS_MODULE_EXT
570# -----------------
571AC_DEFUN([LT_SYS_MODULE_EXT],
572[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
573AC_CACHE_CHECK([which extension is used for runtime loadable modules],
574  [libltdl_cv_shlibext],
575[
576module=yes
577eval libltdl_cv_shlibext=$shrext_cmds
578module=no
579eval libltdl_cv_shrext=$shrext_cmds
580  ])
581if test -n "$libltdl_cv_shlibext"; then
582  m4_pattern_allow([LT_MODULE_EXT])dnl
583  AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
584    [Define to the extension used for runtime loadable modules, say, ".so".])
585fi
586if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
587  m4_pattern_allow([LT_SHARED_EXT])dnl
588  AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
589    [Define to the shared library suffix, say, ".dylib".])
590fi
591])# LT_SYS_MODULE_EXT
592
593# Old name:
594AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT])
595dnl aclocal-1.4 backwards compatibility:
596dnl AC_DEFUN([AC_LTDL_SHLIBEXT], [])
597
598
599# LT_SYS_MODULE_PATH
600# ------------------
601AC_DEFUN([LT_SYS_MODULE_PATH],
602[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
603AC_CACHE_CHECK([which variable specifies run-time module search path],
604  [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
605if test -n "$lt_cv_module_path_var"; then
606  m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
607  AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
608    [Define to the name of the environment variable that determines the run-time module search path.])
609fi
610])# LT_SYS_MODULE_PATH
611
612# Old name:
613AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH])
614dnl aclocal-1.4 backwards compatibility:
615dnl AC_DEFUN([AC_LTDL_SHLIBPATH], [])
616
617
618# LT_SYS_DLSEARCH_PATH
619# --------------------
620AC_DEFUN([LT_SYS_DLSEARCH_PATH],
621[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
622AC_CACHE_CHECK([for the default library search path],
623  [lt_cv_sys_dlsearch_path],
624  [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
625if test -n "$lt_cv_sys_dlsearch_path"; then
626  sys_dlsearch_path=
627  for dir in $lt_cv_sys_dlsearch_path; do
628    if test -z "$sys_dlsearch_path"; then
629      sys_dlsearch_path="$dir"
630    else
631      sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
632    fi
633  done
634  m4_pattern_allow([LT_DLSEARCH_PATH])dnl
635  AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
636    [Define to the system default library search path.])
637fi
638])# LT_SYS_DLSEARCH_PATH
639
640# Old name:
641AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH])
642dnl aclocal-1.4 backwards compatibility:
643dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [])
644
645
646# _LT_CHECK_DLPREOPEN
647# -------------------
648m4_defun([_LT_CHECK_DLPREOPEN],
649[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
650AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
651  [libltdl_cv_preloaded_symbols],
652  [if test -n "$lt_cv_sys_global_symbol_pipe"; then
653    libltdl_cv_preloaded_symbols=yes
654  else
655    libltdl_cv_preloaded_symbols=no
656  fi
657  ])
658if test x"$libltdl_cv_preloaded_symbols" = xyes; then
659  AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
660    [Define if libtool can extract symbol lists from object files.])
661fi
662])# _LT_CHECK_DLPREOPEN
663
664
665# LT_LIB_DLLOAD
666# -------------
667AC_DEFUN([LT_LIB_DLLOAD],
668[m4_pattern_allow([^LT_DLLOADERS$])
669LT_DLLOADERS=
670AC_SUBST([LT_DLLOADERS])
671
672AC_LANG_PUSH([C])
673
674LIBADD_DLOPEN=
675AC_SEARCH_LIBS([dlopen], [dl],
676	[AC_DEFINE([HAVE_LIBDL], [1],
677		   [Define if you have the libdl library or equivalent.])
678	if test "$ac_cv_search_dlopen" != "none required" ; then
679	  LIBADD_DLOPEN="-ldl"
680	fi
681	libltdl_cv_lib_dl_dlopen="yes"
682	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
683    [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
684#  include <dlfcn.h>
685#endif
686    ]], [[dlopen(0, 0);]])],
687	    [AC_DEFINE([HAVE_LIBDL], [1],
688		       [Define if you have the libdl library or equivalent.])
689	    libltdl_cv_func_dlopen="yes"
690	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
691	[AC_CHECK_LIB([svld], [dlopen],
692		[AC_DEFINE([HAVE_LIBDL], [1],
693			 [Define if you have the libdl library or equivalent.])
694	        LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
695		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
696if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
697then
698  lt_save_LIBS="$LIBS"
699  LIBS="$LIBS $LIBADD_DLOPEN"
700  AC_CHECK_FUNCS([dlerror])
701  LIBS="$lt_save_LIBS"
702fi
703AC_SUBST([LIBADD_DLOPEN])
704
705LIBADD_SHL_LOAD=
706AC_CHECK_FUNC([shl_load],
707	[AC_DEFINE([HAVE_SHL_LOAD], [1],
708		   [Define if you have the shl_load function.])
709	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
710    [AC_CHECK_LIB([dld], [shl_load],
711	    [AC_DEFINE([HAVE_SHL_LOAD], [1],
712		       [Define if you have the shl_load function.])
713	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
714	    LIBADD_SHL_LOAD="-ldld"])])
715AC_SUBST([LIBADD_SHL_LOAD])
716
717case $host_os in
718darwin[[1567]].*)
719# We only want this for pre-Mac OS X 10.4.
720  AC_CHECK_FUNC([_dyld_func_lookup],
721	[AC_DEFINE([HAVE_DYLD], [1],
722		   [Define if you have the _dyld_func_lookup function.])
723	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
724  ;;
725beos*)
726  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
727  ;;
728cygwin* | mingw* | os2* | pw32*)
729  AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
730  LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
731  ;;
732esac
733
734AC_CHECK_LIB([dld], [dld_link],
735	[AC_DEFINE([HAVE_DLD], [1],
736		   [Define if you have the GNU dld library.])
737		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
738AC_SUBST([LIBADD_DLD_LINK])
739
740m4_pattern_allow([^LT_DLPREOPEN$])
741LT_DLPREOPEN=
742if test -n "$LT_DLLOADERS"
743then
744  for lt_loader in $LT_DLLOADERS; do
745    LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
746  done
747  AC_DEFINE([HAVE_LIBDLLOADER], [1],
748            [Define if libdlloader will be built on this platform])
749fi
750AC_SUBST([LT_DLPREOPEN])
751
752dnl This isn't used anymore, but set it for backwards compatibility
753LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
754AC_SUBST([LIBADD_DL])
755
756AC_LANG_POP
757])# LT_LIB_DLLOAD
758
759# Old name:
760AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD])
761dnl aclocal-1.4 backwards compatibility:
762dnl AC_DEFUN([AC_LTDL_DLLIB], [])
763
764
765# LT_SYS_SYMBOL_USCORE
766# --------------------
767# does the compiler prefix global symbols with an underscore?
768AC_DEFUN([LT_SYS_SYMBOL_USCORE],
769[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
770AC_CACHE_CHECK([for _ prefix in compiled symbols],
771  [lt_cv_sys_symbol_underscore],
772  [lt_cv_sys_symbol_underscore=no
773  cat > conftest.$ac_ext <<_LT_EOF
774void nm_test_func(){}
775int main(){nm_test_func;return 0;}
776_LT_EOF
777  if AC_TRY_EVAL(ac_compile); then
778    # Now try to grab the symbols.
779    ac_nlist=conftest.nm
780    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
781      # See whether the symbols have a leading underscore.
782      if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
783        lt_cv_sys_symbol_underscore=yes
784      else
785        if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
786	  :
787        else
788	  echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
789        fi
790      fi
791    else
792      echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
793    fi
794  else
795    echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
796    cat conftest.c >&AS_MESSAGE_LOG_FD
797  fi
798  rm -rf conftest*
799  ])
800  sys_symbol_underscore=$lt_cv_sys_symbol_underscore
801  AC_SUBST([sys_symbol_underscore])
802])# LT_SYS_SYMBOL_USCORE
803
804# Old name:
805AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE])
806dnl aclocal-1.4 backwards compatibility:
807dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [])
808
809
810# LT_FUNC_DLSYM_USCORE
811# --------------------
812AC_DEFUN([LT_FUNC_DLSYM_USCORE],
813[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
814if test x"$lt_cv_sys_symbol_underscore" = xyes; then
815  if test x"$libltdl_cv_func_dlopen" = xyes ||
816     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
817	AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
818	  [libltdl_cv_need_uscore],
819	  [libltdl_cv_need_uscore=unknown
820          save_LIBS="$LIBS"
821          LIBS="$LIBS $LIBADD_DLOPEN"
822	  _LT_TRY_DLOPEN_SELF(
823	    [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
824	    [],				 [libltdl_cv_need_uscore=cross])
825	  LIBS="$save_LIBS"
826	])
827  fi
828fi
829
830if test x"$libltdl_cv_need_uscore" = xyes; then
831  AC_DEFINE([NEED_USCORE], [1],
832    [Define if dlsym() requires a leading underscore in symbol names.])
833fi
834])# LT_FUNC_DLSYM_USCORE
835
836# Old name:
837AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE])
838dnl aclocal-1.4 backwards compatibility:
839dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], [])
840
841# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
842# 
843# Copyright �� 2004 Scott James Remnant <scott@netsplit.com>.
844#
845# This program is free software; you can redistribute it and/or modify
846# it under the terms of the GNU General Public License as published by
847# the Free Software Foundation; either version 2 of the License, or
848# (at your option) any later version.
849#
850# This program is distributed in the hope that it will be useful, but
851# WITHOUT ANY WARRANTY; without even the implied warranty of
852# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
853# General Public License for more details.
854#
855# You should have received a copy of the GNU General Public License
856# along with this program; if not, write to the Free Software
857# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
858#
859# As a special exception to the GNU General Public License, if you
860# distribute this file as part of a program that contains a
861# configuration script generated by Autoconf, you may include it under
862# the same distribution terms that you use for the rest of that program.
863
864# PKG_PROG_PKG_CONFIG([MIN-VERSION])
865# ----------------------------------
866AC_DEFUN([PKG_PROG_PKG_CONFIG],
867[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
868m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
869AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
870if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
871	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
872fi
873if test -n "$PKG_CONFIG"; then
874	_pkg_min_version=m4_default([$1], [0.9.0])
875	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
876	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
877		AC_MSG_RESULT([yes])
878	else
879		AC_MSG_RESULT([no])
880		PKG_CONFIG=""
881	fi
882		
883fi[]dnl
884])# PKG_PROG_PKG_CONFIG
885
886# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
887#
888# Check to see whether a particular set of modules exists.  Similar
889# to PKG_CHECK_MODULES(), but does not set variables or print errors.
890#
891#
892# Similar to PKG_CHECK_MODULES, make sure that the first instance of
893# this or PKG_CHECK_MODULES is called, or make sure to call
894# PKG_CHECK_EXISTS manually
895# --------------------------------------------------------------
896AC_DEFUN([PKG_CHECK_EXISTS],
897[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
898if test -n "$PKG_CONFIG" && \
899    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
900  m4_ifval([$2], [$2], [:])
901m4_ifvaln([$3], [else
902  $3])dnl
903fi])
904
905
906# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
907# ---------------------------------------------
908m4_define([_PKG_CONFIG],
909[if test -n "$PKG_CONFIG"; then
910    if test -n "$$1"; then
911        pkg_cv_[]$1="$$1"
912    else
913        PKG_CHECK_EXISTS([$3],
914                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
915			 [pkg_failed=yes])
916    fi
917else
918	pkg_failed=untried
919fi[]dnl
920])# _PKG_CONFIG
921
922# _PKG_SHORT_ERRORS_SUPPORTED
923# -----------------------------
924AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
925[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
926if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
927        _pkg_short_errors_supported=yes
928else
929        _pkg_short_errors_supported=no
930fi[]dnl
931])# _PKG_SHORT_ERRORS_SUPPORTED
932
933
934# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
935# [ACTION-IF-NOT-FOUND])
936#
937#
938# Note that if there is a possibility the first call to
939# PKG_CHECK_MODULES might not happen, you should be sure to include an
940# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
941#
942#
943# --------------------------------------------------------------
944AC_DEFUN([PKG_CHECK_MODULES],
945[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
946AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
947AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
948
949pkg_failed=no
950AC_MSG_CHECKING([for $1])
951
952_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
953_PKG_CONFIG([$1][_LIBS], [libs], [$2])
954
955m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
956and $1[]_LIBS to avoid the need to call pkg-config.
957See the pkg-config man page for more details.])
958
959if test $pkg_failed = yes; then
960        _PKG_SHORT_ERRORS_SUPPORTED
961        if test $_pkg_short_errors_supported = yes; then
962	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
963        else 
964	        $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
965        fi
966	# Put the nasty error message in config.log where it belongs
967	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
968
969	ifelse([$4], , [AC_MSG_ERROR(dnl
970[Package requirements ($2) were not met:
971
972$$1_PKG_ERRORS
973
974Consider adjusting the PKG_CONFIG_PATH environment variable if you
975installed software in a non-standard prefix.
976
977_PKG_TEXT
978])],
979		[AC_MSG_RESULT([no])
980                $4])
981elif test $pkg_failed = untried; then
982	ifelse([$4], , [AC_MSG_FAILURE(dnl
983[The pkg-config script could not be found or is too old.  Make sure it
984is in your PATH or set the PKG_CONFIG environment variable to the full
985path to pkg-config.
986
987_PKG_TEXT
988
989To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
990		[$4])
991else
992	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
993	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
994        AC_MSG_RESULT([yes])
995	ifelse([$3], , :, [$3])
996fi[]dnl
997])# PKG_CHECK_MODULES
998
999# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
1000# Foundation, Inc.
1001#
1002# This file is free software; the Free Software Foundation
1003# gives unlimited permission to copy and/or distribute it,
1004# with or without modifications, as long as this notice is preserved.
1005
1006# serial 1
1007
1008# AM_AUTOMAKE_VERSION(VERSION)
1009# ----------------------------
1010# Automake X.Y traces this macro to ensure aclocal.m4 has been
1011# generated from the m4 files accompanying Automake X.Y.
1012# (This private macro should not be called outside this file.)
1013AC_DEFUN([AM_AUTOMAKE_VERSION],
1014[am__api_version='1.11'
1015dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1016dnl require some minimum version.  Point them to the right macro.
1017m4_if([$1], [1.11.5], [],
1018      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1019])
1020
1021# _AM_AUTOCONF_VERSION(VERSION)
1022# -----------------------------
1023# aclocal traces this macro to find the Autoconf version.
1024# This is a private macro too.  Using m4_define simplifies
1025# the logic in aclocal, which can simply ignore this definition.
1026m4_define([_AM_AUTOCONF_VERSION], [])
1027
1028# AM_SET_CURRENT_AUTOMAKE_VERSION
1029# -------------------------------
1030# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1031# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
1032AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1033[AM_AUTOMAKE_VERSION([1.11.5])dnl
1034m4_ifndef([AC_AUTOCONF_VERSION],
1035  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1036_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1037
1038# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
1039
1040# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1041#
1042# This file is free software; the Free Software Foundation
1043# gives unlimited permission to copy and/or distribute it,
1044# with or without modifications, as long as this notice is preserved.
1045
1046# serial 1
1047
1048# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1049# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
1050# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1051#
1052# Of course, Automake must honor this variable whenever it calls a
1053# tool from the auxiliary directory.  The problem is that $srcdir (and
1054# therefore $ac_aux_dir as well) can be either absolute or relative,
1055# depending on how configure is run.  This is pretty annoying, since
1056# it makes $ac_aux_dir quite unusable in subdirectories: in the top
1057# source directory, any form will work fine, but in subdirectories a
1058# relative path needs to be adjusted first.
1059#
1060# $ac_aux_dir/missing
1061#    fails when called from a subdirectory if $ac_aux_dir is relative
1062# $top_srcdir/$ac_aux_dir/missing
1063#    fails if $ac_aux_dir is absolute,
1064#    fails when called from a subdirectory in a VPATH build with
1065#          a relative $ac_aux_dir
1066#
1067# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1068# are both prefixed by $srcdir.  In an in-source build this is usually
1069# harmless because $srcdir is `.', but things will broke when you
1070# start a VPATH build or use an absolute $srcdir.
1071#
1072# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
1073# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
1074#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
1075# and then we would define $MISSING as
1076#   MISSING="\${SHELL} $am_aux_dir/missing"
1077# This will work as long as MISSING is not called from configure, because
1078# unfortunately $(top_srcdir) has no meaning in configure.
1079# However there are other variables, like CC, which are often used in
1080# configure, and could therefore not use this "fixed" $ac_aux_dir.
1081#
1082# Another solution, used here, is to always expand $ac_aux_dir to an
1083# absolute PATH.  The drawback is that using absolute paths prevent a
1084# configured tree to be moved without reconfiguration.
1085
1086AC_DEFUN([AM_AUX_DIR_EXPAND],
1087[dnl Rely on autoconf to set up CDPATH properly.
1088AC_PREREQ([2.50])dnl
1089# expand $ac_aux_dir to an absolute path
1090am_aux_dir=`cd $ac_aux_dir && pwd`
1091])
1092
1093# AM_CONDITIONAL                                            -*- Autoconf -*-
1094
1095# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
1096# Free Software Foundation, Inc.
1097#
1098# This file is free software; the Free Software Foundation
1099# gives unlimited permission to copy and/or distribute it,
1100# with or without modifications, as long as this notice is preserved.
1101
1102# serial 9
1103
1104# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1105# -------------------------------------
1106# Define a conditional.
1107AC_DEFUN([AM_CONDITIONAL],
1108[AC_PREREQ(2.52)dnl
1109 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
1110	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1111AC_SUBST([$1_TRUE])dnl
1112AC_SUBST([$1_FALSE])dnl
1113_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1114_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1115m4_define([_AM_COND_VALUE_$1], [$2])dnl
1116if $2; then
1117  $1_TRUE=
1118  $1_FALSE='#'
1119else
1120  $1_TRUE='#'
1121  $1_FALSE=
1122fi
1123AC_CONFIG_COMMANDS_PRE(
1124[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1125  AC_MSG_ERROR([[conditional "$1" was never defined.
1126Usually this means the macro was only invoked conditionally.]])
1127fi])])
1128
1129# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
1130# 2010, 2011 Free Software Foundation, Inc.
1131#
1132# This file is free software; the Free Software Foundation
1133# gives unlimited permission to copy and/or distribute it,
1134# with or without modifications, as long as this notice is preserved.
1135
1136# serial 12
1137
1138# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1139# written in clear, in which case automake, when reading aclocal.m4,
1140# will think it sees a *use*, and therefore will trigger all it's
1141# C support machinery.  Also note that it means that autoscan, seeing
1142# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
1143
1144
1145# _AM_DEPENDENCIES(NAME)
1146# ----------------------
1147# See how the compiler implements dependency checking.
1148# NAME is "CC", "CXX", "GCJ", or "OBJC".
1149# We try a few techniques and use that to set a single cache variable.
1150#
1151# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
1152# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
1153# dependency, and given that the user is not expected to run this macro,
1154# just rely on AC_PROG_CC.
1155AC_DEFUN([_AM_DEPENDENCIES],
1156[AC_REQUIRE([AM_SET_DEPDIR])dnl
1157AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1158AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1159AC_REQUIRE([AM_DEP_TRACK])dnl
1160
1161ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
1162       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
1163       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1164       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
1165       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
1166                   [depcc="$$1"   am_compiler_list=])
1167
1168AC_CACHE_CHECK([dependency style of $depcc],
1169               [am_cv_$1_dependencies_compiler_type],
1170[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1171  # We make a subdir and do the tests there.  Otherwise we can end up
1172  # making bogus files that we don't know about and never remove.  For
1173  # instance it was reported that on HP-UX the gcc test will end up
1174  # making a dummy file named `D' -- because `-MD' means `put the output
1175  # in D'.
1176  rm -rf conftest.dir
1177  mkdir conftest.dir
1178  # Copy depcomp to subdir because otherwise we won't find it if we're
1179  # using a relative directory.
1180  cp "$am_depcomp" conftest.dir
1181  cd conftest.dir
1182  # We will build objects and dependencies in a subdirectory because
1183  # it helps to detect inapplicable dependency modes.  For instance
1184  # both Tru64's cc and ICC support -MD to output dependencies as a
1185  # side effect of compilation, but ICC will put the dependencies in
1186  # the current directory while Tru64 will put them in the object
1187  # directory.
1188  mkdir sub
1189
1190  am_cv_$1_dependencies_compiler_type=none
1191  if test "$am_compiler_list" = ""; then
1192     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1193  fi
1194  am__universal=false
1195  m4_case([$1], [CC],
1196    [case " $depcc " in #(
1197     *\ -arch\ *\ -arch\ *) am__universal=true ;;
1198     esac],
1199    [CXX],
1200    [case " $depcc " in #(
1201     *\ -arch\ *\ -arch\ *) am__universal=true ;;
1202     esac])
1203
1204  for depmode in $am_compiler_list; do
1205    # Setup a source with many dependencies, because some compilers
1206    # like to wrap large dependency lists on column 80 (with \), and
1207    # we should not choose a depcomp mode which is confused by this.
1208    #
1209    # We need to recreate these files for each test, as the compiler may
1210    # overwrite some of them when testing with obscure command lines.
1211    # This happens at least with the AIX C compiler.
1212    : > sub/conftest.c
1213    for i in 1 2 3 4 5 6; do
1214      echo '#include "conftst'$i'.h"' >> sub/conftest.c
1215      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1216      # Solaris 8's {/usr,}/bin/sh.
1217      touch sub/conftst$i.h
1218    done
1219    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1220
1221    # We check with `-c' and `-o' for the sake of the "dashmstdout"
1222    # mode.  It turns out that the SunPro C++ compiler does not properly
1223    # handle `-M -o', and we need to detect this.  Also, some Intel
1224    # versions had trouble with output in subdirs
1225    am__obj=sub/conftest.${OBJEXT-o}
1226    am__minus_obj="-o $am__obj"
1227    case $depmode in
1228    gcc)
1229      # This depmode causes a compiler race in universal mode.
1230      test "$am__universal" = false || continue
1231      ;;
1232    nosideeffect)
1233      # after this tag, mechanisms are not by side-effect, so they'll
1234      # only be used when explicitly requested
1235      if test "x$enable_dependency_tracking" = xyes; then
1236	continue
1237      else
1238	break
1239      fi
1240      ;;
1241    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1242      # This compiler won't grok `-c -o', but also, the minuso test has
1243      # not run yet.  These depmodes are late enough in the game, and
1244      # so weak that their functioning should not be impacted.
1245      am__obj=conftest.${OBJEXT-o}
1246      am__minus_obj=
1247      ;;
1248    none) break ;;
1249    esac
1250    if depmode=$depmode \
1251       source=sub/conftest.c object=$am__obj \
1252       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1253       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1254         >/dev/null 2>conftest.err &&
1255       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1256       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1257       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1258       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1259      # icc doesn't choke on unknown options, it will just issue warnings
1260      # or remarks (even with -Werror).  So we grep stderr for any message
1261      # that says an option was ignored or not supported.
1262      # When given -MP, icc 7.0 and 7.1 complain thusly:
1263      #   icc: Command line warning: ignoring option '-M'; no argument required
1264      # The diagnosis changed in icc 8.0:
1265      #   icc: Command line remark: option '-MP' not supported
1266      if (grep 'ignoring option' conftest.err ||
1267          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1268        am_cv_$1_dependencies_compiler_type=$depmode
1269        break
1270      fi
1271    fi
1272  done
1273
1274  cd ..
1275  rm -rf conftest.dir
1276else
1277  am_cv_$1_dependencies_compiler_type=none
1278fi
1279])
1280AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1281AM_CONDITIONAL([am__fastdep$1], [
1282  test "x$enable_dependency_tracking" != xno \
1283  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1284])
1285
1286
1287# AM_SET_DEPDIR
1288# -------------
1289# Choose a directory name for dependency files.
1290# This macro is AC_REQUIREd in _AM_DEPENDENCIES
1291AC_DEFUN([AM_SET_DEPDIR],
1292[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1293AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1294])
1295
1296
1297# AM_DEP_TRACK
1298# ------------
1299AC_DEFUN([AM_DEP_TRACK],
1300[AC_ARG_ENABLE(dependency-tracking,
1301[  --disable-dependency-tracking  speeds up one-time build
1302  --enable-dependency-tracking   do not reject slow dependency extractors])
1303if test "x$enable_dependency_tracking" != xno; then
1304  am_depcomp="$ac_aux_dir/depcomp"
1305  AMDEPBACKSLASH='\'
1306  am__nodep='_no'
1307fi
1308AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1309AC_SUBST([AMDEPBACKSLASH])dnl
1310_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1311AC_SUBST([am__nodep])dnl
1312_AM_SUBST_NOTMAKE([am__nodep])dnl
1313])
1314
1315# Generate code to set up dependency tracking.              -*- Autoconf -*-
1316
1317# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1318# Free Software Foundation, Inc.
1319#
1320# This file is free software; the Free Software Foundation
1321# gives unlimited permission to copy and/or distribute it,
1322# with or without modifications, as long as this notice is preserved.
1323
1324#serial 5
1325
1326# _AM_OUTPUT_DEPENDENCY_COMMANDS
1327# ------------------------------
1328AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1329[{
1330  # Autoconf 2.62 quotes --file arguments for eval, but not when files
1331  # are listed without --file.  Let's play safe and only enable the eval
1332  # if we detect the quoting.
1333  case $CONFIG_FILES in
1334  *\'*) eval set x "$CONFIG_FILES" ;;
1335  *)   set x $CONFIG_FILES ;;
1336  esac
1337  shift
1338  for mf
1339  do
1340    # Strip MF so we end up with the name of the file.
1341    mf=`echo "$mf" | sed -e 's/:.*$//'`
1342    # Check whether this is an Automake generated Makefile or not.
1343    # We used to match only the files named `Makefile.in', but
1344    # some people rename them; so instead we look at the file content.
1345    # Grep'ing the first line is not enough: some people post-process
1346    # each Makefile.in and add a new line on top of each file to say so.
1347    # Grep'ing the whole file is not good either: AIX grep has a line
1348    # limit of 2048, but all sed's we know have understand at least 4000.
1349    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1350      dirpart=`AS_DIRNAME("$mf")`
1351    else
1352      continue
1353    fi
1354    # Extract the definition of DEPDIR, am__include, and am__quote
1355    # from the Makefile without running `make'.
1356    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1357    test -z "$DEPDIR" && continue
1358    am__include=`sed -n 's/^am__include = //p' < "$mf"`
1359    test -z "am__include" && continue
1360    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1361    # When using ansi2knr, U may be empty or an underscore; expand it
1362    U=`sed -n 's/^U = //p' < "$mf"`
1363    # Find all dependency output files, they are included files with
1364    # $(DEPDIR) in their names.  We invoke sed twice because it is the
1365    # simplest approach to changing $(DEPDIR) to its actual value in the
1366    # expansion.
1367    for file in `sed -n "
1368      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1369	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1370      # Make sure the directory exists.
1371      test -f "$dirpart/$file" && continue
1372      fdir=`AS_DIRNAME(["$file"])`
1373      AS_MKDIR_P([$dirpart/$fdir])
1374      # echo "creating $dirpart/$file"
1375      echo '# dummy' > "$dirpart/$file"
1376    done
1377  done
1378}
1379])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1380
1381
1382# AM_OUTPUT_DEPENDENCY_COMMANDS
1383# -----------------------------
1384# This macro should only be invoked once -- use via AC_REQUIRE.
1385#
1386# This code is only required when automatic dependency tracking
1387# is enabled.  FIXME.  This creates each `.P' file that we will
1388# need in order to bootstrap the dependency handling code.
1389AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1390[AC_CONFIG_COMMANDS([depfiles],
1391     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1392     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1393])
1394
1395# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1396# Free Software Foundation, Inc.
1397#
1398# This file is free software; the Free Software Foundation
1399# gives unlimited permission to copy and/or distribute it,
1400# with or without modifications, as long as this notice is preserved.
1401
1402# serial 8
1403
1404# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
1405AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1406
1407# Do all the work for Automake.                             -*- Autoconf -*-
1408
1409# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1410# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1411#
1412# This file is free software; the Free Software Foundation
1413# gives unlimited permission to copy and/or distribute it,
1414# with or without modifications, as long as this notice is preserved.
1415
1416# serial 16
1417
1418# This macro actually does too much.  Some checks are only needed if
1419# your package does certain things.  But this isn't really a big deal.
1420
1421# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1422# AM_INIT_AUTOMAKE([OPTIONS])
1423# -----------------------------------------------
1424# The call with PACKAGE and VERSION arguments is the old style
1425# call (pre autoconf-2.50), which is being phased out.  PACKAGE
1426# and VERSION should now be passed to AC_INIT and removed from
1427# the call to AM_INIT_AUTOMAKE.
1428# We support both call styles for the transition.  After
1429# the next Automake release, Autoconf can make the AC_INIT
1430# arguments mandatory, and then we can depend on a new Autoconf
1431# release and drop the old call support.
1432AC_DEFUN([AM_INIT_AUTOMAKE],
1433[AC_PREREQ([2.62])dnl
1434dnl Autoconf wants to disallow AM_ names.  We explicitly allow
1435dnl the ones we care about.
1436m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1437AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1438AC_REQUIRE([AC_PROG_INSTALL])dnl
1439if test "`cd $srcdir && pwd`" != "`pwd`"; then
1440  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1441  # is not polluted with repeated "-I."
1442  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1443  # test to see if srcdir already configured
1444  if test -f $srcdir/config.status; then
1445    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1446  fi
1447fi
1448
1449# test whether we have cygpath
1450if test -z "$CYGPATH_W"; then
1451  if (cygpath --version) >/dev/null 2>/dev/null; then
1452    CYGPATH_W='cygpath -w'
1453  else
1454    CYGPATH_W=echo
1455  fi
1456fi
1457AC_SUBST([CYGPATH_W])
1458
1459# Define the identity of the package.
1460dnl Distinguish between old-style and new-style calls.
1461m4_ifval([$2],
1462[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1463 AC_SUBST([PACKAGE], [$1])dnl
1464 AC_SUBST([VERSION], [$2])],
1465[_AM_SET_OPTIONS([$1])dnl
1466dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1467m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1468  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1469 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1470 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1471
1472_AM_IF_OPTION([no-define],,
1473[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1474 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1475
1476# Some tools Automake needs.
1477AC_REQUIRE([AM_SANITY_CHECK])dnl
1478AC_REQUIRE([AC_ARG_PROGRAM])dnl
1479AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1480AM_MISSING_PROG(AUTOCONF, autoconf)
1481AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1482AM_MISSING_PROG(AUTOHEADER, autoheader)
1483AM_MISSING_PROG(MAKEINFO, makeinfo)
1484AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1485AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1486AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1487# We need awk for the "check" target.  The system "awk" is bad on
1488# some platforms.
1489AC_REQUIRE([AC_PROG_AWK])dnl
1490AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1491AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1492_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1493	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1494			     [_AM_PROG_TAR([v7])])])
1495_AM_IF_OPTION([no-dependencies],,
1496[AC_PROVIDE_IFELSE([AC_PROG_CC],
1497		  [_AM_DEPENDENCIES(CC)],
1498		  [define([AC_PROG_CC],
1499			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1500AC_PROVIDE_IFELSE([AC_PROG_CXX],
1501		  [_AM_DEPENDENCIES(CXX)],
1502		  [define([AC_PROG_CXX],
1503			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1504AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1505		  [_AM_DEPENDENCIES(OBJC)],
1506		  [define([AC_PROG_OBJC],
1507			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1508])
1509_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1510dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1511dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
1512dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1513AC_CONFIG_COMMANDS_PRE(dnl
1514[m4_provide_if([_AM_COMPILER_EXEEXT],
1515  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1516])
1517
1518dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
1519dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1520dnl mangled by Autoconf and run in a shell conditional statement.
1521m4_define([_AC_COMPILER_EXEEXT],
1522m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1523
1524
1525# When config.status generates a header, we must update the stamp-h file.
1526# This file resides in the same directory as the config header
1527# that is generated.  The stamp files are numbered to have different names.
1528
1529# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
1530# loop where config.status creates the headers, so we can generate
1531# our stamp files there.
1532AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1533[# Compute $1's index in $config_headers.
1534_am_arg=$1
1535_am_stamp_count=1
1536for _am_header in $config_headers :; do
1537  case $_am_header in
1538    $_am_arg | $_am_arg:* )
1539      break ;;
1540    * )
1541      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1542  esac
1543done
1544echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1545
1546# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
1547# Inc.
1548#
1549# This file is free software; the Free Software Foundation
1550# gives unlimited permission to copy and/or distribute it,
1551# with or without modifications, as long as this notice is preserved.
1552
1553# serial 1
1554
1555# AM_PROG_INSTALL_SH
1556# ------------------
1557# Define $install_sh.
1558AC_DEFUN([AM_PROG_INSTALL_SH],
1559[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1560if test x"${install_sh}" != xset; then
1561  case $am_aux_dir in
1562  *\ * | *\	*)
1563    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1564  *)
1565    install_sh="\${SHELL} $am_aux_dir/install-sh"
1566  esac
1567fi
1568AC_SUBST(install_sh)])
1569
1570# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
1571#
1572# This file is free software; the Free Software Foundation
1573# gives unlimited permission to copy and/or distribute it,
1574# with or without modifications, as long as this notice is preserved.
1575
1576# serial 2
1577
1578# Check whether the underlying file-system supports filenames
1579# with a leading dot.  For instance MS-DOS doesn't.
1580AC_DEFUN([AM_SET_LEADING_DOT],
1581[rm -rf .tst 2>/dev/null
1582mkdir .tst 2>/dev/null
1583if test -d .tst; then
1584  am__leading_dot=.
1585else
1586  am__leading_dot=_
1587fi
1588rmdir .tst 2>/dev/null
1589AC_SUBST([am__leading_dot])])
1590
1591# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
1592# From Jim Meyering
1593
1594# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
1595# 2011 Free Software Foundation, Inc.
1596#
1597# This file is free software; the Free Software Foundation
1598# gives unlimited permission to copy and/or distribute it,
1599# with or without modifications, as long as this notice is preserved.
1600
1601# serial 5
1602
1603# AM_MAINTAINER_MODE([DEFAULT-MODE])
1604# ----------------------------------
1605# Control maintainer-specific portions of Makefiles.
1606# Default is to disable them, unless `enable' is passed literally.
1607# For symmetry, `disable' may be passed as well.  Anyway, the user
1608# can override the default with the --enable/--disable switch.
1609AC_DEFUN([AM_MAINTAINER_MODE],
1610[m4_case(m4_default([$1], [disable]),
1611       [enable], [m4_define([am_maintainer_other], [disable])],
1612       [disable], [m4_define([am_maintainer_other], [enable])],
1613       [m4_define([am_maintainer_other], [enable])
1614        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1615AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1616  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1617  AC_ARG_ENABLE([maintainer-mode],
1618[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
1619			  (and sometimes confusing) to the casual installer],
1620      [USE_MAINTAINER_MODE=$enableval],
1621      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1622  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1623  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1624  MAINT=$MAINTAINER_MODE_TRUE
1625  AC_SUBST([MAINT])dnl
1626]
1627)
1628
1629AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1630
1631# Check to see how 'make' treats includes.	            -*- Autoconf -*-
1632
1633# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
1634#
1635# This file is free software; the Free Software Foundation
1636# gives unlimited permission to copy and/or distribute it,
1637# with or without modifications, as long as this notice is preserved.
1638
1639# serial 4
1640
1641# AM_MAKE_INCLUDE()
1642# -----------------
1643# Check to see how make treats includes.
1644AC_DEFUN([AM_MAKE_INCLUDE],
1645[am_make=${MAKE-make}
1646cat > confinc << 'END'
1647am__doit:
1648	@echo this is the am__doit target
1649.PHONY: am__doit
1650END
1651# If we don't find an include directive, just comment out the code.
1652AC_MSG_CHECKING([for style of include used by $am_make])
1653am__include="#"
1654am__quote=
1655_am_result=none
1656# First try GNU make style include.
1657echo "include confinc" > confmf
1658# Ignore all kinds of additional output from `make'.
1659case `$am_make -s -f confmf 2> /dev/null` in #(
1660*the\ am__doit\ target*)
1661  am__include=include
1662  am__quote=
1663  _am_result=GNU
1664  ;;
1665esac
1666# Now try BSD make style include.
1667if test "$am__include" = "#"; then
1668   echo '.include "confinc"' > confmf
1669   case `$am_make -s -f confmf 2> /dev/null` in #(
1670   *the\ am__doit\ target*)
1671     am__include=.include
1672     am__quote="\""
1673     _am_result=BSD
1674     ;;
1675   esac
1676fi
1677AC_SUBST([am__include])
1678AC_SUBST([am__quote])
1679AC_MSG_RESULT([$_am_result])
1680rm -f confinc confmf
1681])
1682
1683# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
1684# Free Software Foundation, Inc.
1685#
1686# This file is free software; the Free Software Foundation
1687# gives unlimited permission to copy and/or distribute it,
1688# with or without modifications, as long as this notice is preserved.
1689
1690# serial 6
1691
1692# AM_PROG_CC_C_O
1693# --------------
1694# Like AC_PROG_CC_C_O, but changed for automake.
1695AC_DEFUN([AM_PROG_CC_C_O],
1696[AC_REQUIRE([AC_PROG_CC_C_O])dnl
1697AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1698AC_REQUIRE_AUX_FILE([compile])dnl
1699# FIXME: we rely on the cache variable name because
1700# there is no other way.
1701set dummy $CC
1702am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1703eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
1704if test "$am_t" != yes; then
1705   # Losing compiler, so override with the script.
1706   # FIXME: It is wrong to rewrite CC.
1707   # But if we don't then we get into trouble of one sort or another.
1708   # A longer-term fix would be to have automake use am__CC in this case,
1709   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1710   CC="$am_aux_dir/compile $CC"
1711fi
1712dnl Make sure AC_PROG_CC is never called again, or it will override our
1713dnl setting of CC.
1714m4_define([AC_PROG_CC],
1715          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1716])
1717
1718# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
1719
1720# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1721# Free Software Foundation, Inc.
1722#
1723# This file is free software; the Free Software Foundation
1724# gives unlimited permission to copy and/or distribute it,
1725# with or without modifications, as long as this notice is preserved.
1726
1727# serial 6
1728
1729# AM_MISSING_PROG(NAME, PROGRAM)
1730# ------------------------------
1731AC_DEFUN([AM_MISSING_PROG],
1732[AC_REQUIRE([AM_MISSING_HAS_RUN])
1733$1=${$1-"${am_missing_run}$2"}
1734AC_SUBST($1)])
1735
1736
1737# AM_MISSING_HAS_RUN
1738# ------------------
1739# Define MISSING if not defined so far and test if it supports --run.
1740# If it does, set am_missing_run to use it, otherwise, to nothing.
1741AC_DEFUN([AM_MISSING_HAS_RUN],
1742[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1743AC_REQUIRE_AUX_FILE([missing])dnl
1744if test x"${MISSING+set}" != xset; then
1745  case $am_aux_dir in
1746  *\ * | *\	*)
1747    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1748  *)
1749    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1750  esac
1751fi
1752# Use eval to expand $SHELL
1753if eval "$MISSING --run true"; then
1754  am_missing_run="$MISSING --run "
1755else
1756  am_missing_run=
1757  AC_MSG_WARN([`missing' script is too old or missing])
1758fi
1759])
1760
1761# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
1762# Inc.
1763#
1764# This file is free software; the Free Software Foundation
1765# gives unlimited permission to copy and/or distribute it,
1766# with or without modifications, as long as this notice is preserved.
1767
1768# serial 1
1769
1770# AM_PROG_MKDIR_P
1771# ---------------
1772# Check for `mkdir -p'.
1773AC_DEFUN([AM_PROG_MKDIR_P],
1774[AC_PREREQ([2.60])dnl
1775AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1776dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
1777dnl while keeping a definition of mkdir_p for backward compatibility.
1778dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1779dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1780dnl Makefile.ins that do not define MKDIR_P, so we do our own
1781dnl adjustment using top_builddir (which is defined more often than
1782dnl MKDIR_P).
1783AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1784case $mkdir_p in
1785  [[\\/$]]* | ?:[[\\/]]*) ;;
1786  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1787esac
1788])
1789
1790# Helper functions for option handling.                     -*- Autoconf -*-
1791
1792# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
1793# Foundation, Inc.
1794#
1795# This file is free software; the Free Software Foundation
1796# gives unlimited permission to copy and/or distribute it,
1797# with or without modifications, as long as this notice is preserved.
1798
1799# serial 5
1800
1801# _AM_MANGLE_OPTION(NAME)
1802# -----------------------
1803AC_DEFUN([_AM_MANGLE_OPTION],
1804[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1805
1806# _AM_SET_OPTION(NAME)
1807# --------------------
1808# Set option NAME.  Presently that only means defining a flag for this option.
1809AC_DEFUN([_AM_SET_OPTION],
1810[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1811
1812# _AM_SET_OPTIONS(OPTIONS)
1813# ------------------------
1814# OPTIONS is a space-separated list of Automake options.
1815AC_DEFUN([_AM_SET_OPTIONS],
1816[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1817
1818# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1819# -------------------------------------------
1820# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
1821AC_DEFUN([_AM_IF_OPTION],
1822[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1823
1824# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1825
1826# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1827# Free Software Foundation, Inc.
1828#
1829# This file is free software; the Free Software Foundation
1830# gives unlimited permission to copy and/or distribute it,
1831# with or without modifications, as long as this notice is preserved.
1832
1833# serial 5
1834
1835# AM_SANITY_CHECK
1836# ---------------
1837AC_DEFUN([AM_SANITY_CHECK],
1838[AC_MSG_CHECKING([whether build environment is sane])
1839# Just in case
1840sleep 1
1841echo timestamp > conftest.file
1842# Reject unsafe characters in $srcdir or the absolute working directory
1843# name.  Accept space and tab only in the latter.
1844am_lf='
1845'
1846case `pwd` in
1847  *[[\\\"\#\$\&\'\`$am_lf]]*)
1848    AC_MSG_ERROR([unsafe absolute working directory name]);;
1849esac
1850case $srcdir in
1851  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
1852    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1853esac
1854
1855# Do `set' in a subshell so we don't clobber the current shell's
1856# arguments.  Must try -L first in case configure is actually a
1857# symlink; some systems play weird games with the mod time of symlinks
1858# (eg FreeBSD returns the mod time of the symlink's containing
1859# directory).
1860if (
1861   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1862   if test "$[*]" = "X"; then
1863      # -L didn't work.
1864      set X `ls -t "$srcdir/configure" conftest.file`
1865   fi
1866   rm -f conftest.file
1867   if test "$[*]" != "X $srcdir/configure conftest.file" \
1868      && test "$[*]" != "X conftest.file $srcdir/configure"; then
1869
1870      # If neither matched, then we have a broken ls.  This can happen
1871      # if, for instance, CONFIG_SHELL is bash and it inherits a
1872      # broken ls alias from the environment.  This has actually
1873      # happened.  Such a system could not be considered "sane".
1874      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
1875alias in your environment])
1876   fi
1877
1878   test "$[2]" = conftest.file
1879   )
1880then
1881   # Ok.
1882   :
1883else
1884   AC_MSG_ERROR([newly created file is older than distributed files!
1885Check your system clock])
1886fi
1887AC_MSG_RESULT(yes)])
1888
1889# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1890#
1891# This file is free software; the Free Software Foundation
1892# gives unlimited permission to copy and/or distribute it,
1893# with or without modifications, as long as this notice is preserved.
1894
1895# serial 1
1896
1897# AM_PROG_INSTALL_STRIP
1898# ---------------------
1899# One issue with vendor `install' (even GNU) is that you can't
1900# specify the program used to strip binaries.  This is especially
1901# annoying in cross-compiling environments, where the build's strip
1902# is unlikely to handle the host's binaries.
1903# Fortunately install-sh will honor a STRIPPROG variable, so we
1904# always use install-sh in `make install-strip', and initialize
1905# STRIPPROG with the value of the STRIP variable (set by the user).
1906AC_DEFUN([AM_PROG_INSTALL_STRIP],
1907[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1908# Installed binaries are usually stripped using `strip' when the user
1909# run `make install-strip'.  However `strip' might not be the right
1910# tool to use in cross-compilation environments, therefore Automake
1911# will honor the `STRIP' environment variable to overrule this program.
1912dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1913if test "$cross_compiling" != no; then
1914  AC_CHECK_TOOL([STRIP], [strip], :)
1915fi
1916INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1917AC_SUBST([INSTALL_STRIP_PROGRAM])])
1918
1919# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1920#
1921# This file is free software; the Free Software Foundation
1922# gives unlimited permission to copy and/or distribute it,
1923# with or without modifications, as long as this notice is preserved.
1924
1925# serial 3
1926
1927# _AM_SUBST_NOTMAKE(VARIABLE)
1928# ---------------------------
1929# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1930# This macro is traced by Automake.
1931AC_DEFUN([_AM_SUBST_NOTMAKE])
1932
1933# AM_SUBST_NOTMAKE(VARIABLE)
1934# --------------------------
1935# Public sister of _AM_SUBST_NOTMAKE.
1936AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1937
1938# Check how to create a tarball.                            -*- Autoconf -*-
1939
1940# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1941#
1942# This file is free software; the Free Software Foundation
1943# gives unlimited permission to copy and/or distribute it,
1944# with or without modifications, as long as this notice is preserved.
1945
1946# serial 2
1947
1948# _AM_PROG_TAR(FORMAT)
1949# --------------------
1950# Check how to create a tarball in format FORMAT.
1951# FORMAT should be one of `v7', `ustar', or `pax'.
1952#
1953# Substitute a variable $(am__tar) that is a command
1954# writing to stdout a FORMAT-tarball containing the directory
1955# $tardir.
1956#     tardir=directory && $(am__tar) > result.tar
1957#
1958# Substitute a variable $(am__untar) that extract such
1959# a tarball read from stdin.
1960#     $(am__untar) < result.tar
1961AC_DEFUN([_AM_PROG_TAR],
1962[# Always define AMTAR for backward compatibility.  Yes, it's still used
1963# in the wild :-(  We should find a proper way to deprecate it ...
1964AC_SUBST([AMTAR], ['$${TAR-tar}'])
1965m4_if([$1], [v7],
1966     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1967     [m4_case([$1], [ustar],, [pax],,
1968              [m4_fatal([Unknown tar format])])
1969AC_MSG_CHECKING([how to create a $1 tar archive])
1970# Loop over all known methods to create a tar archive until one works.
1971_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1972_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1973# Do not fold the above two line into one, because Tru64 sh and
1974# Solaris sh will not grok spaces in the rhs of `-'.
1975for _am_tool in $_am_tools
1976do
1977  case $_am_tool in
1978  gnutar)
1979    for _am_tar in tar gnutar gtar;
1980    do
1981      AM_RUN_LOG([$_am_tar --version]) && break
1982    done
1983    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1984    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1985    am__untar="$_am_tar -xf -"
1986    ;;
1987  plaintar)
1988    # Must skip GNU tar: if it does not support --format= it doesn't create
1989    # ustar tarball either.
1990    (tar --version) >/dev/null 2>&1 && continue
1991    am__tar='tar chf - "$$tardir"'
1992    am__tar_='tar chf - "$tardir"'
1993    am__untar='tar xf -'
1994    ;;
1995  pax)
1996    am__tar='pax -L -x $1 -w "$$tardir"'
1997    am__tar_='pax -L -x $1 -w "$tardir"'
1998    am__untar='pax -r'
1999    ;;
2000  cpio)
2001    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2002    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2003    am__untar='cpio -i -H $1 -d'
2004    ;;
2005  none)
2006    am__tar=false
2007    am__tar_=false
2008    am__untar=false
2009    ;;
2010  esac
2011
2012  # If the value was cached, stop now.  We just wanted to have am__tar
2013  # and am__untar set.
2014  test -n "${am_cv_prog_tar_$1}" && break
2015
2016  # tar/untar a dummy directory, and stop if the command works
2017  rm -rf conftest.dir
2018  mkdir conftest.dir
2019  echo GrepMe > conftest.dir/file
2020  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2021  rm -rf conftest.dir
2022  if test -s conftest.tar; then
2023    AM_RUN_LOG([$am__untar <conftest.tar])
2024    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2025  fi
2026done
2027rm -rf conftest.dir
2028
2029AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2030AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2031AC_SUBST([am__tar])
2032AC_SUBST([am__untar])
2033]) # _AM_PROG_TAR
2034
2035m4_include([macros/afs-check.m4])
2036m4_include([macros/cnid-backend.m4])
2037m4_include([macros/config-checks.m4])
2038m4_include([macros/cups.m4])
2039m4_include([macros/db3-check.m4])
2040m4_include([macros/grep-check.m4])
2041m4_include([macros/gssapi-check.m4])
2042m4_include([macros/iconv.m4])
2043m4_include([macros/largefile-check.m4])
2044m4_include([macros/libgcrypt.m4])
2045m4_include([macros/libtool.m4])
2046m4_include([macros/ltoptions.m4])
2047m4_include([macros/ltsugar.m4])
2048m4_include([macros/ltversion.m4])
2049m4_include([macros/lt~obsolete.m4])
2050m4_include([macros/pam-check.m4])
2051m4_include([macros/perl-check.m4])
2052m4_include([macros/ps-check.m4])
2053m4_include([macros/quota-check.m4])
2054m4_include([macros/snprintf-check.m4])
2055m4_include([macros/srvloc.m4])
2056m4_include([macros/ssl-check.m4])
2057m4_include([macros/summary.m4])
2058m4_include([macros/tcp-wrappers.m4])
2059m4_include([macros/util.m4])
2060m4_include([macros/webmin.m4])
2061m4_include([macros/zeroconf.m4])
2062