Edit

kc3-lang/automake/tests/error.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1996-10-06 03:55:55
    Hash : c19b5620
    Message : Many bug fixes

  • tests/error.test
  • #! /bin/sh
    
    # Test to make sure error handling in add_file works.
    
    . $srcdir/defs || exit 1
    
    cat > configure.in << 'END'
    AM_C_PROTOTYPES
    END
    
    # Set up a strange environment, where AM_C_PROTOTYPES exists but its
    # dependency does not.
    cat > AM_C_PROTOTYPES.m4 << 'END'
    AC_DEFUN(AM_C_PROTOTYPES,
    AC_REQUIRE([AM_PROG_CC_STDC]))
    END
    
    # Our --acdir overrides the one in $ACLOCAL.
    $ACLOCAL --acdir=. && exit 1
    exit 0