Changeset 00cc023 for aclocal.m4


Ignore:
Timestamp:
May 31, 2015, 1:54:23 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
5cb5f842
Parents:
86bd7c1f
Message:

redo automake first attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal.m4

    r86bd7c1f r00cc023  
    693693])
    694694
     695# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
     696# Free Software Foundation, Inc.
     697#
     698# This file is free software; the Free Software Foundation
     699# gives unlimited permission to copy and/or distribute it,
     700# with or without modifications, as long as this notice is preserved.
     701
     702# serial 6
     703
     704# AM_PROG_CC_C_O
     705# --------------
     706# Like AC_PROG_CC_C_O, but changed for automake.
     707AC_DEFUN([AM_PROG_CC_C_O],
     708[AC_REQUIRE([AC_PROG_CC_C_O])dnl
     709AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     710AC_REQUIRE_AUX_FILE([compile])dnl
     711# FIXME: we rely on the cache variable name because
     712# there is no other way.
     713set dummy $CC
     714am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
     715eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
     716if test "$am_t" != yes; then
     717   # Losing compiler, so override with the script.
     718   # FIXME: It is wrong to rewrite CC.
     719   # But if we don't then we get into trouble of one sort or another.
     720   # A longer-term fix would be to have automake use am__CC in this case,
     721   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     722   CC="$am_aux_dir/compile $CC"
     723fi
     724dnl Make sure AC_PROG_CC is never called again, or it will override our
     725dnl setting of CC.
     726m4_define([AC_PROG_CC],
     727          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
     728])
     729
    695730# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    696731
Note: See TracChangeset for help on using the changeset viewer.