| OLD | NEW | 
|     1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*- |     1 # generated automatically by aclocal 1.15 -*- Autoconf -*- | 
|     2  |     2  | 
|     3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |     3 # Copyright (C) 1996-2014 Free Software Foundation, Inc. | 
|     4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, |     4  | 
|     5 # Inc. |  | 
|     6 # This file is free software; the Free Software Foundation |     5 # This file is free software; the Free Software Foundation | 
|     7 # gives unlimited permission to copy and/or distribute it, |     6 # gives unlimited permission to copy and/or distribute it, | 
|     8 # with or without modifications, as long as this notice is preserved. |     7 # with or without modifications, as long as this notice is preserved. | 
|     9  |     8  | 
|    10 # This program is distributed in the hope that it will be useful, |     9 # This program is distributed in the hope that it will be useful, | 
|    11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |    10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | 
|    12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |    11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 
|    13 # PARTICULAR PURPOSE. |    12 # PARTICULAR PURPOSE. | 
|    14  |    13  | 
 |    14 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun
      ([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) | 
|    15 m4_ifndef([AC_AUTOCONF_VERSION], |    15 m4_ifndef([AC_AUTOCONF_VERSION], | 
|    16   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |    16   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 
|    17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, |    17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | 
|    18 [m4_warning([this file was generated for autoconf 2.68. |    18 [m4_warning([this file was generated for autoconf 2.69. | 
|    19 You have another version of autoconf.  It may work, but is not guaranteed to. |    19 You have another version of autoconf.  It may work, but is not guaranteed to. | 
|    20 If you have problems, you may need to regenerate the build system entirely. |    20 If you have problems, you may need to regenerate the build system entirely. | 
|    21 To do so, use the procedure documented by the package, typically `autoreconf'.])
      ]) |    21 To do so, use the procedure documented by the package, typically 'autoreconf'.])
      ]) | 
|    22  |    22  | 
|    23 # lib-ld.m4 serial 4 (gettext-0.18) |    23 # lib-ld.m4 serial 6 | 
|    24 dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc. |    24 dnl Copyright (C) 1996-2003, 2009-2016 Free Software Foundation, Inc. | 
|    25 dnl This file is free software; the Free Software Foundation |    25 dnl This file is free software; the Free Software Foundation | 
|    26 dnl gives unlimited permission to copy and/or distribute it, |    26 dnl gives unlimited permission to copy and/or distribute it, | 
|    27 dnl with or without modifications, as long as this notice is preserved. |    27 dnl with or without modifications, as long as this notice is preserved. | 
|    28  |    28  | 
|    29 dnl Subroutines of libtool.m4, |    29 dnl Subroutines of libtool.m4, | 
|    30 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision |    30 dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid | 
|    31 dnl with libtool.m4. |    31 dnl collision with libtool.m4. | 
|    32  |    32  | 
|    33 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. |    33 dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. | 
|    34 AC_DEFUN([AC_LIB_PROG_LD_GNU], |    34 AC_DEFUN([AC_LIB_PROG_LD_GNU], | 
|    35 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], |    35 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], | 
|    36 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. |    36 [# I'd rather use --version here, but apparently some GNU lds only accept -v. | 
|    37 case `$LD -v 2>&1 </dev/null` in |    37 case `$LD -v 2>&1 </dev/null` in | 
|    38 *GNU* | *'with BFD'*) |    38 *GNU* | *'with BFD'*) | 
|    39   acl_cv_prog_gnu_ld=yes ;; |    39   acl_cv_prog_gnu_ld=yes | 
 |    40   ;; | 
|    40 *) |    41 *) | 
|    41   acl_cv_prog_gnu_ld=no ;; |    42   acl_cv_prog_gnu_ld=no | 
 |    43   ;; | 
|    42 esac]) |    44 esac]) | 
|    43 with_gnu_ld=$acl_cv_prog_gnu_ld |    45 with_gnu_ld=$acl_cv_prog_gnu_ld | 
|    44 ]) |    46 ]) | 
|    45  |    47  | 
|    46 dnl From libtool-1.4. Sets the variable LD. |    48 dnl From libtool-2.4. Sets the variable LD. | 
|    47 AC_DEFUN([AC_LIB_PROG_LD], |    49 AC_DEFUN([AC_LIB_PROG_LD], | 
|    48 [AC_ARG_WITH([gnu-ld], |    50 [AC_REQUIRE([AC_PROG_CC])dnl | 
|    49 [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]], |  | 
|    50 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) |  | 
|    51 AC_REQUIRE([AC_PROG_CC])dnl |  | 
|    52 AC_REQUIRE([AC_CANONICAL_HOST])dnl |    51 AC_REQUIRE([AC_CANONICAL_HOST])dnl | 
 |    52  | 
 |    53 AC_ARG_WITH([gnu-ld], | 
 |    54     [AS_HELP_STRING([--with-gnu-ld], | 
 |    55         [assume the C compiler uses GNU ld [default=no]])], | 
 |    56     [test "$withval" = no || with_gnu_ld=yes], | 
 |    57     [with_gnu_ld=no])dnl | 
 |    58  | 
|    53 # Prepare PATH_SEPARATOR. |    59 # Prepare PATH_SEPARATOR. | 
|    54 # The user is always right. |    60 # The user is always right. | 
|    55 if test "${PATH_SEPARATOR+set}" != set; then |    61 if test "${PATH_SEPARATOR+set}" != set; then | 
|    56   echo "#! /bin/sh" >conf$$.sh |    62   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which | 
|    57   echo  "exit 0"   >>conf$$.sh |    63   # contains only /bin. Note that ksh looks also at the FPATH variable, | 
|    58   chmod +x conf$$.sh |    64   # so we have to set that as well for the test. | 
|    59   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |    65   PATH_SEPARATOR=: | 
|    60     PATH_SEPARATOR=';' |    66   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | 
|    61   else |    67     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ | 
|    62     PATH_SEPARATOR=: |    68            || PATH_SEPARATOR=';' | 
|    63   fi |    69        } | 
|    64   rm -f conf$$.sh |  | 
|    65 fi |    70 fi | 
 |    71  | 
|    66 ac_prog=ld |    72 ac_prog=ld | 
|    67 if test "$GCC" = yes; then |    73 if test "$GCC" = yes; then | 
|    68   # Check if gcc -print-prog-name=ld gives a path. |    74   # Check if gcc -print-prog-name=ld gives a path. | 
|    69   AC_MSG_CHECKING([for ld used by GCC]) |    75   AC_MSG_CHECKING([for ld used by $CC]) | 
|    70   case $host in |    76   case $host in | 
|    71   *-*-mingw*) |    77   *-*-mingw*) | 
|    72     # gcc leaves a trailing carriage return which upsets mingw |    78     # gcc leaves a trailing carriage return which upsets mingw | 
|    73     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |    79     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
|    74   *) |    80   *) | 
|    75     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |    81     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
|    76   esac |    82   esac | 
|    77   case $ac_prog in |    83   case $ac_prog in | 
|    78     # Accept absolute paths. |    84     # Accept absolute paths. | 
|    79     [[\\/]* | [A-Za-z]:[\\/]*)] |    85     [[\\/]]* | ?:[[\\/]]*) | 
|    80       [re_direlt='/[^/][^/]*/\.\./'] |    86       re_direlt='/[[^/]][[^/]]*/\.\./' | 
|    81       # Canonicalize the path of ld |    87       # Canonicalize the pathname of ld | 
|    82       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |    88       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` | 
|    83       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |    89       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do | 
|    84         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |    90         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | 
|    85       done |    91       done | 
|    86       test -z "$LD" && LD="$ac_prog" |    92       test -z "$LD" && LD="$ac_prog" | 
|    87       ;; |    93       ;; | 
|    88   "") |    94   "") | 
|    89     # If it fails, then pretend we aren't using GCC. |    95     # If it fails, then pretend we aren't using GCC. | 
|    90     ac_prog=ld |    96     ac_prog=ld | 
|    91     ;; |    97     ;; | 
|    92   *) |    98   *) | 
|    93     # If it is relative, then search for the first ld in PATH. |    99     # If it is relative, then search for the first ld in PATH. | 
|    94     with_gnu_ld=unknown |   100     with_gnu_ld=unknown | 
|    95     ;; |   101     ;; | 
|    96   esac |   102   esac | 
|    97 elif test "$with_gnu_ld" = yes; then |   103 elif test "$with_gnu_ld" = yes; then | 
|    98   AC_MSG_CHECKING([for GNU ld]) |   104   AC_MSG_CHECKING([for GNU ld]) | 
|    99 else |   105 else | 
|   100   AC_MSG_CHECKING([for non-GNU ld]) |   106   AC_MSG_CHECKING([for non-GNU ld]) | 
|   101 fi |   107 fi | 
|   102 AC_CACHE_VAL([acl_cv_path_LD], |   108 AC_CACHE_VAL([acl_cv_path_LD], | 
|   103 [if test -z "$LD"; then |   109 [if test -z "$LD"; then | 
|   104   IFS="${IFS= » }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |   110   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
|   105   for ac_dir in $PATH; do |   111   for ac_dir in $PATH; do | 
 |   112     IFS="$acl_save_ifs" | 
|   106     test -z "$ac_dir" && ac_dir=. |   113     test -z "$ac_dir" && ac_dir=. | 
|   107     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |   114     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
|   108       acl_cv_path_LD="$ac_dir/$ac_prog" |   115       acl_cv_path_LD="$ac_dir/$ac_prog" | 
|   109       # Check to see if the program is GNU ld.  I'd rather use --version, |   116       # Check to see if the program is GNU ld.  I'd rather use --version, | 
|   110       # but apparently some GNU ld's only accept -v. |   117       # but apparently some variants of GNU ld only accept -v. | 
|   111       # Break only if it was the GNU/non-GNU ld that we prefer. |   118       # Break only if it was the GNU/non-GNU ld that we prefer. | 
|   112       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in |   119       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in | 
|   113       *GNU* | *'with BFD'*) |   120       *GNU* | *'with BFD'*) | 
|   114         test "$with_gnu_ld" != no && break ;; |   121         test "$with_gnu_ld" != no && break | 
 |   122         ;; | 
|   115       *) |   123       *) | 
|   116         test "$with_gnu_ld" != yes && break ;; |   124         test "$with_gnu_ld" != yes && break | 
 |   125         ;; | 
|   117       esac |   126       esac | 
|   118     fi |   127     fi | 
|   119   done |   128   done | 
|   120   IFS="$ac_save_ifs" |   129   IFS="$acl_save_ifs" | 
|   121 else |   130 else | 
|   122   acl_cv_path_LD="$LD" # Let the user override the test with a path. |   131   acl_cv_path_LD="$LD" # Let the user override the test with a path. | 
|   123 fi]) |   132 fi]) | 
|   124 LD="$acl_cv_path_LD" |   133 LD="$acl_cv_path_LD" | 
|   125 if test -n "$LD"; then |   134 if test -n "$LD"; then | 
|   126   AC_MSG_RESULT([$LD]) |   135   AC_MSG_RESULT([$LD]) | 
|   127 else |   136 else | 
|   128   AC_MSG_RESULT([no]) |   137   AC_MSG_RESULT([no]) | 
|   129 fi |   138 fi | 
|   130 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) |   139 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) | 
|   131 AC_LIB_PROG_LD_GNU |   140 AC_LIB_PROG_LD_GNU | 
|   132 ]) |   141 ]) | 
|   133  |   142  | 
|   134 # lib-link.m4 serial 21 (gettext-0.18) |   143 # lib-link.m4 serial 26 (gettext-0.18.2) | 
|   135 dnl Copyright (C) 2001-2010 Free Software Foundation, Inc. |   144 dnl Copyright (C) 2001-2016 Free Software Foundation, Inc. | 
|   136 dnl This file is free software; the Free Software Foundation |   145 dnl This file is free software; the Free Software Foundation | 
|   137 dnl gives unlimited permission to copy and/or distribute it, |   146 dnl gives unlimited permission to copy and/or distribute it, | 
|   138 dnl with or without modifications, as long as this notice is preserved. |   147 dnl with or without modifications, as long as this notice is preserved. | 
|   139  |   148  | 
|   140 dnl From Bruno Haible. |   149 dnl From Bruno Haible. | 
|   141  |   150  | 
|   142 AC_PREREQ([2.54]) |   151 AC_PREREQ([2.54]) | 
|   143  |   152  | 
|   144 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and |   153 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and | 
|   145 dnl the libraries corresponding to explicit and implicit dependencies. |   154 dnl the libraries corresponding to explicit and implicit dependencies. | 
|   146 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and |   155 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and | 
|   147 dnl augments the CPPFLAGS variable. |   156 dnl augments the CPPFLAGS variable. | 
|   148 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname |   157 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname | 
|   149 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. |   158 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. | 
|   150 AC_DEFUN([AC_LIB_LINKFLAGS], |   159 AC_DEFUN([AC_LIB_LINKFLAGS], | 
|   151 [ |   160 [ | 
|   152   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) |   161   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | 
|   153   AC_REQUIRE([AC_LIB_RPATH]) |   162   AC_REQUIRE([AC_LIB_RPATH]) | 
|   154   pushdef([Name],[translit([$1],[./-], [___])]) |   163   pushdef([Name],[m4_translit([$1],[./+-], [____])]) | 
|   155   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], |   164   pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | 
|   156                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |   165                                    [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | 
|   157   AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ |   166   AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ | 
|   158     AC_LIB_LINKFLAGS_BODY([$1], [$2]) |   167     AC_LIB_LINKFLAGS_BODY([$1], [$2]) | 
|   159     ac_cv_lib[]Name[]_libs="$LIB[]NAME" |   168     ac_cv_lib[]Name[]_libs="$LIB[]NAME" | 
|   160     ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" |   169     ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" | 
|   161     ac_cv_lib[]Name[]_cppflags="$INC[]NAME" |   170     ac_cv_lib[]Name[]_cppflags="$INC[]NAME" | 
|   162     ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" |   171     ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" | 
|   163   ]) |   172   ]) | 
|   164   LIB[]NAME="$ac_cv_lib[]Name[]_libs" |   173   LIB[]NAME="$ac_cv_lib[]Name[]_libs" | 
|   165   LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" |   174   LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" | 
|   166   INC[]NAME="$ac_cv_lib[]Name[]_cppflags" |   175   INC[]NAME="$ac_cv_lib[]Name[]_cppflags" | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
|   184 dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} |   193 dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} | 
|   185 dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and |   194 dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and | 
|   186 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs |   195 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs | 
|   187 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. |   196 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. | 
|   188 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname |   197 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname | 
|   189 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. |   198 dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. | 
|   190 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], |   199 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], | 
|   191 [ |   200 [ | 
|   192   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) |   201   AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) | 
|   193   AC_REQUIRE([AC_LIB_RPATH]) |   202   AC_REQUIRE([AC_LIB_RPATH]) | 
|   194   pushdef([Name],[translit([$1],[./-], [___])]) |   203   pushdef([Name],[m4_translit([$1],[./+-], [____])]) | 
|   195   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], |   204   pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | 
|   196                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |   205                                    [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | 
|   197  |   206  | 
|   198   dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME |   207   dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME | 
|   199   dnl accordingly. |   208   dnl accordingly. | 
|   200   AC_LIB_LINKFLAGS_BODY([$1], [$2]) |   209   AC_LIB_LINKFLAGS_BODY([$1], [$2]) | 
|   201  |   210  | 
|   202   dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, |   211   dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, | 
|   203   dnl because if the user has installed lib[]Name and not disabled its use |   212   dnl because if the user has installed lib[]Name and not disabled its use | 
|   204   dnl via --without-lib[]Name-prefix, he wants to use it. |   213   dnl via --without-lib[]Name-prefix, he wants to use it. | 
|   205   ac_save_CPPFLAGS="$CPPFLAGS" |   214   ac_save_CPPFLAGS="$CPPFLAGS" | 
|   206   AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) |   215   AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) | 
|   207  |   216  | 
|   208   AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ |   217   AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ | 
|   209     ac_save_LIBS="$LIBS" |   218     ac_save_LIBS="$LIBS" | 
|   210     dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, |   219     dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, | 
|   211     dnl because these -l options might require -L options that are present in |   220     dnl because these -l options might require -L options that are present in | 
|   212     dnl LIBS. -l options benefit only from the -L options listed before it. |   221     dnl LIBS. -l options benefit only from the -L options listed before it. | 
|   213     dnl Otherwise, add it to the front of LIBS, because it may be a static |   222     dnl Otherwise, add it to the front of LIBS, because it may be a static | 
|   214     dnl library that depends on another static library that is present in LIBS. |   223     dnl library that depends on another static library that is present in LIBS. | 
|   215     dnl Static libraries benefit only from the static libraries listed after |   224     dnl Static libraries benefit only from the static libraries listed after | 
|   216     dnl it. |   225     dnl it. | 
|   217     case " $LIB[]NAME" in |   226     case " $LIB[]NAME" in | 
|   218       *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; |   227       *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; | 
|   219       *)       LIBS="$LIB[]NAME $LIBS" ;; |   228       *)       LIBS="$LIB[]NAME $LIBS" ;; | 
|   220     esac |   229     esac | 
|   221     AC_TRY_LINK([$3], [$4], |   230     AC_LINK_IFELSE( | 
 |   231       [AC_LANG_PROGRAM([[$3]], [[$4]])], | 
|   222       [ac_cv_lib[]Name=yes], |   232       [ac_cv_lib[]Name=yes], | 
|   223       [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) |   233       [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) | 
|   224     LIBS="$ac_save_LIBS" |   234     LIBS="$ac_save_LIBS" | 
|   225   ]) |   235   ]) | 
|   226   if test "$ac_cv_lib[]Name" = yes; then |   236   if test "$ac_cv_lib[]Name" = yes; then | 
|   227     HAVE_LIB[]NAME=yes |   237     HAVE_LIB[]NAME=yes | 
|   228     AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) |   238     AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) | 
|   229     AC_MSG_CHECKING([how to link with lib[]$1]) |   239     AC_MSG_CHECKING([how to link with lib[]$1]) | 
|   230     AC_MSG_RESULT([$LIB[]NAME]) |   240     AC_MSG_RESULT([$LIB[]NAME]) | 
|   231   else |   241   else | 
|   232     HAVE_LIB[]NAME=no |   242     HAVE_LIB[]NAME=no | 
|   233     dnl If $LIB[]NAME didn't lead to a usable library, we don't need |   243     dnl If $LIB[]NAME didn't lead to a usable library, we don't need | 
|   234     dnl $INC[]NAME either. |   244     dnl $INC[]NAME either. | 
|   235     CPPFLAGS="$ac_save_CPPFLAGS" |   245     CPPFLAGS="$ac_save_CPPFLAGS" | 
|   236     LIB[]NAME= |   246     LIB[]NAME= | 
|   237     LTLIB[]NAME= |   247     LTLIB[]NAME= | 
|   238     LIB[]NAME[]_PREFIX= |   248     LIB[]NAME[]_PREFIX= | 
|   239   fi |   249   fi | 
|   240   AC_SUBST([HAVE_LIB]NAME) |   250   AC_SUBST([HAVE_LIB]NAME) | 
|   241   AC_SUBST([LIB]NAME) |   251   AC_SUBST([LIB]NAME) | 
|   242   AC_SUBST([LTLIB]NAME) |   252   AC_SUBST([LTLIB]NAME) | 
|   243   AC_SUBST([LIB]NAME[_PREFIX]) |   253   AC_SUBST([LIB]NAME[_PREFIX]) | 
|   244   popdef([NAME]) |   254   popdef([NAME]) | 
|   245   popdef([Name]) |   255   popdef([Name]) | 
|   246 ]) |   256 ]) | 
|   247  |   257  | 
|   248 dnl Determine the platform dependent parameters needed to use rpath: |   258 dnl Determine the platform dependent parameters needed to use rpath: | 
|   249 dnl   acl_libext, |   259 dnl   acl_libext, | 
|   250 dnl   acl_shlibext, |   260 dnl   acl_shlibext, | 
 |   261 dnl   acl_libname_spec, | 
 |   262 dnl   acl_library_names_spec, | 
