Changeset 37fe352 for libcfa/configure
- Timestamp:
- Aug 5, 2018, 4:11:41 PM (5 years ago)
- 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 28582b2
- Parents:
- 4dcaed2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure
r4dcaed2 r37fe352 622 622 CFA_INCDIR 623 623 CFA_PREFIX 624 CFA_NAME 625 ARCH_FLAGS 624 626 CFACPP 625 627 CFACC 626 628 DRIVER_DIR 627 629 CONFIGURATION 628 host_os 629 host_vendor 630 host_cpu 631 host 632 build_os 633 build_vendor 634 build_cpu 635 build 630 ARCHITECTURE 636 631 AM_BACKSLASH 637 632 AM_DEFAULT_VERBOSITY … … 704 699 enable_option_checking 705 700 enable_silent_rules 701 with_cfa_name 706 702 enable_dependency_tracking 707 703 ' … … 709 705 host_alias 710 706 target_alias 707 ARCHITECTURE 711 708 CONFIGURATION 712 709 DRIVER_DIR … … 1333 1330 --program-suffix=SUFFIX append SUFFIX to installed program names 1334 1331 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1335 1336 System types:1337 --build=BUILD configure for building on BUILD [guessed]1338 --host=HOST cross-compile to build programs to run on HOST [BUILD]1339 1332 _ACEOF 1340 1333 fi … … 1357 1350 speeds up one-time build 1358 1351 1352 Optional Packages: 1353 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1355 --with-cfa-name=NAME NAME too which cfa will be installed 1356 1359 1357 Some influential environment variables: 1358 ARCHITECTURE 1359 The architecture to use when building libcfa 1360 1360 CONFIGURATION 1361 1361 The configuration to use when building libcfa, options are: … … 1911 1911 1912 1912 1913 1914 1915 1916 1917 1918 1919 1913 1920 am__api_version='1.15' 1914 1921 … … 2495 2502 2496 2503 2497 # Make sure we can run config.sub.2498 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||2499 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 52500 2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&52502 $as_echo_n "checking build system type... " >&6; }2503 if ${ac_cv_build+:} false; then :2504 $as_echo_n "(cached) " >&62505 else2506 ac_build_alias=$build_alias2507 test "x$ac_build_alias" = x &&2508 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`2509 test "x$ac_build_alias" = x &&2510 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 52511 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||2512 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 52513 2514 fi2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&52516 $as_echo "$ac_cv_build" >&6; }2517 case $ac_cv_build in2518 *-*-*) ;;2519 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;2520 esac2521 build=$ac_cv_build2522 ac_save_IFS=$IFS; IFS='-'2523 set x $ac_cv_build2524 shift2525 build_cpu=$12526 build_vendor=$22527 shift; shift2528 # Remember, the first character of IFS is used to create $*,2529 # except with old shells:2530 build_os=$*2531 IFS=$ac_save_IFS2532 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac2533 2534 2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52536 $as_echo_n "checking host system type... " >&6; }2537 if ${ac_cv_host+:} false; then :2538 $as_echo_n "(cached) " >&62539 else2540 if test "x$host_alias" = x; then2541 ac_cv_host=$ac_cv_build2542 else2543 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||2544 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 52545 fi2546 2547 fi2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&52549 $as_echo "$ac_cv_host" >&6; }2550 case $ac_cv_host in2551 *-*-*) ;;2552 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;2553 esac2554 host=$ac_cv_host2555 ac_save_IFS=$IFS; IFS='-'2556 set x $ac_cv_host2557 shift2558 host_cpu=$12559 host_vendor=$22560 shift; shift2561 # Remember, the first character of IFS is used to create $*,2562 # except with old shells:2563 host_os=$*2564 IFS=$ac_save_IFS2565 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac2566 2567 2568 2504 2569 2505 … … 2575 2511 2576 2512 2513 case $ARCHITECTURE in 2514 "x64" ) ARCH_FLAGS="-m64";; 2515 "x86" ) ARCH_FLAGS="-m32";; 2516 "arm" ) ARCH_FLAGS="";; 2517 esac 2518 2519 2520 2521 #============================================================================== 2522 #Trasforming cc1 will break compilation 2523 2524 if test "${program_transform_name}" = ""; then 2525 as_fn_error $? "Program transform not supported. 2526 Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5 2527 fi 2528 2529 #Define the new name of the installed command 2530 2531 # Check whether --with-cfa-name was given. 2532 if test "${with_cfa_name+set}" = set; then : 2533 withval=$with_cfa_name; cfa_name=$withval 2534 else 2535 cfa_name="cfa" 2536 fi 2537 2538 2539 CFA_NAME=${cfa_name} 2540 2541 2542 2577 2543 #============================================================================== 2578 2544 # Installation paths 2579 if test "x$prefix" = "xNONE"; then 2580 cfa_prefix=${ac_default_prefix} 2581 else 2582 cfa_prefix=${prefix} 2583 fi 2545 2546 if test "x$prefix" = "xNONE"; then 2547 cfa_prefix=${ac_default_prefix} 2548 else 2549 cfa_prefix=${prefix} 2550 fi 2584 2551 2585 2552 cat >>confdefs.h <<_ACEOF … … 2587 2554 _ACEOF 2588 2555 2589 CFA_PREFIX=${cfa_prefix}2590 2591 2592 if test "$includedir" = '${prefix}/include'; then2593 2594 else2595 2596 fi2556 CFA_PREFIX=${cfa_prefix} 2557 2558 2559 if test "$includedir" = '${prefix}/include'; then 2560 cfa_incdir="${cfa_prefix}/include/${cfa_name}" 2561 else 2562 cfa_incdir=${includedir} 2563 fi 2597 2564 2598 2565 cat >>confdefs.h <<_ACEOF … … 2600 2567 _ACEOF 2601 2568 2602 CFA_INCDIR=${cfa_incdir}2603 2604 2605 if test "$bindir" = '${exec_prefix}/bin'; then2606 2607 else2608 2609 fi2569 CFA_INCDIR=${cfa_incdir} 2570 2571 2572 if test "$bindir" = '${exec_prefix}/bin'; then 2573 cfa_bindir="${cfa_prefix}/bin" 2574 else 2575 cfa_bindir=${bindir} 2576 fi 2610 2577 2611 2578 cat >>confdefs.h <<_ACEOF … … 2613 2580 _ACEOF 2614 2581 2615 CFA_BINDIR=${cfa_bindir}2616 2617 2618 if test "$libdir" = '${exec_prefix}/lib'; then2619 cfa_libdir="${cfa_prefix}/lib/${cfa_name}"2620 else2621 cfa_libdir=${libdir} 2622 fi2582 CFA_BINDIR=${cfa_bindir} 2583 2584 2585 if test "$libdir" = '${exec_prefix}/lib'; then 2586 cfa_libdir="${cfa_prefix}/lib/${cfa_name}/${ARCHITECTURE}${CONFIGURATION}" 2587 else 2588 cfa_libdir="${libdir}/${ARCHITECTURE}${CONFIGURATION}" 2589 fi 2623 2590 2624 2591 cat >>confdefs.h <<_ACEOF … … 2626 2593 _ACEOF 2627 2594 2628 CFA_LIBDIR=${cfa_libdir} 2595 CFA_LIBDIR=${cfa_libdir} 2596 2629 2597 2630 2598
Note: See TracChangeset
for help on using the changeset viewer.