aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure568
1 files changed, 359 insertions, 209 deletions
diff --git a/configure b/configure
index 73a5c89e6..0aefb5c62 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for firejail 0.9.40-rc2. 3# Generated by GNU Autoconf 2.69 for firejail 0.9.45.
4# 4#
5# Report bugs to <netblue30@yahoo.com>. 5# Report bugs to <netblue30@yahoo.com>.
6# 6#
@@ -580,8 +580,8 @@ MAKEFLAGS=
580# Identity of this package. 580# Identity of this package.
581PACKAGE_NAME='firejail' 581PACKAGE_NAME='firejail'
582PACKAGE_TARNAME='firejail' 582PACKAGE_TARNAME='firejail'
583PACKAGE_VERSION='0.9.40-rc2' 583PACKAGE_VERSION='0.9.45'
584PACKAGE_STRING='firejail 0.9.40-rc2' 584PACKAGE_STRING='firejail 0.9.45'
585PACKAGE_BUGREPORT='netblue30@yahoo.com' 585PACKAGE_BUGREPORT='netblue30@yahoo.com'
586PACKAGE_URL='http://firejail.wordpress.com' 586PACKAGE_URL='http://firejail.wordpress.com'
587 587
@@ -625,17 +625,25 @@ ac_includes_default="\
625ac_subst_vars='LTLIBOBJS 625ac_subst_vars='LTLIBOBJS
626LIBOBJS 626LIBOBJS
627HAVE_SECCOMP_H 627HAVE_SECCOMP_H
628EGREP 628HAVE_GCOV
629GREP 629BUSYBOX_WORKAROUND
630CPP
631HAVE_FATAL_WARNINGS 630HAVE_FATAL_WARNINGS
631HAVE_WHITELIST
632HAVE_FILE_TRANSFER 632HAVE_FILE_TRANSFER
633HAVE_X11 633HAVE_X11
634HAVE_USERNS 634HAVE_USERNS
635HAVE_NETWORK 635HAVE_NETWORK
636HAVE_GLOBALCFG
636HAVE_BIND 637HAVE_BIND
637HAVE_CHROOT 638HAVE_CHROOT
638HAVE_SECCOMP 639HAVE_SECCOMP
640HAVE_PRIVATE_HOME
641HAVE_OVERLAYFS
642EXTRA_LDFLAGS
643EGREP
644GREP
645CPP
646HAVE_APPARMOR
639RANLIB 647RANLIB
640INSTALL_DATA 648INSTALL_DATA
641INSTALL_SCRIPT 649INSTALL_SCRIPT
@@ -688,14 +696,21 @@ SHELL'
688ac_subst_files='' 696ac_subst_files=''
689ac_user_opts=' 697ac_user_opts='
690enable_option_checking 698enable_option_checking
699enable_apparmor
700enable_overlayfs
701enable_private_home
691enable_seccomp 702enable_seccomp
692enable_chroot 703enable_chroot
693enable_bind 704enable_bind
705enable_globalcfg
694enable_network 706enable_network
695enable_userns 707enable_userns
696enable_x11 708enable_x11
697enable_file_transfer 709enable_file_transfer
710enable_whitelist
698enable_fatal_warnings 711enable_fatal_warnings
712enable_busybox_workaround
713enable_gcov
699' 714'
700 ac_precious_vars='build_alias 715 ac_precious_vars='build_alias
701host_alias 716host_alias
@@ -1246,7 +1261,7 @@ if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing. 1261 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh. 1262 # This message is too long to be a string in the A/UX 3.1 sh.
1248 cat <<_ACEOF 1263 cat <<_ACEOF
1249\`configure' configures firejail 0.9.40-rc2 to adapt to many kinds of systems. 1264\`configure' configures firejail 0.9.45 to adapt to many kinds of systems.
1250 1265
1251Usage: $0 [OPTION]... [VAR=VALUE]... 1266Usage: $0 [OPTION]... [VAR=VALUE]...
1252 1267
@@ -1307,7 +1322,7 @@ fi
1307 1322
1308if test -n "$ac_init_help"; then 1323if test -n "$ac_init_help"; then
1309 case $ac_init_help in 1324 case $ac_init_help in
1310 short | recursive ) echo "Configuration of firejail 0.9.40-rc2:";; 1325 short | recursive ) echo "Configuration of firejail 0.9.45:";;
1311 esac 1326 esac
1312 cat <<\_ACEOF 1327 cat <<\_ACEOF
1313 1328
@@ -1315,16 +1330,25 @@ Optional Features:
1315 --disable-option-checking ignore unrecognized --enable/--with options 1330 --disable-option-checking ignore unrecognized --enable/--with options
1316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1331 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1332 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1333 --enable-apparmor enable apparmor
1334 --disable-overlayfs disable overlayfs
1335 --disable-private-home disable private home feature
1318 --disable-seccomp disable seccomp 1336 --disable-seccomp disable seccomp
1319 --disable-chroot disable chroot 1337 --disable-chroot disable chroot
1320 --disable-bind disable bind 1338 --disable-bind disable bind
1339 --disable-globalcfg if the global config file firejail.cfg is not
1340 present, continue the program using defaults
1321 --disable-network disable network 1341 --disable-network disable network
1322 --enable-network=restricted 1342 --enable-network=restricted
1323 restrict --net= to root only 1343 restrict --net= to root only
1324 --disable-userns disable user namespace 1344 --disable-userns disable user namespace
1325 --disable-x11 disable X11 sandboxing support 1345 --disable-x11 disable X11 sandboxing support
1326 --disable-file-transfer disable file transfer 1346 --disable-file-transfer disable file transfer
1347 --disable-whitelist disable whitelist
1327 --enable-fatal-warnings -W -Wall -Werror 1348 --enable-fatal-warnings -W -Wall -Werror
1349 --enable-busybox-workaround
1350 enable busybox workaround
1351 --enable-gcov Gcov instrumentation
1328 1352
1329Some influential environment variables: 1353Some influential environment variables:
1330 CC C compiler command 1354 CC C compiler command
@@ -1403,7 +1427,7 @@ fi
1403test -n "$ac_init_help" && exit $ac_status 1427test -n "$ac_init_help" && exit $ac_status
1404if $ac_init_version; then 1428if $ac_init_version; then
1405 cat <<\_ACEOF 1429 cat <<\_ACEOF
1406firejail configure 0.9.40-rc2 1430firejail configure 0.9.45
1407generated by GNU Autoconf 2.69 1431generated by GNU Autoconf 2.69
1408 1432
1409Copyright (C) 2012 Free Software Foundation, Inc. 1433Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1455,52 +1479,6 @@ fi
1455 1479
1456} # ac_fn_c_try_compile 1480} # ac_fn_c_try_compile
1457 1481
1458# ac_fn_c_try_link LINENO
1459# -----------------------
1460# Try to link conftest.$ac_ext, and return whether this succeeded.
1461ac_fn_c_try_link ()
1462{
1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464 rm -f conftest.$ac_objext conftest$ac_exeext
1465 if { { ac_try="$ac_link"
1466case "(($ac_try" in
1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1469esac
1470eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471$as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_link") 2>conftest.err
1473 ac_status=$?
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1478 fi
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } && {
1481 test -z "$ac_c_werror_flag" ||
1482 test ! -s conftest.err
1483 } && test -s conftest$ac_exeext && {
1484 test "$cross_compiling" = yes ||
1485 test -x conftest$ac_exeext
1486 }; then :
1487 ac_retval=0
1488else
1489 $as_echo "$as_me: failed program was:" >&5
1490sed 's/^/| /' conftest.$ac_ext >&5
1491
1492 ac_retval=1
1493fi
1494 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1495 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1496 # interfere with the next link command; also delete a directory that is
1497 # left behind by Apple's compiler. We do this before executing the actions.
1498 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1501
1502} # ac_fn_c_try_link
1503
1504# ac_fn_c_try_cpp LINENO 1482# ac_fn_c_try_cpp LINENO
1505# ---------------------- 1483# ----------------------
1506# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1484# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
@@ -1701,11 +1679,57 @@ $as_echo "$ac_res" >&6; }
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702 1680
1703} # ac_fn_c_check_header_compile 1681} # ac_fn_c_check_header_compile
1682
1683# ac_fn_c_try_link LINENO
1684# -----------------------
1685# Try to link conftest.$ac_ext, and return whether this succeeded.
1686ac_fn_c_try_link ()
1687{
1688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689 rm -f conftest.$ac_objext conftest$ac_exeext
1690 if { { ac_try="$ac_link"
1691case "(($ac_try" in
1692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1694esac
1695eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696$as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_link") 2>conftest.err
1698 ac_status=$?
1699 if test -s conftest.err; then
1700 grep -v '^ *+' conftest.err >conftest.er1
1701 cat conftest.er1 >&5
1702 mv -f conftest.er1 conftest.err
1703 fi
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && {
1706 test -z "$ac_c_werror_flag" ||
1707 test ! -s conftest.err
1708 } && test -s conftest$ac_exeext && {
1709 test "$cross_compiling" = yes ||
1710 test -x conftest$ac_exeext
1711 }; then :
1712 ac_retval=0
1713else
1714 $as_echo "$as_me: failed program was:" >&5
1715sed 's/^/| /' conftest.$ac_ext >&5
1716
1717 ac_retval=1
1718fi
1719 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1720 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1721 # interfere with the next link command; also delete a directory that is
1722 # left behind by Apple's compiler. We do this before executing the actions.
1723 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status $ac_retval
1726
1727} # ac_fn_c_try_link
1704cat >config.log <<_ACEOF 1728cat >config.log <<_ACEOF
1705This file contains any messages produced by compilers while 1729This file contains any messages produced by compilers while
1706running configure, to aid debugging if configure makes a mistake. 1730running configure, to aid debugging if configure makes a mistake.
1707 1731
1708It was created by firejail $as_me 0.9.40-rc2, which was 1732It was created by firejail $as_me 0.9.45, which was
1709generated by GNU Autoconf 2.69. Invocation command line was 1733generated by GNU Autoconf 2.69. Invocation command line was
1710 1734
1711 $ $0 $@ 1735 $ $0 $@
@@ -3062,164 +3086,20 @@ else
3062fi 3086fi
3063 3087
3064 3088
3065HAVE_SECCOMP="" 3089HAVE_APPARMOR=""
3066# Check whether --enable-seccomp was given. 3090# Check whether --enable-apparmor was given.
3067if test "${enable_seccomp+set}" = set; then : 3091if test "${enable_apparmor+set}" = set; then :
3068 enableval=$enable_seccomp; 3092 enableval=$enable_apparmor;
3069fi
3070
3071if test "x$enable_seccomp" != "xno"; then :
3072
3073 HAVE_SECCOMP="-DHAVE_SECCOMP"
3074
3075
3076fi
3077
3078HAVE_CHROOT=""
3079# Check whether --enable-chroot was given.
3080if test "${enable_chroot+set}" = set; then :
3081 enableval=$enable_chroot;
3082fi
3083
3084if test "x$enable_chroot" != "xno"; then :
3085
3086 HAVE_CHROOT="-DHAVE_CHROOT"
3087
3088
3089fi
3090
3091HAVE_BIND=""
3092# Check whether --enable-bind was given.
3093if test "${enable_bind+set}" = set; then :
3094 enableval=$enable_bind;
3095fi
3096
3097if test "x$enable_bind" != "xno"; then :
3098
3099 HAVE_BIND="-DHAVE_BIND"
3100
3101
3102fi
3103
3104HAVE_NETWORK=""
3105# Check whether --enable-network was given.
3106if test "${enable_network+set}" = set; then :
3107 enableval=$enable_network;
3108fi
3109
3110# Check whether --enable-network was given.
3111if test "${enable_network+set}" = set; then :
3112 enableval=$enable_network;
3113fi
3114
3115if test "x$enable_network" != "xno"; then :
3116
3117 HAVE_NETWORK="-DHAVE_NETWORK"
3118 if test "x$enable_network" = "xrestricted"; then :
3119
3120 HAVE_NETWORK="$HAVE_NETWORK -DHAVE_NETWORK_RESTRICTED"
3121
3122fi
3123
3124
3125fi
3126
3127HAVE_USERNS=""
3128# Check whether --enable-userns was given.
3129if test "${enable_userns+set}" = set; then :
3130 enableval=$enable_userns;
3131fi
3132
3133if test "x$enable_userns" != "xno"; then :
3134
3135 HAVE_USERNS="-DHAVE_USERNS"
3136
3137
3138fi
3139
3140HAVE_X11=""
3141# Check whether --enable-x11 was given.
3142if test "${enable_x11+set}" = set; then :
3143 enableval=$enable_x11;
3144fi
3145
3146if test "x$enable_x11" != "xno"; then :
3147
3148 HAVE_X11="-DHAVE_X11"
3149
3150
3151fi
3152
3153HAVE_FILE_TRANSFER=""
3154# Check whether --enable-file-transfer was given.
3155if test "${enable_file_transfer+set}" = set; then :
3156 enableval=$enable_file_transfer;
3157fi
3158
3159if test "x$enable_file_transfer" != "xno"; then :
3160
3161 HAVE_FILE_TRANSFER="-DHAVE_FILE_TRANSFER"
3162
3163
3164fi
3165
3166HAVE_FATAL_WARNINGS=""
3167# Check whether --enable-fatal_warnings was given.
3168if test "${enable_fatal_warnings+set}" = set; then :
3169 enableval=$enable_fatal_warnings;
3170fi 3093fi
3171 3094
3172if test "x$enable_fatal_warnings" = "xyes"; then : 3095if test "x$enable_apparmor" = "xyes"; then :
3173 3096
3174 HAVE_FATAL_WARNINGS="-W -Wall -Werror" 3097 HAVE_APPARMOR="-DHAVE_APPARMOR"
3175 3098
3176 3099
3177fi 3100fi
3178 3101
3179 3102
3180# checking pthread library
3181
3182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3183$as_echo_n "checking for main in -lpthread... " >&6; }
3184if ${ac_cv_lib_pthread_main+:} false; then :
3185 $as_echo_n "(cached) " >&6
3186else
3187 ac_check_lib_save_LIBS=$LIBS
3188LIBS="-lpthread $LIBS"
3189cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190/* end confdefs.h. */
3191
3192
3193int
3194main ()
3195{
3196return main ();
3197 ;
3198 return 0;
3199}
3200_ACEOF
3201if ac_fn_c_try_link "$LINENO"; then :
3202 ac_cv_lib_pthread_main=yes
3203else
3204 ac_cv_lib_pthread_main=no
3205fi
3206rm -f core conftest.err conftest.$ac_objext \
3207 conftest$ac_exeext conftest.$ac_ext
3208LIBS=$ac_check_lib_save_LIBS
3209fi
3210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
3211$as_echo "$ac_cv_lib_pthread_main" >&6; }
3212if test "x$ac_cv_lib_pthread_main" = xyes; then :
3213 cat >>confdefs.h <<_ACEOF
3214#define HAVE_LIBPTHREAD 1
3215_ACEOF
3216
3217 LIBS="-lpthread $LIBS"
3218
3219else
3220 as_fn_error $? "*** POSIX thread support not installed ***" "$LINENO" 5
3221fi
3222
3223ac_ext=c 3103ac_ext=c
3224ac_cpp='$CPP $CPPFLAGS' 3104ac_cpp='$CPP $CPPFLAGS'
3225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3105ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3617,6 +3497,263 @@ fi
3617done 3497done
3618 3498
3619 3499
3500if test "x$enable_apparmor" = "xyes"; then :
3501
3502 ac_fn_c_check_header_mongrel "$LINENO" "sys/apparmor.h" "ac_cv_header_sys_apparmor_h" "$ac_includes_default"
3503if test "x$ac_cv_header_sys_apparmor_h" = xyes; then :
3504
3505else
3506 as_fn_error $? "Couldn't find sys/apparmor.h... please install apparmor user space library and development files " "$LINENO" 5
3507fi
3508
3509
3510
3511fi
3512if test "x$enable_apparmor" = "xyes"; then :
3513
3514 EXTRA_LDFLAGS+="-lapparmor "
3515
3516fi
3517
3518
3519HAVE_OVERLAYFS=""
3520# Check whether --enable-overlayfs was given.
3521if test "${enable_overlayfs+set}" = set; then :
3522 enableval=$enable_overlayfs;
3523fi
3524
3525if test "x$enable_overlayfs" != "xno"; then :
3526
3527 HAVE_OVERLAYFS="-DHAVE_OVERLAYFS"
3528
3529
3530fi
3531
3532HAVE_PRIVATEHOME=""
3533# Check whether --enable-private-home was given.
3534if test "${enable_private_home+set}" = set; then :
3535 enableval=$enable_private_home;
3536fi
3537
3538if test "x$enable_private_home" != "xno"; then :
3539
3540 HAVE_PRIVATE_HOME="-DHAVE_PRIVATE_HOME"
3541
3542
3543fi
3544
3545HAVE_SECCOMP=""
3546# Check whether --enable-seccomp was given.
3547if test "${enable_seccomp+set}" = set; then :
3548 enableval=$enable_seccomp;
3549fi
3550
3551if test "x$enable_seccomp" != "xno"; then :
3552
3553 HAVE_SECCOMP="-DHAVE_SECCOMP"
3554
3555
3556fi
3557
3558HAVE_CHROOT=""
3559# Check whether --enable-chroot was given.
3560if test "${enable_chroot+set}" = set; then :
3561 enableval=$enable_chroot;
3562fi
3563
3564if test "x$enable_chroot" != "xno"; then :
3565
3566 HAVE_CHROOT="-DHAVE_CHROOT"
3567
3568
3569fi
3570
3571HAVE_BIND=""
3572# Check whether --enable-bind was given.
3573if test "${enable_bind+set}" = set; then :
3574 enableval=$enable_bind;
3575fi
3576
3577if test "x$enable_bind" != "xno"; then :
3578
3579 HAVE_BIND="-DHAVE_BIND"
3580
3581
3582fi
3583
3584HAVE_GLOBALCFG=""
3585# Check whether --enable-globalcfg was given.
3586if test "${enable_globalcfg+set}" = set; then :
3587 enableval=$enable_globalcfg;
3588fi
3589
3590if test "x$enable_globalcfg" != "xno"; then :
3591
3592 HAVE_GLOBALCFG="-DHAVE_GLOBALCFG"
3593
3594
3595fi
3596
3597HAVE_NETWORK=""
3598# Check whether --enable-network was given.
3599if test "${enable_network+set}" = set; then :
3600 enableval=$enable_network;
3601fi
3602
3603# Check whether --enable-network was given.
3604if test "${enable_network+set}" = set; then :
3605 enableval=$enable_network;
3606fi
3607
3608if test "x$enable_network" != "xno"; then :
3609
3610 HAVE_NETWORK="-DHAVE_NETWORK"
3611 if test "x$enable_network" = "xrestricted"; then :
3612
3613 HAVE_NETWORK="$HAVE_NETWORK -DHAVE_NETWORK_RESTRICTED"
3614
3615fi
3616
3617
3618fi
3619
3620HAVE_USERNS=""
3621# Check whether --enable-userns was given.
3622if test "${enable_userns+set}" = set; then :
3623 enableval=$enable_userns;
3624fi
3625
3626if test "x$enable_userns" != "xno"; then :
3627
3628 HAVE_USERNS="-DHAVE_USERNS"
3629
3630
3631fi
3632
3633HAVE_X11=""
3634# Check whether --enable-x11 was given.
3635if test "${enable_x11+set}" = set; then :
3636 enableval=$enable_x11;
3637fi
3638
3639if test "x$enable_x11" != "xno"; then :
3640
3641 HAVE_X11="-DHAVE_X11"
3642
3643
3644fi
3645
3646HAVE_FILE_TRANSFER=""
3647# Check whether --enable-file-transfer was given.
3648if test "${enable_file_transfer+set}" = set; then :
3649 enableval=$enable_file_transfer;
3650fi
3651
3652if test "x$enable_file_transfer" != "xno"; then :
3653
3654 HAVE_FILE_TRANSFER="-DHAVE_FILE_TRANSFER"
3655
3656
3657fi
3658
3659HAVE_WHITELIST=""
3660# Check whether --enable-whitelist was given.
3661if test "${enable_whitelist+set}" = set; then :
3662 enableval=$enable_whitelist;
3663fi
3664
3665if test "x$enable_whitelist" != "xno"; then :
3666
3667 HAVE_WHITELIST="-DHAVE_WHITELIST"
3668
3669
3670fi
3671
3672HAVE_FATAL_WARNINGS=""
3673# Check whether --enable-fatal_warnings was given.
3674if test "${enable_fatal_warnings+set}" = set; then :
3675 enableval=$enable_fatal_warnings;
3676fi
3677
3678if test "x$enable_fatal_warnings" = "xyes"; then :
3679
3680 HAVE_FATAL_WARNINGS="-W -Wall -Werror"
3681
3682
3683fi
3684
3685BUSYBOX_WORKAROUND="no"
3686# Check whether --enable-busybox-workaround was given.
3687if test "${enable_busybox_workaround+set}" = set; then :
3688 enableval=$enable_busybox_workaround;
3689fi
3690
3691if test "x$enable_busybox_workaround" = "xyes"; then :
3692
3693 BUSYBOX_WORKAROUND="yes"
3694
3695
3696fi
3697
3698
3699HAVE_GCOV=""
3700# Check whether --enable-gcov was given.
3701if test "${enable_gcov+set}" = set; then :
3702 enableval=$enable_gcov;
3703fi
3704
3705if test "x$enable_gcov" = "xyes"; then :
3706
3707 HAVE_GCOV="--coverage -DHAVE_GCOV "
3708 EXTRA_LDFLAGS+="-lgcov --coverage "
3709
3710
3711fi
3712
3713
3714
3715# checking pthread library
3716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3717$as_echo_n "checking for main in -lpthread... " >&6; }
3718if ${ac_cv_lib_pthread_main+:} false; then :
3719 $as_echo_n "(cached) " >&6
3720else
3721 ac_check_lib_save_LIBS=$LIBS
3722LIBS="-lpthread $LIBS"
3723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724/* end confdefs.h. */
3725
3726
3727int
3728main ()
3729{
3730return main ();
3731 ;
3732 return 0;
3733}
3734_ACEOF
3735if ac_fn_c_try_link "$LINENO"; then :
3736 ac_cv_lib_pthread_main=yes
3737else
3738 ac_cv_lib_pthread_main=no
3739fi
3740rm -f core conftest.err conftest.$ac_objext \
3741 conftest$ac_exeext conftest.$ac_ext
3742LIBS=$ac_check_lib_save_LIBS
3743fi
3744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
3745$as_echo "$ac_cv_lib_pthread_main" >&6; }
3746if test "x$ac_cv_lib_pthread_main" = xyes; then :
3747 cat >>confdefs.h <<_ACEOF
3748#define HAVE_LIBPTHREAD 1
3749_ACEOF
3750
3751 LIBS="-lpthread $LIBS"
3752
3753else
3754 as_fn_error $? "*** POSIX thread support not installed ***" "$LINENO" 5
3755fi
3756
3620ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 3757ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
3621if test "x$ac_cv_header_pthread_h" = xyes; then : 3758if test "x$ac_cv_header_pthread_h" = xyes; then :
3622 3759
@@ -3640,7 +3777,7 @@ if test "$prefix" = /usr; then
3640 sysconfdir="/etc" 3777 sysconfdir="/etc"
3641fi 3778fi
3642 3779
3643ac_config_files="$ac_config_files Makefile src/lib/Makefile src/firejail/Makefile src/firemon/Makefile src/libtrace/Makefile src/libtracelog/Makefile src/firecfg/Makefile src/ftee/Makefile" 3780ac_config_files="$ac_config_files Makefile src/lib/Makefile src/fnet/Makefile src/firejail/Makefile src/firemon/Makefile src/libtrace/Makefile src/libtracelog/Makefile src/firecfg/Makefile src/ftee/Makefile src/faudit/Makefile src/libconnect/Makefile src/fseccomp/Makefile"
3644 3781
3645cat >confcache <<\_ACEOF 3782cat >confcache <<\_ACEOF
3646# This file is a shell script that caches the results of configure 3783# This file is a shell script that caches the results of configure
@@ -4184,7 +4321,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4184# report actual input values of CONFIG_FILES etc. instead of their 4321# report actual input values of CONFIG_FILES etc. instead of their
4185# values after options handling. 4322# values after options handling.
4186ac_log=" 4323ac_log="
4187This file was extended by firejail $as_me 0.9.40-rc2, which was 4324This file was extended by firejail $as_me 0.9.45, which was
4188generated by GNU Autoconf 2.69. Invocation command line was 4325generated by GNU Autoconf 2.69. Invocation command line was
4189 4326
4190 CONFIG_FILES = $CONFIG_FILES 4327 CONFIG_FILES = $CONFIG_FILES
@@ -4238,7 +4375,7 @@ _ACEOF
4238cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4375cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4239ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4376ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4240ac_cs_version="\\ 4377ac_cs_version="\\
4241firejail config.status 0.9.40-rc2 4378firejail config.status 0.9.45
4242configured by $0, generated by GNU Autoconf 2.69, 4379configured by $0, generated by GNU Autoconf 2.69,
4243 with options \\"\$ac_cs_config\\" 4380 with options \\"\$ac_cs_config\\"
4244 4381
@@ -4351,12 +4488,16 @@ do
4351 case $ac_config_target in 4488 case $ac_config_target in
4352 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4489 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4353 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; 4490 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
4491 "src/fnet/Makefile") CONFIG_FILES="$CONFIG_FILES src/fnet/Makefile" ;;
4354 "src/firejail/Makefile") CONFIG_FILES="$CONFIG_FILES src/firejail/Makefile" ;; 4492 "src/firejail/Makefile") CONFIG_FILES="$CONFIG_FILES src/firejail/Makefile" ;;
4355 "src/firemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/firemon/Makefile" ;; 4493 "src/firemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/firemon/Makefile" ;;
4356 "src/libtrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtrace/Makefile" ;; 4494 "src/libtrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtrace/Makefile" ;;
4357 "src/libtracelog/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtracelog/Makefile" ;; 4495 "src/libtracelog/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtracelog/Makefile" ;;
4358 "src/firecfg/Makefile") CONFIG_FILES="$CONFIG_FILES src/firecfg/Makefile" ;; 4496 "src/firecfg/Makefile") CONFIG_FILES="$CONFIG_FILES src/firecfg/Makefile" ;;
4359 "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;; 4497 "src/ftee/Makefile") CONFIG_FILES="$CONFIG_FILES src/ftee/Makefile" ;;
4498 "src/faudit/Makefile") CONFIG_FILES="$CONFIG_FILES src/faudit/Makefile" ;;
4499 "src/libconnect/Makefile") CONFIG_FILES="$CONFIG_FILES src/libconnect/Makefile" ;;
4500 "src/fseccomp/Makefile") CONFIG_FILES="$CONFIG_FILES src/fseccomp/Makefile" ;;
4360 4501
4361 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4502 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4362 esac 4503 esac
@@ -4818,13 +4959,22 @@ echo " prefix: $prefix"
4818echo " sysconfdir: $sysconfdir" 4959echo " sysconfdir: $sysconfdir"
4819echo " seccomp: $HAVE_SECCOMP" 4960echo " seccomp: $HAVE_SECCOMP"
4820echo " <linux/seccomp.h>: $HAVE_SECCOMP_H" 4961echo " <linux/seccomp.h>: $HAVE_SECCOMP_H"
4962echo " apparmor: $HAVE_APPARMOR"
4963echo " global config: $HAVE_GLOBALCFG"
4821echo " chroot: $HAVE_CHROOT" 4964echo " chroot: $HAVE_CHROOT"
4822echo " bind: $HAVE_BIND" 4965echo " bind: $HAVE_BIND"
4823echo " network: $HAVE_NETWORK" 4966echo " network: $HAVE_NETWORK"
4824echo " user namespace: $HAVE_USERNS" 4967echo " user namespace: $HAVE_USERNS"
4825echo " X11 sandboxing support: $HAVE_X11" 4968echo " X11 sandboxing support: $HAVE_X11"
4969echo " whitelisting: $HAVE_WHITELIST"
4970echo " private home support: $HAVE_PRIVATE_HOME"
4826echo " file transfer support: $HAVE_FILE_TRANSFER" 4971echo " file transfer support: $HAVE_FILE_TRANSFER"
4972echo " overlayfs support: $HAVE_OVERLAYFS"
4973echo " busybox workaround: $BUSYBOX_WORKAROUND"
4974echo " EXTRA_LDFLAGS: $EXTRA_LDFLAGS"
4827echo " fatal warnings: $HAVE_FATAL_WARNINGS" 4975echo " fatal warnings: $HAVE_FATAL_WARNINGS"
4976echo " Gcov instrumentation: $HAVE_GCOV"
4828echo 4977echo
4829 4978
4830 4979
4980