- unified snd_pcm_hw_params_* functions

- added backward compatibility for older non-compatible functions
- added --with-compat-rc3 to configure script to build library
  backwards compatible with 0.9.0rc3
- added symbol versioning like libc.so.6
  - ALSA_0.9      - alsa base
  - ALSA_0.9.0rc4 - first set of new functions (snd_pcm_hw_params_*)
This commit is contained in:
Jaroslav Kysela 2002-09-17 12:33:05 +00:00
parent cabf841f4e
commit b9343e0834
23 changed files with 1271 additions and 483 deletions

View file

@ -1,6 +1,14 @@
sysincludedir = ${includedir}/sys
alsaincludedir = ${includedir}/alsa
if COMPATIBILITY_BUILD_RC3
SND_LIB_MAJOR = 0
SND_LIB_MINOR = 9
SND_LIB_SUBMINOR = 0
SND_LIB_EXTRAVER = 100000 # there was a bug....
SND_LIB_VERSION = 0.9.0rc3
endif
alsainclude_HEADERS = asoundlib.h asoundef.h \
version.h global.h input.h output.h error.h \
conf.h pcm.h pcm_plugin.h rawmidi.h timer.h \
@ -8,9 +16,9 @@ alsainclude_HEADERS = asoundlib.h asoundef.h \
seq_event.h seq.h seqmid.h seq_midi_event.h \
conv.h instr.h iatomic.h
noinst_HEADERS = sys.h search.h list.h aserver.h local.h config.h
noinst_HEADERS = sys.h search.h list.h aserver.h local.h config.h alsa-symbols.h
EXTRA_CLEAN = stamp-vh
CLEANFILES = stamp-vh version.h
version.h: stamp-vh
@:
@ -31,6 +39,9 @@ stamp-vh: $(top_builddir)/configure.in
@echo "/** library version (string) */" >> ver.tmp
@echo "#define SND_LIB_VERSION_STR \"$(SND_LIB_VERSION)\"" >> ver.tmp
@echo >> ver.tmp
if COMPATIBILITY_BUILD_RC3
@echo "#define SND_COMPATIBILITY_BUILD_RC3 1" >> ver.tmp
endif
@cmp -s version.h ver.tmp \
|| (echo "Updating version.h"; \
cp ver.tmp version.h; \