diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2018-05-01 21:27:36 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2018-12-31 12:37:15 +0100 |
commit | 0416d4a30ba4b81acfa9cc87cde9e0e166fc7e27 (patch) | |
tree | b86ae1e828fefd6d48efc12fc53d6c108abf3623 | |
parent | 5a3122d39839f5beb20d5356767d134eb1295618 (diff) |
Make applewm protos selectable separatly
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 04f7da0..028ba9f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,4 @@ +if APPLEWM applewmdir = $(includedir)/X11/extensions applewm_HEADERS = \ include/X11/extensions/applewmconst.h \ @@ -5,6 +6,7 @@ applewm_HEADERS = \ applewmprotopkgconfigdir = $(datadir)/pkgconfig applewmprotopkgconfig_DATA = applewmproto.pc +endif bigreqsdir = $(includedir)/X11/extensions bigreqs_HEADERS = \ diff --git a/configure.ac b/configure.ac index 51d77bd..0234887 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,12 @@ AC_ARG_ENABLE(legacy, [LEGACY=$enableval], [LEGACY=no]) AM_CONDITIONAL(LEGACY, [test "x$LEGACY" = "xyes"]) +AC_ARG_ENABLE(applewm, + AS_HELP_STRING([--enable-applewm], + [Install apple wm protocol headers (default: false)]), + [APPLEWM=$enableval], [APPLEWM=no]) +AM_CONDITIONAL(APPLEWM, [test "x$APPLEWM" = "xyes"]) + AC_CHECK_HEADERS([sys/select.h sys/param.h sys/types.h sys/time.h]) # Handle Xpoll.h.in |