Re: fixing AC_OPENMP for Apple clang

Bruno Haible via Discussion list for the autoconf build system <[email protected]> Wed, 04 Mar 2026 03:26:05 +0100
Newsgroups gmane.comp.sysutils.autoconf.general
Organization GNU
Message-ID <11743135.JfHoxFWqRv@nimes>
Dima Pasechnik wrote:
> I mentioned in the thread that I already got a patch into GNU libtool to support "-Xpreprocessor -fopenmp".

And Zack replied:
! Autoconf proper cannot accept a patch to enable use of "-Xpreprocessor
! -fopenmp" until it is supported in a *released* version of GNU libtool.

My point is: If one uses "-Wp,-fopenmp" instead of "-Xpreprocessor -fopenmp",
there is no need to wait for a new libtool release.

Bruno