Changeset 18604 for trunk


Ignore:
Timestamp:
09/17/16 19:06:39 (8 years ago)
Author:
tbretz
Message:
Downgraded to autoconf 1.14
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/aclocal.m4

    r18603 r18604  
    1 # generated automatically by aclocal 1.15 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
     1# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
     2
     3# Copyright (C) 1996-2013 Free Software Foundation, Inc.
    44
    55# This file is free software; the Free Software Foundation
     
    130130        LDFLAGS="$LDFLAGS_SAVED"
    131131        fi
    132 ])
    133 
    134 # ===========================================================================
    135 #       http://www.gnu.org/software/autoconf-archive/ax_boost_base.html
    136 # ===========================================================================
    137 #
    138 # SYNOPSIS
    139 #
    140 #   AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
    141 #
    142 # DESCRIPTION
    143 #
    144 #   Test for the Boost C++ libraries of a particular version (or newer)
    145 #
    146 #   If no path to the installed boost library is given the macro searchs
    147 #   under /usr, /usr/local, /opt and /opt/local and evaluates the
    148 #   $BOOST_ROOT environment variable. Further documentation is available at
    149 #   <http://randspringer.de/boost/index.html>.
    150 #
    151 #   This macro calls:
    152 #
    153 #     AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
    154 #
    155 #   And sets:
    156 #
    157 #     HAVE_BOOST
    158 #
    159 # LICENSE
    160 #
    161 #   Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
    162 #   Copyright (c) 2009 Peter Adolphs
    163 #
    164 #   Copying and distribution of this file, with or without modification, are
    165 #   permitted in any medium without royalty provided the copyright notice
    166 #   and this notice are preserved. This file is offered as-is, without any
    167 #   warranty.
    168 
    169 #serial 26
    170 
    171 AC_DEFUN([AX_BOOST_BASE],
    172 [
    173 AC_ARG_WITH([boost],
    174   [AS_HELP_STRING([--with-boost@<:@=ARG@:>@],
    175     [use Boost library from a standard location (ARG=yes),
    176      from the specified location (ARG=<path>),
    177      or disable it (ARG=no)
    178      @<:@ARG=yes@:>@ ])],
    179     [
    180     if test "$withval" = "no"; then
    181         want_boost="no"
    182     elif test "$withval" = "yes"; then
    183         want_boost="yes"
    184         ac_boost_path=""
    185     else
    186         want_boost="yes"
    187         ac_boost_path="$withval"
    188     fi
    189     ],
    190     [want_boost="yes"])
    191 
    192 
    193 AC_ARG_WITH([boost-libdir],
    194         AS_HELP_STRING([--with-boost-libdir=LIB_DIR],
    195         [Force given directory for boost libraries. Note that this will override library path detection, so use this parameter only if default library detection fails and you know exactly where your boost libraries are located.]),
    196         [
    197         if test -d "$withval"
    198         then
    199                 ac_boost_lib_path="$withval"
    200         else
    201                 AC_MSG_ERROR(--with-boost-libdir expected directory name)
    202         fi
    203         ],
    204         [ac_boost_lib_path=""]
    205 )
    206 
    207 if test "x$want_boost" = "xyes"; then
    208     boost_lib_version_req=ifelse([$1], ,1.20.0,$1)
    209     boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'`
    210     boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'`
    211     boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'`
    212     boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'`
    213     if test "x$boost_lib_version_req_sub_minor" = "x" ; then
    214         boost_lib_version_req_sub_minor="0"
    215         fi
    216     WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+  $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
    217     AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req)
    218     succeeded=no
    219 
    220     dnl On 64-bit systems check for system libraries in both lib64 and lib.
    221     dnl The former is specified by FHS, but e.g. Debian does not adhere to
    222     dnl this (as it rises problems for generic multi-arch support).
    223     dnl The last entry in the list is chosen by default when no libraries
    224     dnl are found, e.g. when only header-only libraries are installed!
    225     libsubdirs="lib"
    226     ax_arch=`uname -m`
    227     case $ax_arch in
    228       x86_64)
    229         libsubdirs="lib64 libx32 lib lib64"
    230         ;;
    231       ppc64|s390x|sparc64|aarch64|ppc64le)
    232         libsubdirs="lib64 lib lib64 ppc64le"
    233         ;;
    234     esac
    235 
    236     dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give
    237     dnl them priority over the other paths since, if libs are found there, they
    238     dnl are almost assuredly the ones desired.
    239     AC_REQUIRE([AC_CANONICAL_HOST])
    240     libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
    241 
    242     case ${host_cpu} in
    243       i?86)
    244         libsubdirs="lib/i386-${host_os} $libsubdirs"
    245         ;;
    246     esac
    247 
    248     dnl first we check the system location for boost libraries
    249     dnl this location ist chosen if boost libraries are installed with the --layout=system option
    250     dnl or if you install boost with RPM
    251     if test "$ac_boost_path" != ""; then
    252         BOOST_CPPFLAGS="-I$ac_boost_path/include"
    253         for ac_boost_path_tmp in $libsubdirs; do
    254                 if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then
    255                         BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp"
    256                         break
    257                 fi
    258         done
    259     elif test "$cross_compiling" != yes; then
    260         for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
    261             if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
    262                 for libsubdir in $libsubdirs ; do
    263                     if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
    264                 done
    265                 BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir"
    266                 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
    267                 break;
    268             fi
    269         done
    270     fi
    271 
    272     dnl overwrite ld flags if we have required special directory with
    273     dnl --with-boost-libdir parameter
    274     if test "$ac_boost_lib_path" != ""; then
    275        BOOST_LDFLAGS="-L$ac_boost_lib_path"
    276     fi
    277 
    278     CPPFLAGS_SAVED="$CPPFLAGS"
    279     CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
    280     export CPPFLAGS
    281 
    282     LDFLAGS_SAVED="$LDFLAGS"
    283     LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
    284     export LDFLAGS
    285 
    286     AC_REQUIRE([AC_PROG_CXX])
    287     AC_LANG_PUSH(C++)
    288         AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
    289     @%:@include <boost/version.hpp>
    290     ]], [[
    291     #if BOOST_VERSION >= $WANT_BOOST_VERSION
    292     // Everything is okay
    293     #else
    294     #  error Boost version is too old
    295     #endif
    296     ]])],[
    297         AC_MSG_RESULT(yes)
    298     succeeded=yes
    299     found_system=yes
    300         ],[
    301         ])
    302     AC_LANG_POP([C++])
    303 
    304 
    305 
    306     dnl if we found no boost with system layout we search for boost libraries
    307     dnl built and installed without the --layout=system option or for a staged(not installed) version
    308     if test "x$succeeded" != "xyes"; then
    309         CPPFLAGS="$CPPFLAGS_SAVED"
    310         LDFLAGS="$LDFLAGS_SAVED"
    311         BOOST_CPPFLAGS=
    312         BOOST_LDFLAGS=
    313         _version=0
    314         if test "$ac_boost_path" != ""; then
    315             if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
    316                 for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
    317                     _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
    318                     V_CHECK=`expr $_version_tmp \> $_version`
    319                     if test "$V_CHECK" = "1" ; then
    320                         _version=$_version_tmp
    321                     fi
    322                     VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
    323                     BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
    324                 done
    325                 dnl if nothing found search for layout used in Windows distributions
    326                 if test -z "$BOOST_CPPFLAGS"; then
    327                     if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then
    328                         BOOST_CPPFLAGS="-I$ac_boost_path"
    329                     fi
    330                 fi
    331             fi
    332         else
    333             if test "$cross_compiling" != yes; then
    334                 for ac_boost_path in /usr /usr/local /opt /opt/local ; do
    335                     if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
    336                         for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
    337                             _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
    338                             V_CHECK=`expr $_version_tmp \> $_version`
    339                             if test "$V_CHECK" = "1" ; then
    340                                 _version=$_version_tmp
    341                                 best_path=$ac_boost_path
    342                             fi
    343                         done
    344                     fi
    345                 done
    346 
    347                 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
    348                 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
    349                 if test "$ac_boost_lib_path" = ""; then
    350                     for libsubdir in $libsubdirs ; do
    351                         if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
    352                     done
    353                     BOOST_LDFLAGS="-L$best_path/$libsubdir"
    354                 fi
    355             fi
    356 
    357             if test "x$BOOST_ROOT" != "x"; then
    358                 for libsubdir in $libsubdirs ; do
    359                     if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
    360                 done
    361                 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
    362                     version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
    363                     stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
    364                         stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'`
    365                     V_CHECK=`expr $stage_version_shorten \>\= $_version`
    366                     if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
    367                         AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT)
    368                         BOOST_CPPFLAGS="-I$BOOST_ROOT"
    369                         BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
    370                     fi
    371                 fi
    372             fi
    373         fi
    374 
    375         CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
    376         export CPPFLAGS
    377         LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
    378         export LDFLAGS
    379 
    380         AC_LANG_PUSH(C++)
    381             AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
    382         @%:@include <boost/version.hpp>
    383         ]], [[
    384         #if BOOST_VERSION >= $WANT_BOOST_VERSION
    385         // Everything is okay
    386         #else
    387         #  error Boost version is too old
    388         #endif
    389         ]])],[
    390             AC_MSG_RESULT(yes)
    391         succeeded=yes
    392         found_system=yes
    393             ],[
    394             ])
    395         AC_LANG_POP([C++])
    396     fi
    397 
    398     if test "$succeeded" != "yes" ; then
    399         if test "$_version" = "0" ; then
    400             AC_MSG_NOTICE([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.]])
    401         else
    402             AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).])
    403         fi
    404         # execute ACTION-IF-NOT-FOUND (if present):
    405         ifelse([$3], , :, [$3])
    406     else
    407         AC_SUBST(BOOST_CPPFLAGS)
    408         AC_SUBST(BOOST_LDFLAGS)
    409         AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available])
    410         # execute ACTION-IF-FOUND (if present):
    411         ifelse([$2], , :, [$2])
    412     fi
    413 
    414     CPPFLAGS="$CPPFLAGS_SAVED"
    415     LDFLAGS="$LDFLAGS_SAVED"
    416 fi
    417 
    418132])
    419133
     
    682396#   warranty.
    683397
    684 #serial 24
     398#serial 22
    685399
    686400AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS],
     
    716430                                           ax_cv_boost_program_options,
    717431                                           [AC_LANG_PUSH(C++)
    718                                 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/program_options/errors.hpp>
     432                                AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/program_options.hpp>
    719433                                                          ]],
    720                                   [[boost::program_options::error err("Error message");
     434                                  [[boost::program_options::options_description generic("Generic options");
    721435                                   return 0;]])],
    722436                           ax_cv_boost_program_options=yes, ax_cv_boost_program_options=no)
     
    13721086#         rm -rf @DX_DOCDIR@
    13731087#         $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG)
    1374 #         echo Timestamp >$@
    13751088#
    13761089#     DX_CLEANFILES = \
     
    14001113#   warranty.
    14011114
    1402 #serial 13
     1115#serial 12
    14031116
    14041117
     
    20011714])dnl AX_PTHREAD
    20021715
    2003 dnl pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
    2004 dnl serial 11 (pkg-config-0.29.1)
    2005 dnl
    2006 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
    2007 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
    2008 dnl
    2009 dnl This program is free software; you can redistribute it and/or modify
    2010 dnl it under the terms of the GNU General Public License as published by
    2011 dnl the Free Software Foundation; either version 2 of the License, or
    2012 dnl (at your option) any later version.
    2013 dnl
    2014 dnl This program is distributed in the hope that it will be useful, but
    2015 dnl WITHOUT ANY WARRANTY; without even the implied warranty of
    2016 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    2017 dnl General Public License for more details.
    2018 dnl
    2019 dnl You should have received a copy of the GNU General Public License
    2020 dnl along with this program; if not, write to the Free Software
    2021 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    2022 dnl 02111-1307, USA.
    2023 dnl
    2024 dnl As a special exception to the GNU General Public License, if you
    2025 dnl distribute this file as part of a program that contains a
    2026 dnl configuration script generated by Autoconf, you may include it under
    2027 dnl the same distribution terms that you use for the rest of that
    2028 dnl program.
    2029 
    2030 dnl PKG_PREREQ(MIN-VERSION)
    2031 dnl -----------------------
    2032 dnl Since: 0.29
    2033 dnl
    2034 dnl Verify that the version of the pkg-config macros are at least
    2035 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
    2036 dnl installed version of pkg-config, this checks the developer's version
    2037 dnl of pkg.m4 when generating configure.
    2038 dnl
    2039 dnl To ensure that this macro is defined, also add:
    2040 dnl m4_ifndef([PKG_PREREQ],
    2041 dnl     [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
    2042 dnl
    2043 dnl See the "Since" comment for each macro you use to see what version
    2044 dnl of the macros you require.
    2045 m4_defun([PKG_PREREQ],
    2046 [m4_define([PKG_MACROS_VERSION], [0.29.1])
    2047 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
    2048     [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
    2049 ])dnl PKG_PREREQ
    2050 
    2051 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
    2052 dnl ----------------------------------
    2053 dnl Since: 0.16
    2054 dnl
    2055 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
    2056 dnl first found in the path. Checks that the version of pkg-config found
    2057 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
    2058 dnl used since that's the first version where most current features of
    2059 dnl pkg-config existed.
     1716# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
     1717# serial 1 (pkg-config-0.24)
     1718#
     1719# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
     1720#
     1721# This program is free software; you can redistribute it and/or modify
     1722# it under the terms of the GNU General Public License as published by
     1723# the Free Software Foundation; either version 2 of the License, or
     1724# (at your option) any later version.
     1725#
     1726# This program is distributed in the hope that it will be useful, but
     1727# WITHOUT ANY WARRANTY; without even the implied warranty of
     1728# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     1729# General Public License for more details.
     1730#
     1731# You should have received a copy of the GNU General Public License
     1732# along with this program; if not, write to the Free Software
     1733# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
     1734#
     1735# As a special exception to the GNU General Public License, if you
     1736# distribute this file as part of a program that contains a
     1737# configuration script generated by Autoconf, you may include it under
     1738# the same distribution terms that you use for the rest of that program.
     1739
     1740# PKG_PROG_PKG_CONFIG([MIN-VERSION])
     1741# ----------------------------------
    20601742AC_DEFUN([PKG_PROG_PKG_CONFIG],
    20611743[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
     
    20791761        fi
    20801762fi[]dnl
    2081 ])dnl PKG_PROG_PKG_CONFIG
    2082 
    2083 dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
    2084 dnl -------------------------------------------------------------------
    2085 dnl Since: 0.18
    2086 dnl
    2087 dnl Check to see whether a particular set of modules exists. Similar to
    2088 dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
    2089 dnl
    2090 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
    2091 dnl only at the first occurence in configure.ac, so if the first place
    2092 dnl it's called might be skipped (such as if it is within an "if", you
    2093 dnl have to call PKG_CHECK_EXISTS manually
     1763])# PKG_PROG_PKG_CONFIG
     1764
     1765# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
     1766#
     1767# Check to see whether a particular set of modules exists.  Similar
     1768# to PKG_CHECK_MODULES(), but does not set variables or print errors.
     1769#
     1770# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
     1771# only at the first occurence in configure.ac, so if the first place
     1772# it's called might be skipped (such as if it is within an "if", you
     1773# have to call PKG_CHECK_EXISTS manually
     1774# --------------------------------------------------------------
    20941775AC_DEFUN([PKG_CHECK_EXISTS],
    20951776[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
     
    21011782fi])
    21021783
    2103 dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
    2104 dnl ---------------------------------------------
    2105 dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
    2106 dnl pkg_failed based on the result.
     1784# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
     1785# ---------------------------------------------
    21071786m4_define([_PKG_CONFIG],
    21081787[if test -n "$$1"; then
     
    21161795    pkg_failed=untried
    21171796fi[]dnl
    2118 ])dnl _PKG_CONFIG
    2119 
    2120 dnl _PKG_SHORT_ERRORS_SUPPORTED
    2121 dnl ---------------------------
    2122 dnl Internal check to see if pkg-config supports short errors.
     1797])# _PKG_CONFIG
     1798
     1799# _PKG_SHORT_ERRORS_SUPPORTED
     1800# -----------------------------
    21231801AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
    21241802[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
     
    21281806        _pkg_short_errors_supported=no
    21291807fi[]dnl
    2130 ])dnl _PKG_SHORT_ERRORS_SUPPORTED
    2131 
    2132 
    2133 dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
    2134 dnl   [ACTION-IF-NOT-FOUND])
    2135 dnl --------------------------------------------------------------
    2136 dnl Since: 0.4.0
    2137 dnl
    2138 dnl Note that if there is a possibility the first call to
    2139 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
    2140 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
     1808])# _PKG_SHORT_ERRORS_SUPPORTED
     1809
     1810
     1811# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
     1812# [ACTION-IF-NOT-FOUND])
     1813#
     1814#
     1815# Note that if there is a possibility the first call to
     1816# PKG_CHECK_MODULES might not happen, you should be sure to include an
     1817# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
     1818#
     1819#
     1820# --------------------------------------------------------------
    21411821AC_DEFUN([PKG_CHECK_MODULES],
    21421822[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
     
    21921872        $3
    21931873fi[]dnl
    2194 ])dnl PKG_CHECK_MODULES
    2195 
    2196 
    2197 dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
    2198 dnl   [ACTION-IF-NOT-FOUND])
    2199 dnl ---------------------------------------------------------------------
    2200 dnl Since: 0.29
    2201 dnl
    2202 dnl Checks for existence of MODULES and gathers its build flags with
    2203 dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
    2204 dnl and VARIABLE-PREFIX_LIBS from --libs.
    2205 dnl
    2206 dnl Note that if there is a possibility the first call to
    2207 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
    2208 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
    2209 dnl configure.ac.
    2210 AC_DEFUN([PKG_CHECK_MODULES_STATIC],
    2211 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
    2212 _save_PKG_CONFIG=$PKG_CONFIG
    2213 PKG_CONFIG="$PKG_CONFIG --static"
    2214 PKG_CHECK_MODULES($@)
    2215 PKG_CONFIG=$_save_PKG_CONFIG[]dnl
    2216 ])dnl PKG_CHECK_MODULES_STATIC
    2217 
    2218 
    2219 dnl PKG_INSTALLDIR([DIRECTORY])
    2220 dnl -------------------------
    2221 dnl Since: 0.27
    2222 dnl
    2223 dnl Substitutes the variable pkgconfigdir as the location where a module
    2224 dnl should install pkg-config .pc files. By default the directory is
    2225 dnl $libdir/pkgconfig, but the default can be changed by passing
    2226 dnl DIRECTORY. The user can override through the --with-pkgconfigdir
    2227 dnl parameter.
    2228 AC_DEFUN([PKG_INSTALLDIR],
    2229 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
    2230 m4_pushdef([pkg_description],
    2231     [pkg-config installation directory @<:@]pkg_default[@:>@])
    2232 AC_ARG_WITH([pkgconfigdir],
    2233     [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
    2234     [with_pkgconfigdir=]pkg_default)
    2235 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
    2236 m4_popdef([pkg_default])
    2237 m4_popdef([pkg_description])
    2238 ])dnl PKG_INSTALLDIR
    2239 
    2240 
    2241 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
    2242 dnl --------------------------------
    2243 dnl Since: 0.27
    2244 dnl
    2245 dnl Substitutes the variable noarch_pkgconfigdir as the location where a
    2246 dnl module should install arch-independent pkg-config .pc files. By
    2247 dnl default the directory is $datadir/pkgconfig, but the default can be
    2248 dnl changed by passing DIRECTORY. The user can override through the
    2249 dnl --with-noarch-pkgconfigdir parameter.
    2250 AC_DEFUN([PKG_NOARCH_INSTALLDIR],
    2251 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
    2252 m4_pushdef([pkg_description],
    2253     [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
    2254 AC_ARG_WITH([noarch-pkgconfigdir],
    2255     [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
    2256     [with_noarch_pkgconfigdir=]pkg_default)
    2257 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
    2258 m4_popdef([pkg_default])
    2259 m4_popdef([pkg_description])
    2260 ])dnl PKG_NOARCH_INSTALLDIR
    2261 
    2262 
    2263 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
    2264 dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
    2265 dnl -------------------------------------------
    2266 dnl Since: 0.28
    2267 dnl
    2268 dnl Retrieves the value of the pkg-config variable for the given module.
    2269 AC_DEFUN([PKG_CHECK_VAR],
    2270 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
    2271 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
    2272 
    2273 _PKG_CONFIG([$1], [variable="][$3]["], [$2])
    2274 AS_VAR_COPY([$1], [pkg_cv_][$1])
    2275 
    2276 AS_VAR_IF([$1], [""], [$5], [$4])dnl
    2277 ])dnl PKG_CHECK_VAR
    2278 
    2279 # Copyright (C) 2002-2014 Free Software Foundation, Inc.
     1874])# PKG_CHECK_MODULES
     1875
     1876# Copyright (C) 2002-2013 Free Software Foundation, Inc.
    22801877#
    22811878# This file is free software; the Free Software Foundation
     
    22891886# (This private macro should not be called outside this file.)
    22901887AC_DEFUN([AM_AUTOMAKE_VERSION],
    2291 [am__api_version='1.15'
     1888[am__api_version='1.14'
    22921889dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    22931890dnl require some minimum version.  Point them to the right macro.
    2294 m4_if([$1], [1.15], [],
     1891m4_if([$1], [1.14.1], [],
    22951892      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    22961893])
     
    23081905# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
    23091906AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    2310 [AM_AUTOMAKE_VERSION([1.15])dnl
     1907[AM_AUTOMAKE_VERSION([1.14.1])dnl
    23111908m4_ifndef([AC_AUTOCONF_VERSION],
    23121909  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    23131910_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
    23141911
    2315 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
     1912# Copyright (C) 2011-2013 Free Software Foundation, Inc.
    23161913#
    23171914# This file is free software; the Free Software Foundation
     
    23751972# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    23761973
    2377 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
     1974# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    23781975#
    23791976# This file is free software; the Free Software Foundation
     
    24202017
    24212018AC_DEFUN([AM_AUX_DIR_EXPAND],
    2422 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
    2423 # Expand $ac_aux_dir to an absolute path.
    2424 am_aux_dir=`cd "$ac_aux_dir" && pwd`
     2019[dnl Rely on autoconf to set up CDPATH properly.
     2020AC_PREREQ([2.50])dnl
     2021# expand $ac_aux_dir to an absolute path
     2022am_aux_dir=`cd $ac_aux_dir && pwd`
    24252023])
    24262024
    24272025# AM_COND_IF                                            -*- Autoconf -*-
    24282026
    2429 # Copyright (C) 2008-2014 Free Software Foundation, Inc.
     2027# Copyright (C) 2008-2013 Free Software Foundation, Inc.
    24302028#
    24312029# This file is free software; the Free Software Foundation
     
    24642062# AM_CONDITIONAL                                            -*- Autoconf -*-
    24652063
    2466 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
     2064# Copyright (C) 1997-2013 Free Software Foundation, Inc.
    24672065#
    24682066# This file is free software; the Free Software Foundation
     
    24952093fi])])
    24962094
    2497 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
     2095# Copyright (C) 1999-2013 Free Software Foundation, Inc.
    24982096#
    24992097# This file is free software; the Free Software Foundation
     
    26862284# Generate code to set up dependency tracking.              -*- Autoconf -*-
    26872285
    2688 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
     2286# Copyright (C) 1999-2013 Free Software Foundation, Inc.
    26892287#
    26902288# This file is free software; the Free Software Foundation
     
    27622360# Do all the work for Automake.                             -*- Autoconf -*-
    27632361
    2764 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
     2362# Copyright (C) 1996-2013 Free Software Foundation, Inc.
    27652363#
    27662364# This file is free software; the Free Software Foundation
     
    28522450# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
    28532451AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
    2854 # We need awk for the "check" target (and possibly the TAP driver).  The
    2855 # system "awk" is bad on some platforms.
     2452# We need awk for the "check" target.  The system "awk" is bad on
     2453# some platforms.
    28562454AC_REQUIRE([AC_PROG_AWK])dnl
    28572455AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     
    29262524    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
    29272525  fi
    2928 fi
    2929 dnl The trailing newline in this macro's definition is deliberate, for
    2930 dnl backward compatibility and to allow trailing 'dnl'-style comments
    2931 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
    2932 ])
     2526fi])
    29332527
    29342528dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     
    29592553echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    29602554
    2961 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
     2555# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    29622556#
    29632557# This file is free software; the Free Software Foundation
     
    29702564AC_DEFUN([AM_PROG_INSTALL_SH],
    29712565[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    2972 if test x"${install_sh+set}" != xset; then
     2566if test x"${install_sh}" != xset; then
    29732567  case $am_aux_dir in
    29742568  *\ * | *\     *)
     
    29802574AC_SUBST([install_sh])])
    29812575
    2982 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
     2576# Copyright (C) 2003-2013 Free Software Foundation, Inc.
    29832577#
    29842578# This file is free software; the Free Software Foundation
     
    30012595# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    30022596
    3003 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
     2597# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    30042598#
    30052599# This file is free software; the Free Software Foundation
     
    30512645# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    30522646
    3053 # Copyright (C) 1997-2014 Free Software Foundation, Inc.
     2647# Copyright (C) 1997-2013 Free Software Foundation, Inc.
    30542648#
    30552649# This file is free software; the Free Software Foundation
     
    30902684# Helper functions for option handling.                     -*- Autoconf -*-
    30912685
    3092 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
     2686# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    30932687#
    30942688# This file is free software; the Free Software Foundation
     
    31192713[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    31202714
    3121 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
     2715# Copyright (C) 1999-2013 Free Software Foundation, Inc.
    31222716#
    31232717# This file is free software; the Free Software Foundation
     
    31662760AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
    31672761
    3168 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
     2762# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    31692763#
    31702764# This file is free software; the Free Software Foundation
     
    31852779# Check to make sure that the build environment is sane.    -*- Autoconf -*-
    31862780
    3187 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
     2781# Copyright (C) 1996-2013 Free Software Foundation, Inc.
    31882782#
    31892783# This file is free software; the Free Software Foundation
     
    32662860])
    32672861
    3268 # Copyright (C) 2009-2014 Free Software Foundation, Inc.
     2862# Copyright (C) 2009-2013 Free Software Foundation, Inc.
    32692863#
    32702864# This file is free software; the Free Software Foundation
     
    33262920])
    33272921
    3328 # Copyright (C) 2001-2014 Free Software Foundation, Inc.
     2922# Copyright (C) 2001-2013 Free Software Foundation, Inc.
    33292923#
    33302924# This file is free software; the Free Software Foundation
     
    33542948AC_SUBST([INSTALL_STRIP_PROGRAM])])
    33552949
    3356 # Copyright (C) 2006-2014 Free Software Foundation, Inc.
     2950# Copyright (C) 2006-2013 Free Software Foundation, Inc.
    33572951#
    33582952# This file is free software; the Free Software Foundation
     
    33732967# Check how to create a tarball.                            -*- Autoconf -*-
    33742968
    3375 # Copyright (C) 2004-2014 Free Software Foundation, Inc.
     2969# Copyright (C) 2004-2013 Free Software Foundation, Inc.
    33762970#
    33772971# This file is free software; the Free Software Foundation
     
    35093103m4_include([.macro_dir/ac_check_readline.m4])
    35103104m4_include([.macro_dir/ac_find_motif.m4])
     3105m4_include([.macro_dir/ax_boost_base.m4])
    35113106m4_include([.macro_dir/ax_cxx_compile_stdcxx_0x.m4])
    35123107m4_include([.macro_dir/libtool.m4])
Note: See TracChangeset for help on using the changeset viewer.