hurd-devel
[Top][All Lists]
Advanced

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

conditional compilation (or: makefiles again)


From: Marcus Brinkmann
Subject: conditional compilation (or: makefiles again)
Date: Thu, 22 Aug 2002 03:24:16 +0200
User-agent: Mutt/1.4i

Hi,

for console-curses, I need ncursesw.  I have an autoconf check for that
derived from Mark's check in GNU inetutils.  But I have no way to compile
console-curses, located in util/, conditionally: If I want to check for
LIBNCURSESW in the makefile, config.make must be included, but this is only
included by Makeconf which should be included after the SRCS etc are
defined.

It works to also add a "include ../config.make" into the Makefile before
testing LIBNCURSESW.  Is that too clumsy?

Would you fundamentally object against using automake and latest autoconf?
(I know that Roland sticks with autoconf2.13, otoh, Debian has excellent
auto-detection of the version of autoconf required plus a wrapper script
that seems to do the right thing always).  I might be able to spent some
time in working out the issues with that.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    address@hidden
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
address@hidden
http://www.marcus-brinkmann.de/




reply via email to

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