|   251 dnl   acl_hardcode_libdir_flag_spec, |   263 dnl   acl_hardcode_libdir_flag_spec, | 
|   252 dnl   acl_hardcode_libdir_separator, |   264 dnl   acl_hardcode_libdir_separator, | 
|   253 dnl   acl_hardcode_direct, |   265 dnl   acl_hardcode_direct, | 
|   254 dnl   acl_hardcode_minus_L. |   266 dnl   acl_hardcode_minus_L. | 
|   255 AC_DEFUN([AC_LIB_RPATH], |   267 AC_DEFUN([AC_LIB_RPATH], | 
|   256 [ |   268 [ | 
|   257   dnl Tell automake >= 1.10 to complain if config.rpath is missing. |   269   dnl Tell automake >= 1.10 to complain if config.rpath is missing. | 
|   258   m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) |   270   m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) | 
|   259   AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS |   271   AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS | 
|   260   AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld |   272   AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
|   283 ]) |   295 ]) | 
|   284  |   296  | 
|   285 dnl AC_LIB_FROMPACKAGE(name, package) |   297 dnl AC_LIB_FROMPACKAGE(name, package) | 
|   286 dnl declares that libname comes from the given package. The configure file |   298 dnl declares that libname comes from the given package. The configure file | 
|   287 dnl will then not have a --with-libname-prefix option but a |   299 dnl will then not have a --with-libname-prefix option but a | 
|   288 dnl --with-package-prefix option. Several libraries can come from the same |   300 dnl --with-package-prefix option. Several libraries can come from the same | 
|   289 dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar |   301 dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar | 
|   290 dnl macro call that searches for libname. |   302 dnl macro call that searches for libname. | 
|   291 AC_DEFUN([AC_LIB_FROMPACKAGE], |   303 AC_DEFUN([AC_LIB_FROMPACKAGE], | 
|   292 [ |   304 [ | 
|   293   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], |   305   pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | 
|   294                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |   306                                    [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | 
|   295   define([acl_frompackage_]NAME, [$2]) |   307   define([acl_frompackage_]NAME, [$2]) | 
|   296   popdef([NAME]) |   308   popdef([NAME]) | 
|   297   pushdef([PACK],[$2]) |   309   pushdef([PACK],[$2]) | 
|   298   pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], |   310   pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], | 
|   299                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |   311                                      [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | 
|   300   define([acl_libsinpackage_]PACKUP, |   312   define([acl_libsinpackage_]PACKUP, | 
|   301     m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$
      1]) |   313     m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, 
      ]],)[lib$1]) | 
|   302   popdef([PACKUP]) |   314   popdef([PACKUP]) | 
|   303   popdef([PACK]) |   315   popdef([PACK]) | 
|   304 ]) |   316 ]) | 
|   305  |   317  | 
|   306 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and |   318 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and | 
|   307 dnl the libraries corresponding to explicit and implicit dependencies. |   319 dnl the libraries corresponding to explicit and implicit dependencies. | 
|   308 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. |   320 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. | 
|   309 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found |   321 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found | 
|   310 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. |   322 dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. | 
|   311 AC_DEFUN([AC_LIB_LINKFLAGS_BODY], |   323 AC_DEFUN([AC_LIB_LINKFLAGS_BODY], | 
|   312 [ |   324 [ | 
|   313   AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) |   325   AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) | 
|   314   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], |   326   pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], | 
|   315                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |   327                                    [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | 
|   316   pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$
      1])]) |   328   pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$
      1])]) | 
|   317   pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-], |   329   pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], | 
|   318                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) |   330                                      [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) | 
|   319   pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKU
      P, lib[$1])]) |   331   pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKU
      P, lib[$1])]) | 
|   320   dnl Autoconf >= 2.61 supports dots in --with options. |   332   dnl Autoconf >= 2.61 supports dots in --with options. | 
|   321   pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.6
      1]),[-1],[translit(PACK,[.],[_])],PACK)]) |   333   pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.6
      1]),[-1],[m4_translit(PACK,[.],[_])],PACK)]) | 
|   322   dnl By default, look in $includedir and $libdir. |   334   dnl By default, look in $includedir and $libdir. | 
|   323   use_additional=yes |   335   use_additional=yes | 
|   324   AC_LIB_WITH_FINAL_PREFIX([ |   336   AC_LIB_WITH_FINAL_PREFIX([ | 
|   325     eval additional_includedir=\"$includedir\" |   337     eval additional_includedir=\"$includedir\" | 
|   326     eval additional_libdir=\"$libdir\" |   338     eval additional_libdir=\"$libdir\" | 
|   327   ]) |   339   ]) | 
|   328   AC_ARG_WITH(P_A_C_K[-prefix], |   340   AC_ARG_WITH(P_A_C_K[-prefix], | 
|   329 [[  --with-]]P_A_C_K[[-prefix[=DIR]  search for ]PACKLIBS[ in DIR/include and DI
      R/lib |   341 [[  --with-]]P_A_C_K[[-prefix[=DIR]  search for ]PACKLIBS[ in DIR/include and DI
      R/lib | 
|   330   --without-]]P_A_C_K[[-prefix     don't search for ]PACKLIBS[ in includedir and
       libdir]], |   342   --without-]]P_A_C_K[[-prefix     don't search for ]PACKLIBS[ in includedir and
       libdir]], | 
|   331 [ |   343 [ | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   368       for n in $names_already_handled; do |   380       for n in $names_already_handled; do | 
|   369         if test "$n" = "$name"; then |   381         if test "$n" = "$name"; then | 
|   370           already_handled=yes |   382           already_handled=yes | 
|   371           break |   383           break | 
|   372         fi |   384         fi | 
|   373       done |   385       done | 
|   374       if test -z "$already_handled"; then |   386       if test -z "$already_handled"; then | 
|   375         names_already_handled="$names_already_handled $name" |   387         names_already_handled="$names_already_handled $name" | 
|   376         dnl See if it was already located by an earlier AC_LIB_LINKFLAGS |   388         dnl See if it was already located by an earlier AC_LIB_LINKFLAGS | 
|   377         dnl or AC_LIB_HAVE_LINKFLAGS call. |   389         dnl or AC_LIB_HAVE_LINKFLAGS call. | 
|   378         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEF
      GHIJKLMNOPQRSTUVWXYZ___|'` |   390         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDE
      FGHIJKLMNOPQRSTUVWXYZ____|'` | 
|   379         eval value=\"\$HAVE_LIB$uppername\" |   391         eval value=\"\$HAVE_LIB$uppername\" | 
|   380         if test -n "$value"; then |   392         if test -n "$value"; then | 
|   381           if test "$value" = yes; then |   393           if test "$value" = yes; then | 
|   382             eval value=\"\$LIB$uppername\" |   394             eval value=\"\$LIB$uppername\" | 
|   383             test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" |   395             test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" | 
|   384             eval value=\"\$LTLIB$uppername\" |   396             eval value=\"\$LTLIB$uppername\" | 
|   385             test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$val
      ue" |   397             test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$val
      ue" | 
|   386           else |   398           else | 
|   387             dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined |   399             dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined | 
|   388             dnl that this library doesn't exist. So just drop it. |   400             dnl that this library doesn't exist. So just drop it. | 
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   900             done |   912             done | 
|   901           fi |   913           fi | 
|   902         fi |   914         fi | 
|   903       fi |   915       fi | 
|   904     fi |   916     fi | 
|   905   fi |   917   fi | 
|   906   AC_SUBST([$1]) |   918   AC_SUBST([$1]) | 
|   907 ]) |   919 ]) | 
|   908  |   920  | 
|   909 # lib-prefix.m4 serial 7 (gettext-0.18) |   921 # lib-prefix.m4 serial 7 (gettext-0.18) | 
|   910 dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc. |   922 dnl Copyright (C) 2001-2005, 2008-2016 Free Software Foundation, Inc. | 
|   911 dnl This file is free software; the Free Software Foundation |   923 dnl This file is free software; the Free Software Foundation | 
|   912 dnl gives unlimited permission to copy and/or distribute it, |   924 dnl gives unlimited permission to copy and/or distribute it, | 
|   913 dnl with or without modifications, as long as this notice is preserved. |   925 dnl with or without modifications, as long as this notice is preserved. | 
|   914  |   926  | 
|   915 dnl From Bruno Haible. |   927 dnl From Bruno Haible. | 
|   916  |   928  | 
|   917 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and |   929 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and | 
|   918 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't |   930 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't | 
|   919 dnl require excessive bracketing. |   931 dnl require excessive bracketing. | 
|   920 ifdef([AC_HELP_STRING], |   932 ifdef([AC_HELP_STRING], | 
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1124             esac |  1136             esac | 
|  1125           fi |  1137           fi | 
|  1126         done |  1138         done | 
|  1127         IFS="$acl_save_IFS" |  1139         IFS="$acl_save_IFS" | 
|  1128       fi |  1140       fi | 
|  1129       ;; |  1141       ;; | 
|  1130   esac |  1142   esac | 
|  1131   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" |  1143   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" | 
|  1132 ]) |  1144 ]) | 
|  1133  |  1145  | 
|  1134 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*- |  1146 dnl pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*- | 
|  1135 # serial 1 (pkg-config-0.24) |  1147 dnl serial 11 (pkg-config-0.29.1) | 
|  1136 #  |  1148 dnl | 
|  1137 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. |  1149 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. | 
|  1138 # |  1150 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> | 
|  1139 # This program is free software; you can redistribute it and/or modify |  1151 dnl | 
|  1140 # it under the terms of the GNU General Public License as published by |  1152 dnl This program is free software; you can redistribute it and/or modify | 
|  1141 # the Free Software Foundation; either version 2 of the License, or |  1153 dnl it under the terms of the GNU General Public License as published by | 
|  1142 # (at your option) any later version. |  1154 dnl the Free Software Foundation; either version 2 of the License, or | 
|  1143 # |  1155 dnl (at your option) any later version. | 
|  1144 # This program is distributed in the hope that it will be useful, but |  1156 dnl | 
|  1145 # WITHOUT ANY WARRANTY; without even the implied warranty of |  1157 dnl This program is distributed in the hope that it will be useful, but | 
|  1146 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU |  1158 dnl WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  1147 # General Public License for more details. |  1159 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 
|  1148 # |  1160 dnl General Public License for more details. | 
|  1149 # You should have received a copy of the GNU General Public License |  1161 dnl | 
|  1150 # along with this program; if not, write to the Free Software |  1162 dnl You should have received a copy of the GNU General Public License | 
|  1151 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |  1163 dnl along with this program; if not, write to the Free Software | 
|  1152 # |  1164 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 
|  1153 # As a special exception to the GNU General Public License, if you |  1165 dnl 02111-1307, USA. | 
|  1154 # distribute this file as part of a program that contains a |  1166 dnl | 
|  1155 # configuration script generated by Autoconf, you may include it under |  1167 dnl As a special exception to the GNU General Public License, if you | 
|  1156 # the same distribution terms that you use for the rest of that program. |  1168 dnl distribute this file as part of a program that contains a | 
 |  1169 dnl configuration script generated by Autoconf, you may include it under | 
 |  1170 dnl the same distribution terms that you use for the rest of that | 
 |  1171 dnl program. | 
|  1157  |  1172  | 
|  1158 # PKG_PROG_PKG_CONFIG([MIN-VERSION]) |  1173 dnl PKG_PREREQ(MIN-VERSION) | 
|  1159 # ---------------------------------- |  1174 dnl ----------------------- | 
 |  1175 dnl Since: 0.29 | 
 |  1176 dnl | 
 |  1177 dnl Verify that the version of the pkg-config macros are at least | 
 |  1178 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's | 
 |  1179 dnl installed version of pkg-config, this checks the developer's version | 
 |  1180 dnl of pkg.m4 when generating configure. | 
 |  1181 dnl | 
 |  1182 dnl To ensure that this macro is defined, also add: | 
 |  1183 dnl m4_ifndef([PKG_PREREQ], | 
 |  1184 dnl     [m4_fatal([must install pkg-config 0.29 or later before running autoconf
      /autogen])]) | 
 |  1185 dnl | 
 |  1186 dnl See the "Since" comment for each macro you use to see what version | 
 |  1187 dnl of the macros you require. | 
 |  1188 m4_defun([PKG_PREREQ], | 
 |  1189 [m4_define([PKG_MACROS_VERSION], [0.29.1]) | 
 |  1190 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, | 
 |  1191     [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ 
      found])]) | 
 |  1192 ])dnl PKG_PREREQ | 
 |  1193  | 
 |  1194 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) | 
 |  1195 dnl ---------------------------------- | 
 |  1196 dnl Since: 0.16 | 
 |  1197 dnl | 
 |  1198 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to | 
 |  1199 dnl first found in the path. Checks that the version of pkg-config found | 
 |  1200 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is | 
 |  1201 dnl used since that's the first version where most current features of | 
 |  1202 dnl pkg-config existed. | 
|  1160 AC_DEFUN([PKG_PROG_PKG_CONFIG], |  1203 AC_DEFUN([PKG_PROG_PKG_CONFIG], | 
|  1161 [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) |  1204 [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) | 
|  1162 m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) |  1205 m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIB
      S)))?$]) | 
 |  1206 m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) | 
|  1163 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) |  1207 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) | 
|  1164 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) |  1208 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) | 
|  1165 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search pa
      th]) |  1209 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search pa
      th]) | 
|  1166  |  1210  | 
|  1167 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |  1211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | 
|  1168         AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) |  1212         AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) | 
|  1169 fi |  1213 fi | 
|  1170 if test -n "$PKG_CONFIG"; then |  1214 if test -n "$PKG_CONFIG"; then | 
|  1171         _pkg_min_version=m4_default([$1], [0.9.0]) |  1215         _pkg_min_version=m4_default([$1], [0.9.0]) | 
|  1172         AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) |  1216         AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) | 
|  1173         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |  1217         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | 
|  1174                 AC_MSG_RESULT([yes]) |  1218                 AC_MSG_RESULT([yes]) | 
|  1175         else |  1219         else | 
|  1176                 AC_MSG_RESULT([no]) |  1220                 AC_MSG_RESULT([no]) | 
|  1177                 PKG_CONFIG="" |  1221                 PKG_CONFIG="" | 
|  1178         fi |  1222         fi | 
|  1179 fi[]dnl |  1223 fi[]dnl | 
|  1180 ])# PKG_PROG_PKG_CONFIG |  1224 ])dnl PKG_PROG_PKG_CONFIG | 
|  1181  |  1225  | 
|  1182 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |  1226 dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | 
|  1183 # |  1227 dnl ------------------------------------------------------------------- | 
|  1184 # Check to see whether a particular set of modules exists.  Similar |  1228 dnl Since: 0.18 | 
|  1185 # to PKG_CHECK_MODULES(), but does not set variables or print errors. |  1229 dnl | 
|  1186 # |  1230 dnl Check to see whether a particular set of modules exists. Similar to | 
|  1187 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |  1231 dnl PKG_CHECK_MODULES(), but does not set variables or print errors. | 
|  1188 # only at the first occurence in configure.ac, so if the first place |  1232 dnl | 
|  1189 # it's called might be skipped (such as if it is within an "if", you |  1233 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | 
|  1190 # have to call PKG_CHECK_EXISTS manually |  1234 dnl only at the first occurence in configure.ac, so if the first place | 
|  1191 # -------------------------------------------------------------- |  1235 dnl it's called might be skipped (such as if it is within an "if", you | 
 |  1236 dnl have to call PKG_CHECK_EXISTS manually | 
