Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5475 in orxonox.OLD for trunk/aclocal.m4


Ignore:
Timestamp:
Nov 3, 2005, 2:24:13 PM (20 years ago)
Author:
bensch
Message:

default of shoot is now on Button-left

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r5463 r5475  
    1 # generated automatically by aclocal 1.8.5 -*- 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.5 -*- Autoconf -*-
     2
     3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
     4# 2005  Free Software Foundation, Inc.
    55# This file is free software; the Free Software Foundation
    66# gives unlimited permission to copy and/or distribute it,
     
    1212# PARTICULAR PURPOSE.
    1313
    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.
    3119
    3220# AM_AUTOMAKE_VERSION(VERSION)
     
    3422# Automake X.Y traces this macro to ensure aclocal.m4 has been
    3523# generated from the m4 files accompanying Automake X.Y.
    36 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
     24AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
    3725
    3826# AM_SET_CURRENT_AUTOMAKE_VERSION
     
    4129# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
    4230AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    43          [AM_AUTOMAKE_VERSION([1.8.5])])
    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.5])])
     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.
    6340
    6441# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
     
    10784])
    10885
    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
    12996
    13097# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     
    146113AC_CONFIG_COMMANDS_PRE(
    147114[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.
     116Usually this means the macro was only invoked conditionally.]])
    150117fi])])
    151118
    152 # serial 7                                              -*- Autoconf -*-
    153 
    154 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
     119
     120# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
    155121# 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
    172128
    173129# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     
    176132# C support machinery.  Also note that it means that autoscan, seeing
    177133# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
    178 
    179134
    180135
     
    318273])
    319274
    320 # Generate code to set up dependency tracking.   -*- Autoconf -*-
    321 
    322 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
    323 
    324 # This program is free software; you can redistribute it and/or modify
    325 # it under the terms of the GNU General Public License as published by
    326 # the Free Software Foundation; either version 2, or (at your option)
    327 # any later version.
    328 
    329 # This program is distributed in the hope that it will be useful,
    330 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    331 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    332 # GNU General Public License for more details.
    333 
    334 # You should have received a copy of the GNU General Public License
    335 # along with this program; if not, write to the Free Software
    336 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    337 # 02111-1307, USA.
    338 
    339 #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
    340285
    341286# _AM_OUTPUT_DEPENDENCY_COMMANDS
     
    356301    continue
    357302  fi
    358   grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
    359   # Extract the definition of DEP_FILES from the Makefile without
    360   # running `make'.
     303  # Extract the definition of DEPDIR, am__include, and am__quote
     304  # from the Makefile without running `make'.
    361305  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    362306  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"`
    363310  # When using ansi2knr, U may be empty or an underscore; expand it
    364311  U=`sed -n 's/^U = //p' < "$mf"`
    365   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    366   # We invoke sed twice because it is the simplest approach to
    367   # changing $(DEPDIR) to its actual value in the expansion.
    368   for file in `sed -n '
    369     /^DEP_FILES = .*\\\\$/ {
    370       s/^DEP_FILES = //
    371       :loop
    372         s/\\\\$//
    373         p
    374         n
    375         /\\\\$/ b loop
    376       p
    377     }
    378     /^DEP_FILES = / s/^DEP_FILES = //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" | \
    379318       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
    380319    # Make sure the directory exists.
     
    402341])
    403342
    404 # Do all the work for Automake.                            -*- Autoconf -*-
    405 
    406 # This macro actually does too much some checks are only needed if
     343# Do all the work for Automake.                             -*- Autoconf -*-
     344
     345# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
     346# Free Software Foundation, Inc.
     347#
     348# This file is free software; the Free Software Foundation
     349# gives unlimited permission to copy and/or distribute it,
     350# with or without modifications, as long as this notice is preserved.
     351
     352# serial 12
     353
     354# This macro actually does too much.  Some checks are only needed if
    407355# your package does certain things.  But this isn't really a big deal.
    408 
    409 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    410 # Free Software Foundation, Inc.
    411 
    412 # This program is free software; you can redistribute it and/or modify
    413 # it under the terms of the GNU General Public License as published by
    414 # the Free Software Foundation; either version 2, or (at your option)
    415 # any later version.
    416 
    417 # This program is distributed in the hope that it will be useful,
    418 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    419 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    420 # GNU General Public License for more details.
    421 
    422 # You should have received a copy of the GNU General Public License
    423 # along with this program; if not, write to the Free Software
    424 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    425 # 02111-1307, USA.
    426 
    427 # serial 11
    428356
    429357# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     
    483411AM_MISSING_PROG(AUTOHEADER, autoheader)
    484412AM_MISSING_PROG(MAKEINFO, makeinfo)
    485 AM_MISSING_PROG(AMTAR, tar)
    486413AM_PROG_INSTALL_SH
    487414AM_PROG_INSTALL_STRIP
     
    492419AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    493420AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    494 
     421_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
     422              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
     423                             [_AM_PROG_TAR([v7])])])
    495424_AM_IF_OPTION([no-dependencies],,
    496425[AC_PROVIDE_IFELSE([AC_PROG_CC],
     
    526455echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
    527456
     457# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
     458#
     459# This file is free software; the Free Software Foundation
     460# gives unlimited permission to copy and/or distribute it,
     461# with or without modifications, as long as this notice is preserved.
     462
    528463# AM_PROG_INSTALL_SH
    529464# ------------------
    530465# Define $install_sh.
    531 
    532 # Copyright (C) 2001, 2003 Free Software Foundation, Inc.
    533 
    534 # This program is free software; you can redistribute it and/or modify
    535 # it under the terms of the GNU General Public License as published by
    536 # the Free Software Foundation; either version 2, or (at your option)
    537 # any later version.
    538 
    539 # This program is distributed in the hope that it will be useful,
    540 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    541 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    542 # GNU General Public License for more details.
    543 
    544 # You should have received a copy of the GNU General Public License
    545 # along with this program; if not, write to the Free Software
    546 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    547 # 02111-1307, USA.
    548 
    549466AC_DEFUN([AM_PROG_INSTALL_SH],
    550467[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     
    552469AC_SUBST(install_sh)])
    553470
    554 #                                                          -*- Autoconf -*-
    555 # Copyright (C) 2003  Free Software Foundation, Inc.
    556 
    557 # This program is free software; you can redistribute it and/or modify
    558 # it under the terms of the GNU General Public License as published by
    559 # the Free Software Foundation; either version 2, or (at your option)
    560 # any later version.
    561 
    562 # This program is distributed in the hope that it will be useful,
    563 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    564 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    565 # GNU General Public License for more details.
    566 
    567 # You should have received a copy of the GNU General Public License
    568 # along with this program; if not, write to the Free Software
    569 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    570 # 02111-1307, USA.
    571 
    572 # serial 1
     471# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
     472#
     473# This file is free software; the Free Software Foundation
     474# gives unlimited permission to copy and/or distribute it,
     475# with or without modifications, as long as this notice is preserved.
     476
     477# serial 2
    573478
    574479# Check whether the underlying file-system supports filenames
     
    585490AC_SUBST([am__leading_dot])])
    586491
    587 # Check to see how 'make' treats includes.      -*- Autoconf -*-
    588 
    589 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
    590 
    591 # This program is free software; you can redistribute it and/or modify
    592 # it under the terms of the GNU General Public License as published by
    593 # the Free Software Foundation; either version 2, or (at your option)
    594 # any later version.
    595 
    596 # This program is distributed in the hope that it will be useful,
    597 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    598 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    599 # GNU General Public License for more details.
    600 
    601 # You should have received a copy of the GNU General Public License
    602 # along with this program; if not, write to the Free Software
    603 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    604 # 02111-1307, USA.
    605 
    606 # serial 2
     492# Check to see how 'make' treats includes.                  -*- Autoconf -*-
     493
     494# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
     495#
     496# This file is free software; the Free Software Foundation
     497# gives unlimited permission to copy and/or distribute it,
     498# with or without modifications, as long as this notice is preserved.
     499
     500# serial 3
    607501
    608502# AM_MAKE_INCLUDE()
     
    648542])
    649543
    650 #  -*- Autoconf -*-
    651 
    652 
    653 # Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
    654 
    655 # This program is free software; you can redistribute it and/or modify
    656 # it under the terms of the GNU General Public License as published by
    657 # the Free Software Foundation; either version 2, or (at your option)
    658 # any later version.
    659 
    660 # This program is distributed in the hope that it will be useful,
    661 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    662 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    663 # GNU General Public License for more details.
    664 
    665 # You should have received a copy of the GNU General Public License
    666 # along with this program; if not, write to the Free Software
    667 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    668 # 02111-1307, USA.
    669 
    670 # serial 3
     544# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
     545
     546# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
     547# Free Software Foundation, Inc.
     548#
     549# This file is free software; the Free Software Foundation
     550# gives unlimited permission to copy and/or distribute it,
     551# with or without modifications, as long as this notice is preserved.
     552
     553# serial 4
    671554
    672555# AM_MISSING_PROG(NAME, PROGRAM)
     
    694577])
    695578
     579# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
     580#
     581# This file is free software; the Free Software Foundation
     582# gives unlimited permission to copy and/or distribute it,
     583# with or without modifications, as long as this notice is preserved.
     584
    696585# AM_PROG_MKDIR_P
    697586# ---------------
    698587# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
    699 
    700 # Copyright (C) 2003, 2004 Free Software Foundation, Inc.
    701 
    702 # This program is free software; you can redistribute it and/or modify
    703 # it under the terms of the GNU General Public License as published by
    704 # the Free Software Foundation; either version 2, or (at your option)
    705 # any later version.
    706 
    707 # This program is distributed in the hope that it will be useful,
    708 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    709 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    710 # GNU General Public License for more details.
    711 
    712 # You should have received a copy of the GNU General Public License
    713 # along with this program; if not, write to the Free Software
    714 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    715 # 02111-1307, USA.
    716 
     588#
    717589# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
    718590# created by `make install' are always world readable, even if the
     
    735607AC_DEFUN([AM_PROG_MKDIR_P],
    736608[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    737   # Keeping the `.' argument allows $(mkdir_p) to be used without
    738   # argument.  Indeed, we sometimes output rules like
     609  # We used to keeping the `.' as first argument, in order to
     610  # allow $(mkdir_p) to be used without argument.  As in
    739611  #   $(mkdir_p) $(somedir)
    740   # where $(somedir) is conditionally defined.
    741   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
    742   # expensive solution, as it forces Make to start a sub-shell.)
    743   mkdir_p='mkdir -p -- .'
     612  # where $(somedir) is conditionally defined.  However this is wrong
     613  # for two reasons:
     614  #  1. if the package is installed by a user who cannot write `.'
     615  #     make install will fail,
     616  #  2. the above comment should most certainly read
     617  #     $(mkdir_p) $(DESTDIR)$(somedir)
     618  #     so it does not work when $(somedir) is undefined and
     619  #     $(DESTDIR) is not.
     620  #  To support the latter case, we have to write
     621  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
     622  #  so the `.' trick is pointless.
     623  mkdir_p='mkdir -p --'
    744624else
    745625  # On NextStep and OpenStep, the `mkdir' command does not
     
    760640AC_SUBST([mkdir_p])])
    761641
    762 # Helper functions for option handling.                    -*- Autoconf -*-
    763 
    764 # Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
    765 
    766 # This program is free software; you can redistribute it and/or modify
    767 # it under the terms of the GNU General Public License as published by
    768 # the Free Software Foundation; either version 2, or (at your option)
    769 # any later version.
    770 
    771 # This program is distributed in the hope that it will be useful,
    772 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    773 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    774 # GNU General Public License for more details.
    775 
    776 # You should have received a copy of the GNU General Public License
    777 # along with this program; if not, write to the Free Software
    778 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    779 # 02111-1307, USA.
    780 
    781 # serial 2
     642# Helper functions for option handling.                     -*- Autoconf -*-
     643
     644# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
     645#
     646# This file is free software; the Free Software Foundation
     647# gives unlimited permission to copy and/or distribute it,
     648# with or without modifications, as long as this notice is preserved.
     649
     650# serial 3
    782651
    783652# _AM_MANGLE_OPTION(NAME)
     
    804673[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    805674
    806 #
    807 # Check to make sure that the build environment is sane.
    808 #
    809 
    810 # Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
    811 
    812 # This program is free software; you can redistribute it and/or modify
    813 # it under the terms of the GNU General Public License as published by
    814 # the Free Software Foundation; either version 2, or (at your option)
    815 # any later version.
    816 
    817 # This program is distributed in the hope that it will be useful,
    818 # but WITHOUT ANY WARRANTY; without even the implied warranty of
    819 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    820 # GNU General Public License for more details.
    821 
    822 # You should have received a copy of the GNU General Public License
    823 # along with this program; if not, write to the Free Software
    824 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    825 # 02111-1307, USA.
    826 
    827 # serial 3
     675# Check to make sure that the build environment is sane.    -*- Autoconf -*-
     676
     677# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
     678# Free Software Foundation, Inc.
     679#
     680# This file is free software; the Free Software Foundation
     681# gives unlimited permission to copy and/or distribute it,
     682# with or without modifications, as long as this notice is preserved.
     683
     684# serial 4
    828685
    829686# AM_SANITY_CHECK
     
    868725AC_MSG_RESULT(yes)])
    869726
     727# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
     728#
     729# This file is free software; the Free Software Foundation
     730# gives unlimited permission to copy and/or distribute it,
     731# with or without modifications, as long as this notice is preserved.
     732
    870733# AM_PROG_INSTALL_STRIP
    871 
    872 # Copyright (C) 2001, 2003 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 
     734# ---------------------
    889735# One issue with vendor `install' (even GNU) is that you can't
    890736# specify the program used to strip binaries.  This is especially
     
    907753AC_SUBST([INSTALL_STRIP_PROGRAM])])
    908754
     755# Check how to create a tarball.                            -*- Autoconf -*-
     756
     757# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
     758#
     759# This file is free software; the Free Software Foundation
     760# gives unlimited permission to copy and/or distribute it,
     761# with or without modifications, as long as this notice is preserved.
     762
     763# serial 2
     764
     765# _AM_PROG_TAR(FORMAT)
     766# --------------------
     767# Check how to create a tarball in format FORMAT.
     768# FORMAT should be one of `v7', `ustar', or `pax'.
     769#
     770# Substitute a variable $(am__tar) that is a command
     771# writing to stdout a FORMAT-tarball containing the directory
     772# $tardir.
     773#     tardir=directory && $(am__tar) > result.tar
     774#
     775# Substitute a variable $(am__untar) that extract such
     776# a tarball read from stdin.
     777#     $(am__untar) < result.tar
     778AC_DEFUN([_AM_PROG_TAR],
     779[# Always define AMTAR for backward compatibility.
     780AM_MISSING_PROG([AMTAR], [tar])
     781m4_if([$1], [v7],
     782     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
     783     [m4_case([$1], [ustar],, [pax],,
     784              [m4_fatal([Unknown tar format])])
     785AC_MSG_CHECKING([how to create a $1 tar archive])
     786# Loop over all known methods to create a tar archive until one works.
     787_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
     788_am_tools=${am_cv_prog_tar_$1-$_am_tools}
     789# Do not fold the above two line into one, because Tru64 sh and
     790# Solaris sh will not grok spaces in the rhs of `-'.
     791for _am_tool in $_am_tools
     792do
     793  case $_am_tool in
     794  gnutar)
     795    for _am_tar in tar gnutar gtar;
     796    do
     797      AM_RUN_LOG([$_am_tar --version]) && break
     798    done
     799    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
     800    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
     801    am__untar="$_am_tar -xf -"
     802    ;;
     803  plaintar)
     804    # Must skip GNU tar: if it does not support --format= it doesn't create
     805    # ustar tarball either.
     806    (tar --version) >/dev/null 2>&1 && continue
     807    am__tar='tar chf - "$$tardir"'
     808    am__tar_='tar chf - "$tardir"'
     809    am__untar='tar xf -'
     810    ;;
     811  pax)
     812    am__tar='pax -L -x $1 -w "$$tardir"'
     813    am__tar_='pax -L -x $1 -w "$tardir"'
     814    am__untar='pax -r'
     815    ;;
     816  cpio)
     817    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
     818    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
     819    am__untar='cpio -i -H $1 -d'
     820    ;;
     821  none)
     822    am__tar=false
     823    am__tar_=false
     824    am__untar=false
     825    ;;
     826  esac
     827
     828  # If the value was cached, stop now.  We just wanted to have am__tar
     829  # and am__untar set.
     830  test -n "${am_cv_prog_tar_$1}" && break
     831
     832  # tar/untar a dummy directory, and stop if the command works
     833  rm -rf conftest.dir
     834  mkdir conftest.dir
     835  echo GrepMe > conftest.dir/file
     836  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
     837  rm -rf conftest.dir
     838  if test -s conftest.tar; then
     839    AM_RUN_LOG([$am__untar <conftest.tar])
     840    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
     841  fi
     842done
     843rm -rf conftest.dir
     844
     845AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     846AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     847AC_SUBST([am__tar])
     848AC_SUBST([am__untar])
     849]) # _AM_PROG_TAR
     850
Note: See TracChangeset for help on using the changeset viewer.