configure only works with gcc
|Reported by:||nics||Owned by:||pramsey|
Trying to build geos-3.2.2 on Solaris10/SPARC with Sun Studio, I recognized that the configure script depends on the compiler to be gcc. For example it uses -pedantic (which suncc accepts and passes down to linker, resulting in a segfault). Also many -W* and -f* options that are very gcc-specific are used in configure. As a result, configure doesn't get the correct results as compiling all its test programs result in segfaults of suncc.