Subject: Re: imake-check and xpm and builtin
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 08/30/2005 16:10:25
On Tue, 30 Aug 2005, Jeremy C. Reed wrote:

> Also it appears that the mk/buildlink3/imake-check.mk is ran twice, so I also 
> set .undef BUILTIN_IMAKE_CHECK.${_pair_:C/\:[^:]*$//}

I figured this part out. It was cached using the *makevars.mk.

I am trying to figure out the imake part next:

> Then the mk/buildlink3/imake-check returns "no".
>
> If I don't do the .undef's above then imake-check is never ran. (I tested 
> same way as above.)
>
> I tried with bmake-20040220, bmake-20050530 and bootstrap's bmake.
>
> My third problem was imake-check:
>
> montecristo:/tmp/imake-check.25587$ /usr/X11R6/bin/imake -DUseInstalled 
> -I/usr/X11R6/lib/X11/config -s - | make -f - builtin-test
> no
>
> montecristo:/tmp/imake-check.25587$ cat Imakefile
> #if NormalLibXpm
> builtin-test:
>        @echo yes
> #else
> builtin-test:
>        @echo no
> #endif
>
>
> I don't see anything in the generated makefile (pipe into less) to see any 
> other files that are included.
>
> Any ideas about this?

  Jeremy C. Reed

  	  	 	 open source, Unix, *BSD, Linux training
 	  	 	 http://www.pugetsoundtechnology.com/