diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-11 08:56:45 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-11 08:56:45 +0100 |
commit | c10a86d98055feff29445021559c9f6d3c5078e6 (patch) | |
tree | 239f005a0f58fe4a0b3d885b33119ab8f867982c | |
parent | db82bd012580b65c147f1dd308277370ba421d9b (diff) | |
download | librcc-c10a86d98055feff29445021559c9f6d3c5078e6.tar.gz librcc-c10a86d98055feff29445021559c9f6d3c5078e6.tar.bz2 librcc-c10a86d98055feff29445021559c9f6d3c5078e6.tar.xz librcc-c10a86d98055feff29445021559c9f6d3c5078e6.zip |
pkgconfig
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | librcc.pc.in | 11 |
3 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index d5b909f..e5bd58a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,7 @@ SUBDIRS = src engines external ui EXTRA_DIST = librcd.spec +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = librcc.pc + ACLOCAL_AMFLAGS = -I m4 diff --git a/configure.in b/configure.in index 4baa8a3..17f504b 100644 --- a/configure.in +++ b/configure.in @@ -392,7 +392,7 @@ AC_C_CONST dnl Checks for library functions. AC_CHECK_FUNCS(strcasecmp strncasecmp strdup strnlen flock lockf nanosleep usleep fsync ftruncate) -AC_OUTPUT(src/Makefile engines/Makefile external/Makefile ui/Makefile examples/Makefile Makefile librcc.spec) +AC_OUTPUT(src/Makefile engines/Makefile external/Makefile ui/Makefile examples/Makefile Makefile librcc.spec librcc.pc) dnl *** dnl *** Data directory diff --git a/librcc.pc.in b/librcc.pc.in new file mode 100644 index 0000000..eb100a1 --- /dev/null +++ b/librcc.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: librcc +Description: Encoding Conversion Library +Requires: libxml-2.0 librcd enca +Version: @VERSION@ +Libs: -L${libdir} -lrcc +Cflags: -I${includedir} |