From eba72cf6d2e3685e6c0e6cbaebef6cf45a3e8b80 Mon Sep 17 00:00:00 2001 From: matthieu Date: Fri, 31 May 2013 15:41:54 +0000 Subject: [PATCH] Update to libXtst 1.2.2 --- lib/libXtst/COPYING | 50 ++++++++++++++ lib/libXtst/ChangeLog | 86 +++++++++++++++++++++++++ lib/libXtst/Makefile.in | 9 ++- lib/libXtst/aclocal.m4 | 38 ----------- lib/libXtst/configure | 70 ++++++++------------ lib/libXtst/configure.ac | 9 ++- lib/libXtst/man/Makefile.in | 7 +- lib/libXtst/man/XTestQueryExtension.man | 2 +- lib/libXtst/specs/Makefile.in | 7 +- lib/libXtst/src/Makefile.am | 6 +- lib/libXtst/src/Makefile.in | 13 ++-- lib/libXtst/xtst.pc.in | 2 +- 12 files changed, 192 insertions(+), 107 deletions(-) diff --git a/lib/libXtst/COPYING b/lib/libXtst/COPYING index 30117108b..010b27099 100644 --- a/lib/libXtst/COPYING +++ b/lib/libXtst/COPYING @@ -64,3 +64,53 @@ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +*************************************************************************** + +Copyright © 1992 by UniSoft Group Ltd. + +Permission to use, copy, modify, and distribute this documentation for +any purpose and without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. +UniSoft makes no representations about the suitability for any purpose of +the information in this document. This documentation is provided "as is" +without express or implied warranty. + +*************************************************************************** + +Copyright © 1992, 1994, 1995 X Consortium + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Except as contained in this notice, the name of the X Consortium shall not +be used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from the +X Consortium. + +*************************************************************************** + +Copyright 1994 Network Computing Devices, Inc. + +Permission to use, copy, modify, distribute, and sell this +documentation for any purpose is hereby granted without fee, +provided that the above copyright notice and this permission +notice appear in all copies. Network Computing Devices, Inc. +makes no representations about the suitability for any purpose +of the information in this document. This documentation is +provided "as is" without express or implied warranty. diff --git a/lib/libXtst/ChangeLog b/lib/libXtst/ChangeLog index 4677bec8f..c0e3b3cf1 100644 --- a/lib/libXtst/ChangeLog +++ b/lib/libXtst/ChangeLog @@ -1,3 +1,89 @@ +commit cdc04f06325e55916e0c95b61db626d22b76e2ff +Author: Alan Coopersmith +Date: Thu May 30 19:09:42 2013 -0700 + + libXtst 1.2.2 + + Signed-off-by: Alan Coopersmith + +commit e7e04b7be3f018ad636aba3a36bfc1cd80b9906d +Author: Alan Coopersmith +Date: Sat Apr 13 11:27:26 2013 -0700 + + integer overflow in XRecordGetContext() [CVE-2013-2063] + + The nclients and nranges members of the reply are both CARD32 and need + to be bounds checked before multiplying by the size of the structs to + avoid integer overflow leading to underallocation and writing data from + the network past the end of the allocated buffer. + + Signed-off-by: Alan Coopersmith + +commit 46ed6283034b5b7d14584009453f5d974cfacf1e +Author: Alan Coopersmith +Date: Sat Apr 13 11:05:27 2013 -0700 + + Use _XEatDataWords to eat data in error cases + + Avoids having to do calculcations based on response contents + + Signed-off-by: Alan Coopersmith + +commit 2aafac9474a0a0a0c39797862f823255918cf368 +Author: Colin Walters +Date: Wed Jan 4 17:37:06 2012 -0500 + + autogen.sh: Implement GNOME Build API + + http://people.gnome.org/~walters/docs/build-api.txt + + Signed-off-by: Adam Jackson + +commit 34cfa2d2b76640f672170dfbd8b5dd4a06d95b4d +Author: Adam Jackson +Date: Tue Jan 15 14:28:48 2013 -0500 + + configure: Remove AM_MAINTAINER_MODE + + Signed-off-by: Adam Jackson + +commit 6394218aae6599b28ced3d30074e154ba4218d07 +Author: Alan Coopersmith +Date: Mon Apr 23 22:02:20 2012 -0700 + + Add xextproto & xi to Requires.private + + Only headers are needed, not libraries to link with. Required for + includes of xtestconst.h (xextproto) and XInput.h (xi) in XTest.h + public header. + + Fixes https://bugs.freedesktop.org/attachment.cgi?id=59835 + (originally reported as https://bugzilla.novell.com/show_bug.cgi?id=748808 ) + + Signed-off-by: Alan Coopersmith + Reviewed-by: Peter Hutterer + +commit 023d494822fea9c3840e75964451fd9d5213ae06 +Author: Alan Coopersmith +Date: Mon Apr 23 22:01:16 2012 -0700 + + Move -I flags from AM_CFLAGS to AM_CPPFLAGS + + Ensures local copy of headers takes precedence over any -I flags the + builder may have passed in CPPFLAGS. + + Signed-off-by: Alan Coopersmith + Reviewed-by: Peter Hutterer + +commit 30506c32f69ea476f3b068ec3bf9b1c2a24991b8 +Author: Julien Cristau +Date: Tue Apr 24 21:04:06 2012 +0200 + + COPYING: add copyright notices and licenses from the manpages and specs + + Reported-by: Ansgar Burchardt + Signed-off-by: Julien Cristau + commit eb177d24ffb459af6205d2658c3a158449660caf Author: Alan Coopersmith Date: Wed Mar 7 21:11:34 2012 -0800 diff --git a/lib/libXtst/Makefile.in b/lib/libXtst/Makefile.in index 512dbb4d6..667bff73d 100644 --- a/lib/libXtst/Makefile.in +++ b/lib/libXtst/Makefile.in @@ -250,7 +250,6 @@ LINT_FLAGS = @LINT_FLAGS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MAN_SUBSTS = @MAN_SUBSTS@ @@ -349,7 +348,7 @@ all: config.h .SUFFIXES: am--refresh: Makefile @: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -376,9 +375,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) +$(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): @@ -389,7 +388,7 @@ config.h: stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) +$(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ diff --git a/lib/libXtst/aclocal.m4 b/lib/libXtst/aclocal.m4 index d0b280e85..f64a04b22 100644 --- a/lib/libXtst/aclocal.m4 +++ b/lib/libXtst/aclocal.m4 @@ -9344,44 +9344,6 @@ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) -# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- -# From Jim Meyering - -# Copyright (C) 1996-2012 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_MAINTAINER_MODE([DEFAULT-MODE]) -# ---------------------------------- -# Control maintainer-specific portions of Makefiles. -# Default is to disable them, unless 'enable' is passed literally. -# For symmetry, 'disable' may be passed as well. Anyway, the user -# can override the default with the --enable/--disable switch. -AC_DEFUN([AM_MAINTAINER_MODE], -[m4_case(m4_default([$1], [disable]), - [enable], [m4_define([am_maintainer_other], [disable])], - [disable], [m4_define([am_maintainer_other], [enable])], - [m4_define([am_maintainer_other], [enable]) - m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) -AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) - dnl maintainer-mode's default is 'disable' unless 'enable' is passed - AC_ARG_ENABLE([maintainer-mode], - [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], - am_maintainer_other[ make rules and dependencies not useful - (and sometimes confusing) to the casual installer])], - [USE_MAINTAINER_MODE=$enableval], - [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) - AC_MSG_RESULT([$USE_MAINTAINER_MODE]) - AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) - MAINT=$MAINTAINER_MODE_TRUE - AC_SUBST([MAINT])dnl -] -) - -AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) - # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2012 Free Software Foundation, Inc. diff --git a/lib/libXtst/configure b/lib/libXtst/configure index 537ea86bc..12073da29 100644 --- a/lib/libXtst/configure +++ b/lib/libXtst/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libXtst 1.2.1. +# Generated by GNU Autoconf 2.69 for libXtst 1.2.2. # # Report bugs to . # @@ -651,8 +651,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libXtst' PACKAGE_TARNAME='libXtst' -PACKAGE_VERSION='1.2.1' -PACKAGE_STRING='libXtst 1.2.1' +PACKAGE_VERSION='1.2.2' +PACKAGE_STRING='libXtst 1.2.2' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' PACKAGE_URL='' @@ -797,9 +797,6 @@ build_vendor build_cpu build LIBTOOL -MAINT -MAINTAINER_MODE_FALSE -MAINTAINER_MODE_TRUE am__untar am__tar AMTAR @@ -864,7 +861,6 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking -enable_maintainer_mode enable_shared enable_static with_pic @@ -1440,7 +1436,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libXtst 1.2.1 to adapt to many kinds of systems. +\`configure' configures libXtst 1.2.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1510,7 +1506,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libXtst 1.2.1:";; + short | recursive ) echo "Configuration of libXtst 1.2.2:";; esac cat <<\_ACEOF @@ -1518,9 +1514,6 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-maintainer-mode - enable make rules and dependencies not useful (and - sometimes confusing) to the casual installer --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] @@ -1641,7 +1634,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libXtst configure 1.2.1 +libXtst configure 1.2.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1965,7 +1958,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libXtst $as_me 1.2.1, which was +It was created by libXtst $as_me 1.2.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2794,7 +2787,7 @@ fi # Define the identity of the package. PACKAGE='libXtst' - VERSION='1.2.1' + VERSION='1.2.2' cat >>confdefs.h <<_ACEOF @@ -2841,29 +2834,6 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 -$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } - # Check whether --enable-maintainer-mode was given. -if test "${enable_maintainer_mode+set}" = set; then : - enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval -else - USE_MAINTAINER_MODE=no -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 -$as_echo "$USE_MAINTAINER_MODE" >&6; } - if test $USE_MAINTAINER_MODE = yes; then - MAINTAINER_MODE_TRUE= - MAINTAINER_MODE_FALSE='#' -else - MAINTAINER_MODE_TRUE='#' - MAINTAINER_MODE_FALSE= -fi - - MAINT=$MAINTAINER_MODE_TRUE - - - # Initialize libtool case `pwd` in *\ * | *\ *) @@ -18172,6 +18142,22 @@ done LIBS="$SAVE_LIBS" +# Check for _XEatDataWords function that may be patched into older Xlib release +SAVE_LIBS="$LIBS" +LIBS="$XTST_LIBS" +for ac_func in _XEatDataWords +do : + ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords" +if test "x$ac_cv_func__XEatDataWords" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE__XEATDATAWORDS 1 +_ACEOF + +fi +done + +LIBS="$SAVE_LIBS" + # Determine if the source for man pages is available # It may already be present (tarball) or can be generated using xmlto if test -f "$srcdir/man/XTestQueryExtension.man" || test "x$have_xmlto" = xyes; then @@ -18444,10 +18430,6 @@ else am__EXEEXT_FALSE= fi -if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then - as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -18889,7 +18871,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libXtst $as_me 1.2.1, which was +This file was extended by libXtst $as_me 1.2.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18955,7 +18937,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libXtst config.status 1.2.1 +libXtst config.status 1.2.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/lib/libXtst/configure.ac b/lib/libXtst/configure.ac index 5796d1f9d..cf4314c04 100644 --- a/lib/libXtst/configure.ac +++ b/lib/libXtst/configure.ac @@ -22,14 +22,13 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([libXtst], [1.2.1], +AC_INIT([libXtst], [1.2.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [libXtst]) 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 @@ -54,6 +53,12 @@ LIBS="$XTST_LIBS" AC_CHECK_FUNCS([_XEatDataWords]) LIBS="$SAVE_LIBS" +# Check for _XEatDataWords function that may be patched into older Xlib release +SAVE_LIBS="$LIBS" +LIBS="$XTST_LIBS" +AC_CHECK_FUNCS([_XEatDataWords]) +LIBS="$SAVE_LIBS" + # Determine if the source for man pages is available # It may already be present (tarball) or can be generated using xmlto AM_CONDITIONAL([INSTALL_MANPAGES], diff --git a/lib/libXtst/man/Makefile.in b/lib/libXtst/man/Makefile.in index 79148d370..4c2c2f665 100644 --- a/lib/libXtst/man/Makefile.in +++ b/lib/libXtst/man/Makefile.in @@ -191,7 +191,6 @@ LINT_FLAGS = @LINT_FLAGS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MAN_SUBSTS = @MAN_SUBSTS@ @@ -306,7 +305,7 @@ all: all-am .SUFFIXES: .SUFFIXES: .$(LIB_MAN_SUFFIX) .man -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -331,9 +330,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) +$(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): diff --git a/lib/libXtst/man/XTestQueryExtension.man b/lib/libXtst/man/XTestQueryExtension.man index 41da9f325..801931634 100644 --- a/lib/libXtst/man/XTestQueryExtension.man +++ b/lib/libXtst/man/XTestQueryExtension.man @@ -1,7 +1,7 @@ '\" t .\" Title: XTest .\" Author: Kieron Drake -.\" Generator: DocBook XSL Stylesheets v1.76.1 +.\" Generator: DocBook XSL Stylesheets vsnapshot_9276 .\" Date: 6 June 2007 .\" Manual: XTST FUNCTIONS .\" Source: __xorgversion__ diff --git a/lib/libXtst/specs/Makefile.in b/lib/libXtst/specs/Makefile.in index f1f4a37d2..0c6b61d48 100644 --- a/lib/libXtst/specs/Makefile.in +++ b/lib/libXtst/specs/Makefile.in @@ -190,7 +190,6 @@ LINT_FLAGS = @LINT_FLAGS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MAN_SUBSTS = @MAN_SUBSTS@ @@ -345,7 +344,7 @@ top_srcdir = @top_srcdir@ all: all-am .SUFFIXES: -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps) +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/docbook.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -371,9 +370,9 @@ $(top_srcdir)/docbook.am: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) +$(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): diff --git a/lib/libXtst/src/Makefile.am b/lib/libXtst/src/Makefile.am index 1091ece76..67bf36e2b 100644 --- a/lib/libXtst/src/Makefile.am +++ b/lib/libXtst/src/Makefile.am @@ -6,9 +6,11 @@ libXtst_la_SOURCES = \ libXtst_la_LIBADD = @XTST_LIBS@ -AM_CFLAGS = \ +AM_CPPFLAGS = \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/X11/extensions \ + -I$(top_srcdir)/include/X11/extensions + +AM_CFLAGS = \ $(XTST_CFLAGS) \ $(CWARNFLAGS) diff --git a/lib/libXtst/src/Makefile.in b/lib/libXtst/src/Makefile.in index c5550ac42..24733948d 100644 --- a/lib/libXtst/src/Makefile.in +++ b/lib/libXtst/src/Makefile.in @@ -204,7 +204,6 @@ LINT_FLAGS = @LINT_FLAGS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ -MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MAN_SUBSTS = @MAN_SUBSTS@ @@ -299,9 +298,11 @@ libXtst_la_SOURCES = \ XTest.c libXtst_la_LIBADD = @XTST_LIBS@ -AM_CFLAGS = \ +AM_CPPFLAGS = \ -I$(top_srcdir)/include \ - -I$(top_srcdir)/include/X11/extensions \ + -I$(top_srcdir)/include/X11/extensions + +AM_CFLAGS = \ $(XTST_CFLAGS) \ $(CWARNFLAGS) @@ -317,7 +318,7 @@ all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ @@ -342,9 +343,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) +$(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-libLTLIBRARIES: $(lib_LTLIBRARIES) diff --git a/lib/libXtst/xtst.pc.in b/lib/libXtst/xtst.pc.in index 870204485..5426416b3 100644 --- a/lib/libXtst/xtst.pc.in +++ b/lib/libXtst/xtst.pc.in @@ -7,6 +7,6 @@ Name: Xtst Description: The Xtst Library Version: @PACKAGE_VERSION@ Requires: recordproto -Requires.private: x11 xext +Requires.private: x11 xext xextproto xi Cflags: -I${includedir} Libs: -L${libdir} -lXtst