|  1192 AC_DEFUN([PKG_CHECK_EXISTS], |  1237 AC_DEFUN([PKG_CHECK_EXISTS], | 
|  1193 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |  1238 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | 
|  1194 if test -n "$PKG_CONFIG" && \ |  1239 if test -n "$PKG_CONFIG" && \ | 
|  1195     AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then |  1240     AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then | 
|  1196   m4_default([$2], [:]) |  1241   m4_default([$2], [:]) | 
|  1197 m4_ifvaln([$3], [else |  1242 m4_ifvaln([$3], [else | 
|  1198   $3])dnl |  1243   $3])dnl | 
|  1199 fi]) |  1244 fi]) | 
|  1200  |  1245  | 
|  1201 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) |  1246 dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) | 
|  1202 # --------------------------------------------- |  1247 dnl --------------------------------------------- | 
 |  1248 dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting | 
 |  1249 dnl pkg_failed based on the result. | 
|  1203 m4_define([_PKG_CONFIG], |  1250 m4_define([_PKG_CONFIG], | 
|  1204 [if test -n "$$1"; then |  1251 [if test -n "$$1"; then | 
|  1205     pkg_cv_[]$1="$$1" |  1252     pkg_cv_[]$1="$$1" | 
|  1206  elif test -n "$PKG_CONFIG"; then |  1253  elif test -n "$PKG_CONFIG"; then | 
|  1207     PKG_CHECK_EXISTS([$3], |  1254     PKG_CHECK_EXISTS([$3], | 
|  1208                      [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], |  1255                      [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` | 
 |  1256 »       »             test "x$?" != "x0" && pkg_failed=yes ], | 
|  1209                      [pkg_failed=yes]) |  1257                      [pkg_failed=yes]) | 
|  1210  else |  1258  else | 
|  1211     pkg_failed=untried |  1259     pkg_failed=untried | 
|  1212 fi[]dnl |  1260 fi[]dnl | 
|  1213 ])# _PKG_CONFIG |  1261 ])dnl _PKG_CONFIG | 
|  1214  |  1262  | 
|  1215 # _PKG_SHORT_ERRORS_SUPPORTED |  1263 dnl _PKG_SHORT_ERRORS_SUPPORTED | 
|  1216 # ----------------------------- |  1264 dnl --------------------------- | 
 |  1265 dnl Internal check to see if pkg-config supports short errors. | 
|  1217 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], |  1266 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], | 
|  1218 [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) |  1267 [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) | 
|  1219 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |  1268 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 
|  1220         _pkg_short_errors_supported=yes |  1269         _pkg_short_errors_supported=yes | 
|  1221 else |  1270 else | 
|  1222         _pkg_short_errors_supported=no |  1271         _pkg_short_errors_supported=no | 
|  1223 fi[]dnl |  1272 fi[]dnl | 
|  1224 ])# _PKG_SHORT_ERRORS_SUPPORTED |  1273 ])dnl _PKG_SHORT_ERRORS_SUPPORTED | 
|  1225  |  1274  | 
|  1226  |  1275  | 
|  1227 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], |  1276 dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | 
|  1228 # [ACTION-IF-NOT-FOUND]) |  1277 dnl   [ACTION-IF-NOT-FOUND]) | 
|  1229 # |  1278 dnl -------------------------------------------------------------- | 
|  1230 # |  1279 dnl Since: 0.4.0 | 
|  1231 # Note that if there is a possibility the first call to |  1280 dnl | 
|  1232 # PKG_CHECK_MODULES might not happen, you should be sure to include an |  1281 dnl Note that if there is a possibility the first call to | 
|  1233 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac |  1282 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an | 
|  1234 # |  1283 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac | 
|  1235 # |  | 
|  1236 # -------------------------------------------------------------- |  | 
|  1237 AC_DEFUN([PKG_CHECK_MODULES], |  1284 AC_DEFUN([PKG_CHECK_MODULES], | 
|  1238 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl |  1285 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | 
|  1239 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl |  1286 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl | 
|  1240 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl |  1287 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl | 
|  1241  |  1288  | 
|  1242 pkg_failed=no |  1289 pkg_failed=no | 
|  1243 AC_MSG_CHECKING([for $1]) |  1290 AC_MSG_CHECKING([for $1]) | 
|  1244  |  1291  | 
|  1245 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) |  1292 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) | 
|  1246 _PKG_CONFIG([$1][_LIBS], [libs], [$2]) |  1293 _PKG_CONFIG([$1][_LIBS], [libs], [$2]) | 
|  1247  |  1294  | 
|  1248 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[
      ]_CFLAGS |  1295 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[
      ]_CFLAGS | 
|  1249 and $1[]_LIBS to avoid the need to call pkg-config. |  1296 and $1[]_LIBS to avoid the need to call pkg-config. | 
|  1250 See the pkg-config man page for more details.]) |  1297 See the pkg-config man page for more details.]) | 
|  1251  |  1298  | 
|  1252 if test $pkg_failed = yes; then |  1299 if test $pkg_failed = yes; then | 
|  1253         AC_MSG_RESULT([no]) |  1300         AC_MSG_RESULT([no]) | 
|  1254         _PKG_SHORT_ERRORS_SUPPORTED |  1301         _PKG_SHORT_ERRORS_SUPPORTED | 
|  1255         if test $_pkg_short_errors_supported = yes; then |  1302         if test $_pkg_short_errors_supported = yes; then | 
|  1256 »               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 
      2>&1` |  1303 »               $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cfl
      ags --libs "$2" 2>&1` | 
|  1257         else  |  1304         else  | 
|  1258 »               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` |  1305 »               $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2"
       2>&1` | 
|  1259         fi |  1306         fi | 
|  1260         # Put the nasty error message in config.log where it belongs |  1307         # Put the nasty error message in config.log where it belongs | 
|  1261         echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD |  1308         echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD | 
|  1262  |  1309  | 
|  1263         m4_default([$4], [AC_MSG_ERROR( |  1310         m4_default([$4], [AC_MSG_ERROR( | 
|  1264 [Package requirements ($2) were not met: |  1311 [Package requirements ($2) were not met: | 
|  1265  |  1312  | 
|  1266 $$1_PKG_ERRORS |  1313 $$1_PKG_ERRORS | 
|  1267  |  1314  | 
|  1268 Consider adjusting the PKG_CONFIG_PATH environment variable if you |  1315 Consider adjusting the PKG_CONFIG_PATH environment variable if you | 
|  1269 installed software in a non-standard prefix. |  1316 installed software in a non-standard prefix. | 
|  1270  |  1317  | 
|  1271 _PKG_TEXT]) |  1318 _PKG_TEXT])[]dnl | 
|  1272         ]) |  1319         ]) | 
|  1273 elif test $pkg_failed = untried; then |  1320 elif test $pkg_failed = untried; then | 
|  1274         AC_MSG_RESULT([no]) |  1321         AC_MSG_RESULT([no]) | 
|  1275         m4_default([$4], [AC_MSG_FAILURE( |  1322         m4_default([$4], [AC_MSG_FAILURE( | 
|  1276 [The pkg-config script could not be found or is too old.  Make sure it |  1323 [The pkg-config script could not be found or is too old.  Make sure it | 
|  1277 is in your PATH or set the PKG_CONFIG environment variable to the full |  1324 is in your PATH or set the PKG_CONFIG environment variable to the full | 
|  1278 path to pkg-config. |  1325 path to pkg-config. | 
|  1279  |  1326  | 
|  1280 _PKG_TEXT |  1327 _PKG_TEXT | 
|  1281  |  1328  | 
|  1282 To get pkg-config, see <http://pkg-config.freedesktop.org/>.]) |  1329 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl | 
|  1283         ]) |  1330         ]) | 
|  1284 else |  1331 else | 
|  1285         $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |  1332         $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS | 
|  1286         $1[]_LIBS=$pkg_cv_[]$1[]_LIBS |  1333         $1[]_LIBS=$pkg_cv_[]$1[]_LIBS | 
|  1287         AC_MSG_RESULT([yes]) |  1334         AC_MSG_RESULT([yes]) | 
|  1288         $3 |  1335         $3 | 
|  1289 fi[]dnl |  1336 fi[]dnl | 
|  1290 ])# PKG_CHECK_MODULES |  1337 ])dnl PKG_CHECK_MODULES | 
|  1291  |  1338  | 
|  1292 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software |  1339  | 
|  1293 # Foundation, Inc. |  1340 dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], | 
 |  1341 dnl   [ACTION-IF-NOT-FOUND]) | 
 |  1342 dnl --------------------------------------------------------------------- | 
 |  1343 dnl Since: 0.29 | 
 |  1344 dnl | 
 |  1345 dnl Checks for existence of MODULES and gathers its build flags with | 
 |  1346 dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags | 
 |  1347 dnl and VARIABLE-PREFIX_LIBS from --libs. | 
 |  1348 dnl | 
 |  1349 dnl Note that if there is a possibility the first call to | 
 |  1350 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to | 
 |  1351 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your | 
 |  1352 dnl configure.ac. | 
 |  1353 AC_DEFUN([PKG_CHECK_MODULES_STATIC], | 
 |  1354 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | 
 |  1355 _save_PKG_CONFIG=$PKG_CONFIG | 
 |  1356 PKG_CONFIG="$PKG_CONFIG --static" | 
 |  1357 PKG_CHECK_MODULES($@) | 
 |  1358 PKG_CONFIG=$_save_PKG_CONFIG[]dnl | 
 |  1359 ])dnl PKG_CHECK_MODULES_STATIC | 
 |  1360  | 
 |  1361  | 
 |  1362 dnl PKG_INSTALLDIR([DIRECTORY]) | 
 |  1363 dnl ------------------------- | 
 |  1364 dnl Since: 0.27 | 
 |  1365 dnl | 
 |  1366 dnl Substitutes the variable pkgconfigdir as the location where a module | 
 |  1367 dnl should install pkg-config .pc files. By default the directory is | 
 |  1368 dnl $libdir/pkgconfig, but the default can be changed by passing | 
 |  1369 dnl DIRECTORY. The user can override through the --with-pkgconfigdir | 
 |  1370 dnl parameter. | 
 |  1371 AC_DEFUN([PKG_INSTALLDIR], | 
 |  1372 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) | 
 |  1373 m4_pushdef([pkg_description], | 
 |  1374     [pkg-config installation directory @<:@]pkg_default[@:>@]) | 
 |  1375 AC_ARG_WITH([pkgconfigdir], | 
 |  1376     [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, | 
 |  1377     [with_pkgconfigdir=]pkg_default) | 
 |  1378 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) | 
 |  1379 m4_popdef([pkg_default]) | 
 |  1380 m4_popdef([pkg_description]) | 
 |  1381 ])dnl PKG_INSTALLDIR | 
 |  1382  | 
 |  1383  | 
 |  1384 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) | 
 |  1385 dnl -------------------------------- | 
 |  1386 dnl Since: 0.27 | 
 |  1387 dnl | 
 |  1388 dnl Substitutes the variable noarch_pkgconfigdir as the location where a | 
 |  1389 dnl module should install arch-independent pkg-config .pc files. By | 
 |  1390 dnl default the directory is $datadir/pkgconfig, but the default can be | 
 |  1391 dnl changed by passing DIRECTORY. The user can override through the | 
 |  1392 dnl --with-noarch-pkgconfigdir parameter. | 
 |  1393 AC_DEFUN([PKG_NOARCH_INSTALLDIR], | 
 |  1394 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) | 
 |  1395 m4_pushdef([pkg_description], | 
 |  1396     [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) | 
 |  1397 AC_ARG_WITH([noarch-pkgconfigdir], | 
 |  1398     [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, | 
 |  1399     [with_noarch_pkgconfigdir=]pkg_default) | 
 |  1400 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) | 
 |  1401 m4_popdef([pkg_default]) | 
 |  1402 m4_popdef([pkg_description]) | 
 |  1403 ])dnl PKG_NOARCH_INSTALLDIR | 
 |  1404  | 
 |  1405  | 
 |  1406 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, | 
 |  1407 dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) | 
 |  1408 dnl ------------------------------------------- | 
 |  1409 dnl Since: 0.28 | 
 |  1410 dnl | 
 |  1411 dnl Retrieves the value of the pkg-config variable for the given module. | 
 |  1412 AC_DEFUN([PKG_CHECK_VAR], | 
 |  1413 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl | 
 |  1414 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl | 
 |  1415  | 
 |  1416 _PKG_CONFIG([$1], [variable="][$3]["], [$2]) | 
 |  1417 AS_VAR_COPY([$1], [pkg_cv_][$1]) | 
 |  1418  | 
 |  1419 AS_VAR_IF([$1], [""], [$5], [$4])dnl | 
 |  1420 ])dnl PKG_CHECK_VAR | 
 |  1421  | 
 |  1422 # Copyright (C) 2002-2014 Free Software Foundation, Inc. | 
|  1294 # |  1423 # | 
|  1295 # This file is free software; the Free Software Foundation |  1424 # This file is free software; the Free Software Foundation | 
|  1296 # gives unlimited permission to copy and/or distribute it, |  1425 # gives unlimited permission to copy and/or distribute it, | 
|  1297 # with or without modifications, as long as this notice is preserved. |  1426 # with or without modifications, as long as this notice is preserved. | 
|  1298  |  1427  | 
|  1299 # serial 1 |  | 
|  1300  |  | 
|  1301 # AM_AUTOMAKE_VERSION(VERSION) |  1428 # AM_AUTOMAKE_VERSION(VERSION) | 
|  1302 # ---------------------------- |  1429 # ---------------------------- | 
|  1303 # Automake X.Y traces this macro to ensure aclocal.m4 has been |  1430 # Automake X.Y traces this macro to ensure aclocal.m4 has been | 
|  1304 # generated from the m4 files accompanying Automake X.Y. |  1431 # generated from the m4 files accompanying Automake X.Y. | 
|  1305 # (This private macro should not be called outside this file.) |  1432 # (This private macro should not be called outside this file.) | 
|  1306 AC_DEFUN([AM_AUTOMAKE_VERSION], |  1433 AC_DEFUN([AM_AUTOMAKE_VERSION], | 
|  1307 [am__api_version='1.11' |  1434 [am__api_version='1.15' | 
|  1308 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |  1435 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | 
|  1309 dnl require some minimum version.  Point them to the right macro. |  1436 dnl require some minimum version.  Point them to the right macro. | 
|  1310 m4_if([$1], [1.11.3], [], |  1437 m4_if([$1], [1.15], [], | 
|  1311       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |  1438       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | 
|  1312 ]) |  1439 ]) | 
|  1313  |  1440  | 
|  1314 # _AM_AUTOCONF_VERSION(VERSION) |  1441 # _AM_AUTOCONF_VERSION(VERSION) | 
|  1315 # ----------------------------- |  1442 # ----------------------------- | 
|  1316 # aclocal traces this macro to find the Autoconf version. |  1443 # aclocal traces this macro to find the Autoconf version. | 
|  1317 # This is a private macro too.  Using m4_define simplifies |  1444 # This is a private macro too.  Using m4_define simplifies | 
|  1318 # the logic in aclocal, which can simply ignore this definition. |  1445 # the logic in aclocal, which can simply ignore this definition. | 
|  1319 m4_define([_AM_AUTOCONF_VERSION], []) |  1446 m4_define([_AM_AUTOCONF_VERSION], []) | 
|  1320  |  1447  | 
|  1321 # AM_SET_CURRENT_AUTOMAKE_VERSION |  1448 # AM_SET_CURRENT_AUTOMAKE_VERSION | 
|  1322 # ------------------------------- |  1449 # ------------------------------- | 
|  1323 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |  1450 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | 
|  1324 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |  1451 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. | 
|  1325 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |  1452 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 
|  1326 [AM_AUTOMAKE_VERSION([1.11.3])dnl |  1453 [AM_AUTOMAKE_VERSION([1.15])dnl | 
|  1327 m4_ifndef([AC_AUTOCONF_VERSION], |  1454 m4_ifndef([AC_AUTOCONF_VERSION], | 
|  1328   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |  1455   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 
|  1329 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |  1456 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) | 
|  1330  |  1457  | 
|  1331 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*- |  1458 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*- | 
|  1332  |  1459  | 
|  1333 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |  1460 # Copyright (C) 2001-2014 Free Software Foundation, Inc. | 
|  1334 # |  1461 # | 
|  1335 # This file is free software; the Free Software Foundation |  1462 # This file is free software; the Free Software Foundation | 
|  1336 # gives unlimited permission to copy and/or distribute it, |  1463 # gives unlimited permission to copy and/or distribute it, | 
|  1337 # with or without modifications, as long as this notice is preserved. |  1464 # with or without modifications, as long as this notice is preserved. | 
|  1338  |  1465  | 
|  1339 # serial 1 |  | 
|  1340  |  | 
|  1341 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |  1466 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | 
|  1342 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to |  1467 # $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to | 
|  1343 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. |  1468 # '$srcdir', '$srcdir/..', or '$srcdir/../..'. | 
|  1344 # |  1469 # | 
|  1345 # Of course, Automake must honor this variable whenever it calls a |  1470 # Of course, Automake must honor this variable whenever it calls a | 
|  1346 # tool from the auxiliary directory.  The problem is that $srcdir (and |  1471 # tool from the auxiliary directory.  The problem is that $srcdir (and | 
|  1347 # therefore $ac_aux_dir as well) can be either absolute or relative, |  1472 # therefore $ac_aux_dir as well) can be either absolute or relative, | 
|  1348 # depending on how configure is run.  This is pretty annoying, since |  1473 # depending on how configure is run.  This is pretty annoying, since | 
|  1349 # it makes $ac_aux_dir quite unusable in subdirectories: in the top |  1474 # it makes $ac_aux_dir quite unusable in subdirectories: in the top | 
|  1350 # source directory, any form will work fine, but in subdirectories a |  1475 # source directory, any form will work fine, but in subdirectories a | 
|  1351 # relative path needs to be adjusted first. |  1476 # relative path needs to be adjusted first. | 
|  1352 # |  1477 # | 
|  1353 # $ac_aux_dir/missing |  1478 # $ac_aux_dir/missing | 
|  1354 #    fails when called from a subdirectory if $ac_aux_dir is relative |  1479 #    fails when called from a subdirectory if $ac_aux_dir is relative | 
|  1355 # $top_srcdir/$ac_aux_dir/missing |  1480 # $top_srcdir/$ac_aux_dir/missing | 
|  1356 #    fails if $ac_aux_dir is absolute, |  1481 #    fails if $ac_aux_dir is absolute, | 
|  1357 #    fails when called from a subdirectory in a VPATH build with |  1482 #    fails when called from a subdirectory in a VPATH build with | 
|  1358 #          a relative $ac_aux_dir |  1483 #          a relative $ac_aux_dir | 
|  1359 # |  1484 # | 
|  1360 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir |  1485 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir | 
|  1361 # are both prefixed by $srcdir.  In an in-source build this is usually |  1486 # are both prefixed by $srcdir.  In an in-source build this is usually | 
|  1362 # harmless because $srcdir is `.', but things will broke when you |  1487 # harmless because $srcdir is '.', but things will broke when you | 
|  1363 # start a VPATH build or use an absolute $srcdir. |  1488 # start a VPATH build or use an absolute $srcdir. | 
|  1364 # |  1489 # | 
|  1365 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |  1490 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, | 
|  1366 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be: |  1491 # iff we strip the leading $srcdir from $ac_aux_dir.  That would be: | 
|  1367 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |  1492 #   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` | 
|  1368 # and then we would define $MISSING as |  1493 # and then we would define $MISSING as | 
|  1369 #   MISSING="\${SHELL} $am_aux_dir/missing" |  1494 #   MISSING="\${SHELL} $am_aux_dir/missing" | 
|  1370 # This will work as long as MISSING is not called from configure, because |  1495 # This will work as long as MISSING is not called from configure, because | 
|  1371 # unfortunately $(top_srcdir) has no meaning in configure. |  1496 # unfortunately $(top_srcdir) has no meaning in configure. | 
|  1372 # However there are other variables, like CC, which are often used in |  1497 # However there are other variables, like CC, which are often used in | 
|  1373 # configure, and could therefore not use this "fixed" $ac_aux_dir. |  1498 # configure, and could therefore not use this "fixed" $ac_aux_dir. | 
|  1374 # |  1499 # | 
|  1375 # Another solution, used here, is to always expand $ac_aux_dir to an |  1500 # Another solution, used here, is to always expand $ac_aux_dir to an | 
|  1376 # absolute PATH.  The drawback is that using absolute paths prevent a |  1501 # absolute PATH.  The drawback is that using absolute paths prevent a | 
|  1377 # configured tree to be moved without reconfiguration. |  1502 # configured tree to be moved without reconfiguration. | 
|  1378  |  1503  | 
|  1379 AC_DEFUN([AM_AUX_DIR_EXPAND], |  1504 AC_DEFUN([AM_AUX_DIR_EXPAND], | 
|  1380 [dnl Rely on autoconf to set up CDPATH properly. |  1505 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl | 
|  1381 AC_PREREQ([2.50])dnl |  1506 # Expand $ac_aux_dir to an absolute path. | 
|  1382 # expand $ac_aux_dir to an absolute path |  1507 am_aux_dir=`cd "$ac_aux_dir" && pwd` | 
|  1383 am_aux_dir=`cd $ac_aux_dir && pwd` |  | 
|  1384 ]) |  1508 ]) | 
|  1385  |  1509  | 
|  1386 # AM_CONDITIONAL                                            -*- Autoconf -*- |  1510 # AM_CONDITIONAL                                            -*- Autoconf -*- | 
|  1387  |  1511  | 
|  1388 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 |  1512 # Copyright (C) 1997-2014 Free Software Foundation, Inc. | 
|  1389 # Free Software Foundation, Inc. |  | 
|  1390 # |  1513 # | 
|  1391 # This file is free software; the Free Software Foundation |  1514 # This file is free software; the Free Software Foundation | 
|  1392 # gives unlimited permission to copy and/or distribute it, |  1515 # gives unlimited permission to copy and/or distribute it, | 
|  1393 # with or without modifications, as long as this notice is preserved. |  1516 # with or without modifications, as long as this notice is preserved. | 
|  1394  |  1517  | 
|  1395 # serial 9 |  | 
|  1396  |  | 
|  1397 # AM_CONDITIONAL(NAME, SHELL-CONDITION) |  1518 # AM_CONDITIONAL(NAME, SHELL-CONDITION) | 
|  1398 # ------------------------------------- |  1519 # ------------------------------------- | 
|  1399 # Define a conditional. |  1520 # Define a conditional. | 
|  1400 AC_DEFUN([AM_CONDITIONAL], |  1521 AC_DEFUN([AM_CONDITIONAL], | 
|  1401 [AC_PREREQ(2.52)dnl |  1522 [AC_PREREQ([2.52])dnl | 
|  1402  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])], |  1523  m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])], | 
|  1403 »       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |  1524        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl | 
|  1404 AC_SUBST([$1_TRUE])dnl |  1525 AC_SUBST([$1_TRUE])dnl | 
|  1405 AC_SUBST([$1_FALSE])dnl |  1526 AC_SUBST([$1_FALSE])dnl | 
|  1406 _AM_SUBST_NOTMAKE([$1_TRUE])dnl |  1527 _AM_SUBST_NOTMAKE([$1_TRUE])dnl | 
|  1407 _AM_SUBST_NOTMAKE([$1_FALSE])dnl |  1528 _AM_SUBST_NOTMAKE([$1_FALSE])dnl | 
|  1408 m4_define([_AM_COND_VALUE_$1], [$2])dnl |  1529 m4_define([_AM_COND_VALUE_$1], [$2])dnl | 
|  1409 if $2; then |  1530 if $2; then | 
|  1410   $1_TRUE= |  1531   $1_TRUE= | 
|  1411   $1_FALSE='#' |  1532   $1_FALSE='#' | 
|  1412 else |  1533 else | 
|  1413   $1_TRUE='#' |  1534   $1_TRUE='#' | 
|  1414   $1_FALSE= |  1535   $1_FALSE= | 
|  1415 fi |  1536 fi | 
|  1416 AC_CONFIG_COMMANDS_PRE( |  1537 AC_CONFIG_COMMANDS_PRE( | 
|  1417 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |  1538 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then | 
|  1418   AC_MSG_ERROR([[conditional "$1" was never defined. |  1539   AC_MSG_ERROR([[conditional "$1" was never defined. | 
|  1419 Usually this means the macro was only invoked conditionally.]]) |  1540 Usually this means the macro was only invoked conditionally.]]) | 
|  1420 fi])]) |  1541 fi])]) | 
|  1421  |  1542  | 
|  1422 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, |  1543 # Copyright (C) 1999-2014 Free Software Foundation, Inc. | 
|  1423 # 2010, 2011 Free Software Foundation, Inc. |  | 
|  1424 # |  1544 # | 
|  1425 # This file is free software; the Free Software Foundation |  1545 # This file is free software; the Free Software Foundation | 
|  1426 # gives unlimited permission to copy and/or distribute it, |  1546 # gives unlimited permission to copy and/or distribute it, | 
|  1427 # with or without modifications, as long as this notice is preserved. |  1547 # with or without modifications, as long as this notice is preserved. | 
|  1428  |  1548  | 
|  1429 # serial 12 |  | 
|  1430  |  1549  | 
|  1431 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |  1550 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be | 
|  1432 # written in clear, in which case automake, when reading aclocal.m4, |  1551 # written in clear, in which case automake, when reading aclocal.m4, | 
|  1433 # will think it sees a *use*, and therefore will trigger all it's |  1552 # will think it sees a *use*, and therefore will trigger all it's | 
|  1434 # C support machinery.  Also note that it means that autoscan, seeing |  1553 # C support machinery.  Also note that it means that autoscan, seeing | 
|  1435 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... |  1554 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... | 
|  1436  |  1555  | 
|  1437  |  1556  | 
|  1438 # _AM_DEPENDENCIES(NAME) |  1557 # _AM_DEPENDENCIES(NAME) | 
|  1439 # ---------------------- |  1558 # ---------------------- | 
|  1440 # See how the compiler implements dependency checking. |  1559 # See how the compiler implements dependency checking. | 
|  1441 # NAME is "CC", "CXX", "GCJ", or "OBJC". |  1560 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". | 
|  1442 # We try a few techniques and use that to set a single cache variable. |  1561 # We try a few techniques and use that to set a single cache variable. | 
|  1443 # |  1562 # | 
|  1444 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |  1563 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was | 
|  1445 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |  1564 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular | 
|  1446 # dependency, and given that the user is not expected to run this macro, |  1565 # dependency, and given that the user is not expected to run this macro, | 
|  1447 # just rely on AC_PROG_CC. |  1566 # just rely on AC_PROG_CC. | 
|  1448 AC_DEFUN([_AM_DEPENDENCIES], |  1567 AC_DEFUN([_AM_DEPENDENCIES], | 
|  1449 [AC_REQUIRE([AM_SET_DEPDIR])dnl |  1568 [AC_REQUIRE([AM_SET_DEPDIR])dnl | 
|  1450 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |  1569 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl | 
|  1451 AC_REQUIRE([AM_MAKE_INCLUDE])dnl |  1570 AC_REQUIRE([AM_MAKE_INCLUDE])dnl | 
|  1452 AC_REQUIRE([AM_DEP_TRACK])dnl |  1571 AC_REQUIRE([AM_DEP_TRACK])dnl | 
|  1453  |  1572  | 
|  1454 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=], |  1573 m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=], | 
|  1455        [$1], CXX,  [depcc="$CXX"  am_compiler_list=], |  1574       [$1], [CXX],  [depcc="$CXX"  am_compiler_list=], | 
|  1456        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |  1575       [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], | 
|  1457        [$1], UPC,  [depcc="$UPC"  am_compiler_list=], |  1576       [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], | 
|  1458        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'], |  1577       [$1], [UPC],  [depcc="$UPC"  am_compiler_list=], | 
|  1459                    [depcc="$$1"   am_compiler_list=]) |  1578       [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'], | 
 |  1579                     [depcc="$$1"   am_compiler_list=]) | 
|  1460  |  1580  | 
|  1461 AC_CACHE_CHECK([dependency style of $depcc], |  1581 AC_CACHE_CHECK([dependency style of $depcc], | 
|  1462                [am_cv_$1_dependencies_compiler_type], |  1582                [am_cv_$1_dependencies_compiler_type], | 
|  1463 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |  1583 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 
|  1464   # We make a subdir and do the tests there.  Otherwise we can end up |  1584   # We make a subdir and do the tests there.  Otherwise we can end up | 
|  1465   # making bogus files that we don't know about and never remove.  For |  1585   # making bogus files that we don't know about and never remove.  For | 
|  1466   # instance it was reported that on HP-UX the gcc test will end up |  1586   # instance it was reported that on HP-UX the gcc test will end up | 
|  1467   # making a dummy file named `D' -- because `-MD' means `put the output |  1587   # making a dummy file named 'D' -- because '-MD' means "put the output | 
|  1468   # in D'. |  1588   # in D". | 
|  1469   rm -rf conftest.dir |  1589   rm -rf conftest.dir | 
|  1470   mkdir conftest.dir |  1590   mkdir conftest.dir | 
|  1471   # Copy depcomp to subdir because otherwise we won't find it if we're |  1591   # Copy depcomp to subdir because otherwise we won't find it if we're | 
|  1472   # using a relative directory. |  1592   # using a relative directory. | 
|  1473   cp "$am_depcomp" conftest.dir |  1593   cp "$am_depcomp" conftest.dir | 
|  1474   cd conftest.dir |  1594   cd conftest.dir | 
|  1475   # We will build objects and dependencies in a subdirectory because |  1595   # We will build objects and dependencies in a subdirectory because | 
|  1476   # it helps to detect inapplicable dependency modes.  For instance |  1596   # it helps to detect inapplicable dependency modes.  For instance | 
|  1477   # both Tru64's cc and ICC support -MD to output dependencies as a |  1597   # both Tru64's cc and ICC support -MD to output dependencies as a | 
|  1478   # side effect of compilation, but ICC will put the dependencies in |  1598   # side effect of compilation, but ICC will put the dependencies in | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
|  1498     # Setup a source with many dependencies, because some compilers |  1618     # Setup a source with many dependencies, because some compilers | 
|  1499     # like to wrap large dependency lists on column 80 (with \), and |  1619     # like to wrap large dependency lists on column 80 (with \), and | 
|  1500     # we should not choose a depcomp mode which is confused by this. |  1620     # we should not choose a depcomp mode which is confused by this. | 
|  1501     # |  1621     # | 
|  1502     # We need to recreate these files for each test, as the compiler may |  1622     # We need to recreate these files for each test, as the compiler may | 
|  1503     # overwrite some of them when testing with obscure command lines. |  1623     # overwrite some of them when testing with obscure command lines. | 
|  1504     # This happens at least with the AIX C compiler. |  1624     # This happens at least with the AIX C compiler. | 
|  1505     : > sub/conftest.c |  1625     : > sub/conftest.c | 
|  1506     for i in 1 2 3 4 5 6; do |  1626     for i in 1 2 3 4 5 6; do | 
|  1507       echo '#include "conftst'$i'.h"' >> sub/conftest.c |  1627       echo '#include "conftst'$i'.h"' >> sub/conftest.c | 
|  1508       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |  1628       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | 
|  1509       # Solaris 8's {/usr,}/bin/sh. |  1629       # Solaris 10 /bin/sh. | 
|  1510       touch sub/conftst$i.h |  1630       echo '/* dummy */' > sub/conftst$i.h | 
|  1511     done |  1631     done | 
|  1512     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |  1632     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 
|  1513  |  1633  | 
|  1514     # We check with `-c' and `-o' for the sake of the "dashmstdout" |  1634     # We check with '-c' and '-o' for the sake of the "dashmstdout" | 
|  1515     # mode.  It turns out that the SunPro C++ compiler does not properly |  1635     # mode.  It turns out that the SunPro C++ compiler does not properly | 
|  1516     # handle `-M -o', and we need to detect this.  Also, some Intel |  1636     # handle '-M -o', and we need to detect this.  Also, some Intel | 
|  1517     # versions had trouble with output in subdirs |  1637     # versions had trouble with output in subdirs. | 
|  1518     am__obj=sub/conftest.${OBJEXT-o} |  1638     am__obj=sub/conftest.${OBJEXT-o} | 
|  1519     am__minus_obj="-o $am__obj" |  1639     am__minus_obj="-o $am__obj" | 
|  1520     case $depmode in |  1640     case $depmode in | 
|  1521     gcc) |  1641     gcc) | 
|  1522       # This depmode causes a compiler race in universal mode. |  1642       # This depmode causes a compiler race in universal mode. | 
|  1523       test "$am__universal" = false || continue |  1643       test "$am__universal" = false || continue | 
|  1524       ;; |  1644       ;; | 
|  1525     nosideeffect) |  1645     nosideeffect) | 
|  1526       # after this tag, mechanisms are not by side-effect, so they'll |  1646       # After this tag, mechanisms are not by side-effect, so they'll | 
|  1527       # only be used when explicitly requested |  1647       # only be used when explicitly requested. | 
|  1528       if test "x$enable_dependency_tracking" = xyes; then |  1648       if test "x$enable_dependency_tracking" = xyes; then | 
|  1529         continue |  1649         continue | 
|  1530       else |  1650       else | 
|  1531         break |  1651         break | 
|  1532       fi |  1652       fi | 
|  1533       ;; |  1653       ;; | 
|  1534     msvc7 | msvc7msys | msvisualcpp | msvcmsys) |  1654     msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 
|  1535       # This compiler won't grok `-c -o', but also, the minuso test has |  1655       # This compiler won't grok '-c -o', but also, the minuso test has | 
|  1536       # not run yet.  These depmodes are late enough in the game, and |  1656       # not run yet.  These depmodes are late enough in the game, and | 
|  1537       # so weak that their functioning should not be impacted. |  1657       # so weak that their functioning should not be impacted. | 
|  1538       am__obj=conftest.${OBJEXT-o} |  1658       am__obj=conftest.${OBJEXT-o} | 
|  1539       am__minus_obj= |  1659       am__minus_obj= | 
|  1540       ;; |  1660       ;; | 
|  1541     none) break ;; |  1661     none) break ;; | 
|  1542     esac |  1662     esac | 
|  1543     if depmode=$depmode \ |  1663     if depmode=$depmode \ | 
|  1544        source=sub/conftest.c object=$am__obj \ |  1664        source=sub/conftest.c object=$am__obj \ | 
|  1545        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |  1665        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
|  1573 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |  1693 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) | 
|  1574 AM_CONDITIONAL([am__fastdep$1], [ |  1694 AM_CONDITIONAL([am__fastdep$1], [ | 
|  1575   test "x$enable_dependency_tracking" != xno \ |  1695   test "x$enable_dependency_tracking" != xno \ | 
|  1576   && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |  1696   && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) | 
|  1577 ]) |  1697 ]) | 
|  1578  |  1698  | 
|  1579  |  1699  | 
|  1580 # AM_SET_DEPDIR |  1700 # AM_SET_DEPDIR | 
|  1581 # ------------- |  1701 # ------------- | 
|  1582 # Choose a directory name for dependency files. |  1702 # Choose a directory name for dependency files. | 
|  1583 # This macro is AC_REQUIREd in _AM_DEPENDENCIES |  1703 # This macro is AC_REQUIREd in _AM_DEPENDENCIES. | 
|  1584 AC_DEFUN([AM_SET_DEPDIR], |  1704 AC_DEFUN([AM_SET_DEPDIR], | 
|  1585 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |  1705 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl | 
|  1586 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |  1706 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl | 
|  1587 ]) |  1707 ]) | 
|  1588  |  1708  | 
|  1589  |  1709  | 
|  1590 # AM_DEP_TRACK |  1710 # AM_DEP_TRACK | 
|  1591 # ------------ |  1711 # ------------ | 
|  1592 AC_DEFUN([AM_DEP_TRACK], |  1712 AC_DEFUN([AM_DEP_TRACK], | 
|  1593 [AC_ARG_ENABLE(dependency-tracking, |  1713 [AC_ARG_ENABLE([dependency-tracking], [dnl | 
|  1594 [  --disable-dependency-tracking  speeds up one-time build |  1714 AS_HELP_STRING( | 
|  1595   --enable-dependency-tracking   do not reject slow dependency extractors]) |  1715   [--enable-dependency-tracking], | 
 |  1716   [do not reject slow dependency extractors]) | 
 |  1717 AS_HELP_STRING( | 
 |  1718   [--disable-dependency-tracking], | 
 |  1719   [speeds up one-time build])]) | 
|  1596 if test "x$enable_dependency_tracking" != xno; then |  1720 if test "x$enable_dependency_tracking" != xno; then | 
|  1597   am_depcomp="$ac_aux_dir/depcomp" |  1721   am_depcomp="$ac_aux_dir/depcomp" | 
|  1598   AMDEPBACKSLASH='\' |  1722   AMDEPBACKSLASH='\' | 
|  1599   am__nodep='_no' |  1723   am__nodep='_no' | 
|  1600 fi |  1724 fi | 
|  1601 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |  1725 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) | 
|  1602 AC_SUBST([AMDEPBACKSLASH])dnl |  1726 AC_SUBST([AMDEPBACKSLASH])dnl | 
|  1603 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |  1727 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl | 
|  1604 AC_SUBST([am__nodep])dnl |  1728 AC_SUBST([am__nodep])dnl | 
|  1605 _AM_SUBST_NOTMAKE([am__nodep])dnl |  1729 _AM_SUBST_NOTMAKE([am__nodep])dnl | 
|  1606 ]) |  1730 ]) | 
|  1607  |  1731  | 
|  1608 # Generate code to set up dependency tracking.              -*- Autoconf -*- |  1732 # Generate code to set up dependency tracking.              -*- Autoconf -*- | 
|  1609  |  1733  | 
|  1610 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |  1734 # Copyright (C) 1999-2014 Free Software Foundation, Inc. | 
|  1611 # Free Software Foundation, Inc. |  | 
|  1612 # |  1735 # | 
|  1613 # This file is free software; the Free Software Foundation |  1736 # This file is free software; the Free Software Foundation | 
|  1614 # gives unlimited permission to copy and/or distribute it, |  1737 # gives unlimited permission to copy and/or distribute it, | 
|  1615 # with or without modifications, as long as this notice is preserved. |  1738 # with or without modifications, as long as this notice is preserved. | 
|  1616  |  1739  | 
|  1617 #serial 5 |  | 
|  1618  |  1740  | 
|  1619 # _AM_OUTPUT_DEPENDENCY_COMMANDS |  1741 # _AM_OUTPUT_DEPENDENCY_COMMANDS | 
|  1620 # ------------------------------ |  1742 # ------------------------------ | 
|  1621 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |  1743 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], | 
|  1622 [{ |  1744 [{ | 
|  1623   # Autoconf 2.62 quotes --file arguments for eval, but not when files |  1745   # Older Autoconf quotes --file arguments for eval, but not when files | 
|  1624   # are listed without --file.  Let's play safe and only enable the eval |  1746   # are listed without --file.  Let's play safe and only enable the eval | 
|  1625   # if we detect the quoting. |  1747   # if we detect the quoting. | 
|  1626   case $CONFIG_FILES in |  1748   case $CONFIG_FILES in | 
|  1627   *\'*) eval set x "$CONFIG_FILES" ;; |  1749   *\'*) eval set x "$CONFIG_FILES" ;; | 
|  1628   *)   set x $CONFIG_FILES ;; |  1750   *)   set x $CONFIG_FILES ;; | 
|  1629   esac |  1751   esac | 
|  1630   shift |  1752   shift | 
|  1631   for mf |  1753   for mf | 
|  1632   do |  1754   do | 
|  1633     # Strip MF so we end up with the name of the file. |  1755     # Strip MF so we end up with the name of the file. | 
|  1634     mf=`echo "$mf" | sed -e 's/:.*$//'` |  1756     mf=`echo "$mf" | sed -e 's/:.*$//'` | 
|  1635     # Check whether this is an Automake generated Makefile or not. |  1757     # Check whether this is an Automake generated Makefile or not. | 
|  1636     # We used to match only the files named `Makefile.in', but |  1758     # We used to match only the files named 'Makefile.in', but | 
|  1637     # some people rename them; so instead we look at the file content. |  1759     # some people rename them; so instead we look at the file content. | 
|  1638     # Grep'ing the first line is not enough: some people post-process |  1760     # Grep'ing the first line is not enough: some people post-process | 
|  1639     # each Makefile.in and add a new line on top of each file to say so. |  1761     # each Makefile.in and add a new line on top of each file to say so. | 
|  1640     # Grep'ing the whole file is not good either: AIX grep has a line |  1762     # Grep'ing the whole file is not good either: AIX grep has a line | 
|  1641     # limit of 2048, but all sed's we know have understand at least 4000. |  1763     # limit of 2048, but all sed's we know have understand at least 4000. | 
|  1642     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1
      ; then |  1764     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1
      ; then | 
|  1643       dirpart=`AS_DIRNAME("$mf")` |  1765       dirpart=`AS_DIRNAME("$mf")` | 
|  1644     else |  1766     else | 
|  1645       continue |  1767       continue | 
|  1646     fi |  1768     fi | 
|  1647     # Extract the definition of DEPDIR, am__include, and am__quote |  1769     # Extract the definition of DEPDIR, am__include, and am__quote | 
|  1648     # from the Makefile without running `make'. |  1770     # from the Makefile without running 'make'. | 
|  1649     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |  1771     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 
|  1650     test -z "$DEPDIR" && continue |  1772     test -z "$DEPDIR" && continue | 
|  1651     am__include=`sed -n 's/^am__include = //p' < "$mf"` |  1773     am__include=`sed -n 's/^am__include = //p' < "$mf"` | 
|  1652     test -z "am__include" && continue |  1774     test -z "$am__include" && continue | 
|  1653     am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |  1775     am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | 
|  1654     # When using ansi2knr, U may be empty or an underscore; expand it |  | 
|  1655     U=`sed -n 's/^U = //p' < "$mf"` |  | 
|  1656     # Find all dependency output files, they are included files with |  1776     # Find all dependency output files, they are included files with | 
|  1657     # $(DEPDIR) in their names.  We invoke sed twice because it is the |  1777     # $(DEPDIR) in their names.  We invoke sed twice because it is the | 
|  1658     # simplest approach to changing $(DEPDIR) to its actual value in the |  1778     # simplest approach to changing $(DEPDIR) to its actual value in the | 
|  1659     # expansion. |  1779     # expansion. | 
|  1660     for file in `sed -n " |  1780     for file in `sed -n " | 
|  1661       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |  1781       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | 
|  1662 »        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |  1782 »        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | 
|  1663       # Make sure the directory exists. |  1783       # Make sure the directory exists. | 
|  1664       test -f "$dirpart/$file" && continue |  1784       test -f "$dirpart/$file" && continue | 
|  1665       fdir=`AS_DIRNAME(["$file"])` |  1785       fdir=`AS_DIRNAME(["$file"])` | 
|  1666       AS_MKDIR_P([$dirpart/$fdir]) |  1786       AS_MKDIR_P([$dirpart/$fdir]) | 
|  1667       # echo "creating $dirpart/$file" |  1787       # echo "creating $dirpart/$file" | 
|  1668       echo '# dummy' > "$dirpart/$file" |  1788       echo '# dummy' > "$dirpart/$file" | 
|  1669     done |  1789     done | 
|  1670   done |  1790   done | 
|  1671 } |  1791 } | 
|  1672 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |  1792 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS | 
|  1673  |  1793  | 
|  1674  |  1794  | 
|  1675 # AM_OUTPUT_DEPENDENCY_COMMANDS |  1795 # AM_OUTPUT_DEPENDENCY_COMMANDS | 
|  1676 # ----------------------------- |  1796 # ----------------------------- | 
|  1677 # This macro should only be invoked once -- use via AC_REQUIRE. |  1797 # This macro should only be invoked once -- use via AC_REQUIRE. | 
|  1678 # |  1798 # | 
|  1679 # This code is only required when automatic dependency tracking |  1799 # This code is only required when automatic dependency tracking | 
|  1680 # is enabled.  FIXME.  This creates each `.P' file that we will |  1800 # is enabled.  FIXME.  This creates each '.P' file that we will | 
|  1681 # need in order to bootstrap the dependency handling code. |  1801 # need in order to bootstrap the dependency handling code. | 
|  1682 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |  1802 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], | 
|  1683 [AC_CONFIG_COMMANDS([depfiles], |  1803 [AC_CONFIG_COMMANDS([depfiles], | 
|  1684      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |  1804      [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], | 
|  1685      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |  1805      [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | 
|  1686 ]) |  1806 ]) | 
|  1687  |  1807  | 
|  1688 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 |  1808 # Do all the work for Automake.                             -*- Autoconf -*- | 
|  1689 # Free Software Foundation, Inc. |  1809  | 
 |  1810 # Copyright (C) 1996-2014 Free Software Foundation, Inc. | 
|  1690 # |  1811 # | 
|  1691 # This file is free software; the Free Software Foundation |  1812 # This file is free software; the Free Software Foundation | 
|  1692 # gives unlimited permission to copy and/or distribute it, |  1813 # gives unlimited permission to copy and/or distribute it, | 
|  1693 # with or without modifications, as long as this notice is preserved. |  1814 # with or without modifications, as long as this notice is preserved. | 
|  1694  |  1815  | 
|  1695 # serial 8 |  | 
|  1696  |  | 
|  1697 # AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS. |  | 
|  1698 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |  | 
|  1699  |  | 
|  1700 # Do all the work for Automake.                             -*- Autoconf -*- |  | 
|  1701  |  | 
|  1702 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |  | 
|  1703 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |  | 
|  1704 # |  | 
|  1705 # This file is free software; the Free Software Foundation |  | 
|  1706 # gives unlimited permission to copy and/or distribute it, |  | 
|  1707 # with or without modifications, as long as this notice is preserved. |  | 
|  1708  |  | 
|  1709 # serial 16 |  | 
|  1710  |  | 
|  1711 # This macro actually does too much.  Some checks are only needed if |  1816 # This macro actually does too much.  Some checks are only needed if | 
|  1712 # your package does certain things.  But this isn't really a big deal. |  1817 # your package does certain things.  But this isn't really a big deal. | 
|  1713  |  1818  | 
 |  1819 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. | 
 |  1820 m4_define([AC_PROG_CC], | 
 |  1821 m4_defn([AC_PROG_CC]) | 
 |  1822 [_AM_PROG_CC_C_O | 
 |  1823 ]) | 
 |  1824  | 
|  1714 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |  1825 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | 
|  1715 # AM_INIT_AUTOMAKE([OPTIONS]) |  1826 # AM_INIT_AUTOMAKE([OPTIONS]) | 
|  1716 # ----------------------------------------------- |  1827 # ----------------------------------------------- | 
|  1717 # The call with PACKAGE and VERSION arguments is the old style |  1828 # The call with PACKAGE and VERSION arguments is the old style | 
|  1718 # call (pre autoconf-2.50), which is being phased out.  PACKAGE |  1829 # call (pre autoconf-2.50), which is being phased out.  PACKAGE | 
|  1719 # and VERSION should now be passed to AC_INIT and removed from |  1830 # and VERSION should now be passed to AC_INIT and removed from | 
|  1720 # the call to AM_INIT_AUTOMAKE. |  1831 # the call to AM_INIT_AUTOMAKE. | 
|  1721 # We support both call styles for the transition.  After |  1832 # We support both call styles for the transition.  After | 
|  1722 # the next Automake release, Autoconf can make the AC_INIT |  1833 # the next Automake release, Autoconf can make the AC_INIT | 
|  1723 # arguments mandatory, and then we can depend on a new Autoconf |  1834 # arguments mandatory, and then we can depend on a new Autoconf | 
|  1724 # release and drop the old call support. |  1835 # release and drop the old call support. | 
|  1725 AC_DEFUN([AM_INIT_AUTOMAKE], |  1836 AC_DEFUN([AM_INIT_AUTOMAKE], | 
|  1726 [AC_PREREQ([2.62])dnl |  1837 [AC_PREREQ([2.65])dnl | 
|  1727 dnl Autoconf wants to disallow AM_ names.  We explicitly allow |  1838 dnl Autoconf wants to disallow AM_ names.  We explicitly allow | 
|  1728 dnl the ones we care about. |  1839 dnl the ones we care about. | 
|  1729 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |  1840 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl | 
|  1730 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |  1841 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl | 
|  1731 AC_REQUIRE([AC_PROG_INSTALL])dnl |  1842 AC_REQUIRE([AC_PROG_INSTALL])dnl | 
|  1732 if test "`cd $srcdir && pwd`" != "`pwd`"; then |  1843 if test "`cd $srcdir && pwd`" != "`pwd`"; then | 
|  1733   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |  1844   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | 
|  1734   # is not polluted with repeated "-I." |  1845   # is not polluted with repeated "-I." | 
|  1735   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |  1846   AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl | 
|  1736   # test to see if srcdir already configured |  1847   # test to see if srcdir already configured | 
|  1737   if test -f $srcdir/config.status; then |  1848   if test -f $srcdir/config.status; then | 
|  1738     AC_MSG_ERROR([source directory already configured; run "make distclean" ther
      e first]) |  1849     AC_MSG_ERROR([source directory already configured; run "make distclean" ther
      e first]) | 
|  1739   fi |  1850   fi | 
|  1740 fi |  1851 fi | 
|  1741  |  1852  | 
|  1742 # test whether we have cygpath |  1853 # test whether we have cygpath | 
|  1743 if test -z "$CYGPATH_W"; then |  1854 if test -z "$CYGPATH_W"; then | 
|  1744   if (cygpath --version) >/dev/null 2>/dev/null; then |  1855   if (cygpath --version) >/dev/null 2>/dev/null; then | 
|  1745     CYGPATH_W='cygpath -w' |  1856     CYGPATH_W='cygpath -w' | 
|  1746   else |  1857   else | 
|  1747     CYGPATH_W=echo |  1858     CYGPATH_W=echo | 
|  1748   fi |  1859   fi | 
|  1749 fi |  1860 fi | 
|  1750 AC_SUBST([CYGPATH_W]) |  1861 AC_SUBST([CYGPATH_W]) | 
|  1751  |  1862  | 
|  1752 # Define the identity of the package. |  1863 # Define the identity of the package. | 
|  1753 dnl Distinguish between old-style and new-style calls. |  1864 dnl Distinguish between old-style and new-style calls. | 
|  1754 m4_ifval([$2], |  1865 m4_ifval([$2], | 
|  1755 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |  1866 [AC_DIAGNOSE([obsolete], | 
 |  1867              [$0: two- and three-arguments forms are deprecated.]) | 
 |  1868 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl | 
|  1756  AC_SUBST([PACKAGE], [$1])dnl |  1869  AC_SUBST([PACKAGE], [$1])dnl | 
|  1757  AC_SUBST([VERSION], [$2])], |  1870  AC_SUBST([VERSION], [$2])], | 
|  1758 [_AM_SET_OPTIONS([$1])dnl |  1871 [_AM_SET_OPTIONS([$1])dnl | 
|  1759 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |  1872 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. | 
|  1760 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |  1873 m4_if( | 
 |  1874   m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), | 
 |  1875   [ok:ok],, | 
|  1761   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |  1876   [m4_fatal([AC_INIT should be called with package and version arguments])])dnl | 
|  1762  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |  1877  AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl | 
|  1763  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |  1878  AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl | 
|  1764  |  1879  | 
|  1765 _AM_IF_OPTION([no-define],, |  1880 _AM_IF_OPTION([no-define],, | 
|  1766 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |  1881 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) | 
|  1767  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |  1882  AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl | 
|  1768  |  1883  | 
|  1769 # Some tools Automake needs. |  1884 # Some tools Automake needs. | 
|  1770 AC_REQUIRE([AM_SANITY_CHECK])dnl |  1885 AC_REQUIRE([AM_SANITY_CHECK])dnl | 
|  1771 AC_REQUIRE([AC_ARG_PROGRAM])dnl |  1886 AC_REQUIRE([AC_ARG_PROGRAM])dnl | 
|  1772 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |  1887 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) | 
|  1773 AM_MISSING_PROG(AUTOCONF, autoconf) |  1888 AM_MISSING_PROG([AUTOCONF], [autoconf]) | 
|  1774 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |  1889 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) | 
|  1775 AM_MISSING_PROG(AUTOHEADER, autoheader) |  1890 AM_MISSING_PROG([AUTOHEADER], [autoheader]) | 
|  1776 AM_MISSING_PROG(MAKEINFO, makeinfo) |  1891 AM_MISSING_PROG([MAKEINFO], [makeinfo]) | 
|  1777 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |  1892 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | 
|  1778 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |  1893 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl | 
|  1779 AC_REQUIRE([AM_PROG_MKDIR_P])dnl |  1894 AC_REQUIRE([AC_PROG_MKDIR_P])dnl | 
|  1780 # We need awk for the "check" target.  The system "awk" is bad on |  1895 # For better backward compatibility.  To be removed once Automake 1.9.x | 
|  1781 # some platforms. |  1896 # dies out for good.  For more background, see: | 
 |  1897 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | 
 |  1898 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | 
 |  1899 AC_SUBST([mkdir_p], ['$(MKDIR_P)']) | 
 |  1900 # We need awk for the "check" target (and possibly the TAP driver).  The | 
 |  1901 # system "awk" is bad on some platforms. | 
|  1782 AC_REQUIRE([AC_PROG_AWK])dnl |  1902 AC_REQUIRE([AC_PROG_AWK])dnl | 
|  1783 AC_REQUIRE([AC_PROG_MAKE_SET])dnl |  1903 AC_REQUIRE([AC_PROG_MAKE_SET])dnl | 
|  1784 AC_REQUIRE([AM_SET_LEADING_DOT])dnl |  1904 AC_REQUIRE([AM_SET_LEADING_DOT])dnl | 
|  1785 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |  1905 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], | 
|  1786               [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |  1906               [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], | 
|  1787                              [_AM_PROG_TAR([v7])])]) |  1907                              [_AM_PROG_TAR([v7])])]) | 
|  1788 _AM_IF_OPTION([no-dependencies],, |  1908 _AM_IF_OPTION([no-dependencies],, | 
|  1789 [AC_PROVIDE_IFELSE([AC_PROG_CC], |  1909 [AC_PROVIDE_IFELSE([AC_PROG_CC], | 
|  1790 »       »         [_AM_DEPENDENCIES(CC)], |  1910 »       »         [_AM_DEPENDENCIES([CC])], | 
|  1791 »       »         [define([AC_PROG_CC], |  1911 »       »         [m4_define([AC_PROG_CC], | 
|  1792 »       »       »         defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |  1912 »       »       »            m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl | 
|  1793 AC_PROVIDE_IFELSE([AC_PROG_CXX], |  1913 AC_PROVIDE_IFELSE([AC_PROG_CXX], | 
|  1794 »       »         [_AM_DEPENDENCIES(CXX)], |  1914 »       »         [_AM_DEPENDENCIES([CXX])], | 
|  1795 »       »         [define([AC_PROG_CXX], |  1915 »       »         [m4_define([AC_PROG_CXX], | 
|  1796 »       »       »         defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |  1916 »       »       »            m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])d
      nl | 
|  1797 AC_PROVIDE_IFELSE([AC_PROG_OBJC], |  1917 AC_PROVIDE_IFELSE([AC_PROG_OBJC], | 
|  1798 »       »         [_AM_DEPENDENCIES(OBJC)], |  1918 »       »         [_AM_DEPENDENCIES([OBJC])], | 
|  1799 »       »         [define([AC_PROG_OBJC], |  1919 »       »         [m4_define([AC_PROG_OBJC], | 
|  1800 »       »       »         defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |  1920 »       »       »            m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])]
      )dnl | 
 |  1921 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], | 
 |  1922 »       »         [_AM_DEPENDENCIES([OBJCXX])], | 
 |  1923 »       »         [m4_define([AC_PROG_OBJCXX], | 
 |  1924 »       »       »            m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX]
      )])])dnl | 
|  1801 ]) |  1925 ]) | 
|  1802 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |  1926 AC_REQUIRE([AM_SILENT_RULES])dnl | 
|  1803 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the |  1927 dnl The testsuite driver may need to know about EXEEXT, so add the | 
|  1804 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro |  1928 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This | 
|  1805 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |  1929 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. | 
|  1806 AC_CONFIG_COMMANDS_PRE(dnl |  1930 AC_CONFIG_COMMANDS_PRE(dnl | 
|  1807 [m4_provide_if([_AM_COMPILER_EXEEXT], |  1931 [m4_provide_if([_AM_COMPILER_EXEEXT], | 
|  1808   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |  1932   [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl | 
 |  1933  | 
 |  1934 # POSIX will say in a future version that running "rm -f" with no argument | 
 |  1935 # is OK; and we want to be able to make that assumption in our Makefile | 
 |  1936 # recipes.  So use an aggressive probe to check that the usage we want is | 
 |  1937 # actually supported "in the wild" to an acceptable degree. | 
 |  1938 # See automake bug#10828. | 
 |  1939 # To make any issue more visible, cause the running configure to be aborted | 
 |  1940 # by default if the 'rm' program in use doesn't match our expectations; the | 
 |  1941 # user can still override this though. | 
 |  1942 if rm -f && rm -fr && rm -rf; then : OK; else | 
 |  1943   cat >&2 <<'END' | 
 |  1944 Oops! | 
 |  1945  | 
 |  1946 Your 'rm' program seems unable to run without file operands specified | 
 |  1947 on the command line, even when the '-f' option is present.  This is contrary | 
 |  1948 to the behaviour of most rm programs out there, and not conforming with | 
 |  1949 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> | 
 |  1950  | 
 |  1951 Please tell bug-automake@gnu.org about your system, including the value | 
 |  1952 of your $PATH and any error possibly output before this message.  This | 
 |  1953 can help us improve future automake versions. | 
 |  1954  | 
 |  1955 END | 
 |  1956   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then | 
 |  1957     echo 'Configuration will proceed anyway, since you have set the' >&2 | 
 |  1958     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 | 
 |  1959     echo >&2 | 
 |  1960   else | 
 |  1961     cat >&2 <<'END' | 
 |  1962 Aborting the configuration process, to ensure you take notice of the issue. | 
 |  1963  | 
 |  1964 You can download and install GNU coreutils to get an 'rm' implementation | 
 |  1965 that behaves properly: <http://www.gnu.org/software/coreutils/>. | 
 |  1966  | 
 |  1967 If you want to complete the configuration process using your problematic | 
 |  1968 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM | 
 |  1969 to "yes", and re-run configure. | 
 |  1970  | 
 |  1971 END | 
 |  1972     AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) | 
 |  1973   fi | 
 |  1974 fi | 
 |  1975 dnl The trailing newline in this macro's definition is deliberate, for | 
 |  1976 dnl backward compatibility and to allow trailing 'dnl'-style comments | 
 |  1977 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. | 
|  1809 ]) |  1978 ]) | 
|  1810  |  1979  | 
|  1811 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not |  1980 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not | 
|  1812 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |  1981 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further | 
|  1813 dnl mangled by Autoconf and run in a shell conditional statement. |  1982 dnl mangled by Autoconf and run in a shell conditional statement. | 
|  1814 m4_define([_AC_COMPILER_EXEEXT], |  1983 m4_define([_AC_COMPILER_EXEEXT], | 
|  1815 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |  1984 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) | 
|  1816  |  1985  | 
|  1817  |  | 
|  1818 # When config.status generates a header, we must update the stamp-h file. |  1986 # When config.status generates a header, we must update the stamp-h file. | 
|  1819 # This file resides in the same directory as the config header |  1987 # This file resides in the same directory as the config header | 
|  1820 # that is generated.  The stamp files are numbered to have different names. |  1988 # that is generated.  The stamp files are numbered to have different names. | 
|  1821  |  1989  | 
|  1822 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |  1990 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | 
|  1823 # loop where config.status creates the headers, so we can generate |  1991 # loop where config.status creates the headers, so we can generate | 
|  1824 # our stamp files there. |  1992 # our stamp files there. | 
|  1825 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |  1993 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | 
|  1826 [# Compute $1's index in $config_headers. |  1994 [# Compute $1's index in $config_headers. | 
|  1827 _am_arg=$1 |  1995 _am_arg=$1 | 
|  1828 _am_stamp_count=1 |  1996 _am_stamp_count=1 | 
|  1829 for _am_header in $config_headers :; do |  1997 for _am_header in $config_headers :; do | 
|  1830   case $_am_header in |  1998   case $_am_header in | 
|  1831     $_am_arg | $_am_arg:* ) |  1999     $_am_arg | $_am_arg:* ) | 
|  1832       break ;; |  2000       break ;; | 
|  1833     * ) |  2001     * ) | 
|  1834       _am_stamp_count=`expr $_am_stamp_count + 1` ;; |  2002       _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 
|  1835   esac |  2003   esac | 
|  1836 done |  2004 done | 
|  1837 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
      unt]) |  2005 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
      unt]) | 
|  1838  |  2006  | 
|  1839 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, |  2007 # Copyright (C) 2001-2014 Free Software Foundation, Inc. | 
|  1840 # Inc. |  | 
|  1841 # |  2008 # | 
|  1842 # This file is free software; the Free Software Foundation |  2009 # This file is free software; the Free Software Foundation | 
|  1843 # gives unlimited permission to copy and/or distribute it, |  2010 # gives unlimited permission to copy and/or distribute it, | 
|  1844 # with or without modifications, as long as this notice is preserved. |  2011 # with or without modifications, as long as this notice is preserved. | 
|  1845  |  2012  | 
|  1846 # serial 1 |  | 
|  1847  |  | 
|  1848 # AM_PROG_INSTALL_SH |  2013 # AM_PROG_INSTALL_SH | 
|  1849 # ------------------ |  2014 # ------------------ | 
|  1850 # Define $install_sh. |  2015 # Define $install_sh. | 
|  1851 AC_DEFUN([AM_PROG_INSTALL_SH], |  2016 AC_DEFUN([AM_PROG_INSTALL_SH], | 
|  1852 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |  2017 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 
|  1853 if test x"${install_sh}" != xset; then |  2018 if test x"${install_sh+set}" != xset; then | 
|  1854   case $am_aux_dir in |  2019   case $am_aux_dir in | 
|  1855   *\ * | *\     *) |  2020   *\ * | *\     *) | 
|  1856     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |  2021     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | 
|  1857   *) |  2022   *) | 
|  1858     install_sh="\${SHELL} $am_aux_dir/install-sh" |  2023     install_sh="\${SHELL} $am_aux_dir/install-sh" | 
|  1859   esac |  2024   esac | 
|  1860 fi |  2025 fi | 
|  1861 AC_SUBST(install_sh)]) |  2026 AC_SUBST([install_sh])]) | 
|  1862  |  2027  | 
|  1863 # Copyright (C) 2003, 2005  Free Software Foundation, Inc. |  2028 # Copyright (C) 2003-2014 Free Software Foundation, Inc. | 
|  1864 # |  2029 # | 
|  1865 # This file is free software; the Free Software Foundation |  2030 # This file is free software; the Free Software Foundation | 
|  1866 # gives unlimited permission to copy and/or distribute it, |  2031 # gives unlimited permission to copy and/or distribute it, | 
|  1867 # with or without modifications, as long as this notice is preserved. |  2032 # with or without modifications, as long as this notice is preserved. | 
|  1868  |  2033  | 
|  1869 # serial 2 |  | 
|  1870  |  | 
|  1871 # Check whether the underlying file-system supports filenames |  2034 # Check whether the underlying file-system supports filenames | 
|  1872 # with a leading dot.  For instance MS-DOS doesn't. |  2035 # with a leading dot.  For instance MS-DOS doesn't. | 
|  1873 AC_DEFUN([AM_SET_LEADING_DOT], |  2036 AC_DEFUN([AM_SET_LEADING_DOT], | 
|  1874 [rm -rf .tst 2>/dev/null |  2037 [rm -rf .tst 2>/dev/null | 
|  1875 mkdir .tst 2>/dev/null |  2038 mkdir .tst 2>/dev/null | 
|  1876 if test -d .tst; then |  2039 if test -d .tst; then | 
|  1877   am__leading_dot=. |  2040   am__leading_dot=. | 
|  1878 else |  2041 else | 
|  1879   am__leading_dot=_ |  2042   am__leading_dot=_ | 
|  1880 fi |  2043 fi | 
|  1881 rmdir .tst 2>/dev/null |  2044 rmdir .tst 2>/dev/null | 
|  1882 AC_SUBST([am__leading_dot])]) |  2045 AC_SUBST([am__leading_dot])]) | 
|  1883  |  2046  | 
|  1884 # Check to see how 'make' treats includes.                  -*- Autoconf -*- |  2047 # Check to see how 'make' treats includes.                  -*- Autoconf -*- | 
|  1885  |  2048  | 
|  1886 # Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc. |  2049 # Copyright (C) 2001-2014 Free Software Foundation, Inc. | 
|  1887 # |  2050 # | 
|  1888 # This file is free software; the Free Software Foundation |  2051 # This file is free software; the Free Software Foundation | 
|  1889 # gives unlimited permission to copy and/or distribute it, |  2052 # gives unlimited permission to copy and/or distribute it, | 
|  1890 # with or without modifications, as long as this notice is preserved. |  2053 # with or without modifications, as long as this notice is preserved. | 
|  1891  |  2054  | 
|  1892 # serial 4 |  | 
|  1893  |  | 
|  1894 # AM_MAKE_INCLUDE() |  2055 # AM_MAKE_INCLUDE() | 
|  1895 # ----------------- |  2056 # ----------------- | 
|  1896 # Check to see how make treats includes. |  2057 # Check to see how make treats includes. | 
|  1897 AC_DEFUN([AM_MAKE_INCLUDE], |  2058 AC_DEFUN([AM_MAKE_INCLUDE], | 
|  1898 [am_make=${MAKE-make} |  2059 [am_make=${MAKE-make} | 
|  1899 cat > confinc << 'END' |  2060 cat > confinc << 'END' | 
|  1900 am__doit: |  2061 am__doit: | 
|  1901         @echo this is the am__doit target |  2062         @echo this is the am__doit target | 
|  1902 .PHONY: am__doit |  2063 .PHONY: am__doit | 
|  1903 END |  2064 END | 
|  1904 # If we don't find an include directive, just comment out the code. |  2065 # If we don't find an include directive, just comment out the code. | 
|  1905 AC_MSG_CHECKING([for style of include used by $am_make]) |  2066 AC_MSG_CHECKING([for style of include used by $am_make]) | 
|  1906 am__include="#" |  2067 am__include="#" | 
|  1907 am__quote= |  2068 am__quote= | 
|  1908 _am_result=none |  2069 _am_result=none | 
|  1909 # First try GNU make style include. |  2070 # First try GNU make style include. | 
|  1910 echo "include confinc" > confmf |  2071 echo "include confinc" > confmf | 
|  1911 # Ignore all kinds of additional output from `make'. |  2072 # Ignore all kinds of additional output from 'make'. | 
|  1912 case `$am_make -s -f confmf 2> /dev/null` in #( |  2073 case `$am_make -s -f confmf 2> /dev/null` in #( | 
|  1913 *the\ am__doit\ target*) |  2074 *the\ am__doit\ target*) | 
|  1914   am__include=include |  2075   am__include=include | 
|  1915   am__quote= |  2076   am__quote= | 
|  1916   _am_result=GNU |  2077   _am_result=GNU | 
|  1917   ;; |  2078   ;; | 
|  1918 esac |  2079 esac | 
|  1919 # Now try BSD make style include. |  2080 # Now try BSD make style include. | 
|  1920 if test "$am__include" = "#"; then |  2081 if test "$am__include" = "#"; then | 
|  1921    echo '.include "confinc"' > confmf |  2082    echo '.include "confinc"' > confmf | 
|  1922    case `$am_make -s -f confmf 2> /dev/null` in #( |  2083    case `$am_make -s -f confmf 2> /dev/null` in #( | 
|  1923    *the\ am__doit\ target*) |  2084    *the\ am__doit\ target*) | 
|  1924      am__include=.include |  2085      am__include=.include | 
|  1925      am__quote="\"" |  2086      am__quote="\"" | 
|  1926      _am_result=BSD |  2087      _am_result=BSD | 
|  1927      ;; |  2088      ;; | 
|  1928    esac |  2089    esac | 
|  1929 fi |  2090 fi | 
|  1930 AC_SUBST([am__include]) |  2091 AC_SUBST([am__include]) | 
|  1931 AC_SUBST([am__quote]) |  2092 AC_SUBST([am__quote]) | 
|  1932 AC_MSG_RESULT([$_am_result]) |  2093 AC_MSG_RESULT([$_am_result]) | 
|  1933 rm -f confinc confmf |  2094 rm -f confinc confmf | 
|  1934 ]) |  2095 ]) | 
|  1935  |  2096  | 
|  1936 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*- |  2097 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*- | 
|  1937  |  2098  | 
|  1938 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 |  2099 # Copyright (C) 1997-2014 Free Software Foundation, Inc. | 
|  1939 # Free Software Foundation, Inc. |  | 
|  1940 # |  2100 # | 
|  1941 # This file is free software; the Free Software Foundation |  2101 # This file is free software; the Free Software Foundation | 
|  1942 # gives unlimited permission to copy and/or distribute it, |  2102 # gives unlimited permission to copy and/or distribute it, | 
|  1943 # with or without modifications, as long as this notice is preserved. |  2103 # with or without modifications, as long as this notice is preserved. | 
|  1944  |  2104  | 
|  1945 # serial 6 |  | 
|  1946  |  | 
|  1947 # AM_MISSING_PROG(NAME, PROGRAM) |  2105 # AM_MISSING_PROG(NAME, PROGRAM) | 
|  1948 # ------------------------------ |  2106 # ------------------------------ | 
|  1949 AC_DEFUN([AM_MISSING_PROG], |  2107 AC_DEFUN([AM_MISSING_PROG], | 
|  1950 [AC_REQUIRE([AM_MISSING_HAS_RUN]) |  2108 [AC_REQUIRE([AM_MISSING_HAS_RUN]) | 
|  1951 $1=${$1-"${am_missing_run}$2"} |  2109 $1=${$1-"${am_missing_run}$2"} | 
|  1952 AC_SUBST($1)]) |  2110 AC_SUBST($1)]) | 
|  1953  |  2111  | 
|  1954  |  | 
|  1955 # AM_MISSING_HAS_RUN |  2112 # AM_MISSING_HAS_RUN | 
|  1956 # ------------------ |  2113 # ------------------ | 
|  1957 # Define MISSING if not defined so far and test if it supports --run. |  2114 # Define MISSING if not defined so far and test if it is modern enough. | 
|  1958 # If it does, set am_missing_run to use it, otherwise, to nothing. |  2115 # If it is, set am_missing_run to use it, otherwise, to nothing. | 
|  1959 AC_DEFUN([AM_MISSING_HAS_RUN], |  2116 AC_DEFUN([AM_MISSING_HAS_RUN], | 
|  1960 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |  2117 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 
|  1961 AC_REQUIRE_AUX_FILE([missing])dnl |  2118 AC_REQUIRE_AUX_FILE([missing])dnl | 
|  1962 if test x"${MISSING+set}" != xset; then |  2119 if test x"${MISSING+set}" != xset; then | 
|  1963   case $am_aux_dir in |  2120   case $am_aux_dir in | 
|  1964   *\ * | *\     *) |  2121   *\ * | *\     *) | 
|  1965     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |  2122     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | 
|  1966   *) |  2123   *) | 
|  1967     MISSING="\${SHELL} $am_aux_dir/missing" ;; |  2124     MISSING="\${SHELL} $am_aux_dir/missing" ;; | 
|  1968   esac |  2125   esac | 
|  1969 fi |  2126 fi | 
|  1970 # Use eval to expand $SHELL |  2127 # Use eval to expand $SHELL | 
|  1971 if eval "$MISSING --run true"; then |  2128 if eval "$MISSING --is-lightweight"; then | 
|  1972   am_missing_run="$MISSING --run " |  2129   am_missing_run="$MISSING " | 
|  1973 else |  2130 else | 
|  1974   am_missing_run= |  2131   am_missing_run= | 
|  1975   AC_MSG_WARN([`missing' script is too old or missing]) |  2132   AC_MSG_WARN(['missing' script is too old or missing]) | 
|  1976 fi |  2133 fi | 
|  1977 ]) |  2134 ]) | 
|  1978  |  2135  | 
|  1979 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, |  2136 #  -*- Autoconf -*- | 
|  1980 # Inc. |  2137 # Obsolete and "removed" macros, that must however still report explicit | 
 |  2138 # error messages when used, to smooth transition. | 
 |  2139 # | 
 |  2140 # Copyright (C) 1996-2014 Free Software Foundation, Inc. | 
|  1981 # |  2141 # | 
|  1982 # This file is free software; the Free Software Foundation |  2142 # This file is free software; the Free Software Foundation | 
|  1983 # gives unlimited permission to copy and/or distribute it, |  2143 # gives unlimited permission to copy and/or distribute it, | 
|  1984 # with or without modifications, as long as this notice is preserved. |  2144 # with or without modifications, as long as this notice is preserved. | 
|  1985  |  2145  | 
|  1986 # serial 1 |  2146 AC_DEFUN([AM_CONFIG_HEADER], | 
 |  2147 [AC_DIAGNOSE([obsolete], | 
 |  2148 ['$0': this macro is obsolete. | 
 |  2149 You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl | 
 |  2150 AC_CONFIG_HEADERS($@)]) | 
|  1987  |  2151  | 
|  1988 # AM_PROG_MKDIR_P |  2152 AC_DEFUN([AM_PROG_CC_STDC], | 
|  1989 # --------------- |  2153 [AC_PROG_CC | 
|  1990 # Check for `mkdir -p'. |  2154 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc | 
|  1991 AC_DEFUN([AM_PROG_MKDIR_P], |  2155 AC_DIAGNOSE([obsolete], | 
|  1992 [AC_PREREQ([2.60])dnl |  2156 ['$0': this macro is obsolete. | 
|  1993 AC_REQUIRE([AC_PROG_MKDIR_P])dnl |  2157 You should simply use the 'AC][_PROG_CC' macro instead. | 
|  1994 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P, |  2158 Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', | 
|  1995 dnl while keeping a definition of mkdir_p for backward compatibility. |  2159 but upon 'ac_cv_prog_cc_stdc'.])]) | 
|  1996 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |  2160  | 
|  1997 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |  2161 AC_DEFUN([AM_C_PROTOTYPES], | 
|  1998 dnl Makefile.ins that do not define MKDIR_P, so we do our own |  2162          [AC_FATAL([automatic de-ANSI-fication support has been removed])]) | 
|  1999 dnl adjustment using top_builddir (which is defined more often than |  2163 AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) | 
|  2000 dnl MKDIR_P). |  | 
|  2001 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |  | 
|  2002 case $mkdir_p in |  | 
|  2003   [[\\/$]]* | ?:[[\\/]]*) ;; |  | 
|  2004   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |  | 
|  2005 esac |  | 
|  2006 ]) |  | 
|  2007  |  2164  | 
|  2008 # Helper functions for option handling.                     -*- Autoconf -*- |  2165 # Helper functions for option handling.                     -*- Autoconf -*- | 
|  2009  |  2166  | 
|  2010 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software |  2167 # Copyright (C) 2001-2014 Free Software Foundation, Inc. | 
|  2011 # Foundation, Inc. |  | 
|  2012 # |  2168 # | 
|  2013 # This file is free software; the Free Software Foundation |  2169 # This file is free software; the Free Software Foundation | 
|  2014 # gives unlimited permission to copy and/or distribute it, |  2170 # gives unlimited permission to copy and/or distribute it, | 
|  2015 # with or without modifications, as long as this notice is preserved. |  2171 # with or without modifications, as long as this notice is preserved. | 
|  2016  |  2172  | 
|  2017 # serial 5 |  | 
|  2018  |  | 
|  2019 # _AM_MANGLE_OPTION(NAME) |  2173 # _AM_MANGLE_OPTION(NAME) | 
|  2020 # ----------------------- |  2174 # ----------------------- | 
|  2021 AC_DEFUN([_AM_MANGLE_OPTION], |  2175 AC_DEFUN([_AM_MANGLE_OPTION], | 
|  2022 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |  2176 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) | 
|  2023  |  2177  | 
|  2024 # _AM_SET_OPTION(NAME) |  2178 # _AM_SET_OPTION(NAME) | 
|  2025 # -------------------- |  2179 # -------------------- | 
|  2026 # Set option NAME.  Presently that only means defining a flag for this option. |  2180 # Set option NAME.  Presently that only means defining a flag for this option. | 
|  2027 AC_DEFUN([_AM_SET_OPTION], |  2181 AC_DEFUN([_AM_SET_OPTION], | 
|  2028 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |  2182 [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) | 
|  2029  |  2183  | 
|  2030 # _AM_SET_OPTIONS(OPTIONS) |  2184 # _AM_SET_OPTIONS(OPTIONS) | 
|  2031 # ------------------------ |  2185 # ------------------------ | 
|  2032 # OPTIONS is a space-separated list of Automake options. |  2186 # OPTIONS is a space-separated list of Automake options. | 
|  2033 AC_DEFUN([_AM_SET_OPTIONS], |  2187 AC_DEFUN([_AM_SET_OPTIONS], | 
|  2034 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |  2188 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) | 
|  2035  |  2189  | 
|  2036 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |  2190 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) | 
|  2037 # ------------------------------------------- |  2191 # ------------------------------------------- | 
|  2038 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |  2192 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. | 
|  2039 AC_DEFUN([_AM_IF_OPTION], |  2193 AC_DEFUN([_AM_IF_OPTION], | 
|  2040 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |  2194 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) | 
|  2041  |  2195  | 
|  2042 # Check to make sure that the build environment is sane.    -*- Autoconf -*- |  2196 # Copyright (C) 1999-2014 Free Software Foundation, Inc. | 
|  2043  |  | 
|  2044 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 |  | 
|  2045 # Free Software Foundation, Inc. |  | 
|  2046 # |  2197 # | 
|  2047 # This file is free software; the Free Software Foundation |  2198 # This file is free software; the Free Software Foundation | 
|  2048 # gives unlimited permission to copy and/or distribute it, |  2199 # gives unlimited permission to copy and/or distribute it, | 
|  2049 # with or without modifications, as long as this notice is preserved. |  2200 # with or without modifications, as long as this notice is preserved. | 
|  2050  |  2201  | 
|  2051 # serial 5 |  2202 # _AM_PROG_CC_C_O | 
 |  2203 # --------------- | 
 |  2204 # Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC | 
 |  2205 # to automatically call this. | 
 |  2206 AC_DEFUN([_AM_PROG_CC_C_O], | 
 |  2207 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl | 
 |  2208 AC_REQUIRE_AUX_FILE([compile])dnl | 
 |  2209 AC_LANG_PUSH([C])dnl | 
 |  2210 AC_CACHE_CHECK( | 
 |  2211   [whether $CC understands -c and -o together], | 
 |  2212   [am_cv_prog_cc_c_o], | 
 |  2213   [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) | 
 |  2214   # Make sure it works both with $CC and with simple cc. | 
 |  2215   # Following AC_PROG_CC_C_O, we do the test twice because some | 
 |  2216   # compilers refuse to overwrite an existing .o file with -o, | 
 |  2217   # though they will create one. | 
 |  2218   am_cv_prog_cc_c_o=yes | 
 |  2219   for am_i in 1 2; do | 
 |  2220     if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ | 
 |  2221          && test -f conftest2.$ac_objext; then | 
 |  2222       : OK | 
 |  2223     else | 
 |  2224       am_cv_prog_cc_c_o=no | 
 |  2225       break | 
 |  2226     fi | 
 |  2227   done | 
 |  2228   rm -f core conftest* | 
 |  2229   unset am_i]) | 
 |  2230 if test "$am_cv_prog_cc_c_o" != yes; then | 
 |  2231    # Losing compiler, so override with the script. | 
 |  2232    # FIXME: It is wrong to rewrite CC. | 
 |  2233    # But if we don't then we get into trouble of one sort or another. | 
 |  2234    # A longer-term fix would be to have automake use am__CC in this case, | 
 |  2235    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" | 
 |  2236    CC="$am_aux_dir/compile $CC" | 
 |  2237 fi | 
 |  2238 AC_LANG_POP([C])]) | 
 |  2239  | 
 |  2240 # For backward compatibility. | 
 |  2241 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) | 
 |  2242  | 
 |  2243 # Copyright (C) 2001-2014 Free Software Foundation, Inc. | 
 |  2244 # | 
 |  2245 # This file is free software; the Free Software Foundation | 
 |  2246 # gives unlimited permission to copy and/or distribute it, | 
 |  2247 # with or without modifications, as long as this notice is preserved. | 
 |  2248  | 
 |  2249 # AM_RUN_LOG(COMMAND) | 
 |  2250 # ------------------- | 
 |  2251 # Run COMMAND, save the exit status in ac_status, and log it. | 
 |  2252 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) | 
 |  2253 AC_DEFUN([AM_RUN_LOG], | 
 |  2254 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD | 
 |  2255    ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD | 
 |  2256    ac_status=$? | 
 |  2257    echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD | 
 |  2258    (exit $ac_status); }]) | 
 |  2259  | 
 |  2260 # Check to make sure that the build environment is sane.    -*- Autoconf -*- | 
 |  2261  | 
 |  2262 # Copyright (C) 1996-2014 Free Software Foundation, Inc. | 
 |  2263 # | 
 |  2264 # This file is free software; the Free Software Foundation | 
 |  2265 # gives unlimited permission to copy and/or distribute it, | 
 |  2266 # with or without modifications, as long as this notice is preserved. | 
