summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r--recordmydesktop/src/rmd_parseargs.c23
1 files changed, 15 insertions, 8 deletions
diff --git a/recordmydesktop/src/rmd_parseargs.c b/recordmydesktop/src/rmd_parseargs.c
index aa68a9f..f0b3dcc 100644
--- a/recordmydesktop/src/rmd_parseargs.c
+++ b/recordmydesktop/src/rmd_parseargs.c
@@ -34,20 +34,27 @@
#include <string.h>
-static void PrintConfig(void) {
- fprintf(stderr,"\nrecordMyDesktop was compiled with"
- " the following options:\n\n");
#ifdef HAVE_LIBJACK
- fprintf(stdout,"Jack\t\t\t:Enabled\n");
+#define RMD_LIBJACK_STATUS "Enabled"
#else
- fprintf(stdout,"Jack\t\t\t:Disabled\n");
+#define RMD_LIBJACK_STATUS "Disabled"
#endif
+
#ifdef HAVE_LIBASOUND
- fprintf(stdout,"Default Audio Backend\t:ALSA\n");
+#define RMD_LIBASOUND_STATUS "ALSA"
#else
- fprintf(stdout,"Default Audio Backend\t:OSS\n");
+#define RMD_LIBASOUND_STATUS "OSS"
#endif
- fprintf(stderr,"\n\n");
+
+static void PrintConfig(void) {
+ fprintf(stderr,
+ "\n"
+ "recordMyDesktop was compiled with the following options:\n"
+ "\n"
+ "Jack:\t\t\t" RMD_LIBJACK_STATUS "\n"
+ "Default Audio Backend:\t" RMD_LIBASOUND_STATUS "\n"
+ "\n"
+ "\n");
}
/**
© All Rights Reserved