X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2FlibXinerama.git;a=blobdiff_plain;f=configure.ac;h=17c5cb1fdd3a5099a363354417677e5cc71eb260;hp=545c946966125cff6683b79ee968d36de50bae3d;hb=2e050d7fef8f4079f8e409b81030946f4c86c38b;hpb=8a4fc0e282d0d8ef2744c8e8bd6ca67efd01c48f diff --git a/configure.ac b/configure.ac index 545c946..17c5cb1 100644 --- a/configure.ac +++ b/configure.ac @@ -21,14 +21,13 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([libXinerama], [1.1.2], +AC_INIT([libXinerama], [1.1.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXinerama]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) -AM_MAINTAINER_MODE # Initialize libtool AC_PROG_LIBTOOL @@ -43,6 +42,12 @@ XORG_CHECK_MALLOC_ZERO # Obtain compiler/linker options for depedencies PKG_CHECK_MODULES(XINERAMA, x11 xext xextproto [xineramaproto >= 1.1.99.1]) +# Check for _XEatDataWords function that may be patched into older Xlib releases +SAVE_LIBS="$LIBS" +LIBS="$XINERAMA_LIBS" +AC_CHECK_FUNCS([_XEatDataWords]) +LIBS="$SAVE_LIBS" + # Allow checking code with lint, sparse, etc. XORG_WITH_LINT LINT_FLAGS="${LINT_FLAGS} ${XINERAMA_CFLAGS}"