~ubuntu-branches/ubuntu/maverick/vte/maverick-updates

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-09-22 10:32:48 UTC
  • mto: (3.2.1 sid) (1.4.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: james.westby@ubuntu.com-20090922103248-h3sba1b2lzzoheeg
Tags: upstream-0.21.5
ImportĀ upstreamĀ versionĀ 0.21.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
8883
8883
# generated from the m4 files accompanying Automake X.Y.
8884
8884
# (This private macro should not be called outside this file.)
8885
8885
AC_DEFUN([AM_AUTOMAKE_VERSION],
8886
 
[am__api_version='1.10'
 
8886
[am__api_version='1.11'
8887
8887
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8888
8888
dnl require some minimum version.  Point them to the right macro.
8889
 
m4_if([$1], [1.10.2], [],
 
8889
m4_if([$1], [1.11], [],
8890
8890
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8891
8891
])
8892
8892
 
8902
8902
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8903
8903
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8904
8904
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8905
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
8905
[AM_AUTOMAKE_VERSION([1.11])dnl
8906
8906
m4_ifndef([AC_AUTOCONF_VERSION],
8907
8907
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8908
8908
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8985
8985
 
8986
8986
# AM_CONDITIONAL                                            -*- Autoconf -*-
8987
8987
 
8988
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
8988
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8989
8989
# Free Software Foundation, Inc.
8990
8990
#
8991
8991
# This file is free software; the Free Software Foundation
8992
8992
# gives unlimited permission to copy and/or distribute it,
8993
8993
# with or without modifications, as long as this notice is preserved.
8994
8994
 
8995
 
# serial 8
 
8995
# serial 9
8996
8996
 
8997
8997
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8998
8998
# -------------------------------------
9005
9005
AC_SUBST([$1_FALSE])dnl
9006
9006
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
9007
9007
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
9008
m4_define([_AM_COND_VALUE_$1], [$2])dnl
9008
9009
if $2; then
9009
9010
  $1_TRUE=
9010
9011
  $1_FALSE='#'
9018
9019
Usually this means the macro was only invoked conditionally.]])
9019
9020
fi])])
9020
9021
 
9021
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
9022
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9022
9023
# Free Software Foundation, Inc.
9023
9024
#
9024
9025
# This file is free software; the Free Software Foundation
9025
9026
# gives unlimited permission to copy and/or distribute it,
9026
9027
# with or without modifications, as long as this notice is preserved.
9027
9028
 
9028
 
# serial 9
 
9029
# serial 10
9029
9030
 
9030
9031
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9031
9032
# written in clear, in which case automake, when reading aclocal.m4,
9082
9083
  if test "$am_compiler_list" = ""; then
9083
9084
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9084
9085
  fi
 
9086
  am__universal=false
 
9087
  m4_case([$1], [CC],
 
9088
    [case " $depcc " in #(
 
9089
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9090
     esac],
 
9091
    [CXX],
 
9092
    [case " $depcc " in #(
 
9093
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9094
     esac])
 
9095
 
9085
9096
  for depmode in $am_compiler_list; do
9086
9097
    # Setup a source with many dependencies, because some compilers
9087
9098
    # like to wrap large dependency lists on column 80 (with \), and
9099
9110
    done
9100
9111
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9101
9112
 
 
9113
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
9114
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
9115
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
9116
    # versions had trouble with output in subdirs
 
9117
    am__obj=sub/conftest.${OBJEXT-o}
 
9118
    am__minus_obj="-o $am__obj"
9102
9119
    case $depmode in
 
9120
    gcc)
 
9121
      # This depmode causes a compiler race in universal mode.
 
9122
      test "$am__universal" = false || continue
 
9123
      ;;
9103
9124
    nosideeffect)
9104
9125
      # after this tag, mechanisms are not by side-effect, so they'll
9105
9126
      # only be used when explicitly requested
9109
9130
        break
9110
9131
      fi
9111
9132
      ;;
 
9133
    msvisualcpp | msvcmsys)
 
9134
      # This compiler won't grok `-c -o', but also, the minuso test has
 
9135
      # not run yet.  These depmodes are late enough in the game, and
 
9136
      # so weak that their functioning should not be impacted.
 
9137
      am__obj=conftest.${OBJEXT-o}
 
9138
      am__minus_obj=
 
9139
      ;;
9112
9140
    none) break ;;
9113
9141
    esac
9114
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9115
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9116
 
    # handle `-M -o', and we need to detect this.
9117
9142
    if depmode=$depmode \
