Edit

kc3-lang/automake/tests/pluseq4.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-11-10 09:08:25
    Hash : f2863603
    Message : * pluseq4.test: New file. * Makefile.am (TESTS): Added pluseq4.test.

  • tests/pluseq4.test
  • #! /bin/sh
    
    # Yet another `+=' test.
    
    . $srcdir/defs || exit 1
    
    echo AC_PROG_CC >> configure.in
    
    cat > Makefile.am << 'END'
    bin_PROGRAMS = foo
    CC += -Dwhatever
    END
    
    : > foo.c
    
    $AUTOMAKE || exit 1
    fgrep '@CC@ -Dwhatever' Makefile.in