Edit

kc3-lang/automake/m4/as.m4

Branch :

  • Show log

    Commit

  • Author : Ralf Wildenhues
    Date : 2006-10-14 17:17:22
    Hash : cf6e012f
    Message : * doc/automake.texi (Options): `no-dependencies' is similar to `--ignore-deps', not `--include-deps'. * m4/as.m4 (AM_PROG_AS): If `no-dependencies', do not invoke _AM_DEPENDENCIES. * tests/nodep2.test: New test. * tests/Makefile.am: Adjust.

  • m4/as.m4
  • # Figure out how to run the assembler.                      -*- Autoconf -*-
    
    # Copyright (C) 2001, 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
    #
    # This file is free software; the Free Software Foundation
    # gives unlimited permission to copy and/or distribute it,
    # with or without modifications, as long as this notice is preserved.
    
    # serial 5
    
    # AM_PROG_AS
    # ----------
    AC_DEFUN([AM_PROG_AS],
    [# By default we simply use the C compiler to build assembly code.
    AC_REQUIRE([AC_PROG_CC])
    test "${CCAS+set}" = set || CCAS=$CC
    test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
    AC_ARG_VAR([CCAS],      [assembler compiler command (defaults to CC)])
    AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
    _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
    ])