12345678910111213141516171819 |
- # Figure out how to run the assembler. -*- Autoconf -*-
- # Copyright (C) 2001-2017 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.
- # 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
- ])
|