Upgraded to Autoconf 2.
Removed obsolete pgperf.
Generated a new configure script.
Cleaned up the makefile.
Link with C++.