|  2052  |  2267  | 
|  2053 # AM_SANITY_CHECK |  2268 # AM_SANITY_CHECK | 
|  2054 # --------------- |  2269 # --------------- | 
|  2055 AC_DEFUN([AM_SANITY_CHECK], |  2270 AC_DEFUN([AM_SANITY_CHECK], | 
|  2056 [AC_MSG_CHECKING([whether build environment is sane]) |  2271 [AC_MSG_CHECKING([whether build environment is sane]) | 
|  2057 # Just in case |  | 
|  2058 sleep 1 |  | 
|  2059 echo timestamp > conftest.file |  | 
|  2060 # Reject unsafe characters in $srcdir or the absolute working directory |  2272 # Reject unsafe characters in $srcdir or the absolute working directory | 
|  2061 # name.  Accept space and tab only in the latter. |  2273 # name.  Accept space and tab only in the latter. | 
|  2062 am_lf=' |  2274 am_lf=' | 
|  2063 ' |  2275 ' | 
|  2064 case `pwd` in |  2276 case `pwd` in | 
|  2065   *[[\\\"\#\$\&\'\`$am_lf]]*) |  2277   *[[\\\"\#\$\&\'\`$am_lf]]*) | 
|  2066     AC_MSG_ERROR([unsafe absolute working directory name]);; |  2278     AC_MSG_ERROR([unsafe absolute working directory name]);; | 
|  2067 esac |  2279 esac | 
|  2068 case $srcdir in |  2280 case $srcdir in | 
|  2069   *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*) |  2281   *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*) | 
|  2070     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; |  2282     AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; | 
|  2071 esac |  2283 esac | 
|  2072  |  2284  | 
|  2073 # Do `set' in a subshell so we don't clobber the current shell's |  2285 # Do 'set' in a subshell so we don't clobber the current shell's | 
|  2074 # arguments.  Must try -L first in case configure is actually a |  2286 # arguments.  Must try -L first in case configure is actually a | 
|  2075 # symlink; some systems play weird games with the mod time of symlinks |  2287 # symlink; some systems play weird games with the mod time of symlinks | 
|  2076 # (eg FreeBSD returns the mod time of the symlink's containing |  2288 # (eg FreeBSD returns the mod time of the symlink's containing | 
|  2077 # directory). |  2289 # directory). | 
|  2078 if ( |  2290 if ( | 
|  2079    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |  2291    am_has_slept=no | 
|  2080    if test "$[*]" = "X"; then |  2292    for am_try in 1 2; do | 
|  2081       # -L didn't work. |  2293      echo "timestamp, slept: $am_has_slept" > conftest.file | 
|  2082       set X `ls -t "$srcdir/configure" conftest.file` |  2294      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | 
|  2083    fi |  2295      if test "$[*]" = "X"; then | 
|  2084    rm -f conftest.file |  2296 »       # -L didn't work. | 
|  2085    if test "$[*]" != "X $srcdir/configure conftest.file" \ |  2297 »       set X `ls -t "$srcdir/configure" conftest.file` | 
|  2086       && test "$[*]" != "X conftest.file $srcdir/configure"; then |  2298      fi | 
 |  2299      if test "$[*]" != "X $srcdir/configure conftest.file" \ | 
 |  2300 »       && test "$[*]" != "X conftest.file $srcdir/configure"; then | 
|  2087  |  2301  | 
|  2088       # If neither matched, then we have a broken ls.  This can happen |  2302 »       # If neither matched, then we have a broken ls.  This can happen | 
|  2089       # if, for instance, CONFIG_SHELL is bash and it inherits a |  2303 »       # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|  2090       # broken ls alias from the environment.  This has actually |  2304 »       # broken ls alias from the environment.  This has actually | 
|  2091       # happened.  Such a system could not be considered "sane". |  2305 »       # happened.  Such a system could not be considered "sane". | 
|  2092       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken |  2306 »       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken | 
|  2093 alias in your environment]) |  2307   alias in your environment]) | 
|  2094    fi |  2308      fi | 
|  2095  |  2309      if test "$[2]" = conftest.file || test $am_try -eq 2; then | 
 |  2310        break | 
 |  2311      fi | 
 |  2312      # Just in case. | 
 |  2313      sleep 1 | 
 |  2314      am_has_slept=yes | 
 |  2315    done | 
|  2096    test "$[2]" = conftest.file |  2316    test "$[2]" = conftest.file | 
|  2097    ) |  2317    ) | 
|  2098 then |  2318 then | 
|  2099    # Ok. |  2319    # Ok. | 
|  2100    : |  2320    : | 
|  2101 else |  2321 else | 
|  2102    AC_MSG_ERROR([newly created file is older than distributed files! |  2322    AC_MSG_ERROR([newly created file is older than distributed files! | 
|  2103 Check your system clock]) |  2323 Check your system clock]) | 
|  2104 fi |  2324 fi | 
|  2105 AC_MSG_RESULT(yes)]) |  2325 AC_MSG_RESULT([yes]) | 
 |  2326 # If we didn't sleep, we still need to ensure time stamps of config.status and | 
 |  2327 # generated files are strictly newer. | 
 |  2328 am_sleep_pid= | 
 |  2329 if grep 'slept: no' conftest.file >/dev/null 2>&1; then | 
 |  2330   ( sleep 1 ) & | 
 |  2331   am_sleep_pid=$! | 
 |  2332 fi | 
 |  2333 AC_CONFIG_COMMANDS_PRE( | 
 |  2334   [AC_MSG_CHECKING([that generated files are newer than configure]) | 
 |  2335    if test -n "$am_sleep_pid"; then | 
 |  2336      # Hide warnings about reused PIDs. | 
 |  2337      wait $am_sleep_pid 2>/dev/null | 
 |  2338    fi | 
 |  2339    AC_MSG_RESULT([done])]) | 
 |  2340 rm -f conftest.file | 
 |  2341 ]) | 
