Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r65c61ec r375a068  
    616616YFLAGS
    617617YACC
     618am__fastdepCCAS_FALSE
     619am__fastdepCCAS_TRUE
     620CCASDEPMODE
     621CCASFLAGS
     622CCAS
    618623am__fastdepCC_FALSE
    619624am__fastdepCC_TRUE
     
    639644CXXFLAGS
    640645CXX
     646MACHINE_TYPE
     647host_os
     648host_vendor
     649host_cpu
     650host
     651build_os
     652build_vendor
     653build_cpu
     654build
    641655CFA_FLAGS
    642656CFA_LIBDIR
     
    644658CFA_INCDIR
    645659CFA_PREFIX
     660BUILD_NO_LIB_FALSE
     661BUILD_NO_LIB_TRUE
     662BUILD_DEBUG_FALSE
     663BUILD_DEBUG_TRUE
     664BUILD_RELEASE_FALSE
     665BUILD_RELEASE_TRUE
    646666CFA_BACKEND_CC
    647667BACKEND_CC
     
    720740enable_maintainer_mode
    721741with_backend_compiler
     742enable_target_release
     743enable_target_debug
    722744enable_dependency_tracking
    723745'
     
    733755CC
    734756CFLAGS
     757CCAS
     758CCASFLAGS
    735759YACC
    736760YFLAGS
     
    13391363  --program-suffix=SUFFIX            append SUFFIX to installed program names
    13401364  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     1365
     1366System types:
     1367  --build=BUILD     configure for building on BUILD [guessed]
     1368  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    13411369_ACEOF
    13421370fi
     
    13561384  --disable-maintainer-mode  disable make rules and dependencies not useful
    13571385                          (and sometimes confusing) to the casual installer
     1386  --enable-target-release Build and install the release target
     1387  --enable-target-debug   Build and install the debug target
    13581388  --disable-dependency-tracking  speeds up one-time build
    13591389  --enable-dependency-tracking   do not reject slow dependency extractors
     
    13741404  CC          C compiler command
    13751405  CFLAGS      C compiler flags
     1406  CCAS        assembler compiler command (defaults to CC)
     1407  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
    13761408  YACC        The `Yet Another Compiler Compiler' implementation to use.
    13771409              Defaults to the first program found out of: `bison -y', `byacc',
     
    30793111
    30803112
     3113
     3114
     3115# Check whether --enable-target-release was given.
     3116if test "${enable_target_release+set}" = set; then :
     3117  enableval=$enable_target_release;
     3118fi
     3119
     3120# Check whether --enable-target-debug was given.
     3121if test "${enable_target_debug+set}" = set; then :
     3122  enableval=$enable_target_debug;
     3123fi
     3124
     3125
     3126case "$enable_target_release" in
     3127        yes)
     3128                case "$enable_target_debug" in
     3129                        yes)
     3130                                build_release="yes"
     3131                                build_debug="yes"
     3132                                ;;
     3133                        no)
     3134                                build_release="yes"
     3135                                build_debug="no"
     3136                                ;;
     3137                        *)
     3138                                build_release="yes"
     3139                                build_debug="no"
     3140                                ;;
     3141                esac
     3142                ;;
     3143        no)
     3144                case "$enable_target_debug" in
     3145                        yes)
     3146                                build_release="no"
     3147                                build_debug="yes"
     3148                                ;;
     3149                        no)
     3150                                build_release="no"
     3151                                build_debug="no"
     3152                                ;;
     3153                        *)
     3154                                build_release="no"
     3155                                build_debug="yes"
     3156                                ;;
     3157                esac
     3158                ;;
     3159        *)
     3160                case "$enable_target_debug" in
     3161                        yes)
     3162                                build_release="no"
     3163                                build_debug="yes"
     3164                                ;;
     3165                        no)
     3166                                build_release="yes"
     3167                                build_debug="no"
     3168                                ;;
     3169                        *)
     3170                                build_release="yes"
     3171                                build_debug="yes"
     3172                                ;;
     3173                esac
     3174                ;;
     3175esac
     3176
     3177 if test "x$build_release" = "xyes"; then
     3178  BUILD_RELEASE_TRUE=
     3179  BUILD_RELEASE_FALSE='#'
     3180else
     3181  BUILD_RELEASE_TRUE='#'
     3182  BUILD_RELEASE_FALSE=
     3183fi
     3184
     3185 if test "x$build_debug" = "xyes"; then
     3186  BUILD_DEBUG_TRUE=
     3187  BUILD_DEBUG_FALSE='#'
     3188else
     3189  BUILD_DEBUG_TRUE='#'
     3190  BUILD_DEBUG_FALSE=
     3191fi
     3192
     3193 if test "x$build_release$build_debug" = "xnono"; then
     3194  BUILD_NO_LIB_TRUE=
     3195  BUILD_NO_LIB_FALSE='#'
     3196else
     3197  BUILD_NO_LIB_TRUE='#'
     3198  BUILD_NO_LIB_FALSE=
     3199fi
     3200
     3201
    30813202if test "x$prefix" = "xNONE"; then
    30823203        cfa_prefix=${ac_default_prefix}
     
    31373258
    31383259CFA_FLAGS=${CFAFLAGS}
     3260
     3261
     3262# Make sure we can run config.sub.
     3263$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3264  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     3265
     3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     3267$as_echo_n "checking build system type... " >&6; }
     3268if ${ac_cv_build+:} false; then :
     3269  $as_echo_n "(cached) " >&6
     3270else
     3271  ac_build_alias=$build_alias
     3272test "x$ac_build_alias" = x &&
     3273  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3274test "x$ac_build_alias" = x &&
     3275  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     3276ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3277  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     3278
     3279fi
     3280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     3281$as_echo "$ac_cv_build" >&6; }
     3282case $ac_cv_build in
     3283*-*-*) ;;
     3284*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     3285esac
     3286build=$ac_cv_build
     3287ac_save_IFS=$IFS; IFS='-'
     3288set x $ac_cv_build
     3289shift
     3290build_cpu=$1
     3291build_vendor=$2
     3292shift; shift
     3293# Remember, the first character of IFS is used to create $*,
     3294# except with old shells:
     3295build_os=$*
     3296IFS=$ac_save_IFS
     3297case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3298
     3299
     3300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     3301$as_echo_n "checking host system type... " >&6; }
     3302if ${ac_cv_host+:} false; then :
     3303  $as_echo_n "(cached) " >&6
     3304else
     3305  if test "x$host_alias" = x; then
     3306  ac_cv_host=$ac_cv_build
     3307else
     3308  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3309    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     3310fi
     3311
     3312fi
     3313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     3314$as_echo "$ac_cv_host" >&6; }
     3315case $ac_cv_host in
     3316*-*-*) ;;
     3317*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     3318esac
     3319host=$ac_cv_host
     3320ac_save_IFS=$IFS; IFS='-'
     3321set x $ac_cv_host
     3322shift
     3323host_cpu=$1
     3324host_vendor=$2
     3325shift; shift
     3326# Remember, the first character of IFS is used to create $*,
     3327# except with old shells:
     3328host_os=$*
     3329IFS=$ac_save_IFS
     3330case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3331
     3332
     3333MACHINE_TYPE=$host_cpu
    31393334
    31403335
     
    45034698  am__fastdepCC_TRUE='#'
    45044699  am__fastdepCC_FALSE=
     4700fi
     4701
     4702
     4703# By default we simply use the C compiler to build assembly code.
     4704
     4705test "${CCAS+set}" = set || CCAS=$CC
     4706test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
     4707
     4708
     4709
     4710depcc="$CCAS"   am_compiler_list=
     4711
     4712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     4713$as_echo_n "checking dependency style of $depcc... " >&6; }
     4714if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
     4715  $as_echo_n "(cached) " >&6
     4716else
     4717  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4718  # We make a subdir and do the tests there.  Otherwise we can end up
     4719  # making bogus files that we don't know about and never remove.  For
     4720  # instance it was reported that on HP-UX the gcc test will end up
     4721  # making a dummy file named `D' -- because `-MD' means `put the output
     4722  # in D'.
     4723  rm -rf conftest.dir
     4724  mkdir conftest.dir
     4725  # Copy depcomp to subdir because otherwise we won't find it if we're
     4726  # using a relative directory.
     4727  cp "$am_depcomp" conftest.dir
     4728  cd conftest.dir
     4729  # We will build objects and dependencies in a subdirectory because
     4730  # it helps to detect inapplicable dependency modes.  For instance
     4731  # both Tru64's cc and ICC support -MD to output dependencies as a
     4732  # side effect of compilation, but ICC will put the dependencies in
     4733  # the current directory while Tru64 will put them in the object
     4734  # directory.
     4735  mkdir sub
     4736
     4737  am_cv_CCAS_dependencies_compiler_type=none
     4738  if test "$am_compiler_list" = ""; then
     4739     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4740  fi
     4741  am__universal=false
     4742
     4743
     4744  for depmode in $am_compiler_list; do
     4745    # Setup a source with many dependencies, because some compilers
     4746    # like to wrap large dependency lists on column 80 (with \), and
     4747    # we should not choose a depcomp mode which is confused by this.
     4748    #
     4749    # We need to recreate these files for each test, as the compiler may
     4750    # overwrite some of them when testing with obscure command lines.
     4751    # This happens at least with the AIX C compiler.
     4752    : > sub/conftest.c
     4753    for i in 1 2 3 4 5 6; do
     4754      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     4755      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     4756      # Solaris 8's {/usr,}/bin/sh.
     4757      touch sub/conftst$i.h
     4758    done
     4759    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     4760
     4761    # We check with `-c' and `-o' for the sake of the "dashmstdout"
     4762    # mode.  It turns out that the SunPro C++ compiler does not properly
     4763    # handle `-M -o', and we need to detect this.  Also, some Intel
     4764    # versions had trouble with output in subdirs
     4765    am__obj=sub/conftest.${OBJEXT-o}
     4766    am__minus_obj="-o $am__obj"
     4767    case $depmode in
     4768    gcc)
     4769      # This depmode causes a compiler race in universal mode.
     4770      test "$am__universal" = false || continue
     4771      ;;
     4772    nosideeffect)
     4773      # after this tag, mechanisms are not by side-effect, so they'll
     4774      # only be used when explicitly requested
     4775      if test "x$enable_dependency_tracking" = xyes; then
     4776        continue
     4777      else
     4778        break
     4779      fi
     4780      ;;
     4781    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     4782      # This compiler won't grok `-c -o', but also, the minuso test has
     4783      # not run yet.  These depmodes are late enough in the game, and
     4784      # so weak that their functioning should not be impacted.
     4785      am__obj=conftest.${OBJEXT-o}
     4786      am__minus_obj=
     4787      ;;
     4788    none) break ;;
     4789    esac
     4790    if depmode=$depmode \
     4791       source=sub/conftest.c object=$am__obj \
     4792       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     4793       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     4794         >/dev/null 2>conftest.err &&
     4795       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     4796       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     4797       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     4798       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4799      # icc doesn't choke on unknown options, it will just issue warnings
     4800      # or remarks (even with -Werror).  So we grep stderr for any message
     4801      # that says an option was ignored or not supported.
     4802      # When given -MP, icc 7.0 and 7.1 complain thusly:
     4803      #   icc: Command line warning: ignoring option '-M'; no argument required
     4804      # The diagnosis changed in icc 8.0:
     4805      #   icc: Command line remark: option '-MP' not supported
     4806      if (grep 'ignoring option' conftest.err ||
     4807          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     4808        am_cv_CCAS_dependencies_compiler_type=$depmode
     4809        break
     4810      fi
     4811    fi
     4812  done
     4813
     4814  cd ..
     4815  rm -rf conftest.dir
     4816else
     4817  am_cv_CCAS_dependencies_compiler_type=none
     4818fi
     4819
     4820fi
     4821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
     4822$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
     4823CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
     4824
     4825 if
     4826  test "x$enable_dependency_tracking" != xno \
     4827  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
     4828  am__fastdepCCAS_TRUE=
     4829  am__fastdepCCAS_FALSE='#'
     4830else
     4831  am__fastdepCCAS_TRUE='#'
     4832  am__fastdepCCAS_FALSE=
    45054833fi
    45064834
     
    58566184
    58576185
    5858 ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/tests/Makefile src/libcfa/Makefile"
     6186ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/examples/Makefile src/tests/Makefile src/prelude/Makefile src/libcfa/Makefile"
    58596187
    58606188
     
    59806308Usually this means the macro was only invoked conditionally." "$LINENO" 5
    59816309fi
     6310if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
     6311  as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
     6312Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6313fi
     6314if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
     6315  as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
     6316Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6317fi
     6318if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
     6319  as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
     6320Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6321fi
    59826322if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    59836323  as_fn_error $? "conditional \"AMDEP\" was never defined.
     
    59906330if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    59916331  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
     6332Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6333fi
     6334if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
     6335  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
    59926336Usually this means the macro was only invoked conditionally." "$LINENO" 5
    59936337fi
     
    66036947    "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
    66046948    "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
     6949    "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;;
    66056950    "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
    66066951
     
    73337678
    73347679
     7680if test -z "$BUILD_RELEASE_TRUE"; then :
     7681  if test -z "$BUILD_DEBUG_TRUE"; then :
     7682  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release & debug" >&5
     7683$as_echo "$as_me: Building libcfa for target: release & debug" >&6;}
     7684else
     7685  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release" >&5
     7686$as_echo "$as_me: Building libcfa for target: release" >&6;}
     7687fi
     7688else
     7689  if test -z "$BUILD_DEBUG_TRUE"; then :
     7690  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
     7691$as_echo "$as_me: Building libcfa for target: debug" >&6;}
     7692else
     7693  { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
     7694$as_echo "$as_me: Running cfa without libcfa" >&6;}
     7695fi
     7696fi
     7697
    73357698# Final text
    73367699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
Note: See TracChangeset for help on using the changeset viewer.