- stlplus::env_vector environment;
-
- std::string assets;
- assets.assign(YOINK_DATADIR);
- if (!stlplus::file_readable(assets)) assets += " (no access)";
-
- std::string datadir = environment["YOINK_DATADIR"];
- if (!datadir.empty())
- {
- if (!stlplus::folder_readable(datadir)) datadir += " (no access)";
- }
-
- std::string rc_file = environment["YOINKRC"];
- if (!rc_file.empty())
- {
- if (!stlplus::file_readable(rc_file)) rc_file += " (no access)";
- }
-
- std::cout << " Executable: " << argv[0] << std::endl
-#ifdef YOINK_GITHEAD
- << " Commit: "YOINK_GITHEAD << std::endl
-#endif
- << " Version: " << PACKAGE_VERSION << std::endl
- << " Built: " << COMPILE_TIME << std::endl
- << " Compiler: " << COMPILER_STRING << std::endl
- << " Assets: " << assets << std::endl
- << "Build options: "
-#ifndef HAVE_CLOCK_GETTIME
- << "-"
-#endif
- << "clock_gettime "
-#ifdef NDEBUG
- << "-"
-#endif
- << "debug "
-#ifndef USE_DOUBLE_PRECISION
- << "-"
-#endif
- << "double-precision "
-#ifndef USE_GTK
- << "-"
-#endif
- << "gtk "
-#ifndef USE_HOTLOADING
- << "-"
-#endif
- << "hotloading "
-#ifndef PROFILING_ENABLED
- << "-"
+#if INCLUDE_CONFIG_FILE
+ extern char data_config_mk[];
+ std::cout << data_config_mk;
+#else
+ std::cout << std::endl << "Configuration not included." << std::endl;