add pkgconfig xrdp.pc file

master
Jay Sorg 8 years ago
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],

@ -0,0 +1,12 @@
pkg_config_files = \
xrdp.pc \
$(NULL)
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = $(pkg_config_files)
DISTCLEANFILES = \
$(pkg_config_files) \
Makefile.in \
$(NULL)

@ -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…
Cancel
Save