aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-09-27 06:03:05 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2022-11-28 04:55:01 -0300
commit11daf6eaa7f54d2714225921fe6a46d28dabb603 (patch)
tree9e4030ac2fbd519ecae15eae5e863bedb388f9c2
parentconfigure*: wrap long AS_HELP_STRING line (sanitizer) (diff)
downloadfirejail-11daf6eaa7f54d2714225921fe6a46d28dabb603.tar.gz
firejail-11daf6eaa7f54d2714225921fe6a46d28dabb603.tar.zst
firejail-11daf6eaa7f54d2714225921fe6a46d28dabb603.zip
configure*: fix quotes/parens alignment (sanitizer)
-rwxr-xr-xconfigure5
-rw-r--r--configure.ac8
2 files changed, 7 insertions, 6 deletions
diff --git a/configure b/configure
index 52b9143b6..4c9ed1a36 100755
--- a/configure
+++ b/configure
@@ -3056,7 +3056,8 @@ else
3056fi 3056fi
3057 3057
3058if test "x$enable_sanitizer" != "xno" ; then : 3058if 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; }
3062if eval \${$as_CACHEVAR+:} false; then : 3063if eval \${$as_CACHEVAR+:} false; then :
@@ -3094,9 +3095,9 @@ if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
3094 3095
3095else 3096else
3096 as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5 3097 as_fn_error $? "sanitizer not supported: $enable_sanitizer" "$LINENO" 5
3097
3098fi 3098fi
3099 3099
3100
3100fi 3101fi
3101 3102
3102HAVE_IDS="" 3103HAVE_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])
52AS_IF([test "x$enable_sanitizer" != "xno" ], 52AS_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
59HAVE_IDS="" 59HAVE_IDS=""
60AC_SUBST([HAVE_IDS]) 60AC_SUBST([HAVE_IDS])