diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-20 11:30:52 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-20 11:30:52 +0100 |
commit | d4c6f4e5ecccd9305fb0258968fa24b405455df3 (patch) | |
tree | b07be9b14f2f7a5f7ec9d523331fc593ca998f38 /configure.ac | |
parent | c2d8966687f4c1b88c9fee8ce8913a51c4bb0f83 (diff) | |
download | gnunet-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.ac | 4 |
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.]) |
1789 | fi | 1789 | fi |
1790 | 1790 | ||
1791 | if test "x$SUDO_BINARY" = "x" -a ! -w / | 1791 | if test "x$install_nss" = "x0" |
1792 | then | 1792 | then |
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]) |
1794 | else | ||
1795 | AC_MSG_NOTICE([NOTICE: Will to install GNS NSS library to $NSS_DIR]) | ||
1794 | fi | 1796 | fi |
1795 | 1797 | ||
1796 | 1798 | ||