Changeset 18603 for trunk/FACT++/aclocal.m4
- Timestamp:
- 09/17/16 18:59:54 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/aclocal.m4
r17177 r18603 1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 5 # Inc. 1 # generated automatically by aclocal 1.15 -*- Autoconf -*- 2 3 # Copyright (C) 1996-2014 Free Software Foundation, Inc. 4 6 5 # This file is free software; the Free Software Foundation 7 6 # gives unlimited permission to copy and/or distribute it, … … 13 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 15 m4_ifndef([AC_AUTOCONF_VERSION], 16 16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.6 8],,18 [m4_warning([this file was generated for autoconf 2.6 8.17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, 18 [m4_warning([this file was generated for autoconf 2.69. 19 19 You have another version of autoconf. It may work, but is not guaranteed to. 20 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 23 # =========================================================================== … … 53 53 # warranty. 54 54 55 #serial 1 355 #serial 16 56 56 57 57 AC_DEFUN([AX_BOOST_ASIO], … … 105 105 AC_DEFINE(HAVE_BOOST_ASIO,,[define if the Boost::ASIO library is available]) 106 106 BN=boost_system 107 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` 107 108 if test "x$ax_boost_user_asio_lib" = "x"; then 108 for ax_lib in $BN $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \ 109 lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \ 110 $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do 109 for ax_lib in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.dylib* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_system.*\)\.a.*$;\1;' ` ; do 111 110 AC_CHECK_LIB($ax_lib, main, [BOOST_ASIO_LIB="-l$ax_lib" AC_SUBST(BOOST_ASIO_LIB) link_thread="yes" break], 112 111 [link_thread="no"]) … … 168 167 # warranty. 169 168 170 #serial 2 0169 #serial 26 171 170 172 171 AC_DEFUN([AX_BOOST_BASE], … … 226 225 libsubdirs="lib" 227 226 ax_arch=`uname -m` 228 if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then 229 libsubdirs="lib64 lib lib64" 230 fi 227 case $ax_arch in 228 x86_64) 229 libsubdirs="lib64 libx32 lib lib64" 230 ;; 231 ppc64|s390x|sparc64|aarch64|ppc64le) 232 libsubdirs="lib64 lib lib64 ppc64le" 233 ;; 234 esac 235 236 dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give 237 dnl them priority over the other paths since, if libs are found there, they 238 dnl are almost assuredly the ones desired. 239 AC_REQUIRE([AC_CANONICAL_HOST]) 240 libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs" 241 242 case ${host_cpu} in 243 i?86) 244 libsubdirs="lib/i386-${host_os} $libsubdirs" 245 ;; 246 esac 231 247 232 248 dnl first we check the system location for boost libraries … … 291 307 dnl built and installed without the --layout=system option or for a staged(not installed) version 292 308 if test "x$succeeded" != "xyes"; then 309 CPPFLAGS="$CPPFLAGS_SAVED" 310 LDFLAGS="$LDFLAGS_SAVED" 311 BOOST_CPPFLAGS= 312 BOOST_LDFLAGS= 293 313 _version=0 294 314 if test "$ac_boost_path" != ""; then … … 303 323 BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" 304 324 done 325 dnl if nothing found search for layout used in Windows distributions 326 if test -z "$BOOST_CPPFLAGS"; then 327 if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then 328 BOOST_CPPFLAGS="-I$ac_boost_path" 329 fi 330 fi 305 331 fi 306 332 else … … 424 450 # warranty. 425 451 426 #serial 19452 #serial 21 427 453 428 454 AC_DEFUN([AX_BOOST_DATE_TIME], … … 470 496 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` 471 497 if test "x$ax_boost_user_date_time_lib" = "x"; then 472 for libextension in `ls $BOOSTLIBDIR/libboost_date_time*.so* $BOOSTLIBDIR/libboost_date_time*. a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_date_time.*\)\.so.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.a*$;\1;'` ; do498 for libextension in `ls $BOOSTLIBDIR/libboost_date_time*.so* $BOOSTLIBDIR/libboost_date_time*.dylib* $BOOSTLIBDIR/libboost_date_time*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_date_time.*\)\.so.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.a*$;\1;'` ; do 473 499 ax_lib=${libextension} 474 500 AC_CHECK_LIB($ax_lib, exit, … … 477 503 done 478 504 if test "x$link_date_time" != "xyes"; then 479 for libextension in `ls $BOOSTLIBDIR/boost_date_time*. {dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_date_time.*\)\.dll.*$;\1;' -e 's;^\(boost_date_time.*\)\.a*$;\1;'` ; do505 for libextension in `ls $BOOSTLIBDIR/boost_date_time*.dll* $BOOSTLIBDIR/boost_date_time*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_date_time.*\)\.dll.*$;\1;' -e 's;^\(boost_date_time.*\)\.a.*$;\1;'` ; do 480 506 ax_lib=${libextension} 481 507 AC_CHECK_LIB($ax_lib, exit, … … 539 565 # warranty. 540 566 541 #serial 2 2567 #serial 26 542 568 543 569 AC_DEFUN([AX_BOOST_FILESYSTEM], … … 589 615 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` 590 616 if test "x$ax_boost_user_filesystem_lib" = "x"; then 591 for libextension in `ls $BOOSTLIBDIR/libboost_filesystem*.so* $BOOSTLIBDIR/libboost_filesystem*.dylib* $BOOSTLIBDIR/libboost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_filesystem.*\)\.so.*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.a*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.dylib$;\1;'` ; do617 for libextension in `ls -r $BOOSTLIBDIR/libboost_filesystem* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do 592 618 ax_lib=${libextension} 593 619 AC_CHECK_LIB($ax_lib, exit, … … 596 622 done 597 623 if test "x$link_filesystem" != "xyes"; then 598 for libextension in `ls $BOOSTLIBDIR/boost_filesystem*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_filesystem.*\)\.dll.*$;\1;' -e 's;^\(boost_filesystem.*\)\.a*$;\1;'` ; do624 for libextension in `ls -r $BOOSTLIBDIR/boost_filesystem* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do 599 625 ax_lib=${libextension} 600 626 AC_CHECK_LIB($ax_lib, exit, … … 656 682 # warranty. 657 683 658 #serial 2 0684 #serial 24 659 685 660 686 AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS], … … 690 716 ax_cv_boost_program_options, 691 717 [AC_LANG_PUSH(C++) 692 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/program_options .hpp>718 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/program_options/errors.hpp> 693 719 ]], 694 [[boost::program_options:: options_description generic("Generic options");720 [[boost::program_options::error err("Error message"); 695 721 return 0;]])], 696 722 ax_cv_boost_program_options=yes, ax_cv_boost_program_options=no) … … 701 727 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` 702 728 if test "x$ax_boost_user_program_options_lib" = "x"; then 703 for libextension in `ls $BOOSTLIBDIR/libboost_program_options*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*. a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.a*$;\1;'` ; do729 for libextension in `ls $BOOSTLIBDIR/libboost_program_options*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*.dylib* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.dylib.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.a.*$;\1;'` ; do 704 730 ax_lib=${libextension} 705 731 AC_CHECK_LIB($ax_lib, exit, … … 708 734 done 709 735 if test "x$link_program_options" != "xyes"; then 710 for libextension in `ls $BOOSTLIBDIR/boost_program_options*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.a *$;\1;'` ; do736 for libextension in `ls $BOOSTLIBDIR/boost_program_options*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.a.*$;\1;'` ; do 711 737 ax_lib=${libextension} 712 738 AC_CHECK_LIB($ax_lib, exit, … … 766 792 # warranty. 767 793 768 #serial 2 0794 #serial 22 769 795 770 796 AC_DEFUN([AX_BOOST_REGEX], … … 811 837 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` 812 838 if test "x$ax_boost_user_regex_lib" = "x"; then 813 for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*. a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.a*$;\1;'` ; do839 for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*.dylib* $BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.dylib.*;\1;' -e 's;^lib\(boost_regex.*\)\.a.*$;\1;'` ; do 814 840 ax_lib=${libextension} 815 841 AC_CHECK_LIB($ax_lib, exit, … … 818 844 done 819 845 if test "x$link_regex" != "xyes"; then 820 for libextension in `ls $BOOSTLIBDIR/boost_regex*. {dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do846 for libextension in `ls $BOOSTLIBDIR/boost_regex*.dll* $BOOSTLIBDIR/boost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a.*$;\1;'` ; do 821 847 ax_lib=${libextension} 822 848 AC_CHECK_LIB($ax_lib, exit, … … 879 905 # warranty. 880 906 881 #serial 1 4907 #serial 17 882 908 883 909 AC_DEFUN([AX_BOOST_SYSTEM], … … 931 957 LDFLAGS_SAVE=$LDFLAGS 932 958 if test "x$ax_boost_user_system_lib" = "x"; then 933 for libextension in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.a*$;\1;'` ; do959 for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do 934 960 ax_lib=${libextension} 935 961 AC_CHECK_LIB($ax_lib, exit, … … 938 964 done 939 965 if test "x$link_system" != "xyes"; then 940 for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.dll.*$;\1;' -e 's;^\(boost_system.*\)\.a*$;\1;'` ; do966 for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do 941 967 ax_lib=${libextension} 942 968 AC_CHECK_LIB($ax_lib, exit, … … 999 1025 # warranty. 1000 1026 1001 #serial 2 31027 #serial 27 1002 1028 1003 1029 AC_DEFUN([AX_BOOST_THREAD], … … 1073 1099 esac 1074 1100 if test "x$ax_boost_user_thread_lib" = "x"; then 1075 for libextension in `ls $BOOSTLIBDIR/libboost_thread*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.a*$;\1;'`; do1101 for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do 1076 1102 ax_lib=${libextension} 1077 1103 AC_CHECK_LIB($ax_lib, exit, … … 1080 1106 done 1081 1107 if test "x$link_thread" != "xyes"; then 1082 for libextension in `ls $BOOSTLIBDIR/boost_thread*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.a*$;\1;'`; do1108 for libextension in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do 1083 1109 ax_lib=${libextension} 1084 1110 AC_CHECK_LIB($ax_lib, exit, … … 1346 1372 # rm -rf @DX_DOCDIR@ 1347 1373 # $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG) 1374 # echo Timestamp >$@ 1348 1375 # 1349 1376 # DX_CLEANFILES = \ … … 1373 1400 # warranty. 1374 1401 1375 #serial 1 21402 #serial 13 1376 1403 1377 1404 … … 1725 1752 # exception to the GPL to apply to your modified version as well. 1726 1753 1727 #serial 161754 #serial 21 1728 1755 1729 1756 AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD]) … … 1746 1773 LIBS="$PTHREAD_LIBS $LIBS" 1747 1774 AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS]) 1748 AC_TRY_LINK_FUNC( pthread_join, ax_pthread_ok=yes)1749 AC_MSG_RESULT( $ax_pthread_ok)1775 AC_TRY_LINK_FUNC([pthread_join], [ax_pthread_ok=yes]) 1776 AC_MSG_RESULT([$ax_pthread_ok]) 1750 1777 if test x"$ax_pthread_ok" = xno; then 1751 1778 PTHREAD_LIBS="" … … 1788 1815 # pthread-config: use pthread-config program (for GNU Pth library) 1789 1816 1790 case "${host_cpu}-${host_os}"in1791 *solaris*)1817 case ${host_os} in 1818 solaris*) 1792 1819 1793 1820 # On Solaris (at least, for some versions), libc contains stubbed … … 1802 1829 ;; 1803 1830 1804 *-darwin*)1831 darwin*) 1805 1832 ax_pthread_flags="-pthread $ax_pthread_flags" 1806 1833 ;; 1807 1834 esac 1835 1836 # Clang doesn't consider unrecognized options an error unless we specify 1837 # -Werror. We throw in some extra Clang-specific options to ensure that 1838 # this doesn't happen for GCC, which also accepts -Werror. 1839 1840 AC_MSG_CHECKING([if compiler needs -Werror to reject unknown flags]) 1841 save_CFLAGS="$CFLAGS" 1842 ax_pthread_extra_flags="-Werror" 1843 CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument" 1844 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int foo(void);],[foo()])], 1845 [AC_MSG_RESULT([yes])], 1846 [ax_pthread_extra_flags= 1847 AC_MSG_RESULT([no])]) 1848 CFLAGS="$save_CFLAGS" 1808 1849 1809 1850 if test x"$ax_pthread_ok" = xno; then … … 1821 1862 1822 1863 pthread-config) 1823 AC_CHECK_PROG( ax_pthread_config, pthread-config, yes, no)1864 AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no]) 1824 1865 if test x"$ax_pthread_config" = xno; then continue; fi 1825 1866 PTHREAD_CFLAGS="`pthread-config --cflags`" … … 1836 1877 save_CFLAGS="$CFLAGS" 1837 1878 LIBS="$PTHREAD_LIBS $LIBS" 1838 CFLAGS="$CFLAGS $PTHREAD_CFLAGS "1879 CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags" 1839 1880 1840 1881 # Check for various functions. We must include pthread.h, … … 1862 1903 CFLAGS="$save_CFLAGS" 1863 1904 1864 AC_MSG_RESULT( $ax_pthread_ok)1905 AC_MSG_RESULT([$ax_pthread_ok]) 1865 1906 if test "x$ax_pthread_ok" = xyes; then 1866 1907 break; … … 1888 1929 []) 1889 1930 done 1890 AC_MSG_RESULT( $attr_name)1931 AC_MSG_RESULT([$attr_name]) 1891 1932 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then 1892 AC_DEFINE_UNQUOTED( PTHREAD_CREATE_JOINABLE, $attr_name,1933 AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], [$attr_name], 1893 1934 [Define to necessary symbol if this constant 1894 1935 uses a non-standard name on your system.]) … … 1897 1938 AC_MSG_CHECKING([if more special flags are required for pthreads]) 1898 1939 flag=no 1899 case "${host_cpu}-${host_os}" in 1900 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; 1901 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; 1940 case ${host_os} in 1941 aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";; 1942 osf* | hpux*) flag="-D_REENTRANT";; 1943 solaris*) 1944 if test "$GCC" = "yes"; then 1945 flag="-D_REENTRANT" 1946 else 1947 # TODO: What about Clang on Solaris? 1948 flag="-mt -D_REENTRANT" 1949 fi 1950 ;; 1902 1951 esac 1903 AC_MSG_RESULT( ${flag})1952 AC_MSG_RESULT([$flag]) 1904 1953 if test "x$flag" != xno; then 1905 1954 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" … … 1907 1956 1908 1957 AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT], 1909 ax_cv_PTHREAD_PRIO_INHERIT, [1910 AC_LINK_IFELSE([ 1911 AC_LANG_PROGRAM([[#include <pthread.h>]],[[int i = PTHREAD_PRIO_INHERIT;]])],1958 [ax_cv_PTHREAD_PRIO_INHERIT], [ 1959 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]], 1960 [[int i = PTHREAD_PRIO_INHERIT;]])], 1912 1961 [ax_cv_PTHREAD_PRIO_INHERIT=yes], 1913 1962 [ax_cv_PTHREAD_PRIO_INHERIT=no]) 1914 1963 ]) 1915 1964 AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"], 1916 AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.]))1965 [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])]) 1917 1966 1918 1967 LIBS="$save_LIBS" 1919 1968 CFLAGS="$save_CFLAGS" 1920 1969 1921 # More AIX lossage: must compile with xlc_r or cc_r 1922 if test x"$GCC" != xyes; then 1923 AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC}) 1924 else 1925 PTHREAD_CC=$CC 1970 # More AIX lossage: compile with *_r variant 1971 if test "x$GCC" != xyes; then 1972 case $host_os in 1973 aix*) 1974 AS_CASE(["x/$CC"], 1975 [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6], 1976 [#handle absolute path differently from PATH based program lookup 1977 AS_CASE(["x$CC"], 1978 [x/*], 1979 [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])], 1980 [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])]) 1981 ;; 1982 esac 1926 1983 fi 1927 else1928 PTHREAD_CC="$CC"1929 1984 fi 1930 1985 1931 AC_SUBST(PTHREAD_LIBS) 1932 AC_SUBST(PTHREAD_CFLAGS) 1933 AC_SUBST(PTHREAD_CC) 1986 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" 1987 1988 AC_SUBST([PTHREAD_LIBS]) 1989 AC_SUBST([PTHREAD_CFLAGS]) 1990 AC_SUBST([PTHREAD_CC]) 1934 1991 1935 1992 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 1936 1993 if test x"$ax_pthread_ok" = xyes; then 1937 ifelse([$1],, AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])1994 ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1]) 1938 1995 : 1939 1996 else … … 1944 2001 ])dnl AX_PTHREAD 1945 2002 1946 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 1947 # serial 1 (pkg-config-0.24) 1948 # 1949 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 1950 # 1951 # This program is free software; you can redistribute it and/or modify 1952 # it under the terms of the GNU General Public License as published by 1953 # the Free Software Foundation; either version 2 of the License, or 1954 # (at your option) any later version. 1955 # 1956 # This program is distributed in the hope that it will be useful, but 1957 # WITHOUT ANY WARRANTY; without even the implied warranty of 1958 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1959 # General Public License for more details. 1960 # 1961 # You should have received a copy of the GNU General Public License 1962 # along with this program; if not, write to the Free Software 1963 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 1964 # 1965 # As a special exception to the GNU General Public License, if you 1966 # distribute this file as part of a program that contains a 1967 # configuration script generated by Autoconf, you may include it under 1968 # the same distribution terms that you use for the rest of that program. 1969 1970 # PKG_PROG_PKG_CONFIG([MIN-VERSION]) 1971 # ---------------------------------- 2003 dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- 2004 dnl serial 11 (pkg-config-0.29.1) 2005 dnl 2006 dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. 2007 dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com> 2008 dnl 2009 dnl This program is free software; you can redistribute it and/or modify 2010 dnl it under the terms of the GNU General Public License as published by 2011 dnl the Free Software Foundation; either version 2 of the License, or 2012 dnl (at your option) any later version. 2013 dnl 2014 dnl This program is distributed in the hope that it will be useful, but 2015 dnl WITHOUT ANY WARRANTY; without even the implied warranty of 2016 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2017 dnl General Public License for more details. 2018 dnl 2019 dnl You should have received a copy of the GNU General Public License 2020 dnl along with this program; if not, write to the Free Software 2021 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 2022 dnl 02111-1307, USA. 2023 dnl 2024 dnl As a special exception to the GNU General Public License, if you 2025 dnl distribute this file as part of a program that contains a 2026 dnl configuration script generated by Autoconf, you may include it under 2027 dnl the same distribution terms that you use for the rest of that 2028 dnl program. 2029 2030 dnl PKG_PREREQ(MIN-VERSION) 2031 dnl ----------------------- 2032 dnl Since: 0.29 2033 dnl 2034 dnl Verify that the version of the pkg-config macros are at least 2035 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's 2036 dnl installed version of pkg-config, this checks the developer's version 2037 dnl of pkg.m4 when generating configure. 2038 dnl 2039 dnl To ensure that this macro is defined, also add: 2040 dnl m4_ifndef([PKG_PREREQ], 2041 dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) 2042 dnl 2043 dnl See the "Since" comment for each macro you use to see what version 2044 dnl of the macros you require. 2045 m4_defun([PKG_PREREQ], 2046 [m4_define([PKG_MACROS_VERSION], [0.29.1]) 2047 m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, 2048 [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) 2049 ])dnl PKG_PREREQ 2050 2051 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) 2052 dnl ---------------------------------- 2053 dnl Since: 0.16 2054 dnl 2055 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to 2056 dnl first found in the path. Checks that the version of pkg-config found 2057 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is 2058 dnl used since that's the first version where most current features of 2059 dnl pkg-config existed. 1972 2060 AC_DEFUN([PKG_PROG_PKG_CONFIG], 1973 2061 [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) … … 1991 2079 fi 1992 2080 fi[]dnl 1993 ])# PKG_PROG_PKG_CONFIG 1994 1995 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 1996 # 1997 # Check to see whether a particular set of modules exists. Similar 1998 # to PKG_CHECK_MODULES(), but does not set variables or print errors. 1999 # 2000 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 2001 # only at the first occurence in configure.ac, so if the first place 2002 # it's called might be skipped (such as if it is within an "if", you 2003 # have to call PKG_CHECK_EXISTS manually 2004 # -------------------------------------------------------------- 2081 ])dnl PKG_PROG_PKG_CONFIG 2082 2083 dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 2084 dnl ------------------------------------------------------------------- 2085 dnl Since: 0.18 2086 dnl 2087 dnl Check to see whether a particular set of modules exists. Similar to 2088 dnl PKG_CHECK_MODULES(), but does not set variables or print errors. 2089 dnl 2090 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 2091 dnl only at the first occurence in configure.ac, so if the first place 2092 dnl it's called might be skipped (such as if it is within an "if", you 2093 dnl have to call PKG_CHECK_EXISTS manually 2005 2094 AC_DEFUN([PKG_CHECK_EXISTS], 2006 2095 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl … … 2012 2101 fi]) 2013 2102 2014 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 2015 # --------------------------------------------- 2103 dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) 2104 dnl --------------------------------------------- 2105 dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting 2106 dnl pkg_failed based on the result. 2016 2107 m4_define([_PKG_CONFIG], 2017 2108 [if test -n "$$1"; then … … 2025 2116 pkg_failed=untried 2026 2117 fi[]dnl 2027 ])# _PKG_CONFIG 2028 2029 # _PKG_SHORT_ERRORS_SUPPORTED 2030 # ----------------------------- 2118 ])dnl _PKG_CONFIG 2119 2120 dnl _PKG_SHORT_ERRORS_SUPPORTED 2121 dnl --------------------------- 2122 dnl Internal check to see if pkg-config supports short errors. 2031 2123 AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], 2032 2124 [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) … … 2036 2128 _pkg_short_errors_supported=no 2037 2129 fi[]dnl 2038 ])# _PKG_SHORT_ERRORS_SUPPORTED 2039 2040 2041 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 2042 # [ACTION-IF-NOT-FOUND]) 2043 # 2044 # 2045 # Note that if there is a possibility the first call to 2046 # PKG_CHECK_MODULES might not happen, you should be sure to include an 2047 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac 2048 # 2049 # 2050 # -------------------------------------------------------------- 2130 ])dnl _PKG_SHORT_ERRORS_SUPPORTED 2131 2132 2133 dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 2134 dnl [ACTION-IF-NOT-FOUND]) 2135 dnl -------------------------------------------------------------- 2136 dnl Since: 0.4.0 2137 dnl 2138 dnl Note that if there is a possibility the first call to 2139 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an 2140 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac 2051 2141 AC_DEFUN([PKG_CHECK_MODULES], 2052 2142 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl … … 2102 2192 $3 2103 2193 fi[]dnl 2104 ])# PKG_CHECK_MODULES 2105 2106 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software 2107 # Foundation, Inc. 2194 ])dnl PKG_CHECK_MODULES 2195 2196 2197 dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], 2198 dnl [ACTION-IF-NOT-FOUND]) 2199 dnl --------------------------------------------------------------------- 2200 dnl Since: 0.29 2201 dnl 2202 dnl Checks for existence of MODULES and gathers its build flags with 2203 dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags 2204 dnl and VARIABLE-PREFIX_LIBS from --libs. 2205 dnl 2206 dnl Note that if there is a possibility the first call to 2207 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to 2208 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your 2209 dnl configure.ac. 2210 AC_DEFUN([PKG_CHECK_MODULES_STATIC], 2211 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 2212 _save_PKG_CONFIG=$PKG_CONFIG 2213 PKG_CONFIG="$PKG_CONFIG --static" 2214 PKG_CHECK_MODULES($@) 2215 PKG_CONFIG=$_save_PKG_CONFIG[]dnl 2216 ])dnl PKG_CHECK_MODULES_STATIC 2217 2218 2219 dnl PKG_INSTALLDIR([DIRECTORY]) 2220 dnl ------------------------- 2221 dnl Since: 0.27 2222 dnl 2223 dnl Substitutes the variable pkgconfigdir as the location where a module 2224 dnl should install pkg-config .pc files. By default the directory is 2225 dnl $libdir/pkgconfig, but the default can be changed by passing 2226 dnl DIRECTORY. The user can override through the --with-pkgconfigdir 2227 dnl parameter. 2228 AC_DEFUN([PKG_INSTALLDIR], 2229 [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) 2230 m4_pushdef([pkg_description], 2231 [pkg-config installation directory @<:@]pkg_default[@:>@]) 2232 AC_ARG_WITH([pkgconfigdir], 2233 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, 2234 [with_pkgconfigdir=]pkg_default) 2235 AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) 2236 m4_popdef([pkg_default]) 2237 m4_popdef([pkg_description]) 2238 ])dnl PKG_INSTALLDIR 2239 2240 2241 dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) 2242 dnl -------------------------------- 2243 dnl Since: 0.27 2244 dnl 2245 dnl Substitutes the variable noarch_pkgconfigdir as the location where a 2246 dnl module should install arch-independent pkg-config .pc files. By 2247 dnl default the directory is $datadir/pkgconfig, but the default can be 2248 dnl changed by passing DIRECTORY. The user can override through the 2249 dnl --with-noarch-pkgconfigdir parameter. 2250 AC_DEFUN([PKG_NOARCH_INSTALLDIR], 2251 [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) 2252 m4_pushdef([pkg_description], 2253 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) 2254 AC_ARG_WITH([noarch-pkgconfigdir], 2255 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, 2256 [with_noarch_pkgconfigdir=]pkg_default) 2257 AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) 2258 m4_popdef([pkg_default]) 2259 m4_popdef([pkg_description]) 2260 ])dnl PKG_NOARCH_INSTALLDIR 2261 2262 2263 dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, 2264 dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 2265 dnl ------------------------------------------- 2266 dnl Since: 0.28 2267 dnl 2268 dnl Retrieves the value of the pkg-config variable for the given module. 2269 AC_DEFUN([PKG_CHECK_VAR], 2270 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 2271 AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl 2272 2273 _PKG_CONFIG([$1], [variable="][$3]["], [$2]) 2274 AS_VAR_COPY([$1], [pkg_cv_][$1]) 2275 2276 AS_VAR_IF([$1], [""], [$5], [$4])dnl 2277 ])dnl PKG_CHECK_VAR 2278 2279 # Copyright (C) 2002-2014 Free Software Foundation, Inc. 2108 2280 # 2109 2281 # This file is free software; the Free Software Foundation 2110 2282 # gives unlimited permission to copy and/or distribute it, 2111 2283 # with or without modifications, as long as this notice is preserved. 2112 2113 # serial 12114 2284 2115 2285 # AM_AUTOMAKE_VERSION(VERSION) … … 2119 2289 # (This private macro should not be called outside this file.) 2120 2290 AC_DEFUN([AM_AUTOMAKE_VERSION], 2121 [am__api_version='1.1 1'2291 [am__api_version='1.15' 2122 2292 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 2123 2293 dnl require some minimum version. Point them to the right macro. 2124 m4_if([$1], [1.1 1.3], [],2294 m4_if([$1], [1.15], [], 2125 2295 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 2126 2296 ]) … … 2138 2308 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 2139 2309 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 2140 [AM_AUTOMAKE_VERSION([1.1 1.3])dnl2310 [AM_AUTOMAKE_VERSION([1.15])dnl 2141 2311 m4_ifndef([AC_AUTOCONF_VERSION], 2142 2312 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 2143 2313 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 2144 2314 2145 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 2146 2147 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 2315 # Copyright (C) 2011-2014 Free Software Foundation, Inc. 2148 2316 # 2149 2317 # This file is free software; the Free Software Foundation … … 2151 2319 # with or without modifications, as long as this notice is preserved. 2152 2320 2153 # serial 1 2321 # AM_PROG_AR([ACT-IF-FAIL]) 2322 # ------------------------- 2323 # Try to determine the archiver interface, and trigger the ar-lib wrapper 2324 # if it is needed. If the detection of archiver interface fails, run 2325 # ACT-IF-FAIL (default is to abort configure with a proper error message). 2326 AC_DEFUN([AM_PROG_AR], 2327 [AC_BEFORE([$0], [LT_INIT])dnl 2328 AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl 2329 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 2330 AC_REQUIRE_AUX_FILE([ar-lib])dnl 2331 AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) 2332 : ${AR=ar} 2333 2334 AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], 2335 [AC_LANG_PUSH([C]) 2336 am_cv_ar_interface=ar 2337 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], 2338 [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' 2339 AC_TRY_EVAL([am_ar_try]) 2340 if test "$ac_status" -eq 0; then 2341 am_cv_ar_interface=ar 2342 else 2343 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' 2344 AC_TRY_EVAL([am_ar_try]) 2345 if test "$ac_status" -eq 0; then 2346 am_cv_ar_interface=lib 2347 else 2348 am_cv_ar_interface=unknown 2349 fi 2350 fi 2351 rm -f conftest.lib libconftest.a 2352 ]) 2353 AC_LANG_POP([C])]) 2354 2355 case $am_cv_ar_interface in 2356 ar) 2357 ;; 2358 lib) 2359 # Microsoft lib, so override with the ar-lib wrapper script. 2360 # FIXME: It is wrong to rewrite AR. 2361 # But if we don't then we get into trouble of one sort or another. 2362 # A longer-term fix would be to have automake use am__AR in this case, 2363 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 2364 # similar. 2365 AR="$am_aux_dir/ar-lib $AR" 2366 ;; 2367 unknown) 2368 m4_default([$1], 2369 [AC_MSG_ERROR([could not determine $AR interface])]) 2370 ;; 2371 esac 2372 AC_SUBST([AR])dnl 2373 ]) 2374 2375 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 2376 2377 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 2378 # 2379 # This file is free software; the Free Software Foundation 2380 # gives unlimited permission to copy and/or distribute it, 2381 # with or without modifications, as long as this notice is preserved. 2154 2382 2155 2383 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 2156 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to2157 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.2384 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to 2385 # '$srcdir', '$srcdir/..', or '$srcdir/../..'. 2158 2386 # 2159 2387 # Of course, Automake must honor this variable whenever it calls a … … 2174 2402 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir 2175 2403 # are both prefixed by $srcdir. In an in-source build this is usually 2176 # harmless because $srcdir is `.', but things will broke when you2404 # harmless because $srcdir is '.', but things will broke when you 2177 2405 # start a VPATH build or use an absolute $srcdir. 2178 2406 # … … 2192 2420 2193 2421 AC_DEFUN([AM_AUX_DIR_EXPAND], 2194 [dnl Rely on autoconf to set up CDPATH properly. 2195 AC_PREREQ([2.50])dnl 2196 # expand $ac_aux_dir to an absolute path 2197 am_aux_dir=`cd $ac_aux_dir && pwd` 2422 [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl 2423 # Expand $ac_aux_dir to an absolute path. 2424 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2198 2425 ]) 2199 2426 2200 2427 # AM_COND_IF -*- Autoconf -*- 2201 2428 2202 # Copyright (C) 2008 , 2010Free Software Foundation, Inc.2429 # Copyright (C) 2008-2014 Free Software Foundation, Inc. 2203 2430 # 2204 2431 # This file is free software; the Free Software Foundation 2205 2432 # gives unlimited permission to copy and/or distribute it, 2206 2433 # with or without modifications, as long as this notice is preserved. 2207 2208 # serial 32209 2434 2210 2435 # _AM_COND_IF … … 2216 2441 m4_define([_AM_COND_ELSE]) 2217 2442 m4_define([_AM_COND_ENDIF]) 2218 2219 2443 2220 2444 # AM_COND_IF(COND, [IF-TRUE], [IF-FALSE]) … … 2240 2464 # AM_CONDITIONAL -*- Autoconf -*- 2241 2465 2242 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 2243 # Free Software Foundation, Inc. 2466 # Copyright (C) 1997-2014 Free Software Foundation, Inc. 2244 2467 # 2245 2468 # This file is free software; the Free Software Foundation 2246 2469 # gives unlimited permission to copy and/or distribute it, 2247 2470 # with or without modifications, as long as this notice is preserved. 2248 2249 # serial 92250 2471 2251 2472 # AM_CONDITIONAL(NAME, SHELL-CONDITION) … … 2253 2474 # Define a conditional. 2254 2475 AC_DEFUN([AM_CONDITIONAL], 2255 [AC_PREREQ( 2.52)dnl2256 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],2257 2476 [AC_PREREQ([2.52])dnl 2477 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 2478 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 2258 2479 AC_SUBST([$1_TRUE])dnl 2259 2480 AC_SUBST([$1_FALSE])dnl … … 2274 2495 fi])]) 2275 2496 2276 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2277 # 2010, 2011 Free Software Foundation, Inc. 2497 # Copyright (C) 1999-2014 Free Software Foundation, Inc. 2278 2498 # 2279 2499 # This file is free software; the Free Software Foundation … … 2281 2501 # with or without modifications, as long as this notice is preserved. 2282 2502 2283 # serial 12 2284 2285 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 2503 2504 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be 2286 2505 # written in clear, in which case automake, when reading aclocal.m4, 2287 2506 # will think it sees a *use*, and therefore will trigger all it's … … 2293 2512 # ---------------------- 2294 2513 # See how the compiler implements dependency checking. 2295 # NAME is "CC", "CXX", " GCJ", or "OBJC".2514 # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". 2296 2515 # We try a few techniques and use that to set a single cache variable. 2297 2516 # … … 2306 2525 AC_REQUIRE([AM_DEP_TRACK])dnl 2307 2526 2308 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 2309 [$1], CXX, [depcc="$CXX" am_compiler_list=], 2310 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 2311 [$1], UPC, [depcc="$UPC" am_compiler_list=], 2312 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 2313 [depcc="$$1" am_compiler_list=]) 2527 m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], 2528 [$1], [CXX], [depcc="$CXX" am_compiler_list=], 2529 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 2530 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], 2531 [$1], [UPC], [depcc="$UPC" am_compiler_list=], 2532 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 2533 [depcc="$$1" am_compiler_list=]) 2314 2534 2315 2535 AC_CACHE_CHECK([dependency style of $depcc], … … 2319 2539 # making bogus files that we don't know about and never remove. For 2320 2540 # instance it was reported that on HP-UX the gcc test will end up 2321 # making a dummy file named `D' -- because `-MD' means `put the output2322 # in D '.2541 # making a dummy file named 'D' -- because '-MD' means "put the output 2542 # in D". 2323 2543 rm -rf conftest.dir 2324 2544 mkdir conftest.dir … … 2360 2580 for i in 1 2 3 4 5 6; do 2361 2581 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2362 # Using `: > sub/conftst$i.h'creates only sub/conftst1.h with2363 # Solaris 8's {/usr,}/bin/sh.2364 touchsub/conftst$i.h2582 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 2583 # Solaris 10 /bin/sh. 2584 echo '/* dummy */' > sub/conftst$i.h 2365 2585 done 2366 2586 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2367 2587 2368 # We check with `-c' and `-o' for the sake of the "dashmstdout"2588 # We check with '-c' and '-o' for the sake of the "dashmstdout" 2369 2589 # mode. It turns out that the SunPro C++ compiler does not properly 2370 # handle `-M -o', and we need to detect this. Also, some Intel2371 # versions had trouble with output in subdirs 2590 # handle '-M -o', and we need to detect this. Also, some Intel 2591 # versions had trouble with output in subdirs. 2372 2592 am__obj=sub/conftest.${OBJEXT-o} 2373 2593 am__minus_obj="-o $am__obj" … … 2378 2598 ;; 2379 2599 nosideeffect) 2380 # after this tag, mechanisms are not by side-effect, so they'll2381 # only be used when explicitly requested 2600 # After this tag, mechanisms are not by side-effect, so they'll 2601 # only be used when explicitly requested. 2382 2602 if test "x$enable_dependency_tracking" = xyes; then 2383 2603 continue … … 2387 2607 ;; 2388 2608 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 2389 # This compiler won't grok `-c -o', but also, the minuso test has2609 # This compiler won't grok '-c -o', but also, the minuso test has 2390 2610 # not run yet. These depmodes are late enough in the game, and 2391 2611 # so weak that their functioning should not be impacted. … … 2435 2655 # ------------- 2436 2656 # Choose a directory name for dependency files. 2437 # This macro is AC_REQUIREd in _AM_DEPENDENCIES 2657 # This macro is AC_REQUIREd in _AM_DEPENDENCIES. 2438 2658 AC_DEFUN([AM_SET_DEPDIR], 2439 2659 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl … … 2445 2665 # ------------ 2446 2666 AC_DEFUN([AM_DEP_TRACK], 2447 [AC_ARG_ENABLE(dependency-tracking, 2448 [ --disable-dependency-tracking speeds up one-time build 2449 --enable-dependency-tracking do not reject slow dependency extractors]) 2667 [AC_ARG_ENABLE([dependency-tracking], [dnl 2668 AS_HELP_STRING( 2669 [--enable-dependency-tracking], 2670 [do not reject slow dependency extractors]) 2671 AS_HELP_STRING( 2672 [--disable-dependency-tracking], 2673 [speeds up one-time build])]) 2450 2674 if test "x$enable_dependency_tracking" != xno; then 2451 2675 am_depcomp="$ac_aux_dir/depcomp" … … 2462 2686 # Generate code to set up dependency tracking. -*- Autoconf -*- 2463 2687 2464 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 2465 # Free Software Foundation, Inc. 2688 # Copyright (C) 1999-2014 Free Software Foundation, Inc. 2466 2689 # 2467 2690 # This file is free software; the Free Software Foundation … … 2469 2692 # with or without modifications, as long as this notice is preserved. 2470 2693 2471 #serial 52472 2694 2473 2695 # _AM_OUTPUT_DEPENDENCY_COMMANDS … … 2475 2697 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 2476 2698 [{ 2477 # Autoconf 2.62quotes --file arguments for eval, but not when files2699 # Older Autoconf quotes --file arguments for eval, but not when files 2478 2700 # are listed without --file. Let's play safe and only enable the eval 2479 2701 # if we detect the quoting. … … 2488 2710 mf=`echo "$mf" | sed -e 's/:.*$//'` 2489 2711 # Check whether this is an Automake generated Makefile or not. 2490 # We used to match only the files named `Makefile.in', but2712 # We used to match only the files named 'Makefile.in', but 2491 2713 # some people rename them; so instead we look at the file content. 2492 2714 # Grep'ing the first line is not enough: some people post-process … … 2500 2722 fi 2501 2723 # Extract the definition of DEPDIR, am__include, and am__quote 2502 # from the Makefile without running `make'.2724 # from the Makefile without running 'make'. 2503 2725 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 2504 2726 test -z "$DEPDIR" && continue 2505 2727 am__include=`sed -n 's/^am__include = //p' < "$mf"` 2506 test -z " am__include" && continue2728 test -z "$am__include" && continue 2507 2729 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 2508 # When using ansi2knr, U may be empty or an underscore; expand it2509 U=`sed -n 's/^U = //p' < "$mf"`2510 2730 # Find all dependency output files, they are included files with 2511 2731 # $(DEPDIR) in their names. We invoke sed twice because it is the … … 2514 2734 for file in `sed -n " 2515 2735 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 2516 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do2736 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 2517 2737 # Make sure the directory exists. 2518 2738 test -f "$dirpart/$file" && continue … … 2532 2752 # 2533 2753 # This code is only required when automatic dependency tracking 2534 # is enabled. FIXME. This creates each `.P' file that we will2754 # is enabled. FIXME. This creates each '.P' file that we will 2535 2755 # need in order to bootstrap the dependency handling code. 2536 2756 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], … … 2542 2762 # Do all the work for Automake. -*- Autoconf -*- 2543 2763 2544 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2545 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. 2764 # Copyright (C) 1996-2014 Free Software Foundation, Inc. 2546 2765 # 2547 2766 # This file is free software; the Free Software Foundation … … 2549 2768 # with or without modifications, as long as this notice is preserved. 2550 2769 2551 # serial 162552 2553 2770 # This macro actually does too much. Some checks are only needed if 2554 2771 # your package does certain things. But this isn't really a big deal. 2772 2773 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. 2774 m4_define([AC_PROG_CC], 2775 m4_defn([AC_PROG_CC]) 2776 [_AM_PROG_CC_C_O 2777 ]) 2555 2778 2556 2779 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) … … 2566 2789 # release and drop the old call support. 2567 2790 AC_DEFUN([AM_INIT_AUTOMAKE], 2568 [AC_PREREQ([2.6 2])dnl2791 [AC_PREREQ([2.65])dnl 2569 2792 dnl Autoconf wants to disallow AM_ names. We explicitly allow 2570 2793 dnl the ones we care about. … … 2595 2818 dnl Distinguish between old-style and new-style calls. 2596 2819 m4_ifval([$2], 2597 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 2820 [AC_DIAGNOSE([obsolete], 2821 [$0: two- and three-arguments forms are deprecated.]) 2822 m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 2598 2823 AC_SUBST([PACKAGE], [$1])dnl 2599 2824 AC_SUBST([VERSION], [$2])], 2600 2825 [_AM_SET_OPTIONS([$1])dnl 2601 2826 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 2602 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, 2827 m4_if( 2828 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), 2829 [ok:ok],, 2603 2830 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 2604 2831 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl … … 2606 2833 2607 2834 _AM_IF_OPTION([no-define],, 2608 [AC_DEFINE_UNQUOTED( PACKAGE, "$PACKAGE", [Name of package])2609 AC_DEFINE_UNQUOTED( VERSION, "$VERSION", [Version number of package])])dnl2835 [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 2836 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl 2610 2837 2611 2838 # Some tools Automake needs. 2612 2839 AC_REQUIRE([AM_SANITY_CHECK])dnl 2613 2840 AC_REQUIRE([AC_ARG_PROGRAM])dnl 2614 AM_MISSING_PROG( ACLOCAL, aclocal-${am__api_version})2615 AM_MISSING_PROG( AUTOCONF, autoconf)2616 AM_MISSING_PROG( AUTOMAKE, automake-${am__api_version})2617 AM_MISSING_PROG( AUTOHEADER, autoheader)2618 AM_MISSING_PROG( MAKEINFO, makeinfo)2841 AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 2842 AM_MISSING_PROG([AUTOCONF], [autoconf]) 2843 AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 2844 AM_MISSING_PROG([AUTOHEADER], [autoheader]) 2845 AM_MISSING_PROG([MAKEINFO], [makeinfo]) 2619 2846 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 2620 2847 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 2621 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 2622 # We need awk for the "check" target. The system "awk" is bad on 2623 # some platforms. 2848 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 2849 # For better backward compatibility. To be removed once Automake 1.9.x 2850 # dies out for good. For more background, see: 2851 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2852 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2853 AC_SUBST([mkdir_p], ['$(MKDIR_P)']) 2854 # We need awk for the "check" target (and possibly the TAP driver). The 2855 # system "awk" is bad on some platforms. 2624 2856 AC_REQUIRE([AC_PROG_AWK])dnl 2625 2857 AC_REQUIRE([AC_PROG_MAKE_SET])dnl … … 2630 2862 _AM_IF_OPTION([no-dependencies],, 2631 2863 [AC_PROVIDE_IFELSE([AC_PROG_CC], 2632 [_AM_DEPENDENCIES( CC)],2633 [ define([AC_PROG_CC],2634 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl2864 [_AM_DEPENDENCIES([CC])], 2865 [m4_define([AC_PROG_CC], 2866 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 2635 2867 AC_PROVIDE_IFELSE([AC_PROG_CXX], 2636 [_AM_DEPENDENCIES( CXX)],2637 [ define([AC_PROG_CXX],2638 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl2868 [_AM_DEPENDENCIES([CXX])], 2869 [m4_define([AC_PROG_CXX], 2870 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 2639 2871 AC_PROVIDE_IFELSE([AC_PROG_OBJC], 2640 [_AM_DEPENDENCIES(OBJC)], 2641 [define([AC_PROG_OBJC], 2642 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 2872 [_AM_DEPENDENCIES([OBJC])], 2873 [m4_define([AC_PROG_OBJC], 2874 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 2875 AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 2876 [_AM_DEPENDENCIES([OBJCXX])], 2877 [m4_define([AC_PROG_OBJCXX], 2878 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 2643 2879 ]) 2644 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl2645 dnl The `parallel-tests'driver may need to know about EXEEXT, so add the2646 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro2647 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.2880 AC_REQUIRE([AM_SILENT_RULES])dnl 2881 dnl The testsuite driver may need to know about EXEEXT, so add the 2882 dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This 2883 dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. 2648 2884 AC_CONFIG_COMMANDS_PRE(dnl 2649 2885 [m4_provide_if([_AM_COMPILER_EXEEXT], 2650 2886 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 2887 2888 # POSIX will say in a future version that running "rm -f" with no argument 2889 # is OK; and we want to be able to make that assumption in our Makefile 2890 # recipes. So use an aggressive probe to check that the usage we want is 2891 # actually supported "in the wild" to an acceptable degree. 2892 # See automake bug#10828. 2893 # To make any issue more visible, cause the running configure to be aborted 2894 # by default if the 'rm' program in use doesn't match our expectations; the 2895 # user can still override this though. 2896 if rm -f && rm -fr && rm -rf; then : OK; else 2897 cat >&2 <<'END' 2898 Oops! 2899 2900 Your 'rm' program seems unable to run without file operands specified 2901 on the command line, even when the '-f' option is present. This is contrary 2902 to the behaviour of most rm programs out there, and not conforming with 2903 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2904 2905 Please tell bug-automake@gnu.org about your system, including the value 2906 of your $PATH and any error possibly output before this message. This 2907 can help us improve future automake versions. 2908 2909 END 2910 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2911 echo 'Configuration will proceed anyway, since you have set the' >&2 2912 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2913 echo >&2 2914 else 2915 cat >&2 <<'END' 2916 Aborting the configuration process, to ensure you take notice of the issue. 2917 2918 You can download and install GNU coreutils to get an 'rm' implementation 2919 that behaves properly: <http://www.gnu.org/software/coreutils/>. 2920 2921 If you want to complete the configuration process using your problematic 2922 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2923 to "yes", and re-run configure. 2924 2925 END 2926 AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) 2927 fi 2928 fi 2929 dnl The trailing newline in this macro's definition is deliberate, for 2930 dnl backward compatibility and to allow trailing 'dnl'-style comments 2931 dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. 2651 2932 ]) 2652 2933 2653 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not2934 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not 2654 2935 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further 2655 2936 dnl mangled by Autoconf and run in a shell conditional statement. 2656 2937 m4_define([_AC_COMPILER_EXEEXT], 2657 2938 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) 2658 2659 2939 2660 2940 # When config.status generates a header, we must update the stamp-h file. … … 2679 2959 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 2680 2960 2681 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, 2682 # Inc. 2961 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 2683 2962 # 2684 2963 # This file is free software; the Free Software Foundation 2685 2964 # gives unlimited permission to copy and/or distribute it, 2686 2965 # with or without modifications, as long as this notice is preserved. 2687 2688 # serial 12689 2966 2690 2967 # AM_PROG_INSTALL_SH … … 2693 2970 AC_DEFUN([AM_PROG_INSTALL_SH], 2694 2971 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 2695 if test x"${install_sh }" != xset; then2972 if test x"${install_sh+set}" != xset; then 2696 2973 case $am_aux_dir in 2697 2974 *\ * | *\ *) … … 2701 2978 esac 2702 2979 fi 2703 AC_SUBST( install_sh)])2704 2705 # Copyright (C) 2003 , 2005Free Software Foundation, Inc.2980 AC_SUBST([install_sh])]) 2981 2982 # Copyright (C) 2003-2014 Free Software Foundation, Inc. 2706 2983 # 2707 2984 # This file is free software; the Free Software Foundation 2708 2985 # gives unlimited permission to copy and/or distribute it, 2709 2986 # with or without modifications, as long as this notice is preserved. 2710 2711 # serial 22712 2987 2713 2988 # Check whether the underlying file-system supports filenames … … 2726 3001 # Check to see how 'make' treats includes. -*- Autoconf -*- 2727 3002 2728 # Copyright (C) 2001 , 2002, 2003, 2005, 2009Free Software Foundation, Inc.3003 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 2729 3004 # 2730 3005 # This file is free software; the Free Software Foundation 2731 3006 # gives unlimited permission to copy and/or distribute it, 2732 3007 # with or without modifications, as long as this notice is preserved. 2733 2734 # serial 42735 3008 2736 3009 # AM_MAKE_INCLUDE() … … 2751 3024 # First try GNU make style include. 2752 3025 echo "include confinc" > confmf 2753 # Ignore all kinds of additional output from `make'.3026 # Ignore all kinds of additional output from 'make'. 2754 3027 case `$am_make -s -f confmf 2> /dev/null` in #( 2755 3028 *the\ am__doit\ target*) … … 2776 3049 ]) 2777 3050 2778 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 2779 # Free Software Foundation, Inc. 3051 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 3052 3053 # Copyright (C) 1997-2014 Free Software Foundation, Inc. 2780 3054 # 2781 3055 # This file is free software; the Free Software Foundation 2782 3056 # gives unlimited permission to copy and/or distribute it, 2783 3057 # with or without modifications, as long as this notice is preserved. 2784 2785 # serial 62786 2787 # AM_PROG_CC_C_O2788 # --------------2789 # Like AC_PROG_CC_C_O, but changed for automake.2790 AC_DEFUN([AM_PROG_CC_C_O],2791 [AC_REQUIRE([AC_PROG_CC_C_O])dnl2792 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl2793 AC_REQUIRE_AUX_FILE([compile])dnl2794 # FIXME: we rely on the cache variable name because2795 # there is no other way.2796 set dummy $CC2797 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`2798 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o2799 if test "$am_t" != yes; then2800 # Losing compiler, so override with the script.2801 # FIXME: It is wrong to rewrite CC.2802 # But if we don't then we get into trouble of one sort or another.2803 # A longer-term fix would be to have automake use am__CC in this case,2804 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"2805 CC="$am_aux_dir/compile $CC"2806 fi2807 dnl Make sure AC_PROG_CC is never called again, or it will override our2808 dnl setting of CC.2809 m4_define([AC_PROG_CC],2810 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])2811 ])2812 2813 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-2814 2815 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 20082816 # Free Software Foundation, Inc.2817 #2818 # This file is free software; the Free Software Foundation2819 # gives unlimited permission to copy and/or distribute it,2820 # with or without modifications, as long as this notice is preserved.2821 2822 # serial 62823 3058 2824 3059 # AM_MISSING_PROG(NAME, PROGRAM) … … 2829 3064 AC_SUBST($1)]) 2830 3065 2831 2832 3066 # AM_MISSING_HAS_RUN 2833 3067 # ------------------ 2834 # Define MISSING if not defined so far and test if it supports --run.2835 # If it does, set am_missing_run to use it, otherwise, to nothing.3068 # Define MISSING if not defined so far and test if it is modern enough. 3069 # If it is, set am_missing_run to use it, otherwise, to nothing. 2836 3070 AC_DEFUN([AM_MISSING_HAS_RUN], 2837 3071 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl … … 2846 3080 fi 2847 3081 # Use eval to expand $SHELL 2848 if eval "$MISSING -- run true"; then2849 am_missing_run="$MISSING --run"3082 if eval "$MISSING --is-lightweight"; then 3083 am_missing_run="$MISSING " 2850 3084 else 2851 3085 am_missing_run= 2852 AC_MSG_WARN([ `missing' script is too old or missing])3086 AC_MSG_WARN(['missing' script is too old or missing]) 2853 3087 fi 2854 3088 ]) 2855 3089 2856 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, 2857 # Inc. 3090 # Helper functions for option handling. -*- Autoconf -*- 3091 3092 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 2858 3093 # 2859 3094 # This file is free software; the Free Software Foundation 2860 3095 # gives unlimited permission to copy and/or distribute it, 2861 3096 # with or without modifications, as long as this notice is preserved. 2862 2863 # serial 12864 2865 # AM_PROG_MKDIR_P2866 # ---------------2867 # Check for `mkdir -p'.2868 AC_DEFUN([AM_PROG_MKDIR_P],2869 [AC_PREREQ([2.60])dnl2870 AC_REQUIRE([AC_PROG_MKDIR_P])dnl2871 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,2872 dnl while keeping a definition of mkdir_p for backward compatibility.2873 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.2874 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of2875 dnl Makefile.ins that do not define MKDIR_P, so we do our own2876 dnl adjustment using top_builddir (which is defined more often than2877 dnl MKDIR_P).2878 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl2879 case $mkdir_p in2880 [[\\/$]]* | ?:[[\\/]]*) ;;2881 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;2882 esac2883 ])2884 2885 # Helper functions for option handling. -*- Autoconf -*-2886 2887 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software2888 # Foundation, Inc.2889 #2890 # This file is free software; the Free Software Foundation2891 # gives unlimited permission to copy and/or distribute it,2892 # with or without modifications, as long as this notice is preserved.2893 2894 # serial 52895 3097 2896 3098 # _AM_MANGLE_OPTION(NAME) … … 2903 3105 # Set option NAME. Presently that only means defining a flag for this option. 2904 3106 AC_DEFUN([_AM_SET_OPTION], 2905 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])3107 [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) 2906 3108 2907 3109 # _AM_SET_OPTIONS(OPTIONS) … … 2917 3119 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 2918 3120 2919 # Check to make sure that the build environment is sane. -*- Autoconf -*- 2920 2921 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 2922 # Free Software Foundation, Inc. 3121 # Copyright (C) 1999-2014 Free Software Foundation, Inc. 2923 3122 # 2924 3123 # This file is free software; the Free Software Foundation … … 2926 3125 # with or without modifications, as long as this notice is preserved. 2927 3126 2928 # serial 5 3127 # _AM_PROG_CC_C_O 3128 # --------------- 3129 # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC 3130 # to automatically call this. 3131 AC_DEFUN([_AM_PROG_CC_C_O], 3132 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 3133 AC_REQUIRE_AUX_FILE([compile])dnl 3134 AC_LANG_PUSH([C])dnl 3135 AC_CACHE_CHECK( 3136 [whether $CC understands -c and -o together], 3137 [am_cv_prog_cc_c_o], 3138 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) 3139 # Make sure it works both with $CC and with simple cc. 3140 # Following AC_PROG_CC_C_O, we do the test twice because some 3141 # compilers refuse to overwrite an existing .o file with -o, 3142 # though they will create one. 3143 am_cv_prog_cc_c_o=yes 3144 for am_i in 1 2; do 3145 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ 3146 && test -f conftest2.$ac_objext; then 3147 : OK 3148 else 3149 am_cv_prog_cc_c_o=no 3150 break 3151 fi 3152 done 3153 rm -f core conftest* 3154 unset am_i]) 3155 if test "$am_cv_prog_cc_c_o" != yes; then 3156 # Losing compiler, so override with the script. 3157 # FIXME: It is wrong to rewrite CC. 3158 # But if we don't then we get into trouble of one sort or another. 3159 # A longer-term fix would be to have automake use am__CC in this case, 3160 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3161 CC="$am_aux_dir/compile $CC" 3162 fi 3163 AC_LANG_POP([C])]) 3164 3165 # For backward compatibility. 3166 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) 3167 3168 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 3169 # 3170 # This file is free software; the Free Software Foundation 3171 # gives unlimited permission to copy and/or distribute it, 3172 # with or without modifications, as long as this notice is preserved. 3173 3174 # AM_RUN_LOG(COMMAND) 3175 # ------------------- 3176 # Run COMMAND, save the exit status in ac_status, and log it. 3177 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) 3178 AC_DEFUN([AM_RUN_LOG], 3179 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD 3180 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD 3181 ac_status=$? 3182 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 3183 (exit $ac_status); }]) 3184 3185 # Check to make sure that the build environment is sane. -*- Autoconf -*- 3186 3187 # Copyright (C) 1996-2014 Free Software Foundation, Inc. 3188 # 3189 # This file is free software; the Free Software Foundation 3190 # gives unlimited permission to copy and/or distribute it, 3191 # with or without modifications, as long as this notice is preserved. 2929 3192 2930 3193 # AM_SANITY_CHECK … … 2932 3195 AC_DEFUN([AM_SANITY_CHECK], 2933 3196 [AC_MSG_CHECKING([whether build environment is sane]) 2934 # Just in case2935 sleep 12936 echo timestamp > conftest.file2937 3197 # Reject unsafe characters in $srcdir or the absolute working directory 2938 3198 # name. Accept space and tab only in the latter. … … 2945 3205 case $srcdir in 2946 3206 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 2947 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;3207 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; 2948 3208 esac 2949 3209 2950 # Do `set' in a subshell so we don't clobber the current shell's3210 # Do 'set' in a subshell so we don't clobber the current shell's 2951 3211 # arguments. Must try -L first in case configure is actually a 2952 3212 # symlink; some systems play weird games with the mod time of symlinks … … 2954 3214 # directory). 2955 3215 if ( 2956 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2957 if test "$[*]" = "X"; then 2958 # -L didn't work. 2959 set X `ls -t "$srcdir/configure" conftest.file` 2960 fi 2961 rm -f conftest.file 2962 if test "$[*]" != "X $srcdir/configure conftest.file" \ 2963 && test "$[*]" != "X conftest.file $srcdir/configure"; then 2964 2965 # If neither matched, then we have a broken ls. This can happen 2966 # if, for instance, CONFIG_SHELL is bash and it inherits a 2967 # broken ls alias from the environment. This has actually 2968 # happened. Such a system could not be considered "sane". 2969 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 2970 alias in your environment]) 2971 fi 2972 3216 am_has_slept=no 3217 for am_try in 1 2; do 3218 echo "timestamp, slept: $am_has_slept" > conftest.file 3219 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3220 if test "$[*]" = "X"; then 3221 # -L didn't work. 3222 set X `ls -t "$srcdir/configure" conftest.file` 3223 fi 3224 if test "$[*]" != "X $srcdir/configure conftest.file" \ 3225 && test "$[*]" != "X conftest.file $srcdir/configure"; then 3226 3227 # If neither matched, then we have a broken ls. This can happen 3228 # if, for instance, CONFIG_SHELL is bash and it inherits a 3229 # broken ls alias from the environment. This has actually 3230 # happened. Such a system could not be considered "sane". 3231 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 3232 alias in your environment]) 3233 fi 3234 if test "$[2]" = conftest.file || test $am_try -eq 2; then 3235 break 3236 fi 3237 # Just in case. 3238 sleep 1 3239 am_has_slept=yes 3240 done 2973 3241 test "$[2]" = conftest.file 2974 3242 ) … … 2980 3248 Check your system clock]) 2981 3249 fi 2982 AC_MSG_RESULT(yes)]) 2983 2984 # Copyright (C) 2009, 2011 Free Software Foundation, Inc. 3250 AC_MSG_RESULT([yes]) 3251 # If we didn't sleep, we still need to ensure time stamps of config.status and 3252 # generated files are strictly newer. 3253 am_sleep_pid= 3254 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3255 ( sleep 1 ) & 3256 am_sleep_pid=$! 3257 fi 3258 AC_CONFIG_COMMANDS_PRE( 3259 [AC_MSG_CHECKING([that generated files are newer than configure]) 3260 if test -n "$am_sleep_pid"; then 3261 # Hide warnings about reused PIDs. 3262 wait $am_sleep_pid 2>/dev/null 3263 fi 3264 AC_MSG_RESULT([done])]) 3265 rm -f conftest.file 3266 ]) 3267 3268 # Copyright (C) 2009-2014 Free Software Foundation, Inc. 2985 3269 # 2986 3270 # This file is free software; the Free Software Foundation … … 2988 3272 # with or without modifications, as long as this notice is preserved. 2989 3273 2990 # serial 22991 2992 3274 # AM_SILENT_RULES([DEFAULT]) 2993 3275 # -------------------------- 2994 3276 # Enable less verbose build rules; with the default set to DEFAULT 2995 # ( `yes' being less verbose, `no'or empty being verbose).3277 # ("yes" being less verbose, "no" or empty being verbose). 2996 3278 AC_DEFUN([AM_SILENT_RULES], 2997 [AC_ARG_ENABLE([silent-rules], 2998 [ --enable-silent-rules less verbose build output (undo: `make V=1') 2999 --disable-silent-rules verbose build output (undo: `make V=0')]) 3000 case $enable_silent_rules in 3001 yes) AM_DEFAULT_VERBOSITY=0;; 3002 no) AM_DEFAULT_VERBOSITY=1;; 3003 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; 3279 [AC_ARG_ENABLE([silent-rules], [dnl 3280 AS_HELP_STRING( 3281 [--enable-silent-rules], 3282 [less verbose build output (undo: "make V=1")]) 3283 AS_HELP_STRING( 3284 [--disable-silent-rules], 3285 [verbose build output (undo: "make V=0")])dnl 3286 ]) 3287 case $enable_silent_rules in @%:@ ((( 3288 yes) AM_DEFAULT_VERBOSITY=0;; 3289 no) AM_DEFAULT_VERBOSITY=1;; 3290 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; 3004 3291 esac 3005 3292 dnl 3006 dnl A few `make' implementations (e.g., NonStop OS and NextStep)3293 dnl A few 'make' implementations (e.g., NonStop OS and NextStep) 3007 3294 dnl do not support nested variable expansions. 3008 3295 dnl See automake bug#9928 and bug#10237. … … 3022 3309 fi]) 3023 3310 if test $am_cv_make_support_nested_variables = yes; then 3024 dnl Using `$V' instead of `$(V)' breaks IRIX make.3311 dnl Using '$V' instead of '$(V)' breaks IRIX make. 3025 3312 AM_V='$(V)' 3026 3313 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' … … 3039 3326 ]) 3040 3327 3041 # Copyright (C) 2001 , 2003, 2005, 2011Free Software Foundation, Inc.3328 # Copyright (C) 2001-2014 Free Software Foundation, Inc. 3042 3329 # 3043 3330 # This file is free software; the Free Software Foundation … … 3045 3332 # with or without modifications, as long as this notice is preserved. 3046 3333 3047 # serial 13048 3049 3334 # AM_PROG_INSTALL_STRIP 3050 3335 # --------------------- 3051 # One issue with vendor `install' (even GNU) is that you can't3336 # One issue with vendor 'install' (even GNU) is that you can't 3052 3337 # specify the program used to strip binaries. This is especially 3053 3338 # annoying in cross-compiling environments, where the build's strip 3054 3339 # is unlikely to handle the host's binaries. 3055 3340 # Fortunately install-sh will honor a STRIPPROG variable, so we 3056 # always use install-sh in `make install-strip', and initialize3341 # always use install-sh in "make install-strip", and initialize 3057 3342 # STRIPPROG with the value of the STRIP variable (set by the user). 3058 3343 AC_DEFUN([AM_PROG_INSTALL_STRIP], 3059 3344 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 3060 # Installed binaries are usually stripped using `strip' when the user3061 # run `make install-strip'. However `strip' might not be the right3345 # Installed binaries are usually stripped using 'strip' when the user 3346 # run "make install-strip". However 'strip' might not be the right 3062 3347 # tool to use in cross-compilation environments, therefore Automake 3063 # will honor the `STRIP' environment variable to overrule this program.3064 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.3348 # will honor the 'STRIP' environment variable to overrule this program. 3349 dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. 3065 3350 if test "$cross_compiling" != no; then 3066 3351 AC_CHECK_TOOL([STRIP], [strip], :) … … 3069 3354 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 3070 3355 3071 # Copyright (C) 2006 , 2008, 2010Free Software Foundation, Inc.3356 # Copyright (C) 2006-2014 Free Software Foundation, Inc. 3072 3357 # 3073 3358 # This file is free software; the Free Software Foundation 3074 3359 # gives unlimited permission to copy and/or distribute it, 3075 3360 # with or without modifications, as long as this notice is preserved. 3076 3077 # serial 33078 3361 3079 3362 # _AM_SUBST_NOTMAKE(VARIABLE) … … 3090 3373 # Check how to create a tarball. -*- Autoconf -*- 3091 3374 3092 # Copyright (C) 2004 , 2005, 2012Free Software Foundation, Inc.3375 # Copyright (C) 2004-2014 Free Software Foundation, Inc. 3093 3376 # 3094 3377 # This file is free software; the Free Software Foundation … … 3096 3379 # with or without modifications, as long as this notice is preserved. 3097 3380 3098 # serial 23099 3100 3381 # _AM_PROG_TAR(FORMAT) 3101 3382 # -------------------- 3102 3383 # Check how to create a tarball in format FORMAT. 3103 # FORMAT should be one of `v7', `ustar', or `pax'.3384 # FORMAT should be one of 'v7', 'ustar', or 'pax'. 3104 3385 # 3105 3386 # Substitute a variable $(am__tar) that is a command … … 3111 3392 # a tarball read from stdin. 3112 3393 # $(am__untar) < result.tar 3394 # 3113 3395 AC_DEFUN([_AM_PROG_TAR], 3114 3396 [# Always define AMTAR for backward compatibility. Yes, it's still used 3115 3397 # in the wild :-( We should find a proper way to deprecate it ... 3116 3398 AC_SUBST([AMTAR], ['$${TAR-tar}']) 3399 3400 # We'll loop over all known methods to create a tar archive until one works. 3401 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 3402 3117 3403 m4_if([$1], [v7], 3118 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 3119 [m4_case([$1], [ustar],, [pax],, 3120 [m4_fatal([Unknown tar format])]) 3121 AC_MSG_CHECKING([how to create a $1 tar archive]) 3122 # Loop over all known methods to create a tar archive until one works. 3123 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 3124 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 3125 # Do not fold the above two line into one, because Tru64 sh and 3126 # Solaris sh will not grok spaces in the rhs of `-'. 3127 for _am_tool in $_am_tools 3128 do 3129 case $_am_tool in 3130 gnutar) 3131 for _am_tar in tar gnutar gtar; 3132 do 3133 AM_RUN_LOG([$_am_tar --version]) && break 3134 done 3135 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 3136 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 3137 am__untar="$_am_tar -xf -" 3138 ;; 3139 plaintar) 3140 # Must skip GNU tar: if it does not support --format= it doesn't create 3141 # ustar tarball either. 3142 (tar --version) >/dev/null 2>&1 && continue 3143 am__tar='tar chf - "$$tardir"' 3144 am__tar_='tar chf - "$tardir"' 3145 am__untar='tar xf -' 3146 ;; 3147 pax) 3148 am__tar='pax -L -x $1 -w "$$tardir"' 3149 am__tar_='pax -L -x $1 -w "$tardir"' 3150 am__untar='pax -r' 3151 ;; 3152 cpio) 3153 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 3154 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 3155 am__untar='cpio -i -H $1 -d' 3156 ;; 3157 none) 3158 am__tar=false 3159 am__tar_=false 3160 am__untar=false 3161 ;; 3162 esac 3163 3164 # If the value was cached, stop now. We just wanted to have am__tar 3165 # and am__untar set. 3166 test -n "${am_cv_prog_tar_$1}" && break 3167 3168 # tar/untar a dummy directory, and stop if the command works 3404 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 3405 3406 [m4_case([$1], 3407 [ustar], 3408 [# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3409 # There is notably a 21 bits limit for the UID and the GID. In fact, 3410 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3411 # and bug#13588). 3412 am_max_uid=2097151 # 2^21 - 1 3413 am_max_gid=$am_max_uid 3414 # The $UID and $GID variables are not portable, so we need to resort 3415 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3416 # below are definitely unexpected, so allow the users to see them 3417 # (that is, avoid stderr redirection). 3418 am_uid=`id -u || echo unknown` 3419 am_gid=`id -g || echo unknown` 3420 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) 3421 if test $am_uid -le $am_max_uid; then 3422 AC_MSG_RESULT([yes]) 3423 else 3424 AC_MSG_RESULT([no]) 3425 _am_tools=none 3426 fi 3427 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) 3428 if test $am_gid -le $am_max_gid; then 3429 AC_MSG_RESULT([yes]) 3430 else 3431 AC_MSG_RESULT([no]) 3432 _am_tools=none 3433 fi], 3434 3435 [pax], 3436 [], 3437 3438 [m4_fatal([Unknown tar format])]) 3439 3440 AC_MSG_CHECKING([how to create a $1 tar archive]) 3441 3442 # Go ahead even if we have the value already cached. We do so because we 3443 # need to set the values for the 'am__tar' and 'am__untar' variables. 3444 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 3445 3446 for _am_tool in $_am_tools; do 3447 case $_am_tool in 3448 gnutar) 3449 for _am_tar in tar gnutar gtar; do 3450 AM_RUN_LOG([$_am_tar --version]) && break 3451 done 3452 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 3453 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 3454 am__untar="$_am_tar -xf -" 3455 ;; 3456 plaintar) 3457 # Must skip GNU tar: if it does not support --format= it doesn't create 3458 # ustar tarball either. 3459 (tar --version) >/dev/null 2>&1 && continue 3460 am__tar='tar chf - "$$tardir"' 3461 am__tar_='tar chf - "$tardir"' 3462 am__untar='tar xf -' 3463 ;; 3464 pax) 3465 am__tar='pax -L -x $1 -w "$$tardir"' 3466 am__tar_='pax -L -x $1 -w "$tardir"' 3467 am__untar='pax -r' 3468 ;; 3469 cpio) 3470 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 3471 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 3472 am__untar='cpio -i -H $1 -d' 3473 ;; 3474 none) 3475 am__tar=false 3476 am__tar_=false 3477 am__untar=false 3478 ;; 3479 esac 3480 3481 # If the value was cached, stop now. We just wanted to have am__tar 3482 # and am__untar set. 3483 test -n "${am_cv_prog_tar_$1}" && break 3484 3485 # tar/untar a dummy directory, and stop if the command works. 3486 rm -rf conftest.dir 3487 mkdir conftest.dir 3488 echo GrepMe > conftest.dir/file 3489 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 3490 rm -rf conftest.dir 3491 if test -s conftest.tar; then 3492 AM_RUN_LOG([$am__untar <conftest.tar]) 3493 AM_RUN_LOG([cat conftest.dir/file]) 3494 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3495 fi 3496 done 3169 3497 rm -rf conftest.dir 3170 mkdir conftest.dir 3171 echo GrepMe > conftest.dir/file 3172 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 3173 rm -rf conftest.dir 3174 if test -s conftest.tar; then 3175 AM_RUN_LOG([$am__untar <conftest.tar]) 3176 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3177 fi 3178 done 3179 rm -rf conftest.dir 3180 3181 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 3182 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 3498 3499 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 3500 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 3501 3183 3502 AC_SUBST([am__tar]) 3184 3503 AC_SUBST([am__untar])
Note:
See TracChangeset
for help on using the changeset viewer.