diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-09-27 06:03:05 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-11-28 04:55:01 -0300 |
commit | 11daf6eaa7f54d2714225921fe6a46d28dabb603 (patch) | |
tree | 9e4030ac2fbd519ecae15eae5e863bedb388f9c2 | |
parent | configure*: wrap long AS_HELP_STRING line (sanitizer) (diff) | |
download | firejail-11daf6eaa7f54d2714225921fe6a46d28dabb603.tar.gz firejail-11daf6eaa7f54d2714225921fe6a46d28dabb603.tar.zst firejail-11daf6eaa7f54d2714225921fe6a46d28dabb603.zip |
configure*: fix quotes/parens alignment (sanitizer)
-rwxr-xr-x | configure | 5 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 7 insertions, 6 deletions
@@ -3056,7 +3056,8 @@ else | |||
3056 | fi | 3056 | fi |
3057 | 3057 | ||
3058 | if test "x$enable_sanitizer" != "xno" ; then : | 3058 | if test "x$enable_sanitizer" != "xno" ; then : |
3059 | as_CACHEVAR=`$as_echo "ax_cv_check_cflags__-fsanitize=$enable_sanitizer" | $as_tr_sh` | 3059 | |
3060 | as_CACHEVAR=`$as_echo "ax_cv_check_cflags__-fsanitize=$enable_sanitizer" | $as_tr_sh` | ||
3060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=$enable_sanitizer" >&5 | 3061 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=$enable_sanitizer" >&5 |
3061 | $as_echo_n "checking whether C compiler accepts -fsanitize=$enable_sanitizer... " >&6; } | 3062 | $as_echo_n "checking whether C compiler accepts -fsanitize=$enable_sanitizer... " >&6; } |
3062 | if eval \${$as_CACHEVAR+:} false; then : | 3063 | if eval \${$as_CACHEVAR+:} false; then : |
@@ -3094,9 +3095,9 @@ if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : | |||
3094 | 3095 | ||
3095 | else | 3096 | else |
3096 | as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5 | 3097 | as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5 |
3097 | |||
3098 | fi | 3098 | fi |
3099 | 3099 | ||
3100 | |||
3100 | fi | 3101 | fi |
3101 | 3102 | ||
3102 | HAVE_IDS="" | 3103 | HAVE_IDS="" |
diff --git a/configure.ac b/configure.ac index 774fd57a1..9e2061211 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -49,12 +49,12 @@ AC_ARG_ENABLE([sanitizer], | |||
49 | [enable a compiler-based sanitizer (debug)])], | 49 | [enable a compiler-based sanitizer (debug)])], |
50 | [], | 50 | [], |
51 | [enable_sanitizer=no]) | 51 | [enable_sanitizer=no]) |
52 | AS_IF([test "x$enable_sanitizer" != "xno" ], | 52 | AS_IF([test "x$enable_sanitizer" != "xno" ], [ |
53 | [AX_CHECK_COMPILE_FLAG([-fsanitize=$enable_sanitizer], [ | 53 | AX_CHECK_COMPILE_FLAG([-fsanitize=$enable_sanitizer], [ |
54 | EXTRA_CFLAGS="$EXTRA_CFLAGS -fsanitize=$enable_sanitizer -fno-omit-frame-pointer" | 54 | EXTRA_CFLAGS="$EXTRA_CFLAGS -fsanitize=$enable_sanitizer -fno-omit-frame-pointer" |
55 | EXTRA_LDFLAGS="$EXTRA_LDFLAGS -fsanitize=$enable_sanitizer" | 55 | EXTRA_LDFLAGS="$EXTRA_LDFLAGS -fsanitize=$enable_sanitizer" |
56 | ], [AC_MSG_ERROR([sanitizer not supported: $enable_sanitizer])] | 56 | ], [AC_MSG_ERROR([sanitizer not supported: $enable_sanitizer])]) |
57 | )]) | 57 | ]) |
58 | 58 | ||
59 | HAVE_IDS="" | 59 | HAVE_IDS="" |
60 | AC_SUBST([HAVE_IDS]) | 60 | AC_SUBST([HAVE_IDS]) |