SVN commit 514503 by staniek: Fixed incorrect defaults in configure.in.in The current way to deal with MySQL and PostgreSQL C/C++ headers and libraries contains several errors and inconsistencies: 1. Failure to find libraries on 64-bit (defaults not using $kdelibsuff) 2. The default search path is inconsistent. It should be: includes: "/usr/local/include /usr/include" libraries: "/usr/local/lib$kdelibsuff /usr/lib$kdelibsuff" {mysql,pg}_config: "${prefix}/bin ${exec_prefix}/bin /usr/local/bin /usr/bin" Additional stuff (/opt, etc.) should be given explicitely. 3. The interface (configure arguments) is inconsistent. The following options should be changed to follow standards: --with-pgsqlincdir -> --with-pgsql-includes --with-pgsqllibdir -> --with-pgsql-libraries --with-pqxxincdir -> --with-pqxx-includes --with-pqxxlibdir -> --with-pqxx-libraries 4. The following parameters are never taken into account: --with-mysql-includes --with-mysql-libraries 5. Option for PostgreSQL libdir is not aligned with others (configure --help) Thanks to: Philippe Rigault! CCMAIL:121842-done@bugs.kde.org M +122 -86 configure.in.in