/** Used when setting the user_support directory.
* Used also when expanding "~/" or contracting to "~/". (filetools.C)
- * Used by the XForms file dialog.
* Used in emergencyWrite (bufferlist.C) as one possible location
* for the dump.
+ * This may be empty (e. g. when run under a CGI environment)
*/
std::string const & home_dir() const;
+ /// Command to run the configure script
+ std::string const & configure_command() const;
+
private:
std::string binary_dir_;
std::string system_support_dir_;
mutable std::string document_dir_;
mutable std::string temp_dir_;
std::string home_dir_;
+ std::string configure_command_;
bool explicit_user_support_dir_;
};
return home_dir_;
}
+inline
+std::string const & Package::configure_command() const
+{
+ return configure_command_;
+}
+
} // namespace support
} // namespace lyx