aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-20 11:30:52 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-20 11:30:52 +0100
commitd4c6f4e5ecccd9305fb0258968fa24b405455df3 (patch)
treeb07be9b14f2f7a5f7ec9d523331fc593ca998f38 /configure.ac
parentc2d8966687f4c1b88c9fee8ce8913a51c4bb0f83 (diff)
downloadgnunet-d4c6f4e5ecccd9305fb0258968fa24b405455df3.tar.gz
gnunet-d4c6f4e5ecccd9305fb0258968fa24b405455df3.zip
fix NSS / sudo warning output by configure to be more accurate (#4631)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7c10d07f1..dc9eabbc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1788,9 +1788,11 @@ then
1788 AC_MSG_NOTICE([NOTICE: Mac OS X framework build enabled.]) 1788 AC_MSG_NOTICE([NOTICE: Mac OS X framework build enabled.])
1789fi 1789fi
1790 1790
1791if test "x$SUDO_BINARY" = "x" -a ! -w / 1791if test "x$install_nss" = "x0"
1792then 1792then
1793 AC_MSG_NOTICE([NOTICE: --with-sudo not specified and not running as 'root', will not install GNS NSS library]) 1793 AC_MSG_NOTICE([NOTICE: --with-sudo not specified and not running as 'root', will not install GNS NSS library])
1794else
1795 AC_MSG_NOTICE([NOTICE: Will to install GNS NSS library to $NSS_DIR])
1794fi 1796fi
1795 1797
1796 1798