Merge pull request #218 from kyob/master

usuniecie nadmiarowych IF ELSE
move plugins to other direcotry
fixed destination dir for configs
using directories/smarty_dir we canpoint smarty directory (defaultLIB_DIR/Smarty)
Revert "using directories/smarty_dir we canpoint smarty directory (defaultLIB_DIR/Smarty)"

This reverts commit 00e271d4f044ca5406a5da1b88bd752680af54e1.
missed point to smarty plugins custom dir
fixed wrong info about conflicting drivers
synchronized LOCATE_MYSQL and LOCATE_PGSQL macros
fixed detection of mysql in some situations
regenerated configure
fixed typo
detect situations when there is no database
regenerate configure with current configure.ac
detect bison and flex in the same way
detect missing file program
fix comment about missing net-snmp header files
Make comment about missing database libraries more clear
remove c++ dependency as we not use it
add test for detection of gnu make
regenerate make and configure with new source files