On Thu, May 17, 2007 at 12:30:31PM +0200, Bruno Haible wrote: > In the macro, it would have been simpler to blindly test for the first > supported option in a list "-fopenmp -xopenmp -openmp -mp -omp -qsmp=omp", > but many compilers accept several of these options and do something unrelated - > like to create an output file called 'penmp' or to warn about an unsupported > compiler option. The code therefore applies each option only to the brand of > compiler that is known to be likely to support it. Even if a compiler accepts one of these options without enabling OpenMP, the test compilation will fail thanks to _OPENMP remaining undefined. Right? I also echo Ralf's good advice, particularly about testing a few OpenMP features in addition to the preprocessor symbol. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf