|
1 | 1 | #! /bin/sh |
2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | | -# Generated by GNU Autoconf 2.71 for sudo 1.9.12. |
| 3 | +# Generated by GNU Autoconf 2.71 for sudo 1.9.12p1. |
4 | 4 | # |
5 | 5 | # Report bugs to <https://bugzilla.sudo.ws/>. |
6 | 6 | # |
@@ -621,8 +621,8 @@ MAKEFLAGS= |
621 | 621 | # Identity of this package. |
622 | 622 | PACKAGE_NAME='sudo' |
623 | 623 | PACKAGE_TARNAME='sudo' |
624 | | -PACKAGE_VERSION='1.9.12' |
625 | | -PACKAGE_STRING='sudo 1.9.12' |
| 624 | +PACKAGE_VERSION='1.9.12p1' |
| 625 | +PACKAGE_STRING='sudo 1.9.12p1' |
626 | 626 | PACKAGE_BUGREPORT='https://bugzilla.sudo.ws/' |
627 | 627 | PACKAGE_URL='' |
628 | 628 |
|
@@ -1640,7 +1640,7 @@ if test "$ac_init_help" = "long"; then |
1640 | 1640 | # Omit some internal or obsolete options to make the list less imposing. |
1641 | 1641 | # This message is too long to be a string in the A/UX 3.1 sh. |
1642 | 1642 | cat <<_ACEOF |
1643 | | -\`configure' configures sudo 1.9.12 to adapt to many kinds of systems. |
| 1643 | +\`configure' configures sudo 1.9.12p1 to adapt to many kinds of systems. |
1644 | 1644 |
|
1645 | 1645 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1646 | 1646 |
|
|
1706 | 1706 |
|
1707 | 1707 | if test -n "$ac_init_help"; then |
1708 | 1708 | case $ac_init_help in |
1709 | | - short | recursive ) echo "Configuration of sudo 1.9.12:";; |
| 1709 | + short | recursive ) echo "Configuration of sudo 1.9.12p1:";; |
1710 | 1710 | esac |
1711 | 1711 | cat <<\_ACEOF |
1712 | 1712 |
|
|
1996 | 1996 | test -n "$ac_init_help" && exit $ac_status |
1997 | 1997 | if $ac_init_version; then |
1998 | 1998 | cat <<\_ACEOF |
1999 | | -sudo configure 1.9.12 |
| 1999 | +sudo configure 1.9.12p1 |
2000 | 2000 | generated by GNU Autoconf 2.71 |
2001 | 2001 |
|
2002 | 2002 | Copyright (C) 2021 Free Software Foundation, Inc. |
@@ -2653,7 +2653,7 @@ cat >config.log <<_ACEOF |
2653 | 2653 | This file contains any messages produced by compilers while |
2654 | 2654 | running configure, to aid debugging if configure makes a mistake. |
2655 | 2655 |
|
2656 | | -It was created by sudo $as_me 1.9.12, which was |
| 2656 | +It was created by sudo $as_me 1.9.12p1, which was |
2657 | 2657 | generated by GNU Autoconf 2.71. Invocation command line was |
2658 | 2658 |
|
2659 | 2659 | $ $0$ac_configure_args_raw |
@@ -31899,42 +31899,40 @@ printf "%s\n" "$sudo_cv_var_stack_protector" >&6; } |
31899 | 31899 | fi |
31900 | 31900 | fi |
31901 | 31901 | if test "$enable_hardening" != "no"; then |
31902 | | - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fstack-clash-protection" >&5 |
31903 | | -printf %s "checking whether the linker accepts -fstack-clash-protection... " >&6; } |
31904 | | -if test ${ax_cv_check_ldflags___fstack_clash_protection+y} |
| 31902 | + # The gcc front-end may accept -fstack-clash-protection even if the |
| 31903 | + # machine-specific code does not support it. We use a test program |
| 31904 | + # with a large stack allocation to try to cause the compiler to |
| 31905 | + # insert the stack clash protection code, or fail if not supported. |
| 31906 | + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler supports -fstack-clash-protection" >&5 |
| 31907 | +printf %s "checking whether C compiler supports -fstack-clash-protection... " >&6; } |
| 31908 | +if test ${sudo_cv_check_cflags___fstack_clash_protection+y} |
31905 | 31909 | then : |
31906 | 31910 | printf %s "(cached) " >&6 |
31907 | 31911 | else $as_nop |
31908 | 31912 |
|
31909 | | - ax_check_save_flags=$LDFLAGS |
31910 | | - LDFLAGS="$LDFLAGS -fstack-clash-protection" |
31911 | | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 31913 | + _CFLAGS="$CFLAGS" |
| 31914 | + CFLAGS="$CFLAGS -fstack-clash-protection" |
| 31915 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31912 | 31916 | /* end confdefs.h. */ |
31913 | 31917 |
|
31914 | | -int |
31915 | | -main (void) |
31916 | | -{ |
| 31918 | + int main(int argc, char *argv[]) { char buf[16384], *src = argv[0], *dst = buf; while ((*dst++ = *src++) != '\0'); return buf[argc]; } |
31917 | 31919 |
|
31918 | | - ; |
31919 | | - return 0; |
31920 | | -} |
31921 | 31920 | _ACEOF |
31922 | | -if ac_fn_c_try_link "$LINENO" |
| 31921 | +if ac_fn_c_try_compile "$LINENO" |
31923 | 31922 | then : |
31924 | | - ax_cv_check_ldflags___fstack_clash_protection=yes |
| 31923 | + sudo_cv_check_cflags___fstack_clash_protection=yes |
31925 | 31924 | else $as_nop |
31926 | | - ax_cv_check_ldflags___fstack_clash_protection=no |
| 31925 | + sudo_cv_check_cflags___fstack_clash_protection=no |
31927 | 31926 | fi |
31928 | | -rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
31929 | | - conftest$ac_exeext conftest.$ac_ext |
31930 | | - LDFLAGS=$ax_check_save_flags |
31931 | | -fi |
31932 | | -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___fstack_clash_protection" >&5 |
31933 | | -printf "%s\n" "$ax_cv_check_ldflags___fstack_clash_protection" >&6; } |
31934 | | -if test x"$ax_cv_check_ldflags___fstack_clash_protection" = xyes |
31935 | | -then : |
| 31927 | +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 31928 | + CFLAGS="$_CFLAGS" |
31936 | 31929 |
|
31937 | 31930 |
|
| 31931 | +fi |
| 31932 | +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $sudo_cv_check_cflags___fstack_clash_protection" >&5 |
| 31933 | +printf "%s\n" "$sudo_cv_check_cflags___fstack_clash_protection" >&6; } |
| 31934 | + if test X"$sudo_cv_check_cflags___fstack_clash_protection" = X"yes"; then |
| 31935 | + |
31938 | 31936 | if test ${HARDENING_CFLAGS+y} |
31939 | 31937 | then : |
31940 | 31938 |
|
@@ -32000,12 +31998,43 @@ else $as_nop |
32000 | 31998 |
|
32001 | 31999 | fi |
32002 | 32000 |
|
| 32001 | + fi |
32003 | 32002 |
|
| 32003 | + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fcf-protection" >&5 |
| 32004 | +printf %s "checking whether C compiler accepts -fcf-protection... " >&6; } |
| 32005 | +if test ${ax_cv_check_cflags___fcf_protection+y} |
| 32006 | +then : |
| 32007 | + printf %s "(cached) " >&6 |
32004 | 32008 | else $as_nop |
32005 | | - : |
| 32009 | + |
| 32010 | + ax_check_save_flags=$CFLAGS |
| 32011 | + CFLAGS="$CFLAGS -fcf-protection" |
| 32012 | + cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 32013 | +/* end confdefs.h. */ |
| 32014 | + |
| 32015 | +int |
| 32016 | +main (void) |
| 32017 | +{ |
| 32018 | + |
| 32019 | + ; |
| 32020 | + return 0; |
| 32021 | +} |
| 32022 | +_ACEOF |
| 32023 | +if ac_fn_c_try_compile "$LINENO" |
| 32024 | +then : |
| 32025 | + ax_cv_check_cflags___fcf_protection=yes |
| 32026 | +else $as_nop |
| 32027 | + ax_cv_check_cflags___fcf_protection=no |
| 32028 | +fi |
| 32029 | +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 32030 | + CFLAGS=$ax_check_save_flags |
32006 | 32031 | fi |
| 32032 | +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fcf_protection" >&5 |
| 32033 | +printf "%s\n" "$ax_cv_check_cflags___fcf_protection" >&6; } |
| 32034 | +if test x"$ax_cv_check_cflags___fcf_protection" = xyes |
| 32035 | +then : |
32007 | 32036 |
|
32008 | | - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fcf-protection" >&5 |
| 32037 | + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -fcf-protection" >&5 |
32009 | 32038 | printf %s "checking whether the linker accepts -fcf-protection... " >&6; } |
32010 | 32039 | if test ${ax_cv_check_ldflags___fcf_protection+y} |
32011 | 32040 | then : |
@@ -32107,6 +32136,11 @@ else $as_nop |
32107 | 32136 | fi |
32108 | 32137 |
|
32109 | 32138 |
|
| 32139 | +else $as_nop |
| 32140 | + : |
| 32141 | +fi |
| 32142 | + |
| 32143 | + |
32110 | 32144 | else $as_nop |
32111 | 32145 | : |
32112 | 32146 | fi |
@@ -33114,7 +33148,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
33114 | 33148 | # report actual input values of CONFIG_FILES etc. instead of their |
33115 | 33149 | # values after options handling. |
33116 | 33150 | ac_log=" |
33117 | | -This file was extended by sudo $as_me 1.9.12, which was |
| 33151 | +This file was extended by sudo $as_me 1.9.12p1, which was |
33118 | 33152 | generated by GNU Autoconf 2.71. Invocation command line was |
33119 | 33153 |
|
33120 | 33154 | CONFIG_FILES = $CONFIG_FILES |
@@ -33182,7 +33216,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ |
33182 | 33216 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
33183 | 33217 | ac_cs_config='$ac_cs_config_escaped' |
33184 | 33218 | ac_cs_version="\\ |
33185 | | -sudo config.status 1.9.12 |
| 33219 | +sudo config.status 1.9.12p1 |
33186 | 33220 | configured by $0, generated by GNU Autoconf 2.71, |
33187 | 33221 | with options \\"\$ac_cs_config\\" |
33188 | 33222 |
|
|
0 commit comments