Changeset 501 in kBuild for vendor/gnumake/current/aclocal.m4
- Timestamp:
- Sep 15, 2006 2:30:32 AM (18 years ago)
- File:
-
- 1 edited
-
vendor/gnumake/current/aclocal.m4 (modified) (28 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/aclocal.m4
r149 r501 1 # generated automatically by aclocal 1. 8.2-*- Autoconf -*-2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 4 # Free Software Foundation, Inc.1 # generated automatically by aclocal 1.9.6 -*- Autoconf -*- 2 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 4 # 2005 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, … … 12 12 # PARTICULAR PURPOSE. 13 13 14 # -*- Autoconf -*- 15 # Copyright (C) 2002, 2003 Free Software Foundation, Inc. 16 # Generated from amversion.in; do not edit by hand. 17 18 # This program is free software; you can redistribute it and/or modify 19 # it under the terms of the GNU General Public License as published by 20 # the Free Software Foundation; either version 2, or (at your option) 21 # any later version. 22 23 # This program is distributed in the hope that it will be useful, 24 # but WITHOUT ANY WARRANTY; without even the implied warranty of 25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 # GNU General Public License for more details. 27 28 # You should have received a copy of the GNU General Public License 29 # along with this program; if not, write to the Free Software 30 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 14 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. 15 # 16 # This file is free software; the Free Software Foundation 17 # gives unlimited permission to copy and/or distribute it, 18 # with or without modifications, as long as this notice is preserved. 31 19 32 20 # AM_AUTOMAKE_VERSION(VERSION) … … 34 22 # Automake X.Y traces this macro to ensure aclocal.m4 has been 35 23 # generated from the m4 files accompanying Automake X.Y. 36 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1. 8"])24 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) 37 25 38 26 # AM_SET_CURRENT_AUTOMAKE_VERSION … … 41 29 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 42 30 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 43 [AM_AUTOMAKE_VERSION([1.8.2])]) 44 45 # AM_AUX_DIR_EXPAND 46 47 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 48 49 # This program is free software; you can redistribute it and/or modify 50 # it under the terms of the GNU General Public License as published by 51 # the Free Software Foundation; either version 2, or (at your option) 52 # any later version. 53 54 # This program is distributed in the hope that it will be useful, 55 # but WITHOUT ANY WARRANTY; without even the implied warranty of 56 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 57 # GNU General Public License for more details. 58 59 # You should have received a copy of the GNU General Public License 60 # along with this program; if not, write to the Free Software 61 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 62 # 02111-1307, USA. 31 [AM_AUTOMAKE_VERSION([1.9.6])]) 32 33 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 34 35 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 36 # 37 # This file is free software; the Free Software Foundation 38 # gives unlimited permission to copy and/or distribute it, 39 # with or without modifications, as long as this notice is preserved. 63 40 64 41 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets … … 107 84 ]) 108 85 109 # AM_CONDITIONAL -*- Autoconf -*- 110 111 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 112 113 # This program is free software; you can redistribute it and/or modify 114 # it under the terms of the GNU General Public License as published by 115 # the Free Software Foundation; either version 2, or (at your option) 116 # any later version. 117 118 # This program is distributed in the hope that it will be useful, 119 # but WITHOUT ANY WARRANTY; without even the implied warranty of 120 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 121 # GNU General Public License for more details. 122 123 # You should have received a copy of the GNU General Public License 124 # along with this program; if not, write to the Free Software 125 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 126 # 02111-1307, USA. 127 128 # serial 6 86 # AM_CONDITIONAL -*- Autoconf -*- 87 88 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 89 # Free Software Foundation, Inc. 90 # 91 # This file is free software; the Free Software Foundation 92 # gives unlimited permission to copy and/or distribute it, 93 # with or without modifications, as long as this notice is preserved. 94 95 # serial 7 129 96 130 97 # AM_CONDITIONAL(NAME, SHELL-CONDITION) … … 146 113 AC_CONFIG_COMMANDS_PRE( 147 114 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 148 AC_MSG_ERROR([ conditional "$1" was never defined.149 Usually this means the macro was only invoked conditionally.] )115 AC_MSG_ERROR([[conditional "$1" was never defined. 116 Usually this means the macro was only invoked conditionally.]]) 150 117 fi])]) 151 118 152 # serial 6 -*- Autoconf -*- 153 154 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 119 120 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 155 121 # Free Software Foundation, Inc. 156 157 # This program is free software; you can redistribute it and/or modify 158 # it under the terms of the GNU General Public License as published by 159 # the Free Software Foundation; either version 2, or (at your option) 160 # any later version. 161 162 # This program is distributed in the hope that it will be useful, 163 # but WITHOUT ANY WARRANTY; without even the implied warranty of 164 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 165 # GNU General Public License for more details. 166 167 # You should have received a copy of the GNU General Public License 168 # along with this program; if not, write to the Free Software 169 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 170 # 02111-1307, USA. 171 122 # 123 # This file is free software; the Free Software Foundation 124 # gives unlimited permission to copy and/or distribute it, 125 # with or without modifications, as long as this notice is preserved. 126 127 # serial 8 172 128 173 129 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be … … 176 132 # C support machinery. Also note that it means that autoscan, seeing 177 133 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... 178 179 134 180 135 … … 237 192 for i in 1 2 3 4 5 6; do 238 193 echo '#include "conftst'$i'.h"' >> sub/conftest.c 239 : > sub/conftst$i.h 194 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 195 # Solaris 8's {/usr,}/bin/sh. 196 touch sub/conftst$i.h 240 197 done 241 198 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 265 222 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 266 223 # icc doesn't choke on unknown options, it will just issue warnings 267 # (even with -Werror). So we grep stderr for any message 268 # that says an option was ignored. 269 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 224 # or remarks (even with -Werror). So we grep stderr for any message 225 # that says an option was ignored or not supported. 226 # When given -MP, icc 7.0 and 7.1 complain thusly: 227 # icc: Command line warning: ignoring option '-M'; no argument required 228 # The diagnosis changed in icc 8.0: 229 # icc: Command line remark: option '-MP' not supported 230 if (grep 'ignoring option' conftest.err || 231 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 270 232 am_cv_$1_dependencies_compiler_type=$depmode 271 233 break … … 311 273 ]) 312 274 313 # Generate code to set up dependency tracking. -*- Autoconf -*- 314 315 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 316 317 # This program is free software; you can redistribute it and/or modify 318 # it under the terms of the GNU General Public License as published by 319 # the Free Software Foundation; either version 2, or (at your option) 320 # any later version. 321 322 # This program is distributed in the hope that it will be useful, 323 # but WITHOUT ANY WARRANTY; without even the implied warranty of 324 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 325 # GNU General Public License for more details. 326 327 # You should have received a copy of the GNU General Public License 328 # along with this program; if not, write to the Free Software 329 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 330 # 02111-1307, USA. 331 332 #serial 2 275 # Generate code to set up dependency tracking. -*- Autoconf -*- 276 277 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 278 # Free Software Foundation, Inc. 279 # 280 # This file is free software; the Free Software Foundation 281 # gives unlimited permission to copy and/or distribute it, 282 # with or without modifications, as long as this notice is preserved. 283 284 #serial 3 333 285 334 286 # _AM_OUTPUT_DEPENDENCY_COMMANDS … … 349 301 continue 350 302 fi 351 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue 352 # Extract the definition of DEP_FILES from the Makefile without 353 # running `make'. 354 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 303 # Extract the definition of DEPDIR, am__include, and am__quote 304 # from the Makefile without running `make'. 305 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 355 306 test -z "$DEPDIR" && continue 307 am__include=`sed -n 's/^am__include = //p' < "$mf"` 308 test -z "am__include" && continue 309 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 356 310 # When using ansi2knr, U may be empty or an underscore; expand it 357 U=`sed -n -e '/^U = / s///p' < "$mf"` 358 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 359 # We invoke sed twice because it is the simplest approach to 360 # changing $(DEPDIR) to its actual value in the expansion. 361 for file in `sed -n -e ' 362 /^DEP_FILES = .*\\\\$/ { 363 s/^DEP_FILES = // 364 :loop 365 s/\\\\$// 366 p 367 n 368 /\\\\$/ b loop 369 p 370 } 371 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 311 U=`sed -n 's/^U = //p' < "$mf"` 312 # Find all dependency output files, they are included files with 313 # $(DEPDIR) in their names. We invoke sed twice because it is the 314 # simplest approach to changing $(DEPDIR) to its actual value in the 315 # expansion. 316 for file in `sed -n " 317 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 372 318 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 373 319 # Make sure the directory exists. … … 396 342 397 343 398 # Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003 344 # Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2005 399 345 # Free Software Foundation, Inc. 400 401 # This program is free software; you can redistribute it and/or modify 402 # it under the terms of the GNU General Public License as published by 403 # the Free Software Foundation; either version 2, or (at your option) 404 # any later version. 405 406 # This program is distributed in the hope that it will be useful, 407 # but WITHOUT ANY WARRANTY; without even the implied warranty of 408 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 409 # GNU General Public License for more details. 410 411 # You should have received a copy of the GNU General Public License 412 # along with this program; if not, write to the Free Software 413 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 414 # 02111-1307, USA. 415 416 # serial 2 346 # 347 # This file is free software; the Free Software Foundation 348 # gives unlimited permission to copy and/or distribute it, 349 # with or without modifications, as long as this notice is preserved. 350 351 # serial 3 417 352 418 353 AC_DEFUN([AM_WITH_DMALLOC], … … 434 369 AU_DEFUN([fp_WITH_DMALLOC], [AM_WITH_DMALLOC]) 435 370 436 # Do all the work for Automake. -*- Autoconf -*- 437 438 # This macro actually does too much some checks are only needed if 371 # Do all the work for Automake. -*- Autoconf -*- 372 373 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 374 # Free Software Foundation, Inc. 375 # 376 # This file is free software; the Free Software Foundation 377 # gives unlimited permission to copy and/or distribute it, 378 # with or without modifications, as long as this notice is preserved. 379 380 # serial 12 381 382 # This macro actually does too much. Some checks are only needed if 439 383 # your package does certain things. But this isn't really a big deal. 440 441 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003442 # Free Software Foundation, Inc.443 444 # This program is free software; you can redistribute it and/or modify445 # it under the terms of the GNU General Public License as published by446 # the Free Software Foundation; either version 2, or (at your option)447 # any later version.448 449 # This program is distributed in the hope that it will be useful,450 # but WITHOUT ANY WARRANTY; without even the implied warranty of451 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the452 # GNU General Public License for more details.453 454 # You should have received a copy of the GNU General Public License455 # along with this program; if not, write to the Free Software456 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA457 # 02111-1307, USA.458 459 # serial 11460 384 461 385 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) … … 515 439 AM_MISSING_PROG(AUTOHEADER, autoheader) 516 440 AM_MISSING_PROG(MAKEINFO, makeinfo) 517 AM_MISSING_PROG(AMTAR, tar)518 441 AM_PROG_INSTALL_SH 519 442 AM_PROG_INSTALL_STRIP … … 524 447 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 525 448 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 526 449 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 450 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 451 [_AM_PROG_TAR([v7])])]) 527 452 _AM_IF_OPTION([no-dependencies],, 528 453 [AC_PROVIDE_IFELSE([AC_PROG_CC], … … 558 483 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 559 484 485 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 486 # 487 # This file is free software; the Free Software Foundation 488 # gives unlimited permission to copy and/or distribute it, 489 # with or without modifications, as long as this notice is preserved. 490 560 491 # AM_PROG_INSTALL_SH 561 492 # ------------------ 562 493 # Define $install_sh. 563 564 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.565 566 # This program is free software; you can redistribute it and/or modify567 # it under the terms of the GNU General Public License as published by568 # the Free Software Foundation; either version 2, or (at your option)569 # any later version.570 571 # This program is distributed in the hope that it will be useful,572 # but WITHOUT ANY WARRANTY; without even the implied warranty of573 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the574 # GNU General Public License for more details.575 576 # You should have received a copy of the GNU General Public License577 # along with this program; if not, write to the Free Software578 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA579 # 02111-1307, USA.580 581 494 AC_DEFUN([AM_PROG_INSTALL_SH], 582 495 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl … … 584 497 AC_SUBST(install_sh)]) 585 498 586 # -*- Autoconf -*- 587 # Copyright (C) 2003 Free Software Foundation, Inc. 588 589 # This program is free software; you can redistribute it and/or modify 590 # it under the terms of the GNU General Public License as published by 591 # the Free Software Foundation; either version 2, or (at your option) 592 # any later version. 593 594 # This program is distributed in the hope that it will be useful, 595 # but WITHOUT ANY WARRANTY; without even the implied warranty of 596 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 597 # GNU General Public License for more details. 598 599 # You should have received a copy of the GNU General Public License 600 # along with this program; if not, write to the Free Software 601 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 602 # 02111-1307, USA. 603 604 # serial 1 499 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. 500 # 501 # This file is free software; the Free Software Foundation 502 # gives unlimited permission to copy and/or distribute it, 503 # with or without modifications, as long as this notice is preserved. 504 505 # serial 2 605 506 606 507 # Check whether the underlying file-system supports filenames … … 617 518 AC_SUBST([am__leading_dot])]) 618 519 619 # Check to see how 'make' treats includes. -*- Autoconf -*- 620 621 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 622 623 # This program is free software; you can redistribute it and/or modify 624 # it under the terms of the GNU General Public License as published by 625 # the Free Software Foundation; either version 2, or (at your option) 626 # any later version. 627 628 # This program is distributed in the hope that it will be useful, 629 # but WITHOUT ANY WARRANTY; without even the implied warranty of 630 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 631 # GNU General Public License for more details. 632 633 # You should have received a copy of the GNU General Public License 634 # along with this program; if not, write to the Free Software 635 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 636 # 02111-1307, USA. 637 638 # serial 2 520 # Check to see how 'make' treats includes. -*- Autoconf -*- 521 522 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 523 # 524 # This file is free software; the Free Software Foundation 525 # gives unlimited permission to copy and/or distribute it, 526 # with or without modifications, as long as this notice is preserved. 527 528 # serial 3 639 529 640 530 # AM_MAKE_INCLUDE() … … 680 570 ]) 681 571 682 # serial 2 572 # Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. 573 # 574 # This file is free software; the Free Software Foundation 575 # gives unlimited permission to copy and/or distribute it, 576 # with or without modifications, as long as this notice is preserved. 577 578 # serial 3 683 579 684 580 # AM_PROG_CC_C_O 685 581 # -------------- 686 582 # Like AC_PROG_CC_C_O, but changed for automake. 687 688 # Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc.689 690 # This program is free software; you can redistribute it and/or modify691 # it under the terms of the GNU General Public License as published by692 # the Free Software Foundation; either version 2, or (at your option)693 # any later version.694 695 # This program is distributed in the hope that it will be useful,696 # but WITHOUT ANY WARRANTY; without even the implied warranty of697 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the698 # GNU General Public License for more details.699 700 # You should have received a copy of the GNU General Public License701 # along with this program; if not, write to the Free Software702 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA703 # 02111-1307, USA.704 705 583 AC_DEFUN([AM_PROG_CC_C_O], 706 584 [AC_REQUIRE([AC_PROG_CC_C_O])dnl … … 720 598 ]) 721 599 722 # -*- Autoconf -*- 723 724 725 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. 726 727 # This program is free software; you can redistribute it and/or modify 728 # it under the terms of the GNU General Public License as published by 729 # the Free Software Foundation; either version 2, or (at your option) 730 # any later version. 731 732 # This program is distributed in the hope that it will be useful, 733 # but WITHOUT ANY WARRANTY; without even the implied warranty of 734 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 735 # GNU General Public License for more details. 736 737 # You should have received a copy of the GNU General Public License 738 # along with this program; if not, write to the Free Software 739 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 740 # 02111-1307, USA. 741 742 # serial 3 600 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 601 602 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 603 # Free Software Foundation, Inc. 604 # 605 # This file is free software; the Free Software Foundation 606 # gives unlimited permission to copy and/or distribute it, 607 # with or without modifications, as long as this notice is preserved. 608 609 # serial 4 743 610 744 611 # AM_MISSING_PROG(NAME, PROGRAM) … … 766 633 ]) 767 634 635 # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. 636 # 637 # This file is free software; the Free Software Foundation 638 # gives unlimited permission to copy and/or distribute it, 639 # with or without modifications, as long as this notice is preserved. 640 768 641 # AM_PROG_MKDIR_P 769 642 # --------------- 770 643 # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. 771 772 # Copyright (C) 2003, 2004 Free Software Foundation, Inc. 773 774 # This program is free software; you can redistribute it and/or modify 775 # it under the terms of the GNU General Public License as published by 776 # the Free Software Foundation; either version 2, or (at your option) 777 # any later version. 778 779 # This program is distributed in the hope that it will be useful, 780 # but WITHOUT ANY WARRANTY; without even the implied warranty of 781 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 782 # GNU General Public License for more details. 783 784 # You should have received a copy of the GNU General Public License 785 # along with this program; if not, write to the Free Software 786 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 787 # 02111-1307, USA. 788 644 # 789 645 # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories 790 646 # created by `make install' are always world readable, even if the … … 797 653 # Do not use -m 0755 and let people choose whatever they expect by 798 654 # setting umask. 655 # 656 # We cannot accept any implementation of `mkdir' that recognizes `-p'. 657 # Some implementations (such as Solaris 8's) are not thread-safe: if a 658 # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' 659 # concurrently, both version can detect that a/ is missing, but only 660 # one can create it and the other will error out. Consequently we 661 # restrict ourselves to GNU make (using the --version option ensures 662 # this.) 799 663 AC_DEFUN([AM_PROG_MKDIR_P], 800 [if mkdir -p -- . 2>/dev/null; then801 # Keeping the `.' argument allows $(mkdir_p) to be used without802 # a rgument. Indeed, we sometimes output rules like664 [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 665 # We used to keeping the `.' as first argument, in order to 666 # allow $(mkdir_p) to be used without argument. As in 803 667 # $(mkdir_p) $(somedir) 804 # where $(somedir) is conditionally defined. 805 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 806 # expensive solution, as it forces Make to start a sub-shell.) 807 mkdir_p='mkdir -p -- .' 668 # where $(somedir) is conditionally defined. However this is wrong 669 # for two reasons: 670 # 1. if the package is installed by a user who cannot write `.' 671 # make install will fail, 672 # 2. the above comment should most certainly read 673 # $(mkdir_p) $(DESTDIR)$(somedir) 674 # so it does not work when $(somedir) is undefined and 675 # $(DESTDIR) is not. 676 # To support the latter case, we have to write 677 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 678 # so the `.' trick is pointless. 679 mkdir_p='mkdir -p --' 808 680 else 809 681 # On NextStep and OpenStep, the `mkdir' command does not … … 811 683 # directories to create, and then abort because `.' already 812 684 # exists. 813 for d in ./-p ./-- ;685 for d in ./-p ./--version; 814 686 do 815 687 test -d $d && rmdir $d … … 824 696 AC_SUBST([mkdir_p])]) 825 697 826 # Helper functions for option handling. -*- Autoconf -*- 827 828 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. 829 830 # This program is free software; you can redistribute it and/or modify 831 # it under the terms of the GNU General Public License as published by 832 # the Free Software Foundation; either version 2, or (at your option) 833 # any later version. 834 835 # This program is distributed in the hope that it will be useful, 836 # but WITHOUT ANY WARRANTY; without even the implied warranty of 837 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 838 # GNU General Public License for more details. 839 840 # You should have received a copy of the GNU General Public License 841 # along with this program; if not, write to the Free Software 842 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 843 # 02111-1307, USA. 844 845 # serial 2 698 # Helper functions for option handling. -*- Autoconf -*- 699 700 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 701 # 702 # This file is free software; the Free Software Foundation 703 # gives unlimited permission to copy and/or distribute it, 704 # with or without modifications, as long as this notice is preserved. 705 706 # serial 3 846 707 847 708 # _AM_MANGLE_OPTION(NAME) … … 868 729 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 869 730 870 871 # Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003 731 # Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005 872 732 # Free Software Foundation, Inc. 873 874 # This program is free software; you can redistribute it and/or modify 875 # it under the terms of the GNU General Public License as published by 876 # the Free Software Foundation; either version 2, or (at your option) 877 # any later version. 878 879 # This program is distributed in the hope that it will be useful, 880 # but WITHOUT ANY WARRANTY; without even the implied warranty of 881 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 882 # GNU General Public License for more details. 883 884 # You should have received a copy of the GNU General Public License 885 # along with this program; if not, write to the Free Software 886 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 887 # 02111-1307, USA. 888 889 # serial 3 733 # 734 # This file is free software; the Free Software Foundation 735 # gives unlimited permission to copy and/or distribute it, 736 # with or without modifications, as long as this notice is preserved. 737 738 # serial 4 890 739 891 740 AC_DEFUN([AM_C_PROTOTYPES], … … 905 754 AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) 906 755 907 # 908 # Check to make sure that the build environment is sane. 909 # 910 911 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. 912 913 # This program is free software; you can redistribute it and/or modify 914 # it under the terms of the GNU General Public License as published by 915 # the Free Software Foundation; either version 2, or (at your option) 916 # any later version. 917 918 # This program is distributed in the hope that it will be useful, 919 # but WITHOUT ANY WARRANTY; without even the implied warranty of 920 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 921 # GNU General Public License for more details. 922 923 # You should have received a copy of the GNU General Public License 924 # along with this program; if not, write to the Free Software 925 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 926 # 02111-1307, USA. 927 928 # serial 3 756 # Check to make sure that the build environment is sane. -*- Autoconf -*- 757 758 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 759 # Free Software Foundation, Inc. 760 # 761 # This file is free software; the Free Software Foundation 762 # gives unlimited permission to copy and/or distribute it, 763 # with or without modifications, as long as this notice is preserved. 764 765 # serial 4 929 766 930 767 # AM_SANITY_CHECK … … 969 806 AC_MSG_RESULT(yes)]) 970 807 808 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 809 # 810 # This file is free software; the Free Software Foundation 811 # gives unlimited permission to copy and/or distribute it, 812 # with or without modifications, as long as this notice is preserved. 813 971 814 # AM_PROG_INSTALL_STRIP 972 973 # Copyright (C) 2001, 2003 Free Software Foundation, Inc. 974 975 # This program is free software; you can redistribute it and/or modify 976 # it under the terms of the GNU General Public License as published by 977 # the Free Software Foundation; either version 2, or (at your option) 978 # any later version. 979 980 # This program is distributed in the hope that it will be useful, 981 # but WITHOUT ANY WARRANTY; without even the implied warranty of 982 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 983 # GNU General Public License for more details. 984 985 # You should have received a copy of the GNU General Public License 986 # along with this program; if not, write to the Free Software 987 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 988 # 02111-1307, USA. 989 815 # --------------------- 990 816 # One issue with vendor `install' (even GNU) is that you can't 991 817 # specify the program used to strip binaries. This is especially … … 1008 834 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1009 835 836 # Check how to create a tarball. -*- Autoconf -*- 837 838 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. 839 # 840 # This file is free software; the Free Software Foundation 841 # gives unlimited permission to copy and/or distribute it, 842 # with or without modifications, as long as this notice is preserved. 843 844 # serial 2 845 846 # _AM_PROG_TAR(FORMAT) 847 # -------------------- 848 # Check how to create a tarball in format FORMAT. 849 # FORMAT should be one of `v7', `ustar', or `pax'. 850 # 851 # Substitute a variable $(am__tar) that is a command 852 # writing to stdout a FORMAT-tarball containing the directory 853 # $tardir. 854 # tardir=directory && $(am__tar) > result.tar 855 # 856 # Substitute a variable $(am__untar) that extract such 857 # a tarball read from stdin. 858 # $(am__untar) < result.tar 859 AC_DEFUN([_AM_PROG_TAR], 860 [# Always define AMTAR for backward compatibility. 861 AM_MISSING_PROG([AMTAR], [tar]) 862 m4_if([$1], [v7], 863 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], 864 [m4_case([$1], [ustar],, [pax],, 865 [m4_fatal([Unknown tar format])]) 866 AC_MSG_CHECKING([how to create a $1 tar archive]) 867 # Loop over all known methods to create a tar archive until one works. 868 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 869 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 870 # Do not fold the above two line into one, because Tru64 sh and 871 # Solaris sh will not grok spaces in the rhs of `-'. 872 for _am_tool in $_am_tools 873 do 874 case $_am_tool in 875 gnutar) 876 for _am_tar in tar gnutar gtar; 877 do 878 AM_RUN_LOG([$_am_tar --version]) && break 879 done 880 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 881 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 882 am__untar="$_am_tar -xf -" 883 ;; 884 plaintar) 885 # Must skip GNU tar: if it does not support --format= it doesn't create 886 # ustar tarball either. 887 (tar --version) >/dev/null 2>&1 && continue 888 am__tar='tar chf - "$$tardir"' 889 am__tar_='tar chf - "$tardir"' 890 am__untar='tar xf -' 891 ;; 892 pax) 893 am__tar='pax -L -x $1 -w "$$tardir"' 894 am__tar_='pax -L -x $1 -w "$tardir"' 895 am__untar='pax -r' 896 ;; 897 cpio) 898 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 899 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 900 am__untar='cpio -i -H $1 -d' 901 ;; 902 none) 903 am__tar=false 904 am__tar_=false 905 am__untar=false 906 ;; 907 esac 908 909 # If the value was cached, stop now. We just wanted to have am__tar 910 # and am__untar set. 911 test -n "${am_cv_prog_tar_$1}" && break 912 913 # tar/untar a dummy directory, and stop if the command works 914 rm -rf conftest.dir 915 mkdir conftest.dir 916 echo GrepMe > conftest.dir/file 917 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 918 rm -rf conftest.dir 919 if test -s conftest.tar; then 920 AM_RUN_LOG([$am__untar <conftest.tar]) 921 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 922 fi 923 done 924 rm -rf conftest.dir 925 926 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 927 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 928 AC_SUBST([am__tar]) 929 AC_SUBST([am__untar]) 930 ]) # _AM_PROG_TAR 931 1010 932 m4_include([config/dospaths.m4]) 1011 933 m4_include([config/gettext.m4])
Note:
See TracChangeset
for help on using the changeset viewer.

