Browse Source

- libmagick configure improvement

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
54bf7e61f7
  1. 4
      configure
  2. 4
      qcm/libmagick.qcm

4
configure vendored

@ -594,7 +594,7 @@ public: @@ -594,7 +594,7 @@ public:
s = conf->getenv("QC_WITH_LIBMAGICK_LIB");
if(!s.isEmpty()) {
if(!QFile::exists(s+QString("/libMagick++.so"))){
if(!conf->checkLibrary(s, "Magick++")) {
return false;
}
}else{
@ -605,7 +605,7 @@ public: @@ -605,7 +605,7 @@ public:
sl << "/usr/local/lib64/";
bool found = false;
foreach(s, sl){
if(QFile::exists(s+QString("libMagick++.so"))){
if(conf->checkLibrary(s, "Magick++")) {
found = true;
break;
}

4
qcm/libmagick.qcm

@ -44,7 +44,7 @@ public: @@ -44,7 +44,7 @@ public:
s = conf->getenv("QC_WITH_LIBMAGICK_LIB");
if(!s.isEmpty()) {
if(!QFile::exists(s+QString("/libMagick++.so"))){
if(!conf->checkLibrary(s, "Magick++")) {
return false;
}
}else{
@ -55,7 +55,7 @@ public: @@ -55,7 +55,7 @@ public:
sl << "/usr/local/lib64/";
bool found = false;
foreach(s, sl){
if(QFile::exists(s+QString("libMagick++.so"))){
if(conf->checkLibrary(s, "Magick++")) {
found = true;
break;
}

Loading…
Cancel
Save