Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r6e4b913 r472a8dd  
    566566PACKAGE_URL=''
    567567
     568ac_unique_file="src/main.cc"
    568569# Factoring default headers for most tests.
    569570ac_includes_default="\
     
    639640CXXFLAGS
    640641CXX
    641 CFA_FLAGS
    642642CFA_LIBDIR
    643643CFA_BINDIR
    644644CFA_INCDIR
    645645CFA_PREFIX
    646 CFA_BACKEND_CC
    647646BACKEND_CC
     647GCC_PATH
    648648MAINT
    649649MAINTAINER_MODE_FALSE
     
    672672INSTALL_SCRIPT
    673673INSTALL_PROGRAM
    674 AM_BACKSLASH
    675 AM_DEFAULT_VERBOSITY
    676 AM_DEFAULT_V
    677 AM_V
    678674target_alias
    679675host_alias
     
    717713ac_user_opts='
    718714enable_option_checking
    719 enable_silent_rules
    720715enable_maintainer_mode
    721716with_backend_compiler
     
    13521347  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13531348  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1354   --enable-silent-rules          less verbose build output (undo: `make V=1')
    1355   --disable-silent-rules         verbose build output (undo: `make V=0')
    13561349  --disable-maintainer-mode  disable make rules and dependencies not useful
    13571350                          (and sometimes confusing) to the casual installer
     
    24132406
    24142407
    2415 #AC_CONFIG_SRCDIR([src/main.cc])
     2408
    24162409ac_config_headers="$ac_config_headers config.h"
    24172410
    2418 # Check whether --enable-silent-rules was given.
    2419 if test "${enable_silent_rules+set}" = set; then :
    2420   enableval=$enable_silent_rules;
    2421 fi
    2422 
    2423 case $enable_silent_rules in
    2424 yes) AM_DEFAULT_VERBOSITY=0;;
    2425 no)  AM_DEFAULT_VERBOSITY=1;;
    2426 *)   AM_DEFAULT_VERBOSITY=1;;
    2427 esac
    2428 am_make=${MAKE-make}
    2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
    2430 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
    2431 if ${am_cv_make_support_nested_variables+:} false; then :
    2432   $as_echo_n "(cached) " >&6
    2433 else
    2434   if $as_echo 'TRUE=$(BAR$(V))
    2435 BAR0=false
    2436 BAR1=true
    2437 V=1
    2438 am__doit:
    2439         @$(TRUE)
    2440 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
    2441   am_cv_make_support_nested_variables=yes
    2442 else
    2443   am_cv_make_support_nested_variables=no
    2444 fi
    2445 fi
    2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
    2447 $as_echo "$am_cv_make_support_nested_variables" >&6; }
    2448 if test $am_cv_make_support_nested_variables = yes; then
    2449     AM_V='$(V)'
    2450   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
    2451 else
    2452   AM_V=$AM_DEFAULT_VERBOSITY
    2453   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
    2454 fi
    2455 AM_BACKSLASH='\'
    2456 
    2457 
    2458 if test "x${CXXFLAGS}" = "x"; then
    2459    export CXXFLAGS="-std=c++11 -g ${CXXFLAGS}"  # defaults, no -O2 for debugging and failures
    2460 else
    2461    export CXXFLAGS="-std=c++11 ${CXXFLAGS}"     # flags from configure command
    2462 fi
    24632411
    24642412am__api_version='1.11'
     
    29622910  MAINT=$MAINTAINER_MODE_TRUE
    29632911
    2964                         # may require auto* software to be installed
     2912        # may require auto* software to be installed
    29652913
    29662914# Installation paths
     
    29692917# Check whether --with-backend-compiler was given.
    29702918if test "${with_backend_compiler+set}" = set; then :
    2971   withval=$with_backend_compiler; backendcompiler=$withval
    2972 else
    2973   backendcompiler=""
    2974 fi
    2975 
    2976 if test "x$backendcompiler" != "x"; then
    2977         BACKEND_CC=${backendcompiler}
    2978 else
     2919  withval=$with_backend_compiler; backcompiler=$withval
     2920else
     2921  backcompiler=""
     2922fi
     2923
     2924  if test x$backcompiler != x; then
     2925        cat >>confdefs.h <<_ACEOF
     2926#define GCC_PATH "${backcompiler}"
     2927_ACEOF
     2928
     2929        BACKEND_CC=${backcompiler}
     2930  else
    29792931        # Extract the first word of "gcc", so it can be a program name with args.
    29802932set dummy gcc; ac_word=$2
    29812933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    29822934$as_echo_n "checking for $ac_word... " >&6; }
    2983 if ${ac_cv_path_BACKEND_CC+:} false; then :
     2935if ${ac_cv_path_GCC_PATH+:} false; then :
    29842936  $as_echo_n "(cached) " >&6
    29852937else
    2986   case $BACKEND_CC in
     2938  case $GCC_PATH in
    29872939  [\\/]* | ?:[\\/]*)
    2988   ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
     2940  ac_cv_path_GCC_PATH="$GCC_PATH" # Let the user override the test with a path.
    29892941  ;;
    29902942  *)
     
    29962948    for ac_exec_ext in '' $ac_executable_extensions; do
    29972949  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2998     ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
     2950    ac_cv_path_GCC_PATH="$as_dir/$ac_word$ac_exec_ext"
    29992951    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    30002952    break 2
     
    30042956IFS=$as_save_IFS
    30052957
     2958  test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A"
    30062959  ;;
    30072960esac
    30082961fi
    3009 BACKEND_CC=$ac_cv_path_BACKEND_CC
    3010 if test -n "$BACKEND_CC"; then
    3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
    3012 $as_echo "$BACKEND_CC" >&6; }
     2962GCC_PATH=$ac_cv_path_GCC_PATH
     2963if test -n "$GCC_PATH"; then
     2964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_PATH" >&5
     2965$as_echo "$GCC_PATH" >&6; }
    30132966else
    30142967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    30162969fi
    30172970
    3018         # check gcc installed
    3019         if test "x$BACKEND_CC" = "x"; then
     2971
     2972        if test "$GCC_PATH" = "N/A"; then
    30202973                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
    30212974                exit 1
    30222975        fi
    3023 fi
    30242976
    30252977cat >>confdefs.h <<_ACEOF
    3026 #define CFA_BACKEND_CC "${BACKEND_CC}"
    3027 _ACEOF
    3028 
     2978#define GCC_PATH "${GCC_PATH}"
     2979_ACEOF
     2980
     2981        BACKEND_CC=${GCC_PATH}
     2982  fi
    30292983
    30302984
     
    30452999        cfa_incdir="${cfa_prefix}/include"
    30463000else
    3047         cfa_incdir=${includedir}
     3001        cfa_incdir=${$includedir}
    30483002fi
    30493003
     
    30793033
    30803034CFA_LIBDIR=${cfa_libdir}
    3081 
    3082 
    3083 
    3084 cat >>confdefs.h <<_ACEOF
    3085 #define CFA_FLAGS "${CFAFLAGS}"
    3086 _ACEOF
    3087 
    3088 CFA_FLAGS=${CFAFLAGS}
    30893035
    30903036
     
    58065752
    58075753
    5808 ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/tests/Makefile src/libcfa/Makefile"
     5754ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/libcfa/Makefile"
    58095755
    58105756
     
    65526498    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    65536499    "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
    6554     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
    65556500    "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
    65566501
Note: See TracChangeset for help on using the changeset viewer.