|
|
@ -1,7 +1,8 @@ |
|
|
|
# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
|
|
|
# generated automatically by aclocal 1.11.3 -*- Autoconf -*- |
|
|
|
|
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
|
|
|
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
|
|
|
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, |
|
|
|
# Inc. |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
@ -13,18 +14,120 @@ |
|
|
|
|
|
|
|
m4_ifndef([AC_AUTOCONF_VERSION], |
|
|
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
|
|
|
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, |
|
|
|
[m4_warning([this file was generated for autoconf 2.65. |
|
|
|
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |
|
|
|
[m4_warning([this file was generated for autoconf 2.68. |
|
|
|
You have another version of autoconf. It may work, but is not guaranteed to. |
|
|
|
If you have problems, you may need to regenerate the build system entirely. |
|
|
|
To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
|
|
|
|
|
|
|
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|
|
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
|
|
|
# |
|
|
|
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. |
|
|
|
# Written by Scott James Remnant, 2004. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation gives |
|
|
|
# unlimited permission to copy and/or distribute it, with or without |
|
|
|
# modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 5 lt~obsolete.m4 |
|
|
|
|
|
|
|
# These exist entirely to fool aclocal when bootstrapping libtool. |
|
|
|
# |
|
|
|
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) |
|
|
|
# which have later been changed to m4_define as they aren't part of the |
|
|
|
# exported API, or moved to Autoconf or Automake where they belong. |
|
|
|
# |
|
|
|
# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN |
|
|
|
# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us |
|
|
|
# using a macro with the same name in our local m4/libtool.m4 it'll |
|
|
|
# pull the old libtool.m4 in (it doesn't see our shiny new m4_define |
|
|
|
# and doesn't know about Autoconf macros at all.) |
|
|
|
# |
|
|
|
# So we provide this file, which has a silly filename so it's always |
|
|
|
# included after everything else. This provides aclocal with the |
|
|
|
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything |
|
|
|
# because those macros already exist, or will be overwritten later. |
|
|
|
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. |
|
|
|
# |
|
|
|
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. |
|
|
|
# Yes, that means every name once taken will need to remain here until |
|
|
|
# we give up compatibility with versions before 1.7, at which point |
|
|
|
# we need to keep only those names which we still refer to. |
|
|
|
|
|
|
|
# This is to help aclocal find these macros, as it can't see m4_define. |
|
|
|
AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) |
|
|
|
|
|
|
|
m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) |
|
|
|
m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) |
|
|
|
m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) |
|
|
|
m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) |
|
|
|
m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) |
|
|
|
m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) |
|
|
|
m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) |
|
|
|
m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) |
|
|
|
m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) |
|
|
|
m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) |
|
|
|
m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) |
|
|
|
m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) |
|
|
|
m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) |
|
|
|
m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) |
|
|
|
m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) |
|
|
|
m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) |
|
|
|
m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) |
|
|
|
m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) |
|
|
|
m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) |
|
|
|
m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) |
|
|
|
m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) |
|
|
|
m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) |
|
|
|
m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) |
|
|
|
m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) |
|
|
|
m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) |
|
|
|
m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) |
|
|
|
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) |
|
|
|
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
|
|
|
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) |
|
|
|
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) |
|
|
|
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) |
|
|
|
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) |
|
|
|
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) |
|
|
|
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) |
|
|
|
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
|
|
|
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
|
|
|
|
|
|
|
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software |
|
|
|
# Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 1 |
|
|
|
|
|
|
|
# AM_AUTOMAKE_VERSION(VERSION) |
|
|
|
# ---------------------------- |
|
|
|
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
|
|
@ -34,7 +137,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], |
|
|
|
[am__api_version='1.11' |
|
|
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
|
|
|
dnl require some minimum version. Point them to the right macro. |
|
|
|
m4_if([$1], [1.11.1], [], |
|
|
|
m4_if([$1], [1.11.3], [], |
|
|
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
|
|
|
]) |
|
|
|
|
|
|
@ -50,19 +153,21 @@ m4_define([_AM_AUTOCONF_VERSION], []) |
|
|
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
|
|
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
|
|
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
|
|
|
[AM_AUTOMAKE_VERSION([1.11.1])dnl |
|
|
|
[AM_AUTOMAKE_VERSION([1.11.3])dnl |
|
|
|
m4_ifndef([AC_AUTOCONF_VERSION], |
|
|
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
|
|
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
|
|
|
|
|
|
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
|
|
|
|
|
|
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 1 |
|
|
|
|
|
|
|
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
|
|
|
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
|
|
|
# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
|
|
@ -144,14 +249,14 @@ AC_CONFIG_COMMANDS_PRE( |
|
|
|
Usually this means the macro was only invoked conditionally.]]) |
|
|
|
fi])]) |
|
|
|
|
|
|
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 |
|
|
|
# Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, |
|
|
|
# 2010, 2011 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 10 |
|
|
|
# serial 12 |
|
|
|
|
|
|
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
|
|
|
# written in clear, in which case automake, when reading aclocal.m4, |
|
|
@ -191,6 +296,7 @@ AC_CACHE_CHECK([dependency style of $depcc], |
|
|
|
# instance it was reported that on HP-UX the gcc test will end up |
|
|
|
# making a dummy file named `D' -- because `-MD' means `put the output |
|
|
|
# in D'. |
|
|
|
rm -rf conftest.dir |
|
|
|
mkdir conftest.dir |
|
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
|
|
# using a relative directory. |
|
|
@ -255,7 +361,7 @@ AC_CACHE_CHECK([dependency style of $depcc], |
|
|
|
break |
|
|
|
fi |
|
|
|
;; |
|
|
|
msvisualcpp | msvcmsys) |
|
|
|
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
|
|
# This compiler won't grok `-c -o', but also, the minuso test has |
|
|
|
# not run yet. These depmodes are late enough in the game, and |
|
|
|
# so weak that their functioning should not be impacted. |
|
|
@ -320,10 +426,13 @@ AC_DEFUN([AM_DEP_TRACK], |
|
|
|
if test "x$enable_dependency_tracking" != xno; then |
|
|
|
am_depcomp="$ac_aux_dir/depcomp" |
|
|
|
AMDEPBACKSLASH='\' |
|
|
|
am__nodep='_no' |
|
|
|
fi |
|
|
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
|
|
|
AC_SUBST([AMDEPBACKSLASH])dnl |
|
|
|
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
|
|
|
AC_SUBST([am__nodep])dnl |
|
|
|
_AM_SUBST_NOTMAKE([am__nodep])dnl |
|
|
|
]) |
|
|
|
|
|
|
|
# Generate code to set up dependency tracking. -*- Autoconf -*- |
|
|
@ -545,12 +654,15 @@ for _am_header in $config_headers :; do |
|
|
|
done |
|
|
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
|
|
|
|
|
|
|
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, |
|
|
|
# Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 1 |
|
|
|
|
|
|
|
# AM_PROG_INSTALL_SH |
|
|
|
# ------------------ |
|
|
|
# Define $install_sh. |
|
|
@ -682,12 +794,15 @@ else |
|
|
|
fi |
|
|
|
]) |
|
|
|
|
|
|
|
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, |
|
|
|
# Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 1 |
|
|
|
|
|
|
|
# AM_PROG_MKDIR_P |
|
|
|
# --------------- |
|
|
|
# Check for `mkdir -p'. |
|
|
@ -710,13 +825,14 @@ esac |
|
|
|
|
|
|
|
# Helper functions for option handling. -*- Autoconf -*- |
|
|
|
|
|
|
|
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software |
|
|
|
# Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 4 |
|
|
|
# serial 5 |
|
|
|
|
|
|
|
# _AM_MANGLE_OPTION(NAME) |
|
|
|
# ----------------------- |
|
|
@ -724,13 +840,13 @@ AC_DEFUN([_AM_MANGLE_OPTION], |
|
|
|
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
|
|
|
|
|
|
|
# _AM_SET_OPTION(NAME) |
|
|
|
# ------------------------------ |
|
|
|
# -------------------- |
|
|
|
# Set option NAME. Presently that only means defining a flag for this option. |
|
|
|
AC_DEFUN([_AM_SET_OPTION], |
|
|
|
[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
|
|
|
|
|
|
|
# _AM_SET_OPTIONS(OPTIONS) |
|
|
|
# ---------------------------------- |
|
|
|
# ------------------------ |
|
|
|
# OPTIONS is a space-separated list of Automake options. |
|
|
|
AC_DEFUN([_AM_SET_OPTIONS], |
|
|
|
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
|
|
@ -741,13 +857,15 @@ AC_DEFUN([_AM_SET_OPTIONS], |
|
|
|
AC_DEFUN([_AM_IF_OPTION], |
|
|
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
|
|
|
|
|
|
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 |
|
|
|
# Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009, |
|
|
|
# 2011 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 2 |
|
|
|
|
|
|
|
# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
|
|
|
# --------------------------------------------------------------------------- |
|
|
|
# Adds support for distributing Python modules and packages. To |
|
|
@ -775,8 +893,10 @@ AC_DEFUN([AM_PATH_PYTHON], |
|
|
|
dnl Find a Python interpreter. Python versions prior to 2.0 are not |
|
|
|
dnl supported. (2.0 was released on October 16, 2000). |
|
|
|
m4_define_default([_AM_PYTHON_INTERPRETER_LIST], |
|
|
|
[python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl |
|
|
|
python2.1 python2.0]) |
|
|
|
[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl |
|
|
|
python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0]) |
|
|
|
|
|
|
|
AC_ARG_VAR([PYTHON], [the Python interpreter]) |
|
|
|
|
|
|
|
m4_if([$1],[],[ |
|
|
|
dnl No version check is needed. |
|
|
@ -848,9 +968,7 @@ python2.1 python2.0]) |
|
|
|
dnl site-packages directory, not the python standard library |
|
|
|
dnl directory like in previous automake betas. This behavior |
|
|
|
dnl is more consistent with lispdir.m4 for example. |
|
|
|
dnl Query distutils for this directory. distutils does not exist in |
|
|
|
dnl Python 1.5, so we fall back to the hardcoded directory if it |
|
|
|
dnl doesn't work. |
|
|
|
dnl Query distutils for this directory. |
|
|
|
AC_CACHE_CHECK([for $am_display_PYTHON script directory], |
|
|
|
[am_cv_python_pythondir], |
|
|
|
[if test "x$prefix" = xNONE |
|
|
@ -859,8 +977,7 @@ python2.1 python2.0]) |
|
|
|
else |
|
|
|
am_py_prefix=$prefix |
|
|
|
fi |
|
|
|
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 || |
|
|
|
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
|
|
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` |
|
|
|
case $am_cv_python_pythondir in |
|
|
|
$am_py_prefix*) |
|
|
|
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` |
|
|
@ -886,9 +1003,7 @@ python2.1 python2.0]) |
|
|
|
|
|
|
|
dnl pyexecdir -- directory for installing python extension modules |
|
|
|
dnl (shared libraries) |
|
|
|
dnl Query distutils for this directory. distutils does not exist in |
|
|
|
dnl Python 1.5, so we fall back to the hardcoded directory if it |
|
|
|
dnl doesn't work. |
|
|
|
dnl Query distutils for this directory. |
|
|
|
AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], |
|
|
|
[am_cv_python_pyexecdir], |
|
|
|
[if test "x$exec_prefix" = xNONE |
|
|
@ -897,8 +1012,7 @@ python2.1 python2.0]) |
|
|
|
else |
|
|
|
am_py_exec_prefix=$exec_prefix |
|
|
|
fi |
|
|
|
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 || |
|
|
|
echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
|
|
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` |
|
|
|
case $am_cv_python_pyexecdir in |
|
|
|
$am_py_exec_prefix*) |
|
|
|
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` |
|
|
@ -946,12 +1060,14 @@ for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] |
|
|
|
sys.exit(sys.hexversion < minverhex)" |
|
|
|
AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) |
|
|
|
|
|
|
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 1 |
|
|
|
|
|
|
|
# AM_RUN_LOG(COMMAND) |
|
|
|
# ------------------- |
|
|
|
# Run COMMAND, save the exit status in ac_status, and log it. |
|
|
@ -1028,12 +1144,14 @@ Check your system clock]) |
|
|
|
fi |
|
|
|
AC_MSG_RESULT(yes)]) |
|
|
|
|
|
|
|
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 1 |
|
|
|
|
|
|
|
# AM_PROG_INSTALL_STRIP |
|
|
|
# --------------------- |
|
|
|
# One issue with vendor `install' (even GNU) is that you can't |
|
|
@ -1056,13 +1174,13 @@ fi |
|
|
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
|
|
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
|
|
|
|
|
|
|
# Copyright (C) 2006, 2008 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
|
# with or without modifications, as long as this notice is preserved. |
|
|
|
|
|
|
|
# serial 2 |
|
|
|
# serial 3 |
|
|
|
|
|
|
|
# _AM_SUBST_NOTMAKE(VARIABLE) |
|
|
|
# --------------------------- |
|
|
@ -1071,13 +1189,13 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
|
|
|
AC_DEFUN([_AM_SUBST_NOTMAKE]) |
|
|
|
|
|
|
|
# AM_SUBST_NOTMAKE(VARIABLE) |
|
|
|
# --------------------------- |
|
|
|
# -------------------------- |
|
|
|
# Public sister of _AM_SUBST_NOTMAKE. |
|
|
|
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
|
|
|
|
|
|
|
# Check how to create a tarball. -*- Autoconf -*- |
|
|
|
|
|
|
|
# Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
|
|
|
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This file is free software; the Free Software Foundation |
|
|
|
# gives unlimited permission to copy and/or distribute it, |
|
|
@ -1099,10 +1217,11 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
|
|
|
# a tarball read from stdin. |
|
|
|
# $(am__untar) < result.tar |
|
|
|
AC_DEFUN([_AM_PROG_TAR], |
|
|
|
[# Always define AMTAR for backward compatibility. |
|
|
|
AM_MISSING_PROG([AMTAR], [tar]) |
|
|
|
[# Always define AMTAR for backward compatibility. Yes, it's still used |
|
|
|
# in the wild :-( We should find a proper way to deprecate it ... |
|
|
|
AC_SUBST([AMTAR], ['$${TAR-tar}']) |
|
|
|
m4_if([$1], [v7], |
|
|
|
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], |
|
|
|
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |
|
|
|
[m4_case([$1], [ustar],, [pax],, |
|
|
|
[m4_fatal([Unknown tar format])]) |
|
|
|
AC_MSG_CHECKING([how to create a $1 tar archive]) |
|
|
|