summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure111
1 files changed, 94 insertions, 17 deletions
diff --git a/configure b/configure
index 6102a470e..fda292896 100755
--- a/configure
+++ b/configure
@@ -642,6 +642,7 @@ HAVE_GLOBALCFG
642HAVE_CHROOT 642HAVE_CHROOT
643HAVE_SECCOMP 643HAVE_SECCOMP
644HAVE_PRIVATE_HOME 644HAVE_PRIVATE_HOME
645HAVE_FIRETUNNEL
645HAVE_OVERLAYFS 646HAVE_OVERLAYFS
646EXTRA_LDFLAGS 647EXTRA_LDFLAGS
647EXTRA_CFLAGS 648EXTRA_CFLAGS
@@ -681,7 +682,6 @@ infodir
681docdir 682docdir
682oldincludedir 683oldincludedir
683includedir 684includedir
684runstatedir
685localstatedir 685localstatedir
686sharedstatedir 686sharedstatedir
687sysconfdir 687sysconfdir
@@ -706,6 +706,7 @@ ac_user_opts='
706enable_option_checking 706enable_option_checking
707enable_apparmor 707enable_apparmor
708enable_overlayfs 708enable_overlayfs
709enable_firetunnel
709enable_private_home 710enable_private_home
710enable_seccomp 711enable_seccomp
711enable_chroot 712enable_chroot
@@ -773,7 +774,6 @@ datadir='${datarootdir}'
773sysconfdir='${prefix}/etc' 774sysconfdir='${prefix}/etc'
774sharedstatedir='${prefix}/com' 775sharedstatedir='${prefix}/com'
775localstatedir='${prefix}/var' 776localstatedir='${prefix}/var'
776runstatedir='${localstatedir}/run'
777includedir='${prefix}/include' 777includedir='${prefix}/include'
778oldincludedir='/usr/include' 778oldincludedir='/usr/include'
779docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 779docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1026,15 +1026,6 @@ do
1026 | -silent | --silent | --silen | --sile | --sil) 1026 | -silent | --silent | --silen | --sile | --sil)
1027 silent=yes ;; 1027 silent=yes ;;
1028 1028
1029 -runstatedir | --runstatedir | --runstatedi | --runstated \
1030 | --runstate | --runstat | --runsta | --runst | --runs \
1031 | --run | --ru | --r)
1032 ac_prev=runstatedir ;;
1033 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1034 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1035 | --run=* | --ru=* | --r=*)
1036 runstatedir=$ac_optarg ;;
1037
1038 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1039 ac_prev=sbindir ;; 1030 ac_prev=sbindir ;;
1040 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1172,7 +1163,7 @@ fi
1172for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1163for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1173 datadir sysconfdir sharedstatedir localstatedir includedir \ 1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1174 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1175 libdir localedir mandir runstatedir 1166 libdir localedir mandir
1176do 1167do
1177 eval ac_val=\$$ac_var 1168 eval ac_val=\$$ac_var
1178 # Remove trailing slashes. 1169 # Remove trailing slashes.
@@ -1325,7 +1316,6 @@ Fine tuning of the installation directories:
1325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1327 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1328 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1329 --libdir=DIR object code libraries [EPREFIX/lib] 1319 --libdir=DIR object code libraries [EPREFIX/lib]
1330 --includedir=DIR C header files [PREFIX/include] 1320 --includedir=DIR C header files [PREFIX/include]
1331 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -1357,6 +1347,7 @@ Optional Features:
1357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1347 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1358 --enable-apparmor enable apparmor 1348 --enable-apparmor enable apparmor
1359 --disable-overlayfs disable overlayfs 1349 --disable-overlayfs disable overlayfs
1350 --disable-firetunnel disable firetunnel
1360 --disable-private-home disable private home feature 1351 --disable-private-home disable private home feature
1361 --disable-seccomp disable seccomp 1352 --disable-seccomp disable seccomp
1362 --disable-chroot disable chroot 1353 --disable-chroot disable chroot
@@ -3191,6 +3182,78 @@ else
3191 : 3182 :
3192fi 3183fi
3193 3184
3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-clash-protection" >&5
3186$as_echo_n "checking whether C compiler accepts -fstack-clash-protection... " >&6; }
3187if ${ax_cv_check_cflags___fstack_clash_protection+:} false; then :
3188 $as_echo_n "(cached) " >&6
3189else
3190
3191 ax_check_save_flags=$CFLAGS
3192 CFLAGS="$CFLAGS -fstack-clash-protection"
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194/* end confdefs.h. */
3195
3196int
3197main ()
3198{
3199
3200 ;
3201 return 0;
3202}
3203_ACEOF
3204if ac_fn_c_try_compile "$LINENO"; then :
3205 ax_cv_check_cflags___fstack_clash_protection=yes
3206else
3207 ax_cv_check_cflags___fstack_clash_protection=no
3208fi
3209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210 CFLAGS=$ax_check_save_flags
3211fi
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_clash_protection" >&5
3213$as_echo "$ax_cv_check_cflags___fstack_clash_protection" >&6; }
3214if test "x$ax_cv_check_cflags___fstack_clash_protection" = xyes; then :
3215 HAVE_SPECTRE="yes" && EXTRA_CFLAGS+=" -fstack-clash-protection"
3216
3217else
3218 :
3219fi
3220
3221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fstack-protector-strong" >&5
3222$as_echo_n "checking whether C compiler accepts -fstack-protector-strong... " >&6; }
3223if ${ax_cv_check_cflags___fstack_protector_strong+:} false; then :
3224 $as_echo_n "(cached) " >&6
3225else
3226
3227 ax_check_save_flags=$CFLAGS
3228 CFLAGS="$CFLAGS -fstack-protector-strong"
3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230/* end confdefs.h. */
3231
3232int
3233main ()
3234{
3235
3236 ;
3237 return 0;
3238}
3239_ACEOF
3240if ac_fn_c_try_compile "$LINENO"; then :
3241 ax_cv_check_cflags___fstack_protector_strong=yes
3242else
3243 ax_cv_check_cflags___fstack_protector_strong=no
3244fi
3245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 CFLAGS=$ax_check_save_flags
3247fi
3248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fstack_protector_strong" >&5
3249$as_echo "$ax_cv_check_cflags___fstack_protector_strong" >&6; }
3250if test "x$ax_cv_check_cflags___fstack_protector_strong" = xyes; then :
3251 HAVE_SPECTRE="yes" && EXTRA_CFLAGS+=" -fstack-protector-strong"
3252
3253else
3254 :
3255fi
3256
3194 3257
3195HAVE_APPARMOR="" 3258HAVE_APPARMOR=""
3196# Check whether --enable-apparmor was given. 3259# Check whether --enable-apparmor was given.
@@ -3323,8 +3386,8 @@ if test "x$enable_apparmor" = "xyes"; then :
3323 HAVE_APPARMOR="-DHAVE_APPARMOR" 3386 HAVE_APPARMOR="-DHAVE_APPARMOR"
3324 3387
3325pkg_failed=no 3388pkg_failed=no
3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AA" >&5 3389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libapparmor" >&5
3327$as_echo_n "checking for AA... " >&6; } 3390$as_echo_n "checking for libapparmor... " >&6; }
3328 3391
3329if test -n "$AA_CFLAGS"; then 3392if test -n "$AA_CFLAGS"; then
3330 pkg_cv_AA_CFLAGS="$AA_CFLAGS" 3393 pkg_cv_AA_CFLAGS="$AA_CFLAGS"
@@ -3364,7 +3427,7 @@ fi
3364 3427
3365 3428
3366if test $pkg_failed = yes; then 3429if test $pkg_failed = yes; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368$as_echo "no" >&6; } 3431$as_echo "no" >&6; }
3369 3432
3370if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3433if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
@@ -3391,7 +3454,7 @@ Alternatively, you may set the environment variables AA_CFLAGS
3391and AA_LIBS to avoid the need to call pkg-config. 3454and AA_LIBS to avoid the need to call pkg-config.
3392See the pkg-config man page for more details." "$LINENO" 5 3455See the pkg-config man page for more details." "$LINENO" 5
3393elif test $pkg_failed = untried; then 3456elif test $pkg_failed = untried; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395$as_echo "no" >&6; } 3458$as_echo "no" >&6; }
3396 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3460$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
@@ -3433,6 +3496,19 @@ if test "x$enable_overlayfs" != "xno"; then :
3433 3496
3434fi 3497fi
3435 3498
3499HAVE_FIRETUNNEL=""
3500# Check whether --enable-firetunnel was given.
3501if test "${enable_firetunnel+set}" = set; then :
3502 enableval=$enable_firetunnel;
3503fi
3504
3505if test "x$enable_firetunnel" != "xno"; then :
3506
3507 HAVE_FIRETUNNEL="-DHAVE_FIRETUNNEL"
3508
3509
3510fi
3511
3436HAVE_PRIVATEHOME="" 3512HAVE_PRIVATEHOME=""
3437# Check whether --enable-private-home was given. 3513# Check whether --enable-private-home was given.
3438if test "${enable_private_home+set}" = set; then : 3514if test "${enable_private_home+set}" = set; then :
@@ -5280,6 +5356,7 @@ echo " whitelisting: $HAVE_WHITELIST"
5280echo " private home support: $HAVE_PRIVATE_HOME" 5356echo " private home support: $HAVE_PRIVATE_HOME"
5281echo " file transfer support: $HAVE_FILE_TRANSFER" 5357echo " file transfer support: $HAVE_FILE_TRANSFER"
5282echo " overlayfs support: $HAVE_OVERLAYFS" 5358echo " overlayfs support: $HAVE_OVERLAYFS"
5359echo " firetunnel support: $HAVE_FIRETUNNEL"
5283echo " busybox workaround: $BUSYBOX_WORKAROUND" 5360echo " busybox workaround: $BUSYBOX_WORKAROUND"
5284echo " Spectre compiler patch: $HAVE_SPECTRE" 5361echo " Spectre compiler patch: $HAVE_SPECTRE"
5285echo " EXTRA_LDFLAGS: $EXTRA_LDFLAGS" 5362echo " EXTRA_LDFLAGS: $EXTRA_LDFLAGS"