From: Christian P. <cp...@us...> - 2005-01-17 22:02:22
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/Plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23767/include/pclasses/Plugin Modified Files: Plugin.h Log Message: Added #ifdef around PCLASSES_LIB_DIR and PCLASSES_PLUGINS_DIR - seems not possible with autoconf/automake since PCLASSES_LIB_DIR ($pkglibdir) is left unexpanded in config.h. ugh! Index: Plugin.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Plugin/Plugin.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- Plugin.h 10 Jan 2005 13:00:56 -0000 1.13 +++ Plugin.h 17 Jan 2005 22:01:54 -0000 1.14 @@ -245,9 +245,13 @@ void init() { this->m_path.addPath( "." ); +#ifdef PCLASSES_PLUGINS_DIR this->m_path.addPath( PCLASSES_PLUGINS_DIR ); +#endif +#ifdef PCLASSES_LIB_DIR this->m_path.addPath( PCLASSES_LIB_DIR ); - this->m_path.addExtension(std::string(".")+::P::System::SharedLib::extension()); +#endif + this->m_path.addExtension(std::string(".")+System::SharedLib::extension()); } PluginsMap m_smap; ::P::System::PathFinder m_path; |