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