[maemo-developers] Find out OS version in configure script
From: Cornelius Hald hald at icandy.deDate: Wed Apr 29 17:10:06 EEST 2009
- Previous message: Find out OS version in configure script
- Next message: Find out OS version in configure script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Find out OS version in configure script
- Next message: Find out OS version in configure script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]