Skip to content
Snippets Groups Projects
Commit 57b5d5cb authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Fix library name conflict between libiax0 and libiax2

Change the name of the libiax library
parent e193fdef
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libs src ringtones
SUBDIRS = libs src ringtones po
EXTRA_DIST = m4/*.m4 tools/*.sh platform/* images/* README.gentoo
......@@ -252,7 +252,7 @@ AC_ARG_WITH([iax2],
LIBIAX2=
AS_IF([test "x$with_iax2" != xno],
[AC_CHECK_HEADER([iax/iax.h], , AC_MSG_FAILURE([Unable to find the libiax2 headers (you may need to install the dev package). You may use --without-iax2 to compile without iax2 protocol support.]))]
[AC_CHECK_LIB([iax], [iax_init],
[AC_CHECK_LIB([iax2], [iax_init],
[],
[AC_MSG_FAILURE(
[libiax2 link test failed. You may use --without-iax2 to compile without iax2 protocol support.])]
......
......@@ -8,8 +8,8 @@ AM_CFLAGS += $(UCFLAGS)
pkgdir = $(libdir)
pkg_LTLIBRARIES=libiax.la
libiax_la_SOURCES = iax2-parser.c iax.c md5.c jitterbuf.c
pkg_LTLIBRARIES=libiax2.la
libiax2_la_SOURCES = iax2-parser.c iax.c md5.c jitterbuf.c
EXTRA_DIST = md5.h frame.h iax-client.h iax2.h iax2-parser.h jitterbuf.h
install-data-local:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment