monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] [PATCH] Make monotone build on Debian unstable.


From: Nathaniel Smith
Subject: [Monotone-devel] [PATCH] Make monotone build on Debian unstable.
Date: Sun, 31 Aug 2003 03:37:36 -0700
User-agent: Mutt/1.5.4i

Debian munges its Lua packages to allow different major versions to be
installed at once; in particular, the Lua 4.0 headers files are in lua40
(e.g., <lua40/lua.h>), and the libraries have "40" appended (e.g.,
-llua40).  This patch against the 0.3 release[1] causes configure to
check for both in both places and use whatever works.  I also changed
configure to exit with an error if any of the checks for Lua fail,
since the lack of errors from configure confused me for a bit, and I
threw in a similar error for libpopt while I was at it.  (Possibly
similar errors should be added if the -ldl or -lpthread checks fail,
but I wasn't sure.)

With this patch, monotone builds cleanly and all tests pass on Debian
unstable with all prerequisites filled through packages.

[1] Though it should apply cleanly to HEAD, from the looks of things.

-- Nathaniel

-- 
The best book on programming is still Strunk and White.

Attachment: monotone-debian-lua.patch
Description: Text document


reply via email to

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