Changeset 95d0a5db for configure.ac


Ignore:
Timestamp:
Dec 13, 2018, 4:22:08 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
93fe3154
Parents:
0765121
Message:

Removed backend_cc, everything now uses CC or CXX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r0765121 r95d0a5db  
    5555AC_SUBST([DOendif])
    5656AM_SUBST_NOTMAKE([DOendif])
    57 
    58 #==============================================================================
    59 # backend compiler implementation
    60 AC_ARG_WITH(backend-compiler,
    61        [  --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible) ],
    62        backendcompiler=$withval, backendcompiler="")
    63 if test "x$backendcompiler" != "x"; then
    64        BACKEND_CC=${backendcompiler}
    65 else
    66        AC_PATH_PROG(BACKEND_CC, gcc, [])       # check gcc installed
    67        if test "x$BACKEND_CC" = "x"; then
    68                AC_MSG_ERROR(some version of gcc is needed. Get it at ftp://ftp.gnu.org)
    69                exit 1
    70        fi
    71 fi
    72 AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${BACKEND_CC}", [Location of include files.])
    73 AC_SUBST(CFA_BACKEND_CC)
    7457
    7558#==============================================================================
     
    228211
    229212#==============================================================================
     213# backend compiler implementation
     214AC_DEFINE_UNQUOTED(CFA_BACKEND_CC, "${CC}", [Backend compiler to use.])
     215AC_SUBST(CFA_BACKEND_CC)
     216
     217#==============================================================================
    230218AC_CONFIG_FILES([
    231219        Makefile
Note: See TracChangeset for help on using the changeset viewer.