|  2106  |  2342  | 
|  2107 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. |  2343 # Copyright (C) 2009-2014 Free Software Foundation, Inc. | 
|  2108 # |  2344 # | 
|  2109 # This file is free software; the Free Software Foundation |  2345 # This file is free software; the Free Software Foundation | 
|  2110 # gives unlimited permission to copy and/or distribute it, |  2346 # gives unlimited permission to copy and/or distribute it, | 
|  2111 # with or without modifications, as long as this notice is preserved. |  2347 # with or without modifications, as long as this notice is preserved. | 
|  2112  |  2348  | 
|  2113 # serial 1 |  2349 # AM_SILENT_RULES([DEFAULT]) | 
 |  2350 # -------------------------- | 
 |  2351 # Enable less verbose build rules; with the default set to DEFAULT | 
 |  2352 # ("yes" being less verbose, "no" or empty being verbose). | 
 |  2353 AC_DEFUN([AM_SILENT_RULES], | 
 |  2354 [AC_ARG_ENABLE([silent-rules], [dnl | 
 |  2355 AS_HELP_STRING( | 
 |  2356   [--enable-silent-rules], | 
 |  2357   [less verbose build output (undo: "make V=1")]) | 
 |  2358 AS_HELP_STRING( | 
 |  2359   [--disable-silent-rules], | 
 |  2360   [verbose build output (undo: "make V=0")])dnl | 
 |  2361 ]) | 
 |  2362 case $enable_silent_rules in @%:@ ((( | 
 |  2363   yes) AM_DEFAULT_VERBOSITY=0;; | 
 |  2364    no) AM_DEFAULT_VERBOSITY=1;; | 
 |  2365     *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; | 
 |  2366 esac | 
 |  2367 dnl | 
 |  2368 dnl A few 'make' implementations (e.g., NonStop OS and NextStep) | 
 |  2369 dnl do not support nested variable expansions. | 
 |  2370 dnl See automake bug#9928 and bug#10237. | 
 |  2371 am_make=${MAKE-make} | 
 |  2372 AC_CACHE_CHECK([whether $am_make supports nested variables], | 
 |  2373    [am_cv_make_support_nested_variables], | 
 |  2374    [if AS_ECHO([['TRUE=$(BAR$(V)) | 
 |  2375 BAR0=false | 
 |  2376 BAR1=true | 
 |  2377 V=1 | 
 |  2378 am__doit: | 
 |  2379 »       @$(TRUE) | 
 |  2380 .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then | 
 |  2381   am_cv_make_support_nested_variables=yes | 
 |  2382 else | 
 |  2383   am_cv_make_support_nested_variables=no | 
 |  2384 fi]) | 
 |  2385 if test $am_cv_make_support_nested_variables = yes; then | 
 |  2386   dnl Using '$V' instead of '$(V)' breaks IRIX make. | 
 |  2387   AM_V='$(V)' | 
 |  2388   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | 
 |  2389 else | 
 |  2390   AM_V=$AM_DEFAULT_VERBOSITY | 
 |  2391   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | 
 |  2392 fi | 
 |  2393 AC_SUBST([AM_V])dnl | 
 |  2394 AM_SUBST_NOTMAKE([AM_V])dnl | 
 |  2395 AC_SUBST([AM_DEFAULT_V])dnl | 
 |  2396 AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl | 
 |  2397 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl | 
 |  2398 AM_BACKSLASH='\' | 
 |  2399 AC_SUBST([AM_BACKSLASH])dnl | 
 |  2400 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl | 
 |  2401 ]) | 
 |  2402  | 
 |  2403 # Copyright (C) 2001-2014 Free Software Foundation, Inc. | 
 |  2404 # | 
 |  2405 # This file is free software; the Free Software Foundation | 
 |  2406 # gives unlimited permission to copy and/or distribute it, | 
 |  2407 # with or without modifications, as long as this notice is preserved. | 
|  2114  |  2408  | 
|  2115 # AM_PROG_INSTALL_STRIP |  2409 # AM_PROG_INSTALL_STRIP | 
|  2116 # --------------------- |  2410 # --------------------- | 
|  2117 # One issue with vendor `install' (even GNU) is that you can't |  2411 # One issue with vendor 'install' (even GNU) is that you can't | 
|  2118 # specify the program used to strip binaries.  This is especially |  2412 # specify the program used to strip binaries.  This is especially | 
|  2119 # annoying in cross-compiling environments, where the build's strip |  2413 # annoying in cross-compiling environments, where the build's strip | 
|  2120 # is unlikely to handle the host's binaries. |  2414 # is unlikely to handle the host's binaries. | 
|  2121 # Fortunately install-sh will honor a STRIPPROG variable, so we |  2415 # Fortunately install-sh will honor a STRIPPROG variable, so we | 
|  2122 # always use install-sh in `make install-strip', and initialize |  2416 # always use install-sh in "make install-strip", and initialize | 
|  2123 # STRIPPROG with the value of the STRIP variable (set by the user). |  2417 # STRIPPROG with the value of the STRIP variable (set by the user). | 
|  2124 AC_DEFUN([AM_PROG_INSTALL_STRIP], |  2418 AC_DEFUN([AM_PROG_INSTALL_STRIP], | 
|  2125 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |  2419 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl | 
|  2126 # Installed binaries are usually stripped using `strip' when the user |  2420 # Installed binaries are usually stripped using 'strip' when the user | 
|  2127 # run `make install-strip'.  However `strip' might not be the right |  2421 # run "make install-strip".  However 'strip' might not be the right | 
|  2128 # tool to use in cross-compilation environments, therefore Automake |  2422 # tool to use in cross-compilation environments, therefore Automake | 
|  2129 # will honor the `STRIP' environment variable to overrule this program. |  2423 # will honor the 'STRIP' environment variable to overrule this program. | 
|  2130 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |  2424 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. | 
|  2131 if test "$cross_compiling" != no; then |  2425 if test "$cross_compiling" != no; then | 
|  2132   AC_CHECK_TOOL([STRIP], [strip], :) |  2426   AC_CHECK_TOOL([STRIP], [strip], :) | 
|  2133 fi |  2427 fi | 
|  2134 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |  2428 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 
|  2135 AC_SUBST([INSTALL_STRIP_PROGRAM])]) |  2429 AC_SUBST([INSTALL_STRIP_PROGRAM])]) | 
|  2136  |  2430  | 
|  2137 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. |  2431 # Copyright (C) 2006-2014 Free Software Foundation, Inc. | 
|  2138 # |  2432 # | 
|  2139 # This file is free software; the Free Software Foundation |  2433 # This file is free software; the Free Software Foundation | 
|  2140 # gives unlimited permission to copy and/or distribute it, |  2434 # gives unlimited permission to copy and/or distribute it, | 
|  2141 # with or without modifications, as long as this notice is preserved. |  2435 # with or without modifications, as long as this notice is preserved. | 
|  2142  |  2436  | 
|  2143 # serial 3 |  | 
|  2144  |  | 
|  2145 # _AM_SUBST_NOTMAKE(VARIABLE) |  2437 # _AM_SUBST_NOTMAKE(VARIABLE) | 
|  2146 # --------------------------- |  2438 # --------------------------- | 
|  2147 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |  2439 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. | 
|  2148 # This macro is traced by Automake. |  2440 # This macro is traced by Automake. | 
|  2149 AC_DEFUN([_AM_SUBST_NOTMAKE]) |  2441 AC_DEFUN([_AM_SUBST_NOTMAKE]) | 
|  2150  |  2442  | 
|  2151 # AM_SUBST_NOTMAKE(VARIABLE) |  2443 # AM_SUBST_NOTMAKE(VARIABLE) | 
|  2152 # -------------------------- |  2444 # -------------------------- | 
|  2153 # Public sister of _AM_SUBST_NOTMAKE. |  2445 # Public sister of _AM_SUBST_NOTMAKE. | 
|  2154 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |  2446 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) | 
|  2155  |  2447  | 
|  2156 # Check how to create a tarball.                            -*- Autoconf -*- |  2448 # Check how to create a tarball.                            -*- Autoconf -*- | 
|  2157  |  2449  | 
|  2158 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. |  2450 # Copyright (C) 2004-2014 Free Software Foundation, Inc. | 
|  2159 # |  2451 # | 
|  2160 # This file is free software; the Free Software Foundation |  2452 # This file is free software; the Free Software Foundation | 
|  2161 # gives unlimited permission to copy and/or distribute it, |  2453 # gives unlimited permission to copy and/or distribute it, | 
|  2162 # with or without modifications, as long as this notice is preserved. |  2454 # with or without modifications, as long as this notice is preserved. | 
|  2163  |  2455  | 
|  2164 # serial 2 |  | 
|  2165  |  | 
|  2166 # _AM_PROG_TAR(FORMAT) |  2456 # _AM_PROG_TAR(FORMAT) | 
|  2167 # -------------------- |  2457 # -------------------- | 
|  2168 # Check how to create a tarball in format FORMAT. |  2458 # Check how to create a tarball in format FORMAT. | 
|  2169 # FORMAT should be one of `v7', `ustar', or `pax'. |  2459 # FORMAT should be one of 'v7', 'ustar', or 'pax'. | 
|  2170 # |  2460 # | 
|  2171 # Substitute a variable $(am__tar) that is a command |  2461 # Substitute a variable $(am__tar) that is a command | 
|  2172 # writing to stdout a FORMAT-tarball containing the directory |  2462 # writing to stdout a FORMAT-tarball containing the directory | 
|  2173 # $tardir. |  2463 # $tardir. | 
|  2174 #     tardir=directory && $(am__tar) > result.tar |  2464 #     tardir=directory && $(am__tar) > result.tar | 
|  2175 # |  2465 # | 
|  2176 # Substitute a variable $(am__untar) that extract such |  2466 # Substitute a variable $(am__untar) that extract such | 
|  2177 # a tarball read from stdin. |  2467 # a tarball read from stdin. | 
|  2178 #     $(am__untar) < result.tar |  2468 #     $(am__untar) < result.tar | 
 |  2469 # | 
|  2179 AC_DEFUN([_AM_PROG_TAR], |  2470 AC_DEFUN([_AM_PROG_TAR], | 
|  2180 [# Always define AMTAR for backward compatibility.  Yes, it's still used |  2471 [# Always define AMTAR for backward compatibility.  Yes, it's still used | 
|  2181 # in the wild :-(  We should find a proper way to deprecate it ... |  2472 # in the wild :-(  We should find a proper way to deprecate it ... | 
|  2182 AC_SUBST([AMTAR], ['$${TAR-tar}']) |  2473 AC_SUBST([AMTAR], ['$${TAR-tar}']) | 
 |  2474  | 
 |  2475 # We'll loop over all known methods to create a tar archive until one works. | 
 |  2476 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' | 
 |  2477  | 
|  2183 m4_if([$1], [v7], |  2478 m4_if([$1], [v7], | 
|  2184      [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], |  2479   [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | 
|  2185      [m4_case([$1], [ustar],, [pax],, |  | 
|  2186               [m4_fatal([Unknown tar format])]) |  | 
|  2187 AC_MSG_CHECKING([how to create a $1 tar archive]) |  | 
|  2188 # Loop over all known methods to create a tar archive until one works. |  | 
|  2189 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |  | 
|  2190 _am_tools=${am_cv_prog_tar_$1-$_am_tools} |  | 
|  2191 # Do not fold the above two line into one, because Tru64 sh and |  | 
|  2192 # Solaris sh will not grok spaces in the rhs of `-'. |  | 
|  2193 for _am_tool in $_am_tools |  | 
|  2194 do |  | 
|  2195   case $_am_tool in |  | 
|  2196   gnutar) |  | 
|  2197     for _am_tar in tar gnutar gtar; |  | 
|  2198     do |  | 
|  2199       AM_RUN_LOG([$_am_tar --version]) && break |  | 
|  2200     done |  | 
|  2201     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tar
      dir"' |  | 
|  2202     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tar
      dir"' |  | 
|  2203     am__untar="$_am_tar -xf -" |  | 
|  2204     ;; |  | 
|  2205   plaintar) |  | 
|  2206     # Must skip GNU tar: if it does not support --format= it doesn't create |  | 
|  2207     # ustar tarball either. |  | 
|  2208     (tar --version) >/dev/null 2>&1 && continue |  | 
|  2209     am__tar='tar chf - "$$tardir"' |  | 
|  2210     am__tar_='tar chf - "$tardir"' |  | 
|  2211     am__untar='tar xf -' |  | 
|  2212     ;; |  | 
|  2213   pax) |  | 
|  2214     am__tar='pax -L -x $1 -w "$$tardir"' |  | 
|  2215     am__tar_='pax -L -x $1 -w "$tardir"' |  | 
|  2216     am__untar='pax -r' |  | 
|  2217     ;; |  | 
|  2218   cpio) |  | 
|  2219     am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |  | 
|  2220     am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |  | 
|  2221     am__untar='cpio -i -H $1 -d' |  | 
|  2222     ;; |  | 
|  2223   none) |  | 
|  2224     am__tar=false |  | 
|  2225     am__tar_=false |  | 
|  2226     am__untar=false |  | 
|  2227     ;; |  | 
|  2228   esac |  | 
|  2229  |  2480  | 
|  2230   # If the value was cached, stop now.  We just wanted to have am__tar |  2481   [m4_case([$1], | 
|  2231   # and am__untar set. |  2482     [ustar], | 
|  2232   test -n "${am_cv_prog_tar_$1}" && break |  2483      [# The POSIX 1988 'ustar' format is defined with fixed-size fields. | 
 |  2484       # There is notably a 21 bits limit for the UID and the GID.  In fact, | 
 |  2485       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 | 
 |  2486       # and bug#13588). | 
 |  2487       am_max_uid=2097151 # 2^21 - 1 | 
 |  2488       am_max_gid=$am_max_uid | 
 |  2489       # The $UID and $GID variables are not portable, so we need to resort | 
 |  2490       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls | 
 |  2491       # below are definitely unexpected, so allow the users to see them | 
 |  2492       # (that is, avoid stderr redirection). | 
 |  2493       am_uid=`id -u || echo unknown` | 
 |  2494       am_gid=`id -g || echo unknown` | 
 |  2495       AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) | 
 |  2496       if test $am_uid -le $am_max_uid; then | 
 |  2497          AC_MSG_RESULT([yes]) | 
 |  2498       else | 
 |  2499          AC_MSG_RESULT([no]) | 
 |  2500          _am_tools=none | 
 |  2501       fi | 
 |  2502       AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) | 
 |  2503       if test $am_gid -le $am_max_gid; then | 
 |  2504          AC_MSG_RESULT([yes]) | 
 |  2505       else | 
 |  2506         AC_MSG_RESULT([no]) | 
 |  2507         _am_tools=none | 
 |  2508       fi], | 
|  2233  |  2509  | 
|  2234   # tar/untar a dummy directory, and stop if the command works |  2510   [pax], | 
 |  2511     [], | 
 |  2512  | 
 |  2513   [m4_fatal([Unknown tar format])]) | 
 |  2514  | 
 |  2515   AC_MSG_CHECKING([how to create a $1 tar archive]) | 
 |  2516  | 
 |  2517   # Go ahead even if we have the value already cached.  We do so because we | 
 |  2518   # need to set the values for the 'am__tar' and 'am__untar' variables. | 
 |  2519   _am_tools=${am_cv_prog_tar_$1-$_am_tools} | 
 |  2520  | 
 |  2521   for _am_tool in $_am_tools; do | 
 |  2522     case $_am_tool in | 
 |  2523     gnutar) | 
 |  2524       for _am_tar in tar gnutar gtar; do | 
 |  2525         AM_RUN_LOG([$_am_tar --version]) && break | 
 |  2526       done | 
 |  2527       am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$t
      ardir"' | 
 |  2528       am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$t
      ardir"' | 
 |  2529       am__untar="$_am_tar -xf -" | 
 |  2530       ;; | 
 |  2531     plaintar) | 
 |  2532       # Must skip GNU tar: if it does not support --format= it doesn't create | 
 |  2533       # ustar tarball either. | 
 |  2534       (tar --version) >/dev/null 2>&1 && continue | 
 |  2535       am__tar='tar chf - "$$tardir"' | 
 |  2536       am__tar_='tar chf - "$tardir"' | 
 |  2537       am__untar='tar xf -' | 
 |  2538       ;; | 
 |  2539     pax) | 
 |  2540       am__tar='pax -L -x $1 -w "$$tardir"' | 
 |  2541       am__tar_='pax -L -x $1 -w "$tardir"' | 
 |  2542       am__untar='pax -r' | 
 |  2543       ;; | 
 |  2544     cpio) | 
 |  2545       am__tar='find "$$tardir" -print | cpio -o -H $1 -L' | 
 |  2546       am__tar_='find "$tardir" -print | cpio -o -H $1 -L' | 
 |  2547       am__untar='cpio -i -H $1 -d' | 
 |  2548       ;; | 
 |  2549     none) | 
 |  2550       am__tar=false | 
 |  2551       am__tar_=false | 
 |  2552       am__untar=false | 
 |  2553       ;; | 
 |  2554     esac | 
 |  2555  | 
 |  2556     # If the value was cached, stop now.  We just wanted to have am__tar | 
 |  2557     # and am__untar set. | 
 |  2558     test -n "${am_cv_prog_tar_$1}" && break | 
 |  2559  | 
 |  2560     # tar/untar a dummy directory, and stop if the command works. | 
 |  2561     rm -rf conftest.dir | 
 |  2562     mkdir conftest.dir | 
 |  2563     echo GrepMe > conftest.dir/file | 
 |  2564     AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) | 
 |  2565     rm -rf conftest.dir | 
 |  2566     if test -s conftest.tar; then | 
 |  2567       AM_RUN_LOG([$am__untar <conftest.tar]) | 
 |  2568       AM_RUN_LOG([cat conftest.dir/file]) | 
 |  2569       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break | 
 |  2570     fi | 
 |  2571   done | 
