Hi Graham,

On Wed, 2009-04-29 at 13:10 +0100, Graham Cobb wrote:
> On Wednesday 29 April 2009 11:02:52 Cornelius Hald wrote:
> > I´m wondering what is the recomended way to find out the OS version in my
> > configure script? Do I have to check for library availability and then make
> > a guess or is there some test program that I can call or some file with the
> > version name?
> 
> The "recommended" (at least by me) way is to not use OS **names** at all -- 
> names are unreliable (what would your code had done when Diablo was 
> introduced if it had been relying on the name Chinook).  The standard way to 
> address these sorts of issues in configure scripts is not to try to work out 
> the name or version but to look for features you need.

thanks for the information. ATM I only need to know if the new app menu
API is available. So I think I'll just check whether the function
hildon_app_menu_new() is available or not. I'll also have a look at the
sources of your GPE programs.

Thanks again!
Conny


_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to