add pkgconfig xrdp.pc file
This commit is contained in:
parent
8dac31ca52
commit
50db3bb983
@ -31,4 +31,5 @@ SUBDIRS = \
|
|||||||
instfiles \
|
instfiles \
|
||||||
genkeymap \
|
genkeymap \
|
||||||
xrdpapi \
|
xrdpapi \
|
||||||
|
pkgconfig \
|
||||||
$(XRDPVRDIR)
|
$(XRDPVRDIR)
|
||||||
|
@ -254,6 +254,10 @@ if test "x${prefix}" = "xNONE" ; then
|
|||||||
sysconfdir="/etc";
|
sysconfdir="/etc";
|
||||||
localstatedir="/var";
|
localstatedir="/var";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pkgconfigdir=${libdir}/pkgconfig
|
||||||
|
AC_SUBST(pkgconfigdir)
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
common/Makefile
|
common/Makefile
|
||||||
vnc/Makefile
|
vnc/Makefile
|
||||||
@ -280,11 +284,13 @@ AC_CONFIG_FILES([Makefile
|
|||||||
genkeymap/Makefile
|
genkeymap/Makefile
|
||||||
xrdpapi/Makefile
|
xrdpapi/Makefile
|
||||||
xrdpvr/Makefile
|
xrdpvr/Makefile
|
||||||
|
pkgconfig/Makefile
|
||||||
])
|
])
|
||||||
# fontdump/Makefile
|
# fontdump/Makefile
|
||||||
# xrdp/cursors/Makefile
|
# xrdp/cursors/Makefile
|
||||||
# Xserver/hw/rdp/Makefile
|
# Xserver/hw/rdp/Makefile
|
||||||
AC_OUTPUT
|
AC_OUTPUT([pkgconfig/libpainter.pc
|
||||||
|
])
|
||||||
|
|
||||||
# example of how to check for a struct in a header
|
# example of how to check for a struct in a header
|
||||||
#AC_CHECK_MEMBER([struct in6_addr.s6_addr],
|
#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