Changed version number to a bit more dynamic one
src/Makefile.am still needs to be modified upon API version change :S
This commit is contained in:
parent
200cc8af48
commit
268dd739bc
@ -1,6 +1,6 @@
|
|||||||
m4_define([swe_glib_api_version], [1.0])
|
m4_define([swe_glib_api_version], [1.0])
|
||||||
|
|
||||||
AC_INIT([swe-glib], [1.0], [gergely@polonkai.eu])
|
AC_INIT([swe-glib], [swe_glib_api_version], [gergely@polonkai.eu])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AM_INIT_AUTOMAKE([-Wall foreign])
|
AM_INIT_AUTOMAKE([-Wall foreign])
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
@ -36,7 +36,7 @@ AC_CONFIG_MACRO_DIR([m4])
|
|||||||
LIBSWE_LIBS='$(top_builddir)/swe/src/libswe-1.75.la'
|
LIBSWE_LIBS='$(top_builddir)/swe/src/libswe-1.75.la'
|
||||||
AC_SUBST(LIBSWE_LIBS)
|
AC_SUBST(LIBSWE_LIBS)
|
||||||
|
|
||||||
LIBSWE_GLIB_LIBS='$(top_builddir)/src/libswe-glib-0.1.la'
|
LIBSWE_GLIB_LIBS='$(top_builddir)/src/libswe-glib-$(SWE_GLIB_API_VERSION).la'
|
||||||
AC_SUBST(LIBSWE_GLIB_LIBS)
|
AC_SUBST(LIBSWE_GLIB_LIBS)
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
@ -5,7 +5,7 @@ includedir=@includedir@
|
|||||||
|
|
||||||
Name: SWE-GLib
|
Name: SWE-GLib
|
||||||
Description: GLib wrapper functions for the Swiss Ephemeris library
|
Description: GLib wrapper functions for the Swiss Ephemeris library
|
||||||
Version: 0.1
|
Version: @SWE_GLIB_API_VERSION@
|
||||||
Requires: glib-2.0
|
Requires: glib-2.0
|
||||||
Libs: -L${libdir} -lswe-glib-@VERSION@
|
Libs: -L${libdir} -lswe-glib-@VERSION@
|
||||||
Cflags: -I${includedir}/swe-glib
|
Cflags: -I${includedir}/swe-glib
|
||||||
|
Loading…
Reference in New Issue
Block a user