Fixed detection of mysql 5.1 and older versions
added correct detection of bison
fix snmp library detection for centos
add concat function to database driver (reduce count of USE_PGSQL/USE_MYSQL)
Reduced usage of macros USE_MYSQL, USE_PGSQL, BROADCAST, LAST_INSERT_ID
Every module should call database by global object sice I plan to remove static database driver dependency
Remove another USE_PGSQL macro
removed unnecessary database dependent, compilation time typecast (cutoff module)
Daemon can now load database configuration from lms.ini
remove left database dependency
Database drivers are now loadable modules
add missing file
regenerate makefiles as foreign package (not GNU)