comparison aclocal.m4 @ 1826:6a621a625b04

New release
author Adam Chlipala <adam@chlipala.net>
date Tue, 25 Sep 2012 08:16:58 -0400
parents 40557fb08e98
children
comparison
equal deleted inserted replaced
1825:52c291b05738 1826:6a621a625b04
1 # generated automatically by aclocal 1.11.6 -*- Autoconf -*- 1 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2 2
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 4 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
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,
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
15 m4_ifndef([AC_AUTOCONF_VERSION], 14 m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, 16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
18 [m4_warning([this file was generated for autoconf 2.69. 17 [m4_warning([this file was generated for autoconf 2.67.
19 You have another version of autoconf. It may work, but is not guaranteed to. 18 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. 19 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'.])]) 20 To do so, use the procedure documented by the package, typically `autoreconf'.])])
22 21
23 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software 22 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
24 # Foundation, Inc. 23 #
25 # 24 # This file is free software; the Free Software Foundation
26 # This file is free software; the Free Software Foundation 25 # gives unlimited permission to copy and/or distribute it,
27 # gives unlimited permission to copy and/or distribute it, 26 # with or without modifications, as long as this notice is preserved.
28 # with or without modifications, as long as this notice is preserved.
29
30 # serial 1
31 27
32 # AM_AUTOMAKE_VERSION(VERSION) 28 # AM_AUTOMAKE_VERSION(VERSION)
33 # ---------------------------- 29 # ----------------------------
34 # Automake X.Y traces this macro to ensure aclocal.m4 has been 30 # Automake X.Y traces this macro to ensure aclocal.m4 has been
35 # generated from the m4 files accompanying Automake X.Y. 31 # generated from the m4 files accompanying Automake X.Y.
36 # (This private macro should not be called outside this file.) 32 # (This private macro should not be called outside this file.)
37 AC_DEFUN([AM_AUTOMAKE_VERSION], 33 AC_DEFUN([AM_AUTOMAKE_VERSION],
38 [am__api_version='1.11' 34 [am__api_version='1.11'
39 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40 dnl require some minimum version. Point them to the right macro. 36 dnl require some minimum version. Point them to the right macro.
41 m4_if([$1], [1.11.6], [], 37 m4_if([$1], [1.11.1], [],
42 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43 ]) 39 ])
44 40
45 # _AM_AUTOCONF_VERSION(VERSION) 41 # _AM_AUTOCONF_VERSION(VERSION)
46 # ----------------------------- 42 # -----------------------------
52 # AM_SET_CURRENT_AUTOMAKE_VERSION 48 # AM_SET_CURRENT_AUTOMAKE_VERSION
53 # ------------------------------- 49 # -------------------------------
54 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 51 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57 [AM_AUTOMAKE_VERSION([1.11.6])dnl 53 [AM_AUTOMAKE_VERSION([1.11.1])dnl
58 m4_ifndef([AC_AUTOCONF_VERSION], 54 m4_ifndef([AC_AUTOCONF_VERSION],
59 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 56 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61 57
62 # Copyright (C) 2011 Free Software Foundation, Inc.
63 #
64 # This file is free software; the Free Software Foundation
65 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
67
68 # serial 1
69
70 # AM_PROG_AR([ACT-IF-FAIL])
71 # -------------------------
72 # Try to determine the archiver interface, and trigger the ar-lib wrapper
73 # if it is needed. If the detection of archiver interface fails, run
74 # ACT-IF-FAIL (default is to abort configure with a proper error message).
75 AC_DEFUN([AM_PROG_AR],
76 [AC_BEFORE([$0], [LT_INIT])dnl
77 AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
78 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
79 AC_REQUIRE_AUX_FILE([ar-lib])dnl
80 AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
81 : ${AR=ar}
82
83 AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
84 [am_cv_ar_interface=ar
85 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
86 [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
87 AC_TRY_EVAL([am_ar_try])
88 if test "$ac_status" -eq 0; then
89 am_cv_ar_interface=ar
90 else
91 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
92 AC_TRY_EVAL([am_ar_try])
93 if test "$ac_status" -eq 0; then
94 am_cv_ar_interface=lib
95 else
96 am_cv_ar_interface=unknown
97 fi
98 fi
99 rm -f conftest.lib libconftest.a
100 ])
101 ])
102
103 case $am_cv_ar_interface in
104 ar)
105 ;;
106 lib)
107 # Microsoft lib, so override with the ar-lib wrapper script.
108 # FIXME: It is wrong to rewrite AR.
109 # But if we don't then we get into trouble of one sort or another.
110 # A longer-term fix would be to have automake use am__AR in this case,
111 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
112 # similar.
113 AR="$am_aux_dir/ar-lib $AR"
114 ;;
115 unknown)
116 m4_default([$1],
117 [AC_MSG_ERROR([could not determine $AR interface])])
118 ;;
119 esac
120 AC_SUBST([AR])dnl
121 ])
122
123 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 58 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
124 59
125 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 60 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
126 # 61 #
127 # This file is free software; the Free Software Foundation 62 # This file is free software; the Free Software Foundation
128 # gives unlimited permission to copy and/or distribute it, 63 # gives unlimited permission to copy and/or distribute it,
129 # with or without modifications, as long as this notice is preserved. 64 # with or without modifications, as long as this notice is preserved.
130
131 # serial 1
132 65
133 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
134 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 67 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
135 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 68 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
136 # 69 #
209 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 142 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
210 AC_MSG_ERROR([[conditional "$1" was never defined. 143 AC_MSG_ERROR([[conditional "$1" was never defined.
211 Usually this means the macro was only invoked conditionally.]]) 144 Usually this means the macro was only invoked conditionally.]])
212 fi])]) 145 fi])])
213 146
214 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 147 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
215 # 2010, 2011 Free Software Foundation, Inc. 148 # Free Software Foundation, Inc.
216 # 149 #
217 # This file is free software; the Free Software Foundation 150 # This file is free software; the Free Software Foundation
218 # gives unlimited permission to copy and/or distribute it, 151 # gives unlimited permission to copy and/or distribute it,
219 # with or without modifications, as long as this notice is preserved. 152 # with or without modifications, as long as this notice is preserved.
220 153
221 # serial 12 154 # serial 10
222 155
223 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 156 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
224 # written in clear, in which case automake, when reading aclocal.m4, 157 # written in clear, in which case automake, when reading aclocal.m4,
225 # will think it sees a *use*, and therefore will trigger all it's 158 # will think it sees a *use*, and therefore will trigger all it's
226 # C support machinery. Also note that it means that autoscan, seeing 159 # C support machinery. Also note that it means that autoscan, seeing
256 # We make a subdir and do the tests there. Otherwise we can end up 189 # We make a subdir and do the tests there. Otherwise we can end up
257 # making bogus files that we don't know about and never remove. For 190 # making bogus files that we don't know about and never remove. For
258 # instance it was reported that on HP-UX the gcc test will end up 191 # instance it was reported that on HP-UX the gcc test will end up
259 # making a dummy file named `D' -- because `-MD' means `put the output 192 # making a dummy file named `D' -- because `-MD' means `put the output
260 # in D'. 193 # in D'.
261 rm -rf conftest.dir
262 mkdir conftest.dir 194 mkdir conftest.dir
263 # Copy depcomp to subdir because otherwise we won't find it if we're 195 # Copy depcomp to subdir because otherwise we won't find it if we're
264 # using a relative directory. 196 # using a relative directory.
265 cp "$am_depcomp" conftest.dir 197 cp "$am_depcomp" conftest.dir
266 cd conftest.dir 198 cd conftest.dir
321 continue 253 continue
322 else 254 else
323 break 255 break
324 fi 256 fi
325 ;; 257 ;;
326 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 258 msvisualcpp | msvcmsys)
327 # This compiler won't grok `-c -o', but also, the minuso test has 259 # This compiler won't grok `-c -o', but also, the minuso test has
328 # not run yet. These depmodes are late enough in the game, and 260 # not run yet. These depmodes are late enough in the game, and
329 # so weak that their functioning should not be impacted. 261 # so weak that their functioning should not be impacted.
330 am__obj=conftest.${OBJEXT-o} 262 am__obj=conftest.${OBJEXT-o}
331 am__minus_obj= 263 am__minus_obj=
386 [ --disable-dependency-tracking speeds up one-time build 318 [ --disable-dependency-tracking speeds up one-time build
387 --enable-dependency-tracking do not reject slow dependency extractors]) 319 --enable-dependency-tracking do not reject slow dependency extractors])
388 if test "x$enable_dependency_tracking" != xno; then 320 if test "x$enable_dependency_tracking" != xno; then
389 am_depcomp="$ac_aux_dir/depcomp" 321 am_depcomp="$ac_aux_dir/depcomp"
390 AMDEPBACKSLASH='\' 322 AMDEPBACKSLASH='\'
391 am__nodep='_no'
392 fi 323 fi
393 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 324 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
394 AC_SUBST([AMDEPBACKSLASH])dnl 325 AC_SUBST([AMDEPBACKSLASH])dnl
395 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 326 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
396 AC_SUBST([am__nodep])dnl
397 _AM_SUBST_NOTMAKE([am__nodep])dnl
398 ]) 327 ])
399 328
400 # Generate code to set up dependency tracking. -*- Autoconf -*- 329 # Generate code to set up dependency tracking. -*- Autoconf -*-
401 330
402 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 331 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
614 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 543 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
615 esac 544 esac
616 done 545 done
617 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 546 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
618 547
619 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, 548 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
620 # Inc. 549 #
621 # 550 # This file is free software; the Free Software Foundation
622 # This file is free software; the Free Software Foundation 551 # gives unlimited permission to copy and/or distribute it,
623 # gives unlimited permission to copy and/or distribute it, 552 # with or without modifications, as long as this notice is preserved.
624 # with or without modifications, as long as this notice is preserved.
625
626 # serial 1
627 553
628 # AM_PROG_INSTALL_SH 554 # AM_PROG_INSTALL_SH
629 # ------------------ 555 # ------------------
630 # Define $install_sh. 556 # Define $install_sh.
631 AC_DEFUN([AM_PROG_INSTALL_SH], 557 AC_DEFUN([AM_PROG_INSTALL_SH],
754 am_missing_run= 680 am_missing_run=
755 AC_MSG_WARN([`missing' script is too old or missing]) 681 AC_MSG_WARN([`missing' script is too old or missing])
756 fi 682 fi
757 ]) 683 ])
758 684
759 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, 685 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
760 # Inc. 686 #
761 # 687 # This file is free software; the Free Software Foundation
762 # This file is free software; the Free Software Foundation 688 # gives unlimited permission to copy and/or distribute it,
763 # gives unlimited permission to copy and/or distribute it, 689 # with or without modifications, as long as this notice is preserved.
764 # with or without modifications, as long as this notice is preserved.
765
766 # serial 1
767 690
768 # AM_PROG_MKDIR_P 691 # AM_PROG_MKDIR_P
769 # --------------- 692 # ---------------
770 # Check for `mkdir -p'. 693 # Check for `mkdir -p'.
771 AC_DEFUN([AM_PROG_MKDIR_P], 694 AC_DEFUN([AM_PROG_MKDIR_P],
785 esac 708 esac
786 ]) 709 ])
787 710
788 # Helper functions for option handling. -*- Autoconf -*- 711 # Helper functions for option handling. -*- Autoconf -*-
789 712
790 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software 713 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
791 # Foundation, Inc. 714 #
792 # 715 # This file is free software; the Free Software Foundation
793 # This file is free software; the Free Software Foundation 716 # gives unlimited permission to copy and/or distribute it,
794 # gives unlimited permission to copy and/or distribute it, 717 # with or without modifications, as long as this notice is preserved.
795 # with or without modifications, as long as this notice is preserved. 718
796 719 # serial 4
797 # serial 5
798 720
799 # _AM_MANGLE_OPTION(NAME) 721 # _AM_MANGLE_OPTION(NAME)
800 # ----------------------- 722 # -----------------------
801 AC_DEFUN([_AM_MANGLE_OPTION], 723 AC_DEFUN([_AM_MANGLE_OPTION],
802 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 724 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
803 725
804 # _AM_SET_OPTION(NAME) 726 # _AM_SET_OPTION(NAME)
805 # -------------------- 727 # ------------------------------
806 # Set option NAME. Presently that only means defining a flag for this option. 728 # Set option NAME. Presently that only means defining a flag for this option.
807 AC_DEFUN([_AM_SET_OPTION], 729 AC_DEFUN([_AM_SET_OPTION],
808 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 730 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
809 731
810 # _AM_SET_OPTIONS(OPTIONS) 732 # _AM_SET_OPTIONS(OPTIONS)
811 # ------------------------ 733 # ----------------------------------
812 # OPTIONS is a space-separated list of Automake options. 734 # OPTIONS is a space-separated list of Automake options.
813 AC_DEFUN([_AM_SET_OPTIONS], 735 AC_DEFUN([_AM_SET_OPTIONS],
814 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 736 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
815 737
816 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 738 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
882 AC_MSG_ERROR([newly created file is older than distributed files! 804 AC_MSG_ERROR([newly created file is older than distributed files!
883 Check your system clock]) 805 Check your system clock])
884 fi 806 fi
885 AC_MSG_RESULT(yes)]) 807 AC_MSG_RESULT(yes)])
886 808
887 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. 809 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
888 # 810 #
889 # This file is free software; the Free Software Foundation 811 # This file is free software; the Free Software Foundation
890 # gives unlimited permission to copy and/or distribute it, 812 # gives unlimited permission to copy and/or distribute it,
891 # with or without modifications, as long as this notice is preserved. 813 # with or without modifications, as long as this notice is preserved.
892
893 # serial 1
894 814
895 # AM_PROG_INSTALL_STRIP 815 # AM_PROG_INSTALL_STRIP
896 # --------------------- 816 # ---------------------
897 # One issue with vendor `install' (even GNU) is that you can't 817 # One issue with vendor `install' (even GNU) is that you can't
898 # specify the program used to strip binaries. This is especially 818 # specify the program used to strip binaries. This is especially
912 AC_CHECK_TOOL([STRIP], [strip], :) 832 AC_CHECK_TOOL([STRIP], [strip], :)
913 fi 833 fi
914 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 834 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
915 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 835 AC_SUBST([INSTALL_STRIP_PROGRAM])])
916 836
917 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. 837 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
918 # 838 #
919 # This file is free software; the Free Software Foundation 839 # This file is free software; the Free Software Foundation
920 # gives unlimited permission to copy and/or distribute it, 840 # gives unlimited permission to copy and/or distribute it,
921 # with or without modifications, as long as this notice is preserved. 841 # with or without modifications, as long as this notice is preserved.
922 842
923 # serial 3 843 # serial 2
924 844
925 # _AM_SUBST_NOTMAKE(VARIABLE) 845 # _AM_SUBST_NOTMAKE(VARIABLE)
926 # --------------------------- 846 # ---------------------------
927 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 847 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
928 # This macro is traced by Automake. 848 # This macro is traced by Automake.
929 AC_DEFUN([_AM_SUBST_NOTMAKE]) 849 AC_DEFUN([_AM_SUBST_NOTMAKE])
930 850
931 # AM_SUBST_NOTMAKE(VARIABLE) 851 # AM_SUBST_NOTMAKE(VARIABLE)
932 # -------------------------- 852 # ---------------------------
933 # Public sister of _AM_SUBST_NOTMAKE. 853 # Public sister of _AM_SUBST_NOTMAKE.
934 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 854 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
935 855
936 # Check how to create a tarball. -*- Autoconf -*- 856 # Check how to create a tarball. -*- Autoconf -*-
937 857
938 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. 858 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
939 # 859 #
940 # This file is free software; the Free Software Foundation 860 # This file is free software; the Free Software Foundation
941 # gives unlimited permission to copy and/or distribute it, 861 # gives unlimited permission to copy and/or distribute it,
942 # with or without modifications, as long as this notice is preserved. 862 # with or without modifications, as long as this notice is preserved.
943 863
955 # 875 #
956 # Substitute a variable $(am__untar) that extract such 876 # Substitute a variable $(am__untar) that extract such
957 # a tarball read from stdin. 877 # a tarball read from stdin.
958 # $(am__untar) < result.tar 878 # $(am__untar) < result.tar
959 AC_DEFUN([_AM_PROG_TAR], 879 AC_DEFUN([_AM_PROG_TAR],
960 [# Always define AMTAR for backward compatibility. Yes, it's still used 880 [# Always define AMTAR for backward compatibility.
961 # in the wild :-( We should find a proper way to deprecate it ... 881 AM_MISSING_PROG([AMTAR], [tar])
962 AC_SUBST([AMTAR], ['$${TAR-tar}'])
963 m4_if([$1], [v7], 882 m4_if([$1], [v7],
964 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 883 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
965 [m4_case([$1], [ustar],, [pax],, 884 [m4_case([$1], [ustar],, [pax],,
966 [m4_fatal([Unknown tar format])]) 885 [m4_fatal([Unknown tar format])])
967 AC_MSG_CHECKING([how to create a $1 tar archive]) 886 AC_MSG_CHECKING([how to create a $1 tar archive])
968 # Loop over all known methods to create a tar archive until one works. 887 # Loop over all known methods to create a tar archive until one works.
969 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 888 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'