add pkgconfig xrdp.pc file
This commit is contained in:
parent
8dac31ca52
commit
50db3bb983
@ -31,4 +31,5 @@ SUBDIRS = \
|
||||
instfiles \
|
||||
genkeymap \
|
||||
xrdpapi \
|
||||
pkgconfig \
|
||||
$(XRDPVRDIR)
|
||||
|
@ -254,6 +254,10 @@ if test "x${prefix}" = "xNONE" ; then
|
||||
sysconfdir="/etc";
|
||||
localstatedir="/var";
|
||||
fi
|
||||
|
||||
pkgconfigdir=${libdir}/pkgconfig
|
||||
AC_SUBST(pkgconfigdir)
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
common/Makefile
|
||||
vnc/Makefile
|
||||
@ -280,11 +284,13 @@ AC_CONFIG_FILES([Makefile
|
||||
genkeymap/Makefile
|
||||
xrdpapi/Makefile
|
||||
xrdpvr/Makefile
|
||||
pkgconfig/Makefile
|
||||
])
|
||||
# fontdump/Makefile
|
||||
# xrdp/cursors/Makefile
|
||||
# Xserver/hw/rdp/Makefile
|
||||
AC_OUTPUT
|
||||
AC_OUTPUT([pkgconfig/libpainter.pc
|
||||
])
|
||||
|
||||
# example of how to check for a struct in a header
|
||||
#AC_CHECK_MEMBER([struct in6_addr.s6_addr],
|
||||
|
12
pkgconfig/Makefile.am
Normal file
12
pkgconfig/Makefile.am
Normal file
@ -0,0 +1,12 @@
|
||||
pkg_config_files = \
|
||||
xrdp.pc \
|
||||
$(NULL)
|
||||
|
||||
pkgconfigdir = @pkgconfigdir@
|
||||
pkgconfig_DATA = $(pkg_config_files)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(pkg_config_files) \
|
||||
Makefile.in \
|
||||
$(NULL)
|
||||
|
9
pkgconfig/xrdp.pc.in
Normal file
9
pkgconfig/xrdp.pc.in
Normal file
@ -0,0 +1,9 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: xrdp
|
||||
Description: xrdp - an open source RDP server
|
||||
Version: 0.9.2
|
||||
Cflags: -I${includedir}
|
Loading…
Reference in New Issue
Block a user