Edit

kc3-lang/automake/tests/implicit.test

Branch :

  • Show log

    Commit

  • Author : Akim Demaille
    Date : 2001-03-05 15:03:00
    Hash : 65e17bce
    Message : If OBJEXT and EXEEXT are not set, provide a default value, and use them unconditionally. * automake.in (&generate_makefile): Provide default values for EXEEXT and OBJEXT. (&get_object_extension, &finish_languages) (&handle_single_transform_list, &handle_programs, &add_depend2) (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with them, they are defined. * compile.am, depend2.am, program.am, progs.am: Likewise. * remake-hdr.am: Fix a typo. * tests/cxxo.test, tests/fo.test, tests/implicit.test, * tests/interp.test, tests/subobj.test, tests/subobj2.test, * tests/suffix2.test: Adjust.

  • tests/implicit.test
  • #! /bin/sh
    
    # Test to make sure implicit .o's are listed as appropriate.  Report
    # from Henrik Frystyk Nielsen.
    
    . $srcdir/defs || exit 1
    
    cat >> configure.in << 'END'
    AC_PROG_CC
    END
    
    cat > Makefile.am << 'END'
    noinst_PROGRAMS = libapp_1
    END
    
    $AUTOMAKE || exit 1
    
    grep '^libapp_1_OBJECTS' Makefile.in | fgrep '.$(OBJEXT)'