Commit 16d1a06d authored by Youness Alaoui's avatar Youness Alaoui

Changing library name 'nice' to 'libnice'

parent 27d4e3d1
ERROR_CFLAGS = \ ERROR_CFLAGS = \
$(NICE_CFLAGS) \ $(LIBNICE_CFLAGS) \
-Wextra \ -Wextra \
-Wundef \ -Wundef \
-Wnested-externs \ -Wnested-externs \
......
...@@ -3,8 +3,8 @@ AC_PREREQ(2.59c) ...@@ -3,8 +3,8 @@ AC_PREREQ(2.59c)
dnl releases only do -Wall, cvs and prerelease does -Werror too dnl releases only do -Wall, cvs and prerelease does -Werror too
dnl use a three digit version number for releases, and four for cvs/prerelease dnl use a three digit version number for releases, and four for cvs/prerelease
AC_INIT(nice, 0.0.4.1) AC_INIT(libnice, 0.0.4.1)
NICE_RELEASE="no" LIBNICE_RELEASE="no"
AC_CONFIG_SRCDIR([agent/agent.c]) AC_CONFIG_SRCDIR([agent/agent.c])
AC_CONFIG_HEADER([config.h]) AC_CONFIG_HEADER([config.h])
...@@ -26,12 +26,12 @@ AC_CONFIG_FILES([ ...@@ -26,12 +26,12 @@ AC_CONFIG_FILES([
]) ])
# Set the libtool C/A/R version info # Set the libtool C/A/R version info
NICE_CURRENT=2 LIBNICE_CURRENT=2
NICE_REVISION=0 LIBNICE_REVISION=0
NICE_AGE=2 LIBNICE_AGE=2
NICE_LIBVERSION=${NICE_CURRENT}:${NICE_REVISION}:${NICE_AGE} LIBNICE_LIBVERSION=${LIBNICE_CURRENT}:${LIBNICE_REVISION}:${LIBNICE_AGE}
NICE_LT_LDFLAGS="-version-info ${NICE_LIBVERSION}" LIBNICE_LT_LDFLAGS="-version-info ${LIBNICE_LIBVERSION}"
AC_SUBST(NICE_LT_LDFLAGS) AC_SUBST(LIBNICE_LT_LDFLAGS)
# Checks for programs. # Checks for programs.
...@@ -51,14 +51,14 @@ AC_DEFINE([_FORTIFY_SOURCE], [2], [Define to `2' to get GNU/libc warnings.]) ...@@ -51,14 +51,14 @@ AC_DEFINE([_FORTIFY_SOURCE], [2], [Define to `2' to get GNU/libc warnings.])
AC_DEFINE([NICEAPI_EXPORT], [ ], [Public library function implementation]) AC_DEFINE([NICEAPI_EXPORT], [ ], [Public library function implementation])
AC_CHECK_HEADERS([arpa/inet.h net/in.h ifaddrs.h]) AC_CHECK_HEADERS([arpa/inet.h net/in.h ifaddrs.h])
NICE_CFLAGS="-Wall" LIBNICE_CFLAGS="-Wall"
dnl if asked for, add -Werror if supported dnl if asked for, add -Werror if supported
if test "x$NICE_RELEASE" != "xyes"; then if test "x$LIBNICE_RELEASE" != "xyes"; then
NICE_CFLAGS="$NICE_CFLAGS -Werror" LIBNICE_CFLAGS="$LIBNICE_CFLAGS -Werror"
fi fi
AC_SUBST(NICE_CFLAGS) AC_SUBST(LIBNICE_CFLAGS)
AC_MSG_NOTICE([set NICE_CFLAGS to $NICE_CFLAGS]) AC_MSG_NOTICE([set LIBNICE_CFLAGS to $LIBNICE_CFLAGS])
# Checks for libraries. # Checks for libraries.
AC_CHECK_LIB(rt, clock_gettime, [LIBRT="-lrt"], [LIBRT=""]) AC_CHECK_LIB(rt, clock_gettime, [LIBRT="-lrt"], [LIBRT=""])
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<title>libnice Reference Manual</title> <title>libnice Reference Manual</title>
<releaseinfo> <releaseinfo>
The latest version of this documentation can be found on-line at The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://nice.freedesktop.org/libnice/index.html">http://nice.freedesktop.org/libnice/</ulink>. <ulink role="online-location" url="http://libnice.freedesktop.org/libnice/index.html">http://libnice.freedesktop.org/libnice/</ulink>.
</releaseinfo> </releaseinfo>
</bookinfo> </bookinfo>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# #
# Licensed under MPL 1.1/LGPL 2.1. See file COPYING. # Licensed under MPL 1.1/LGPL 2.1. See file COPYING.
AM_CFLAGS = $(NICE_CFLAGS) \ AM_CFLAGS = $(LIBNICE_CFLAGS) \
$(GST_CFLAGS) \ $(GST_CFLAGS) \
-I $(top_srcdir) \ -I $(top_srcdir) \
-I $(top_srcdir)/socket \ -I $(top_srcdir)/socket \
......
...@@ -21,7 +21,7 @@ libnice_la_LIBADD = \ ...@@ -21,7 +21,7 @@ libnice_la_LIBADD = \
libnice_la_LDFLAGS = \ libnice_la_LDFLAGS = \
-export-symbols $(srcdir)/libnice.sym \ -export-symbols $(srcdir)/libnice.sym \
$(NICE_LT_LDFLAGS) $(LIBNICE_LT_LDFLAGS)
AM_CFLAGS = \ AM_CFLAGS = \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment