[maemo-developers] How to detect Maemo in automake?

From: Marcin Juszkiewicz openembedded at haerwu.biz
Date: Thu Feb 21 13:25:03 EET 2008
Dnia Thursday, 21 of February 2008, Alberto Garcia napisał:
> On Thu, Feb 21, 2008 at 11:15:31AM +0100, Marcin Juszkiewicz wrote:
> > I wonder why this is really needed... If application is for Maemo
> > then it use its libraries (libosso, libhildon) and should check for
> > those libraries not for scratchbox.

> Yeah, but if your desktop PC happens to have libosso installed (it's
> included in Debian) then autoconf will detect that you're compiling
> for Maemo.

If you screw configure phase by not providing informations where headers 
are then it can. But its bug of person who do compilation.

> In my case compiling for Maemo means compiling using the Maemo SDK
> (and probably for the Nokia 770/N800/N810). And scratchbox seems to be
> the official way to use the Maemo SDK.

It does not mean that it is best way ;D 

I heard enough complains about scarybox to not even touch it with long 
stick. With OE I can just "bitbake gvim" and result is package which 
works on device. No need to remember which libraries to build (and how).

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

                        If it works, don't fix it.
                        		-- Sam Rayburn



More information about the maemo-developers mailing list