# undef cpPlugins_Interface_QT4
#endif // cpPlugins_Interface_QT4_USED == 1
+// Base configuration for each OS
+#ifdef _WIN32
+# define PLUGIN_PREFIX ""
+# define PLUGIN_EXT ".dll"
+# ifdef _WIN64
+# endif
+#elif __APPLE__
+# include "TargetConditionals.h"
+# if TARGET_IPHONE_SIMULATOR
+# define PLUGIN_PREFIX "lib"
+# define PLUGIN_EXT ".dylib"
+# elif TARGET_OS_IPHONE
+# define PLUGIN_PREFIX "lib"
+# define PLUGIN_EXT ".dylib"
+# elif TARGET_OS_MAC
+# define PLUGIN_PREFIX "lib"
+# define PLUGIN_EXT ".dylib"
+# else
+# error "Unknown Apple platform"
+# endif
+#elif __linux__
+# define PLUGIN_PREFIX "lib"
+# define PLUGIN_EXT ".so"
+#elif __unix__ // all unices not caught above
+# define PLUGIN_PREFIX "lib"
+# define PLUGIN_EXT ".so"
+#elif defined(_POSIX_VERSION)
+# define PLUGIN_PREFIX "lib"
+# define PLUGIN_EXT ".so"
+#else
+# error "Unknown compiler: I do not know how to manage dynamic libraries."
+#endif
+
+#define PLUGIN_CONFIG_FILE "plugins.cfg"
+
#endif // __CPPLUGINS__INTERFACE__CONFIG__H__
// eof - $RCSfile$