9118
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
9143
       source=sub/conftest.c object=$am__obj \
9119
9144
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9120
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
9145
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9121
9146
         >/dev/null 2>conftest.err &&
9122
9147
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9123
9148
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9124
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
9149
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9125
9150
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9126
9151
      # icc doesn't choke on unknown options, it will just issue warnings
9127
9152
      # or remarks (even with -Werror).  So we grep stderr for any message
9185
9210
# gives unlimited permission to copy and/or distribute it,
9186
9211
# with or without modifications, as long as this notice is preserved.
9187
9212
 
9188
 
#serial 4
 
9213
#serial 5
9189
9214
 
9190
9215
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9191
9216
# ------------------------------
9192
9217
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9193
 
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
9194
 
# are listed without --file.  Let's play safe and only enable the eval
9195
 
# if we detect the quoting.
9196
 
case $CONFIG_FILES in
9197
 
*\'*) eval set x "$CONFIG_FILES" ;;
9198
 
*)   set x $CONFIG_FILES ;;
9199
 
esac
9200
 
shift
9201
 
for mf
9202
 
do
9203
 
  # Strip MF so we end up with the name of the file.
9204
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9205
 
  # Check whether this is an Automake generated Makefile or not.
9206
 
  # We used to match only the files named `Makefile.in', but
9207
 
  # some people rename them; so instead we look at the file content.
9208
 
  # Grep'ing the first line is not enough: some people post-process
9209
 
  # each Makefile.in and add a new line on top of each file to say so.
9210
 
  # Grep'ing the whole file is not good either: AIX grep has a line
9211
 
  # limit of 2048, but all sed's we know have understand at least 4000.
9212
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9213
 
    dirpart=`AS_DIRNAME("$mf")`
9214
 
  else
9215
 
    continue
9216
 
  fi
9217
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9218
 
  # from the Makefile without running `make'.
9219
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9220
 
  test -z "$DEPDIR" && continue
9221
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9222
 
  test -z "am__include" && continue
9223
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9224
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9225
 
  U=`sed -n 's/^U = //p' < "$mf"`
9226
 
  # Find all dependency output files, they are included files with
9227
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9228
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9229
 
  # expansion.
9230
 
  for file in `sed -n "
9231
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9232
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9233
 
    # Make sure the directory exists.
9234
 
    test -f "$dirpart/$file" && continue
9235
 
    fdir=`AS_DIRNAME(["$file"])`
9236
 
    AS_MKDIR_P([$dirpart/$fdir])
9237
 
    # echo "creating $dirpart/$file"
9238
 
    echo '# dummy' > "$dirpart/$file"
 
9218
[{
 
9219
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9220
  # are listed without --file.  Let's play safe and only enable the eval
 
9221
  # if we detect the quoting.
 
9222
  case $CONFIG_FILES in
 
9223
  *\'*) eval set x "$CONFIG_FILES" ;;
 
9224
  *)   set x $CONFIG_FILES ;;
 
9225
  esac
 
9226
  shift
 
9227
  for mf
 
9228
  do
 
9229
    # Strip MF so we end up with the name of the file.
 
9230
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9231
    # Check whether this is an Automake generated Makefile or not.
 
9232
    # We used to match only the files named `Makefile.in', but
 
9233
    # some people rename them; so instead we look at the file content.
 
9234
    # Grep'ing the first line is not enough: some people post-process
 
9235
    # each Makefile.in and add a new line on top of each file to say so.
 
9236
    # Grep'ing the whole file is not good either: AIX grep has a line
 
9237
    # limit of 2048, but all sed's we know have understand at least 4000.
 
9238
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
9239
      dirpart=`AS_DIRNAME("$mf")`
 
9240
    else
 
9241
      continue
 
9242
    fi
 
9243
    # Extract the definition of DEPDIR, am__include, and am__quote
 
9244
    # from the Makefile without running `make'.
 
9245
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9246
    test -z "$DEPDIR" && continue
 
9247
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9248
    test -z "am__include" && continue
 
9249
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9250
    # When using ansi2knr, U may be empty or an underscore; expand it
 
9251
    U=`sed -n 's/^U = //p' < "$mf"`
 
9252
    # Find all dependency output files, they are included files with
 
9253
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9254
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
9255
    # expansion.
 
