-config BR2_PACKAGE_PMACCT
- prompt "pmacct - IPv4/IPv6 accounting and aggregation tools"
- bool
- default y if CONFIG_DEVEL
- select BR2_PACKAGE_LIBPCAP
- help
- A small set of IPv4/IPv6 accounting and aggregation tools
-
- http://www.ba.cnr.it/~paolo/pmacct/
-
- Depends: libpcap
+menu "pmacct............................ IPv4/IPv6 accounting and aggregation tools"
+
+config BR2_COMPILE_PMACCT
+ tristate
+ default n
+ depends BR2_COMPILE_PMACCT_BASIC || BR2_COMPILE_PMACCT_MYSQL || BR2_COMPILE_PMACCT_PGSQL || BR2_COMPILE_PMACCT_CUSTOM
+
+config BR2_COMPILE_PMACCT_BASIC
+ tristate
+ default n
+ depends BR2_PACKAGE_NFACCTD_BASIC || BR2_PACKAGE_PMACCTD_BASIC
+ select BR2_COMPILE_PMACCT
+
+config BR2_COMPILE_PMACCT_MYSQL
+ tristate
+ default n
+ depends BR2_PACKAGE_NFACCTD_MYSQL || BR2_PACKAGE_PMACCTD_MYSQL
+ select BR2_COMPILE_PMACCT
+
+config BR2_COMPILE_PMACCT_PGSQL
+ tristate
+ default n
+ depends BR2_PACKAGE_NFACCTD_PGSQL || BR2_PACKAGE_PMACCTD_PGSQL
+ select BR2_COMPILE_PMACCT
+
+config BR2_COMPILE_PMACCT_CUSTOM
+ tristate
+ default n
+ depends BR2_PACKAGE_NFACCTD_CUSTOM || BR2_PACKAGE_PMACCTD_CUSTOM
+ select BR2_COMPILE_PMACCT