Update autoconf to version 2.61
[msysgit.git] / share / aclocal-1.10 / as.m4
blobcc8bf47063b5a05dbaa2443f799582abf547546e
1 # Figure out how to run the assembler.                      -*- Autoconf -*-
3 # Copyright (C) 2001, 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
9 # serial 5
11 # AM_PROG_AS
12 # ----------
13 AC_DEFUN([AM_PROG_AS],
14 [# By default we simply use the C compiler to build assembly code.
15 AC_REQUIRE([AC_PROG_CC])
16 test "${CCAS+set}" = set || CCAS=$CC
17 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
18 AC_ARG_VAR([CCAS],      [assembler compiler command (defaults to CC)])
19 AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
20 _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl