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