[nanomsg] Re: Problem building on HP-UX

  • From: André Jonsson <nanomsg@xxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 20 Sep 2013 12:27:58 +0200

On 2013-09-20 11:55, Martin Sustrik wrote:
Ahem... I didn't associate "mt" with multi-threaded, for some reason...
It's usually needed for setting some defines (e.g. _POSIX_C_SOURCE)
required for compiling some things.

But yes, it is for multi-threading, so it should be added by default,
certainly.

http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/Online_Help/options.htm#opt-mt


I'll add that as well. As a separate patch or merged with the one I just
sent?

As is your preference. Don't forget about the MIT thing though, else I won't be able to merge it.

I sent you an email about the license a while ago.

I patched for the -mt flag in the AX_PTHREAD macro, so I did a separate patch, attached.


/André

Attachment: nanomsg_hpux_pthread.patch.gz
Description: application/gzip

Other related posts: