Changeset 6141 for trunk/admin

Show
Ignore:
Timestamp:
04/10/08 03:27:13 (8 months ago)
Author:
erijo
Message:

Upgraded admin-files. New files taken from Debian's automake 1.10.1-3,
autotools-dev 20080123.1, gettext 0.17-2 and libtool 1.5.26-3.

Location:
trunk/admin
Files:
9 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/config.guess

    r5474 r6141  
    22# Attempt to guess a canonical system name. 
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 
    5 #   Inc. 
    6  
    7 timestamp='2007-07-22' 
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 
     5#   Free Software Foundation, Inc. 
     6 
     7timestamp='2008-01-23' 
    88 
    99# This file is free software; you can redistribute it and/or modify it 
     
    5757 
    5858Originally written by Per Bothner. 
    59 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    60 Free Software Foundation, Inc. 
     59Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
     602002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
    6161 
    6262This is free software; see the source for copying conditions.  There is NO 
     
    533533    fi 
    534534    exit ;; 
    535     *:AIX:*:[45]) 
     535    *:AIX:*:[456]) 
    536536    IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 
    537537    if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 
     
    800800        echo x86_64-unknown-interix${UNAME_RELEASE} 
    801801        exit ;; 
     802        IA64) 
     803        echo ia64-unknown-interix${UNAME_RELEASE} 
     804        exit ;; 
    802805    esac ;; 
    803806    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 
     
    834837    exit ;; 
    835838    arm*:Linux:*:*) 
    836     echo ${UNAME_MACHINE}-unknown-linux-gnu 
     839    eval $set_cc_for_build 
     840    if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 
     841        | grep -q __ARM_EABI__ 
     842    then 
     843        echo ${UNAME_MACHINE}-unknown-linux-gnu 
     844    else 
     845        echo ${UNAME_MACHINE}-unknown-linux-gnueabi 
     846    fi 
    837847    exit ;; 
    838848    avr32*:Linux:*:*) 
     
    955965    echo x86_64-unknown-linux-gnu 
    956966    exit ;; 
    957     xtensa:Linux:*:*) 
    958         echo xtensa-unknown-linux-gnu 
     967    xtensa*:Linux:*:*) 
     968        echo ${UNAME_MACHINE}-unknown-linux-gnu 
    959969    exit ;; 
    960970    i*86:Linux:*:*) 
     
    14751485download the most up to date version of the config scripts from 
    14761486 
    1477   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess 
     1487  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD 
    14781488and 
    1479   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub 
     1489  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD 
    14801490 
    14811491If the version you run ($0) is already up to date, please 
  • trunk/admin/config.rpath

    r4665 r6141  
    33# run time search path of shared libraries in an executable. 
    44# 
    5 #   Copyright 1996-2006 Free Software Foundation, Inc. 
     5#   Copyright 1996-2007 Free Software Foundation, Inc. 
    66#   Taken from GNU libtool, 2001 
    77#   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 
     
    6565      esac 
    6666      ;; 
    67     mingw* | pw32* | os2*) 
     67    mingw* | cygwin* | pw32* | os2*) 
    6868      ;; 
    6969    hpux9* | hpux10* | hpux11*) 
     
    7575    newsos6) 
    7676      ;; 
    77     linux*) 
     77    linux* | k*bsd*-gnu) 
    7878      case $cc_basename in 
    7979        icc* | ecc*) 
     
    101101      wl='-Wl,' 
    102102      ;; 
    103     sco3.2v5*) 
     103    rdos*) 
    104104      ;; 
    105105    solaris*) 
     
    109109      wl='-Qoption ld ' 
    110110      ;; 
    111     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 
     111    sysv4 | sysv4.2uw2* | sysv4.3*) 
    112112      wl='-Wl,' 
    113113      ;; 
    114114    sysv4*MP*) 
     115      ;; 
     116    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 
     117      wl='-Wl,' 
    115118      ;; 
    116119    unicos*) 
     
    190193      fi 
    191194      ;; 
    192     interix3*) 
     195    interix[3-9]*) 
    193196      hardcode_direct=no 
    194197      hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 
    195198      ;; 
    196     linux*) 
     199    gnu* | linux* | k*bsd*-gnu) 
    197200      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 
    198201        : 
     
    281284          then 
    282285            # We have reworked collect2 
    283             hardcode_direct=yes 
     286            : 
    284287          else 
    285288            # We have old collect2 
     
    360363      hardcode_minus_L=yes 
    361364      ;; 
    362     freebsd* | kfreebsd*-gnu | dragonfly*) 
     365    freebsd* | dragonfly*) 
    363366      hardcode_libdir_flag_spec='-R$libdir' 
    364367      hardcode_direct=yes 
     
    413416      ;; 
    414417    openbsd*) 
    415       hardcode_direct=yes 
    416       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    417         hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 
    418       else 
    419         case "$host_os" in 
    420           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 
    421             hardcode_libdir_flag_spec='-R$libdir' 
    422             ;; 
    423           *) 
    424             hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 
    425             ;; 
    426         esac 
     418      if test -f /usr/libexec/ld.so; then 
     419        hardcode_direct=yes 
     420        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
     421          hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 
     422        else 
     423          case "$host_os" in 
     424            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 
     425              hardcode_libdir_flag_spec='-R$libdir' 
     426              ;; 
     427            *) 
     428              hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 
     429              ;; 
     430          esac 
     431        fi 
     432      else 
     433        ld_shlibs=no 
    427434      fi 
    428435      ;; 
     
    472479      fi 
    473480      ;; 
    474     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) 
     481    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 
    475482      ;; 
    476483    sysv5* | sco3.2v5* | sco5v6*) 
     
    489496# Check dynamic linker characteristics 
    490497# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. 
     498# Unlike libtool.m4, here we don't care about _all_ names of the library, but 
     499# only about the one the linker finds when passed -lNAME. This is the last 
     500# element of library_names_spec in libtool.m4, or possibly two of them if the 
     501# linker has special search rules. 
     502library_names_spec=      # the last element of library_names_spec in libtool.m4 
    491503libname_spec='lib$name' 
    492504case "$host_os" in 
    493505  aix3*) 
     506    library_names_spec='$libname.a' 
    494507    ;; 
    495508  aix4* | aix5*) 
     509    library_names_spec='$libname$shrext' 
    496510    ;; 
    497511  amigaos*) 
     512    library_names_spec='$libname.a' 
    498513    ;; 
    499514  beos*) 
     515    library_names_spec='$libname$shrext' 
    500516    ;; 
    501517  bsdi[45]*) 
     518    library_names_spec='$libname$shrext' 
    502519    ;; 
    503520  cygwin* | mingw* | pw32*) 
    504521    shrext=.dll 
     522    library_names_spec='$libname.dll.a $libname.lib' 
    505523    ;; 
    506524  darwin* | rhapsody*) 
    507525    shrext=.dylib 
     526    library_names_spec='$libname$shrext' 
    508527    ;; 
    509528  dgux*) 
     529    library_names_spec='$libname$shrext' 
    510530    ;; 
    511531  freebsd1*) 
    512532    ;; 
    513   kfreebsd*-gnu) 
    514     ;; 
    515533  freebsd* | dragonfly*) 
     534    case "$host_os" in 
     535      freebsd[123]*) 
     536        library_names_spec='$libname$shrext$versuffix' ;; 
     537      *) 
     538        library_names_spec='$libname$shrext' ;; 
     539    esac 
    516540    ;; 
    517541  gnu*) 
     542    library_names_spec='$libname$shrext' 
    518543    ;; 
    519544  hpux9* | hpux10* | hpux11*) 
     
    529554        ;; 
    530555    esac 
    531     ;; 
    532   interix3*) 
     556    library_names_spec='$libname$shrext' 
     557    ;; 
     558  interix[3-9]*) 
     559    library_names_spec='$libname$shrext' 
    533560    ;; 
    534561  irix5* | irix6* | nonstopux*) 
     562    library_names_spec='$libname$shrext' 
    535563    case "$host_os" in 
    536564      irix5* | nonstopux*) 
     
    549577  linux*oldld* | linux*aout* | linux*coff*) 
    550578    ;; 
    551   linux*) 
     579  linux* | k*bsd*-gnu) 
     580    library_names_spec='$libname$shrext' 
    552581    ;; 
    553582  knetbsd*-gnu) 
     583    library_names_spec='$libname$shrext' 
    554584    ;; 
    555585  netbsd*) 
     586    library_names_spec='$libname$shrext' 
    556587    ;; 
    557588  newsos6) 
     589    library_names_spec='$libname$shrext' 
    558590    ;; 
    559591  nto-qnx*) 
     592    library_names_spec='$libname$shrext' 
    560593    ;; 
    561594  openbsd*) 
     595    library_names_spec='$libname$shrext$versuffix' 
    562596    ;; 
    563597  os2*) 
    564598    libname_spec='$name' 
    565599    shrext=.dll 
     600    library_names_spec='$libname.a' 
    566601    ;; 
    567602  osf3* | osf4* | osf5*) 
     603    library_names_spec='$libname$shrext' 
     604    ;; 
     605  rdos*) 
    568606    ;; 
    569607  solaris*) 
     608    library_names_spec='$libname$shrext' 
    570609    ;; 
    571610  sunos4*) 
     611    library_names_spec='$libname$shrext$versuffix' 
    572612    ;; 
    573613  sysv4 | sysv4.3*) 
     614    library_names_spec='$libname$shrext' 
    574615    ;; 
    575616  sysv4*MP*) 
     617    library_names_spec='$libname$shrext' 
    576618    ;; 
    577619  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
     620    library_names_spec='$libname$shrext' 
    578621    ;; 
    579622  uts4*) 
     623    library_names_spec='$libname$shrext' 
    580624    ;; 
    581625esac 
     
    584628escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` 
    585629shlibext=`echo "$shrext" | sed -e 's,^\.,,'` 
     630escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 
     631escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 
    586632escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` 
    587633 
     
    596642# Shared library suffix (normally "so"). 
    597643shlibext="$shlibext" 
     644 
     645# Format of library name prefix. 
     646libname_spec="$escaped_libname_spec" 
     647 
     648# Library names that the linker finds when passed -lNAME. 
     649library_names_spec="$escaped_library_names_spec" 
    598650 
    599651# Flag to hardcode \$libdir into a binary during linking. 
  • trunk/admin/config.sub

    r5474 r6141  
    22# Configuration validation subroutine script. 
    33#   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 
    4 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 
    5 #   Inc. 
    6  
    7 timestamp='2007-06-28' 
     4#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 
     5#   Free Software Foundation, Inc. 
     6 
     7timestamp='2008-01-16' 
    88 
    99# This file is (in principle) common to ALL GNU software. 
     
    7373GNU config.sub ($timestamp) 
    7474 
    75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    76 Free Software Foundation, Inc. 
     75Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 
     762002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 
    7777 
    7878This is free software; see the source for copying conditions.  There is NO 
     
    370370    | we32k-* \ 
    371371    | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 
    372     | xstormy16-* | xtensa-* \ 
     372    | xstormy16-* | xtensa*-* \ 
    373373    | ymp-* \ 
    374374    | z8k-*) 
     375        ;; 
     376    # Recognize the basic CPU types without company name, with glob match. 
     377    xtensa*) 
     378        basic_machine=$basic_machine-unknown 
    375379        ;; 
    376380    # Recognize the various machine names and aliases which stand 
     
    443447        basic_machine=ns32k-sequent 
    444448        os=-dynix 
     449        ;; 
     450    blackfin) 
     451        basic_machine=bfin-unknown 
     452        os=-linux 
     453        ;; 
     454    blackfin-*) 
     455        basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` 
     456        os=-linux 
    445457        ;; 
    446458    c90) 
     
    668680        basic_machine=m68k-isi 
    669681        os=-sysv 
     682        ;; 
     683    m68knommu) 
     684        basic_machine=m68k-unknown 
     685        os=-linux 
     686        ;; 
     687    m68knommu-*) 
     688        basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` 
     689        os=-linux 
    670690        ;; 
    671691    m88k-omron*) 
     
    814834        os=-osf 
    815835        ;; 
     836    parisc) 
     837        basic_machine=hppa-unknown 
     838        os=-linux 
     839        ;; 
     840    parisc-*) 
     841        basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` 
     842        os=-linux 
     843        ;; 
    816844    pbd) 
    817845        basic_machine=sparc-tti 
     
    10211049        basic_machine=tic6x-unknown 
    10221050        os=-coff 
     1051        ;; 
     1052    tile*) 
     1053        basic_machine=tile-unknown 
     1054        os=-linux-gnu 
    10231055        ;; 
    10241056    tx39) 
  • trunk/admin/depcomp

    r4569 r6141  
    22# depcomp - compile a program generating dependencies as side-effects 
    33 
    4 scriptversion=2005-07-09.11 
    5  
    6 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. 
     4scriptversion=2007-03-29.01 
     5 
     6# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software 
     7# Foundation, Inc. 
    78 
    89# This program is free software; you can redistribute it and/or modify 
     
    9293## we want.  Yay!  Note: for some reason libtool 1.4 doesn't like 
    9394## it if -MD -MP comes after the -MF stuff.  Hmm. 
    94   "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" 
     95## Unfortunately, FreeBSD c89 acceptance of flags depends upon 
     96## the command line argument order; so add the flags where they 
     97## appear in depend2.am.  Note that the slowdown incurred here 
     98## affects only configure: in makefiles, %FASTDEP% shortcuts this. 
     99  for arg 
     100  do 
     101    case $arg in 
     102    -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; 
     103    *)  set fnord "$@" "$arg" ;; 
     104    esac 
     105    shift # fnord 
     106    shift # $arg 
     107  done 
     108  "$@" 
    95109  stat=$? 
    96110  if test $stat -eq 0; then : 
     
    202216  # start of each line; $object doesn't have directory information. 
    203217  # Version 6 uses the directory in both cases. 
    204   stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` 
    205   tmpdepfile="$stripped.u" 
     218  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` 
     219  test "x$dir" = "x$object" && dir= 
     220  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` 
    206221  if test "$libtool" = yes; then 
     222    tmpdepfile1=$dir$base.u 
     223    tmpdepfile2=$base.u 
     224    tmpdepfile3=$dir.libs/$base.u 
    207225    "$@" -Wc,-M 
    208226  else 
     227    tmpdepfile1=$dir$base.u 
     228    tmpdepfile2=$dir$base.u 
     229    tmpdepfile3=$dir$base.u 
    209230    "$@" -M 
    210231  fi 
    211232  stat=$? 
    212233 
    213   if test -f "$tmpdepfile"; then : 
    214   else 
    215     stripped=`echo "$stripped" | sed 's,^.*/,,'` 
    216     tmpdepfile="$stripped.u" 
    217   fi 
    218  
    219234  if test $stat -eq 0; then : 
    220235  else 
    221     rm -f "$tmpdepfile" 
     236    rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" 
    222237    exit $stat 
    223238  fi 
    224239 
     240  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" 
     241  do 
     242    test -f "$tmpdepfile" && break 
     243  done 
    225244  if test -f "$tmpdepfile"; then 
    226     outname="$stripped.o" 
    227245    # Each line is of the form `foo.o: dependent.h'. 
    228246    # Do two passes, one to just change these to 
    229247    # `$object: dependent.h' and one to simply `dependent.h:'. 
    230     sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" 
    231     sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" 
     248    sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" 
     249    # That's a tab and a space in the []. 
     250    sed -e 's,^.*\.[a-z]*:[  ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" 
    232251  else 
    233252    # The sourcefile does not contain any dependencies, so just 
     
    277296  ;; 
    278297 
     298hp2) 
     299  # The "hp" stanza above does not work with aCC (C++) and HP's ia64 
     300  # compilers, which have integrated preprocessors.  The correct option 
     301  # to use with these is +Maked; it writes dependencies to a file named 
     302  # 'foo.d', which lands next to the object file, wherever that 
     303  # happens to be. 
     304  # Much of this is similar to the tru64 case; see comments there. 
     305  dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` 
     306  test "x$dir" = "x$object" && dir= 
     307  base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` 
     308  if test "$libtool" = yes; then 
     309    tmpdepfile1=$dir$base.d 
     310    tmpdepfile2=$dir.libs/$base.d 
     311    "$@" -Wc,+Maked 
     312  else 
     313    tmpdepfile1=$dir$base.d 
     314    tmpdepfile2=$dir$base.d 
     315    "$@" +Maked 
     316  fi 
     317  stat=$? 
     318  if test $stat -eq 0; then : 
     319  else 
     320     rm -f "$tmpdepfile1" "$tmpdepfile2" 
     321     exit $stat 
     322  fi 
     323 
     324  for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" 
     325  do 
     326    test -f "$tmpdepfile" && break 
     327  done 
     328  if test -f "$tmpdepfile"; then 
     329    sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" 
     330    # Add `dependent.h:' lines. 
     331    sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" 
     332  else 
     333    echo "#dummy" > "$depfile" 
     334  fi 
     335  rm -f "$tmpdepfile" "$tmpdepfile2" 
     336  ;; 
     337 
    279338tru64) 
    280339   # The Tru64 compiler uses -MD to generate dependencies as a side 
     
    289348   if test "$libtool" = yes; then 
    290349      # With Tru64 cc, shared objects can also be used to make a 
    291       # static library.  This mecanism is used in libtool 1.4 series to 
     350      # static library.  This mechanism is used in libtool 1.4 series to 
    292351      # handle both shared and static libraries in a single compilation. 
    293352      # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. 
     
    295354      # With libtool 1.5 this exception was removed, and libtool now 
    296355      # generates 2 separate objects for the 2 libraries.  These two 
    297       # compilations output dependencies in in $dir.libs/$base.o.d and 
     356      # compilations output dependencies in $dir.libs/$base.o.d and 
    298357      # in $dir$base.o.d.  We have to check for both files, because 
    299358      # one of the two compilations can be disabled.  We should prefer 
  • trunk/admin/install-sh

    r4665 r6141  
    22# install - install a program, script, or datafile 
    33 
    4 scriptversion=2005-05-14.22 
     4scriptversion=2006-12-25.00 
    55 
    66# This originates from X11R5 (mit/util/scripts/install.sh), which was 
     
    4040# 
    4141# This script is compatible with the BSD install script, but was written 
    42 # from scratch.  It can only install one file at a time, a restriction 
    43 # shared with many OS's install programs. 
     42# from scratch. 
     43 
     44nl=' 
     45' 
     46IFS=" ""    $nl" 
    4447 
    4548# set DOITPROG to echo to test this script 
    4649 
    4750# Don't use :- since 4.3BSD and earlier shells don't like it. 
    48 doit="${DOITPROG-}" 
    49  
    50 # put in absolute paths if you don't have them in your path; or use env. vars. 
    51  
    52 mvprog="${MVPROG-mv}" 
    53 cpprog="${CPPROG-cp}" 
    54 chmodprog="${CHMODPROG-chmod}" 
    55 chownprog="${CHOWNPROG-chown}" 
    56 chgrpprog="${CHGRPPROG-chgrp}" 
    57 stripprog="${STRIPPROG-strip}" 
    58 rmprog="${RMPROG-rm}" 
    59 mkdirprog="${MKDIRPROG-mkdir}" 
    60  
    61 chmodcmd="$chmodprog 0755" 
     51doit=${DOITPROG-} 
     52if test -z "$doit"; then 
     53  doit_exec=exec 
     54else 
     55  doit_exec=$doit 
     56fi 
     57 
     58# Put in absolute file names if you don't have them in your path; 
     59# or use environment vars. 
     60 
     61chgrpprog=${CHGRPPROG-chgrp} 
     62chmodprog=${CHMODPROG-chmod} 
     63chownprog=${CHOWNPROG-chown} 
     64cmpprog=${CMPPROG-cmp} 
     65cpprog=${CPPROG-cp} 
     66mkdirprog=${MKDIRPROG-mkdir} 
     67mvprog=${MVPROG-mv} 
     68rmprog=${RMPROG-rm} 
     69stripprog=${STRIPPROG-strip} 
     70 
     71posix_glob='?' 
     72initialize_posix_glob=' 
     73  test "$posix_glob" != "?" || { 
     74    if (set -f) 2>/dev/null; then 
     75      posix_glob= 
     76    else 
     77      posix_glob=: 
     78    fi 
     79  } 
     80' 
     81 
     82posix_mkdir= 
     83 
     84# Desired mode of installed file. 
     85mode=0755 
     86 
     87chgrpcmd= 
     88chmodcmd=$chmodprog 
    6289chowncmd= 
    63 chgrpcmd= 
     90mvcmd=$mvprog 
     91rmcmd="$rmprog -f" 
    6492stripcmd= 
    65 rmcmd="$rmprog -f" 
    66 mvcmd="$mvprog" 
     93 
    6794src= 
    6895dst= 
    6996dir_arg= 
    70 dstarg= 
     97dst_arg= 
     98 
     99copy_on_change=false 
    71100no_target_directory= 
    72101 
    73 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE 
     102usage="\ 
     103Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE 
    74104   or: $0 [OPTION]... SRCFILES... DIRECTORY 
    75105   or: $0 [OPTION]... -t DIRECTORY SRCFILES... 
     
    81111 
    82112Options: 
    83 -c         (ignored)