9256
    for file in `sed -n "
 
9257
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9258
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9259
      # Make sure the directory exists.
 
9260
      test -f "$dirpart/$file" && continue
 
9261
      fdir=`AS_DIRNAME(["$file"])`
 
9262
      AS_MKDIR_P([$dirpart/$fdir])
 
9263
      # echo "creating $dirpart/$file"
 
9264
      echo '# dummy' > "$dirpart/$file"
 
9265
    done
9239
9266
  done
9240
 
done
 
9267
}
9241
9268
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9242
9269
 
9243
9270
 
9257
9284
# Do all the work for Automake.                             -*- Autoconf -*-
9258
9285
 
9259
9286
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9260
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
9287
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9261
9288
#
9262
9289
# This file is free software; the Free Software Foundation
9263
9290
# gives unlimited permission to copy and/or distribute it,
9264
9291
# with or without modifications, as long as this notice is preserved.
9265
9292
 
9266
 
# serial 13
 
9293
# serial 16
9267
9294
 
9268
9295
# This macro actually does too much.  Some checks are only needed if
9269
9296
# your package does certain things.  But this isn't really a big deal.
9280
9307
# arguments mandatory, and then we can depend on a new Autoconf
9281
9308
# release and drop the old call support.
9282
9309
AC_DEFUN([AM_INIT_AUTOMAKE],
9283
 
[AC_PREREQ([2.60])dnl
 
9310
[AC_PREREQ([2.62])dnl
9284
9311
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
9285
9312
dnl the ones we care about.
9286
9313
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9331
9358
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9332
9359
AM_MISSING_PROG(AUTOHEADER, autoheader)
9333
9360
AM_MISSING_PROG(MAKEINFO, makeinfo)
9334
 
AM_PROG_INSTALL_SH
9335
 
AM_PROG_INSTALL_STRIP
 
9361
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
9362
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9336
9363
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9337
9364
# We need awk for the "check" target.  The system "awk" is bad on
9338
9365
# some platforms.
9340
9367
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9341
9368
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9342
9369
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9343
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9344
 
                             [_AM_PROG_TAR([v7])])])
 
9370
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
9371
                             [_AM_PROG_TAR([v7])])])
9345
9372
_AM_IF_OPTION([no-dependencies],,
9346
9373
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9347
 
                  [_AM_DEPENDENCIES(CC)],
9348
 
                  [define([AC_PROG_CC],
9349
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
9374
                  [_AM_DEPENDENCIES(CC)],
 
9375
                  [define([AC_PROG_CC],
 
9376
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9350
9377
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9351
 
                  [_AM_DEPENDENCIES(CXX)],
9352
 
                  [define([AC_PROG_CXX],
9353
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
9378
                  [_AM_DEPENDENCIES(CXX)],
 
9379
                  [define([AC_PROG_CXX],
 
9380
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9354
9381
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9355
 
                  [_AM_DEPENDENCIES(OBJC)],
9356
 
                  [define([AC_PROG_OBJC],
9357
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9358
 
])
9359
 
])
 
9382
                  [_AM_DEPENDENCIES(OBJC)],
 
9383
                  [define([AC_PROG_OBJC],
 
9384
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
9385
])
 
9386
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
9387
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
9388
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
9389
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
9390
AC_CONFIG_COMMANDS_PRE(dnl
 
9391
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
9392
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
9393
])
 
9394
 
 
9395
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
9396
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
9397
dnl mangled by Autoconf and run in a shell conditional statement.
 
9398
m4_define([_AC_COMPILER_EXEEXT],
 
9399
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9360
9400
 
9361
9401
 
9362
9402
# When config.status generates a header, we must update the stamp-h file.
9380
9420
done
9381
9421
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9382
9422
 
9383
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9423
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
9384
9424
#
9385
9425
# This file is free software; the Free Software Foundation
9386
9426
# gives unlimited permission to copy and/or distribute it,
9391
9431
# Define $install_sh.
9392
9432
AC_DEFUN([AM_PROG_INSTALL_SH],
9393
9433
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9394
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
9434
if test x"${install_sh}" != xset; then
 
9435
  case $am_aux_dir in
 
9436
  *\ * | *\     *)
 
9437
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
9438
  *)
 
9439
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
9440
  esac
 
9441
fi
9395
9442
AC_SUBST(install_sh)])
9396
9443
 
9397
9444
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
9418
9465
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
9419
9466
# From Jim Meyering
9420
9467
 
9421
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
9468
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9422
9469
# Free Software Foundation, Inc.
9423
9470
#
9424
9471
# This file is free software; the Free Software Foundation
9425
9472
# gives unlimited permission to copy and/or distribute it,
9426
9473
# with or without modifications, as long as this notice is preserved.
9427
9474
 
9428
 
# serial 4
 
9475
# serial 5
9429
9476
 
 
9477
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
9478
# ----------------------------------
 
9479
# Control maintainer-specific portions of Makefiles.
 
9480
# Default is to disable them, unless `enable' is passed literally.
 
