[Home]

Summary:ASTERISK-05585: [patch] add iax.pc for libiax
Reporter:Tim Ringenbach (marv)Labels:
Date Opened:2005-11-13 16:03:35.000-0600Date Closed:2005-11-15 20:43:20.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) iax.pc.in
Description:Here is a patch to add a iax.pc to libiax, which I wrote so I can use the pkg-config autoconf macros.

****** ADDITIONAL INFORMATION ******

Index: Makefile.am
===================================================================
RCS file: /usr/cvsroot/libiax/Makefile.am,v
retrieving revision 1.1.1.1
diff -d -u -p -r1.1.1.1 Makefile.am
--- Makefile.am 19 Mar 2003 22:44:25 -0000      1.1.1.1
+++ Makefile.am 13 Nov 2005 22:02:05 -0000
@@ -2,5 +2,7 @@ SUBDIRS = src

bin_SCRIPTS=iax-config
BUILT_SCOURCES=iax-config
-EXTRA_DIST=iax.spec
+EXTRA_DIST=iax.spec iax.pc.in
iax-config: iax-config.in
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = iax.pc
Index: configure.in
===================================================================
RCS file: /usr/cvsroot/libiax/configure.in,v
retrieving revision 1.1.1.1
diff -d -u -p -r1.1.1.1 configure.in
--- configure.in        19 Mar 2003 22:44:25 -0000      1.1.1.1
+++ configure.in        13 Nov 2005 22:02:05 -0000
@@ -33,6 +33,7 @@ AC_SUBST(IAX_VERSION)
AC_OUTPUT([
Makefile
src/Makefile
+iax.pc
iax.spec
iax-config],[case "$CONFIG_FILES" in
*iax-config*)chmod +x iax-config;;
Comments:By: Kevin P. Fleming (kpfleming) 2005-11-15 20:42:50.000-0600

Committed to CVS HEAD, thanks!