[ ijbswa-Patches-3564815 ] Build without error on Haiku

SourceForge.net <[email protected]>
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Patches item #3564815, was opened at 2012-09-04 13:41
Message generated for change (Tracker Item Submitted) made by simonsouth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=311118&aid=3564815&group_id=11118

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Simon South (simonsouth)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build without error on Haiku

Initial Comment:
This patch changes configure.in so Privoxy will build on Haiku (http://haiku-os.org) out-of-the-box.

Haiku provides a pthreads implementation in its system library, libroot, as opposed to a separate library (libpthread). With this patch applied, autoconf will detect Privoxy is being built on Haiku and will omit the "-lpthread" option to gcc as it is not needed and causes the build to fail.

I've tested this on Haiku (hrev44584) and Linux (Fedora 17) and with the patch applied Privoxy builds on both systems without problem.

For Haiku, this is the configure command I used:

./configure --prefix=`finddir B_COMMON_DIRECTORY` \
                --sbindir=`finddir B_COMMON_BIN_DIRECTORY` \
                --sysconfdir=`finddir B_COMMON_ETC_DIRECTORY`/privoxy \
                --localstatedir=`finddir B_COMMON_VAR_DIRECTORY` \
                --datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` \
                --infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \
                --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
                --with-user=user \
                --with-group=root \
                LDFLAGS='-L/boot/common/lib -lnetwork'


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=311118&aid=3564815&group_id=11118

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
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.