aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-09-27 05:17:12 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-28 04:54:54 -0300
commit245e4cca6271355bf6be0dcc5ffb3d9bc359a4e9 (patch)
treed2796cbeb78cf8838c38fffa6a1df61605997f30 /configure
parentconfigure*: remove extraneous blank lines (warning) (diff)
downloadfirejail-245e4cca6271355bf6be0dcc5ffb3d9bc359a4e9.tar.gz
firejail-245e4cca6271355bf6be0dcc5ffb3d9bc359a4e9.tar.zst
firejail-245e4cca6271355bf6be0dcc5ffb3d9bc359a4e9.zip
configure*: wrap long shell command output lines
Instead of binding them together with conditionals in a single line, split shell commands into multiple lines to make them more readable. Note that for the macro arguments in question, the content inside [] quotes is output literally into ./configure, so the commands can be written as if they were in a shell script directly (save for any special characters/tokens in Autoconf). Misc: Relates to commit 2c64d1fdd ("use AX_CHECK_COMPILE_FLAG to check for spectre flags", 2019-06-21).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 16 insertions, 5 deletions
diff --git a/configure b/configure
index 1f5be1cba..52b9143b6 100755
--- a/configure
+++ b/configure
@@ -2914,7 +2914,9 @@ fi
2914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mindirect_branch_thunk" >&5 2914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mindirect_branch_thunk" >&5
2915$as_echo "$ax_cv_check_cflags___mindirect_branch_thunk" >&6; } 2915$as_echo "$ax_cv_check_cflags___mindirect_branch_thunk" >&6; }
2916if test "x$ax_cv_check_cflags___mindirect_branch_thunk" = xyes; then : 2916if test "x$ax_cv_check_cflags___mindirect_branch_thunk" = xyes; then :
2917 HAVE_SPECTRE="yes" && EXTRA_CFLAGS="$EXTRA_CFLAGS -mindirect-branch=thunk" 2917
2918 HAVE_SPECTRE="yes"
2919 EXTRA_CFLAGS="$EXTRA_CFLAGS -mindirect-branch=thunk"
2918 2920
2919else 2921else
2920 : 2922 :
@@ -2950,7 +2952,9 @@ fi
2950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mretpoline" >&5 2952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mretpoline" >&5
2951$as_echo "$ax_cv_check_cflags___mretpoline" >&6; } 2953$as_echo "$ax_cv_check_cflags___mretpoline" >&6; }
2952if test "x$ax_cv_check_cflags___mretpoline" = xyes; then : 2954if test "x$ax_cv_check_cflags___mretpoline" = xyes; then :
2953 HAVE_SPECTRE="yes" && EXTRA_CFLAGS="$EXTRA_CFLAGS -mretpoline" 2955
2956 HAVE_SPECTRE="yes"
2957 EXTRA_CFLAGS="$EXTRA_CFLAGS -mretpoline"
2954 2958
2955else 2959else
2956 : 2960 :
@@ -2986,7 +2990,9 @@ fi
2986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_clash_protection" >&5 2990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_clash_protection" >&5
2987$as_echo "$ax_cv_check_cflags___fstack_clash_protection" >&6; } 2991$as_echo "$ax_cv_check_cflags___fstack_clash_protection" >&6; }
2988if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes; then : 2992if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes; then :
2989 HAVE_SPECTRE="yes" && EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-clash-protection" 2993
2994 HAVE_SPECTRE="yes"
2995 EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-clash-protection"
2990 2996
2991else 2997else
2992 : 2998 :
@@ -3022,7 +3028,9 @@ fi
3022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_strong" >&5 3028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_strong" >&5
3023$as_echo "$ax_cv_check_cflags___fstack_protector_strong" >&6; } 3029$as_echo "$ax_cv_check_cflags___fstack_protector_strong" >&6; }
3024if test "x$ax_cv_check_cflags___fstack_protector_strong" = xyes; then : 3030if test "x$ax_cv_check_cflags___fstack_protector_strong" = xyes; then :
3025 HAVE_SPECTRE="yes" && EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-protector-strong" 3031
3032 HAVE_SPECTRE="yes"
3033 EXTRA_CFLAGS="$EXTRA_CFLAGS -fstack-protector-strong"
3026 3034
3027else 3035else
3028 : 3036 :
@@ -3323,7 +3331,10 @@ else
3323 AA_LIBS=$pkg_cv_AA_LIBS 3331 AA_LIBS=$pkg_cv_AA_LIBS
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3325$as_echo "yes" >&6; } 3333$as_echo "yes" >&6; }
3326 EXTRA_CFLAGS="$EXTRA_CFLAGS $AA_CFLAGS" && EXTRA_LDFLAGS="$EXTRA_LDFLAGS $AA_LIBS" 3334
3335 EXTRA_CFLAGS="$EXTRA_CFLAGS $AA_CFLAGS"
3336 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $AA_LIBS"
3337
3327fi 3338fi
3328 3339
3329fi 3340fi