Change name of libcelt to libcelt0
authorThorvald Natvig <slicer@users.sourceforge.net>
Sat, 16 Jan 2010 13:06:41 +0000 (08:06 -0500)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Sat, 16 Jan 2010 13:06:41 +0000 (08:06 -0500)
celt.pc.in
configure.ac
libcelt/Makefile.am
tests/Makefile.am
tools/Makefile.am

index 98cc008..67a830b 100644 (file)
@@ -10,5 +10,5 @@ Description: CELT is a low-delay audio codec
 Version: @CELT_VERSION@
 Requires:
 Conflicts:
-Libs: -L${libdir} -lcelt -lm
+Libs: -L${libdir} -lcelt@LIBCELT_SUFFIX@ -lm
 Cflags: -I${includedir}
index 4f13d7e..7c9d4ad 100644 (file)
@@ -9,6 +9,7 @@ CELT_MINOR_VERSION=7
 CELT_MICRO_VERSION=0
 CELT_EXTRA_VERSION=
 CELT_VERSION=$CELT_MAJOR_VERSION.$CELT_MINOR_VERSION.$CELT_MICRO_VERSION$CELT_EXTRA_VERSION
+LIBCELT_SUFFIX=0
 
 CELT_LT_CURRENT=0
 CELT_LT_REVISION=0
@@ -17,6 +18,7 @@ CELT_LT_AGE=0
 AC_SUBST(CELT_LT_CURRENT)
 AC_SUBST(CELT_LT_REVISION)
 AC_SUBST(CELT_LT_AGE)
+AC_SUBST(LIBCELT_SUFFIX)
 
 # For automake.
 VERSION=$CELT_VERSION
index b2a61e8..bfda0ef 100644 (file)
@@ -11,15 +11,15 @@ TESTS = match-test.sh
 
 noinst_SCRIPTS = match-test.sh
 
-lib_LTLIBRARIES = libcelt.la
+lib_LTLIBRARIES = libcelt@LIBCELT_SUFFIX@.la
 
 # Sources for compilation in the library
-libcelt_la_SOURCES = bands.c celt.c cwrs.c ecintrin.h entcode.c \
+libcelt@LIBCELT_SUFFIX@_la_SOURCES = bands.c celt.c cwrs.c ecintrin.h entcode.c \
        entdec.c entenc.c header.c kiss_fft.c laplace.c mdct.c \
        modes.c pitch.c quant_bands.c rangedec.c rangeenc.c rate.c \
        vq.c
 
-libcelt_la_LDFLAGS = -version-info @CELT_LT_CURRENT@:@CELT_LT_REVISION@:@CELT_LT_AGE@
+libcelt@LIBCELT_SUFFIX@_la_LDFLAGS = -version-info @CELT_LT_CURRENT@:@CELT_LT_REVISION@:@CELT_LT_AGE@
 
 noinst_HEADERS = _kiss_fft_guts.h arch.h bands.h fixed_c5x.h fixed_c6x.h \
        cwrs.h ecintrin.h entcode.h entdec.h entenc.h fixed_generic.h float_cast.h \
@@ -29,9 +29,9 @@ noinst_HEADERS = _kiss_fft_guts.h arch.h bands.h fixed_c5x.h fixed_c6x.h \
 
 noinst_PROGRAMS = testcelt dump_modes
 testcelt_SOURCES = testcelt.c
-testcelt_LDADD = libcelt.la
+testcelt_LDADD = libcelt@LIBCELT_SUFFIX@.la
 INCLUDES = 
-#libcelt_la_LIBADD = 
+#libcelt@LIBCELT_SUFFIX@_la_LIBADD =
 
 dump_modes_SOURCES = dump_modes.c
-dump_modes_LDADD = libcelt.la
+dump_modes_LDADD = libcelt@LIBCELT_SUFFIX@.la
index 61e8f28..05ebd30 100644 (file)
@@ -15,4 +15,4 @@ mdct_test_SOURCES = mdct-test.c
 #rotation_test_SOURCES = rotation-test.c
 mathops_test_SOURCES = mathops-test.c
 tandem_test_SOURCES = tandem-test.c
-tandem_test_LDADD = $(top_builddir)/libcelt/libcelt.la
+tandem_test_LDADD = $(top_builddir)/libcelt/libcelt@LIBCELT_SUFFIX@.la
index c7678b6..65099ce 100644 (file)
@@ -15,7 +15,7 @@ noinst_HEADERS = wav_io.h
 bin_PROGRAMS = celtenc celtdec
 
 celtenc_SOURCES = celtenc.c wav_io.c skeleton.c
-celtenc_LDADD = $(top_builddir)/libcelt/libcelt.la $(OGG_LIBS)
+celtenc_LDADD = $(top_builddir)/libcelt/libcelt@LIBCELT_SUFFIX@.la $(OGG_LIBS)
 
 celtdec_SOURCES = celtdec.c wav_io.c
-celtdec_LDADD = $(top_builddir)/libcelt/libcelt.la $(OGG_LIBS)
+celtdec_LDADD = $(top_builddir)/libcelt/libcelt@LIBCELT_SUFFIX@.la $(OGG_LIBS)