Edit

kc3-lang/automake/tests/sinclude.test

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2001-03-08 13:23:18
    Hash : 0e53159e
    Message : * automake.in: Use -w. Normalize all use of `$lang . '-foo'' into `"$lang-foo"'. (&parse_arguments): Support --Werror and --Wno-error as a temporary hack until --warning/-W is properly implemented. (&handle_single_transform_list): Prototype. Be sure to define $directory. Use `exists' instead of testing the value of a maybe undefined hash value. (&add_depend2, &handle_configure, &handle_footer, &file_contents) (&handle_factored_dependencies): Use defined values. (&scan_one_autoconf_file): Save $_. * tests/lex2.test, tests/sinclude.test, tests/suffix3.test: Run automake with --Wno-error.

  • tests/sinclude.test
  • #! /bin/sh
    
    # Test to see if `sinclude' works.
    
    . $srcdir/defs || exit 1
    
    cat > aclocal.m4 << 'END'
    sinclude(sub/p.m4)
    END
    
    mkdir sub
    cat > sub/p.m4 << 'END'
    AC_SUBST(MAGICALPIG)
    END
    
    : > Makefile.am
    
    $AUTOMAKE --Wno-error || exit 1
    
    grep MAGICALPIG Makefile.in