Changeset 575a6e5 for libcfa/configure


Ignore:
Timestamp:
Aug 9, 2018, 11:07:05 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
7a7ab42
Parents:
a5121bf
Message:

Cross compilation appears to be working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    ra5121bf r575a6e5  
    623623CFA_PREFIX
    624624CFA_NAME
     625CONFIG_CFAFLAGS
     626CONFIG_CFLAGS
    625627ARCH_FLAGS
    626628CFACPP
     
    629631CONFIGURATION
    630632ARCHITECTURE
    631 AM_BACKSLASH
    632 AM_DEFAULT_VERBOSITY
    633 AM_DEFAULT_V
    634 AM_V
    635633am__untar
    636634am__tar
     
    656654INSTALL_SCRIPT
    657655INSTALL_PROGRAM
     656AM_BACKSLASH
     657AM_DEFAULT_VERBOSITY
     658AM_DEFAULT_V
     659AM_V
    658660target_alias
    659661host_alias
     
    19101912
    19111913
     1914# Check whether --enable-silent-rules was given.
     1915if test "${enable_silent_rules+set}" = set; then :
     1916  enableval=$enable_silent_rules;
     1917fi
     1918
     1919case $enable_silent_rules in # (((
     1920  yes) AM_DEFAULT_VERBOSITY=0;;
     1921   no) AM_DEFAULT_VERBOSITY=1;;
     1922    *) AM_DEFAULT_VERBOSITY=0;;
     1923esac
     1924am_make=${MAKE-make}
     1925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
     1926$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
     1927if ${am_cv_make_support_nested_variables+:} false; then :
     1928  $as_echo_n "(cached) " >&6
     1929else
     1930  if $as_echo 'TRUE=$(BAR$(V))
     1931BAR0=false
     1932BAR1=true
     1933V=1
     1934am__doit:
     1935        @$(TRUE)
     1936.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     1937  am_cv_make_support_nested_variables=yes
     1938else
     1939  am_cv_make_support_nested_variables=no
     1940fi
     1941fi
     1942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
     1943$as_echo "$am_cv_make_support_nested_variables" >&6; }
     1944if test $am_cv_make_support_nested_variables = yes; then
     1945    AM_V='$(V)'
     1946  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     1947else
     1948  AM_V=$AM_DEFAULT_VERBOSITY
     1949  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
     1950fi
     1951AM_BACKSLASH='\'
     1952
    19121953
    19131954
     
    23432384rmdir .tst 2>/dev/null
    23442385
    2345 # Check whether --enable-silent-rules was given.
    2346 if test "${enable_silent_rules+set}" = set; then :
    2347   enableval=$enable_silent_rules;
    2348 fi
    2349 
    2350 case $enable_silent_rules in # (((
    2351   yes) AM_DEFAULT_VERBOSITY=0;;
    2352    no) AM_DEFAULT_VERBOSITY=1;;
    2353     *) AM_DEFAULT_VERBOSITY=1;;
    2354 esac
    2355 am_make=${MAKE-make}
    2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
    2357 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
    2358 if ${am_cv_make_support_nested_variables+:} false; then :
    2359   $as_echo_n "(cached) " >&6
    2360 else
    2361   if $as_echo 'TRUE=$(BAR$(V))
    2362 BAR0=false
    2363 BAR1=true
    2364 V=1
    2365 am__doit:
    2366         @$(TRUE)
    2367 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
    2368   am_cv_make_support_nested_variables=yes
    2369 else
    2370   am_cv_make_support_nested_variables=no
    2371 fi
    2372 fi
    2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
    2374 $as_echo "$am_cv_make_support_nested_variables" >&6; }
    2375 if test $am_cv_make_support_nested_variables = yes; then
    2376     AM_V='$(V)'
    2377   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
    2378 else
    2379   AM_V=$AM_DEFAULT_VERBOSITY
    2380   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
    2381 fi
    2382 AM_BACKSLASH='\'
    2383 
    23842386if test "`cd $srcdir && pwd`" != "`pwd`"; then
    23852387  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
     
    24982500
    24992501
     2502# don't use the default CFLAGS as they unconditonnaly add -O2
     2503: ${CFLAGS=""}
     2504
    25002505# Allow program name tansformation
    25012506# will fill program_transform_name with appropriate sed regex
     
    25112516
    25122517
     2518#==============================================================================
     2519#Handle specific flags
    25132520case $ARCHITECTURE in
    25142521        "x64"        ) ARCH_FLAGS="-m64";;
     
    25162523        "arm"        ) ARCH_FLAGS="";;
    25172524esac
     2525
     2526
     2527
     2528case $CONFIGURATION in
     2529        "debug"   )
     2530                CONFIG_CFLAGS="-O0 -g"
     2531                CONFIG_CFAFLAGS="-debug"
     2532        ;;
     2533        "nodebug" )
     2534                CONFIG_CFLAGS="-O2 -s"
     2535                CONFIG_CFAFLAGS="-nodebug"
     2536        ;;
     2537        "nolib"   )
     2538                CONFIG_CFLAGS=""
     2539                CONFIG_CFAFLAGS=""
     2540        ;;
     2541esac
     2542
    25182543
    25192544
Note: See TracChangeset for help on using the changeset viewer.