diff options
Diffstat (limited to 'lib/libXext/configure.ac')
-rw-r--r-- | lib/libXext/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libXext/configure.ac b/lib/libXext/configure.ac index 7f81504e3..90d65fe4a 100644 --- a/lib/libXext/configure.ac +++ b/lib/libXext/configure.ac @@ -39,6 +39,12 @@ AC_SUBST(XEXT_SOREV) # Obtain compiler/linker options for depedencies PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.1.99.1] [xextproto >= 7.1.99]) +# Check for _XEatDataWords function that may be patched into older Xlib releases +SAVE_LIBS="$LIBS" +LIBS="$XEXT_LIBS" +AC_CHECK_FUNCS([_XEatDataWords]) +LIBS="$SAVE_LIBS" + # Allow checking code with lint, sparse, etc. XORG_WITH_LINT XORG_LINT_LIBRARY([Xext]) |