Commit 4421c665 authored by Pekka Pessi's avatar Pekka Pessi

sofia-sip-ua.pc.in: added @SOFIA_PKG_REQUIRES@ and @SOFIA_PKG_LIBS@

Suitable values for them are generated in m4/sac-su2.m4.
Requires: needs comma-separated list of values.

Updated sofia-sip-ua-glib.pc.in, too.

darcs-hash:20060519124526-65a35-41e5ab8de8bce4a30163c7a9407da63175ee9007.gz
parent c6da59de
...@@ -322,14 +322,26 @@ else # GLib path is explicitly defined ...@@ -322,14 +322,26 @@ else # GLib path is explicitly defined
fi # GLib path is explicitly defined fi # GLib path is explicitly defined
if test "x$HAVE_GLIB" = xyes ; then
SAC_COMMA_APPEND([SOFIA_PKG_REQUIRES],[glib-2.0])
SOFIA_PKG_LIBS=-lsofia-sip-ua-glib
fi
if test "x$HAVE_GLIB" = xyes ; then
SAC_COMMA_APPEND([SOFIA_PKG_REQUIRES],[gobject-2.0 >= 2.4])
fi
AM_CONDITIONAL([HAVE_GLIB], [test "x$HAVE_GLIB" = xyes]) AM_CONDITIONAL([HAVE_GLIB], [test "x$HAVE_GLIB" = xyes])
AM_CONDITIONAL([HAVE_GOBJECT], [test "x$HAVE_GOBJECT" = xyes]) AM_CONDITIONAL([HAVE_GOBJECT], [test "x$HAVE_GOBJECT" = xyes])
AC_SUBST(GLIB_LIBS) AC_SUBST([GLIB_LIBS])
AC_SUBST(GLIB_CFLAGS) AC_SUBST([GLIB_CFLAGS])
AC_SUBST(GLIB_VERSION) AC_SUBST([GLIB_VERSION])
AC_SUBST(GOBJECT_LIBS) AC_SUBST([GOBJECT_LIBS])
AC_SUBST(GOBJECT_CFLAGS) AC_SUBST([GOBJECT_CFLAGS])
AC_SUBST(GOBJECT_VERSION) AC_SUBST([GOBJECT_VERSION])
AC_SUBST([SOFIA_PKG_REQUIRES])
AC_SUBST([SOFIA_PKG_LIBS])
# =========================================================================== # ===========================================================================
# Checks for library functions. # Checks for library functions.
......
...@@ -8,6 +8,6 @@ include_sofiadir=@include_sofiadir@ ...@@ -8,6 +8,6 @@ include_sofiadir=@include_sofiadir@
Name: sofia-sip-ua-glib Name: sofia-sip-ua-glib
Description: Sofia-SIP library bindings for glib/gobject Description: Sofia-SIP library bindings for glib/gobject
Version: @VERSION@ Version: @VERSION@
Requires: glib-2.0 gobject-2.0 Requires: @SOFIA_PKG_REQUIRES@
Libs: -L${libdir} -lsofia-sip-ua -lsofia-sip-ua-glib Libs: -L${libdir} -lsofia-sip-ua -lsofia-sip-ua-glib
Cflags: -I@include_sofiadir@ Cflags: -I@include_sofiadir@
...@@ -8,7 +8,7 @@ include_sofiadir=@include_sofiadir@ ...@@ -8,7 +8,7 @@ include_sofiadir=@include_sofiadir@
Name: sofia-sip-ua Name: sofia-sip-ua
Description: Sofia-SIP - a RFC3261 compliant SIP User-Agent library Description: Sofia-SIP - a RFC3261 compliant SIP User-Agent library
Version: @VERSION@ Version: @VERSION@
Requires: glib-2.0 gobject-2.0 Requires: @SOFIA_PKG_REQUIRES@
Libs: -L${libdir} -lsofia-sip-ua -lsofia-sip-ua-glib Libs: -L${libdir} -lsofia-sip-ua @SOFIA_PKG_LIBS@
Cflags: -I@include_sofiadir@ Cflags: -I@include_sofiadir@
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