Changeset 90152a4 for configure


Ignore:
Timestamp:
Aug 27, 2018, 4:40:34 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
Children:
b7c89aa
Parents:
f9feab8 (diff), 305581d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into cleanup-dtors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rf9feab8 r90152a4  
    665665CXX
    666666CFA_FLAGS
    667 MACHINE_TYPE
     667LIBCFA_TARGET_MAKEFILES
     668LIBCFA_TARGET_DIRS
     669TARGET_HOSTS
     670HOST_FLAGS
    668671host_os
    669672host_vendor
     
    674677build_cpu
    675678build
     679BUILD_IN_TREE_FLAGS
     680CFACPP
     681CFACC
     682DRIVER_DIR
    676683CFA_LIBDIR
    677684CFA_BINDIR
    678685CFA_INCDIR
    679686CFA_PREFIX
    680 BUILD_CONCURRENCY_FALSE
    681 BUILD_CONCURRENCY_TRUE
    682 BUILD_NO_LIB_FALSE
    683 BUILD_NO_LIB_TRUE
    684 BUILD_DEBUG_FALSE
    685 BUILD_DEBUG_TRUE
    686 BUILD_RELEASE_FALSE
    687 BUILD_RELEASE_TRUE
    688687CFA_BACKEND_CC
    689688BACKEND_CC
     689DOendif
     690DOifskipcompile
    690691CFA_NAME
    691 MAINT
    692 MAINTAINER_MODE_FALSE
    693 MAINTAINER_MODE_TRUE
    694692am__untar
    695693am__tar
     
    762760enable_option_checking
    763761enable_silent_rules
    764 enable_maintainer_mode
    765762with_cfa_name
    766763with_backend_compiler
    767 enable_target_release
    768 enable_target_debug
    769 enable_threading
     764with_target_hosts
    770765enable_dependency_tracking
    771766'
     
    14171412  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14181413  --disable-silent-rules  verbose build output (undo: "make V=0")
    1419   --disable-maintainer-mode
    1420                           disable make rules and dependencies not useful (and
    1421                           sometimes confusing) to the casual installer
    1422   --enable-target-release Build and install the release target
    1423   --enable-target-debug   Build and install the debug target
    1424   --enable-threading      Build and install libcfa with threading support
    1425                           (Enabled by default)
    14261414  --enable-dependency-tracking
    14271415                          do not reject slow dependency extractors
     
    14341422  --with-cfa-name=NAME     NAME too which cfa will be installed
    14351423  --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
     1424  --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib
    14361425
    14371426Some influential environment variables:
     
    24902479
    24912480#AC_CONFIG_SRCDIR([src/main.cc])
    2492 ac_config_headers="$ac_config_headers config.h"
     2481ac_config_headers="$ac_config_headers config.h:src/config.h.in"
    24932482
    24942483# Check whether --enable-silent-rules was given.
     
    25002489  yes) AM_DEFAULT_VERBOSITY=0;;
    25012490   no) AM_DEFAULT_VERBOSITY=1;;
    2502     *) AM_DEFAULT_VERBOSITY=1;;
     2491    *) AM_DEFAULT_VERBOSITY=0;;
    25032492esac
    25042493am_make=${MAKE-make}
     
    25312520AM_BACKSLASH='\'
    25322521
     2522
     2523
     2524
     2525
     2526
     2527
     2528
     2529
     2530
     2531# don't use the default CFLAGS as they unconditonnaly add -O2
     2532: ${CFLAGS=""}
    25332533
    25342534am__api_version='1.15'
     
    30733073
    30743074
    3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
    3076 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
    3077     # Check whether --enable-maintainer-mode was given.
    3078 if test "${enable_maintainer_mode+set}" = set; then :
    3079   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
    3080 else
    3081   USE_MAINTAINER_MODE=yes
    3082 fi
    3083 
    3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
    3085 $as_echo "$USE_MAINTAINER_MODE" >&6; }
    3086    if test $USE_MAINTAINER_MODE = yes; then
    3087   MAINTAINER_MODE_TRUE=
    3088   MAINTAINER_MODE_FALSE='#'
    3089 else
    3090   MAINTAINER_MODE_TRUE='#'
    3091   MAINTAINER_MODE_FALSE=
    3092 fi
    3093 
    3094   MAINT=$MAINTAINER_MODE_TRUE
    3095 
    3096                         # may require auto* software to be installed
    3097 
    30983075# Allow program name tansformation
    30993076# will fill program_transform_name with appropriate sed regex
    31003077
    31013078
     3079#==============================================================================
    31023080#Trasforming cc1 will break compilation
    3103 if test "${program_transform_name}" = ""; then
    3104     as_fn_error $? "Program transform not supported.
    3105                 Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
    3106 fi
    3107 
     3081
     3082        if test "${program_transform_name}" = ""; then
     3083        as_fn_error $? "Program transform not supported.
     3084                        Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
     3085        fi
     3086
     3087        #Define the new name of the installed command
    31083088
    31093089# Check whether --with-cfa-name was given.
     
    31153095
    31163096
    3117 #Define the new name of the installed command
    3118 CFA_NAME=${cfa_name}
    3119 
     3097        CFA_NAME=${cfa_name}
     3098
     3099
     3100
     3101#==============================================================================
     3102# version information
    31203103
    31213104rm -f version
     
    31693152
    31703153
    3171 # Installation paths
    3172 
     3154#==============================================================================
     3155# HACK to be able to use conditionnals inside makefiles
     3156DOifskipcompile='ifeq ($(skipcompile),yes)
     3157else'
     3158
     3159
     3160
     3161DOendif='endif'
     3162
     3163
     3164
     3165#==============================================================================
     3166# backend compiler implementation
    31733167
    31743168# Check whether --with-backend-compiler was given.
     
    31803174
    31813175if test "x$backendcompiler" != "x"; then
    3182         BACKEND_CC=${backendcompiler}
    3183 else
    3184         # Extract the first word of "gcc", so it can be a program name with args.
     3176       BACKEND_CC=${backendcompiler}
     3177else
     3178       # Extract the first word of "gcc", so it can be a program name with args.
    31853179set dummy gcc; ac_word=$2
    31863180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     
    32213215fi
    32223216
    3223         # check gcc installed
    3224         if test "x$BACKEND_CC" = "x"; then
    3225                 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
    3226                 exit 1
    3227         fi
     3217       # check gcc installed
     3218       if test "x$BACKEND_CC" = "x"; then
     3219               as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
     3220               exit 1
     3221       fi
    32283222fi
    32293223
     
    32343228
    32353229
    3236 
    3237 
    3238 # Check whether --enable-target-release was given.
    3239 if test "${enable_target_release+set}" = set; then :
    3240   enableval=$enable_target_release;
    3241 fi
    3242 
    3243 # Check whether --enable-target-debug was given.
    3244 if test "${enable_target_debug+set}" = set; then :
    3245   enableval=$enable_target_debug;
    3246 fi
    3247 
    3248 # Check whether --enable-threading was given.
    3249 if test "${enable_threading+set}" = set; then :
    3250   enableval=$enable_threading; case "${enableval}" in
    3251   yes) build_threading="yes" ;;
    3252   no)  build_threading="no" ;;
    3253   *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
    3254 esac
    3255 else
    3256   build_threading="yes"
    3257 fi
    3258 
    3259 
    3260 case "$enable_target_release" in
    3261         yes)
    3262                 case "$enable_target_debug" in
    3263                         yes)
    3264                                 build_release="yes"
    3265                                 build_debug="yes"
    3266                                 ;;
    3267                         no)
    3268                                 build_release="yes"
    3269                                 build_debug="no"
    3270                                 ;;
    3271                         *)
    3272                                 build_release="yes"
    3273                                 build_debug="no"
    3274                                 ;;
    3275                 esac
    3276                 ;;
    3277         no)
    3278                 case "$enable_target_debug" in
    3279                         yes)
    3280                                 build_release="no"
    3281                                 build_debug="yes"
    3282                                 ;;
    3283                         no)
    3284                                 build_release="no"
    3285                                 build_debug="no"
    3286                                 ;;
    3287                         *)
    3288                                 build_release="no"
    3289                                 build_debug="yes"
    3290                                 ;;
    3291                 esac
    3292                 ;;
    3293         *)
    3294                 case "$enable_target_debug" in
    3295                         yes)
    3296                                 build_release="no"
    3297                                 build_debug="yes"
    3298                                 ;;
    3299                         no)
    3300                                 build_release="yes"
    3301                                 build_debug="no"
    3302                                 ;;
    3303                         *)
    3304                                 build_release="yes"
    3305                                 build_debug="yes"
    3306                                 ;;
    3307                 esac
    3308                 ;;
    3309 esac
    3310 
    3311  if test "x$build_release" = "xyes"; then
    3312   BUILD_RELEASE_TRUE=
    3313   BUILD_RELEASE_FALSE='#'
    3314 else
    3315   BUILD_RELEASE_TRUE='#'
    3316   BUILD_RELEASE_FALSE=
    3317 fi
    3318 
    3319  if test "x$build_debug" = "xyes"; then
    3320   BUILD_DEBUG_TRUE=
    3321   BUILD_DEBUG_FALSE='#'
    3322 else
    3323   BUILD_DEBUG_TRUE='#'
    3324   BUILD_DEBUG_FALSE=
    3325 fi
    3326 
    3327  if test "x$build_release$build_debug" = "xnono"; then
    3328   BUILD_NO_LIB_TRUE=
    3329   BUILD_NO_LIB_FALSE='#'
    3330 else
    3331   BUILD_NO_LIB_TRUE='#'
    3332   BUILD_NO_LIB_FALSE=
    3333 fi
    3334 
    3335  if test "x$build_threading" = "xyes"; then
    3336   BUILD_CONCURRENCY_TRUE=
    3337   BUILD_CONCURRENCY_FALSE='#'
    3338 else
    3339   BUILD_CONCURRENCY_TRUE='#'
    3340   BUILD_CONCURRENCY_FALSE=
    3341 fi
    3342 
    3343 
    3344 if test "x$prefix" = "xNONE"; then
    3345         cfa_prefix=${ac_default_prefix}
    3346 else
    3347         cfa_prefix=${prefix}
    3348 fi
     3230#==============================================================================
     3231# Installation paths
     3232
     3233        if test "x$prefix" = "xNONE"; then
     3234                cfa_prefix=${ac_default_prefix}
     3235        else
     3236                cfa_prefix=${prefix}
     3237        fi
     3238        cfa_prefix="$(readlink -m ${cfa_prefix})/"
    33493239
    33503240cat >>confdefs.h <<_ACEOF
     
    33523242_ACEOF
    33533243
    3354 CFA_PREFIX=${cfa_prefix}
    3355 
    3356 
    3357 if test "$includedir" = '${prefix}/include'; then
    3358         cfa_incdir="${cfa_prefix}/include/${cfa_name}"
    3359 else
    3360         cfa_incdir=${includedir}
    3361 fi
     3244        CFA_PREFIX=${cfa_prefix}
     3245
     3246
     3247        if test "$includedir" = '${prefix}/include'; then
     3248                cfa_incdir="${cfa_prefix}include/${cfa_name}"
     3249        else
     3250                cfa_incdir=${includedir}
     3251        fi
     3252        cfa_incdir="$(readlink -m ${cfa_incdir})/"
    33623253
    33633254cat >>confdefs.h <<_ACEOF
     
    33653256_ACEOF
    33663257
    3367 CFA_INCDIR=${cfa_incdir}
    3368 
    3369 
    3370 if test "$bindir" = '${exec_prefix}/bin'; then
    3371         cfa_bindir="${cfa_prefix}/bin"
    3372 else
    3373         cfa_bindir=${bindir}
    3374 fi
     3258        CFA_INCDIR=${cfa_incdir}
     3259
     3260
     3261        if test "$bindir" = '${exec_prefix}/bin'; then
     3262                cfa_bindir="${cfa_prefix}bin"
     3263        else
     3264                cfa_bindir=${bindir}
     3265        fi
     3266        cfa_bindir="$(readlink -m ${cfa_bindir})/"
    33753267
    33763268cat >>confdefs.h <<_ACEOF
     
    33783270_ACEOF
    33793271
    3380 CFA_BINDIR=${cfa_bindir}
    3381 
    3382 
    3383 if test "$libdir" = '${exec_prefix}/lib'; then
    3384         cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
    3385 else
    3386         cfa_libdir=${libdir}
    3387 fi
     3272        CFA_BINDIR=${cfa_bindir}
     3273
     3274
     3275        if test "$libdir" = '${exec_prefix}/lib'; then
     3276                if test "${ARCHITECTURE}" != ""; then
     3277                        cfa_libdir="${cfa_prefix}lib/${cfa_name}/${ARCHITECTURE}-${CONFIGURATION}/"
     3278                else
     3279                        cfa_libdir="${cfa_prefix}lib/${cfa_name}/"
     3280                fi
     3281        else
     3282                cfa_libdir="${libdir}/${ARCHITECTURE}${CONFIGURATION}"
     3283        fi
     3284        cfa_libdir="$(readlink -m ${cfa_libdir})/"
    33883285
    33893286cat >>confdefs.h <<_ACEOF
     
    33913288_ACEOF
    33923289
    3393 CFA_LIBDIR=${cfa_libdir}
    3394 
    3395 
     3290        CFA_LIBDIR=${cfa_libdir}
     3291
     3292
     3293
     3294#==============================================================================
     3295# Create variables for commonly used targets
     3296
     3297TOP_SRCDIR="$(readlink -m $ac_confdir/)/"
     3298TOP_BUILDDIR="$(readlink -m $ac_pwd/)/"
     3299
     3300
     3301cat >>confdefs.h <<_ACEOF
     3302#define TOP_SRCDIR "$TOP_SRCDIR"
     3303_ACEOF
     3304
     3305
     3306cat >>confdefs.h <<_ACEOF
     3307#define TOP_BUILDDIR "$TOP_BUILDDIR"
     3308_ACEOF
     3309
     3310
     3311DRIVER_DIR=${TOP_BUILDDIR}driver/
     3312CFACC=${DRIVER_DIR}cfa
     3313CFACPP=${DRIVER_DIR}cfa-cpp
     3314
     3315
     3316
     3317
     3318#==============================================================================
     3319# Flag variables needed to build in tree
     3320LIBCFA_SRC='${TOP_SRCDIR}/libcfa/src'
     3321BUILD_IN_TREE_FLAGS="-XCFA -t -B${DRIVER_DIR}"
     3322
     3323
     3324#==============================================================================
     3325# handle the list of hosts to build for
     3326for var in $ac_configure_args
     3327do
     3328        #strip quotes surrouding values
     3329        case $var in
     3330                # skip cross compilation related arguments
     3331                \'--host=*) ;; \'host_alias=*) ;; \'--build=*) ;; \'build_alias=*) ;; \'--target=*) ;; \'target_alias=*) ;;
     3332
     3333                # skip the target hosts
     3334                \'--with-target-hosts=*) ;;
     3335
     3336                # append all other arguments to the sub configure arguments
     3337                *) LIBCFA_GENERAL_ARGS="${LIBCFA_GENERAL_ARGS} $var";;
     3338        esac
     3339done
     3340
     3341#==============================================================================
     3342# handle the list of hosts to build for
    33963343# Make sure we can run config.sub.
    33973344$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     
    34653412
    34663413
    3467 MACHINE_TYPE=$host_cpu
    3468 
    34693414
    34703415if ! test "$host_cpu" = "$build_cpu"; then
    34713416        case $host_cpu in
    34723417                i386)
    3473                         CFLAGS+=" -m32 "
    3474                         CXXFLAGS+=" -m32 "
    3475                         CFAFLAGS+=" -m32 "
    3476                         LDFLAGS+=" -m32 "
     3418                        HOST_FLAGS="-m32"
    34773419                        ;;
    34783420                i686)
    3479                         CFLAGS+=" -m32 "
    3480                   CXXFLAGS+=" -m32 "
    3481                   CFAFLAGS+=" -m32 "
    3482                   LDFLAGS+=" -m32 "
     3421                        HOST_FLAGS="-m32"
    34833422                        ;;
    34843423                x86_64)
    3485                         CFLAGS+=" -m64 "
    3486                         CXXFLAGS+=" -m64 "
    3487                         CFAFLAGS+=" -m64 "
    3488                         LDFLAGS+=" -m64 "
     3424                        HOST_FLAGS="-m64"
    34893425                        ;;
    34903426        esac
     
    34923428
    34933429
     3430default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
     3431
     3432# Check whether --with-target-hosts was given.
     3433if test "${with_target_hosts+set}" = set; then :
     3434  withval=$with_target_hosts; target_hosts=$withval
     3435else
     3436  target_hosts=${default_target}
     3437fi
     3438
     3439
     3440TARGET_HOSTS=${target_hosts}
     3441
     3442
     3443LIBCFA_PATHS="DRIVER_DIR=${DRIVER_DIR}"
     3444
     3445for i in $(echo $target_hosts | sed "s/,/ /g")
     3446do
     3447        # call your procedure/other scripts here below
     3448        arch_name=$(echo $i | sed -r "s/:(.*)//g")
     3449        lib_config=$(echo $i | sed -r "s/(.*)://g")
     3450
     3451        case $lib_config in
     3452                "nodebug") ;;
     3453                "debug") ;;
     3454                "nolib") ;;
     3455                *)
     3456                        >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
     3457                        exit 1
     3458                ;;
     3459        esac
     3460
     3461
     3462        case ${arch_name} in
     3463                "host") arch_name=${host_cpu};;
     3464                *) arch_name=${arch_name};;
     3465        esac
     3466
     3467        case $arch_name in
     3468                "x64"        ) cannon_arch_name="x64";;
     3469                "x86-64"     ) cannon_arch_name="x64";;
     3470                "x86_64"     ) cannon_arch_name="x64";;
     3471                "x86"        ) cannon_arch_name="x86";;
     3472                "i386"       ) cannon_arch_name="x86";;
     3473                "i486"       ) cannon_arch_name="x86";;
     3474                "i686"       ) cannon_arch_name="x86";;
     3475                "Intel 80386") cannon_arch_name="x86";;
     3476                "arm"        ) cannon_arch_name="arm";;
     3477                "ARM"        ) cannon_arch_name="arm";;
     3478                *)
     3479                >&2 echo "Unkown architecture " $arch_name;
     3480                exit 1
     3481                ;;
     3482        esac
     3483
     3484        lib_arch=${cannon_arch_name}
     3485        lib_dir="libcfa/${lib_arch}-${lib_config}"
     3486
     3487        LIBCFA_TARGET_DIRS="${LIBCFA_TARGET_DIRS} ${lib_dir}"
     3488        LIBCFA_TARGET_MAKEFILES="${LIBCFA_TARGET_MAKEFILES} ${lib_dir}/Makefile"
     3489
     3490        mkdir -p ${lib_dir}
     3491        echo -n "${LIBCFA_GENERAL_ARGS} " > ${lib_dir}/config.data
     3492        echo -n "${LIBCFA_PATHS} " >> ${lib_dir}/config.data
     3493        echo -n "ARCHITECTURE=${lib_arch} " >> ${lib_dir}/config.data
     3494        echo -n "CONFIGURATION=${lib_config}" >> ${lib_dir}/config.data
     3495done
     3496
     3497
     3498
     3499
     3500
     3501        case ${host_cpu} in
     3502                "host") arch_name=${host_cpu};;
     3503                *) arch_name=${host_cpu};;
     3504        esac
     3505
     3506        case $arch_name in
     3507                "x64"        ) cannon_arch_name="x64";;
     3508                "x86-64"     ) cannon_arch_name="x64";;
     3509                "x86_64"     ) cannon_arch_name="x64";;
     3510                "x86"        ) cannon_arch_name="x86";;
     3511                "i386"       ) cannon_arch_name="x86";;
     3512                "i486"       ) cannon_arch_name="x86";;
     3513                "i686"       ) cannon_arch_name="x86";;
     3514                "Intel 80386") cannon_arch_name="x86";;
     3515                "arm"        ) cannon_arch_name="arm";;
     3516                "ARM"        ) cannon_arch_name="arm";;
     3517                *)
     3518                >&2 echo "Unkown architecture " $arch_name;
     3519                exit 1
     3520                ;;
     3521        esac
     3522
     3523
     3524cat >>confdefs.h <<_ACEOF
     3525#define CFA_DEFAULT_CPU "$cannon_arch_name"
     3526_ACEOF
     3527
     3528
     3529cat >>confdefs.h <<_ACEOF
     3530#define CFA_64_CPU "x64"
     3531_ACEOF
     3532
     3533
     3534cat >>confdefs.h <<_ACEOF
     3535#define CFA_32_CPU "x86"
     3536_ACEOF
     3537
     3538
     3539#==============================================================================
     3540# CAFLAGS
     3541
    34943542cat >>confdefs.h <<_ACEOF
    34953543#define CFA_FLAGS "${CFAFLAGS}"
     
    34993547
    35003548
     3549#==============================================================================
    35013550# Checks for programs.
    35023551ac_ext=cpp
     
    62816330
    62826331
    6283 ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/benchmark/Makefile src/examples/Makefile src/tests/Makefile src/tests/preempt_longrun/Makefile src/prelude/Makefile src/libcfa/Makefile tools/Makefile tools/prettyprinter/Makefile"
    6284 
     6332#==============================================================================
     6333ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile benchmark/Makefile tests/Makefile tests/preempt_longrun/Makefile tools/Makefile tools/prettyprinter/Makefile"
     6334
     6335
     6336ac_config_links="$ac_config_links tests/test.py:tests/test.py"
     6337
     6338
     6339ac_config_files="$ac_config_files tests/config.py"
    62856340
    62866341cat >confcache <<\_ACEOF
     
    64096464fi
    64106465
    6411 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
    6412   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
    6413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6414 fi
    6415 if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
    6416   as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
    6417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6418 fi
    6419 if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
    6420   as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
    6421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6422 fi
    6423 if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
    6424   as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
    6425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6426 fi
    6427 if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
    6428   as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
    6429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6430 fi
    64316466if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    64326467  as_fn_error $? "conditional \"AMDEP\" was never defined.
     
    68696904config_files="$ac_config_files"
    68706905config_headers="$ac_config_headers"
     6906config_links="$ac_config_links"
    68716907config_commands="$ac_config_commands"
    68726908
     
    68986934Configuration headers:
    68996935$config_headers
     6936
     6937Configuration links:
     6938$config_links
    69006939
    69016940Configuration commands:
     
    70377076do
    70387077  case $ac_config_target in
    7039     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     7078    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/config.h.in" ;;
    70407079    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    70417080    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7042     "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
     7081    "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
    70437082    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    7044     "src/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/benchmark/Makefile" ;;
    7045     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
    7046     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
    7047     "src/tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/preempt_longrun/Makefile" ;;
    7048     "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;;
    7049     "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
     7083    "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;;
     7084    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
     7085    "tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES tests/preempt_longrun/Makefile" ;;
    70507086    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
    70517087    "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;;
     7088    "tests/test.py") CONFIG_LINKS="$CONFIG_LINKS tests/test.py:tests/test.py" ;;
     7089    "tests/config.py") CONFIG_FILES="$CONFIG_FILES tests/config.py" ;;
    70527090
    70537091  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     
    70637101  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    70647102  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
     7103  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
    70657104  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
    70667105fi
     
    73607399
    73617400
    7362 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
     7401eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
    73637402shift
    73647403for ac_tag
     
    76377676          s/.*/./; q'`/stamp-h$_am_stamp_count
    76387677 ;;
    7639 
     7678  :L)
     7679  #
     7680  # CONFIG_LINK
     7681  #
     7682
     7683  if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
     7684    :
     7685  else
     7686    # Prefer the file from the source tree if names are identical.
     7687    if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
     7688      ac_source=$srcdir/$ac_source
     7689    fi
     7690
     7691    { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
     7692$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
     7693
     7694    if test ! -r "$ac_source"; then
     7695      as_fn_error $? "$ac_source: file not found" "$LINENO" 5
     7696    fi
     7697    rm -f "$ac_file"
     7698
     7699    # Try a relative symlink, then a hard link, then a copy.
     7700    case $ac_source in
     7701    [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
     7702        *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
     7703    esac
     7704    ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
     7705      ln "$ac_source" "$ac_file" 2>/dev/null ||
     7706      cp -p "$ac_source" "$ac_file" ||
     7707      as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
     7708  fi
     7709 ;;
    76407710  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
    76417711$as_echo "$as_me: executing $ac_file commands" >&6;}
     
    77777847
    77787848
    7779 if test -z "$BUILD_RELEASE_TRUE"; then :
    7780   if test -z "$BUILD_DEBUG_TRUE"; then :
    7781   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release & debug" >&5
    7782 $as_echo "$as_me: Building libcfa for target: release & debug" >&6;}
    7783 else
    7784   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release" >&5
    7785 $as_echo "$as_me: Building libcfa for target: release" >&6;}
    7786 fi
    7787 else
    7788   if test -z "$BUILD_DEBUG_TRUE"; then :
    7789   { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
    7790 $as_echo "$as_me: Building libcfa for target: debug" >&6;}
    7791 else
    7792   { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
    7793 $as_echo "$as_me: Running cfa without libcfa" >&6;}
    7794 fi
    7795 fi
    7796 
    77977849# Final text
    77987850{ $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.