f->open(filename, ifstream::in);
if (f->good()) return f; else delete f;
}
+
+ /* Faustine directories (Karim Barkati 09/2013) */
+
+#ifdef INSTALL_PREFIX
+ err = chdir(old);
+ if (chdir(INSTALL_PREFIX "/lib/faustine")==0) {
+ ifstream* f = new ifstream();
+ f->open(filename);
+ if (f->good()) return f; else delete f;
+ }
+#endif
+ err = chdir(old);
+ if (chdir("/usr/local/lib/faustine")==0) {
+ ifstream* f = new ifstream();
+ f->open(filename);
+ if (f->good()) return f; else delete f;
+ }
+ err = chdir(old);
+ if (chdir("/usr/lib/faustine")==0) {
+ ifstream* f = new ifstream();
+ f->open(filename);
+ if (f->good()) return f; else delete f;
+ }
+
+ /* End of Faustine directories */
+
+
#ifdef INSTALL_PREFIX
err = chdir(old);
if (chdir(INSTALL_PREFIX "/lib/faust")==0) {