Try to fix building with gcc >= 4.6 on Darwin.
authorGlenn Morris <rgm@gnu.org>
Wed, 16 May 2012 06:15:52 +0000 (23:15 -0700)
committerGlenn Morris <rgm@gnu.org>
Wed, 16 May 2012 06:15:52 +0000 (23:15 -0700)
commit27cb7be27d1ee87665bd497af42e142e41a00765
tree8781700b8f1c241040f7240ba3716e00899c40d1
parentb05725233bee74ae0bd58aebbcb90302abe2cb00
Try to fix building with gcc >= 4.6 on Darwin.
Eg, hydra builds have been failing for some time because (?) of this.
In gcc < 4.6, unrecognized -no-fo options just cause a warning.
In 4.6 and later, they cause an error.

* configure.in: (CPP): Do not unconditionally set it on Darwin.
Instead, try to test if -no-cpp-precomp is accepted.
(CPP_TEST_OPTIONS, SPECIFIED_CPP): New.

Fixes: debbugs:9755
ChangeLog
configure.in