chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] CMakeLists.txt patch: fixes error which prevents configu


From: Will M Farr
Subject: [Chicken-users] CMakeLists.txt patch: fixes error which prevents configuring when no libffi present
Date: Tue, 5 Jun 2007 09:30:41 -0400

Hello all,

I tried to build a new chicken from the latest darcs sources today, and I couldn't get past the configure step of CMake. The problem seemed to be that I have no libffi, so the libffi test doesn't build, and CMake won't let me go on and [c]onfigure.

I browsed through CMakeLists.txt, and found that when the test doesn't build, CMake logs an actual error, rather than simply setting a flag not to use libffi and sending a message to the screen. The attached patch (against today's darcs repo) fixes that problem: under the patch, when the libffi test doesn't build, CMake simply sets the WITHOUT_LIBFFI flag to TRUE, but doesn't report an error which derails the entire configuration process.

Thanks,
Will

Attachment: chicken-CMakeLists.txt.patch
Description: Binary data

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]