aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-31 18:04:28 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-31 18:04:28 +0000
commitf3fa149e507bf5cca1f499d48c780a4853e7b2c5 (patch)
treefc446fdc671ff5cba0874bb000ab7f2c378a36be /configure.ac
parentdc994999f6702effb64e5bfc3eb727ee0f3723ef (diff)
downloadgnunet-f3fa149e507bf5cca1f499d48c780a4853e7b2c5.tar.gz
gnunet-f3fa149e507bf5cca1f499d48c780a4853e7b2c5.zip
-allow installation even as non-root non-sudo user to succeed with new nss code
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c75b52f4c..2cc522bf6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -766,7 +766,7 @@ AC_ARG_WITH(sudo,
766 ], 766 ],
767 [AC_MSG_RESULT([no])]) 767 [AC_MSG_RESULT([no])])
768AC_SUBST(SUDO_BINARY) 768AC_SUBST(SUDO_BINARY)
769 769AM_CONDITIONAL([HAVE_SUDO], [test "x$SUDO_BINARY" != "x" -o -w /])
770 770
771# test for gnunetdns group name 771# test for gnunetdns group name
772GNUNETDNS_GROUP=gnunetdns 772GNUNETDNS_GROUP=gnunetdns
@@ -1104,6 +1104,11 @@ then
1104 AC_MSG_NOTICE([NOTICE: Mac OS X framework build enabled.]) 1104 AC_MSG_NOTICE([NOTICE: Mac OS X framework build enabled.])
1105fi 1105fi
1106 1106
1107if test "x$SUDO_BINARY" = "x" -a ! -w /
1108then
1109 AC_MSG_NOTICE([NOTICE: --with-sudo not specified and not running as 'root', will not install GNS NSS library])
1110fi
1111
1107AC_MSG_NOTICE([******************************************** 1112AC_MSG_NOTICE([********************************************
1108You can compile GNUnet with 1113You can compile GNUnet with
1109 make 1114 make