| |   |
| 1 | | # generated automatically by aclocal 1.9.6 -*- Autoconf -*- |
| 1 | # generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
| 2 | 2 | |
| 3 | 3 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | | # 2005 Free Software Foundation, Inc. |
| 4 | # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 5 | 5 | # This file is free software; the Free Software Foundation |
| 6 | 6 | # gives unlimited permission to copy and/or distribute it, |
| 7 | 7 | # with or without modifications, as long as this notice is preserved. |
| … | … | |
| 11 | 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 12 | 12 | # PARTICULAR PURPOSE. |
| 13 | 13 | |
| 14 | | # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. |
| 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
| 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 16 | m4_if(AC_AUTOCONF_VERSION, [2.61],, |
| 17 | [m4_warning([this file was generated for autoconf 2.61. |
| 18 | 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 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
| 21 | |
| 22 | # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. |
| 15 | 23 | # |
| 16 | 24 | # This file is free software; the Free Software Foundation |
| 17 | 25 | # gives unlimited permission to copy and/or distribute it, |
| … | … | |
| 29 | 29 | # ---------------------------- |
| 30 | 30 | # Automake X.Y traces this macro to ensure aclocal.m4 has been |
| 31 | 31 | # generated from the m4 files accompanying Automake X.Y. |
| 32 | | AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) |
| 32 | # (This private macro should not be called outside this file.) |
| 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
| 34 | [am__api_version='1.10' |
| 35 | 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. |
| 37 | m4_if([$1], [1.10.1], [], |
| 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
| 39 | ]) |
| 40 | |
| 41 | # _AM_AUTOCONF_VERSION(VERSION) |
| 42 | # ----------------------------- |
| 43 | # aclocal traces this macro to find the Autoconf version. |
| 44 | # This is a private macro too. Using m4_define simplifies |
| 45 | # the logic in aclocal, which can simply ignore this definition. |
| 46 | m4_define([_AM_AUTOCONF_VERSION], []) |
| 33 | 47 | |
| 34 | 48 | # AM_SET_CURRENT_AUTOMAKE_VERSION |
| 35 | 49 | # ------------------------------- |
| 36 | | # Call AM_AUTOMAKE_VERSION so it can be traced. |
| 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
| 37 | 51 | # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
| 38 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| 39 | | [AM_AUTOMAKE_VERSION([1.9.6])]) |
| 53 | [AM_AUTOMAKE_VERSION([1.10.1])dnl |
| 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
| 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 56 | _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) |
| 40 | 57 | |
| 41 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
| 42 | 59 | |
| … | … | |
| 110 | 110 | |
| 111 | 111 | # AM_CONDITIONAL -*- Autoconf -*- |
| 112 | 112 | |
| 113 | | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 |
| 113 | # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 |
| 114 | 114 | # Free Software Foundation, Inc. |
| 115 | 115 | # |
| 116 | 116 | # This file is free software; the Free Software Foundation |
| 117 | 117 | # gives unlimited permission to copy and/or distribute it, |
| 118 | 118 | # with or without modifications, as long as this notice is preserved. |
| 119 | 119 | |
| 120 | | # serial 7 |
| 120 | # serial 8 |
| 121 | 121 | |
| 122 | 122 | # AM_CONDITIONAL(NAME, SHELL-CONDITION) |
| 123 | 123 | # ------------------------------------- |
| … | … | |
| 126 | 126 | [AC_PREREQ(2.52)dnl |
| 127 | 127 | ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
| 128 | 128 | [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
| 129 | | AC_SUBST([$1_TRUE]) |
| 130 | | AC_SUBST([$1_FALSE]) |
| 129 | AC_SUBST([$1_TRUE])dnl |
| 130 | AC_SUBST([$1_FALSE])dnl |
| 131 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
| 132 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl |
| 131 | 133 | if $2; then |
| 132 | 134 | $1_TRUE= |
| 133 | 135 | $1_FALSE='#' |
| … | … | |
| 143 | 143 | Usually this means the macro was only invoked conditionally.]]) |
| 144 | 144 | fi])]) |
| 145 | 145 | |
| 146 | | |
| 147 | | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
| 146 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
| 148 | 147 | # Free Software Foundation, Inc. |
| 149 | 148 | # |
| 150 | 149 | # This file is free software; the Free Software Foundation |
| 151 | 150 | # gives unlimited permission to copy and/or distribute it, |
| 152 | 151 | # with or without modifications, as long as this notice is preserved. |
| 153 | 152 | |
| 154 | | # serial 8 |
| 153 | # serial 9 |
| 155 | 154 | |
| 156 | 155 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
| 157 | 156 | # written in clear, in which case automake, when reading aclocal.m4, |
| … | … | |
| 178 | 178 | ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
| 179 | 179 | [$1], CXX, [depcc="$CXX" am_compiler_list=], |
| 180 | 180 | [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
| 181 | [$1], UPC, [depcc="$UPC" am_compiler_list=], |
| 181 | 182 | [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
| 182 | 183 | [depcc="$$1" am_compiler_list=]) |
| 183 | 184 | |
| … | … | |
| 244 | 244 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 245 | 245 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| 246 | 246 | >/dev/null 2>conftest.err && |
| 247 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| 247 | 248 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 248 | 249 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 249 | 250 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| … | … | |
| 297 | 297 | AMDEPBACKSLASH='\' |
| 298 | 298 | fi |
| 299 | 299 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
| 300 | | AC_SUBST([AMDEPBACKSLASH]) |
| 300 | AC_SUBST([AMDEPBACKSLASH])dnl |
| 301 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| 301 | 302 | ]) |
| 302 | 303 | |
| 303 | 304 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
| … | … | |
| 323 | 323 | # some people rename them; so instead we look at the file content. |
| 324 | 324 | # Grep'ing the first line is not enough: some people post-process |
| 325 | 325 | # each Makefile.in and add a new line on top of each file to say so. |
| 326 | | # So let's grep whole file. |
| 327 | | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
| 326 | # Grep'ing the whole file is not good either: AIX grep has a line |
| 327 | # limit of 2048, but all sed's we know have understand at least 4000. |
| 328 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 328 | 329 | dirpart=`AS_DIRNAME("$mf")` |
| 329 | 330 | else |
| 330 | 331 | continue |
| … | … | |
| 372 | 372 | |
| 373 | 373 | # Do all the work for Automake. -*- Autoconf -*- |
| 374 | 374 | |
| 375 | | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
| 376 | | # Free Software Foundation, Inc. |
| 375 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 376 | # 2005, 2006, 2008 Free Software Foundation, Inc. |
| 377 | 377 | # |
| 378 | 378 | # This file is free software; the Free Software Foundation |
| 379 | 379 | # gives unlimited permission to copy and/or distribute it, |
| 380 | 380 | # with or without modifications, as long as this notice is preserved. |
| 381 | 381 | |
| 382 | | # serial 12 |
| 382 | # serial 13 |
| 383 | 383 | |
| 384 | 384 | # This macro actually does too much. Some checks are only needed if |
| 385 | 385 | # your package does certain things. But this isn't really a big deal. |
| … | … | |
| 396 | 396 | # arguments mandatory, and then we can depend on a new Autoconf |
| 397 | 397 | # release and drop the old call support. |
| 398 | 398 | AC_DEFUN([AM_INIT_AUTOMAKE], |
| 399 | | [AC_PREREQ([2.58])dnl |
| 399 | [AC_PREREQ([2.60])dnl |
| 400 | 400 | dnl Autoconf wants to disallow AM_ names. We explicitly allow |
| 401 | 401 | dnl the ones we care about. |
| 402 | 402 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
| 403 | 403 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
| 404 | 404 | AC_REQUIRE([AC_PROG_INSTALL])dnl |
| 405 | | # test to see if srcdir already configured |
| 406 | | if test "`cd $srcdir && pwd`" != "`pwd`" && |
| 407 | | test -f $srcdir/config.status; then |
| 408 | | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
| 405 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 406 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 407 | # is not polluted with repeated "-I." |
| 408 | AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
| 409 | # test to see if srcdir already configured |
| 410 | if test -f $srcdir/config.status; then |
| 411 | AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
| 412 | fi |
| 409 | 413 | fi |
| 410 | 414 | |
| 411 | 415 | # test whether we have cygpath |
| … | … | |
| 429 | 429 | AC_SUBST([PACKAGE], [$1])dnl |
| 430 | 430 | AC_SUBST([VERSION], [$2])], |
| 431 | 431 | [_AM_SET_OPTIONS([$1])dnl |
| 432 | dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
| 433 | m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
| 434 | [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
| 432 | 435 | AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
| 433 | 436 | AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
| 434 | 437 | |
| … | … | |
| 467 | 467 | [_AM_DEPENDENCIES(CXX)], |
| 468 | 468 | [define([AC_PROG_CXX], |
| 469 | 469 | defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
| 470 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
| 471 | [_AM_DEPENDENCIES(OBJC)], |
| 472 | [define([AC_PROG_OBJC], |
| 473 | defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
| 470 | 474 | ]) |
| 471 | 475 | ]) |
| 472 | 476 | |
| … | … | |
| 484 | 484 | # our stamp files there. |
| 485 | 485 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| 486 | 486 | [# Compute $1's index in $config_headers. |
| 487 | _am_arg=$1 |
| 487 | 488 | _am_stamp_count=1 |
| 488 | 489 | for _am_header in $config_headers :; do |
| 489 | 490 | case $_am_header in |
| 490 | | $1 | $1:* ) |
| 491 | $_am_arg | $_am_arg:* ) |
| 491 | 492 | break ;; |
| 492 | 493 | * ) |
| 493 | 494 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 494 | 495 | esac |
| 495 | 496 | done |
| 496 | | echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
| 497 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
| 497 | 498 | |
| 498 | 499 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
| 499 | 500 | # |
| … | … | |
| 507 | 507 | # Define $install_sh. |
| 508 | 508 | AC_DEFUN([AM_PROG_INSTALL_SH], |
| 509 | 509 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 510 | | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
| 510 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
| 511 | 511 | AC_SUBST(install_sh)]) |
| 512 | 512 | |
| 513 | 513 | # Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
| … | … | |
| 614 | 614 | |
| 615 | 615 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
| 616 | 616 | |
| 617 | | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 |
| 617 | # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 |
| 618 | 618 | # Free Software Foundation, Inc. |
| 619 | 619 | # |
| 620 | 620 | # This file is free software; the Free Software Foundation |
| 621 | 621 | # gives unlimited permission to copy and/or distribute it, |
| 622 | 622 | # with or without modifications, as long as this notice is preserved. |
| 623 | 623 | |
| 624 | | # serial 4 |
| 624 | # serial 5 |
| 625 | 625 | |
| 626 | 626 | # AM_MISSING_PROG(NAME, PROGRAM) |
| 627 | 627 | # ------------------------------ |
| … | … | |
| 637 | 637 | # If it does, set am_missing_run to use it, otherwise, to nothing. |
| 638 | 638 | AC_DEFUN([AM_MISSING_HAS_RUN], |
| 639 | 639 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| 640 | AC_REQUIRE_AUX_FILE([missing])dnl |
| 640 | 641 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
| 641 | 642 | # Use eval to expand $SHELL |
| 642 | 643 | if eval "$MISSING --run true"; then |
| … | … | |
| 648 | 648 | fi |
| 649 | 649 | ]) |
| 650 | 650 | |
| 651 | | # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
| 651 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
| 652 | 652 | # |
| 653 | 653 | # This file is free software; the Free Software Foundation |
| 654 | 654 | # gives unlimited permission to copy and/or distribute it, |
| … | … | |
| 656 | 656 | |
| 657 | 657 | # AM_PROG_MKDIR_P |
| 658 | 658 | # --------------- |
| 659 | | # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. |
| 660 | | # |
| 661 | | # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories |
| 662 | | # created by `make install' are always world readable, even if the |
| 663 | | # installer happens to have an overly restrictive umask (e.g. 077). |
| 664 | | # This was a mistake. There are at least two reasons why we must not |
| 665 | | # use `-m 0755': |
| 666 | | # - it causes special bits like SGID to be ignored, |
| 667 | | # - it may be too restrictive (some setups expect 775 directories). |
| 668 | | # |
| 669 | | # Do not use -m 0755 and let people choose whatever they expect by |
| 670 | | # setting umask. |
| 671 | | # |
| 672 | | # We cannot accept any implementation of `mkdir' that recognizes `-p'. |
| 673 | | # Some implementations (such as Solaris 8's) are not thread-safe: if a |
| 674 | | # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' |
| 675 | | # concurrently, both version can detect that a/ is missing, but only |
| 676 | | # one can create it and the other will error out. Consequently we |
| 677 | | # restrict ourselves to GNU make (using the --version option ensures |
| 678 | | # this.) |
| 659 | # Check for `mkdir -p'. |
| 679 | 660 | AC_DEFUN([AM_PROG_MKDIR_P], |
| 680 | | [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
| 681 | | # We used to keeping the `.' as first argument, in order to |
| 682 | | # allow $(mkdir_p) to be used without argument. As in |
| 683 | | # $(mkdir_p) $(somedir) |
| 684 | | # where $(somedir) is conditionally defined. However this is wrong |
| 685 | | # for two reasons: |
| 686 | | # 1. if the package is installed by a user who cannot write `.' |
| 687 | | # make install will fail, |
| 688 | | # 2. the above comment should most certainly read |
| 689 | | # $(mkdir_p) $(DESTDIR)$(somedir) |
| 690 | | # so it does not work when $(somedir) is undefined and |
| 691 | | # $(DESTDIR) is not. |
| 692 | | # To support the latter case, we have to write |
| 693 | | # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
| 694 | | # so the `.' trick is pointless. |
| 695 | | mkdir_p='mkdir -p --' |
| 696 | | else |
| 697 | | # On NextStep and OpenStep, the `mkdir' command does not |
| 698 | | # recognize any option. It will interpret all options as |
| 699 | | # directories to create, and then abort because `.' already |
| 700 | | # exists. |
| 701 | | for d in ./-p ./--version; |
| 702 | | do |
| 703 | | test -d $d && rmdir $d |
| 704 | | done |
| 705 | | # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
| 706 | | if test -f "$ac_aux_dir/mkinstalldirs"; then |
| 707 | | mkdir_p='$(mkinstalldirs)' |
| 708 | | else |
| 709 | | mkdir_p='$(install_sh) -d' |
| 710 | | fi |
| 711 | | fi |
| 712 | | AC_SUBST([mkdir_p])]) |
| 661 | [AC_PREREQ([2.60])dnl |
| 662 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| 663 | dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
| 664 | dnl while keeping a definition of mkdir_p for backward compatibility. |
| 665 | dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
| 666 | dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
| 667 | dnl Makefile.ins that do not define MKDIR_P, so we do our own |
| 668 | dnl adjustment using top_builddir (which is defined more often than |
| 669 | dnl MKDIR_P). |
| 670 | AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
| 671 | case $mkdir_p in |
| 672 | [[\\/$]]* | ?:[[\\/]]*) ;; |
| 673 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
| 674 | esac |
| 675 | ]) |
| 713 | 676 | |
| 714 | 677 | # Helper functions for option handling. -*- Autoconf -*- |
| 715 | 678 | |
| … | … | |
| 784 | 784 | if test "$cross_compiling" != no; then |
| 785 | 785 | AC_CHECK_TOOL([STRIP], [strip], :) |
| 786 | 786 | fi |
| 787 | | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
| 787 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 788 | 788 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| 789 | 789 | |
| 790 | # Copyright (C) 2006 Free Software Foundation, Inc. |
| 791 | # |
| 792 | # This file is free software; the Free Software Foundation |
| 793 | # gives unlimited permission to copy and/or distribute it, |
| 794 | # with or without modifications, as long as this notice is preserved. |
| 795 | |
| 796 | # _AM_SUBST_NOTMAKE(VARIABLE) |
| 797 | # --------------------------- |
| 798 | # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
| 799 | # This macro is traced by Automake. |
| 800 | AC_DEFUN([_AM_SUBST_NOTMAKE]) |
| 801 | |
| 790 | 802 | # Check how to create a tarball. -*- Autoconf -*- |
| 791 | 803 | |
| 792 | 804 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
| … | … | |
| 895 | 895 | AC_SUBST([am__untar]) |
| 896 | 896 | ]) # _AM_PROG_TAR |
| 897 | 897 | |
| 898 | | m4_include([gnulib/m4/extensions.m4]) |
| 899 | | m4_include([gnulib/m4/gnulib-common.m4]) |
| 900 | | m4_include([gnulib/m4/gnulib-comp.m4]) |
| 901 | | m4_include([gnulib/m4/include_next.m4]) |
| 902 | | m4_include([gnulib/m4/longlong.m4]) |
| 903 | | m4_include([gnulib/m4/memchr.m4]) |
| 904 | | m4_include([gnulib/m4/memcmp.m4]) |
| 905 | | m4_include([gnulib/m4/memmem.m4]) |
| 906 | | m4_include([gnulib/m4/onceonly_2_57.m4]) |
| 907 | | m4_include([gnulib/m4/stdint.m4]) |
| 908 | | m4_include([gnulib/m4/string_h.m4]) |
| 909 | | m4_include([gnulib/m4/wchar.m4]) |
| 910 | 898 | m4_include([acinclude.m4]) |
| toggle raw diff |
--- a/gdb/aclocal.m4
+++ b/gdb/aclocal.m4
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005 Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -11,7 +11,15 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
-# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(AC_AUTOCONF_VERSION, [2.61],,
+[m4_warning([this file was generated for autoconf 2.61.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
+
+# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -21,14 +29,31 @@
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.10'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.10.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
-# Call AM_AUTOMAKE_VERSION so it can be traced.
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.9.6])])
+[AM_AUTOMAKE_VERSION([1.10.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
@@ -85,14 +110,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
# AM_CONDITIONAL -*- Autoconf -*-
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 7
+# serial 8
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
@@ -101,8 +126,10 @@ AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ(2.52)dnl
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])
-AC_SUBST([$1_FALSE])
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
if $2; then
$1_TRUE=
$1_FALSE='#'
@@ -116,15 +143,14 @@ AC_CONFIG_COMMANDS_PRE(
Usually this means the macro was only invoked conditionally.]])
fi])])
-
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 8
+# serial 9
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
@@ -152,6 +178,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
@@ -217,6 +244,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
>/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
@@ -269,7 +297,8 @@ if test "x$enable_dependency_tracking" != xno; then
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
])
# Generate code to set up dependency tracking. -*- Autoconf -*-
@@ -294,8 +323,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
@@ -342,14 +372,14 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# Do all the work for Automake. -*- Autoconf -*-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 12
+# serial 13
# This macro actually does too much. Some checks are only needed if
# your package does certain things. But this isn't really a big deal.
@@ -366,16 +396,20 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.58])dnl
+[AC_PREREQ([2.60])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
-# test to see if srcdir already configured
-if test "`cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
fi
# test whether we have cygpath
@@ -395,6 +429,9 @@ m4_ifval([$2],
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
@@ -430,6 +467,10 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_CXX],
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES(OBJC)],
+ [define([AC_PROG_OBJC],
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
])
@@ -443,16 +484,17 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX],
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
+_am_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
case $_am_header in
- $1 | $1:* )
+ $_am_arg | $_am_arg:* )
break ;;
* )
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
esac
done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
#
@@ -465,7 +507,7 @@ echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"$am_aux_dir/install-sh"}
+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
@@ -572,14 +614,14 @@ rm -f confinc confmf
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 4
+# serial 5
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
@@ -595,6 +637,7 @@ AC_SUBST($1)])
# If it does, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
if eval "$MISSING --run true"; then
@@ -605,7 +648,7 @@ else
fi
])
-# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -613,60 +656,23 @@ fi
# AM_PROG_MKDIR_P
# ---------------
-# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
-#
-# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
-# created by `make install' are always world readable, even if the
-# installer happens to have an overly restrictive umask (e.g. 077).
-# This was a mistake. There are at least two reasons why we must not
-# use `-m 0755':
-# - it causes special bits like SGID to be ignored,
-# - it may be too restrictive (some setups expect 775 directories).
-#
-# Do not use -m 0755 and let people choose whatever they expect by
-# setting umask.
-#
-# We cannot acc |