_LT_CONFIG_LIBTOOL_INIT([# See if we are running on zsh, and set the options which allow our# commands through without removal of \ escapes INIT.if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBSTfi])if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBSTfi_LT_CHECK_OBJDIRm4_require([_LT_TAG_COMPILER])dnlcase $host_os inaix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;;esac# Global variables:ofile=libtoolcan_build_shared=yes# All known linkers require a `.a'archiveforstaticlinking(exceptMSVC,#whichneeds'.lib').libext=awith_gnu_ld="$lt_cv_prog_gnu_ld"old_CC="$CC"old_CFLAGS="$CFLAGS"#Setsanedefaultsforvariousvariablestest-z"$CC"&&CC=cctest-z"$LTCC"&&LTCC=$CCtest-z"$LTCFLAGS"&&LTCFLAGS=$CFLAGStest-z"$LD"&&LD=ldtest-z"$ac_objext"&&ac_objext=o_LT_CC_BASENAME([$compiler])#Onlyperformthecheckforfile,ifthecheckmethodrequiresittest-z"$MAGIC_CMD"&&MAGIC_CMD=filecase$deplibs_check_methodinfile_magic*)iftest"$file_magic_cmd"='$MAGIC_CMD';then_LT_PATH_MAGICfi;;esac#UseCforthedefaultconfigurationinthelibtoolscriptLT_SUPPORTED_TAG([CC])_LT_LANG_C_CONFIG_LT_LANG_DEFAULT_CONFIG_LT_CONFIG_COMMANDS])#_LT_SETUP

# _LT_PROG_LTMAIN# ---------------# Note that this code is called both from `configure',and`config.status'# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,# `config.status'hasnovalueforac_aux_dirunlessweareusingAutomake,#sowepassacopyalongtomakesureithasasensiblevalueanyway.m4_defun([_LT_PROG_LTMAIN],[m4_ifdef([AC_REQUIRE_AUX_FILE],[AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])ltmain="$ac_aux_dir/ltmain.sh"])#_LT_PROG_LTMAIN##-------------------------------------####Accumulatecodeforcreatinglibtool.####-------------------------------------###Sothatwecanrecreateafulllibtoolscriptincludingadditional#tags,weaccumulatethechunksofcodetosendtoAC_CONFIG_COMMANDS#inmacrosandthenmakeasinglecallattheendusingthe`libtool'# label.# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])# ----------------------------------------# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.m4_define([_LT_CONFIG_LIBTOOL_INIT],[m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1])])])# Initialize.m4_define([_LT_OUTPUT_LIBTOOL_INIT])# _LT_CONFIG_LIBTOOL([COMMANDS])# ------------------------------# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.m4_define([_LT_CONFIG_LIBTOOL],[m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1])])])# Initialize.m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])# -----------------------------------------------------m4_defun([_LT_CONFIG_SAVE_COMMANDS],[_LT_CONFIG_LIBTOOL([$1])_LT_CONFIG_LIBTOOL_INIT([$2])])# _LT_FORMAT_COMMENT([COMMENT])# -----------------------------# Add leading comment marks to the start of each line, and a trailing# full-stop to the whole comment if one is not present already.m4_define([_LT_FORMAT_COMMENT],[m4_ifval([$1], [m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]],[\\\&])]m4_bmatch([$1],[[!?.]$], [], [.]))])##------------------------####FIXME:EliminateVARNAME####------------------------###_LT_DECL([CONFIGNAME],VARNAME,VALUE,[DESCRIPTION],[IS-TAGGED?])#-------------------------------------------------------------------#CONFIGNAMEisthenamegiventothevalueinthelibtoolscript.#VARNAMEisthe(base)nameusedintheconfigurescript.#VALUEmaybe0,1or2foracomputedquoteescapedvaluebasedon#VARNAME.Anyothervaluewillbeuseddirectly.m4_define([_LT_DECL],[lt_if_append_uniq([lt_decl_varnames],[$2],[,],[lt_dict_add_subkey([lt_decl_dict],[$2],[libtool_name],[m4_ifval([$1],[$1],[$2])])lt_dict_add_subkey([lt_decl_dict],[$2],[value],[$3])m4_ifval([$4],[lt_dict_add_subkey([lt_decl_dict],[$2],[description],[$4])])lt_dict_add_subkey([lt_decl_dict],[$2],[tagged?],[m4_ifval([$5],[yes],[no])])])])#_LT_TAGDECL([CONFIGNAME],VARNAME,VALUE,[DESCRIPTION])#--------------------------------------------------------m4_define([_LT_TAGDECL],[_LT_DECL([$1],[$2],[$3],[$4],[yes])])#lt_decl_tag_varnames([SEPARATOR],[VARNAME1...])#------------------------------------------------m4_define([lt_decl_tag_varnames],[_lt_decl_filter([tagged?],[yes],$@)])#_lt_decl_filter(SUBKEY,VALUE,[SEPARATOR],[VARNAME1..])#---------------------------------------------------------m4_define([_lt_decl_filter],[m4_case([$#],[0],[m4_fatal([$0:toofewarguments:$#])],[1],[m4_fatal([$0:toofewarguments:$#:$1])],[2],[lt_dict_filter([lt_decl_dict],[$1],[$2],[],lt_decl_varnames)],[3],[lt_dict_filter([lt_decl_dict],[$1],[$2],[$3],lt_decl_varnames)],[lt_dict_filter([lt_decl_dict],$@)])[]dnl])#lt_decl_quote_varnames([SEPARATOR],[VARNAME1...])#--------------------------------------------------m4_define([lt_decl_quote_varnames],[_lt_decl_filter([value],[1],$@)])#lt_decl_dquote_varnames([SEPARATOR],[VARNAME1...])#---------------------------------------------------m4_define([lt_decl_dquote_varnames],[_lt_decl_filter([value],[2],$@)])#lt_decl_varnames_tagged([SEPARATOR],[VARNAME1...])#---------------------------------------------------m4_define([lt_decl_varnames_tagged],[m4_assert([$#<=2])dnl_$0(m4_quote(m4_default([$1],[[,]])),m4_ifval([$2],[[$2]],[m4_dquote(lt_decl_tag_varnames)]),m4_split(m4_normalize(m4_quote(_LT_TAGS)),[]))])m4_define([_lt_decl_varnames_tagged],[m4_ifval([$3],[lt_combine([$1],[$2],[_],$3)])])#lt_decl_all_varnames([SEPARATOR],[VARNAME1...])#------------------------------------------------m4_define([lt_decl_all_varnames],[_$0(m4_quote(m4_default([$1],[[,]])),m4_if([$2],[],m4_quote(lt_decl_varnames),m4_quote(m4_shift($@))))[]dnl])m4_define([_lt_decl_all_varnames],[lt_join($@,lt_decl_varnames_tagged([$1],lt_decl_tag_varnames([[,]],m4_shift($@))))dnl])#_LT_CONFIG_STATUS_DECLARE([VARNAME])#------------------------------------#Quoteavariablevalue,andforwarditto`config.status' so that its# declaration there will have the same value as in `configure'.VARNAME#musthaveasinglequotedelimitedvalueforthistowork.m4_define([_LT_CONFIG_STATUS_DECLARE],

m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],[m4_foreach([_lt_var],m4_quote(lt_decl_all_varnames),[m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])#_LT_LIBTOOL_TAGS#----------------#Outputcommentandlistoftagssupportedbythescriptm4_defun([_LT_LIBTOOL_TAGS],[_LT_FORMAT_COMMENT([Thenamesofthetaggedconfigurationssupportedbythisscript])dnlavailable_tags="_LT_TAGS"dnl])#_LT_LIBTOOL_DECLARE(VARNAME,[TAG])#-----------------------------------#ExtractthedictionaryvaluesforVARNAME(optionallywithTAG)and#expandtoacommentedshellvariablesetting:###SomecommentaboutwhatVARisfor.#visible_name=$lt_internal_namem4_define([_LT_LIBTOOL_DECLARE],[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict],[$1],[description])))[]dnlm4_pushdef([_libtool_name],m4_quote(lt_dict_fetch([lt_decl_dict],[$1],[libtool_name])))[]dnlm4_case(m4_quote(lt_dict_fetch([lt_decl_dict],[$1],[value])),[0],[_libtool_name=[$]$1],[1],[_libtool_name=$lt_[]$1],[2],[_libtool_name=$lt_[]$1],[_libtool_name=lt_dict_fetch([lt_decl_dict],[$1],[value])])[]dnlm4_ifval([$2],[_$2])[]m4_popdef([_libtool_name])[]dnl])#_LT_LIBTOOL_CONFIG_VARS#-----------------------#Producecommenteddeclarationsofnon-taggedlibtoolconfigvariables#suitableforinsertionintheLIBTOOLCONFIGsectionofthe`libtool'# script. Tagged libtool config variables (even for the LIBTOOL CONFIG# section) are produced by _LT_LIBTOOL_TAG_VARS.m4_defun([_LT_LIBTOOL_CONFIG_VARS],[m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])# _LT_LIBTOOL_TAG_VARS(TAG)# -------------------------m4_define([_LT_LIBTOOL_TAG_VARS],[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])# _LT_TAGVAR(VARNAME, [TAGNAME])# ------------------------------m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])# _LT_CONFIG_COMMANDS# -------------------# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of# variables for single and double quote escaping we saved from calls# to _LT_DECL, we can put quote escaped variables declarations# into `config.status',andthentheshellcodetoquoteescapethemin#forloopsin`config.status'. Finally, any additional code accumulated# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.m4_defun([_LT_CONFIG_COMMANDS],[AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])])#_LT_CONFIG_COMMANDS# Initialize.m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],[# The HP-UX ksh and POSIX shell print the target directory to stdout# if CDPATH is set.(unset CDPATH) >/dev/null 2>&1 && unset CDPATHsed_quote_subst='$sed_quote_subst'double_quote_subst='$double_quote_subst'delay_variable_subst='$delay_variable_subst'_LT_CONFIG_STATUS_DECLARATIONSLTCC='$LTCC'LTCFLAGS='$LTCFLAGS'compiler='$compiler_DEFAULT'

# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])# ------------------------------------# Generate a child script FILE with all initialization necessary to# reuse the environment learned by the parent script, and make the# file executable. If COMMENT is supplied, it is inserted after the# `#!'sequencebutbeforeinitializationtextbegins.Afterthis#macro,additionaltextcanbeappendedtoFILEtoformthebodyof#thechildscript.Themacroendswithnon-zerostatusifthe#filecouldnotbefullywritten(suchasifthediskisfull).m4_ifdef([AS_INIT_GENERATED],[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],[m4_defun([_LT_GENERATED_FILE_INIT],[m4_require([AS_PREPARE])]dnl[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl[lt_write_fail=0cat>$1<<_ASEOF||lt_write_fail=1#! $SHELL#Generatedby$as_me.$2SHELL=\${CONFIG_SHELL-$SHELL}exportSHELL_ASEOFcat>>$1<<\_ASEOF||lt_write_fail=1AS_SHELL_SANITIZE_AS_PREPAREexecAS_MESSAGE_FD>&1_ASEOFtest$lt_write_fail=0&&chmod+x$1[]dnlm4_popdef([AS_MESSAGE_LOG_FD])])])#_LT_GENERATED_FILE_INIT

execAS_MESSAGE_LOG_FD>>config.log{echoAS_BOX([Running$as_me.])}>&AS_MESSAGE_LOG_FDlt_cl_help="\\`$as_me' creates a local libtool stub from the current configuration,for use in further configure time tests before the real libtool isgenerated.Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary filesReport bugs to <bug-libtool@gnu.org>."lt_cl_version="\m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnlm4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])configured by $[0], generated by m4_PACKAGE_STRING.

# Links a minimal program and checks the executable# for the system default hardcoded library path. In most cases,# this is /usr/lib:/lib, but when the MPI compilers are used# the location of the communication and MPI libs are included too.# If we don't find anything, use the default library path according# to the aix ld manual.

# Find how we can fake an echo command that does not interpret backslash.# In particular, with Autoconf 2.60 or later we add some code to the start# of the generated configure script which will find a shell with a builtin# printf (which we can use as an echo command).

[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'ECHO=$ECHO$ECHO$ECHO$ECHO$ECHOECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHOAC_MSG_CHECKING([how to print strings])# Test print first, because it will be a builtin if present.

# if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic.

else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"fi])library_names_spec=libname_spec='lib$name'soname_spec=shrext_cmds=".so"postinstall_cmds=postuninstall_cmds=finish_cmds=finish_eval=shlibpath_var=shlibpath_overrides_runpath=unknownversion_type=nonedynamic_linker="$host_os ld.so"sys_lib_dlsearch_path_spec="/lib /usr/lib"need_lib_prefix=unknownhardcode_into_libs=no# when you set need_version to no, make sure it does not cause -set_version# flags to be left without argumentsneed_version=unknowncase $host_os inaix3*)

library_names_spec='${libname}${release}${shared_ext}$versuffix$libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;;aix[[4-9]]*)

need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major${libname}${release}${shared_ext}$versuffix$libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'.Thiswouldcausethegeneratedlibraryto#dependon`.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if__GNUC__>2||(__GNUC__==2&&__GNUC_MINOR__>=97)' echo 'yes' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib<name>.so # instead of lib<name>.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix${libname}${release}${shared_ext}$major$libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a$libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;;amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix${libname}${release}${shared_ext}$major$libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary$libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs.