bootchartd: warn if .config looks wrong
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 2 Nov 2013 23:07:31 +0000 (00:07 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 2 Nov 2013 23:07:31 +0000 (00:07 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
init/bootchartd.c

index 9fd62335782d7f4570e0e2bf97eeb9b5e702ebcc..c7388c99e3d82bbfdb3ac36473362bc5b6a2bf9f 100644 (file)
 # endif
 #endif
 
+#if !ENABLE_TAR && !ENABLE_WERROR
+# warning Note: bootchartd requires tar command, but you did not select it.
+#elif !ENABLE_FEATURE_SEAMLESS_GZ && !ENABLE_WERROR
+# warning Note: bootchartd requires tar -z support, but you did not select it.
+#endif
+
 #define BC_VERSION_STR "0.8"
 
 /* For debugging, set to 0: