diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-13 22:10:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-13 22:10:16 +0000 |
commit | fb1390dfeb7e98a404207988f13341522f3692b6 (patch) | |
tree | 8568f457c1f6cecf4486b6cedea839c39758e0a0 /configure.ac | |
parent | 8f2925beae5b4791ff1c0a592d10ad69f249bc7d (diff) | |
download | gnunet-fb1390dfeb7e98a404207988f13341522f3692b6.tar.gz gnunet-fb1390dfeb7e98a404207988f13341522f3692b6.zip |
improving code and build system to be in line with gnunet access control model for services as described at https://gnunet.org/gnunet-access-control-model
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9dd33ef8f..108fcebcf 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -751,6 +751,28 @@ AC_ARG_WITH(sudo, | |||
751 | AC_SUBST(SUDO_BINARY) | 751 | AC_SUBST(SUDO_BINARY) |
752 | 752 | ||
753 | 753 | ||
754 | # test for gnunetdns group name | ||
755 | GNUNETDNS_GROUP=gnunetdns | ||
756 | AC_MSG_CHECKING(for gnunetdns group name) | ||
757 | AC_ARG_WITH(gnunetdns, | ||
758 | [ --with-gnunetdns=GRPNAME name for gnunetdns group], | ||
759 | [AC_MSG_RESULT("$with_gnunetdns") | ||
760 | case $with_gnunetdns in | ||
761 | no) | ||
762 | GNUNETDNS_GROUP=gnunet | ||
763 | ;; | ||
764 | yes) | ||
765 | GNUNETDNS_GROUP=gnunetdns | ||
766 | ;; | ||
767 | *) | ||
768 | GNUNETDNS_GROUP=$with_gnunetdns | ||
769 | ;; | ||
770 | esac | ||
771 | ], | ||
772 | [AC_MSG_RESULT([gnunetdns])]) | ||
773 | AC_SUBST(GNUNETDNS_GROUP) | ||
774 | |||
775 | |||
754 | # should 'make check' run tests? | 776 | # should 'make check' run tests? |
755 | AC_MSG_CHECKING(whether to run tests) | 777 | AC_MSG_CHECKING(whether to run tests) |
756 | AC_ARG_ENABLE([testruns], | 778 | AC_ARG_ENABLE([testruns], |