summaryrefslogtreecommitdiff
path: root/x11/libxshmfence/patches/patch-configure_ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2023-02-13 07:48:08 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2023-02-13 07:48:08 +0100
commit1e5737c285a08c74ba0d78d3dce7aa17444e29d1 (patch)
tree6bf2b4f872a0dcc3ba27e9286f9dda2d04530529 /x11/libxshmfence/patches/patch-configure_ac
parent439a84a1171a929f48213da4171a24f8379a31b3 (diff)
x11/libxshmfence: update to 1.3.2
Diffstat (limited to 'x11/libxshmfence/patches/patch-configure_ac')
-rw-r--r--x11/libxshmfence/patches/patch-configure_ac25
1 files changed, 8 insertions, 17 deletions
diff --git a/x11/libxshmfence/patches/patch-configure_ac b/x11/libxshmfence/patches/patch-configure_ac
index 0b54ca5..68a7c37 100644
--- a/x11/libxshmfence/patches/patch-configure_ac
+++ b/x11/libxshmfence/patches/patch-configure_ac
@@ -1,26 +1,17 @@
-
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
-@@ -32,6 +32,7 @@ AC_USE_SYSTEM_EXTENSIONS
-
- # Initialize Automake
- AM_INIT_AUTOMAKE([foreign dist-bzip2])
-+AM_MAINTAINER_MODE
-
- # Initialize libtool
- AC_PROG_LIBTOOL
-@@ -56,6 +57,13 @@ AC_ARG_ENABLE(futex, AS_HELP_STRING([--enable-futex],
+@@ -62,6 +62,13 @@ if test "x$FUTEX" = "xauto"; then
+ fi
if test "x$FUTEX" = "xauto"; then
- AC_CHECK_HEADER([linux/futex.h], [FUTEX=yes])
-+fi
-+
-+if test "x$FUTEX" = "xauto"; then
+ AC_CHECK_HEADER([sys/futex.h], [FUTEX=yes])
+ if test "x$FUTEX" = "xyes"; then
+ AC_DEFINE(HAVE_FUTEX, 1, [Use futex])
+ fi
- fi
-
- if test "x$FUTEX" = "xauto"; then
++fi
++
++if test "x$FUTEX" = "xauto"; then
+ AC_CHECK_HEADER([sys/umtx.h], [FUTEX=yes], [FUTEX=no],
+ [#include <errno.h>
+ #include <sys/types.h>])