comparison aclocal.m4 @ 20:dd5b333a7960

Regenerate Autotools files myself with Ron's patch
author Adam Chlipala <adam@chlipala.net>
date Sat, 23 Jun 2012 09:58:31 -0400
parents c3fe7f5e50b8
children
comparison
equal deleted inserted replaced
19:287a0e02f1a6 20:dd5b333a7960
1 # generated automatically by aclocal 1.11.1 -*- Autoconf -*- 1 # generated automatically by aclocal 1.11.5 -*- 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 Free Software Foundation, Inc. 4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5 # Inc.
5 # This file is free software; the Free Software Foundation 6 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it, 7 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved. 8 # with or without modifications, as long as this notice is preserved.
8 9
9 # This program is distributed in the hope that it will be useful, 10 # This program is distributed in the hope that it will be useful,
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE. 13 # PARTICULAR PURPOSE.
13 14
14 m4_ifndef([AC_AUTOCONF_VERSION], 15 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, 17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.68. 18 [m4_warning([this file was generated for autoconf 2.69.
18 You have another version of autoconf. It may work, but is not guaranteed to. 19 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely. 20 If you have problems, you may need to regenerate the build system entirely.
20 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'.])])
21 22
22 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 23 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
23 # 24 # Foundation, Inc.
24 # This file is free software; the Free Software Foundation 25 #
25 # gives unlimited permission to copy and/or distribute it, 26 # This file is free software; the Free Software Foundation
26 # with or without modifications, as long as this notice is preserved. 27 # gives unlimited permission to copy and/or distribute it,
28 # with or without modifications, as long as this notice is preserved.
29
30 # serial 1
27 31
28 # AM_AUTOMAKE_VERSION(VERSION) 32 # AM_AUTOMAKE_VERSION(VERSION)
29 # ---------------------------- 33 # ----------------------------
30 # Automake X.Y traces this macro to ensure aclocal.m4 has been 34 # Automake X.Y traces this macro to ensure aclocal.m4 has been
31 # generated from the m4 files accompanying Automake X.Y. 35 # generated from the m4 files accompanying Automake X.Y.
32 # (This private macro should not be called outside this file.) 36 # (This private macro should not be called outside this file.)
33 AC_DEFUN([AM_AUTOMAKE_VERSION], 37 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.11' 38 [am__api_version='1.11'
35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 39 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 dnl require some minimum version. Point them to the right macro. 40 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.11.1], [], 41 m4_if([$1], [1.11.5], [],
38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 42 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 ]) 43 ])
40 44
41 # _AM_AUTOCONF_VERSION(VERSION) 45 # _AM_AUTOCONF_VERSION(VERSION)
42 # ----------------------------- 46 # -----------------------------
48 # AM_SET_CURRENT_AUTOMAKE_VERSION 52 # AM_SET_CURRENT_AUTOMAKE_VERSION
49 # ------------------------------- 53 # -------------------------------
50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 54 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. 55 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 56 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.11.1])dnl 57 [AM_AUTOMAKE_VERSION([1.11.5])dnl
54 m4_ifndef([AC_AUTOCONF_VERSION], 58 m4_ifndef([AC_AUTOCONF_VERSION],
55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 59 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 60 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57 61
58 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 62 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
59 63
60 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 64 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
61 # 65 #
62 # This file is free software; the Free Software Foundation 66 # This file is free software; the Free Software Foundation
63 # gives unlimited permission to copy and/or distribute it, 67 # gives unlimited permission to copy and/or distribute it,
64 # with or without modifications, as long as this notice is preserved. 68 # with or without modifications, as long as this notice is preserved.
69
70 # serial 1
65 71
66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 72 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to 73 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
68 # `$srcdir', `$srcdir/..', or `$srcdir/../..'. 74 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
69 # 75 #
142 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 148 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
143 AC_MSG_ERROR([[conditional "$1" was never defined. 149 AC_MSG_ERROR([[conditional "$1" was never defined.
144 Usually this means the macro was only invoked conditionally.]]) 150 Usually this means the macro was only invoked conditionally.]])
145 fi])]) 151 fi])])
146 152
147 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 153 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
148 # Free Software Foundation, Inc. 154 # 2010, 2011 Free Software Foundation, Inc.
149 # 155 #
150 # This file is free software; the Free Software Foundation 156 # This file is free software; the Free Software Foundation
151 # gives unlimited permission to copy and/or distribute it, 157 # gives unlimited permission to copy and/or distribute it,
152 # with or without modifications, as long as this notice is preserved. 158 # with or without modifications, as long as this notice is preserved.
153 159
154 # serial 10 160 # serial 12
155 161
156 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 162 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
157 # written in clear, in which case automake, when reading aclocal.m4, 163 # written in clear, in which case automake, when reading aclocal.m4,
158 # will think it sees a *use*, and therefore will trigger all it's 164 # will think it sees a *use*, and therefore will trigger all it's
159 # C support machinery. Also note that it means that autoscan, seeing 165 # C support machinery. Also note that it means that autoscan, seeing
189 # We make a subdir and do the tests there. Otherwise we can end up 195 # We make a subdir and do the tests there. Otherwise we can end up
190 # making bogus files that we don't know about and never remove. For 196 # making bogus files that we don't know about and never remove. For
191 # instance it was reported that on HP-UX the gcc test will end up 197 # instance it was reported that on HP-UX the gcc test will end up
192 # making a dummy file named `D' -- because `-MD' means `put the output 198 # making a dummy file named `D' -- because `-MD' means `put the output
193 # in D'. 199 # in D'.
200 rm -rf conftest.dir
194 mkdir conftest.dir 201 mkdir conftest.dir
195 # Copy depcomp to subdir because otherwise we won't find it if we're 202 # Copy depcomp to subdir because otherwise we won't find it if we're
196 # using a relative directory. 203 # using a relative directory.
197 cp "$am_depcomp" conftest.dir 204 cp "$am_depcomp" conftest.dir
198 cd conftest.dir 205 cd conftest.dir
253 continue 260 continue
254 else 261 else
255 break 262 break
256 fi 263 fi
257 ;; 264 ;;
258 msvisualcpp | msvcmsys) 265 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
259 # This compiler won't grok `-c -o', but also, the minuso test has 266 # This compiler won't grok `-c -o', but also, the minuso test has
260 # not run yet. These depmodes are late enough in the game, and 267 # not run yet. These depmodes are late enough in the game, and
261 # so weak that their functioning should not be impacted. 268 # so weak that their functioning should not be impacted.
262 am__obj=conftest.${OBJEXT-o} 269 am__obj=conftest.${OBJEXT-o}
263 am__minus_obj= 270 am__minus_obj=
318 [ --disable-dependency-tracking speeds up one-time build 325 [ --disable-dependency-tracking speeds up one-time build
319 --enable-dependency-tracking do not reject slow dependency extractors]) 326 --enable-dependency-tracking do not reject slow dependency extractors])
320 if test "x$enable_dependency_tracking" != xno; then 327 if test "x$enable_dependency_tracking" != xno; then
321 am_depcomp="$ac_aux_dir/depcomp" 328 am_depcomp="$ac_aux_dir/depcomp"
322 AMDEPBACKSLASH='\' 329 AMDEPBACKSLASH='\'
330 am__nodep='_no'
323 fi 331 fi
324 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 332 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
325 AC_SUBST([AMDEPBACKSLASH])dnl 333 AC_SUBST([AMDEPBACKSLASH])dnl
326 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 334 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
335 AC_SUBST([am__nodep])dnl
336 _AM_SUBST_NOTMAKE([am__nodep])dnl
327 ]) 337 ])
328 338
329 # Generate code to set up dependency tracking. -*- Autoconf -*- 339 # Generate code to set up dependency tracking. -*- Autoconf -*-
330 340
331 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 341 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
543 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 553 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
544 esac 554 esac
545 done 555 done
546 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 556 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
547 557
548 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. 558 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
549 # 559 # Inc.
550 # This file is free software; the Free Software Foundation 560 #
551 # gives unlimited permission to copy and/or distribute it, 561 # This file is free software; the Free Software Foundation
552 # with or without modifications, as long as this notice is preserved. 562 # gives unlimited permission to copy and/or distribute it,
563 # with or without modifications, as long as this notice is preserved.
564
565 # serial 1
553 566
554 # AM_PROG_INSTALL_SH 567 # AM_PROG_INSTALL_SH
555 # ------------------ 568 # ------------------
556 # Define $install_sh. 569 # Define $install_sh.
557 AC_DEFUN([AM_PROG_INSTALL_SH], 570 AC_DEFUN([AM_PROG_INSTALL_SH],
680 am_missing_run= 693 am_missing_run=
681 AC_MSG_WARN([`missing' script is too old or missing]) 694 AC_MSG_WARN([`missing' script is too old or missing])
682 fi 695 fi
683 ]) 696 ])
684 697
685 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 698 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
686 # 699 # Inc.
687 # This file is free software; the Free Software Foundation 700 #
688 # gives unlimited permission to copy and/or distribute it, 701 # This file is free software; the Free Software Foundation
689 # with or without modifications, as long as this notice is preserved. 702 # gives unlimited permission to copy and/or distribute it,
703 # with or without modifications, as long as this notice is preserved.
704
705 # serial 1
690 706
691 # AM_PROG_MKDIR_P 707 # AM_PROG_MKDIR_P
692 # --------------- 708 # ---------------
693 # Check for `mkdir -p'. 709 # Check for `mkdir -p'.
694 AC_DEFUN([AM_PROG_MKDIR_P], 710 AC_DEFUN([AM_PROG_MKDIR_P],
708 esac 724 esac
709 ]) 725 ])
710 726
711 # Helper functions for option handling. -*- Autoconf -*- 727 # Helper functions for option handling. -*- Autoconf -*-
712 728
713 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. 729 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
714 # 730 # Foundation, Inc.
715 # This file is free software; the Free Software Foundation 731 #
716 # gives unlimited permission to copy and/or distribute it, 732 # This file is free software; the Free Software Foundation
717 # with or without modifications, as long as this notice is preserved. 733 # gives unlimited permission to copy and/or distribute it,
718 734 # with or without modifications, as long as this notice is preserved.
719 # serial 4 735
736 # serial 5
720 737
721 # _AM_MANGLE_OPTION(NAME) 738 # _AM_MANGLE_OPTION(NAME)
722 # ----------------------- 739 # -----------------------
723 AC_DEFUN([_AM_MANGLE_OPTION], 740 AC_DEFUN([_AM_MANGLE_OPTION],
724 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 741 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
725 742
726 # _AM_SET_OPTION(NAME) 743 # _AM_SET_OPTION(NAME)
727 # ------------------------------ 744 # --------------------
728 # Set option NAME. Presently that only means defining a flag for this option. 745 # Set option NAME. Presently that only means defining a flag for this option.
729 AC_DEFUN([_AM_SET_OPTION], 746 AC_DEFUN([_AM_SET_OPTION],
730 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 747 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
731 748
732 # _AM_SET_OPTIONS(OPTIONS) 749 # _AM_SET_OPTIONS(OPTIONS)
733 # ---------------------------------- 750 # ------------------------
734 # OPTIONS is a space-separated list of Automake options. 751 # OPTIONS is a space-separated list of Automake options.
735 AC_DEFUN([_AM_SET_OPTIONS], 752 AC_DEFUN([_AM_SET_OPTIONS],
736 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 753 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
737 754
738 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 755 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
804 AC_MSG_ERROR([newly created file is older than distributed files! 821 AC_MSG_ERROR([newly created file is older than distributed files!
805 Check your system clock]) 822 Check your system clock])
806 fi 823 fi
807 AC_MSG_RESULT(yes)]) 824 AC_MSG_RESULT(yes)])
808 825
809 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 826 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
810 # 827 #
811 # This file is free software; the Free Software Foundation 828 # This file is free software; the Free Software Foundation
812 # gives unlimited permission to copy and/or distribute it, 829 # gives unlimited permission to copy and/or distribute it,
813 # with or without modifications, as long as this notice is preserved. 830 # with or without modifications, as long as this notice is preserved.
831
832 # serial 1
814 833
815 # AM_PROG_INSTALL_STRIP 834 # AM_PROG_INSTALL_STRIP
816 # --------------------- 835 # ---------------------
817 # One issue with vendor `install' (even GNU) is that you can't 836 # One issue with vendor `install' (even GNU) is that you can't
818 # specify the program used to strip binaries. This is especially 837 # specify the program used to strip binaries. This is especially
832 AC_CHECK_TOOL([STRIP], [strip], :) 851 AC_CHECK_TOOL([STRIP], [strip], :)
833 fi 852 fi
834 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 853 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
835 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 854 AC_SUBST([INSTALL_STRIP_PROGRAM])])
836 855
837 # Copyright (C) 2006, 2008 Free Software Foundation, Inc. 856 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
838 # 857 #
839 # This file is free software; the Free Software Foundation 858 # This file is free software; the Free Software Foundation
840 # gives unlimited permission to copy and/or distribute it, 859 # gives unlimited permission to copy and/or distribute it,
841 # with or without modifications, as long as this notice is preserved. 860 # with or without modifications, as long as this notice is preserved.
842 861
843 # serial 2 862 # serial 3
844 863
845 # _AM_SUBST_NOTMAKE(VARIABLE) 864 # _AM_SUBST_NOTMAKE(VARIABLE)
846 # --------------------------- 865 # ---------------------------
847 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 866 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
848 # This macro is traced by Automake. 867 # This macro is traced by Automake.
849 AC_DEFUN([_AM_SUBST_NOTMAKE]) 868 AC_DEFUN([_AM_SUBST_NOTMAKE])
850 869
851 # AM_SUBST_NOTMAKE(VARIABLE) 870 # AM_SUBST_NOTMAKE(VARIABLE)
852 # --------------------------- 871 # --------------------------
853 # Public sister of _AM_SUBST_NOTMAKE. 872 # Public sister of _AM_SUBST_NOTMAKE.
854 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 873 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
855 874
856 # Check how to create a tarball. -*- Autoconf -*- 875 # Check how to create a tarball. -*- Autoconf -*-
857 876
858 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. 877 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
859 # 878 #
860 # This file is free software; the Free Software Foundation 879 # This file is free software; the Free Software Foundation
861 # gives unlimited permission to copy and/or distribute it, 880 # gives unlimited permission to copy and/or distribute it,
862 # with or without modifications, as long as this notice is preserved. 881 # with or without modifications, as long as this notice is preserved.
863 882
875 # 894 #
876 # Substitute a variable $(am__untar) that extract such 895 # Substitute a variable $(am__untar) that extract such
877 # a tarball read from stdin. 896 # a tarball read from stdin.
878 # $(am__untar) < result.tar 897 # $(am__untar) < result.tar
879 AC_DEFUN([_AM_PROG_TAR], 898 AC_DEFUN([_AM_PROG_TAR],
880 [# Always define AMTAR for backward compatibility. 899 [# Always define AMTAR for backward compatibility. Yes, it's still used
881 AM_MISSING_PROG([AMTAR], [tar]) 900 # in the wild :-( We should find a proper way to deprecate it ...
901 AC_SUBST([AMTAR], ['$${TAR-tar}'])
882 m4_if([$1], [v7], 902 m4_if([$1], [v7],
883 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], 903 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
884 [m4_case([$1], [ustar],, [pax],, 904 [m4_case([$1], [ustar],, [pax],,
885 [m4_fatal([Unknown tar format])]) 905 [m4_fatal([Unknown tar format])])
886 AC_MSG_CHECKING([how to create a $1 tar archive]) 906 AC_MSG_CHECKING([how to create a $1 tar archive])
887 # Loop over all known methods to create a tar archive until one works. 907 # Loop over all known methods to create a tar archive until one works.
888 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 908 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'