Changes in configure [e24f13a:90c3b1c]
Legend:
- Unmodified
- Added
- Removed
-
configure
re24f13a r90c3b1c 643 643 CFA_INCDIR 644 644 CFA_PREFIX 645 CFA_BACKEND_CC646 645 BACKEND_CC 646 GCC_PATH 647 647 MAINT 648 648 MAINTAINER_MODE_FALSE … … 2922 2922 # Check whether --with-backend-compiler was given. 2923 2923 if test "${with_backend_compiler+set}" = set; then : 2924 withval=$with_backend_compiler; backendcompiler=$withval 2925 else 2926 backendcompiler="" 2927 fi 2928 2929 if test "x$backendcompiler" != x; then 2930 BACKEND_CC=${backendcompiler} 2931 else 2924 withval=$with_backend_compiler; backcompiler=$withval 2925 else 2926 backcompiler="" 2927 fi 2928 2929 if test x$backcompiler != x; then 2930 cat >>confdefs.h <<_ACEOF 2931 #define GCC_PATH "${backcompiler}" 2932 _ACEOF 2933 2934 BACKEND_CC=${backcompiler} 2935 else 2932 2936 # Extract the first word of "gcc", so it can be a program name with args. 2933 2937 set dummy gcc; ac_word=$2 2934 2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2935 2939 $as_echo_n "checking for $ac_word... " >&6; } 2936 if ${ac_cv_path_ BACKEND_CC+:} false; then :2940 if ${ac_cv_path_GCC_PATH+:} false; then : 2937 2941 $as_echo_n "(cached) " >&6 2938 2942 else 2939 case $ BACKEND_CCin2943 case $GCC_PATH in 2940 2944 [\\/]* | ?:[\\/]*) 2941 ac_cv_path_ BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.2945 ac_cv_path_GCC_PATH="$GCC_PATH" # Let the user override the test with a path. 2942 2946 ;; 2943 2947 *) … … 2949 2953 for ac_exec_ext in '' $ac_executable_extensions; do 2950 2954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2951 ac_cv_path_ BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"2955 ac_cv_path_GCC_PATH="$as_dir/$ac_word$ac_exec_ext" 2952 2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2953 2957 break 2 … … 2957 2961 IFS=$as_save_IFS 2958 2962 2963 test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A" 2959 2964 ;; 2960 2965 esac 2961 2966 fi 2962 BACKEND_CC=$ac_cv_path_BACKEND_CC 2963 if test -n "$ BACKEND_CC"; then2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ BACKEND_CC" >&52965 $as_echo "$ BACKEND_CC" >&6; }2967 GCC_PATH=$ac_cv_path_GCC_PATH 2968 if test -n "$GCC_PATH"; then 2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_PATH" >&5 2970 $as_echo "$GCC_PATH" >&6; } 2966 2971 else 2967 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 … … 2970 2975 2971 2976 2972 if test " x$BACKEND_CC" = "x"; then2977 if test "$GCC_PATH" = "N/A"; then 2973 2978 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 2974 2979 exit 1 2975 2980 fi 2976 fi2977 2981 2978 2982 cat >>confdefs.h <<_ACEOF 2979 #define CFA_BACKEND_CC "${BACKEND_CC}" 2980 _ACEOF 2981 2983 #define GCC_PATH "${GCC_PATH}" 2984 _ACEOF 2985 2986 BACKEND_CC=${GCC_PATH} 2987 fi 2982 2988 2983 2989
Note:
See TracChangeset
for help on using the changeset viewer.