Edit

kc3-lang/automake/tests/aclocali.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-02-16 07:15:11
    Hash : 8486e545
    Message : fixed bug with -I and m4 dependencies

  • tests/aclocali.test
  • #! /bin/sh
    
    # Make sure that ACLOCAL_AMFLAGS actually gets the right dependencies.
    . $srcdir/defs || exit 1
    
    echo AM_QUUX >> configure.in
    
    mkdir macros
    
    cat > macros/quux.m4 << 'END'
    AC_DEFUN([AM_QUUX], [
    ])
    END
    
    cat > Makefile.am << 'END'
    ACLOCAL_AMFLAGS = -I macros
    END
    
    # We have to run aclocal first to make sure that aclocal.m4 exists.
    # Otherwise automake won't guess that we want to auto-generate it.
    $ACLOCAL -I macros || exit 1
    
    $AUTOMAKE || exit 1
    
    fgrep quux.m4 Makefile.in