Edit

kc3-lang/automake/tests/subdircond.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2001-02-26 01:10:33
    Hash : 2bd4dd43
    Message : * tests/Makefile.am (TESTS): Added subdircond.test. * tests/subdircond.test: New file. * automake.in (handle_gettext): Don't fail if SUBDIRS conditionally defined.

  • tests/subdircond.test
  • #! /bin/sh
    
    # It is ok to have a conditional SUBDIRS when using gettext.
    
    . $srcdir/defs || exit 1
    
    cat >> configure.in << 'END'
    AM_GNU_GETTEXT
    AM_CONDITIONAL(MAUDE, true)
    ALL_LINGUAS=
    AC_SUBST(ALL_LINGUAS)
    END
    
    mkdir po intl
    
    cat > Makefile.am << 'END'
    if MAUDE
    SUBDIRS = po intl
    else
    SUBDIRS =
    endif
    END
    
    $AUTOMAKE