Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Raphael Kubo da Costa <rakuco <at> FreeBSD.org>
Subject: [PATCH] Detect boost_signal with autoconf with a C++ compiler
Newsgroups: gmane.editors.lyx.devel
Date: Monday 12th September 2011 22:14:32 UTC (over 5 years ago)
Hey there,

I maintain the LyX port on FreeBSD, and was recently contacted by a user
who was not able to built LyX with GCC 4.5 due to autoconf trying to use
gcc instead of g++ to build the source code used to link to boost (LyX
is built with --without-included-boost).

The patch below should fix the problem: AC_CHECK_LIB uses a C compiler,
so we need to manually set the language to C++ and call AC_LINK_IFELSE.
 
CD: 3ms