mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
Add pkgconfig files for libevent_{openssl,pthreads}
This commit is contained in:
parent
ea1ea3d6ee
commit
ebcb1f0387
2
.gitignore
vendored
2
.gitignore
vendored
@ -38,6 +38,8 @@ TAGS
|
||||
|
||||
# Stuff made by our makefiles
|
||||
libevent.pc
|
||||
libevent_pthreads.pc
|
||||
libevent_openssl.pc
|
||||
|
||||
## The initial / makes these files only get ignored in particular directories.
|
||||
/autom4te.cache
|
||||
|
@ -91,9 +91,11 @@ EXTRA_DIST = \
|
||||
lib_LTLIBRARIES = libevent.la libevent_core.la libevent_extra.la
|
||||
if PTHREADS
|
||||
lib_LTLIBRARIES += libevent_pthreads.la
|
||||
pkgconfig_DATA += libevent_pthreads.pc
|
||||
endif
|
||||
if OPENSSL
|
||||
lib_LTLIBRARIES += libevent_openssl.la
|
||||
pkgconfig_DATA += libevent_openssl.pc
|
||||
endif
|
||||
|
||||
SUBDIRS = . include sample test
|
||||
|
@ -593,5 +593,5 @@ if test x$enable_gcc_warnings = xyes; then
|
||||
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES( [libevent.pc] )
|
||||
AC_CONFIG_FILES( [libevent.pc libevent_openssl.pc libevent_pthreads.pc] )
|
||||
AC_OUTPUT(Makefile include/Makefile test/Makefile sample/Makefile)
|
||||
|
16
libevent_openssl.pc.in
Normal file
16
libevent_openssl.pc.in
Normal file
@ -0,0 +1,16 @@
|
||||
#libevent pkg-config source file
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libevent_openssl
|
||||
Description: libevent_openssl adds openssl-based TLS support to libevent
|
||||
Version: @VERSION@
|
||||
Requires: libevent
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -levent_openssl
|
||||
Libs.private: @LIBS@ -lcrypto -lssl
|
||||
Cflags: -I${includedir}
|
||||
|
16
libevent_pthreads.pc.in
Normal file
16
libevent_pthreads.pc.in
Normal file
@ -0,0 +1,16 @@
|
||||
#libevent pkg-config source file
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libevent_pthreads
|
||||
Description: libevent_pthreads adds pthreads-based threading support to libevent
|
||||
Version: @VERSION@
|
||||
Requires: libevent
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -levent_pthreads
|
||||
Libs.private: @LIBS@ @PTHREAD_LIBS@
|
||||
Cflags: -I${includedir} @PTHREAD_CFLAGS@
|
||||
|
Loading…
x
Reference in New Issue
Block a user