Hello Jan, David,

* David Fang wrote on Tue, Aug 22, 2006 at 08:11:28PM CEST:
> 
> Then the test is even simpler: compile an empty or trivial source file
> with the same m4 test and replace -Werror with -fvisibility=hidden.
> This is how I test for individual command-line options, where no
> sophisticated diagnosis of the outcome is required (just success/fail).
> HTH.

Then you could also just use the visibility module from gnulib:
http://cvs.savannah.gnu.org/viewcvs/*checkout*/gnulib/gnulib/MODULES.html?rev=HEAD&content-type=text/html#module=visibility

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to