|
5072 | 5072 | as_fn_error $? "$LLVM_CONFIG does not work" "$LINENO" 5
|
5073 | 5073 | fi
|
5074 | 5074 | # and whether the version is supported
|
5075 |
| - if echo $pgac_llvm_version | $AWK -F '.' '{ if ($1 >= 10) exit 1; else exit 0;}';then |
5076 |
| - as_fn_error $? "$LLVM_CONFIG version is $pgac_llvm_version but at least 10 is required" "$LINENO" 5 |
| 5075 | + if echo $pgac_llvm_version | $AWK -F '.' '{ if ($1 >= 14) exit 1; else exit 0;}';then |
| 5076 | + as_fn_error $? "$LLVM_CONFIG version is $pgac_llvm_version but at least 14 is required" "$LINENO" 5 |
5077 | 5077 | fi
|
5078 | 5078 | { $as_echo "$as_me:${as_lineno-$LINENO}: using llvm $pgac_llvm_version" >&5
|
5079 | 5079 | $as_echo "$as_me: using llvm $pgac_llvm_version" >&6;}
|
@@ -7281,95 +7281,6 @@ if test x"$pgac_cv_prog_CLANGXX_cxxflags__fexcess_precision_standard" = x"yes";
|
7281 | 7281 | fi
|
7282 | 7282 |
|
7283 | 7283 |
|
7284 |
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CLANG} supports -Xclang -no-opaque-pointers, for BITCODE_CFLAGS" >&5 |
7285 |
| -$as_echo_n "checking whether ${CLANG} supports -Xclang -no-opaque-pointers, for BITCODE_CFLAGS... " >&6; } |
7286 |
| -if ${pgac_cv_prog_CLANG_cflags__Xclang__no_opaque_pointers+:} false; then : |
7287 |
| - $as_echo_n "(cached) " >&6 |
7288 |
| -else |
7289 |
| - pgac_save_CFLAGS=$CFLAGS |
7290 |
| -pgac_save_CC=$CC |
7291 |
| -CC=${CLANG} |
7292 |
| -CFLAGS="${BITCODE_CFLAGS} -Xclang -no-opaque-pointers" |
7293 |
| -ac_save_c_werror_flag=$ac_c_werror_flag |
7294 |
| -ac_c_werror_flag=yes |
7295 |
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7296 |
| -/* end confdefs.h. */ |
7297 |
| - |
7298 |
| -int |
7299 |
| -main () |
7300 |
| -{ |
7301 |
| - |
7302 |
| - ; |
7303 |
| - return 0; |
7304 |
| -} |
7305 |
| -_ACEOF |
7306 |
| -if ac_fn_c_try_compile "$LINENO"; then : |
7307 |
| - pgac_cv_prog_CLANG_cflags__Xclang__no_opaque_pointers=yes |
7308 |
| -else |
7309 |
| - pgac_cv_prog_CLANG_cflags__Xclang__no_opaque_pointers=no |
7310 |
| -fi |
7311 |
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7312 |
| -ac_c_werror_flag=$ac_save_c_werror_flag |
7313 |
| -CFLAGS="$pgac_save_CFLAGS" |
7314 |
| -CC="$pgac_save_CC" |
7315 |
| -fi |
7316 |
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CLANG_cflags__Xclang__no_opaque_pointers" >&5 |
7317 |
| -$as_echo "$pgac_cv_prog_CLANG_cflags__Xclang__no_opaque_pointers" >&6; } |
7318 |
| -if test x"$pgac_cv_prog_CLANG_cflags__Xclang__no_opaque_pointers" = x"yes"; then |
7319 |
| - BITCODE_CFLAGS="${BITCODE_CFLAGS} -Xclang -no-opaque-pointers" |
7320 |
| -fi |
7321 |
| - |
7322 |
| - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CLANGXX} supports -Xclang -no-opaque-pointers, for BITCODE_CXXFLAGS" >&5 |
7323 |
| -$as_echo_n "checking whether ${CLANGXX} supports -Xclang -no-opaque-pointers, for BITCODE_CXXFLAGS... " >&6; } |
7324 |
| -if ${pgac_cv_prog_CLANGXX_cxxflags__Xclang__no_opaque_pointers+:} false; then : |
7325 |
| - $as_echo_n "(cached) " >&6 |
7326 |
| -else |
7327 |
| - pgac_save_CXXFLAGS=$CXXFLAGS |
7328 |
| -pgac_save_CXX=$CXX |
7329 |
| -CXX=${CLANGXX} |
7330 |
| -CXXFLAGS="${BITCODE_CXXFLAGS} -Xclang -no-opaque-pointers" |
7331 |
| -ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
7332 |
| -ac_cxx_werror_flag=yes |
7333 |
| -ac_ext=cpp |
7334 |
| -ac_cpp='$CXXCPP $CPPFLAGS' |
7335 |
| -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7336 |
| -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7337 |
| -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
7338 |
| - |
7339 |
| -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7340 |
| -/* end confdefs.h. */ |
7341 |
| - |
7342 |
| -int |
7343 |
| -main () |
7344 |
| -{ |
7345 |
| - |
7346 |
| - ; |
7347 |
| - return 0; |
7348 |
| -} |
7349 |
| -_ACEOF |
7350 |
| -if ac_fn_cxx_try_compile "$LINENO"; then : |
7351 |
| - pgac_cv_prog_CLANGXX_cxxflags__Xclang__no_opaque_pointers=yes |
7352 |
| -else |
7353 |
| - pgac_cv_prog_CLANGXX_cxxflags__Xclang__no_opaque_pointers=no |
7354 |
| -fi |
7355 |
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7356 |
| -ac_ext=c |
7357 |
| -ac_cpp='$CPP $CPPFLAGS' |
7358 |
| -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7359 |
| -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7360 |
| -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7361 |
| - |
7362 |
| -ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
7363 |
| -CXXFLAGS="$pgac_save_CXXFLAGS" |
7364 |
| -CXX="$pgac_save_CXX" |
7365 |
| -fi |
7366 |
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_prog_CLANGXX_cxxflags__Xclang__no_opaque_pointers" >&5 |
7367 |
| -$as_echo "$pgac_cv_prog_CLANGXX_cxxflags__Xclang__no_opaque_pointers" >&6; } |
7368 |
| -if test x"$pgac_cv_prog_CLANGXX_cxxflags__Xclang__no_opaque_pointers" = x"yes"; then |
7369 |
| - BITCODE_CXXFLAGS="${BITCODE_CXXFLAGS} -Xclang -no-opaque-pointers" |
7370 |
| -fi |
7371 |
| - |
7372 |
| - |
7373 | 7284 | NOT_THE_CFLAGS=""
|
7374 | 7285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CLANG} supports -Wunused-command-line-argument, for NOT_THE_CFLAGS" >&5
|
7375 | 7286 | $as_echo_n "checking whether ${CLANG} supports -Wunused-command-line-argument, for NOT_THE_CFLAGS... " >&6; }
|
@@ -13308,7 +13219,7 @@ $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
|
13308 | 13219 | fi
|
13309 | 13220 |
|
13310 | 13221 |
|
13311 |
| -for ac_header in atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h mbarrier.h sys/epoll.h sys/event.h sys/personality.h sys/prctl.h sys/procctl.h sys/signalfd.h sys/ucred.h termios.h ucred.h |
| 13222 | +for ac_header in atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h mbarrier.h sys/epoll.h sys/event.h sys/personality.h sys/prctl.h sys/procctl.h sys/signalfd.h sys/ucred.h termios.h ucred.h xlocale.h |
13312 | 13223 | do :
|
13313 | 13224 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
13314 | 13225 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
@@ -14636,55 +14547,6 @@ _ACEOF
|
14636 | 14547 | fi
|
14637 | 14548 |
|
14638 | 14549 |
|
14639 |
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for locale_t" >&5 |
14640 |
| -$as_echo_n "checking for locale_t... " >&6; } |
14641 |
| -if ${pgac_cv_type_locale_t+:} false; then : |
14642 |
| - $as_echo_n "(cached) " >&6 |
14643 |
| -else |
14644 |
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14645 |
| -/* end confdefs.h. */ |
14646 |
| -#include <locale.h> |
14647 |
| -locale_t x; |
14648 |
| -int |
14649 |
| -main () |
14650 |
| -{ |
14651 |
| - |
14652 |
| - ; |
14653 |
| - return 0; |
14654 |
| -} |
14655 |
| -_ACEOF |
14656 |
| -if ac_fn_c_try_compile "$LINENO"; then : |
14657 |
| - pgac_cv_type_locale_t=yes |
14658 |
| -else |
14659 |
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14660 |
| -/* end confdefs.h. */ |
14661 |
| -#include <xlocale.h> |
14662 |
| -locale_t x; |
14663 |
| -int |
14664 |
| -main () |
14665 |
| -{ |
14666 |
| - |
14667 |
| - ; |
14668 |
| - return 0; |
14669 |
| -} |
14670 |
| -_ACEOF |
14671 |
| -if ac_fn_c_try_compile "$LINENO"; then : |
14672 |
| - pgac_cv_type_locale_t='yes (in xlocale.h)' |
14673 |
| -else |
14674 |
| - pgac_cv_type_locale_t=no |
14675 |
| -fi |
14676 |
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14677 |
| -fi |
14678 |
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14679 |
| -fi |
14680 |
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_type_locale_t" >&5 |
14681 |
| -$as_echo "$pgac_cv_type_locale_t" >&6; } |
14682 |
| -if test "$pgac_cv_type_locale_t" = 'yes (in xlocale.h)'; then |
14683 |
| - |
14684 |
| -$as_echo "#define LOCALE_T_IN_XLOCALE 1" >>confdefs.h |
14685 |
| - |
14686 |
| -fi |
14687 |
| - |
14688 | 14550 | # MSVC doesn't cope well with defining restrict to __restrict, the
|
14689 | 14551 | # spelling it understands, because it conflicts with
|
14690 | 14552 | # __declspec(restrict). Therefore we define pg_restrict to the
|
@@ -15171,59 +15033,6 @@ if test x"$pgac_cv_var_int_timezone" = xyes ; then
|
15171 | 15033 |
|
15172 | 15034 | $as_echo "#define HAVE_INT_TIMEZONE 1" >>confdefs.h
|
15173 | 15035 |
|
15174 |
| -fi |
15175 |
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcstombs_l declaration" >&5 |
15176 |
| -$as_echo_n "checking for wcstombs_l declaration... " >&6; } |
15177 |
| -if ${pgac_cv_func_wcstombs_l+:} false; then : |
15178 |
| - $as_echo_n "(cached) " >&6 |
15179 |
| -else |
15180 |
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15181 |
| -/* end confdefs.h. */ |
15182 |
| -#include <stdlib.h> |
15183 |
| -#include <locale.h> |
15184 |
| -int |
15185 |
| -main () |
15186 |
| -{ |
15187 |
| -#ifndef wcstombs_l |
15188 |
| -(void) wcstombs_l; |
15189 |
| -#endif |
15190 |
| - ; |
15191 |
| - return 0; |
15192 |
| -} |
15193 |
| -_ACEOF |
15194 |
| -if ac_fn_c_try_compile "$LINENO"; then : |
15195 |
| - pgac_cv_func_wcstombs_l='yes' |
15196 |
| -else |
15197 |
| - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15198 |
| -/* end confdefs.h. */ |
15199 |
| -#include <stdlib.h> |
15200 |
| -#include <locale.h> |
15201 |
| -#include <xlocale.h> |
15202 |
| -int |
15203 |
| -main () |
15204 |
| -{ |
15205 |
| -#ifndef wcstombs_l |
15206 |
| -(void) wcstombs_l; |
15207 |
| -#endif |
15208 |
| - ; |
15209 |
| - return 0; |
15210 |
| -} |
15211 |
| -_ACEOF |
15212 |
| -if ac_fn_c_try_compile "$LINENO"; then : |
15213 |
| - pgac_cv_func_wcstombs_l='yes (in xlocale.h)' |
15214 |
| -else |
15215 |
| - pgac_cv_func_wcstombs_l='no' |
15216 |
| -fi |
15217 |
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15218 |
| -fi |
15219 |
| -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15220 |
| -fi |
15221 |
| -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_func_wcstombs_l" >&5 |
15222 |
| -$as_echo "$pgac_cv_func_wcstombs_l" >&6; } |
15223 |
| -if test "$pgac_cv_func_wcstombs_l" = 'yes (in xlocale.h)'; then |
15224 |
| - |
15225 |
| -$as_echo "#define WCSTOMBS_L_IN_XLOCALE 1" >>confdefs.h |
15226 |
| - |
15227 | 15036 | fi
|
15228 | 15037 |
|
15229 | 15038 | # Some versions of libedit contain strlcpy(), setproctitle(), and other
|
@@ -16975,50 +16784,6 @@ _ACEOF
|
16975 | 16784 |
|
16976 | 16785 |
|
16977 | 16786 |
|
16978 |
| -# Some platforms predefine the types int8, int16, etc. Only check |
16979 |
| -# a (hopefully) representative subset. |
16980 |
| -ac_fn_c_check_type "$LINENO" "int8" "ac_cv_type_int8" "#include <stdio.h> |
16981 |
| -" |
16982 |
| -if test "x$ac_cv_type_int8" = xyes; then : |
16983 |
| - |
16984 |
| -cat >>confdefs.h <<_ACEOF |
16985 |
| -#define HAVE_INT8 1 |
16986 |
| -_ACEOF |
16987 |
| - |
16988 |
| - |
16989 |
| -fi |
16990 |
| -ac_fn_c_check_type "$LINENO" "uint8" "ac_cv_type_uint8" "#include <stdio.h> |
16991 |
| -" |
16992 |
| -if test "x$ac_cv_type_uint8" = xyes; then : |
16993 |
| - |
16994 |
| -cat >>confdefs.h <<_ACEOF |
16995 |
| -#define HAVE_UINT8 1 |
16996 |
| -_ACEOF |
16997 |
| - |
16998 |
| - |
16999 |
| -fi |
17000 |
| -ac_fn_c_check_type "$LINENO" "int64" "ac_cv_type_int64" "#include <stdio.h> |
17001 |
| -" |
17002 |
| -if test "x$ac_cv_type_int64" = xyes; then : |
17003 |
| - |
17004 |
| -cat >>confdefs.h <<_ACEOF |
17005 |
| -#define HAVE_INT64 1 |
17006 |
| -_ACEOF |
17007 |
| - |
17008 |
| - |
17009 |
| -fi |
17010 |
| -ac_fn_c_check_type "$LINENO" "uint64" "ac_cv_type_uint64" "#include <stdio.h> |
17011 |
| -" |
17012 |
| -if test "x$ac_cv_type_uint64" = xyes; then : |
17013 |
| - |
17014 |
| -cat >>confdefs.h <<_ACEOF |
17015 |
| -#define HAVE_UINT64 1 |
17016 |
| -_ACEOF |
17017 |
| - |
17018 |
| - |
17019 |
| -fi |
17020 |
| - |
17021 |
| - |
17022 | 16787 | # Some compilers offer a 128-bit integer scalar type.
|
17023 | 16788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
|
17024 | 16789 | $as_echo_n "checking for __int128... " >&6; }
|
|
0 commit comments