Changeset 95d0a5db for configure


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

    r0765121 r95d0a5db  
    626626LTLIBOBJS
    627627LIBOBJS
     628CFA_BACKEND_CC
    628629ALLOCA
    629630EGREP
     
    687688CFA_INCDIR
    688689CFA_PREFIX
    689 CFA_BACKEND_CC
    690 BACKEND_CC
    691690DOendif
    692691DOifskipcompile
     
    763762enable_silent_rules
    764763with_cfa_name
    765 with_backend_compiler
    766764with_target_hosts
    767765enable_dependency_tracking
     
    14231421  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    14241422  --with-cfa-name=NAME     NAME too which cfa will be installed
    1425   --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
    14261423  --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib
    14271424
     
    31663163
    31673164#==============================================================================
    3168 # backend compiler implementation
    3169 
    3170 # Check whether --with-backend-compiler was given.
    3171 if test "${with_backend_compiler+set}" = set; then :
    3172   withval=$with_backend_compiler; backendcompiler=$withval
    3173 else
    3174   backendcompiler=""
    3175 fi
    3176 
    3177 if test "x$backendcompiler" != "x"; then
    3178        BACKEND_CC=${backendcompiler}
    3179 else
    3180        # Extract the first word of "gcc", so it can be a program name with args.
    3181 set dummy gcc; ac_word=$2
    3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3183 $as_echo_n "checking for $ac_word... " >&6; }
    3184 if ${ac_cv_path_BACKEND_CC+:} false; then :
    3185   $as_echo_n "(cached) " >&6
    3186 else
    3187   case $BACKEND_CC in
    3188   [\\/]* | ?:[\\/]*)
    3189   ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
    3190   ;;
    3191   *)
    3192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3193 for as_dir in $PATH
    3194 do
    3195   IFS=$as_save_IFS
    3196   test -z "$as_dir" && as_dir=.
    3197     for ac_exec_ext in '' $ac_executable_extensions; do
    3198   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3199     ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
    3200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3201     break 2
    3202   fi
    3203 done
    3204   done
    3205 IFS=$as_save_IFS
    3206 
    3207   ;;
    3208 esac
    3209 fi
    3210 BACKEND_CC=$ac_cv_path_BACKEND_CC
    3211 if test -n "$BACKEND_CC"; then
    3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
    3213 $as_echo "$BACKEND_CC" >&6; }
    3214 else
    3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3216 $as_echo "no" >&6; }
    3217 fi
    3218 
    3219        # check gcc installed
    3220        if test "x$BACKEND_CC" = "x"; then
    3221                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
    3222                exit 1
    3223        fi
    3224 fi
    3225 
    3226 cat >>confdefs.h <<_ACEOF
    3227 #define CFA_BACKEND_CC "${BACKEND_CC}"
    3228 _ACEOF
    3229 
    3230 
    3231 
    3232 #==============================================================================
    32333165# Installation paths
    32343166
     
    63816313fi
    63826314done
     6315
     6316
     6317#==============================================================================
     6318# backend compiler implementation
     6319
     6320cat >>confdefs.h <<_ACEOF
     6321#define CFA_BACKEND_CC "${CC}"
     6322_ACEOF
     6323
    63836324
    63846325
Note: See TracChangeset for help on using the changeset viewer.