[patch #8186] ax_pthread adds -pthread when it should not on OSX when compiling with clang

"Daniel Richard G." <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
Follow-up Comment #18, patch #8186 (project autoconf-archive):

The fix for this issue specifically is to remove the Darwin special case, but
my changes go beyond that.

The Clang check is still needed to support older versions properly, but that's
minimal. (I've also made a fix there, to account for the saner behavior of
newer Clang releases.)

I've attached a "draft2" revision of the macro, which is my current
bleeding-edge code. Diffing will show you everything that's going on in there
(I will, of course, have to write up a proper changelog entry).

Please give this a try, Heikki and anyone else still interested, and let me
know if you see any problems. I've tested it across the breadth of systems
available to me, and everything seems to check out so far.

(file #34553)
    _______________________________________________________

Additional Item Attachment:

File name: ax_pthread-draft2.m4           Size:15 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.