|  2235   rm -rf conftest.dir |  2572   rm -rf conftest.dir | 
|  2236   mkdir conftest.dir |  | 
|  2237   echo GrepMe > conftest.dir/file |  | 
|  2238   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |  | 
|  2239   rm -rf conftest.dir |  | 
|  2240   if test -s conftest.tar; then |  | 
|  2241     AM_RUN_LOG([$am__untar <conftest.tar]) |  | 
|  2242     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |  | 
|  2243   fi |  | 
|  2244 done |  | 
|  2245 rm -rf conftest.dir |  | 
|  2246  |  2573  | 
|  2247 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |  2574   AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | 
|  2248 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |  2575   AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | 
 |  2576  | 
|  2249 AC_SUBST([am__tar]) |  2577 AC_SUBST([am__tar]) | 
|  2250 AC_SUBST([am__untar]) |  2578 AC_SUBST([am__untar]) | 
|  2251 ]) # _AM_PROG_TAR |  2579 ]) # _AM_PROG_TAR | 
|  2252  |  2580  | 
|  2253 m4_include([m4/byteorder.m4]) |  2581 m4_include([m4/byteorder.m4]) | 
|  2254 m4_include([m4/iconv.m4]) |  2582 m4_include([m4/iconv.m4]) | 
|  2255 m4_include([m4/libtool.m4]) |  2583 m4_include([m4/libtool.m4]) | 
|  2256 m4_include([m4/ltoptions.m4]) |  2584 m4_include([m4/ltoptions.m4]) | 
|  2257 m4_include([m4/ltsugar.m4]) |  2585 m4_include([m4/ltsugar.m4]) | 
|  2258 m4_include([m4/ltversion.m4]) |  2586 m4_include([m4/ltversion.m4]) | 
|  2259 m4_include([m4/lt~obsolete.m4]) |  2587 m4_include([m4/lt~obsolete.m4]) | 
|  2260 m4_include([m4/stdint.m4]) |  2588 m4_include([m4/stdint.m4]) | 
| OLD | NEW |