Edit

kc3-lang/automake/tests/subobj7.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2001-06-15 01:25:11
    Hash : de165743
    Message : Fix for bug reported by Steve M. Robbins: * automake.in (handle_single_transform_list): When building a file from a subdirectory, continue to use `AM_' prefix. * tests/Makefile.am (TESTS): Added subobj7.test. * tests/subobj7.test: New file.

  • tests/subobj7.test
  • #! /bin/sh
    
    # Test to make sure AM_CFLAGS appears in subdir compilation rule.
    # Report from Steve M. Robbins.
    
    . $srcdir/defs || exit 1
    
    cat > configure.in << 'END'
    AC_INIT(f)
    AM_INIT_AUTOMAKE(nonesuch, nonesuch)
    AM_PROG_CC_C_O
    AC_PROG_CC
    AC_OUTPUT(Makefile)
    END
    
    cat > Makefile.am << 'END'
    bin_PROGRAMS = wish
    wish_SOURCES = foo.c generic/a.c
    END
    
    $ACLOCAL || exit 1
    $AUTOMAKE || exit 1
    
    grep wish_CFLAGS Makefile.in && exit 1
    exit 0