Changeset bcd74f3 for libcfa/configure
- Timestamp:
- May 8, 2020, 4:44:53 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 5c9b20c
- Parents:
- e3bc51c (diff), 0e7e3c17 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure
re3bc51c rbcd74f3 790 790 enable_distcc 791 791 with_cfa_name 792 enable_static 792 793 enable_shared 793 enable_static794 794 with_pic 795 795 enable_fast_install … … 1452 1452 --disable-silent-rules verbose build output (undo: "make V=0") 1453 1453 --enable-distcc whether or not to enable distributed compilation 1454 --enable-static[=PKGS] build static libraries [default=no] 1454 1455 --enable-shared[=PKGS] build shared libraries [default=yes] 1455 --enable-static[=PKGS] build static libraries [default=yes]1456 1456 --enable-fast-install[=PKGS] 1457 1457 optimize for fast installation [default=yes] … … 1960 1960 1961 1961 } # ac_fn_cxx_try_link 1962 1963 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1964 # ------------------------------------------------------- 1965 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1966 # the include files in INCLUDES and setting the cache variable VAR 1967 # accordingly. 1968 ac_fn_c_check_header_mongrel () 1969 { 1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1971 if eval \${$3+:} false; then : 1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1973 $as_echo_n "checking for $2... " >&6; } 1974 if eval \${$3+:} false; then : 1975 $as_echo_n "(cached) " >&6 1976 fi 1977 eval ac_res=\$$3 1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1979 $as_echo "$ac_res" >&6; } 1980 else 1981 # Is the header compilable? 1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1983 $as_echo_n "checking $2 usability... " >&6; } 1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1985 /* end confdefs.h. */ 1986 $4 1987 #include <$2> 1988 _ACEOF 1989 if ac_fn_c_try_compile "$LINENO"; then : 1990 ac_header_compiler=yes 1991 else 1992 ac_header_compiler=no 1993 fi 1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1996 $as_echo "$ac_header_compiler" >&6; } 1997 1998 # Is the header present? 1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2000 $as_echo_n "checking $2 presence... " >&6; } 2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2002 /* end confdefs.h. */ 2003 #include <$2> 2004 _ACEOF 2005 if ac_fn_c_try_cpp "$LINENO"; then : 2006 ac_header_preproc=yes 2007 else 2008 ac_header_preproc=no 2009 fi 2010 rm -f conftest.err conftest.i conftest.$ac_ext 2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2012 $as_echo "$ac_header_preproc" >&6; } 2013 2014 # So? What about this header? 2015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2016 yes:no: ) 2017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2018 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2020 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2021 ;; 2022 no:yes:* ) 2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2024 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2026 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2028 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2030 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2033 ( $as_echo "## --------------------------------------- ## 2034 ## Report this to cforall@plg.uwaterloo.ca ## 2035 ## --------------------------------------- ##" 2036 ) | sed "s/^/$as_me: WARNING: /" >&2 2037 ;; 2038 esac 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2040 $as_echo_n "checking for $2... " >&6; } 2041 if eval \${$3+:} false; then : 2042 $as_echo_n "(cached) " >&6 2043 else 2044 eval "$3=\$ac_header_compiler" 2045 fi 2046 eval ac_res=\$$3 2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2048 $as_echo "$ac_res" >&6; } 2049 fi 2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2051 2052 } # ac_fn_c_check_header_mongrel 1962 2053 cat >config.log <<_ACEOF 1963 2054 This file contains any messages produced by compilers while … … 7939 8030 7940 8031 # Set options 8032 # Check whether --enable-static was given. 8033 if test "${enable_static+set}" = set; then : 8034 enableval=$enable_static; p=${PACKAGE-default} 8035 case $enableval in 8036 yes) enable_static=yes ;; 8037 no) enable_static=no ;; 8038 *) 8039 enable_static=no 8040 # Look at the argument we got. We use all the common list separators. 8041 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 8042 for pkg in $enableval; do 8043 IFS=$lt_save_ifs 8044 if test "X$pkg" = "X$p"; then 8045 enable_static=yes 8046 fi 8047 done 8048 IFS=$lt_save_ifs 8049 ;; 8050 esac 8051 else 8052 enable_static=no 8053 fi 8054 8055 8056 8057 8058 8059 8060 7941 8061 7942 8062 … … 7971 8091 fi 7972 8092 7973 7974 7975 7976 7977 7978 7979 7980 7981 # Check whether --enable-static was given.7982 if test "${enable_static+set}" = set; then :7983 enableval=$enable_static; p=${PACKAGE-default}7984 case $enableval in7985 yes) enable_static=yes ;;7986 no) enable_static=no ;;7987 *)7988 enable_static=no7989 # Look at the argument we got. We use all the common list separators.7990 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,7991 for pkg in $enableval; do7992 IFS=$lt_save_ifs7993 if test "X$pkg" = "X$p"; then7994 enable_static=yes7995 fi7996 done7997 IFS=$lt_save_ifs7998 ;;7999 esac8000 else8001 enable_static=yes8002 fi8003 8093 8004 8094 … … 16859 16949 16860 16950 16951 for ac_header in linux/io_uring.h 16952 do : 16953 ac_fn_c_check_header_mongrel "$LINENO" "linux/io_uring.h" "ac_cv_header_linux_io_uring_h" "$ac_includes_default" 16954 if test "x$ac_cv_header_linux_io_uring_h" = xyes; then : 16955 cat >>confdefs.h <<_ACEOF 16956 #define HAVE_LINUX_IO_URING_H 1 16957 _ACEOF 16958 16959 fi 16960 16961 done 16962 16963 for ac_func in preadv2 pwritev2 16964 do : 16965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 16967 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 16968 cat >>confdefs.h <<_ACEOF 16969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16970 _ACEOF 16971 16972 fi 16973 done 16974 16975 16861 16976 ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile" 16977 16978 16979 ac_config_headers="$ac_config_headers prelude/defines.hfa" 16862 16980 16863 16981 … … 16952 17070 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16953 17071 16954 # Transform confdefs.h into DEFS. 16955 # Protect against shell expansion while executing Makefile rules. 16956 # Protect against Makefile macro expansion. 16957 # 16958 # If the first sed substitution is executed (which looks for macros that 16959 # take arguments), then branch to the quote section. Otherwise, 16960 # look for a macro that doesn't take arguments. 16961 ac_script=' 16962 :mline 16963 /\\$/{ 16964 N 16965 s,\\\n,, 16966 b mline 16967 } 16968 t clear 16969 :clear 16970 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 16971 t quote 16972 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 16973 t quote 16974 b any 16975 :quote 16976 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 16977 s/\[/\\&/g 16978 s/\]/\\&/g 16979 s/\$/$$/g 16980 H 16981 :any 16982 ${ 16983 g 16984 s/^\n// 16985 s/\n/ /g 16986 p 16987 } 16988 ' 16989 DEFS=`sed -n "$ac_script" confdefs.h` 16990 17072 DEFS=-DHAVE_CONFIG_H 16991 17073 16992 17074 ac_libobjs= … … 17466 17548 esac 17467 17549 17550 case $ac_config_headers in *" 17551 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17552 esac 17468 17553 17469 17554 … … 17471 17556 # Files that config.status was made for. 17472 17557 config_files="$ac_config_files" 17558 config_headers="$ac_config_headers" 17473 17559 config_commands="$ac_config_commands" 17474 17560 … … 17492 17578 --file=FILE[:TEMPLATE] 17493 17579 instantiate the configuration file FILE 17580 --header=FILE[:TEMPLATE] 17581 instantiate the configuration header FILE 17494 17582 17495 17583 Configuration files: 17496 17584 $config_files 17585 17586 Configuration headers: 17587 $config_headers 17497 17588 17498 17589 Configuration commands: … … 17562 17653 as_fn_append CONFIG_FILES " '$ac_optarg'" 17563 17654 ac_need_defaults=false;; 17564 --he | --h | --help | --hel | -h ) 17655 --header | --heade | --head | --hea ) 17656 $ac_shift 17657 case $ac_optarg in 17658 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17659 esac 17660 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17661 ac_need_defaults=false;; 17662 --he | --h) 17663 # Conflict between --help and --header 17664 as_fn_error $? "ambiguous option: \`$1' 17665 Try \`$0 --help' for more information.";; 17666 --help | --hel | -h ) 17565 17667 $as_echo "$ac_cs_usage"; exit ;; 17566 17668 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 17625 17727 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17626 17728 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17729 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17627 17730 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17628 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'17629 17731 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17630 17732 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' … … 18009 18111 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 18010 18112 "prelude/Makefile") CONFIG_FILES="$CONFIG_FILES prelude/Makefile" ;; 18113 "prelude/defines.hfa") CONFIG_HEADERS="$CONFIG_HEADERS prelude/defines.hfa" ;; 18011 18114 18012 18115 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; … … 18021 18124 if $ac_need_defaults; then 18022 18125 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18126 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18023 18127 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18024 18128 fi … … 18209 18313 fi # test -n "$CONFIG_FILES" 18210 18314 18211 18212 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 18315 # Set up the scripts for CONFIG_HEADERS section. 18316 # No need to generate them if there are no CONFIG_HEADERS. 18317 # This happens for instance with `./config.status Makefile'. 18318 if test -n "$CONFIG_HEADERS"; then 18319 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18320 BEGIN { 18321 _ACEOF 18322 18323 # Transform confdefs.h into an awk script `defines.awk', embedded as 18324 # here-document in config.status, that substitutes the proper values into 18325 # config.h.in to produce config.h. 18326 18327 # Create a delimiter string that does not exist in confdefs.h, to ease 18328 # handling of long lines. 18329 ac_delim='%!_!# ' 18330 for ac_last_try in false false :; do 18331 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18332 if test -z "$ac_tt"; then 18333 break 18334 elif $ac_last_try; then 18335 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18336 else 18337 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18338 fi 18339 done 18340 18341 # For the awk script, D is an array of macro values keyed by name, 18342 # likewise P contains macro parameters if any. Preserve backslash 18343 # newline sequences. 18344 18345 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18346 sed -n ' 18347 s/.\{148\}/&'"$ac_delim"'/g 18348 t rset 18349 :rset 18350 s/^[ ]*#[ ]*define[ ][ ]*/ / 18351 t def 18352 d 18353 :def 18354 s/\\$// 18355 t bsnl 18356 s/["\\]/\\&/g 18357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18358 D["\1"]=" \3"/p 18359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18360 d 18361 :bsnl 18362 s/["\\]/\\&/g 18363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18364 D["\1"]=" \3\\\\\\n"\\/p 18365 t cont 18366 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18367 t cont 18368 d 18369 :cont 18370 n 18371 s/.\{148\}/&'"$ac_delim"'/g 18372 t clear 18373 :clear 18374 s/\\$// 18375 t bsnlc 18376 s/["\\]/\\&/g; s/^/"/; s/$/"/p 18377 d 18378 :bsnlc 18379 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18380 b cont 18381 ' <confdefs.h | sed ' 18382 s/'"$ac_delim"'/"\\\ 18383 "/g' >>$CONFIG_STATUS || ac_write_fail=1 18384 18385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18386 for (key in D) D_is_set[key] = 1 18387 FS = "" 18388 } 18389 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18390 line = \$ 0 18391 split(line, arg, " ") 18392 if (arg[1] == "#") { 18393 defundef = arg[2] 18394 mac1 = arg[3] 18395 } else { 18396 defundef = substr(arg[1], 2) 18397 mac1 = arg[2] 18398 } 18399 split(mac1, mac2, "(") #) 18400 macro = mac2[1] 18401 prefix = substr(line, 1, index(line, defundef) - 1) 18402 if (D_is_set[macro]) { 18403 # Preserve the white space surrounding the "#". 18404 print prefix "define", macro P[macro] D[macro] 18405 next 18406 } else { 18407 # Replace #undef with comments. This is necessary, for example, 18408 # in the case of _POSIX_SOURCE, which is predefined and required 18409 # on some systems where configure will not decide to define it. 18410 if (defundef == "undef") { 18411 print "/*", prefix defundef, macro, "*/" 18412 next 18413 } 18414 } 18415 } 18416 { print } 18417 _ACAWK 18418 _ACEOF 18419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18420 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18421 fi # test -n "$CONFIG_HEADERS" 18422 18423 18424 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18213 18425 shift 18214 18426 for ac_tag … … 18429 18641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18430 18642 ;; 18431 18643 :H) 18644 # 18645 # CONFIG_HEADER 18646 # 18647 if test x"$ac_file" != x-; then 18648 { 18649 $as_echo "/* $configure_input */" \ 18650 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18651 } >"$ac_tmp/config.h" \ 18652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18653 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18654 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18655 $as_echo "$as_me: $ac_file is unchanged" >&6;} 18656 else 18657 rm -f "$ac_file" 18658 mv "$ac_tmp/config.h" "$ac_file" \ 18659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18660 fi 18661 else 18662 $as_echo "/* $configure_input */" \ 18663 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18664 || as_fn_error $? "could not create -" "$LINENO" 5 18665 fi 18666 # Compute "$ac_file"'s index in $config_headers. 18667 _am_arg="$ac_file" 18668 _am_stamp_count=1 18669 for _am_header in $config_headers :; do 18670 case $_am_header in 18671 $_am_arg | $_am_arg:* ) 18672 break ;; 18673 * ) 18674 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18675 esac 18676 done 18677 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18678 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18679 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18680 X"$_am_arg" : 'X\(//\)$' \| \ 18681 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18682 $as_echo X"$_am_arg" | 18683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18684 s//\1/ 18685 q 18686 } 18687 /^X\(\/\/\)[^/].*/{ 18688 s//\1/ 18689 q 18690 } 18691 /^X\(\/\/\)$/{ 18692 s//\1/ 18693 q 18694 } 18695 /^X\(\/\).*/{ 18696 s//\1/ 18697 q 18698 } 18699 s/.*/./; q'`/stamp-h$_am_stamp_count 18700 ;; 18432 18701 18433 18702 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 … … 18587 18856 macro_revision=$macro_revision 18588 18857 18858 # Whether or not to build static libraries. 18859 build_old_libs=$enable_static 18860 18589 18861 # Whether or not to build shared libraries. 18590 18862 build_libtool_libs=$enable_shared 18591 18592 # Whether or not to build static libraries.18593 build_old_libs=$enable_static18594 18863 18595 18864 # What type of objects to build.
Note:
See TracChangeset
for help on using the changeset viewer.