Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r95d0a5db rc6bbcdb  
    626626LTLIBOBJS
    627627LIBOBJS
    628 CFA_BACKEND_CC
    629628ALLOCA
    630629EGREP
     
    688687CFA_INCDIR
    689688CFA_PREFIX
     689CFA_BACKEND_CC
     690BACKEND_CC
    690691DOendif
    691692DOifskipcompile
     
    762763enable_silent_rules
    763764with_cfa_name
     765with_backend_compiler
    764766with_target_hosts
    765767enable_dependency_tracking
     
    14211423  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    14221424  --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)
    14231426  --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib
    14241427
     
    31633166
    31643167#==============================================================================
     3168# backend compiler implementation
     3169
     3170# Check whether --with-backend-compiler was given.
     3171if test "${with_backend_compiler+set}" = set; then :
     3172  withval=$with_backend_compiler; backendcompiler=$withval
     3173else
     3174  backendcompiler=""
     3175fi
     3176
     3177if test "x$backendcompiler" != "x"; then
     3178       BACKEND_CC=${backendcompiler}
     3179else
     3180       # Extract the first word of "gcc", so it can be a program name with args.
     3181set 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; }
     3184if ${ac_cv_path_BACKEND_CC+:} false; then :
     3185  $as_echo_n "(cached) " >&6
     3186else
     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
     3193for as_dir in $PATH
     3194do
     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
     3203done
     3204  done
     3205IFS=$as_save_IFS
     3206
     3207  ;;
     3208esac
     3209fi
     3210BACKEND_CC=$ac_cv_path_BACKEND_CC
     3211if test -n "$BACKEND_CC"; then
     3212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
     3213$as_echo "$BACKEND_CC" >&6; }
     3214else
     3215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3216$as_echo "no" >&6; }
     3217fi
     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
     3224fi
     3225
     3226cat >>confdefs.h <<_ACEOF
     3227#define CFA_BACKEND_CC "${BACKEND_CC}"
     3228_ACEOF
     3229
     3230
     3231
     3232#==============================================================================
    31653233# Installation paths
    31663234
     
    63136381fi
    63146382done
    6315 
    6316 
    6317 #==============================================================================
    6318 # backend compiler implementation
    6319 
    6320 cat >>confdefs.h <<_ACEOF
    6321 #define CFA_BACKEND_CC "${CC}"
    6322 _ACEOF
    6323 
    63246383
    63256384
Note: See TracChangeset for help on using the changeset viewer.