Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    ree51534 r9def87a  
    6060_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
    6161
     62# Figure out how to run the assembler.                      -*- Autoconf -*-
     63
     64# Copyright (C) 2001, 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
     65#
     66# This file is free software; the Free Software Foundation
     67# gives unlimited permission to copy and/or distribute it,
     68# with or without modifications, as long as this notice is preserved.
     69
     70# serial 5
     71
     72# AM_PROG_AS
     73# ----------
     74AC_DEFUN([AM_PROG_AS],
     75[# By default we simply use the C compiler to build assembly code.
     76AC_REQUIRE([AC_PROG_CC])
     77test "${CCAS+set}" = set || CCAS=$CC
     78test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
     79AC_ARG_VAR([CCAS],      [assembler compiler command (defaults to CC)])
     80AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
     81_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
     82])
     83
    6284# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    6385
     
    113135# expand $ac_aux_dir to an absolute path
    114136am_aux_dir=`cd $ac_aux_dir && pwd`
     137])
     138
     139# AM_COND_IF                                            -*- Autoconf -*-
     140
     141# Copyright (C) 2008, 2010 Free Software Foundation, Inc.
     142#
     143# This file is free software; the Free Software Foundation
     144# gives unlimited permission to copy and/or distribute it,
     145# with or without modifications, as long as this notice is preserved.
     146
     147# serial 3
     148
     149# _AM_COND_IF
     150# _AM_COND_ELSE
     151# _AM_COND_ENDIF
     152# --------------
     153# These macros are only used for tracing.
     154m4_define([_AM_COND_IF])
     155m4_define([_AM_COND_ELSE])
     156m4_define([_AM_COND_ENDIF])
     157
     158
     159# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
     160# ---------------------------------------
     161# If the shell condition COND is true, execute IF-TRUE, otherwise execute
     162# IF-FALSE.  Allow automake to learn about conditional instantiating macros
     163# (the AC_CONFIG_FOOS).
     164AC_DEFUN([AM_COND_IF],
     165[m4_ifndef([_AM_COND_VALUE_$1],
     166           [m4_fatal([$0: no such condition "$1"])])dnl
     167_AM_COND_IF([$1])dnl
     168if test -z "$$1_TRUE"; then :
     169  m4_n([$2])[]dnl
     170m4_ifval([$3],
     171[_AM_COND_ELSE([$1])dnl
     172else
     173  $3
     174])dnl
     175_AM_COND_ENDIF([$1])dnl
     176fi[]dnl
    115177])
    116178
Note: See TracChangeset for help on using the changeset viewer.