Changes

Line 200: Line 200:  
** ''SERVICE_SUMMARY'', summary from service.info file
 
** ''SERVICE_SUMMARY'', summary from service.info file
 
** macro also changes ''PACKAGE'' and ''VERSION'' variables with values from proper ''DIST_'', so it rewrites ''AC_INIT'' arguments(you have to use fake values for ''AC_INIT'' macro)
 
** macro also changes ''PACKAGE'' and ''VERSION'' variables with values from proper ''DIST_'', so it rewrites ''AC_INIT'' arguments(you have to use fake values for ''AC_INIT'' macro)
** ''SERVICE_AGE'', age from service.info file (make sense only for libraries)<br>If value is not empty, ''SERVICE_INIT'' adds:
+
** if ''[Library]'' section exists in service.info file, macro will
*** checks if ''SERVICE_VERSION'' is a plain number
+
*** check if ''SERVICE_VERSION'' is a plain number
*** exports ''SERVICE_LIBRARY_VERSION'' which is libtool's -version-info parameter
+
*** export ''SERVICE_AGE'', age from ''[Library]'' section
 +
*** export ''SERVICE_LIBRARY_VERSION'' which is libtool's -version-info parameter
 
*** if ''service.pc.in'' presents in root directory, rename it to ''DIST_NAME''.pc.in
 
*** if ''service.pc.in'' presents in root directory, rename it to ''DIST_NAME''.pc.in