Merge pull request #493 from proski/pkgconfig

Fixes for pkg-config
master
Itamar Reis Peixoto 8 years ago committed by GitHub
commit 6d23df0ef0

@ -258,42 +258,36 @@ fi
pkgconfigdir=${libdir}/pkgconfig pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir) AC_SUBST(pkgconfigdir)
AC_CONFIG_FILES([Makefile AC_CONFIG_FILES([
common/Makefile common/Makefile
vnc/Makefile docs/Makefile
rdp/Makefile docs/man/Makefile
libxrdp/Makefile genkeymap/Makefile
xup/Makefile instfiles/default/Makefile
mc/Makefile instfiles/init.d/Makefile
neutrinordp/Makefile instfiles/Makefile
xrdp/Makefile instfiles/pam.d/Makefile
sesman/Makefile instfiles/pulse/Makefile
sesman/libscp/Makefile instfiles/rc.d/Makefile
sesman/tools/Makefile keygen/Makefile
sesman/sessvc/Makefile libxrdp/Makefile
sesman/chansrv/Makefile Makefile
keygen/Makefile mc/Makefile
docs/Makefile neutrinordp/Makefile
docs/man/Makefile pkgconfig/Makefile
instfiles/Makefile pkgconfig/xrdp.pc
instfiles/pam.d/Makefile pkgconfig/xrdp-uninstalled.pc
instfiles/init.d/Makefile rdp/Makefile
instfiles/rc.d/Makefile sesman/chansrv/Makefile
instfiles/default/Makefile sesman/libscp/Makefile
instfiles/pulse/Makefile sesman/Makefile
genkeymap/Makefile sesman/sessvc/Makefile
xrdpapi/Makefile sesman/tools/Makefile
xrdpvr/Makefile vnc/Makefile
pkgconfig/Makefile xrdpapi/Makefile
]) xrdp/Makefile
# fontdump/Makefile xrdpvr/Makefile
# xrdp/cursors/Makefile xup/Makefile
# Xserver/hw/rdp/Makefile
AC_OUTPUT([pkgconfig/xrdp.pc
]) ])
# example of how to check for a struct in a header AC_OUTPUT
#AC_CHECK_MEMBER([struct in6_addr.s6_addr],
# [],
# [AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])],
# [#include <arpa/inet.h>])

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

@ -0,0 +1,6 @@
includedir=${pc_top_builddir}/${pcfiledir}/common
Name: xrdp
Description: An open source Remote Desktop Protocol (RDP) server
Version: @VERSION@
Cflags: -I${includedir}

@ -4,6 +4,6 @@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@
Name: xrdp Name: xrdp
Description: An open source remote desktop protocol(RDP) server Description: An open source Remote Desktop Protocol (RDP) server
Version: 0.9.2 Version: @VERSION@
Cflags: -I${includedir} Cflags: -I${includedir}

Loading…
Cancel
Save