summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/imlib/files/patch-search-system-include-for-xshm.diff
blob: 359d44a1f40450d489116b709367255c63b3f1af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- imlib-1.9.15.orig/configure.in
+++ imlib-1.9.15/configure.in
@@ -197,7 +197,7 @@
     AC_MSG_RESULT(no)
     no_xshm=yes
   else
-    if test -f "$x_includes/X11/extensions/XShm.h"; then
+    if test -f "$x_includes/X11/extensions/XShm.h" || test -f "/usr/include/X11/extensions/XShm.h"; then
       AC_MSG_RESULT(yes)
       AC_DEFINE(HAVE_XSHM_H, 1, [ ])
     else