Edit

kc3-lang/automake/tests/depend.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1999-11-23 04:58:16
    Hash : 4f4b76fa
    Message : * exsource.test: Don't use configure substitution in _SOURCES. * depend.test: Don't use configure substitution in _SOURCES.

  • tests/depend.test
  • #! /bin/sh
    
    # This tests for a bug reported by Henrik Frystyk Nielsen <frystyk@w3.org>
    # In some cases the auto-dependency can get confused and try
    # to `-include' a directory (if a backslash-newline appears in _SOURCES).
    
    . $srcdir/defs || exit 1
    
    echo AC_PROG_CC >> configure.in
    
    cat > Makefile.am << 'END'
    bin_PROGRAMS = fred
    fred_SOURCES = \
       fred.c
    END
    
    $AUTOMAKE || exit 1
    
    # In this case we no longer expect to find DEP_FILES.
    grep '^DEP_FILES = *$' Makefile.in && exit 1
    exit 0