Re: top-level configure.ac: factor the libgomp check for posix-like OS

2015-08-25 Thread Gary Funck
Ended up using the same approach as libatomic, moving the checking logic into libgupc/configure.tgt. +# Disable libgupc on unsupported systems. +if test -d ${srcdir}/libgupc; then +if test x$enable_libgupc = x; then + AC_MSG_CHECKING([for libgupc support]) + if (srcdir=${srcdir}/l

Re: top-level configure.ac: factor the libgomp check for posix-like OS

2015-08-18 Thread Gary Funck
On 08/18/15 08:52:31, Thomas Schwinge wrote: > Even if applicable regarding the libgomp configuration (because > nvptx-none has its own libgomp "port": libgomp/config/nvptx/), it seems a > bit strange to qualify nvptx-none as a POSIX-like system. Hmm... > > + > > +# Enable libgomp by default on P

Re: top-level configure.ac: factor the libgomp check for posix-like OS

2015-08-17 Thread Thomas Schwinge
Hi! On Mon, 17 Aug 2015 06:46:32 -0700, Gary Funck wrote: > I'm working on a patch set for GUPC, and as part of that work, > I may have a couple changes to trunk that will improve the fit > with the GUPC changes. Here's one in configure.ac. > > At the moment, there is a check to see if $enable_