diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-09-01 02:38:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-01 02:38:32 +0200 |
commit | a1c857a6a89b148e0ad786acc75a78377c045171 (patch) | |
tree | 9b454096bff17f064fe8c2cf7bfb0092004b5c6e | |
parent | 1c4ad4b64be168d13a31c8147505b88967be4afb (diff) |
include more build info in debug output
-rw-r--r-- | src/daemon/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c index 1d2aa03e..c8eda398 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -779,6 +779,19 @@ int main(int argc, char *argv[]) { pa_log_info(_("This is PulseAudio %s"), PACKAGE_VERSION); pa_log_debug(_("Compilation CFLAGS: %s"), PA_CFLAGS); + +#ifdef HAVE_VALGRIND_MEMCHECK_H + pa_log_debug(_("Compiled with Valgrind support: yes")); +#else + pa_log_debug(_("Compiled with Valgrind support: no")); +#endif + +#ifdef __OPTIMIZE__ + pa_log_debug(_("Optimized build: yes")); +#else + pa_log_debug(_("Optimized build: no")); +#endif + pa_log_info(_("Page size is %lu bytes"), (unsigned long) PA_PAGE_SIZE); if (!(s = pa_machine_id())) { |