9481
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
9482
# can override the default with the --enable/--disable switch.
9430
9483
AC_DEFUN([AM_MAINTAINER_MODE],
9431
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9432
 
  dnl maintainer-mode is disabled by default
9433
 
  AC_ARG_ENABLE(maintainer-mode,
9434
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
9484
[m4_case(m4_default([$1], [disable]),
 
9485
       [enable], [m4_define([am_maintainer_other], [disable])],
 
9486
       [disable], [m4_define([am_maintainer_other], [enable])],
 
9487
       [m4_define([am_maintainer_other], [enable])
 
9488
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
9489
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
9490
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
9491
  AC_ARG_ENABLE([maintainer-mode],
 
9492
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
9435
9493
                          (and sometimes confusing) to the casual installer],
9436
 
      USE_MAINTAINER_MODE=$enableval,
9437
 
      USE_MAINTAINER_MODE=no)
 
9494
      [USE_MAINTAINER_MODE=$enableval],
 
9495
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9438
9496
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9439
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
9497
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9440
9498
  MAINT=$MAINTAINER_MODE_TRUE
9441
 
  AC_SUBST(MAINT)dnl
 
9499
  AC_SUBST([MAINT])dnl
9442
9500
]
9443
9501
)
9444
9502
 
9446
9504
 
9447
9505
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
9448
9506
 
9449
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9507
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
9450
9508
#
9451
9509
# This file is free software; the Free Software Foundation
9452
9510
# gives unlimited permission to copy and/or distribute it,
9453
9511
# with or without modifications, as long as this notice is preserved.
9454
9512
 
9455
 
# serial 3
 
9513
# serial 4
9456
9514
 
9457
9515
# AM_MAKE_INCLUDE()
9458
9516
# -----------------
9461
9519
[am_make=${MAKE-make}
9462
9520
cat > confinc << 'END'
9463
9521
am__doit:
9464
 
        @echo done
 
9522
        @echo this is the am__doit target
9465
9523
.PHONY: am__doit
9466
9524
END
9467
9525
# If we don't find an include directive, just comment out the code.
9471
9529
_am_result=none
9472
9530
# First try GNU make style include.
9473
9531
echo "include confinc" > confmf
9474
 
# We grep out `Entering directory' and `Leaving directory'
9475
 
# messages which can occur if `w' ends up in MAKEFLAGS.
9476
 
# In particular we don't look at `^make:' because GNU make might
9477
 
# be invoked under some other name (usually "gmake"), in which
9478
 
# case it prints its new name instead of `make'.
9479
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9480
 
   am__include=include
9481
 
   am__quote=
9482
 
   _am_result=GNU
9483
 
fi
 
9532
# Ignore all kinds of additional output from `make'.
 
9533
case `$am_make -s -f confmf 2> /dev/null` in #(
 
9534
*the\ am__doit\ target*)
 
9535
  am__include=include
 
9536
  am__quote=
 
9537
  _am_result=GNU
 
9538
  ;;
 
9539
esac
9484
9540
# Now try BSD make style include.
9485
9541
if test "$am__include" = "#"; then
9486
9542
   echo '.include "confinc"' > confmf
9487
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9488
 
      am__include=.include
9489
 
      am__quote="\""
9490
 
      _am_result=BSD
9491
 
   fi
 
9543
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
9544
   *the\ am__doit\ target*)
 
9545
     am__include=.include
 
9546
     am__quote="\""
 
9547
     _am_result=BSD
 
9548
     ;;
 
9549
   esac
9492
9550
fi
9493
9551
AC_SUBST([am__include])
9494
9552
AC_SUBST([am__quote])
9533
9591
 
9534
9592
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
9535
9593
 
9536
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
9594
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9537
9595
# Free Software Foundation, Inc.
9538
9596
#
9539
9597
# This file is free software; the Free Software Foundation
9540
9598
# gives unlimited permission to copy and/or distribute it,
9541
9599
# with or without modifications, as long as this notice is preserved.
9542
9600
 
9543
 
# serial 5
 
9601
# serial 6
9544
9602
 
9545
9603
# AM_MISSING_PROG(NAME, PROGRAM)
9546
9604
# ------------------------------
9557
9615
AC_DEFUN([AM_MISSING_HAS_RUN],
9558
9616
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9559
9617
AC_REQUIRE_AUX_FILE([missing])dnl
9560
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
9618
if test x"${MISSING+set}" != xset; then
 
9619
  case $am_aux_dir in
 
9620
  *\ * | *\     *)
 
9621
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
9622
  *)
 
