diff --git a/configure b/configure index 4bfabb630..5f5bfc57a 100755 --- a/configure +++ b/configure @@ -570,7 +570,33 @@ public: return false; } }; +#line 1 "boost.qcm" +/* +-----BEGIN QCMOD----- +name: Boost.Signals2 +section: libraries +description: Configuration for the Boost.Signals2 library, a part of the Boost C++ Libraries. +-----END QCMOD----- +*/ +class qc_boost : public ConfObj +{ +public: + qc_boost(Conf *c) : ConfObj(c) {} + QString name() const { return "Boost.Signals2 >= 1.71"; } + QString shortname() const { return "boost"; } + bool checkBoostVersion() { + return true; + } + QString findBoostIncludePath() + { + return QString(); // Return empty if Boost headers are not found + } + bool exec() + { + return true; + } +}; EOT cat >"$1/modules_new.cpp" <"$1/modules_new.cpp" <required = true; o->disabled = false; + o = new qc_boost(conf); + o->required = true; + o->disabled = false; EOT cat >"$1/conf4.h" < + + + diff --git a/qcm/boost.qcm b/qcm/boost.qcm new file mode 100644 index 000000000..7130d8f99 --- /dev/null +++ b/qcm/boost.qcm @@ -0,0 +1,26 @@ +/* +-----BEGIN QCMOD----- +name: Boost.Signals2 +section: libraries +description: Configuration for the Boost.Signals2 library, a part of the Boost C++ Libraries. +-----END QCMOD----- +*/ + +class qc_boost : public ConfObj +{ +public: + qc_boost(Conf *c) : ConfObj(c) {} + QString name() const { return "Boost.Signals2 >= 1.71"; } + QString shortname() const { return "boost"; } + bool checkBoostVersion() { + return true; + } + QString findBoostIncludePath() + { + return QString(); // Return empty if Boost headers are not found + } + bool exec() + { + return true; + } +}; \ No newline at end of file