"Fossies" - the Fresh Open Source Software Archive

Member "sssd-2.2.3/aclocal.m4" (30 Nov 2019, 83251 Bytes) of package /linux/misc/sssd-2.2.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "aclocal.m4": 2.1.0_vs_2.2.0.

    1 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
    4 
    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_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
   15 m4_ifndef([AC_AUTOCONF_VERSION],
   16   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
   17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
   18 [m4_warning([this file was generated for autoconf 2.69.
   19 You have another version of autoconf.  It may work, but is not guaranteed to.
   20 If you have problems, you may need to regenerate the build system entirely.
   21 To 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-2008, 2011-2015 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 20 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.
   38 AC_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.
   45 m4_defun([_LT_CONFIG_LTDL_DIR],
   46 [dnl remove trailing slashes
   47 m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$]))
   48 m4_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['])])])
   57 m4_popdef([_ARG_DIR])
   58 ])# _LT_CONFIG_LTDL_DIR
   59 
   60 # Initialise:
   61 m4_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)/'.
   68 m4_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.
   90 AC_DEFUN([LTDL_CONVENIENCE],
   91 [AC_BEFORE([$0], [LTDL_INIT])dnl
   92 dnl Although the argument is deprecated and no longer documented,
   93 dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
   94 dnl here make sure it is the same as any other declaration of libltdl's
   95 dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
   96 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
   97 m4_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:
  103 AU_DEFUN([AC_LIBLTDL_CONVENIENCE],
  104 [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  105 _LTDL_CONVENIENCE])
  106 
  107 dnl aclocal-1.4 backwards compatibility:
  108 dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [])
  109 
  110 
  111 # _LTDL_CONVENIENCE
  112 # -----------------
  113 # Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]).
  114 m4_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" ;;
  119 esac
  120 LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
  121 LTDLDEPS=$LIBLTDL
  122 LTDLINCL='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
  123 
  124 AC_SUBST([LIBLTDL])
  125 AC_SUBST([LTDLDEPS])
  126 AC_SUBST([LTDLINCL])
  127 
  128 # For backwards non-gettext consistent compatibility...
  129 INCLTDL=$LTDLINCL
  130 AC_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.
  146 AC_DEFUN([LTDL_INSTALLABLE],
  147 [AC_BEFORE([$0], [LTDL_INIT])dnl
  148 dnl Although the argument is deprecated and no longer documented,
  149 dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
  150 dnl here make sure it is the same as any other declaration of libltdl's
  151 dnl location!  This also ensures lt_ltdl_dir is set when configure.ac is
  152 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
  153 m4_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:
  159 AU_DEFUN([AC_LIBLTDL_INSTALLABLE],
  160 [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
  161 _LTDL_INSTALLABLE])
  162 
  163 dnl aclocal-1.4 backwards compatibility:
  164 dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [])
  165 
  166 
  167 # _LTDL_INSTALLABLE
  168 # -----------------
  169 # Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]).
  170 m4_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 yes = "${lt_lib_ltdl-no}"; then
  177     if test yes != "$enable_ltdl_install"; 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 no = "$enable_ltdl_install"; then
  183     AC_MSG_WARN([libltdl not installed, but installation disabled])
  184   fi
  185 fi
  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.
  189 case $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       ;;
  201 esac
  202 
  203 AC_SUBST([LIBLTDL])
  204 AC_SUBST([LTDLDEPS])
  205 AC_SUBST([LTDLINCL])
  206 
  207 # For backwards non-gettext consistent compatibility...
  208 INCLTDL=$LTDLINCL
  209 AC_SUBST([INCLTDL])
  210 ])# LTDL_INSTALLABLE
  211 
  212 
  213 # _LTDL_MODE_DISPATCH
  214 # -------------------
  215 m4_define([_LTDL_MODE_DISPATCH],
  216 [dnl If _LTDL_DIR is '.', then we are configuring libltdl itself:
  217 m4_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
  226 dnl Be careful not to expand twice:
  227 m4_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.
  235 AC_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.
  248 AC_DEFUN([LTDL_INIT],
  249 [dnl Parse OPTIONS
  250 _LT_SET_OPTIONS([$0], [$1])
  251 
  252 dnl We need to keep our own list of libobjs separate from our parent project,
  253 dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
  254 dnl we look for our own LIBOBJs.
  255 m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
  256 m4_pushdef([AC_LIBSOURCES])
  257 
  258 dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
  259 m4_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 
  264 AC_ARG_WITH([included_ltdl],
  265     [AS_HELP_STRING([--with-included-ltdl],
  266                     [use the GNU ltdl sources included here])])
  267 
  268 if test yes != "$with_included_ltdl"; 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   )
  282 fi
  283 
  284 dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
  285 dnl was called yet, then for old times' sake, we assume libltdl is in an
  286 dnl eponymous directory:
  287 AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
  288 
  289 AC_ARG_WITH([ltdl_include],
  290     [AS_HELP_STRING([--with-ltdl-include=DIR],
  291                     [use the ltdl headers installed in DIR])])
  292 
  293 if 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
  298 else
  299   with_ltdl_include=no
  300 fi
  301 
  302 AC_ARG_WITH([ltdl_lib],
  303     [AS_HELP_STRING([--with-ltdl-lib=DIR],
  304                     [use the libltdl.la installed in DIR])])
  305 
  306 if 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
  311 else
  312   with_ltdl_lib=no
  313 fi
  314 
  315 case ,$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 	;;
  339 esac
  340 INCLTDL=$LTDLINCL
  341 
  342 # Report our decision...
  343 AC_MSG_CHECKING([where to find libltdl headers])
  344 AC_MSG_RESULT([$LTDLINCL])
  345 AC_MSG_CHECKING([where to find libltdl library])
  346 AC_MSG_RESULT([$LIBLTDL])
  347 
  348 _LTDL_SETUP
  349 
  350 dnl restore autoconf definition.
  351 m4_popdef([AC_LIBOBJ])
  352 m4_popdef([AC_LIBSOURCES])
  353 
  354 AC_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:
  370 m4_define([LTDL_INIT])
  371 ])# LTDL_INIT
  372 
  373 # Old names:
  374 AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
  375 AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
  376 AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
  377 dnl aclocal-1.4 backwards compatibility:
  378 dnl AC_DEFUN([AC_LIB_LTDL], [])
  379 dnl AC_DEFUN([AC_WITH_LTDL], [])
  380 dnl 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.
  389 AC_DEFUN([_LTDL_SETUP],
  390 [AC_REQUIRE([AC_PROG_CC])dnl
  391 AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
  392 AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
  393 AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
  394 AC_REQUIRE([LT_LIB_DLLOAD])dnl
  395 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
  396 AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
  397 AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
  398 AC_REQUIRE([LT_FUNC_ARGZ])dnl
  399 
  400 m4_require([_LT_CHECK_OBJDIR])dnl
  401 m4_require([_LT_HEADER_DLFCN])dnl
  402 m4_require([_LT_CHECK_DLPREOPEN])dnl
  403 m4_require([_LT_DECL_SED])dnl
  404 
  405 dnl Don't require this, or it will be expanded earlier than the code
  406 dnl that sets the variables it relies on:
  407 _LT_ENABLE_INSTALL
  408 
  409 dnl _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).
  417 AC_CONFIG_COMMANDS_PRE([dnl
  418 m4_pattern_allow([^LT_CONFIG_H$])dnl
  419 m4_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 	[])])])
  424 AC_SUBST([LT_CONFIG_H])
  425 
  426 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
  427 	[], [], [AC_INCLUDES_DEFAULT])
  428 
  429 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
  430 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
  431 
  432 m4_pattern_allow([LT_LIBEXT])dnl
  433 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
  434 
  435 name=
  436 eval "lt_libprefix=\"$libname_spec\""
  437 m4_pattern_allow([LT_LIBPREFIX])dnl
  438 AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
  439 
  440 name=ltdl
  441 eval "LTDLOPEN=\"$libname_spec\""
  442 AC_SUBST([LTDLOPEN])
  443 ])# _LTDL_SETUP
  444 
  445 
  446 # _LT_ENABLE_INSTALL
  447 # ------------------
  448 m4_define([_LT_ENABLE_INSTALL],
  449 [AC_ARG_ENABLE([ltdl-install],
  450     [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])])
  451 
  452 case ,$enable_ltdl_install,$enable_ltdl_convenience in
  453   *yes*) ;;
  454   *) enable_ltdl_convenience=yes ;;
  455 esac
  456 
  457 m4_ifdef([AM_CONDITIONAL],
  458 [AM_CONDITIONAL(INSTALL_LTDL, test no != "${enable_ltdl_install-no}")
  459  AM_CONDITIONAL(CONVENIENCE_LTDL, test no != "${enable_ltdl_convenience-no}")])
  460 ])# _LT_ENABLE_INSTALL
  461 
  462 
  463 # LT_SYS_DLOPEN_DEPLIBS
  464 # ---------------------
  465 AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS],
  466 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
  467 AC_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   bitrig*)
  491     lt_cv_sys_dlopen_deplibs=yes
  492     ;;
  493   darwin*)
  494     # Assuming the user has installed a libdl from somewhere, this is true
  495     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
  496     lt_cv_sys_dlopen_deplibs=yes
  497     ;;
  498   freebsd* | dragonfly*)
  499     lt_cv_sys_dlopen_deplibs=yes
  500     ;;
  501   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
  502     # GNU and its variants, using gnu ld.so (Glibc)
  503     lt_cv_sys_dlopen_deplibs=yes
  504     ;;
  505   hpux10*|hpux11*)
  506     lt_cv_sys_dlopen_deplibs=yes
  507     ;;
  508   interix*)
  509     lt_cv_sys_dlopen_deplibs=yes
  510     ;;
  511   irix[[12345]]*|irix6.[[01]]*)
  512     # Catch all versions of IRIX before 6.2, and indicate that we don't
  513     # know how it worked for any of those versions.
  514     lt_cv_sys_dlopen_deplibs=unknown
  515     ;;
  516   irix*)
  517     # The case above catches anything before 6.2, and it's known that
  518     # at 6.2 and later dlopen does load deplibs.
  519     lt_cv_sys_dlopen_deplibs=yes
  520     ;;
  521   netbsd*)
  522     lt_cv_sys_dlopen_deplibs=yes
  523     ;;
  524   openbsd*)
  525     lt_cv_sys_dlopen_deplibs=yes
  526     ;;
  527   osf[[1234]]*)
  528     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
  529     # it did *not* use an RPATH in a shared library to find objects the
  530     # library depends on, so we explicitly say 'no'.
  531     lt_cv_sys_dlopen_deplibs=no
  532     ;;
  533   osf5.0|osf5.0a|osf5.1)
  534     # dlopen *does* load deplibs and with the right loader patch applied
  535     # it even uses RPATH in a shared library to search for shared objects
  536     # that the library depends on, but there's no easy way to know if that
  537     # patch is installed.  Since this is the case, all we can really
  538     # say is unknown -- it depends on the patch being installed.  If
  539     # it is, this changes to 'yes'.  Without it, it would be 'no'.
  540     lt_cv_sys_dlopen_deplibs=unknown
  541     ;;
  542   osf*)
  543     # the two cases above should catch all versions of osf <= 5.1.  Read
  544     # the comments above for what we know about them.
  545     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
  546     # is used to find them so we can finally say 'yes'.
  547     lt_cv_sys_dlopen_deplibs=yes
  548     ;;
  549   qnx*)
  550     lt_cv_sys_dlopen_deplibs=yes
  551     ;;
  552   solaris*)
  553     lt_cv_sys_dlopen_deplibs=yes
  554     ;;
  555   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  556     libltdl_cv_sys_dlopen_deplibs=yes
  557     ;;
  558   esac
  559   ])
  560 if test yes != "$lt_cv_sys_dlopen_deplibs"; then
  561  AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
  562     [Define if the OS needs help to load dependent libraries for dlopen().])
  563 fi
  564 ])# LT_SYS_DLOPEN_DEPLIBS
  565 
  566 # Old name:
  567 AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS])
  568 dnl aclocal-1.4 backwards compatibility:
  569 dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [])
  570 
  571 
  572 # LT_SYS_MODULE_EXT
  573 # -----------------
  574 AC_DEFUN([LT_SYS_MODULE_EXT],
  575 [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  576 AC_CACHE_CHECK([what extension is used for runtime loadable modules],
  577   [libltdl_cv_shlibext],
  578 [
  579 module=yes
  580 eval libltdl_cv_shlibext=$shrext_cmds
  581 module=no
  582 eval libltdl_cv_shrext=$shrext_cmds
  583   ])
  584 if test -n "$libltdl_cv_shlibext"; then
  585   m4_pattern_allow([LT_MODULE_EXT])dnl
  586   AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
  587     [Define to the extension used for runtime loadable modules, say, ".so".])
  588 fi
  589 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
  590   m4_pattern_allow([LT_SHARED_EXT])dnl
  591   AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
  592     [Define to the shared library suffix, say, ".dylib".])
  593 fi
  594 if test -n "$shared_archive_member_spec"; then
  595   m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
  596   AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
  597     [Define to the shared archive member specification, say "(shr.o)".])
  598 fi
  599 ])# LT_SYS_MODULE_EXT
  600 
  601 # Old name:
  602 AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT])
  603 dnl aclocal-1.4 backwards compatibility:
  604 dnl AC_DEFUN([AC_LTDL_SHLIBEXT], [])
  605 
  606 
  607 # LT_SYS_MODULE_PATH
  608 # ------------------
  609 AC_DEFUN([LT_SYS_MODULE_PATH],
  610 [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  611 AC_CACHE_CHECK([what variable specifies run-time module search path],
  612   [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var])
  613 if test -n "$lt_cv_module_path_var"; then
  614   m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
  615   AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
  616     [Define to the name of the environment variable that determines the run-time module search path.])
  617 fi
  618 ])# LT_SYS_MODULE_PATH
  619 
  620 # Old name:
  621 AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH])
  622 dnl aclocal-1.4 backwards compatibility:
  623 dnl AC_DEFUN([AC_LTDL_SHLIBPATH], [])
  624 
  625 
  626 # LT_SYS_DLSEARCH_PATH
  627 # --------------------
  628 AC_DEFUN([LT_SYS_DLSEARCH_PATH],
  629 [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
  630 AC_CACHE_CHECK([for the default library search path],
  631   [lt_cv_sys_dlsearch_path],
  632   [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec])
  633 if test -n "$lt_cv_sys_dlsearch_path"; then
  634   sys_dlsearch_path=
  635   for dir in $lt_cv_sys_dlsearch_path; do
  636     if test -z "$sys_dlsearch_path"; then
  637       sys_dlsearch_path=$dir
  638     else
  639       sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir
  640     fi
  641   done
  642   m4_pattern_allow([LT_DLSEARCH_PATH])dnl
  643   AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
  644     [Define to the system default library search path.])
  645 fi
  646 ])# LT_SYS_DLSEARCH_PATH
  647 
  648 # Old name:
  649 AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH])
  650 dnl aclocal-1.4 backwards compatibility:
  651 dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [])
  652 
  653 
  654 # _LT_CHECK_DLPREOPEN
  655 # -------------------
  656 m4_defun([_LT_CHECK_DLPREOPEN],
  657 [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  658 AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen],
  659   [libltdl_cv_preloaded_symbols],
  660   [if test -n "$lt_cv_sys_global_symbol_pipe"; then
  661     libltdl_cv_preloaded_symbols=yes
  662   else
  663     libltdl_cv_preloaded_symbols=no
  664   fi
  665   ])
  666 if test yes = "$libltdl_cv_preloaded_symbols"; then
  667   AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1],
  668     [Define if libtool can extract symbol lists from object files.])
  669 fi
  670 ])# _LT_CHECK_DLPREOPEN
  671 
  672 
  673 # LT_LIB_DLLOAD
  674 # -------------
  675 AC_DEFUN([LT_LIB_DLLOAD],
  676 [m4_pattern_allow([^LT_DLLOADERS$])
  677 LT_DLLOADERS=
  678 AC_SUBST([LT_DLLOADERS])
  679 
  680 AC_LANG_PUSH([C])
  681 lt_dlload_save_LIBS=$LIBS
  682 
  683 LIBADD_DLOPEN=
  684 AC_SEARCH_LIBS([dlopen], [dl],
  685 	[AC_DEFINE([HAVE_LIBDL], [1],
  686 		   [Define if you have the libdl library or equivalent.])
  687 	if test "$ac_cv_search_dlopen" != "none required"; then
  688 	  LIBADD_DLOPEN=-ldl
  689 	fi
  690 	libltdl_cv_lib_dl_dlopen=yes
  691 	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  692     [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
  693 #  include <dlfcn.h>
  694 #endif
  695     ]], [[dlopen(0, 0);]])],
  696 	    [AC_DEFINE([HAVE_LIBDL], [1],
  697 		       [Define if you have the libdl library or equivalent.])
  698 	    libltdl_cv_func_dlopen=yes
  699 	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
  700 	[AC_CHECK_LIB([svld], [dlopen],
  701 		[AC_DEFINE([HAVE_LIBDL], [1],
  702 			 [Define if you have the libdl library or equivalent.])
  703 	        LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes
  704 		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
  705 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  706 then
  707   lt_save_LIBS=$LIBS
  708   LIBS="$LIBS $LIBADD_DLOPEN"
  709   AC_CHECK_FUNCS([dlerror])
  710   LIBS=$lt_save_LIBS
  711 fi
  712 AC_SUBST([LIBADD_DLOPEN])
  713 
  714 LIBADD_SHL_LOAD=
  715 AC_CHECK_FUNC([shl_load],
  716 	[AC_DEFINE([HAVE_SHL_LOAD], [1],
  717 		   [Define if you have the shl_load function.])
  718 	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
  719     [AC_CHECK_LIB([dld], [shl_load],
  720 	    [AC_DEFINE([HAVE_SHL_LOAD], [1],
  721 		       [Define if you have the shl_load function.])
  722 	    LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
  723 	    LIBADD_SHL_LOAD=-ldld])])
  724 AC_SUBST([LIBADD_SHL_LOAD])
  725 
  726 case $host_os in
  727 darwin[[1567]].*)
  728 # We only want this for pre-Mac OS X 10.4.
  729   AC_CHECK_FUNC([_dyld_func_lookup],
  730 	[AC_DEFINE([HAVE_DYLD], [1],
  731 		   [Define if you have the _dyld_func_lookup function.])
  732 	LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
  733   ;;
  734 beos*)
  735   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
  736   ;;
  737 cygwin* | mingw* | pw32*)
  738   AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
  739   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
  740   ;;
  741 esac
  742 
  743 AC_CHECK_LIB([dld], [dld_link],
  744 	[AC_DEFINE([HAVE_DLD], [1],
  745 		   [Define if you have the GNU dld library.])
  746 		LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
  747 AC_SUBST([LIBADD_DLD_LINK])
  748 
  749 m4_pattern_allow([^LT_DLPREOPEN$])
  750 LT_DLPREOPEN=
  751 if test -n "$LT_DLLOADERS"
  752 then
  753   for lt_loader in $LT_DLLOADERS; do
  754     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
  755   done
  756   AC_DEFINE([HAVE_LIBDLLOADER], [1],
  757             [Define if libdlloader will be built on this platform])
  758 fi
  759 AC_SUBST([LT_DLPREOPEN])
  760 
  761 dnl This isn't used anymore, but set it for backwards compatibility
  762 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
  763 AC_SUBST([LIBADD_DL])
  764 
  765 LIBS=$lt_dlload_save_LIBS
  766 AC_LANG_POP
  767 ])# LT_LIB_DLLOAD
  768 
  769 # Old name:
  770 AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD])
  771 dnl aclocal-1.4 backwards compatibility:
  772 dnl AC_DEFUN([AC_LTDL_DLLIB], [])
  773 
  774 
  775 # LT_SYS_SYMBOL_USCORE
  776 # --------------------
  777 # does the compiler prefix global symbols with an underscore?
  778 AC_DEFUN([LT_SYS_SYMBOL_USCORE],
  779 [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  780 AC_CACHE_CHECK([for _ prefix in compiled symbols],
  781   [lt_cv_sys_symbol_underscore],
  782   [lt_cv_sys_symbol_underscore=no
  783   cat > conftest.$ac_ext <<_LT_EOF
  784 void nm_test_func(){}
  785 int main(){nm_test_func;return 0;}
  786 _LT_EOF
  787   if AC_TRY_EVAL(ac_compile); then
  788     # Now try to grab the symbols.
  789     ac_nlist=conftest.nm
  790     if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
  791       # See whether the symbols have a leading underscore.
  792       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
  793         lt_cv_sys_symbol_underscore=yes
  794       else
  795         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
  796 	  :
  797         else
  798 	  echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
  799         fi
  800       fi
  801     else
  802       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  803     fi
  804   else
  805     echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
  806     cat conftest.c >&AS_MESSAGE_LOG_FD
  807   fi
  808   rm -rf conftest*
  809   ])
  810   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
  811   AC_SUBST([sys_symbol_underscore])
  812 ])# LT_SYS_SYMBOL_USCORE
  813 
  814 # Old name:
  815 AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE])
  816 dnl aclocal-1.4 backwards compatibility:
  817 dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [])
  818 
  819 
  820 # LT_FUNC_DLSYM_USCORE
  821 # --------------------
  822 AC_DEFUN([LT_FUNC_DLSYM_USCORE],
  823 [AC_REQUIRE([_LT_COMPILER_PIC])dnl	for lt_prog_compiler_wl
  824 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl	for lt_cv_sys_symbol_underscore
  825 AC_REQUIRE([LT_SYS_MODULE_EXT])dnl	for libltdl_cv_shlibext
  826 if test yes = "$lt_cv_sys_symbol_underscore"; then
  827   if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
  828     AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
  829       [libltdl_cv_need_uscore],
  830       [libltdl_cv_need_uscore=unknown
  831       dlsym_uscore_save_LIBS=$LIBS
  832       LIBS="$LIBS $LIBADD_DLOPEN"
  833       libname=conftmod # stay within 8.3 filename limits!
  834       cat >$libname.$ac_ext <<_LT_EOF
  835 [#line $LINENO "configure"
  836 #include "confdefs.h"
  837 /* When -fvisibility=hidden is used, assume the code has been annotated
  838    correspondingly for the symbols needed.  */
  839 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  840 int fnord () __attribute__((visibility("default")));
  841 #endif
  842 int fnord () { return 42; }]
  843 _LT_EOF
  844 
  845       # ltfn_module_cmds module_cmds
  846       # Execute tilde-delimited MODULE_CMDS with environment primed for
  847       # $module_cmds or $archive_cmds type content.
  848       ltfn_module_cmds ()
  849       {( # subshell avoids polluting parent global environment
  850           module_cmds_save_ifs=$IFS; IFS='~'
  851           for cmd in @S|@1; do
  852             IFS=$module_cmds_save_ifs
  853             libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
  854             rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
  855             major=; versuffix=; verstring=; deplibs=
  856             ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
  857             eval $cmd
  858           done
  859           IFS=$module_cmds_save_ifs
  860       )}
  861 
  862       # Compile a loadable module using libtool macro expansion results.
  863       $CC $pic_flag -c $libname.$ac_ext
  864       ltfn_module_cmds "${module_cmds:-$archive_cmds}"
  865 
  866       # Try to fetch fnord with dlsym().
  867       libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
  868       cat >conftest.$ac_ext <<_LT_EOF
  869 [#line $LINENO "configure"
  870 #include "confdefs.h"
  871 #if HAVE_DLFCN_H
  872 #include <dlfcn.h>
  873 #endif
  874 #include <stdio.h>
  875 #ifndef RTLD_GLOBAL
  876 #  ifdef DL_GLOBAL
  877 #    define RTLD_GLOBAL DL_GLOBAL
  878 #  else
  879 #    define RTLD_GLOBAL 0
  880 #  endif
  881 #endif
  882 #ifndef RTLD_NOW
  883 #  ifdef DL_NOW
  884 #    define RTLD_NOW DL_NOW
  885 #  else
  886 #    define RTLD_NOW 0
  887 #  endif
  888 #endif
  889 int main () {
  890   void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
  891   int status = $libltdl_dlunknown;
  892   if (handle) {
  893     if (dlsym (handle, "fnord"))
  894       status = $libltdl_dlnouscore;
  895     else {
  896       if (dlsym (handle, "_fnord"))
  897         status = $libltdl_dluscore;
  898       else
  899 	puts (dlerror ());
  900     }
  901     dlclose (handle);
  902   } else
  903     puts (dlerror ());
  904   return status;
  905 }]
  906 _LT_EOF
  907       if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
  908         (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  909         libltdl_status=$?
  910         case x$libltdl_status in
  911           x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
  912 	  x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
  913 	  x*) libltdl_cv_need_uscore=unknown ;;
  914         esac
  915       fi
  916       rm -rf conftest* $libname*
  917       LIBS=$dlsym_uscore_save_LIBS
  918     ])
  919   fi
  920 fi
  921 
  922 if test yes = "$libltdl_cv_need_uscore"; then
  923   AC_DEFINE([NEED_USCORE], [1],
  924     [Define if dlsym() requires a leading underscore in symbol names.])
  925 fi
  926 ])# LT_FUNC_DLSYM_USCORE
  927 
  928 # Old name:
  929 AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE])
  930 dnl aclocal-1.4 backwards compatibility:
  931 dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], [])
  932 
  933 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
  934 #
  935 # This file is free software; the Free Software Foundation
  936 # gives unlimited permission to copy and/or distribute it,
  937 # with or without modifications, as long as this notice is preserved.
  938 
  939 # AM_AUTOMAKE_VERSION(VERSION)
  940 # ----------------------------
  941 # Automake X.Y traces this macro to ensure aclocal.m4 has been
  942 # generated from the m4 files accompanying Automake X.Y.
  943 # (This private macro should not be called outside this file.)
  944 AC_DEFUN([AM_AUTOMAKE_VERSION],
  945 [am__api_version='1.16'
  946 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  947 dnl require some minimum version.  Point them to the right macro.
  948 m4_if([$1], [1.16.1], [],
  949       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  950 ])
  951 
  952 # _AM_AUTOCONF_VERSION(VERSION)
  953 # -----------------------------
  954 # aclocal traces this macro to find the Autoconf version.
  955 # This is a private macro too.  Using m4_define simplifies
  956 # the logic in aclocal, which can simply ignore this definition.
  957 m4_define([_AM_AUTOCONF_VERSION], [])
  958 
  959 # AM_SET_CURRENT_AUTOMAKE_VERSION
  960 # -------------------------------
  961 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  962 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  963 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  964 [AM_AUTOMAKE_VERSION([1.16.1])dnl
  965 m4_ifndef([AC_AUTOCONF_VERSION],
  966   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  967 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  968 
  969 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
  970 #
  971 # This file is free software; the Free Software Foundation
  972 # gives unlimited permission to copy and/or distribute it,
  973 # with or without modifications, as long as this notice is preserved.
  974 
  975 # AM_PROG_AR([ACT-IF-FAIL])
  976 # -------------------------
  977 # Try to determine the archiver interface, and trigger the ar-lib wrapper
  978 # if it is needed.  If the detection of archiver interface fails, run
  979 # ACT-IF-FAIL (default is to abort configure with a proper error message).
  980 AC_DEFUN([AM_PROG_AR],
  981 [AC_BEFORE([$0], [LT_INIT])dnl
  982 AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
  983 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  984 AC_REQUIRE_AUX_FILE([ar-lib])dnl
  985 AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
  986 : ${AR=ar}
  987 
  988 AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
  989   [AC_LANG_PUSH([C])
  990    am_cv_ar_interface=ar
  991    AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
  992      [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
  993       AC_TRY_EVAL([am_ar_try])
  994       if test "$ac_status" -eq 0; then
  995         am_cv_ar_interface=ar
  996       else
  997         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
  998         AC_TRY_EVAL([am_ar_try])
  999         if test "$ac_status" -eq 0; then
 1000           am_cv_ar_interface=lib
 1001         else
 1002           am_cv_ar_interface=unknown
 1003         fi
 1004       fi
 1005       rm -f conftest.lib libconftest.a
 1006      ])
 1007    AC_LANG_POP([C])])
 1008 
 1009 case $am_cv_ar_interface in
 1010 ar)
 1011   ;;
 1012 lib)
 1013   # Microsoft lib, so override with the ar-lib wrapper script.
 1014   # FIXME: It is wrong to rewrite AR.
 1015   # But if we don't then we get into trouble of one sort or another.
 1016   # A longer-term fix would be to have automake use am__AR in this case,
 1017   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
 1018   # similar.
 1019   AR="$am_aux_dir/ar-lib $AR"
 1020   ;;
 1021 unknown)
 1022   m4_default([$1],
 1023              [AC_MSG_ERROR([could not determine $AR interface])])
 1024   ;;
 1025 esac
 1026 AC_SUBST([AR])dnl
 1027 ])
 1028 
 1029 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 1030 
 1031 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
 1032 #
 1033 # This file is free software; the Free Software Foundation
 1034 # gives unlimited permission to copy and/or distribute it,
 1035 # with or without modifications, as long as this notice is preserved.
 1036 
 1037 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 1038 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
 1039 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
 1040 #
 1041 # Of course, Automake must honor this variable whenever it calls a
 1042 # tool from the auxiliary directory.  The problem is that $srcdir (and
 1043 # therefore $ac_aux_dir as well) can be either absolute or relative,
 1044 # depending on how configure is run.  This is pretty annoying, since
 1045 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
 1046 # source directory, any form will work fine, but in subdirectories a
 1047 # relative path needs to be adjusted first.
 1048 #
 1049 # $ac_aux_dir/missing
 1050 #    fails when called from a subdirectory if $ac_aux_dir is relative
 1051 # $top_srcdir/$ac_aux_dir/missing
 1052 #    fails if $ac_aux_dir is absolute,
 1053 #    fails when called from a subdirectory in a VPATH build with
 1054 #          a relative $ac_aux_dir
 1055 #
 1056 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
 1057 # are both prefixed by $srcdir.  In an in-source build this is usually
 1058 # harmless because $srcdir is '.', but things will broke when you
 1059 # start a VPATH build or use an absolute $srcdir.
 1060 #
 1061 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
 1062 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
 1063 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
 1064 # and then we would define $MISSING as
 1065 #   MISSING="\${SHELL} $am_aux_dir/missing"
 1066 # This will work as long as MISSING is not called from configure, because
 1067 # unfortunately $(top_srcdir) has no meaning in configure.
 1068 # However there are other variables, like CC, which are often used in
 1069 # configure, and could therefore not use this "fixed" $ac_aux_dir.
 1070 #
 1071 # Another solution, used here, is to always expand $ac_aux_dir to an
 1072 # absolute PATH.  The drawback is that using absolute paths prevent a
 1073 # configured tree to be moved without reconfiguration.
 1074 
 1075 AC_DEFUN([AM_AUX_DIR_EXPAND],
 1076 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 1077 # Expand $ac_aux_dir to an absolute path.
 1078 am_aux_dir=`cd "$ac_aux_dir" && pwd`
 1079 ])
 1080 
 1081 # AM_CONDITIONAL                                            -*- Autoconf -*-
 1082 
 1083 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
 1084 #
 1085 # This file is free software; the Free Software Foundation
 1086 # gives unlimited permission to copy and/or distribute it,
 1087 # with or without modifications, as long as this notice is preserved.
 1088 
 1089 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
 1090 # -------------------------------------
 1091 # Define a conditional.
 1092 AC_DEFUN([AM_CONDITIONAL],
 1093 [AC_PREREQ([2.52])dnl
 1094  m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 1095        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 1096 AC_SUBST([$1_TRUE])dnl
 1097 AC_SUBST([$1_FALSE])dnl
 1098 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
 1099 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
 1100 m4_define([_AM_COND_VALUE_$1], [$2])dnl
 1101 if $2; then
 1102   $1_TRUE=
 1103   $1_FALSE='#'
 1104 else
 1105   $1_TRUE='#'
 1106   $1_FALSE=
 1107 fi
 1108 AC_CONFIG_COMMANDS_PRE(
 1109 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
 1110   AC_MSG_ERROR([[conditional "$1" was never defined.
 1111 Usually this means the macro was only invoked conditionally.]])
 1112 fi])])
 1113 
 1114 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
 1115 #
 1116 # This file is free software; the Free Software Foundation
 1117 # gives unlimited permission to copy and/or distribute it,
 1118 # with or without modifications, as long as this notice is preserved.
 1119 
 1120 
 1121 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
 1122 # written in clear, in which case automake, when reading aclocal.m4,
 1123 # will think it sees a *use*, and therefore will trigger all it's
 1124 # C support machinery.  Also note that it means that autoscan, seeing
 1125 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
 1126 
 1127 
 1128 # _AM_DEPENDENCIES(NAME)
 1129 # ----------------------
 1130 # See how the compiler implements dependency checking.
 1131 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
 1132 # We try a few techniques and use that to set a single cache variable.
 1133 #
 1134 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
 1135 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
 1136 # dependency, and given that the user is not expected to run this macro,
 1137 # just rely on AC_PROG_CC.
 1138 AC_DEFUN([_AM_DEPENDENCIES],
 1139 [AC_REQUIRE([AM_SET_DEPDIR])dnl
 1140 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
 1141 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
 1142 AC_REQUIRE([AM_DEP_TRACK])dnl
 1143 
 1144 m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
 1145       [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
 1146       [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 1147       [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
 1148       [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
 1149       [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 1150                     [depcc="$$1"   am_compiler_list=])
 1151 
 1152 AC_CACHE_CHECK([dependency style of $depcc],
 1153                [am_cv_$1_dependencies_compiler_type],
 1154 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 1155   # We make a subdir and do the tests there.  Otherwise we can end up
 1156   # making bogus files that we don't know about and never remove.  For
 1157   # instance it was reported that on HP-UX the gcc test will end up
 1158   # making a dummy file named 'D' -- because '-MD' means "put the output
 1159   # in D".
 1160   rm -rf conftest.dir
 1161   mkdir conftest.dir
 1162   # Copy depcomp to subdir because otherwise we won't find it if we're
 1163   # using a relative directory.
 1164   cp "$am_depcomp" conftest.dir
 1165   cd conftest.dir
 1166   # We will build objects and dependencies in a subdirectory because
 1167   # it helps to detect inapplicable dependency modes.  For instance
 1168   # both Tru64's cc and ICC support -MD to output dependencies as a
 1169   # side effect of compilation, but ICC will put the dependencies in
 1170   # the current directory while Tru64 will put them in the object
 1171   # directory.
 1172   mkdir sub
 1173 
 1174   am_cv_$1_dependencies_compiler_type=none
 1175   if test "$am_compiler_list" = ""; then
 1176      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
 1177   fi
 1178   am__universal=false
 1179   m4_case([$1], [CC],
 1180     [case " $depcc " in #(
 1181      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 1182      esac],
 1183     [CXX],
 1184     [case " $depcc " in #(
 1185      *\ -arch\ *\ -arch\ *) am__universal=true ;;
 1186      esac])
 1187 
 1188   for depmode in $am_compiler_list; do
 1189     # Setup a source with many dependencies, because some compilers
 1190     # like to wrap large dependency lists on column 80 (with \), and
 1191     # we should not choose a depcomp mode which is confused by this.
 1192     #
 1193     # We need to recreate these files for each test, as the compiler may
 1194     # overwrite some of them when testing with obscure command lines.
 1195     # This happens at least with the AIX C compiler.
 1196     : > sub/conftest.c
 1197     for i in 1 2 3 4 5 6; do
 1198       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 1199       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 1200       # Solaris 10 /bin/sh.
 1201       echo '/* dummy */' > sub/conftst$i.h
 1202     done
 1203     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 1204 
 1205     # We check with '-c' and '-o' for the sake of the "dashmstdout"
 1206     # mode.  It turns out that the SunPro C++ compiler does not properly
 1207     # handle '-M -o', and we need to detect this.  Also, some Intel
 1208     # versions had trouble with output in subdirs.
 1209     am__obj=sub/conftest.${OBJEXT-o}
 1210     am__minus_obj="-o $am__obj"
 1211     case $depmode in
 1212     gcc)
 1213       # This depmode causes a compiler race in universal mode.
 1214       test "$am__universal" = false || continue
 1215       ;;
 1216     nosideeffect)
 1217       # After this tag, mechanisms are not by side-effect, so they'll
 1218       # only be used when explicitly requested.
 1219       if test "x$enable_dependency_tracking" = xyes; then
 1220 	continue
 1221       else
 1222 	break
 1223       fi
 1224       ;;
 1225     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 1226       # This compiler won't grok '-c -o', but also, the minuso test has
 1227       # not run yet.  These depmodes are late enough in the game, and
 1228       # so weak that their functioning should not be impacted.
 1229       am__obj=conftest.${OBJEXT-o}
 1230       am__minus_obj=
 1231       ;;
 1232     none) break ;;
 1233     esac
 1234     if depmode=$depmode \
 1235        source=sub/conftest.c object=$am__obj \
 1236        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 1237        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 1238          >/dev/null 2>conftest.err &&
 1239        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 1240        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 1241        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 1242        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 1243       # icc doesn't choke on unknown options, it will just issue warnings
 1244       # or remarks (even with -Werror).  So we grep stderr for any message
 1245       # that says an option was ignored or not supported.
 1246       # When given -MP, icc 7.0 and 7.1 complain thusly:
 1247       #   icc: Command line warning: ignoring option '-M'; no argument required
 1248       # The diagnosis changed in icc 8.0:
 1249       #   icc: Command line remark: option '-MP' not supported
 1250       if (grep 'ignoring option' conftest.err ||
 1251           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 1252         am_cv_$1_dependencies_compiler_type=$depmode
 1253         break
 1254       fi
 1255     fi
 1256   done
 1257 
 1258   cd ..
 1259   rm -rf conftest.dir
 1260 else
 1261   am_cv_$1_dependencies_compiler_type=none
 1262 fi
 1263 ])
 1264 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
 1265 AM_CONDITIONAL([am__fastdep$1], [
 1266   test "x$enable_dependency_tracking" != xno \
 1267   && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
 1268 ])
 1269 
 1270 
 1271 # AM_SET_DEPDIR
 1272 # -------------
 1273 # Choose a directory name for dependency files.
 1274 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
 1275 AC_DEFUN([AM_SET_DEPDIR],
 1276 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 1277 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
 1278 ])
 1279 
 1280 
 1281 # AM_DEP_TRACK
 1282 # ------------
 1283 AC_DEFUN([AM_DEP_TRACK],
 1284 [AC_ARG_ENABLE([dependency-tracking], [dnl
 1285 AS_HELP_STRING(
 1286   [--enable-dependency-tracking],
 1287   [do not reject slow dependency extractors])
 1288 AS_HELP_STRING(
 1289   [--disable-dependency-tracking],
 1290   [speeds up one-time build])])
 1291 if test "x$enable_dependency_tracking" != xno; then
 1292   am_depcomp="$ac_aux_dir/depcomp"
 1293   AMDEPBACKSLASH='\'
 1294   am__nodep='_no'
 1295 fi
 1296 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 1297 AC_SUBST([AMDEPBACKSLASH])dnl
 1298 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 1299 AC_SUBST([am__nodep])dnl
 1300 _AM_SUBST_NOTMAKE([am__nodep])dnl
 1301 ])
 1302 
 1303 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 1304 
 1305 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
 1306 #
 1307 # This file is free software; the Free Software Foundation
 1308 # gives unlimited permission to copy and/or distribute it,
 1309 # with or without modifications, as long as this notice is preserved.
 1310 
 1311 # _AM_OUTPUT_DEPENDENCY_COMMANDS
 1312 # ------------------------------
 1313 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 1314 [{
 1315   # Older Autoconf quotes --file arguments for eval, but not when files
 1316   # are listed without --file.  Let's play safe and only enable the eval
 1317   # if we detect the quoting.
 1318   # TODO: see whether this extra hack can be removed once we start
 1319   # requiring Autoconf 2.70 or later.
 1320   AS_CASE([$CONFIG_FILES],
 1321           [*\'*], [eval set x "$CONFIG_FILES"],
 1322           [*], [set x $CONFIG_FILES])
 1323   shift
 1324   # Used to flag and report bootstrapping failures.
 1325   am_rc=0
 1326   for am_mf
 1327   do
 1328     # Strip MF so we end up with the name of the file.
 1329     am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
 1330     # Check whether this is an Automake generated Makefile which includes
 1331     # dependency-tracking related rules and includes.
 1332     # Grep'ing the whole file directly is not great: AIX grep has a line
 1333     # limit of 2048, but all sed's we know have understand at least 4000.
 1334     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
 1335       || continue
 1336     am_dirpart=`AS_DIRNAME(["$am_mf"])`
 1337     am_filepart=`AS_BASENAME(["$am_mf"])`
 1338     AM_RUN_LOG([cd "$am_dirpart" \
 1339       && sed -e '/# am--include-marker/d' "$am_filepart" \
 1340         | $MAKE -f - am--depfiles]) || am_rc=$?
 1341   done
 1342   if test $am_rc -ne 0; then
 1343     AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
 1344     for automatic dependency tracking.  Try re-running configure with the
 1345     '--disable-dependency-tracking' option to at least be able to build
 1346     the package (albeit without support for automatic dependency tracking).])
 1347   fi
 1348   AS_UNSET([am_dirpart])
 1349   AS_UNSET([am_filepart])
 1350   AS_UNSET([am_mf])
 1351   AS_UNSET([am_rc])
 1352   rm -f conftest-deps.mk
 1353 }
 1354 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 1355 
 1356 
 1357 # AM_OUTPUT_DEPENDENCY_COMMANDS
 1358 # -----------------------------
 1359 # This macro should only be invoked once -- use via AC_REQUIRE.
 1360 #
 1361 # This code is only required when automatic dependency tracking is enabled.
 1362 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
 1363 # order to bootstrap the dependency handling code.
 1364 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 1365 [AC_CONFIG_COMMANDS([depfiles],
 1366      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
 1367      [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
 1368 
 1369 # Do all the work for Automake.                             -*- Autoconf -*-
 1370 
 1371 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
 1372 #
 1373 # This file is free software; the Free Software Foundation
 1374 # gives unlimited permission to copy and/or distribute it,
 1375 # with or without modifications, as long as this notice is preserved.
 1376 
 1377 # This macro actually does too much.  Some checks are only needed if
 1378 # your package does certain things.  But this isn't really a big deal.
 1379 
 1380 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
 1381 m4_define([AC_PROG_CC],
 1382 m4_defn([AC_PROG_CC])
 1383 [_AM_PROG_CC_C_O
 1384 ])
 1385 
 1386 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
 1387 # AM_INIT_AUTOMAKE([OPTIONS])
 1388 # -----------------------------------------------
 1389 # The call with PACKAGE and VERSION arguments is the old style
 1390 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
 1391 # and VERSION should now be passed to AC_INIT and removed from
 1392 # the call to AM_INIT_AUTOMAKE.
 1393 # We support both call styles for the transition.  After
 1394 # the next Automake release, Autoconf can make the AC_INIT
 1395 # arguments mandatory, and then we can depend on a new Autoconf
 1396 # release and drop the old call support.
 1397 AC_DEFUN([AM_INIT_AUTOMAKE],
 1398 [AC_PREREQ([2.65])dnl
 1399 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 1400 dnl the ones we care about.
 1401 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
 1402 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
 1403 AC_REQUIRE([AC_PROG_INSTALL])dnl
 1404 if test "`cd $srcdir && pwd`" != "`pwd`"; then
 1405   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 1406   # is not polluted with repeated "-I."
 1407   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 1408   # test to see if srcdir already configured
 1409   if test -f $srcdir/config.status; then
 1410     AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 1411   fi
 1412 fi
 1413 
 1414 # test whether we have cygpath
 1415 if test -z "$CYGPATH_W"; then
 1416   if (cygpath --version) >/dev/null 2>/dev/null; then
 1417     CYGPATH_W='cygpath -w'
 1418   else
 1419     CYGPATH_W=echo
 1420   fi
 1421 fi
 1422 AC_SUBST([CYGPATH_W])
 1423 
 1424 # Define the identity of the package.
 1425 dnl Distinguish between old-style and new-style calls.
 1426 m4_ifval([$2],
 1427 [AC_DIAGNOSE([obsolete],
 1428              [$0: two- and three-arguments forms are deprecated.])
 1429 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 1430  AC_SUBST([PACKAGE], [$1])dnl
 1431  AC_SUBST([VERSION], [$2])],
 1432 [_AM_SET_OPTIONS([$1])dnl
 1433 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 1434 m4_if(
 1435   m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
 1436   [ok:ok],,
 1437   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
 1438  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 1439  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
 1440 
 1441 _AM_IF_OPTION([no-define],,
 1442 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
 1443  AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
 1444 
 1445 # Some tools Automake needs.
 1446 AC_REQUIRE([AM_SANITY_CHECK])dnl
 1447 AC_REQUIRE([AC_ARG_PROGRAM])dnl
 1448 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
 1449 AM_MISSING_PROG([AUTOCONF], [autoconf])
 1450 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
 1451 AM_MISSING_PROG([AUTOHEADER], [autoheader])
 1452 AM_MISSING_PROG([MAKEINFO], [makeinfo])
 1453 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 1454 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
 1455 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 1456 # For better backward compatibility.  To be removed once Automake 1.9.x
 1457 # dies out for good.  For more background, see:
 1458 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 1459 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 1460 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
 1461 # We need awk for the "check" target (and possibly the TAP driver).  The
 1462 # system "awk" is bad on some platforms.
 1463 AC_REQUIRE([AC_PROG_AWK])dnl
 1464 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 1465 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 1466 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
 1467 	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 1468 			     [_AM_PROG_TAR([v7])])])
 1469 _AM_IF_OPTION([no-dependencies],,
 1470 [AC_PROVIDE_IFELSE([AC_PROG_CC],
 1471 		  [_AM_DEPENDENCIES([CC])],
 1472 		  [m4_define([AC_PROG_CC],
 1473 			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
 1474 AC_PROVIDE_IFELSE([AC_PROG_CXX],
 1475 		  [_AM_DEPENDENCIES([CXX])],
 1476 		  [m4_define([AC_PROG_CXX],
 1477 			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
 1478 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 1479 		  [_AM_DEPENDENCIES([OBJC])],
 1480 		  [m4_define([AC_PROG_OBJC],
 1481 			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
 1482 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
 1483 		  [_AM_DEPENDENCIES([OBJCXX])],
 1484 		  [m4_define([AC_PROG_OBJCXX],
 1485 			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
 1486 ])
 1487 AC_REQUIRE([AM_SILENT_RULES])dnl
 1488 dnl The testsuite driver may need to know about EXEEXT, so add the
 1489 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
 1490 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
 1491 AC_CONFIG_COMMANDS_PRE(dnl
 1492 [m4_provide_if([_AM_COMPILER_EXEEXT],
 1493   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 1494 
 1495 # POSIX will say in a future version that running "rm -f" with no argument
 1496 # is OK; and we want to be able to make that assumption in our Makefile
 1497 # recipes.  So use an aggressive probe to check that the usage we want is
 1498 # actually supported "in the wild" to an acceptable degree.
 1499 # See automake bug#10828.
 1500 # To make any issue more visible, cause the running configure to be aborted
 1501 # by default if the 'rm' program in use doesn't match our expectations; the
 1502 # user can still override this though.
 1503 if rm -f && rm -fr && rm -rf; then : OK; else
 1504   cat >&2 <<'END'
 1505 Oops!
 1506 
 1507 Your 'rm' program seems unable to run without file operands specified
 1508 on the command line, even when the '-f' option is present.  This is contrary
 1509 to the behaviour of most rm programs out there, and not conforming with
 1510 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 1511 
 1512 Please tell bug-automake@gnu.org about your system, including the value
 1513 of your $PATH and any error possibly output before this message.  This
 1514 can help us improve future automake versions.
 1515 
 1516 END
 1517   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 1518     echo 'Configuration will proceed anyway, since you have set the' >&2
 1519     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 1520     echo >&2
 1521   else
 1522     cat >&2 <<'END'
 1523 Aborting the configuration process, to ensure you take notice of the issue.
 1524 
 1525 You can download and install GNU coreutils to get an 'rm' implementation
 1526 that behaves properly: <https://www.gnu.org/software/coreutils/>.
 1527 
 1528 If you want to complete the configuration process using your problematic
 1529 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 1530 to "yes", and re-run configure.
 1531 
 1532 END
 1533     AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
 1534   fi
 1535 fi
 1536 dnl The trailing newline in this macro's definition is deliberate, for
 1537 dnl backward compatibility and to allow trailing 'dnl'-style comments
 1538 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
 1539 ])
 1540 
 1541 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 1542 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 1543 dnl mangled by Autoconf and run in a shell conditional statement.
 1544 m4_define([_AC_COMPILER_EXEEXT],
 1545 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
 1546 
 1547 # When config.status generates a header, we must update the stamp-h file.
 1548 # This file resides in the same directory as the config header
 1549 # that is generated.  The stamp files are numbered to have different names.
 1550 
 1551 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
 1552 # loop where config.status creates the headers, so we can generate
 1553 # our stamp files there.
 1554 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
 1555 [# Compute $1's index in $config_headers.
 1556 _am_arg=$1
 1557 _am_stamp_count=1
 1558 for _am_header in $config_headers :; do
 1559   case $_am_header in
 1560     $_am_arg | $_am_arg:* )
 1561       break ;;
 1562     * )
 1563       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 1564   esac
 1565 done
 1566 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 1567 
 1568 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
 1569 #
 1570 # This file is free software; the Free Software Foundation
 1571 # gives unlimited permission to copy and/or distribute it,
 1572 # with or without modifications, as long as this notice is preserved.
 1573 
 1574 # AM_PROG_INSTALL_SH
 1575 # ------------------
 1576 # Define $install_sh.
 1577 AC_DEFUN([AM_PROG_INSTALL_SH],
 1578 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 1579 if test x"${install_sh+set}" != xset; then
 1580   case $am_aux_dir in
 1581   *\ * | *\	*)
 1582     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 1583   *)
 1584     install_sh="\${SHELL} $am_aux_dir/install-sh"
 1585   esac
 1586 fi
 1587 AC_SUBST([install_sh])])
 1588 
 1589 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
 1590 #
 1591 # This file is free software; the Free Software Foundation
 1592 # gives unlimited permission to copy and/or distribute it,
 1593 # with or without modifications, as long as this notice is preserved.
 1594 
 1595 # Check whether the underlying file-system supports filenames
 1596 # with a leading dot.  For instance MS-DOS doesn't.
 1597 AC_DEFUN([AM_SET_LEADING_DOT],
 1598 [rm -rf .tst 2>/dev/null
 1599 mkdir .tst 2>/dev/null
 1600 if test -d .tst; then
 1601   am__leading_dot=.
 1602 else
 1603   am__leading_dot=_
 1604 fi
 1605 rmdir .tst 2>/dev/null
 1606 AC_SUBST([am__leading_dot])])
 1607 
 1608 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
 1609 
 1610 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
 1611 #
 1612 # This file is free software; the Free Software Foundation
 1613 # gives unlimited permission to copy and/or distribute it,
 1614 # with or without modifications, as long as this notice is preserved.
 1615 
 1616 # AM_MAKE_INCLUDE()
 1617 # -----------------
 1618 # Check whether make has an 'include' directive that can support all
 1619 # the idioms we need for our automatic dependency tracking code.
 1620 AC_DEFUN([AM_MAKE_INCLUDE],
 1621 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
 1622 cat > confinc.mk << 'END'
 1623 am__doit:
 1624 	@echo this is the am__doit target >confinc.out
 1625 .PHONY: am__doit
 1626 END
 1627 am__include="#"
 1628 am__quote=
 1629 # BSD make does it like this.
 1630 echo '.include "confinc.mk" # ignored' > confmf.BSD
 1631 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
 1632 echo 'include confinc.mk # ignored' > confmf.GNU
 1633 _am_result=no
 1634 for s in GNU BSD; do
 1635   AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
 1636   AS_CASE([$?:`cat confinc.out 2>/dev/null`],
 1637       ['0:this is the am__doit target'],
 1638       [AS_CASE([$s],
 1639           [BSD], [am__include='.include' am__quote='"'],
 1640           [am__include='include' am__quote=''])])
 1641   if test "$am__include" != "#"; then
 1642     _am_result="yes ($s style)"
 1643     break
 1644   fi
 1645 done
 1646 rm -f confinc.* confmf.*
 1647 AC_MSG_RESULT([${_am_result}])
 1648 AC_SUBST([am__include])])
 1649 AC_SUBST([am__quote])])
 1650 
 1651 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 1652 
 1653 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
 1654 #
 1655 # This file is free software; the Free Software Foundation
 1656 # gives unlimited permission to copy and/or distribute it,
 1657 # with or without modifications, as long as this notice is preserved.
 1658 
 1659 # AM_MISSING_PROG(NAME, PROGRAM)
 1660 # ------------------------------
 1661 AC_DEFUN([AM_MISSING_PROG],
 1662 [AC_REQUIRE([AM_MISSING_HAS_RUN])
 1663 $1=${$1-"${am_missing_run}$2"}
 1664 AC_SUBST($1)])
 1665 
 1666 # AM_MISSING_HAS_RUN
 1667 # ------------------
 1668 # Define MISSING if not defined so far and test if it is modern enough.
 1669 # If it is, set am_missing_run to use it, otherwise, to nothing.
 1670 AC_DEFUN([AM_MISSING_HAS_RUN],
 1671 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 1672 AC_REQUIRE_AUX_FILE([missing])dnl
 1673 if test x"${MISSING+set}" != xset; then
 1674   case $am_aux_dir in
 1675   *\ * | *\	*)
 1676     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 1677   *)
 1678     MISSING="\${SHELL} $am_aux_dir/missing" ;;
 1679   esac
 1680 fi
 1681 # Use eval to expand $SHELL
 1682 if eval "$MISSING --is-lightweight"; then
 1683   am_missing_run="$MISSING "
 1684 else
 1685   am_missing_run=
 1686   AC_MSG_WARN(['missing' script is too old or missing])
 1687 fi
 1688 ])
 1689 
 1690 # Helper functions for option handling.                     -*- Autoconf -*-
 1691 
 1692 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
 1693 #
 1694 # This file is free software; the Free Software Foundation
 1695 # gives unlimited permission to copy and/or distribute it,
 1696 # with or without modifications, as long as this notice is preserved.
 1697 
 1698 # _AM_MANGLE_OPTION(NAME)
 1699 # -----------------------
 1700 AC_DEFUN([_AM_MANGLE_OPTION],
 1701 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 1702 
 1703 # _AM_SET_OPTION(NAME)
 1704 # --------------------
 1705 # Set option NAME.  Presently that only means defining a flag for this option.
 1706 AC_DEFUN([_AM_SET_OPTION],
 1707 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
 1708 
 1709 # _AM_SET_OPTIONS(OPTIONS)
 1710 # ------------------------
 1711 # OPTIONS is a space-separated list of Automake options.
 1712 AC_DEFUN([_AM_SET_OPTIONS],
 1713 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 1714 
 1715 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 1716 # -------------------------------------------
 1717 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
 1718 AC_DEFUN([_AM_IF_OPTION],
 1719 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 1720 
 1721 # Copyright (C) 1999-2018 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 # _AM_PROG_CC_C_O
 1728 # ---------------
 1729 # Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
 1730 # to automatically call this.
 1731 AC_DEFUN([_AM_PROG_CC_C_O],
 1732 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 1733 AC_REQUIRE_AUX_FILE([compile])dnl
 1734 AC_LANG_PUSH([C])dnl
 1735 AC_CACHE_CHECK(
 1736   [whether $CC understands -c and -o together],
 1737   [am_cv_prog_cc_c_o],
 1738   [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
 1739   # Make sure it works both with $CC and with simple cc.
 1740   # Following AC_PROG_CC_C_O, we do the test twice because some
 1741   # compilers refuse to overwrite an existing .o file with -o,
 1742   # though they will create one.
 1743   am_cv_prog_cc_c_o=yes
 1744   for am_i in 1 2; do
 1745     if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
 1746          && test -f conftest2.$ac_objext; then
 1747       : OK
 1748     else
 1749       am_cv_prog_cc_c_o=no
 1750       break
 1751     fi
 1752   done
 1753   rm -f core conftest*
 1754   unset am_i])
 1755 if test "$am_cv_prog_cc_c_o" != yes; then
 1756    # Losing compiler, so override with the script.
 1757    # FIXME: It is wrong to rewrite CC.
 1758    # But if we don't then we get into trouble of one sort or another.
 1759    # A longer-term fix would be to have automake use am__CC in this case,
 1760    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 1761    CC="$am_aux_dir/compile $CC"
 1762 fi
 1763 AC_LANG_POP([C])])
 1764 
 1765 # For backward compatibility.
 1766 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
 1767 
 1768 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
 1769 #
 1770 # This file is free software; the Free Software Foundation
 1771 # gives unlimited permission to copy and/or distribute it,
 1772 # with or without modifications, as long as this notice is preserved.
 1773 
 1774 
 1775 # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
 1776 # ---------------------------------------------------------------------------
 1777 # Adds support for distributing Python modules and packages.  To
 1778 # install modules, copy them to $(pythondir), using the python_PYTHON
 1779 # automake variable.  To install a package with the same name as the
 1780 # automake package, install to $(pkgpythondir), or use the
 1781 # pkgpython_PYTHON automake variable.
 1782 #
 1783 # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
 1784 # locations to install python extension modules (shared libraries).
 1785 # Another macro is required to find the appropriate flags to compile
 1786 # extension modules.
 1787 #
 1788 # If your package is configured with a different prefix to python,
 1789 # users will have to add the install directory to the PYTHONPATH
 1790 # environment variable, or create a .pth file (see the python
 1791 # documentation for details).
 1792 #
 1793 # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
 1794 # cause an error if the version of python installed on the system
 1795 # doesn't meet the requirement.  MINIMUM-VERSION should consist of
 1796 # numbers and dots only.
 1797 AC_DEFUN([AM_PATH_PYTHON],
 1798  [
 1799   dnl Find a Python interpreter.  Python versions prior to 2.0 are not
 1800   dnl supported. (2.0 was released on October 16, 2000).
 1801   m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
 1802 [python python2 python3 dnl
 1803  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
 1804  python3.2 python3.1 python3.0 dnl
 1805  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
 1806  python2.0])
 1807 
 1808   AC_ARG_VAR([PYTHON], [the Python interpreter])
 1809 
 1810   m4_if([$1],[],[
 1811     dnl No version check is needed.
 1812     # Find any Python interpreter.
 1813     if test -z "$PYTHON"; then
 1814       AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
 1815     fi
 1816     am_display_PYTHON=python
 1817   ], [
 1818     dnl A version check is needed.
 1819     if test -n "$PYTHON"; then
 1820       # If the user set $PYTHON, use it and don't search something else.
 1821       AC_MSG_CHECKING([whether $PYTHON version is >= $1])
 1822       AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
 1823 			      [AC_MSG_RESULT([yes])],
 1824 			      [AC_MSG_RESULT([no])
 1825 			       AC_MSG_ERROR([Python interpreter is too old])])
 1826       am_display_PYTHON=$PYTHON
 1827     else
 1828       # Otherwise, try each interpreter until we find one that satisfies
 1829       # VERSION.
 1830       AC_CACHE_CHECK([for a Python interpreter with version >= $1],
 1831 	[am_cv_pathless_PYTHON],[
 1832 	for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
 1833 	  test "$am_cv_pathless_PYTHON" = none && break
 1834 	  AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
 1835 	done])
 1836       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
 1837       if test "$am_cv_pathless_PYTHON" = none; then
 1838 	PYTHON=:
 1839       else
 1840         AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
 1841       fi
 1842       am_display_PYTHON=$am_cv_pathless_PYTHON
 1843     fi
 1844   ])
 1845 
 1846   if test "$PYTHON" = :; then
 1847   dnl Run any user-specified action, or abort.
 1848     m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
 1849   else
 1850 
 1851   dnl Query Python for its version number.  Getting [:3] seems to be
 1852   dnl the best way to do this; it's what "site.py" does in the standard
 1853   dnl library.
 1854 
 1855   AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
 1856     [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
 1857   AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
 1858 
 1859   dnl Use the values of $prefix and $exec_prefix for the corresponding
 1860   dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX.  These are made
 1861   dnl distinct variables so they can be overridden if need be.  However,
 1862   dnl general consensus is that you shouldn't need this ability.
 1863 
 1864   AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
 1865   AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
 1866 
 1867   dnl At times (like when building shared libraries) you may want
 1868   dnl to know which OS platform Python thinks this is.
 1869 
 1870   AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
 1871     [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
 1872   AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
 1873 
 1874   # Just factor out some code duplication.
 1875   am_python_setup_sysconfig="\
 1876 import sys
 1877 # Prefer sysconfig over distutils.sysconfig, for better compatibility
 1878 # with python 3.x.  See automake bug#10227.
 1879 try:
 1880     import sysconfig
 1881 except ImportError:
 1882     can_use_sysconfig = 0
 1883 else:
 1884     can_use_sysconfig = 1
 1885 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
 1886 # <https://github.com/pypa/virtualenv/issues/118>
 1887 try:
 1888     from platform import python_implementation
 1889     if python_implementation() == 'CPython' and sys.version[[:3]] == '2.7':
 1890         can_use_sysconfig = 0
 1891 except ImportError:
 1892     pass"
 1893 
 1894   dnl Set up 4 directories:
 1895 
 1896   dnl pythondir -- where to install python scripts.  This is the
 1897   dnl   site-packages directory, not the python standard library
 1898   dnl   directory like in previous automake betas.  This behavior
 1899   dnl   is more consistent with lispdir.m4 for example.
 1900   dnl Query distutils for this directory.
 1901   AC_CACHE_CHECK([for $am_display_PYTHON script directory],
 1902     [am_cv_python_pythondir],
 1903     [if test "x$prefix" = xNONE
 1904      then
 1905        am_py_prefix=$ac_default_prefix
 1906      else
 1907        am_py_prefix=$prefix
 1908      fi
 1909      am_cv_python_pythondir=`$PYTHON -c "
 1910 $am_python_setup_sysconfig
 1911 if can_use_sysconfig:
 1912     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
 1913 else:
 1914     from distutils import sysconfig
 1915     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
 1916 sys.stdout.write(sitedir)"`
 1917      case $am_cv_python_pythondir in
 1918      $am_py_prefix*)
 1919        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 1920        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 1921        ;;
 1922      *)
 1923        case $am_py_prefix in
 1924          /usr|/System*) ;;
 1925          *)
 1926 	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 1927 	  ;;
 1928        esac
 1929        ;;
 1930      esac
 1931     ])
 1932   AC_SUBST([pythondir], [$am_cv_python_pythondir])
 1933 
 1934   dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was
 1935   dnl   PYTHON_SITE_PACKAGE in previous betas, but this naming is
 1936   dnl   more consistent with the rest of automake.
 1937 
 1938   AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
 1939 
 1940   dnl pyexecdir -- directory for installing python extension modules
 1941   dnl   (shared libraries)
 1942   dnl Query distutils for this directory.
 1943   AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
 1944     [am_cv_python_pyexecdir],
 1945     [if test "x$exec_prefix" = xNONE
 1946      then
 1947        am_py_exec_prefix=$am_py_prefix
 1948      else
 1949        am_py_exec_prefix=$exec_prefix
 1950      fi
 1951      am_cv_python_pyexecdir=`$PYTHON -c "
 1952 $am_python_setup_sysconfig
 1953 if can_use_sysconfig:
 1954     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
 1955 else:
 1956     from distutils import sysconfig
 1957     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
 1958 sys.stdout.write(sitedir)"`
 1959      case $am_cv_python_pyexecdir in
 1960      $am_py_exec_prefix*)
 1961        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 1962        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 1963        ;;
 1964      *)
 1965        case $am_py_exec_prefix in
 1966          /usr|/System*) ;;
 1967          *)
 1968 	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 1969 	   ;;
 1970        esac
 1971        ;;
 1972      esac
 1973     ])
 1974   AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
 1975 
 1976   dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
 1977 
 1978   AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
 1979 
 1980   dnl Run any user-specified action.
 1981   $2
 1982   fi
 1983 
 1984 ])
 1985 
 1986 
 1987 # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
 1988 # ---------------------------------------------------------------------------
 1989 # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
 1990 # Run ACTION-IF-FALSE otherwise.
 1991 # This test uses sys.hexversion instead of the string equivalent (first
 1992 # word of sys.version), in order to cope with versions such as 2.2c1.
 1993 # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
 1994 AC_DEFUN([AM_PYTHON_CHECK_VERSION],
 1995  [prog="import sys
 1996 # split strings by '.' and convert to numeric.  Append some zeros
 1997 # because we need at least 4 digits for the hex conversion.
 1998 # map returns an iterator in Python 3.0 and a list in 2.x
 1999 minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
 2000 minverhex = 0
 2001 # xrange is not present in Python 3.0 and range returns an iterator
 2002 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
 2003 sys.exit(sys.hexversion < minverhex)"
 2004   AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
 2005 
 2006 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
 2007 #
 2008 # This file is free software; the Free Software Foundation
 2009 # gives unlimited permission to copy and/or distribute it,
 2010 # with or without modifications, as long as this notice is preserved.
 2011 
 2012 # AM_RUN_LOG(COMMAND)
 2013 # -------------------
 2014 # Run COMMAND, save the exit status in ac_status, and log it.
 2015 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
 2016 AC_DEFUN([AM_RUN_LOG],
 2017 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
 2018    ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
 2019    ac_status=$?
 2020    echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 2021    (exit $ac_status); }])
 2022 
 2023 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
 2024 
 2025 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
 2026 #
 2027 # This file is free software; the Free Software Foundation
 2028 # gives unlimited permission to copy and/or distribute it,
 2029 # with or without modifications, as long as this notice is preserved.
 2030 
 2031 # AM_SANITY_CHECK
 2032 # ---------------
 2033 AC_DEFUN([AM_SANITY_CHECK],
 2034 [AC_MSG_CHECKING([whether build environment is sane])
 2035 # Reject unsafe characters in $srcdir or the absolute working directory
 2036 # name.  Accept space and tab only in the latter.
 2037 am_lf='
 2038 '
 2039 case `pwd` in
 2040   *[[\\\"\#\$\&\'\`$am_lf]]*)
 2041     AC_MSG_ERROR([unsafe absolute working directory name]);;
 2042 esac
 2043 case $srcdir in
 2044   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
 2045     AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
 2046 esac
 2047 
 2048 # Do 'set' in a subshell so we don't clobber the current shell's
 2049 # arguments.  Must try -L first in case configure is actually a
 2050 # symlink; some systems play weird games with the mod time of symlinks
 2051 # (eg FreeBSD returns the mod time of the symlink's containing
 2052 # directory).
 2053 if (
 2054    am_has_slept=no
 2055    for am_try in 1 2; do
 2056      echo "timestamp, slept: $am_has_slept" > conftest.file
 2057      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 2058      if test "$[*]" = "X"; then
 2059 	# -L didn't work.
 2060 	set X `ls -t "$srcdir/configure" conftest.file`
 2061      fi
 2062      if test "$[*]" != "X $srcdir/configure conftest.file" \
 2063 	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
 2064 
 2065 	# If neither matched, then we have a broken ls.  This can happen
 2066 	# if, for instance, CONFIG_SHELL is bash and it inherits a
 2067 	# broken ls alias from the environment.  This has actually
 2068 	# happened.  Such a system could not be considered "sane".
 2069 	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 2070   alias in your environment])
 2071      fi
 2072      if test "$[2]" = conftest.file || test $am_try -eq 2; then
 2073        break
 2074      fi
 2075      # Just in case.
 2076      sleep 1
 2077      am_has_slept=yes
 2078    done
 2079    test "$[2]" = conftest.file
 2080    )
 2081 then
 2082    # Ok.
 2083    :
 2084 else
 2085    AC_MSG_ERROR([newly created file is older than distributed files!
 2086 Check your system clock])
 2087 fi
 2088 AC_MSG_RESULT([yes])
 2089 # If we didn't sleep, we still need to ensure time stamps of config.status and
 2090 # generated files are strictly newer.
 2091 am_sleep_pid=
 2092 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 2093   ( sleep 1 ) &
 2094   am_sleep_pid=$!
 2095 fi
 2096 AC_CONFIG_COMMANDS_PRE(
 2097   [AC_MSG_CHECKING([that generated files are newer than configure])
 2098    if test -n "$am_sleep_pid"; then
 2099      # Hide warnings about reused PIDs.
 2100      wait $am_sleep_pid 2>/dev/null
 2101    fi
 2102    AC_MSG_RESULT([done])])
 2103 rm -f conftest.file
 2104 ])
 2105 
 2106 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
 2107 #
 2108 # This file is free software; the Free Software Foundation
 2109 # gives unlimited permission to copy and/or distribute it,
 2110 # with or without modifications, as long as this notice is preserved.
 2111 
 2112 # AM_SILENT_RULES([DEFAULT])
 2113 # --------------------------
 2114 # Enable less verbose build rules; with the default set to DEFAULT
 2115 # ("yes" being less verbose, "no" or empty being verbose).
 2116 AC_DEFUN([AM_SILENT_RULES],
 2117 [AC_ARG_ENABLE([silent-rules], [dnl
 2118 AS_HELP_STRING(
 2119   [--enable-silent-rules],
 2120   [less verbose build output (undo: "make V=1")])
 2121 AS_HELP_STRING(
 2122   [--disable-silent-rules],
 2123   [verbose build output (undo: "make V=0")])dnl
 2124 ])
 2125 case $enable_silent_rules in @%:@ (((
 2126   yes) AM_DEFAULT_VERBOSITY=0;;
 2127    no) AM_DEFAULT_VERBOSITY=1;;
 2128     *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 2129 esac
 2130 dnl
 2131 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
 2132 dnl do not support nested variable expansions.
 2133 dnl See automake bug#9928 and bug#10237.
 2134 am_make=${MAKE-make}
 2135 AC_CACHE_CHECK([whether $am_make supports nested variables],
 2136    [am_cv_make_support_nested_variables],
 2137    [if AS_ECHO([['TRUE=$(BAR$(V))
 2138 BAR0=false
 2139 BAR1=true
 2140 V=1
 2141 am__doit:
 2142 	@$(TRUE)
 2143 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 2144   am_cv_make_support_nested_variables=yes
 2145 else
 2146   am_cv_make_support_nested_variables=no
 2147 fi])
 2148 if test $am_cv_make_support_nested_variables = yes; then
 2149   dnl Using '$V' instead of '$(V)' breaks IRIX make.
 2150   AM_V='$(V)'
 2151   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 2152 else
 2153   AM_V=$AM_DEFAULT_VERBOSITY
 2154   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 2155 fi
 2156 AC_SUBST([AM_V])dnl
 2157 AM_SUBST_NOTMAKE([AM_V])dnl
 2158 AC_SUBST([AM_DEFAULT_V])dnl
 2159 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
 2160 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 2161 AM_BACKSLASH='\'
 2162 AC_SUBST([AM_BACKSLASH])dnl
 2163 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 2164 ])
 2165 
 2166 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
 2167 #
 2168 # This file is free software; the Free Software Foundation
 2169 # gives unlimited permission to copy and/or distribute it,
 2170 # with or without modifications, as long as this notice is preserved.
 2171 
 2172 # AM_PROG_INSTALL_STRIP
 2173 # ---------------------
 2174 # One issue with vendor 'install' (even GNU) is that you can't
 2175 # specify the program used to strip binaries.  This is especially
 2176 # annoying in cross-compiling environments, where the build's strip
 2177 # is unlikely to handle the host's binaries.
 2178 # Fortunately install-sh will honor a STRIPPROG variable, so we
 2179 # always use install-sh in "make install-strip", and initialize
 2180 # STRIPPROG with the value of the STRIP variable (set by the user).
 2181 AC_DEFUN([AM_PROG_INSTALL_STRIP],
 2182 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 2183 # Installed binaries are usually stripped using 'strip' when the user
 2184 # run "make install-strip".  However 'strip' might not be the right
 2185 # tool to use in cross-compilation environments, therefore Automake
 2186 # will honor the 'STRIP' environment variable to overrule this program.
 2187 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
 2188 if test "$cross_compiling" != no; then
 2189   AC_CHECK_TOOL([STRIP], [strip], :)
 2190 fi
 2191 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 2192 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 2193 
 2194 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
 2195 #
 2196 # This file is free software; the Free Software Foundation
 2197 # gives unlimited permission to copy and/or distribute it,
 2198 # with or without modifications, as long as this notice is preserved.
 2199 
 2200 # _AM_SUBST_NOTMAKE(VARIABLE)
 2201 # ---------------------------
 2202 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 2203 # This macro is traced by Automake.
 2204 AC_DEFUN([_AM_SUBST_NOTMAKE])
 2205 
 2206 # AM_SUBST_NOTMAKE(VARIABLE)
 2207 # --------------------------
 2208 # Public sister of _AM_SUBST_NOTMAKE.
 2209 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 2210 
 2211 # Check how to create a tarball.                            -*- Autoconf -*-
 2212 
 2213 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
 2214 #
 2215 # This file is free software; the Free Software Foundation
 2216 # gives unlimited permission to copy and/or distribute it,
 2217 # with or without modifications, as long as this notice is preserved.
 2218 
 2219 # _AM_PROG_TAR(FORMAT)
 2220 # --------------------
 2221 # Check how to create a tarball in format FORMAT.
 2222 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
 2223 #
 2224 # Substitute a variable $(am__tar) that is a command
 2225 # writing to stdout a FORMAT-tarball containing the directory
 2226 # $tardir.
 2227 #     tardir=directory && $(am__tar) > result.tar
 2228 #
 2229 # Substitute a variable $(am__untar) that extract such
 2230 # a tarball read from stdin.
 2231 #     $(am__untar) < result.tar
 2232 #
 2233 AC_DEFUN([_AM_PROG_TAR],
 2234 [# Always define AMTAR for backward compatibility.  Yes, it's still used
 2235 # in the wild :-(  We should find a proper way to deprecate it ...
 2236 AC_SUBST([AMTAR], ['$${TAR-tar}'])
 2237 
 2238 # We'll loop over all known methods to create a tar archive until one works.
 2239 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
 2240 
 2241 m4_if([$1], [v7],
 2242   [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
 2243 
 2244   [m4_case([$1],
 2245     [ustar],
 2246      [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
 2247       # There is notably a 21 bits limit for the UID and the GID.  In fact,
 2248       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
 2249       # and bug#13588).
 2250       am_max_uid=2097151 # 2^21 - 1
 2251       am_max_gid=$am_max_uid
 2252       # The $UID and $GID variables are not portable, so we need to resort
 2253       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
 2254       # below are definitely unexpected, so allow the users to see them
 2255       # (that is, avoid stderr redirection).
 2256       am_uid=`id -u || echo unknown`
 2257       am_gid=`id -g || echo unknown`
 2258       AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
 2259       if test $am_uid -le $am_max_uid; then
 2260          AC_MSG_RESULT([yes])
 2261       else
 2262          AC_MSG_RESULT([no])
 2263          _am_tools=none
 2264       fi
 2265       AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
 2266       if test $am_gid -le $am_max_gid; then
 2267          AC_MSG_RESULT([yes])
 2268       else
 2269         AC_MSG_RESULT([no])
 2270         _am_tools=none
 2271       fi],
 2272 
 2273   [pax],
 2274     [],
 2275 
 2276   [m4_fatal([Unknown tar format])])
 2277 
 2278   AC_MSG_CHECKING([how to create a $1 tar archive])
 2279 
 2280   # Go ahead even if we have the value already cached.  We do so because we
 2281   # need to set the values for the 'am__tar' and 'am__untar' variables.
 2282   _am_tools=${am_cv_prog_tar_$1-$_am_tools}
 2283 
 2284   for _am_tool in $_am_tools; do
 2285     case $_am_tool in
 2286     gnutar)
 2287       for _am_tar in tar gnutar gtar; do
 2288         AM_RUN_LOG([$_am_tar --version]) && break
 2289       done
 2290       am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
 2291       am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
 2292       am__untar="$_am_tar -xf -"
 2293       ;;
 2294     plaintar)
 2295       # Must skip GNU tar: if it does not support --format= it doesn't create
 2296       # ustar tarball either.
 2297       (tar --version) >/dev/null 2>&1 && continue
 2298       am__tar='tar chf - "$$tardir"'
 2299       am__tar_='tar chf - "$tardir"'
 2300       am__untar='tar xf -'
 2301       ;;
 2302     pax)
 2303       am__tar='pax -L -x $1 -w "$$tardir"'
 2304       am__tar_='pax -L -x $1 -w "$tardir"'
 2305       am__untar='pax -r'
 2306       ;;
 2307     cpio)
 2308       am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
 2309       am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
 2310       am__untar='cpio -i -H $1 -d'
 2311       ;;
 2312     none)
 2313       am__tar=false
 2314       am__tar_=false
 2315       am__untar=false
 2316       ;;
 2317     esac
 2318 
 2319     # If the value was cached, stop now.  We just wanted to have am__tar
 2320     # and am__untar set.
 2321     test -n "${am_cv_prog_tar_$1}" && break
 2322 
 2323     # tar/untar a dummy directory, and stop if the command works.
 2324     rm -rf conftest.dir
 2325     mkdir conftest.dir
 2326     echo GrepMe > conftest.dir/file
 2327     AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 2328     rm -rf conftest.dir
 2329     if test -s conftest.tar; then
 2330       AM_RUN_LOG([$am__untar <conftest.tar])
 2331       AM_RUN_LOG([cat conftest.dir/file])
 2332       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 2333     fi
 2334   done
 2335   rm -rf conftest.dir
 2336 
 2337   AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 2338   AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 2339 
 2340 AC_SUBST([am__tar])
 2341 AC_SUBST([am__untar])
 2342 ]) # _AM_PROG_TAR
 2343 
 2344 m4_include([m4/gettext.m4])
 2345 m4_include([m4/iconv.m4])
 2346 m4_include([m4/lib-ld.m4])
 2347 m4_include([m4/lib-link.m4])
 2348 m4_include([m4/lib-prefix.m4])
 2349 m4_include([m4/libtool.m4])
 2350 m4_include([m4/ltoptions.m4])
 2351 m4_include([m4/ltsugar.m4])
 2352 m4_include([m4/ltversion.m4])
 2353 m4_include([m4/lt~obsolete.m4])
 2354 m4_include([m4/nls.m4])
 2355 m4_include([m4/po.m4])
 2356 m4_include([m4/progtest.m4])