Edit

kc3-lang/automake/tests/pr9.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1999-12-27 07:40:32
    Hash : f8da0723
    Message : * subobj3.test: Remove depcomp. * pr9.test: Remove depcomp. Remove opportunistic check. * pr19.test: Remove depcomp.

  • tests/pr9.test
  • #! /bin/sh
    
    # Test for bug in PR 9.
    
    . $srcdir/defs || exit 1
    
    cat > configure.in << 'END'
    AC_INIT(Makefile.am)
    AC_CONFIG_AUX_DIR(support)
    AM_INIT_AUTOMAKE(pr9, 0)
    AC_OUTPUT(Makefile)
    END
    
    : > Makefile.am
    
    # Remove some files installed by defs.  These will be reinstalled by
    # automake.
    rm -f install-sh missing mkinstalldirs depcomp
    
    mkdir support
    
    # Fail gracefully if no autoconf.
    (autoconf --version) > /dev/null 2>&1 || exit 0
    
    # Likewise for gzip.
    (gzip --version) > /dev/null 2>&1 || exit 0
    
    $ACLOCAL || exit 1
    
    autoconf || exit 1
    $AUTOMAKE -a -c || exit 1
    ./configure || exit 1
    $MAKE || exit 1
    $MAKE distcheck || exit 1
    
    gunzip pr9-0.tar.gz || exit 1
    
    tar tf pr9-0.tar | fgrep support