diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2018-05-01 21:27:36 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2024-08-02 08:57:41 +0200 |
commit | c34680ace909c0ddfd3c121ac7c95e102f2812b2 (patch) | |
tree | 14e2182adceff407c87f0ed93af1c5eda6a1f84a | |
parent | 9366a680edbe54ae3e5e0e39ee7faa860e588644 (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 a41bba2..f98481d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,7 @@ SUFFIXES = .$(MISC_MAN_SUFFIX) .man dist_doc_DATA = +if APPLEWM applewmdir = $(includedir)/X11/extensions applewm_HEADERS = \ include/X11/extensions/applewmconst.h \ @@ -28,6 +29,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 94d5f72..cf822bb 100644 --- a/configure.ac +++ b/configure.ac @@ -49,6 +49,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 |