summaryrefslogtreecommitdiffstats
path: root/xorg/server/configure.ac
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-11-13 22:08:14 -0800
committerJay Sorg <jay.sorg@gmail.com>2014-11-13 22:08:14 -0800
commit32f172853f9763f4b046c9e5465813a0aa5e3f1c (patch)
tree8f20d0d783696e680ac37725afb0e0a62f677f47 /xorg/server/configure.ac
parentddfd6b8b59ae411f15622ba4e50ef895b1e23e23 (diff)
parent942cdf300edaed7fee13a78e5e1c9b9c3d9c923e (diff)
downloadxrdp-proprietary-32f172853f9763f4b046c9e5465813a0aa5e3f1c.tar.gz
xrdp-proprietary-32f172853f9763f4b046c9e5465813a0aa5e3f1c.zip
Merge branch 'devel'
Diffstat (limited to 'xorg/server/configure.ac')
-rw-r--r--xorg/server/configure.ac35
1 files changed, 35 insertions, 0 deletions
diff --git a/xorg/server/configure.ac b/xorg/server/configure.ac
new file mode 100644
index 00000000..cb78dccf
--- /dev/null
+++ b/xorg/server/configure.ac
@@ -0,0 +1,35 @@
+# Process this file with autoconf to produce a configure script
+
+AC_PREREQ(2.59)
+AC_INIT([xrdpmod], [0.1.0], [xrdp-devel@lists.sourceforge.net])
+AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in)
+AM_INIT_AUTOMAKE([1.6 foreign])
+AC_PROG_CC
+AC_C_CONST
+AC_PROG_LIBTOOL
+
+AM_CONDITIONAL(GOT_PREFIX, test "x${prefix}" != "xNONE"])
+
+AC_CHECK_HEADER([xorg/xorg-server.h], [],
+ [AC_MSG_ERROR([please install xserver-xorg-dev or xorg-x11-server-sdk])])
+
+PKG_CHECK_MODULES([XORG_SERVER], [xorg-server >= 0])
+AC_SUBST([XORG_SERVER_CFLAGS])
+AC_SUBST([XORG_SERVER_LIBS])
+
+moduledir=`pkg-config xorg-server --variable=moduledir`
+AC_SUBST([moduledir])
+
+if test "x${prefix}" = "xNONE" ; then
+sysconfdir="/etc";
+fi
+
+AC_CONFIG_FILES([Makefile
+ module/Makefile
+ xrdpdev/Makefile
+ xrdpkeyb/Makefile
+ xrdpmouse/Makefile
+])
+
+AC_OUTPUT
+