Changeset 8e5724e for configure


Ignore:
Timestamp:
Nov 29, 2016, 4:47:15 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
148f7290
Parents:
1f44196
Message:

Added the CFA_DEBUG flag and the libhdr folder to libcfa compilation.
Compilation now has an assambly compiler.
Added first assembly file to compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1f44196 r8e5724e  
    616616YFLAGS
    617617YACC
     618am__fastdepCCAS_FALSE
     619am__fastdepCCAS_TRUE
     620CCASDEPMODE
     621CCASFLAGS
     622CCAS
    618623am__fastdepCC_FALSE
    619624am__fastdepCC_TRUE
     
    733738CC
    734739CFLAGS
     740CCAS
     741CCASFLAGS
    735742YACC
    736743YFLAGS
     
    13741381  CC          C compiler command
    13751382  CFLAGS      C compiler flags
     1383  CCAS        assembler compiler command (defaults to CC)
     1384  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
    13761385  YACC        The `Yet Another Compiler Compiler' implementation to use.
    13771386              Defaults to the first program found out of: `bison -y', `byacc',
     
    45034512  am__fastdepCC_TRUE='#'
    45044513  am__fastdepCC_FALSE=
     4514fi
     4515
     4516
     4517# By default we simply use the C compiler to build assembly code.
     4518
     4519test "${CCAS+set}" = set || CCAS=$CC
     4520test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
     4521
     4522
     4523
     4524depcc="$CCAS"   am_compiler_list=
     4525
     4526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     4527$as_echo_n "checking dependency style of $depcc... " >&6; }
     4528if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
     4529  $as_echo_n "(cached) " >&6
     4530else
     4531  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4532  # We make a subdir and do the tests there.  Otherwise we can end up
     4533  # making bogus files that we don't know about and never remove.  For
     4534  # instance it was reported that on HP-UX the gcc test will end up
     4535  # making a dummy file named `D' -- because `-MD' means `put the output
     4536  # in D'.
     4537  rm -rf conftest.dir
     4538  mkdir conftest.dir
     4539  # Copy depcomp to subdir because otherwise we won't find it if we're
     4540  # using a relative directory.
     4541  cp "$am_depcomp" conftest.dir
     4542  cd conftest.dir
     4543  # We will build objects and dependencies in a subdirectory because
     4544  # it helps to detect inapplicable dependency modes.  For instance
     4545  # both Tru64's cc and ICC support -MD to output dependencies as a
     4546  # side effect of compilation, but ICC will put the dependencies in
     4547  # the current directory while Tru64 will put them in the object
     4548  # directory.
     4549  mkdir sub
     4550
     4551  am_cv_CCAS_dependencies_compiler_type=none
     4552  if test "$am_compiler_list" = ""; then
     4553     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4554  fi
     4555  am__universal=false
     4556
     4557
     4558  for depmode in $am_compiler_list; do
     4559    # Setup a source with many dependencies, because some compilers
     4560    # like to wrap large dependency lists on column 80 (with \), and
     4561    # we should not choose a depcomp mode which is confused by this.
     4562    #
     4563    # We need to recreate these files for each test, as the compiler may
     4564    # overwrite some of them when testing with obscure command lines.
     4565    # This happens at least with the AIX C compiler.
     4566    : > sub/conftest.c
     4567    for i in 1 2 3 4 5 6; do
     4568      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     4569      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     4570      # Solaris 8's {/usr,}/bin/sh.
     4571      touch sub/conftst$i.h
     4572    done
     4573    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     4574
     4575    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4576    # mode.  It turns out that the SunPro C++ compiler does not properly
     4577    # handle `-M -o', and we need to detect this.  Also, some Intel
     4578    # versions had trouble with output in subdirs
     4579    am__obj=sub/conftest.${OBJEXT-o}
     4580    am__minus_obj="-o $am__obj"
     4581    case $depmode in
     4582    gcc)
     4583      # This depmode causes a compiler race in universal mode.
     4584      test "$am__universal" = false || continue
     4585      ;;
     4586    nosideeffect)
     4587      # after this tag, mechanisms are not by side-effect, so they'll
     4588      # only be used when explicitly requested
     4589      if test "x$enable_dependency_tracking" = xyes; then
     4590        continue
     4591      else
     4592        break
     4593      fi
     4594      ;;
     4595    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     4596      # This compiler won't grok `-c -o', but also, the minuso test has
     4597      # not run yet.  These depmodes are late enough in the game, and
     4598      # so weak that their functioning should not be impacted.
     4599      am__obj=conftest.${OBJEXT-o}
     4600      am__minus_obj=
     4601      ;;
     4602    none) break ;;
     4603    esac
     4604    if depmode=$depmode \
     4605       source=sub/conftest.c object=$am__obj \
     4606       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     4607       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     4608         >/dev/null 2>conftest.err &&
     4609       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     4610       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     4611       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     4612       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4613      # icc doesn't choke on unknown options, it will just issue warnings
     4614      # or remarks (even with -Werror).  So we grep stderr for any message
     4615      # that says an option was ignored or not supported.
     4616      # When given -MP, icc 7.0 and 7.1 complain thusly:
     4617      #   icc: Command line warning: ignoring option '-M'; no argument required
     4618      # The diagnosis changed in icc 8.0:
     4619      #   icc: Command line remark: option '-MP' not supported
     4620      if (grep 'ignoring option' conftest.err ||
     4621          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     4622        am_cv_CCAS_dependencies_compiler_type=$depmode
     4623        break
     4624      fi
     4625    fi
     4626  done
     4627
     4628  cd ..
     4629  rm -rf conftest.dir
     4630else
     4631  am_cv_CCAS_dependencies_compiler_type=none
     4632fi
     4633
     4634fi
     4635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
     4636$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
     4637CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
     4638
     4639 if
     4640  test "x$enable_dependency_tracking" != xno \
     4641  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
     4642  am__fastdepCCAS_TRUE=
     4643  am__fastdepCCAS_FALSE='#'
     4644else
     4645  am__fastdepCCAS_TRUE='#'
     4646  am__fastdepCCAS_FALSE=
    45054647fi
    45064648
     
    59906132if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    59916133  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
     6134Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6135fi
     6136if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
     6137  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
    59926138Usually this means the macro was only invoked conditionally." "$LINENO" 5
    59936139fi
Note: See TracChangeset for help on using the changeset viewer.