9623
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
9624
  esac
 
9625
fi
9561
9626
# Use eval to expand $SHELL
9562
9627
if eval "$MISSING --run true"; then
9563
9628
  am_missing_run="$MISSING --run "
9626
9691
AC_DEFUN([_AM_IF_OPTION],
9627
9692
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
9628
9693
 
9629
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
9694
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
9630
9695
# Free Software Foundation, Inc.
9631
9696
#
9632
9697
# This file is free software; the Free Software Foundation
9657
9722
# numbers and dots only.
9658
9723
AC_DEFUN([AM_PATH_PYTHON],
9659
9724
 [
9660
 
  dnl Find a Python interpreter.  Python versions prior to 1.5 are not
9661
 
  dnl supported because the default installation locations changed from
9662
 
  dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
9663
 
  dnl in 1.5.
 
9725
  dnl Find a Python interpreter.  Python versions prior to 2.0 are not
 
9726
  dnl supported. (2.0 was released on October 16, 2000).
9664
9727
  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
9665
 
                    [python python2 python2.5 python2.4 python2.3 python2.2 dnl
9666
 
python2.1 python2.0 python1.6 python1.5])
 
9728
                    [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
 
9729
python2.1 python2.0])
9667
9730
 
9668
9731
  m4_if([$1],[],[
9669
9732
    dnl No version check is needed.
9710
9773
  dnl library.
9711
9774
 
9712
9775
  AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
9713
 
    [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`])
 
9776
    [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
9714
9777
  AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
9715
9778
 
9716
9779
  dnl Use the values of $prefix and $exec_prefix for the corresponding
9725
9788
  dnl to know which OS platform Python thinks this is.
9726
9789
 
9727
9790
  AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
9728
 
    [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`])
 
9791
    [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
9729
9792
  AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
9730
9793
 
9731
9794
 
9740
9803
  dnl doesn't work.
9741
9804
  AC_CACHE_CHECK([for $am_display_PYTHON script directory],
9742
9805
    [am_cv_python_pythondir],
9743
 
    [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
9744
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
 
9806
    [if test "x$prefix" = xNONE
 
9807
     then
 
9808
       am_py_prefix=$ac_default_prefix
 
9809
     else
 
9810
       am_py_prefix=$prefix
 
9811
     fi
 
9812
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
 
9813
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
9814
     case $am_cv_python_pythondir in
 
9815
     $am_py_prefix*)
 
9816
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
9817
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
9818
       ;;
 
9819
     esac
 
9820
    ])
9745
9821
  AC_SUBST([pythondir], [$am_cv_python_pythondir])
9746
9822
 
9747
9823
  dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was
9757
9833
  dnl doesn't work.
9758
9834
  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
9759
9835
    [am_cv_python_pyexecdir],
9760
 
    [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
9761
 
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`])
 
9836
    [if test "x$exec_prefix" = xNONE
 
9837
     then
 
9838
       am_py_exec_prefix=$am_py_prefix
 
9839
     else
 
9840
       am_py_exec_prefix=$exec_prefix
 
9841
     fi
 
9842
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
 
9843
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
9844
     case $am_cv_python_pyexecdir in
 
9845
     $am_py_exec_prefix*)
 
9846
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
9847
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
9848
       ;;
 
9849
     esac
 
9850
    ])
9762
9851
  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
9763
9852
 
9764
9853
  dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
9778
9867
# Run ACTION-IF-FALSE otherwise.
9779
9868
# This test uses sys.hexversion instead of the string equivalent (first
9780
9869
# word of sys.version), in order to cope with versions such as 2.2c1.
9781
 
# hexversion has been introduced in Python 1.5.2; it's probably not
9782
 
# worth to support older versions (1.5.1 was released on October 31, 1998).
 
9870
# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
9783
9871
AC_DEFUN([AM_PYTHON_CHECK_VERSION],
9784
 
 [prog="import sys, string
 
9872
 [prog="import sys
9785
9873
# split strings by '.' and convert to numeric.  Append some zeros
9786
9874
# because we need at least 4 digits for the hex conversion.
9787
 
minver = map(int, string.split('$2', '.')) + [[0, 0, 0]]
 
9875
# map returns an iterator in Python 3.0 and a list in 2.x
 
9876
minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
9788
9877
minverhex = 0
9789
 
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]]
 
9878
# xrange is not present in Python 3.0 and range returns an iterator
 
9879
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
9790
9880
sys.exit(sys.hexversion < minverhex)"
9791
9881
  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
9792
9882
 
9793
9883
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
9794
9884
 
9795
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
9885
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
9796
9886
# Free Software Foundation, Inc.
9797
9887
#
9798
9888
# This file is free software; the Free Software Foundation
9799
9889
# gives unlimited permission to copy and/or distribute it,
9800
9890
# with or without modifications, as long as this notice is preserved.
9801
9891
 
9802
 
# serial 4
 
9892
# serial 5
9803
9893
 
9804
9894
# AM_SANITY_CHECK
9805
9895
# ---------------
9808
9898
# Just in case
9809
9899
sleep 1
9810
9900
echo timestamp > conftest.file
 
9901
# Reject unsafe characters in $srcdir or the absolute working directory
 
9902
# name.  Accept space and tab only in the latter.
 
9903
am_lf='
 
9904
'
 
9905
case `pwd` in
 
9906
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
9907
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
9908
esac
 
9909
case $srcdir in
 
9910
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
9911
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
9912
esac
 
9913
 
9811
9914
# Do `set' in a subshell so we don't clobber the current shell's
9812
9915
# arguments.  Must try -L first in case configure is actually a
9813
9916
# symlink; some systems play weird games with the mod time of symlinks
9814
9917
# (eg FreeBSD returns the mod time of the symlink's containing
9815
9918
# directory).
9816
9919
if (
9817
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
9920
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9818
9921
   if test "$[*]" = "X"; then
9819
9922
      # -L didn't work.
9820
 
      set X `ls -t $srcdir/configure conftest.file`
 
9923
      set X `ls -t "$srcdir/configure" conftest.file`
9821
9924
   fi
9822
9925
   rm -f conftest.file
9823
9926
   if test "$[*]" != "X $srcdir/configure conftest.file" \
9842
9945
fi
9843
9946
AC_MSG_RESULT(yes)])
9844
9947
 
 
9948
# Copyright (C) 2009  Free Software Foundation, Inc.
 
9949
#
 
9950
# This file is free software; the Free Software Foundation
 
9951
# gives unlimited permission to copy and/or distribute it,
 
9952
# with or without modifications, as long as this notice is preserved.
 
9953
 
 
9954
# serial 1
 
9955
 
 
9956
# AM_SILENT_RULES([DEFAULT])
 
9957
# --------------------------
 
9958
# Enable less verbose build rules; with the default set to DEFAULT
 
9959
# (`yes' being less verbose, `no' or empty being verbose).
 
9960
AC_DEFUN([AM_SILENT_RULES],
 
9961
[AC_ARG_ENABLE([silent-rules],
 
9962
[  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
9963
  --disable-silent-rules         verbose build output (undo: `make V=0')])
 
9964
case $enable_silent_rules in
 
9965
yes) AM_DEFAULT_VERBOSITY=0;;
 
9966
no)  AM_DEFAULT_VERBOSITY=1;;
 
9967
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 
9968
esac
 
9969
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 
9970
AM_BACKSLASH='\'
 
9971
AC_SUBST([AM_BACKSLASH])dnl
 
9972
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 
9973
])
 
9974
 
9845
9975
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
9846
9976
#
9847
9977
# This file is free software; the Free Software Foundation
9870
10000
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9871
10001
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9872
10002
 
9873
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
10003
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
9874
10004
#
9875
10005
# This file is free software; the Free Software Foundation
9876
10006
# gives unlimited permission to copy and/or distribute it,
9877
10007
# with or without modifications, as long as this notice is preserved.
9878
10008
 
 
10009
# serial 2
 
10010
 
9879
10011
# _AM_SUBST_NOTMAKE(VARIABLE)
9880
10012
# ---------------------------
9881
10013
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9882
10014
# This macro is traced by Automake.
9883
10015
AC_DEFUN([_AM_SUBST_NOTMAKE])
9884
10016
 
 
10017
# AM_SUBST_NOTMAKE(VARIABLE)
 
10018
# ---------------------------
 
10019
# Public sister of _AM_SUBST_NOTMAKE.
 
10020
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
10021
 
9885
10022
# Check how to create a tarball.                            -*- Autoconf -*-
9886
10023
 
9887
10024
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.