Skip to content
Snippets Groups Projects
Commit ba1b1bba authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added possibility to inquire for external molfile

parent f4ca4c5d
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,14 @@ bool hasMolfile(){
#endif
}
bool hasExternalMolfile(){
#if __PLUMED_INTERNAL_MOLFILE_PLUGINS
return false;
#else
return true;
#endif
}
bool hasZlib(){
#if __PLUMED_HAS_ZLIB
return true;
......
......@@ -51,6 +51,8 @@ bool hasCregex();
bool hasMolfile();
bool hasExternalMolfile();
bool hasZlib();
}
......
......@@ -128,6 +128,8 @@ int CLToolMain::run(int argc, char **argv,FILE*in,FILE*out,Communicator& pc){
return (config::hasDlopen()?0:1);
} else if(a=="--has-molfile"){
return (config::hasMolfile()?0:1);
} else if(a=="--has-external-molfile"){
return (config::hasExternalMolfile()?0:1);
} else if(a=="--has-zlib"){
return (config::hasZlib()?0:1);
} else if(a=="--is-installed"){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment