source: trunk/essentials/sys-devel/automake-1.9/m4/as.m4

Last change on this file was 3086, checked in by bird, 18 years ago

automake 1.9.6

File size: 728 bytes
Line 
1# Figure out how to run the assembler. -*- Autoconf -*-
2
3# Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
4#
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.
8
9# serial 4
10
11# AM_PROG_AS
12# ----------
13AC_DEFUN([AM_PROG_AS],
14[# By default we simply use the C compiler to build assembly code.
15AC_REQUIRE([AC_PROG_CC])
16test "${CCAS+set}" = set || CCAS=$CC
17test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
18AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
19AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
20])
Note: See TracBrowser for help on using the repository browser.