Edit

kc3-lang/automake/tests/discover.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1997-03-16 22:29:11
    Hash : 119b28ec
    Message : test fixups better error message w/ seen_c_source

  • tests/discover.test
  • #! /bin/sh
    
    # Test to make sure LIBOBJS file cannot be mentioned explicitly.
    
    . $srcdir/defs || exit 1
    
    cat > configure.in << 'END'
    PACKAGE=nonesuch
    VERSION=nonesuch
    AC_ARG_PROGRAM
    AC_PROG_INSTALL
    AC_PROG_RANLIB
    AC_PROG_CC
    LIBOBJS="$LIBOBJS fsusage.o"
    AC_OUTPUT(Makefile)
    END
    
    cat > Makefile.am << 'END'
    noinst_LIBRARIES = libtu.a
    libtu_a_SOURCES = fsusage.c
    libtu_a_LIBADD = @LIBOBJS@
    END
    
    : > fsusage.c
    
    $AUTOMAKE && exit 1
    exit 0