About PKG_CHECK_MODULES



Hello All,

Currently, I am porting my old program based on gtkmm
2.2 to gtkmm 2.4. I understood I should change the
PKG_CHECK_MODULES line in file "configure.in":
From:
PKG_CHECK_MODULES(GTKMM,gtkmm-2.0>=${gtkmm_min_version})
To
PKG_CHECK_MODULES(GTKMM,gtkmm-2.4>=${gtkmm_min_version})

I am just wondering if there is a way to let the
configure scripts automatically dectect the installed
gtkmm version (2.0 or 2.4). So, if the program is
configured in a gtkmm2.0 system, gtkmm2.0 library will
be used. Or in a 2.4 system, gtkmm2.4 library will be
used.

Thanks,

Dan






=====
----------------------------------------------------------
Have fun!
__________________________________________________________


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 




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