Changeset 27273f9 for libcfa/configure
- Timestamp:
- Apr 8, 2020, 12:42:30 PM (3 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 72828a8
- Parents:
- b72bc043
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/configure
rb72bc043 r27273f9 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 … … 16859 16950 16860 16951 16952 ac_fn_c_check_header_mongrel "$LINENO" "linux/io_uring.h" "ac_cv_header_linux_io_uring_h" "$ac_includes_default" 16953 if test "x$ac_cv_header_linux_io_uring_h" = xyes; then : 16954 16955 fi 16956 16957 16958 16861 16959 ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile" 16862 16960
Note: See TracChangeset
for help on using the changeset viewer.