bug-ncurses
[Top][All Lists]
Advanced

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

Re: [PATCH] cygwin sharedlib build fixes, terminfo


From: Charles Wilson
Subject: Re: [PATCH] cygwin sharedlib build fixes, terminfo
Date: Sun, 03 Aug 2003 19:40:21 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

Nicholas Wourms wrote:


Autoconf subst values
$LTCCOMPILEMODE="--mode=compile"
$LTCLINKMODE="--mode=link" or ""
$LTCINSTALLMODE="--mode=install"
$LTCUNINSTALLMODE="--mode=uninstall"

My patch does this ^^ (different variable names, but same idea).

$LTCCCTAG="--tag=CC"
$LTCCXXTAG="--tag=CXX"
$LTCEXTRACPPFLAGS="any os/plat-specific c/cxx preprocessor flags"
$LTCEXTRALDFLAGS"any os/plat-specific linking flags"

Again, all of these would be subst into the templates and then passed to the Makefile lines as $(VAR). If nothing is assigned to any of the VARS, then nothing gets passed to the compile/link/install line. Of course, it would be easier if we could use am_conditional, but I know how you hate automake, so I won't push my luck here ;-P.

This should be fairly fool-proof, at least for libtools built since the turn of the century (can't say it will work with versions less then 1.4).

Yes, it should work, but it's icky.

--
Chuck







reply via email to

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