]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Changed versioning scheme.
authorJaroslav Kysela <perex@perex.cz>
Sat, 11 Mar 2000 11:08:08 +0000 (11:08 +0000)
committerJaroslav Kysela <perex@perex.cz>
Sat, 11 Mar 2000 11:08:08 +0000 (11:08 +0000)
configure.in
src/Makefile.am

index 02167b47781bcf0c1e5717e2937e9d4c0f6c0123..78c329f85b22c401d8de81f5a187762f8f3182d4 100644 (file)
@@ -1,6 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/control/control.c)
 AM_INIT_AUTOMAKE(alsa-lib, 0.5.5)
+eval LIBTOOL_VERSION_INFO="1:0:0"
 AM_CONDITIONAL(INSTALL_M4, test "x${ACLOCAL}" = "xaclocal")
 
 AC_PREFIX_DEFAULT(/usr)
@@ -27,6 +28,7 @@ AC_PROG_GCC_TRADITIONAL
 
 ALSA_CHECK_DRIVER
 SAVE_LIBRARY_VERSION
+AC_SUBST(LIBTOOL_VERSION_INFO)
 
 AC_OUTPUT(Makefile doc/Makefile include/Makefile src/Makefile \
           src/control/Makefile src/mixer/Makefile src/pcm/Makefile \
index 5b7493b47c846d967128ff4f02a6833a737e528b..652f5de29b97733c5c9b1c435a5f6e3fe1022545 100644 (file)
@@ -1,11 +1,12 @@
 SUBDIRS=control mixer pcm rawmidi timer hwdep seq instr
+COMPATNUM=@LIBTOOL_VERSION_INFO@
 
 lib_LTLIBRARIES = libasound.la
 libasound_la_SOURCES = error.c 
 libasound_la_LIBADD = control/libcontrol.la mixer/libmixer.la pcm/libpcm.la \
                       rawmidi/librawmidi.la timer/libtimer.la hwdep/libhwdep.la \
                       seq/libseq.la instr/libinstr.la
-libasound_la_LDFLAGS = -release $(SND_LIB_MAJOR).$(SND_LIB_MINOR).$(SND_LIB_SUBMINOR)
+libasound_la_LDFLAGS = -version-info $(COMPATNUM)
 
 control/libcontrol.la:
        $(MAKE) -C control libcontrol.la