Add r3.pc
This commit is contained in:
parent
0ad579912c
commit
be0cd0df76
3 changed files with 19 additions and 1 deletions
|
@ -8,3 +8,6 @@ r3_include_HEADERS = \
|
||||||
include/r3_str.h \
|
include/r3_str.h \
|
||||||
include/str_array.h \
|
include/str_array.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = r3.pc
|
||||||
|
|
|
@ -28,5 +28,10 @@ PKG_PROG_PKG_CONFIG
|
||||||
PKG_CHECK_MODULES(DEPS, [libpcre check])
|
PKG_CHECK_MODULES(DEPS, [libpcre check])
|
||||||
AC_SUBST(DEPS_CFLAGS)
|
AC_SUBST(DEPS_CFLAGS)
|
||||||
AC_SUBST(DEPS_LIBS)
|
AC_SUBST(DEPS_LIBS)
|
||||||
AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile)
|
AC_CONFIG_FILES([
|
||||||
|
r3.pc
|
||||||
|
Makefile
|
||||||
|
src/Makefile
|
||||||
|
tests/Makefile
|
||||||
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
10
r3.pc.in
Normal file
10
r3.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
includedir=@includedir@/r3
|
||||||
|
libdir=@libdir@
|
||||||
|
|
||||||
|
Name: r3
|
||||||
|
Description: High-performance URL router library
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Requires:
|
||||||
|
Libs: -L${libdir} -lr3
|
||||||
|
CFlags: -I${includedir}
|
Loading…
Reference in a new issue