aclocal.m4
author Sam Lantinga <slouken@libsdl.org>
Sun, 15 Jun 2014 13:16:42 -0700
changeset 451 48116d511e5d
parent 372 46289a3abe15
child 524 b4b49635cbd8
permissions -rw-r--r--
Fixed format warnings: format not a string literal and no format arguments
     1 # generated automatically by aclocal 1.13.1 -*- Autoconf -*-
     2 
     3 # Copyright (C) 1996-2012 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 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
    24 #
    25 #   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
    26 #   Written by Scott James Remnant, 2004.
    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 5 lt~obsolete.m4
    33 
    34 # These exist entirely to fool aclocal when bootstrapping libtool.
    35 #
    36 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
    37 # which have later been changed to m4_define as they aren't part of the
    38 # exported API, or moved to Autoconf or Automake where they belong.
    39 #
    40 # The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
    41 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
    42 # using a macro with the same name in our local m4/libtool.m4 it'll
    43 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define
    44 # and doesn't know about Autoconf macros at all.)
    45 #
    46 # So we provide this file, which has a silly filename so it's always
    47 # included after everything else.  This provides aclocal with the
    48 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
    49 # because those macros already exist, or will be overwritten later.
    50 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 
    51 #
    52 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
    53 # Yes, that means every name once taken will need to remain here until
    54 # we give up compatibility with versions before 1.7, at which point
    55 # we need to keep only those names which we still refer to.
    56 
    57 # This is to help aclocal find these macros, as it can't see m4_define.
    58 AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
    59 
    60 m4_ifndef([AC_LIBTOOL_LINKER_OPTION],	[AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
    61 m4_ifndef([AC_PROG_EGREP],		[AC_DEFUN([AC_PROG_EGREP])])
    62 m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
    63 m4_ifndef([_LT_AC_SHELL_INIT],		[AC_DEFUN([_LT_AC_SHELL_INIT])])
    64 m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],	[AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
    65 m4_ifndef([_LT_PROG_LTMAIN],		[AC_DEFUN([_LT_PROG_LTMAIN])])
    66 m4_ifndef([_LT_AC_TAGVAR],		[AC_DEFUN([_LT_AC_TAGVAR])])
    67 m4_ifndef([AC_LTDL_ENABLE_INSTALL],	[AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
    68 m4_ifndef([AC_LTDL_PREOPEN],		[AC_DEFUN([AC_LTDL_PREOPEN])])
    69 m4_ifndef([_LT_AC_SYS_COMPILER],	[AC_DEFUN([_LT_AC_SYS_COMPILER])])
    70 m4_ifndef([_LT_AC_LOCK],		[AC_DEFUN([_LT_AC_LOCK])])
    71 m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],	[AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
    72 m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],	[AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
    73 m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],	[AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
    74 m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
    75 m4_ifndef([AC_LIBTOOL_OBJDIR],		[AC_DEFUN([AC_LIBTOOL_OBJDIR])])
    76 m4_ifndef([AC_LTDL_OBJDIR],		[AC_DEFUN([AC_LTDL_OBJDIR])])
    77 m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
    78 m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],	[AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
    79 m4_ifndef([AC_PATH_MAGIC],		[AC_DEFUN([AC_PATH_MAGIC])])
    80 m4_ifndef([AC_PROG_LD_GNU],		[AC_DEFUN([AC_PROG_LD_GNU])])
    81 m4_ifndef([AC_PROG_LD_RELOAD_FLAG],	[AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
    82 m4_ifndef([AC_DEPLIBS_CHECK_METHOD],	[AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
    83 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
    84 m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
    85 m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
    86 m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS],	[AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
    87 m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP],	[AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
    88 m4_ifndef([LT_AC_PROG_EGREP],		[AC_DEFUN([LT_AC_PROG_EGREP])])
    89 m4_ifndef([LT_AC_PROG_SED],		[AC_DEFUN([LT_AC_PROG_SED])])
    90 m4_ifndef([_LT_CC_BASENAME],		[AC_DEFUN([_LT_CC_BASENAME])])
    91 m4_ifndef([_LT_COMPILER_BOILERPLATE],	[AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
    92 m4_ifndef([_LT_LINKER_BOILERPLATE],	[AC_DEFUN([_LT_LINKER_BOILERPLATE])])
    93 m4_ifndef([_AC_PROG_LIBTOOL],		[AC_DEFUN([_AC_PROG_LIBTOOL])])
    94 m4_ifndef([AC_LIBTOOL_SETUP],		[AC_DEFUN([AC_LIBTOOL_SETUP])])
    95 m4_ifndef([_LT_AC_CHECK_DLFCN],		[AC_DEFUN([_LT_AC_CHECK_DLFCN])])
    96 m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER],	[AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
    97 m4_ifndef([_LT_AC_TAGCONFIG],		[AC_DEFUN([_LT_AC_TAGCONFIG])])
    98 m4_ifndef([AC_DISABLE_FAST_INSTALL],	[AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
    99 m4_ifndef([_LT_AC_LANG_CXX],		[AC_DEFUN([_LT_AC_LANG_CXX])])
   100 m4_ifndef([_LT_AC_LANG_F77],		[AC_DEFUN([_LT_AC_LANG_F77])])
   101 m4_ifndef([_LT_AC_LANG_GCJ],		[AC_DEFUN([_LT_AC_LANG_GCJ])])
   102 m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
   103 m4_ifndef([_LT_AC_LANG_C_CONFIG],	[AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
   104 m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
   105 m4_ifndef([_LT_AC_LANG_CXX_CONFIG],	[AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
   106 m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
   107 m4_ifndef([_LT_AC_LANG_F77_CONFIG],	[AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
   108 m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
   109 m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],	[AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
   110 m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG],	[AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
   111 m4_ifndef([_LT_AC_LANG_RC_CONFIG],	[AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
   112 m4_ifndef([AC_LIBTOOL_CONFIG],		[AC_DEFUN([AC_LIBTOOL_CONFIG])])
   113 m4_ifndef([_LT_AC_FILE_LTDLL_C],	[AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
   114 m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS],	[AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
   115 m4_ifndef([_LT_AC_PROG_CXXCPP],		[AC_DEFUN([_LT_AC_PROG_CXXCPP])])
   116 m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS],	[AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
   117 m4_ifndef([_LT_PROG_ECHO_BACKSLASH],	[AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
   118 m4_ifndef([_LT_PROG_F77],		[AC_DEFUN([_LT_PROG_F77])])
   119 m4_ifndef([_LT_PROG_FC],		[AC_DEFUN([_LT_PROG_FC])])
   120 m4_ifndef([_LT_PROG_CXX],		[AC_DEFUN([_LT_PROG_CXX])])
   121 
   122 # Copyright (C) 2002-2013 Free Software Foundation, Inc.
   123 #
   124 # This file is free software; the Free Software Foundation
   125 # gives unlimited permission to copy and/or distribute it,
   126 # with or without modifications, as long as this notice is preserved.
   127 
   128 # AM_AUTOMAKE_VERSION(VERSION)
   129 # ----------------------------
   130 # Automake X.Y traces this macro to ensure aclocal.m4 has been
   131 # generated from the m4 files accompanying Automake X.Y.
   132 # (This private macro should not be called outside this file.)
   133 AC_DEFUN([AM_AUTOMAKE_VERSION],
   134 [am__api_version='1.13'
   135 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
   136 dnl require some minimum version.  Point them to the right macro.
   137 m4_if([$1], [1.13.1], [],
   138       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
   139 ])
   140 
   141 # _AM_AUTOCONF_VERSION(VERSION)
   142 # -----------------------------
   143 # aclocal traces this macro to find the Autoconf version.
   144 # This is a private macro too.  Using m4_define simplifies
   145 # the logic in aclocal, which can simply ignore this definition.
   146 m4_define([_AM_AUTOCONF_VERSION], [])
   147 
   148 # AM_SET_CURRENT_AUTOMAKE_VERSION
   149 # -------------------------------
   150 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
   151 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
   152 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
   153 [AM_AUTOMAKE_VERSION([1.13.1])dnl
   154 m4_ifndef([AC_AUTOCONF_VERSION],
   155   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
   156 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
   157 
   158 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
   159 
   160 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
   161 #
   162 # This file is free software; the Free Software Foundation
   163 # gives unlimited permission to copy and/or distribute it,
   164 # with or without modifications, as long as this notice is preserved.
   165 
   166 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
   167 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
   168 # '$srcdir', '$srcdir/..', or '$srcdir/../..'.
   169 #
   170 # Of course, Automake must honor this variable whenever it calls a
   171 # tool from the auxiliary directory.  The problem is that $srcdir (and
   172 # therefore $ac_aux_dir as well) can be either absolute or relative,
   173 # depending on how configure is run.  This is pretty annoying, since
   174 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
   175 # source directory, any form will work fine, but in subdirectories a
   176 # relative path needs to be adjusted first.
   177 #
   178 # $ac_aux_dir/missing
   179 #    fails when called from a subdirectory if $ac_aux_dir is relative
   180 # $top_srcdir/$ac_aux_dir/missing
   181 #    fails if $ac_aux_dir is absolute,
   182 #    fails when called from a subdirectory in a VPATH build with
   183 #          a relative $ac_aux_dir
   184 #
   185 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
   186 # are both prefixed by $srcdir.  In an in-source build this is usually
   187 # harmless because $srcdir is '.', but things will broke when you
   188 # start a VPATH build or use an absolute $srcdir.
   189 #
   190 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
   191 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
   192 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
   193 # and then we would define $MISSING as
   194 #   MISSING="\${SHELL} $am_aux_dir/missing"
   195 # This will work as long as MISSING is not called from configure, because
   196 # unfortunately $(top_srcdir) has no meaning in configure.
   197 # However there are other variables, like CC, which are often used in
   198 # configure, and could therefore not use this "fixed" $ac_aux_dir.
   199 #
   200 # Another solution, used here, is to always expand $ac_aux_dir to an
   201 # absolute PATH.  The drawback is that using absolute paths prevent a
   202 # configured tree to be moved without reconfiguration.
   203 
   204 AC_DEFUN([AM_AUX_DIR_EXPAND],
   205 [dnl Rely on autoconf to set up CDPATH properly.
   206 AC_PREREQ([2.50])dnl
   207 # expand $ac_aux_dir to an absolute path
   208 am_aux_dir=`cd $ac_aux_dir && pwd`
   209 ])
   210 
   211 # AM_CONDITIONAL                                            -*- Autoconf -*-
   212 
   213 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
   214 #
   215 # This file is free software; the Free Software Foundation
   216 # gives unlimited permission to copy and/or distribute it,
   217 # with or without modifications, as long as this notice is preserved.
   218 
   219 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
   220 # -------------------------------------
   221 # Define a conditional.
   222 AC_DEFUN([AM_CONDITIONAL],
   223 [AC_PREREQ([2.52])dnl
   224  m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
   225        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
   226 AC_SUBST([$1_TRUE])dnl
   227 AC_SUBST([$1_FALSE])dnl
   228 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
   229 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
   230 m4_define([_AM_COND_VALUE_$1], [$2])dnl
   231 if $2; then
   232   $1_TRUE=
   233   $1_FALSE='#'
   234 else
   235   $1_TRUE='#'
   236   $1_FALSE=
   237 fi
   238 AC_CONFIG_COMMANDS_PRE(
   239 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
   240   AC_MSG_ERROR([[conditional "$1" was never defined.
   241 Usually this means the macro was only invoked conditionally.]])
   242 fi])])
   243 
   244 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
   245 #
   246 # This file is free software; the Free Software Foundation
   247 # gives unlimited permission to copy and/or distribute it,
   248 # with or without modifications, as long as this notice is preserved.
   249 
   250 
   251 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
   252 # written in clear, in which case automake, when reading aclocal.m4,
   253 # will think it sees a *use*, and therefore will trigger all it's
   254 # C support machinery.  Also note that it means that autoscan, seeing
   255 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
   256 
   257 
   258 # _AM_DEPENDENCIES(NAME)
   259 # ----------------------
   260 # See how the compiler implements dependency checking.
   261 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
   262 # We try a few techniques and use that to set a single cache variable.
   263 #
   264 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
   265 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
   266 # dependency, and given that the user is not expected to run this macro,
   267 # just rely on AC_PROG_CC.
   268 AC_DEFUN([_AM_DEPENDENCIES],
   269 [AC_REQUIRE([AM_SET_DEPDIR])dnl
   270 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
   271 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
   272 AC_REQUIRE([AM_DEP_TRACK])dnl
   273 
   274 m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
   275       [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
   276       [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
   277       [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
   278       [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
   279       [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
   280                     [depcc="$$1"   am_compiler_list=])
   281 
   282 AC_CACHE_CHECK([dependency style of $depcc],
   283                [am_cv_$1_dependencies_compiler_type],
   284 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   285   # We make a subdir and do the tests there.  Otherwise we can end up
   286   # making bogus files that we don't know about and never remove.  For
   287   # instance it was reported that on HP-UX the gcc test will end up
   288   # making a dummy file named 'D' -- because '-MD' means "put the output
   289   # in D".
   290   rm -rf conftest.dir
   291   mkdir conftest.dir
   292   # Copy depcomp to subdir because otherwise we won't find it if we're
   293   # using a relative directory.
   294   cp "$am_depcomp" conftest.dir
   295   cd conftest.dir
   296   # We will build objects and dependencies in a subdirectory because
   297   # it helps to detect inapplicable dependency modes.  For instance
   298   # both Tru64's cc and ICC support -MD to output dependencies as a
   299   # side effect of compilation, but ICC will put the dependencies in
   300   # the current directory while Tru64 will put them in the object
   301   # directory.
   302   mkdir sub
   303 
   304   am_cv_$1_dependencies_compiler_type=none
   305   if test "$am_compiler_list" = ""; then
   306      am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
   307   fi
   308   am__universal=false
   309   m4_case([$1], [CC],
   310     [case " $depcc " in #(
   311      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   312      esac],
   313     [CXX],
   314     [case " $depcc " in #(
   315      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   316      esac])
   317 
   318   for depmode in $am_compiler_list; do
   319     # Setup a source with many dependencies, because some compilers
   320     # like to wrap large dependency lists on column 80 (with \), and
   321     # we should not choose a depcomp mode which is confused by this.
   322     #
   323     # We need to recreate these files for each test, as the compiler may
   324     # overwrite some of them when testing with obscure command lines.
   325     # This happens at least with the AIX C compiler.
   326     : > sub/conftest.c
   327     for i in 1 2 3 4 5 6; do
   328       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   329       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   330       # Solaris 10 /bin/sh.
   331       echo '/* dummy */' > sub/conftst$i.h
   332     done
   333     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   334 
   335     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   336     # mode.  It turns out that the SunPro C++ compiler does not properly
   337     # handle '-M -o', and we need to detect this.  Also, some Intel
   338     # versions had trouble with output in subdirs.
   339     am__obj=sub/conftest.${OBJEXT-o}
   340     am__minus_obj="-o $am__obj"
   341     case $depmode in
   342     gcc)
   343       # This depmode causes a compiler race in universal mode.
   344       test "$am__universal" = false || continue
   345       ;;
   346     nosideeffect)
   347       # After this tag, mechanisms are not by side-effect, so they'll
   348       # only be used when explicitly requested.
   349       if test "x$enable_dependency_tracking" = xyes; then
   350 	continue
   351       else
   352 	break
   353       fi
   354       ;;
   355     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   356       # This compiler won't grok '-c -o', but also, the minuso test has
   357       # not run yet.  These depmodes are late enough in the game, and
   358       # so weak that their functioning should not be impacted.
   359       am__obj=conftest.${OBJEXT-o}
   360       am__minus_obj=
   361       ;;
   362     none) break ;;
   363     esac
   364     if depmode=$depmode \
   365        source=sub/conftest.c object=$am__obj \
   366        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   367        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   368          >/dev/null 2>conftest.err &&
   369        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   370        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   371        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   372        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   373       # icc doesn't choke on unknown options, it will just issue warnings
   374       # or remarks (even with -Werror).  So we grep stderr for any message
   375       # that says an option was ignored or not supported.
   376       # When given -MP, icc 7.0 and 7.1 complain thusly:
   377       #   icc: Command line warning: ignoring option '-M'; no argument required
   378       # The diagnosis changed in icc 8.0:
   379       #   icc: Command line remark: option '-MP' not supported
   380       if (grep 'ignoring option' conftest.err ||
   381           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   382         am_cv_$1_dependencies_compiler_type=$depmode
   383         break
   384       fi
   385     fi
   386   done
   387 
   388   cd ..
   389   rm -rf conftest.dir
   390 else
   391   am_cv_$1_dependencies_compiler_type=none
   392 fi
   393 ])
   394 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
   395 AM_CONDITIONAL([am__fastdep$1], [
   396   test "x$enable_dependency_tracking" != xno \
   397   && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
   398 ])
   399 
   400 
   401 # AM_SET_DEPDIR
   402 # -------------
   403 # Choose a directory name for dependency files.
   404 # This macro is AC_REQUIREd in _AM_DEPENDENCIES.
   405 AC_DEFUN([AM_SET_DEPDIR],
   406 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
   407 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
   408 ])
   409 
   410 
   411 # AM_DEP_TRACK
   412 # ------------
   413 AC_DEFUN([AM_DEP_TRACK],
   414 [AC_ARG_ENABLE([dependency-tracking], [dnl
   415 AS_HELP_STRING(
   416   [--enable-dependency-tracking],
   417   [do not reject slow dependency extractors])
   418 AS_HELP_STRING(
   419   [--disable-dependency-tracking],
   420   [speeds up one-time build])])
   421 if test "x$enable_dependency_tracking" != xno; then
   422   am_depcomp="$ac_aux_dir/depcomp"
   423   AMDEPBACKSLASH='\'
   424   am__nodep='_no'
   425 fi
   426 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
   427 AC_SUBST([AMDEPBACKSLASH])dnl
   428 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
   429 AC_SUBST([am__nodep])dnl
   430 _AM_SUBST_NOTMAKE([am__nodep])dnl
   431 ])
   432 
   433 # Generate code to set up dependency tracking.              -*- Autoconf -*-
   434 
   435 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
   436 #
   437 # This file is free software; the Free Software Foundation
   438 # gives unlimited permission to copy and/or distribute it,
   439 # with or without modifications, as long as this notice is preserved.
   440 
   441 
   442 # _AM_OUTPUT_DEPENDENCY_COMMANDS
   443 # ------------------------------
   444 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
   445 [{
   446   # Older Autoconf quotes --file arguments for eval, but not when files
   447   # are listed without --file.  Let's play safe and only enable the eval
   448   # if we detect the quoting.
   449   case $CONFIG_FILES in
   450   *\'*) eval set x "$CONFIG_FILES" ;;
   451   *)   set x $CONFIG_FILES ;;
   452   esac
   453   shift
   454   for mf
   455   do
   456     # Strip MF so we end up with the name of the file.
   457     mf=`echo "$mf" | sed -e 's/:.*$//'`
   458     # Check whether this is an Automake generated Makefile or not.
   459     # We used to match only the files named 'Makefile.in', but
   460     # some people rename them; so instead we look at the file content.
   461     # Grep'ing the first line is not enough: some people post-process
   462     # each Makefile.in and add a new line on top of each file to say so.
   463     # Grep'ing the whole file is not good either: AIX grep has a line
   464     # limit of 2048, but all sed's we know have understand at least 4000.
   465     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   466       dirpart=`AS_DIRNAME("$mf")`
   467     else
   468       continue
   469     fi
   470     # Extract the definition of DEPDIR, am__include, and am__quote
   471     # from the Makefile without running 'make'.
   472     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   473     test -z "$DEPDIR" && continue
   474     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   475     test -z "am__include" && continue
   476     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   477     # Find all dependency output files, they are included files with
   478     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   479     # simplest approach to changing $(DEPDIR) to its actual value in the
   480     # expansion.
   481     for file in `sed -n "
   482       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   483 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   484       # Make sure the directory exists.
   485       test -f "$dirpart/$file" && continue
   486       fdir=`AS_DIRNAME(["$file"])`
   487       AS_MKDIR_P([$dirpart/$fdir])
   488       # echo "creating $dirpart/$file"
   489       echo '# dummy' > "$dirpart/$file"
   490     done
   491   done
   492 }
   493 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
   494 
   495 
   496 # AM_OUTPUT_DEPENDENCY_COMMANDS
   497 # -----------------------------
   498 # This macro should only be invoked once -- use via AC_REQUIRE.
   499 #
   500 # This code is only required when automatic dependency tracking
   501 # is enabled.  FIXME.  This creates each '.P' file that we will
   502 # need in order to bootstrap the dependency handling code.
   503 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
   504 [AC_CONFIG_COMMANDS([depfiles],
   505      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
   506      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
   507 ])
   508 
   509 # Do all the work for Automake.                             -*- Autoconf -*-
   510 
   511 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
   512 #
   513 # This file is free software; the Free Software Foundation
   514 # gives unlimited permission to copy and/or distribute it,
   515 # with or without modifications, as long as this notice is preserved.
   516 
   517 # This macro actually does too much.  Some checks are only needed if
   518 # your package does certain things.  But this isn't really a big deal.
   519 
   520 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
   521 # AM_INIT_AUTOMAKE([OPTIONS])
   522 # -----------------------------------------------
   523 # The call with PACKAGE and VERSION arguments is the old style
   524 # call (pre autoconf-2.50), which is being phased out.  PACKAGE
   525 # and VERSION should now be passed to AC_INIT and removed from
   526 # the call to AM_INIT_AUTOMAKE.
   527 # We support both call styles for the transition.  After
   528 # the next Automake release, Autoconf can make the AC_INIT
   529 # arguments mandatory, and then we can depend on a new Autoconf
   530 # release and drop the old call support.
   531 AC_DEFUN([AM_INIT_AUTOMAKE],
   532 [AC_PREREQ([2.65])dnl
   533 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
   534 dnl the ones we care about.
   535 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
   536 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
   537 AC_REQUIRE([AC_PROG_INSTALL])dnl
   538 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   539   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   540   # is not polluted with repeated "-I."
   541   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
   542   # test to see if srcdir already configured
   543   if test -f $srcdir/config.status; then
   544     AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
   545   fi
   546 fi
   547 
   548 # test whether we have cygpath
   549 if test -z "$CYGPATH_W"; then
   550   if (cygpath --version) >/dev/null 2>/dev/null; then
   551     CYGPATH_W='cygpath -w'
   552   else
   553     CYGPATH_W=echo
   554   fi
   555 fi
   556 AC_SUBST([CYGPATH_W])
   557 
   558 # Define the identity of the package.
   559 dnl Distinguish between old-style and new-style calls.
   560 m4_ifval([$2],
   561 [AC_DIAGNOSE([obsolete],
   562              [$0: two- and three-arguments forms are deprecated.])
   563 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
   564  AC_SUBST([PACKAGE], [$1])dnl
   565  AC_SUBST([VERSION], [$2])],
   566 [_AM_SET_OPTIONS([$1])dnl
   567 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
   568 m4_if(
   569   m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
   570   [ok:ok],,
   571   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
   572  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
   573  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
   574 
   575 _AM_IF_OPTION([no-define],,
   576 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
   577  AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
   578 
   579 # Some tools Automake needs.
   580 AC_REQUIRE([AM_SANITY_CHECK])dnl
   581 AC_REQUIRE([AC_ARG_PROGRAM])dnl
   582 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
   583 AM_MISSING_PROG([AUTOCONF], [autoconf])
   584 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
   585 AM_MISSING_PROG([AUTOHEADER], [autoheader])
   586 AM_MISSING_PROG([MAKEINFO], [makeinfo])
   587 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
   588 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
   589 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
   590 # For better backward compatibility.  To be removed once Automake 1.9.x
   591 # dies out for good.  For more background, see:
   592 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   593 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   594 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
   595 # We need awk for the "check" target.  The system "awk" is bad on
   596 # some platforms.
   597 AC_REQUIRE([AC_PROG_AWK])dnl
   598 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
   599 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
   600 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
   601 	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
   602 			     [_AM_PROG_TAR([v7])])])
   603 _AM_IF_OPTION([no-dependencies],,
   604 [AC_PROVIDE_IFELSE([AC_PROG_CC],
   605 		  [_AM_DEPENDENCIES([CC])],
   606 		  [m4_define([AC_PROG_CC],
   607 			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
   608 AC_PROVIDE_IFELSE([AC_PROG_CXX],
   609 		  [_AM_DEPENDENCIES([CXX])],
   610 		  [m4_define([AC_PROG_CXX],
   611 			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
   612 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
   613 		  [_AM_DEPENDENCIES([OBJC])],
   614 		  [m4_define([AC_PROG_OBJC],
   615 			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
   616 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
   617 		  [_AM_DEPENDENCIES([OBJCXX])],
   618 		  [m4_define([AC_PROG_OBJCXX],
   619 			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
   620 ])
   621 AC_REQUIRE([AM_SILENT_RULES])dnl
   622 dnl The testsuite driver may need to know about EXEEXT, so add the
   623 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
   624 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
   625 AC_CONFIG_COMMANDS_PRE(dnl
   626 [m4_provide_if([_AM_COMPILER_EXEEXT],
   627   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
   628 ])
   629 
   630 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
   631 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
   632 dnl mangled by Autoconf and run in a shell conditional statement.
   633 m4_define([_AC_COMPILER_EXEEXT],
   634 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
   635 
   636 
   637 # When config.status generates a header, we must update the stamp-h file.
   638 # This file resides in the same directory as the config header
   639 # that is generated.  The stamp files are numbered to have different names.
   640 
   641 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
   642 # loop where config.status creates the headers, so we can generate
   643 # our stamp files there.
   644 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
   645 [# Compute $1's index in $config_headers.
   646 _am_arg=$1
   647 _am_stamp_count=1
   648 for _am_header in $config_headers :; do
   649   case $_am_header in
   650     $_am_arg | $_am_arg:* )
   651       break ;;
   652     * )
   653       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   654   esac
   655 done
   656 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
   657 
   658 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
   659 #
   660 # This file is free software; the Free Software Foundation
   661 # gives unlimited permission to copy and/or distribute it,
   662 # with or without modifications, as long as this notice is preserved.
   663 
   664 # AM_PROG_INSTALL_SH
   665 # ------------------
   666 # Define $install_sh.
   667 AC_DEFUN([AM_PROG_INSTALL_SH],
   668 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
   669 if test x"${install_sh}" != xset; then
   670   case $am_aux_dir in
   671   *\ * | *\	*)
   672     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   673   *)
   674     install_sh="\${SHELL} $am_aux_dir/install-sh"
   675   esac
   676 fi
   677 AC_SUBST([install_sh])])
   678 
   679 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
   680 #
   681 # This file is free software; the Free Software Foundation
   682 # gives unlimited permission to copy and/or distribute it,
   683 # with or without modifications, as long as this notice is preserved.
   684 
   685 # Check whether the underlying file-system supports filenames
   686 # with a leading dot.  For instance MS-DOS doesn't.
   687 AC_DEFUN([AM_SET_LEADING_DOT],
   688 [rm -rf .tst 2>/dev/null
   689 mkdir .tst 2>/dev/null
   690 if test -d .tst; then
   691   am__leading_dot=.
   692 else
   693   am__leading_dot=_
   694 fi
   695 rmdir .tst 2>/dev/null
   696 AC_SUBST([am__leading_dot])])
   697 
   698 # Check to see how 'make' treats includes.	            -*- Autoconf -*-
   699 
   700 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
   701 #
   702 # This file is free software; the Free Software Foundation
   703 # gives unlimited permission to copy and/or distribute it,
   704 # with or without modifications, as long as this notice is preserved.
   705 
   706 # AM_MAKE_INCLUDE()
   707 # -----------------
   708 # Check to see how make treats includes.
   709 AC_DEFUN([AM_MAKE_INCLUDE],
   710 [am_make=${MAKE-make}
   711 cat > confinc << 'END'
   712 am__doit:
   713 	@echo this is the am__doit target
   714 .PHONY: am__doit
   715 END
   716 # If we don't find an include directive, just comment out the code.
   717 AC_MSG_CHECKING([for style of include used by $am_make])
   718 am__include="#"
   719 am__quote=
   720 _am_result=none
   721 # First try GNU make style include.
   722 echo "include confinc" > confmf
   723 # Ignore all kinds of additional output from 'make'.
   724 case `$am_make -s -f confmf 2> /dev/null` in #(
   725 *the\ am__doit\ target*)
   726   am__include=include
   727   am__quote=
   728   _am_result=GNU
   729   ;;
   730 esac
   731 # Now try BSD make style include.
   732 if test "$am__include" = "#"; then
   733    echo '.include "confinc"' > confmf
   734    case `$am_make -s -f confmf 2> /dev/null` in #(
   735    *the\ am__doit\ target*)
   736      am__include=.include
   737      am__quote="\""
   738      _am_result=BSD
   739      ;;
   740    esac
   741 fi
   742 AC_SUBST([am__include])
   743 AC_SUBST([am__quote])
   744 AC_MSG_RESULT([$_am_result])
   745 rm -f confinc confmf
   746 ])
   747 
   748 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
   749 
   750 # Copyright (C) 1997-2013 Free Software Foundation, Inc.
   751 #
   752 # This file is free software; the Free Software Foundation
   753 # gives unlimited permission to copy and/or distribute it,
   754 # with or without modifications, as long as this notice is preserved.
   755 
   756 # AM_MISSING_PROG(NAME, PROGRAM)
   757 # ------------------------------
   758 AC_DEFUN([AM_MISSING_PROG],
   759 [AC_REQUIRE([AM_MISSING_HAS_RUN])
   760 $1=${$1-"${am_missing_run}$2"}
   761 AC_SUBST($1)])
   762 
   763 # AM_MISSING_HAS_RUN
   764 # ------------------
   765 # Define MISSING if not defined so far and test if it is modern enough.
   766 # If it is, set am_missing_run to use it, otherwise, to nothing.
   767 AC_DEFUN([AM_MISSING_HAS_RUN],
   768 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
   769 AC_REQUIRE_AUX_FILE([missing])dnl
   770 if test x"${MISSING+set}" != xset; then
   771   case $am_aux_dir in
   772   *\ * | *\	*)
   773     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   774   *)
   775     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   776   esac
   777 fi
   778 # Use eval to expand $SHELL
   779 if eval "$MISSING --is-lightweight"; then
   780   am_missing_run="$MISSING "
   781 else
   782   am_missing_run=
   783   AC_MSG_WARN(['missing' script is too old or missing])
   784 fi
   785 ])
   786 
   787 # Helper functions for option handling.                     -*- Autoconf -*-
   788 
   789 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
   790 #
   791 # This file is free software; the Free Software Foundation
   792 # gives unlimited permission to copy and/or distribute it,
   793 # with or without modifications, as long as this notice is preserved.
   794 
   795 # _AM_MANGLE_OPTION(NAME)
   796 # -----------------------
   797 AC_DEFUN([_AM_MANGLE_OPTION],
   798 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
   799 
   800 # _AM_SET_OPTION(NAME)
   801 # --------------------
   802 # Set option NAME.  Presently that only means defining a flag for this option.
   803 AC_DEFUN([_AM_SET_OPTION],
   804 [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
   805 
   806 # _AM_SET_OPTIONS(OPTIONS)
   807 # ------------------------
   808 # OPTIONS is a space-separated list of Automake options.
   809 AC_DEFUN([_AM_SET_OPTIONS],
   810 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
   811 
   812 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
   813 # -------------------------------------------
   814 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
   815 AC_DEFUN([_AM_IF_OPTION],
   816 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
   817 
   818 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
   819 
   820 # Copyright (C) 1996-2013 Free Software Foundation, Inc.
   821 #
   822 # This file is free software; the Free Software Foundation
   823 # gives unlimited permission to copy and/or distribute it,
   824 # with or without modifications, as long as this notice is preserved.
   825 
   826 # AM_SANITY_CHECK
   827 # ---------------
   828 AC_DEFUN([AM_SANITY_CHECK],
   829 [AC_MSG_CHECKING([whether build environment is sane])
   830 # Reject unsafe characters in $srcdir or the absolute working directory
   831 # name.  Accept space and tab only in the latter.
   832 am_lf='
   833 '
   834 case `pwd` in
   835   *[[\\\"\#\$\&\'\`$am_lf]]*)
   836     AC_MSG_ERROR([unsafe absolute working directory name]);;
   837 esac
   838 case $srcdir in
   839   *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
   840     AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
   841 esac
   842 
   843 # Do 'set' in a subshell so we don't clobber the current shell's
   844 # arguments.  Must try -L first in case configure is actually a
   845 # symlink; some systems play weird games with the mod time of symlinks
   846 # (eg FreeBSD returns the mod time of the symlink's containing
   847 # directory).
   848 if (
   849    am_has_slept=no
   850    for am_try in 1 2; do
   851      echo "timestamp, slept: $am_has_slept" > conftest.file
   852      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   853      if test "$[*]" = "X"; then
   854 	# -L didn't work.
   855 	set X `ls -t "$srcdir/configure" conftest.file`
   856      fi
   857      if test "$[*]" != "X $srcdir/configure conftest.file" \
   858 	&& test "$[*]" != "X conftest.file $srcdir/configure"; then
   859 
   860 	# If neither matched, then we have a broken ls.  This can happen
   861 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   862 	# broken ls alias from the environment.  This has actually
   863 	# happened.  Such a system could not be considered "sane".
   864 	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
   865   alias in your environment])
   866      fi
   867      if test "$[2]" = conftest.file || test $am_try -eq 2; then
   868        break
   869      fi
   870      # Just in case.
   871      sleep 1
   872      am_has_slept=yes
   873    done
   874    test "$[2]" = conftest.file
   875    )
   876 then
   877    # Ok.
   878    :
   879 else
   880    AC_MSG_ERROR([newly created file is older than distributed files!
   881 Check your system clock])
   882 fi
   883 AC_MSG_RESULT([yes])
   884 # If we didn't sleep, we still need to ensure time stamps of config.status and
   885 # generated files are strictly newer.
   886 am_sleep_pid=
   887 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   888   ( sleep 1 ) &
   889   am_sleep_pid=$!
   890 fi
   891 AC_CONFIG_COMMANDS_PRE(
   892   [AC_MSG_CHECKING([that generated files are newer than configure])
   893    if test -n "$am_sleep_pid"; then
   894      # Hide warnings about reused PIDs.
   895      wait $am_sleep_pid 2>/dev/null
   896    fi
   897    AC_MSG_RESULT([done])])
   898 rm -f conftest.file
   899 ])
   900 
   901 # Copyright (C) 2009-2013 Free Software Foundation, Inc.
   902 #
   903 # This file is free software; the Free Software Foundation
   904 # gives unlimited permission to copy and/or distribute it,
   905 # with or without modifications, as long as this notice is preserved.
   906 
   907 # AM_SILENT_RULES([DEFAULT])
   908 # --------------------------
   909 # Enable less verbose build rules; with the default set to DEFAULT
   910 # ("yes" being less verbose, "no" or empty being verbose).
   911 AC_DEFUN([AM_SILENT_RULES],
   912 [AC_ARG_ENABLE([silent-rules], [dnl
   913 AS_HELP_STRING(
   914   [--enable-silent-rules],
   915   [less verbose build output (undo: "make V=1")])
   916 AS_HELP_STRING(
   917   [--disable-silent-rules],
   918   [verbose build output (undo: "make V=0")])dnl
   919 ])
   920 case $enable_silent_rules in @%:@ (((
   921   yes) AM_DEFAULT_VERBOSITY=0;;
   922    no) AM_DEFAULT_VERBOSITY=1;;
   923     *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
   924 esac
   925 dnl
   926 dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
   927 dnl do not support nested variable expansions.
   928 dnl See automake bug#9928 and bug#10237.
   929 am_make=${MAKE-make}
   930 AC_CACHE_CHECK([whether $am_make supports nested variables],
   931    [am_cv_make_support_nested_variables],
   932    [if AS_ECHO([['TRUE=$(BAR$(V))
   933 BAR0=false
   934 BAR1=true
   935 V=1
   936 am__doit:
   937 	@$(TRUE)
   938 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
   939   am_cv_make_support_nested_variables=yes
   940 else
   941   am_cv_make_support_nested_variables=no
   942 fi])
   943 if test $am_cv_make_support_nested_variables = yes; then
   944   dnl Using '$V' instead of '$(V)' breaks IRIX make.
   945   AM_V='$(V)'
   946   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   947 else
   948   AM_V=$AM_DEFAULT_VERBOSITY
   949   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   950 fi
   951 AC_SUBST([AM_V])dnl
   952 AM_SUBST_NOTMAKE([AM_V])dnl
   953 AC_SUBST([AM_DEFAULT_V])dnl
   954 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
   955 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
   956 AM_BACKSLASH='\'
   957 AC_SUBST([AM_BACKSLASH])dnl
   958 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
   959 ])
   960 
   961 # Copyright (C) 2001-2013 Free Software Foundation, Inc.
   962 #
   963 # This file is free software; the Free Software Foundation
   964 # gives unlimited permission to copy and/or distribute it,
   965 # with or without modifications, as long as this notice is preserved.
   966 
   967 # AM_PROG_INSTALL_STRIP
   968 # ---------------------
   969 # One issue with vendor 'install' (even GNU) is that you can't
   970 # specify the program used to strip binaries.  This is especially
   971 # annoying in cross-compiling environments, where the build's strip
   972 # is unlikely to handle the host's binaries.
   973 # Fortunately install-sh will honor a STRIPPROG variable, so we
   974 # always use install-sh in "make install-strip", and initialize
   975 # STRIPPROG with the value of the STRIP variable (set by the user).
   976 AC_DEFUN([AM_PROG_INSTALL_STRIP],
   977 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
   978 # Installed binaries are usually stripped using 'strip' when the user
   979 # run "make install-strip".  However 'strip' might not be the right
   980 # tool to use in cross-compilation environments, therefore Automake
   981 # will honor the 'STRIP' environment variable to overrule this program.
   982 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
   983 if test "$cross_compiling" != no; then
   984   AC_CHECK_TOOL([STRIP], [strip], :)
   985 fi
   986 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   987 AC_SUBST([INSTALL_STRIP_PROGRAM])])
   988 
   989 # Copyright (C) 2006-2013 Free Software Foundation, Inc.
   990 #
   991 # This file is free software; the Free Software Foundation
   992 # gives unlimited permission to copy and/or distribute it,
   993 # with or without modifications, as long as this notice is preserved.
   994 
   995 # _AM_SUBST_NOTMAKE(VARIABLE)
   996 # ---------------------------
   997 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
   998 # This macro is traced by Automake.
   999 AC_DEFUN([_AM_SUBST_NOTMAKE])
  1000 
  1001 # AM_SUBST_NOTMAKE(VARIABLE)
  1002 # --------------------------
  1003 # Public sister of _AM_SUBST_NOTMAKE.
  1004 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  1005 
  1006 # Check how to create a tarball.                            -*- Autoconf -*-
  1007 
  1008 # Copyright (C) 2004-2013 Free Software Foundation, Inc.
  1009 #
  1010 # This file is free software; the Free Software Foundation
  1011 # gives unlimited permission to copy and/or distribute it,
  1012 # with or without modifications, as long as this notice is preserved.
  1013 
  1014 # _AM_PROG_TAR(FORMAT)
  1015 # --------------------
  1016 # Check how to create a tarball in format FORMAT.
  1017 # FORMAT should be one of 'v7', 'ustar', or 'pax'.
  1018 #
  1019 # Substitute a variable $(am__tar) that is a command
  1020 # writing to stdout a FORMAT-tarball containing the directory
  1021 # $tardir.
  1022 #     tardir=directory && $(am__tar) > result.tar
  1023 #
  1024 # Substitute a variable $(am__untar) that extract such
  1025 # a tarball read from stdin.
  1026 #     $(am__untar) < result.tar
  1027 AC_DEFUN([_AM_PROG_TAR],
  1028 [# Always define AMTAR for backward compatibility.  Yes, it's still used
  1029 # in the wild :-(  We should find a proper way to deprecate it ...
  1030 AC_SUBST([AMTAR], ['$${TAR-tar}'])
  1031 m4_if([$1], [v7],
  1032      [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  1033      [m4_case([$1], [ustar],, [pax],,
  1034               [m4_fatal([Unknown tar format])])
  1035 AC_MSG_CHECKING([how to create a $1 tar archive])
  1036 # Loop over all known methods to create a tar archive until one works.
  1037 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  1038 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  1039 # Do not fold the above two line into one, because Tru64 sh and
  1040 # Solaris sh will not grok spaces in the rhs of '-'.
  1041 for _am_tool in $_am_tools
  1042 do
  1043   case $_am_tool in
  1044   gnutar)
  1045     for _am_tar in tar gnutar gtar;
  1046     do
  1047       AM_RUN_LOG([$_am_tar --version]) && break
  1048     done
  1049     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  1050     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  1051     am__untar="$_am_tar -xf -"
  1052     ;;
  1053   plaintar)
  1054     # Must skip GNU tar: if it does not support --format= it doesn't create
  1055     # ustar tarball either.
  1056     (tar --version) >/dev/null 2>&1 && continue
  1057     am__tar='tar chf - "$$tardir"'
  1058     am__tar_='tar chf - "$tardir"'
  1059     am__untar='tar xf -'
  1060     ;;
  1061   pax)
  1062     am__tar='pax -L -x $1 -w "$$tardir"'
  1063     am__tar_='pax -L -x $1 -w "$tardir"'
  1064     am__untar='pax -r'
  1065     ;;
  1066   cpio)
  1067     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  1068     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  1069     am__untar='cpio -i -H $1 -d'
  1070     ;;
  1071   none)
  1072     am__tar=false
  1073     am__tar_=false
  1074     am__untar=false
  1075     ;;
  1076   esac
  1077 
  1078   # If the value was cached, stop now.  We just wanted to have am__tar
  1079   # and am__untar set.
  1080   test -n "${am_cv_prog_tar_$1}" && break
  1081 
  1082   # tar/untar a dummy directory, and stop if the command works
  1083   rm -rf conftest.dir
  1084   mkdir conftest.dir
  1085   echo GrepMe > conftest.dir/file
  1086   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  1087   rm -rf conftest.dir
  1088   if test -s conftest.tar; then
  1089     AM_RUN_LOG([$am__untar <conftest.tar])
  1090     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  1091   fi
  1092 done
  1093 rm -rf conftest.dir
  1094 
  1095 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  1096 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  1097 AC_SUBST([am__tar])
  1098 AC_SUBST([am__untar])
  1099 ]) # _AM_PROG_TAR
  1100 
  1101 m4_include([acinclude/libtool.m4])
  1102 m4_include([acinclude/ltoptions.m4])
  1103 m4_include([acinclude/ltsugar.m4])
  1104 m4_include([acinclude/ltversion.m4])
  1105 m4_include([acinclude/lt~obsolete.m4])
  1106 m4_include([acinclude/pkg.m4])
  1107 m4_include([acinclude/sdl2.m4])