Edit

kc3-lang/automake/tests/fo.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/fo.test
  • #! /bin/sh
    
    # Make sure Fortran 77 files are rewritten to ".o" and not just "o".
    # Matthew D. Langston <langston@SLAC.Stanford.EDU>
    
    . $srcdir/defs || exit 1
    
    cat >> configure.in << 'END'
    AC_PROG_F77
    END
    
    cat > Makefile.am << 'END'
    sbin_PROGRAMS = anonymous
    anonymous_SOURCES = doe.f
    END
    
    : > doe.f
    
    $AUTOMAKE || exit 1
    
    fgrep 'doe.$(OBJEXT)' Makefile.in