Changes in libcfa/configure [04bc1c0:c8c0c7c5]
- File:
-
- 1 edited
-
libcfa/configure (modified) (17 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure
r04bc1c0 rc8c0c7c5 790 790 enable_distcc 791 791 with_cfa_name 792 enable_shared 792 793 enable_static 793 enable_shared794 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]1455 1454 --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 INCLUDES1964 # -------------------------------------------------------1965 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1966 # the include files in INCLUDES and setting the cache variable VAR1967 # accordingly.1968 ac_fn_c_check_header_mongrel ()1969 {1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1971 if eval \${$3+:} false; then :1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51973 $as_echo_n "checking for $2... " >&6; }1974 if eval \${$3+:} false; then :1975 $as_echo_n "(cached) " >&61976 fi1977 eval ac_res=\$$31978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51979 $as_echo "$ac_res" >&6; }1980 else1981 # Is the header compilable?1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51983 $as_echo_n "checking $2 usability... " >&6; }1984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1985 /* end confdefs.h. */1986 $41987 #include <$2>1988 _ACEOF1989 if ac_fn_c_try_compile "$LINENO"; then :1990 ac_header_compiler=yes1991 else1992 ac_header_compiler=no1993 fi1994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51996 $as_echo "$ac_header_compiler" >&6; }1997 1998 # Is the header present?1999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&52000 $as_echo_n "checking $2 presence... " >&6; }2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2002 /* end confdefs.h. */2003 #include <$2>2004 _ACEOF2005 if ac_fn_c_try_cpp "$LINENO"; then :2006 ac_header_preproc=yes2007 else2008 ac_header_preproc=no2009 fi2010 rm -f conftest.err conftest.i conftest.$ac_ext2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&52012 $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!" >&52018 $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" >&52020 $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" >&52024 $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?" >&52026 $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" >&52028 $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\"" >&52030 $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" >&52032 $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: /" >&22037 ;;2038 esac2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&52040 $as_echo_n "checking for $2... " >&6; }2041 if eval \${$3+:} false; then :2042 $as_echo_n "(cached) " >&62043 else2044 eval "$3=\$ac_header_compiler"2045 fi2046 eval ac_res=\$$32047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&52048 $as_echo "$ac_res" >&6; }2049 fi2050 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno2051 2052 } # ac_fn_c_check_header_mongrel2053 1962 cat >config.log <<_ACEOF 2054 1963 This file contains any messages produced by compilers while … … 8030 7939 8031 7940 # 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 in8036 yes) enable_static=yes ;;8037 no) enable_static=no ;;8038 *)8039 enable_static=no8040 # 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; do8043 IFS=$lt_save_ifs8044 if test "X$pkg" = "X$p"; then8045 enable_static=yes8046 fi8047 done8048 IFS=$lt_save_ifs8049 ;;8050 esac8051 else8052 enable_static=no8053 fi8054 8055 8056 8057 8058 8059 8060 8061 7941 8062 7942 … … 8091 7971 fi 8092 7972 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 in 7985 yes) enable_static=yes ;; 7986 no) enable_static=no ;; 7987 *) 7988 enable_static=no 7989 # 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; do 7992 IFS=$lt_save_ifs 7993 if test "X$pkg" = "X$p"; then 7994 enable_static=yes 7995 fi 7996 done 7997 IFS=$lt_save_ifs 7998 ;; 7999 esac 8000 else 8001 enable_static=yes 8002 fi 8093 8003 8094 8004 … … 16949 16859 16950 16860 16951 for ac_header in linux/io_uring.h16952 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 <<_ACEOF16956 #define HAVE_LINUX_IO_URING_H 116957 _ACEOF16958 16959 fi16960 16961 done16962 16963 for ac_func in preadv2 pwritev216964 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 <<_ACEOF16969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 116970 _ACEOF16971 16972 fi16973 done16974 16975 16976 16861 ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile" 16977 16978 16979 ac_config_headers="$ac_config_headers prelude/defines.hfa"16980 16862 16981 16863 … … 17070 16952 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17071 16953 17072 DEFS=-DHAVE_CONFIG_H 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 17073 16991 17074 16992 ac_libobjs= … … 17548 17466 esac 17549 17467 17550 case $ac_config_headers in *"17551 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;17552 esac17553 17468 17554 17469 … … 17556 17471 # Files that config.status was made for. 17557 17472 config_files="$ac_config_files" 17558 config_headers="$ac_config_headers"17559 17473 config_commands="$ac_config_commands" 17560 17474 … … 17578 17492 --file=FILE[:TEMPLATE] 17579 17493 instantiate the configuration file FILE 17580 --header=FILE[:TEMPLATE]17581 instantiate the configuration header FILE17582 17494 17583 17495 Configuration files: 17584 17496 $config_files 17585 17586 Configuration headers:17587 $config_headers17588 17497 17589 17498 Configuration commands: … … 17653 17562 as_fn_append CONFIG_FILES " '$ac_optarg'" 17654 17563 ac_need_defaults=false;; 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 ) 17564 --he | --h | --help | --hel | -h ) 17667 17565 $as_echo "$ac_cs_usage"; exit ;; 17668 17566 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 17727 17625 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17728 17626 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17627 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17729 17628 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17730 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'17731 17629 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17732 17630 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' … … 18111 18009 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 18112 18010 "prelude/Makefile") CONFIG_FILES="$CONFIG_FILES prelude/Makefile" ;; 18113 "prelude/defines.hfa") CONFIG_HEADERS="$CONFIG_HEADERS prelude/defines.hfa" ;;18114 18011 18115 18012 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; … … 18124 18021 if $ac_need_defaults; then 18125 18022 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18126 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers18127 18023 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18128 18024 fi … … 18313 18209 fi # test -n "$CONFIG_FILES" 18314 18210 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" 18211 18212 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 18425 18213 shift 18426 18214 for ac_tag … … 18641 18429 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18642 18430 ;; 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 ;; 18431 18701 18432 18702 18433 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 … … 18856 18587 macro_revision=$macro_revision 18857 18588 18589 # Whether or not to build shared libraries. 18590 build_libtool_libs=$enable_shared 18591 18858 18592 # Whether or not to build static libraries. 18859 18593 build_old_libs=$enable_static 18860 18861 # Whether or not to build shared libraries.18862 build_libtool_libs=$enable_shared18863 18594 18864 18595 # What type of objects to build.
Note:
See TracChangeset
for help on using the changeset viewer.