Skip to content

Commit

Permalink
use pkg-config to find xrdp headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorg71 committed Nov 17, 2016
1 parent c424f7c commit f2ebbad
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ PKG_CHECK_MODULES([XORG_SERVER], [xorg-server >= 0], [],
AC_SUBST([XORG_SERVER_CFLAGS])
AC_SUBST([XORG_SERVER_LIBS])

PKG_CHECK_MODULES([XRDP], [xrdp >= 0], [],
[AC_MSG_ERROR([please install xrdp >= 0])])

AC_SUBST([XRDP_CFLAGS])
AC_SUBST([XRDP_LIBS])

moduledir=`pkg-config xorg-server --variable=moduledir`
AC_SUBST([moduledir])

Expand Down
1 change: 1 addition & 0 deletions module/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ endif

AM_CFLAGS = \
$(XORG_SERVER_CFLAGS) \
$(XRDP_CFLAGS) \
-I$(top_srcdir)/../common \
-I$(top_srcdir)/module \
$(EXTRA_FLAGS)
Expand Down
1 change: 1 addition & 0 deletions xrdpdev/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ EXTRA_DIST =

AM_CFLAGS = \
$(XORG_SERVER_CFLAGS) \
$(XRDP_CFLAGS) \
-I$(top_srcdir)/module \
-I$(top_srcdir)/../common

Expand Down
1 change: 1 addition & 0 deletions xrdpkeyb/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ EXTRA_DIST =

AM_CFLAGS = \
$(XORG_SERVER_CFLAGS) \
$(XRDP_CFLAGS) \
-I$(top_srcdir)/module \
-I$(top_srcdir)/../common

Expand Down
1 change: 1 addition & 0 deletions xrdpmouse/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ EXTRA_DIST =

AM_CFLAGS = \
$(XORG_SERVER_CFLAGS) \
$(XRDP_CFLAGS) \
-I$(top_srcdir)/module \
-I$(top_srcdir)/../common

Expand Down

0 comments on commit f2ebbad

Please sign in to comment.