Hi
I suppose you're getting tired of hearing about my ancient Redhat system, but my gcc doesn't believe in -Wno-unused-parameters, preferning
Same on FreeBSD which also still uses 2.95. I think there are lots of systems that still use gcc2.95
If you add a simple way to test whether gcc accepts the warning option, in configure.in, it'd be ok.
Attached is a patch wich does just that. However, it assumes that the -Wno-unused-parameters appeared with version 3 of gcc. A quick google search seems to confirm that this option was introduced with gcc 3.0 - can anybody with gcc 3.0 confirm that ? The patch also fixes some problems with detection of /usr/local in the default path. This patch works on a FreeBSD 4.8 system (gcc 2.95) and a Suse 8.2 system (gcc3.2). Cheers Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198