Ignore:
Timestamp:
Dec 4, 2012, 12:07:03 PM (7 years ago)
Author:
cameron
Message:

icXML version of SchemaSymbols?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icXML/icXML-devel/config/missing

    r2723 r2732  
    22# Common stub for a few missing GNU programs while installing.
    33
    4 scriptversion=2009-04-28.21; # UTC
     4scriptversion=2012-01-06.13; # UTC
    55
    66# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
    7 # 2008, 2009 Free Software Foundation, Inc.
     7# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
    88# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
    99
     
    8585  lex          create \`lex.yy.c', if possible, from existing .c
    8686  makeinfo     touch the output file
    87   tar          try tar, gnutar, gtar, then tar without non-portable flags
    8887  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
    8988
     
    121120  lex*|yacc*)
    122121    # Not GNU programs, they don't have --version.
    123     ;;
    124 
    125   tar*)
    126     if test -n "$run"; then
    127        echo 1>&2 "ERROR: \`tar' requires --run"
    128        exit 1
    129     elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
    130        exit 1
    131     fi
    132122    ;;
    133123
     
    227217    rm -f y.tab.c y.tab.h
    228218    if test $# -ne 1; then
    229         eval LASTARG="\${$#}"
     219        eval LASTARG=\${$#}
    230220        case $LASTARG in
    231221        *.y)
     
    257247    rm -f lex.yy.c
    258248    if test $# -ne 1; then
    259         eval LASTARG="\${$#}"
     249        eval LASTARG=\${$#}
    260250        case $LASTARG in
    261251        *.l)
     
    319309    ;;
    320310
    321   tar*)
    322     shift
    323 
    324     # We have already tried tar in the generic part.
    325     # Look for gnutar/gtar before invocation to avoid ugly error
    326     # messages.
    327     if (gnutar --version > /dev/null 2>&1); then
    328        gnutar "$@" && exit 0
    329     fi
    330     if (gtar --version > /dev/null 2>&1); then
    331        gtar "$@" && exit 0
    332     fi
    333     firstarg="$1"
    334     if shift; then
    335         case $firstarg in
    336         *o*)
    337             firstarg=`echo "$firstarg" | sed s/o//`
    338             tar "$firstarg" "$@" && exit 0
    339             ;;
    340         esac
    341         case $firstarg in
    342         *h*)
    343             firstarg=`echo "$firstarg" | sed s/h//`
    344             tar "$firstarg" "$@" && exit 0
    345             ;;
    346         esac
    347     fi
    348 
    349     echo 1>&2 "\
    350 WARNING: I can't seem to be able to run \`tar' with the given arguments.
    351          You may want to install GNU tar or Free paxutils, or check the
    352          command line arguments."
    353     exit 1
    354     ;;
    355 
    356311  *)
    357312    echo 1>&2 "\
Note: See TracChangeset for help on using the changeset viewer.