Codebase list xorgxrdp / af487cb
New upstream version 0.2.15 Dominik George 3 years ago
24 changed file(s) with 303 addition(s) and 209 deletion(s). Raw diff Collapse all Expand all
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
143143 $(am__extra_recursive_targets)
144144 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
145145 cscope distdir distdir-am dist dist-all distcheck
146 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
147 $(LISP)config_ac-h.in
146 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
147 config_ac-h.in
148148 # Read a list of newline-separated strings from the standard input,
149149 # and print each of them once, without duplicates. Input order is
150150 # *not* preserved.
206206 DIST_ARCHIVES = $(distdir).tar.gz
207207 GZIP_ENV = --best
208208 DIST_TARGETS = dist-gzip
209 # Exists only to be overridden by the user if desired.
210 AM_DISTCHECK_DVI_TARGET = dvi
209211 distuninstallcheck_listfiles = find . -type f -print
210212 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
211213 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
605607 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
606608 $(am__post_remove_distdir)
607609
610 dist-zstd: distdir
611 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
612 $(am__post_remove_distdir)
613
608614 dist-tarZ: distdir
609615 @echo WARNING: "Support for distribution archives compressed with" \
610616 "legacy program 'compress' is deprecated." >&2
647653 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
648654 *.zip*) \
649655 unzip $(distdir).zip ;;\
656 *.tar.zst*) \
657 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
650658 esac
651659 chmod -R a-w $(distdir)
652660 chmod u+w $(distdir)
662670 $(DISTCHECK_CONFIGURE_FLAGS) \
663671 --srcdir=../.. --prefix="$$dc_install_base" \
664672 && $(MAKE) $(AM_MAKEFLAGS) \
665 && $(MAKE) $(AM_MAKEFLAGS) dvi \
673 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
666674 && $(MAKE) $(AM_MAKEFLAGS) check \
667675 && $(MAKE) $(AM_MAKEFLAGS) install \
668676 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
824832 am--refresh check check-am clean clean-cscope clean-generic \
825833 clean-libtool cscope cscopelist-am ctags ctags-am dist \
826834 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
827 dist-xz dist-zip distcheck distclean distclean-generic \
828 distclean-hdr distclean-libtool distclean-tags distcleancheck \
829 distdir distuninstallcheck dvi dvi-am html html-am info \
830 info-am install install-am install-data install-data-am \
831 install-dvi install-dvi-am install-exec install-exec-am \
832 install-html install-html-am install-info install-info-am \
833 install-man install-pdf install-pdf-am install-ps \
834 install-ps-am install-strip installcheck installcheck-am \
835 installdirs installdirs-am maintainer-clean \
836 maintainer-clean-generic mostlyclean mostlyclean-generic \
837 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
838 uninstall-am
835 dist-xz dist-zip dist-zstd distcheck distclean \
836 distclean-generic distclean-hdr distclean-libtool \
837 distclean-tags distcleancheck distdir distuninstallcheck dvi \
838 dvi-am html html-am info info-am install install-am \
839 install-data install-data-am install-dvi install-dvi-am \
840 install-exec install-exec-am install-html install-html-am \
841 install-info install-info-am install-man install-pdf \
842 install-pdf-am install-ps install-ps-am install-strip \
843 installcheck installcheck-am installdirs installdirs-am \
844 maintainer-clean maintainer-clean-generic mostlyclean \
845 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
846 tags tags-am uninstall uninstall-am
839847
840848 .PRECIOUS: Makefile
841849
00 [![Build Status](https://travis-ci.org/neutrinolabs/xorgxrdp.svg?branch=devel)](https://travis-ci.org/neutrinolabs/xorgxrdp)
11
2 *Current Version:* 0.2.12
2 *Current Version:* 0.2.15
33
44 # xorgxrdp
55
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.3 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
363363 [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
364364 ])dnl PKG_HAVE_DEFINE_WITH_MODULES
365365
366 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
366 # Copyright (C) 2002-2020 Free Software Foundation, Inc.
367367 #
368368 # This file is free software; the Free Software Foundation
369369 # gives unlimited permission to copy and/or distribute it,
378378 [am__api_version='1.16'
379379 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
380380 dnl require some minimum version. Point them to the right macro.
381 m4_if([$1], [1.16.1], [],
381 m4_if([$1], [1.16.3], [],
382382 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
383383 ])
384384
394394 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
395395 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
396396 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
397 [AM_AUTOMAKE_VERSION([1.16.1])dnl
397 [AM_AUTOMAKE_VERSION([1.16.3])dnl
398398 m4_ifndef([AC_AUTOCONF_VERSION],
399399 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
400400 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
401401
402402 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
403403
404 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
404 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
405405 #
406406 # This file is free software; the Free Software Foundation
407407 # gives unlimited permission to copy and/or distribute it,
453453
454454 # AM_CONDITIONAL -*- Autoconf -*-
455455
456 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
456 # Copyright (C) 1997-2020 Free Software Foundation, Inc.
457457 #
458458 # This file is free software; the Free Software Foundation
459459 # gives unlimited permission to copy and/or distribute it,
484484 Usually this means the macro was only invoked conditionally.]])
485485 fi])])
486486
487 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
487 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
488488 #
489489 # This file is free software; the Free Software Foundation
490490 # gives unlimited permission to copy and/or distribute it,
675675
676676 # Generate code to set up dependency tracking. -*- Autoconf -*-
677677
678 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
678 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
679679 #
680680 # This file is free software; the Free Software Foundation
681681 # gives unlimited permission to copy and/or distribute it,
714714 done
715715 if test $am_rc -ne 0; then
716716 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
717 for automatic dependency tracking. Try re-running configure with the
717 for automatic dependency tracking. If GNU make was not used, consider
718 re-running the configure script with MAKE="gmake" (or whatever is
719 necessary). You can also try re-running configure with the
718720 '--disable-dependency-tracking' option to at least be able to build
719721 the package (albeit without support for automatic dependency tracking).])
720722 fi
741743
742744 # Do all the work for Automake. -*- Autoconf -*-
743745
744 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
746 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
745747 #
746748 # This file is free software; the Free Software Foundation
747749 # gives unlimited permission to copy and/or distribute it,
938940 done
939941 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
940942
941 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
943 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
942944 #
943945 # This file is free software; the Free Software Foundation
944946 # gives unlimited permission to copy and/or distribute it,
959961 fi
960962 AC_SUBST([install_sh])])
961963
962 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
964 # Copyright (C) 2003-2020 Free Software Foundation, Inc.
963965 #
964966 # This file is free software; the Free Software Foundation
965967 # gives unlimited permission to copy and/or distribute it,
980982
981983 # Check to see how 'make' treats includes. -*- Autoconf -*-
982984
983 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
985 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
984986 #
985987 # This file is free software; the Free Software Foundation
986988 # gives unlimited permission to copy and/or distribute it,
10231025
10241026 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
10251027
1026 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
1028 # Copyright (C) 1997-2020 Free Software Foundation, Inc.
10271029 #
10281030 # This file is free software; the Free Software Foundation
10291031 # gives unlimited permission to copy and/or distribute it,
10441046 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10451047 AC_REQUIRE_AUX_FILE([missing])dnl
10461048 if test x"${MISSING+set}" != xset; then
1047 case $am_aux_dir in
1048 *\ * | *\ *)
1049 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1050 *)
1051 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1052 esac
1049 MISSING="\${SHELL} '$am_aux_dir/missing'"
10531050 fi
10541051 # Use eval to expand $SHELL
10551052 if eval "$MISSING --is-lightweight"; then
10621059
10631060 # Helper functions for option handling. -*- Autoconf -*-
10641061
1065 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1062 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
10661063 #
10671064 # This file is free software; the Free Software Foundation
10681065 # gives unlimited permission to copy and/or distribute it,
10911088 AC_DEFUN([_AM_IF_OPTION],
10921089 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
10931090
1094 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
1091 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
10951092 #
10961093 # This file is free software; the Free Software Foundation
10971094 # gives unlimited permission to copy and/or distribute it,
11381135 # For backward compatibility.
11391136 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
11401137
1141 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1138 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
11421139 #
11431140 # This file is free software; the Free Software Foundation
11441141 # gives unlimited permission to copy and/or distribute it,
11571154
11581155 # Check to make sure that the build environment is sane. -*- Autoconf -*-
11591156
1160 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
1157 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
11611158 #
11621159 # This file is free software; the Free Software Foundation
11631160 # gives unlimited permission to copy and/or distribute it,
12381235 rm -f conftest.file
12391236 ])
12401237
1241 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
1238 # Copyright (C) 2009-2020 Free Software Foundation, Inc.
12421239 #
12431240 # This file is free software; the Free Software Foundation
12441241 # gives unlimited permission to copy and/or distribute it,
12981295 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
12991296 ])
13001297
1301 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
1298 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
13021299 #
13031300 # This file is free software; the Free Software Foundation
13041301 # gives unlimited permission to copy and/or distribute it,
13261323 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
13271324 AC_SUBST([INSTALL_STRIP_PROGRAM])])
13281325
1329 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
1326 # Copyright (C) 2006-2020 Free Software Foundation, Inc.
13301327 #
13311328 # This file is free software; the Free Software Foundation
13321329 # gives unlimited permission to copy and/or distribute it,
13451342
13461343 # Check how to create a tarball. -*- Autoconf -*-
13471344
1348 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
1345 # Copyright (C) 2004-2020 Free Software Foundation, Inc.
13491346 #
13501347 # This file is free software; the Free Software Foundation
13511348 # gives unlimited permission to copy and/or distribute it,
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
5252 MINGW*)
5353 file_conv=mingw
5454 ;;
55 CYGWIN*)
55 CYGWIN* | MSYS*)
5656 file_conv=cygwin
5757 ;;
5858 *)
6666 mingw/*)
6767 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
6868 ;;
69 cygwin/*)
69 cygwin/* | msys/*)
7070 file=`cygpath -m "$file" || echo "$file"`
7171 ;;
7272 wine/*)
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for xorgxrdp 0.2.12.
2 # Generated by GNU Autoconf 2.69 for xorgxrdp 0.2.15.
33 #
44 # Report bugs to <xrdp-devel@googlegroups.com>.
55 #
589589 # Identity of this package.
590590 PACKAGE_NAME='xorgxrdp'
591591 PACKAGE_TARNAME='xorgxrdp'
592 PACKAGE_VERSION='0.2.12'
593 PACKAGE_STRING='xorgxrdp 0.2.12'
592 PACKAGE_VERSION='0.2.15'
593 PACKAGE_STRING='xorgxrdp 0.2.15'
594594 PACKAGE_BUGREPORT='xrdp-devel@googlegroups.com'
595595 PACKAGE_URL=''
596596
13441344 # Omit some internal or obsolete options to make the list less imposing.
13451345 # This message is too long to be a string in the A/UX 3.1 sh.
13461346 cat <<_ACEOF
1347 \`configure' configures xorgxrdp 0.2.12 to adapt to many kinds of systems.
1347 \`configure' configures xorgxrdp 0.2.15 to adapt to many kinds of systems.
13481348
13491349 Usage: $0 [OPTION]... [VAR=VALUE]...
13501350
14141414
14151415 if test -n "$ac_init_help"; then
14161416 case $ac_init_help in
1417 short | recursive ) echo "Configuration of xorgxrdp 0.2.12:";;
1417 short | recursive ) echo "Configuration of xorgxrdp 0.2.15:";;
14181418 esac
14191419 cat <<\_ACEOF
14201420
15431543 test -n "$ac_init_help" && exit $ac_status
15441544 if $ac_init_version; then
15451545 cat <<\_ACEOF
1546 xorgxrdp configure 0.2.12
1546 xorgxrdp configure 0.2.15
15471547 generated by GNU Autoconf 2.69
15481548
15491549 Copyright (C) 2012 Free Software Foundation, Inc.
18211821 This file contains any messages produced by compilers while
18221822 running configure, to aid debugging if configure makes a mistake.
18231823
1824 It was created by xorgxrdp $as_me 0.2.12, which was
1824 It was created by xorgxrdp $as_me 0.2.15, which was
18251825 generated by GNU Autoconf 2.69. Invocation command line was
18261826
18271827 $ $0 $@
23852385 am_aux_dir=`cd "$ac_aux_dir" && pwd`
23862386
23872387 if test x"${MISSING+set}" != xset; then
2388 case $am_aux_dir in
2389 *\ * | *\ *)
2390 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2391 *)
2392 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2393 esac
2388 MISSING="\${SHELL} '$am_aux_dir/missing'"
23942389 fi
23952390 # Use eval to expand $SHELL
23962391 if eval "$MISSING --is-lightweight"; then
26952690
26962691 # Define the identity of the package.
26972692 PACKAGE='xorgxrdp'
2698 VERSION='0.2.12'
2693 VERSION='0.2.15'
26992694
27002695
27012696 cat >>confdefs.h <<_ACEOF
1252112516 pkg_cv_XRDP_CFLAGS="$XRDP_CFLAGS"
1252212517 elif test -n "$PKG_CONFIG"; then
1252312518 if test -n "$PKG_CONFIG" && \
12524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.0\""; } >&5
12525 ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.0") 2>&5
12519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.14\""; } >&5
12520 ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.14") 2>&5
1252612521 ac_status=$?
1252712522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1252812523 test $ac_status = 0; }; then
12529 pkg_cv_XRDP_CFLAGS=`$PKG_CONFIG --cflags "xrdp >= 0.9.0" 2>/dev/null`
12524 pkg_cv_XRDP_CFLAGS=`$PKG_CONFIG --cflags "xrdp >= 0.9.14" 2>/dev/null`
1253012525 test "x$?" != "x0" && pkg_failed=yes
1253112526 else
1253212527 pkg_failed=yes
1253812533 pkg_cv_XRDP_LIBS="$XRDP_LIBS"
1253912534 elif test -n "$PKG_CONFIG"; then
1254012535 if test -n "$PKG_CONFIG" && \
12541 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.0\""; } >&5
12542 ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.0") 2>&5
12536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrdp >= 0.9.14\""; } >&5
12537 ($PKG_CONFIG --exists --print-errors "xrdp >= 0.9.14") 2>&5
1254312538 ac_status=$?
1254412539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1254512540 test $ac_status = 0; }; then
12546 pkg_cv_XRDP_LIBS=`$PKG_CONFIG --libs "xrdp >= 0.9.0" 2>/dev/null`
12541 pkg_cv_XRDP_LIBS=`$PKG_CONFIG --libs "xrdp >= 0.9.14" 2>/dev/null`
1254712542 test "x$?" != "x0" && pkg_failed=yes
1254812543 else
1254912544 pkg_failed=yes
1256412559 _pkg_short_errors_supported=no
1256512560 fi
1256612561 if test $_pkg_short_errors_supported = yes; then
12567 XRDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrdp >= 0.9.0" 2>&1`
12562 XRDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrdp >= 0.9.14" 2>&1`
1256812563 else
12569 XRDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrdp >= 0.9.0" 2>&1`
12564 XRDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrdp >= 0.9.14" 2>&1`
1257012565 fi
1257112566 # Put the nasty error message in config.log where it belongs
1257212567 echo "$XRDP_PKG_ERRORS" >&5
1257312568
12574 as_fn_error $? "Package requirements (xrdp >= 0.9.0) were not met:
12569 as_fn_error $? "Package requirements (xrdp >= 0.9.14) were not met:
1257512570
1257612571 $XRDP_PKG_ERRORS
1257712572
1260312598 $as_echo "yes" >&6; }
1260412599
1260512600 fi
12601 XRDP_CFLAGS=`pkg-config xrdp --cflags`
1260612602 fi
1260712603
1260812604 # Check whether --enable-strict-locations was given.
1278512781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5
1278612782 $as_echo_n "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; }
1278712783 cat > conftest.asm <<EOF
12788 %line 12789 "configure"
12784 %line 12785 "configure"
1278912785 section .text
1279012786 global _nasmfunc, nasmfunc
1279112787 _nasmfunc:
1300112997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the assembler ($NASM $NAFLAGS) works" >&5
1300212998 $as_echo_n "checking whether the assembler ($NASM $NAFLAGS) works... " >&6; }
1300312999 cat > conftest.asm <<EOF
13004 %line 13005 "configure"
13000 %line 13001 "configure"
1300513001 section .text
1300613002 global _nasmfunc, nasmfunc
1300713003 _nasmfunc:
1365713653 # report actual input values of CONFIG_FILES etc. instead of their
1365813654 # values after options handling.
1365913655 ac_log="
13660 This file was extended by xorgxrdp $as_me 0.2.12, which was
13656 This file was extended by xorgxrdp $as_me 0.2.15, which was
1366113657 generated by GNU Autoconf 2.69. Invocation command line was
1366213658
1366313659 CONFIG_FILES = $CONFIG_FILES
1372313719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1372413720 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1372513721 ac_cs_version="\\
13726 xorgxrdp config.status 0.2.12
13722 xorgxrdp config.status 0.2.15
1372713723 configured by $0, generated by GNU Autoconf 2.69,
1372813724 with options \\"\$ac_cs_config\\"
1372913725
1482414820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1482514821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1482614822 as_fn_error $? "Something went wrong bootstrapping makefile fragments
14827 for automatic dependency tracking. Try re-running configure with the
14823 for automatic dependency tracking. If GNU make was not used, consider
14824 re-running the configure script with MAKE=\"gmake\" (or whatever is
14825 necessary). You can also try re-running configure with the
1482814826 '--disable-dependency-tracking' option to at least be able to build
1482914827 the package (albeit without support for automatic dependency tracking).
1483014828 See \`config.log' for more details" "$LINENO" 5; }
11
22 AC_PREREQ(2.65)
33 # package version must be x.y.z
4 AC_INIT([xorgxrdp], [0.2.12], [xrdp-devel@googlegroups.com])
4 AC_INIT([xorgxrdp], [0.2.15], [xrdp-devel@googlegroups.com])
55 package_version_major=$(echo ${PACKAGE_VERSION}|cut -d. -f1)
66 package_version_minor=$(echo ${PACKAGE_VERSION}|cut -d. -f2)
77 package_version_patchlevel=$(echo ${PACKAGE_VERSION}|cut -d. -f3)
2727 fi
2828
2929 if test "x$XRDP_CFLAGS" = "x"; then
30 PKG_CHECK_MODULES([XRDP], [xrdp >= 0.9.0])
30 PKG_CHECK_MODULES([XRDP], [xrdp >= 0.9.14])
31 XRDP_CFLAGS=`pkg-config xrdp --cflags`
3132 fi
3233
3334 AC_ARG_ENABLE([strict-locations],
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1999-2020 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2018-03-11.20; # UTC
3 scriptversion=2020-11-14.01; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
6868 # Desired mode of installed file.
6969 mode=0755
7070
71 # Create dirs (including intermediate dirs) using mode 755.
72 # This is like GNU 'install' as of coreutils 8.32 (2020).
73 mkdir_umask=22
74
75 backupsuffix=
7176 chgrpcmd=
7277 chmodcmd=$chmodprog
7378 chowncmd=
98103 --version display version info and exit.
99104
100105 -c (ignored)
101 -C install only if different (preserve the last data modification time)
106 -C install only if different (preserve data modification time)
102107 -d create directories instead of installing files.
103108 -g GROUP $chgrpprog installed files to GROUP.
104109 -m MODE $chmodprog installed files to MODE.
105110 -o USER $chownprog installed files to USER.
111 -p pass -p to $cpprog.
106112 -s $stripprog installed files.
113 -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
107114 -t DIRECTORY install into DIRECTORY.
108115 -T report an error if DSTFILE is a directory.
109116
110117 Environment variables override the default commands:
111118 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
112119 RMPROG STRIPPROG
120
121 By default, rm is invoked with -f; when overridden with RMPROG,
122 it's up to you to specify -f if you want it.
123
124 If -S is not specified, no backups are attempted.
125
126 Email bug reports to bug-automake@gnu.org.
127 Automake home page: https://www.gnu.org/software/automake/
113128 "
114129
115130 while test $# -ne 0; do
136151 -o) chowncmd="$chownprog $2"
137152 shift;;
138153
154 -p) cpprog="$cpprog -p";;
155
139156 -s) stripcmd=$stripprog;;
157
158 -S) backupsuffix="$2"
159 shift;;
140160
141161 -t)
142162 is_target_a_directory=always
254274 dstdir=$dst
255275 test -d "$dstdir"
256276 dstdir_status=$?
277 # Don't chown directories that already exist.
278 if test $dstdir_status = 0; then
279 chowncmd=""
280 fi
257281 else
258282
259283 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
300324 if test $dstdir_status != 0; then
301325 case $posix_mkdir in
302326 '')
303 # Create intermediate dirs using mode 755 as modified by the umask.
304 # This is like FreeBSD 'install' as of 1997-10-28.
305 umask=`umask`
306 case $stripcmd.$umask in
307 # Optimize common cases.
308 *[2367][2367]) mkdir_umask=$umask;;
309 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
310
311 *[0-7])
312 mkdir_umask=`expr $umask + 22 \
313 - $umask % 100 % 40 + $umask % 20 \
314 - $umask % 10 % 4 + $umask % 2
315 `;;
316 *) mkdir_umask=$umask,go-w;;
317 esac
318
319327 # With -d, create the new directory with the user-specified mode.
320328 # Otherwise, rely on $mkdir_umask.
321329 if test -n "$dir_arg"; then
325333 fi
326334
327335 posix_mkdir=false
328 case $umask in
329 *[123567][0-7][0-7])
330 # POSIX mkdir -p sets u+wx bits regardless of umask, which
331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
332 ;;
333 *)
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
337
338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
339
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
344 if (umask $mkdir_umask &&
345 $mkdirprog $mkdir_mode "$tmpdir" &&
346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
347 then
348 if test -z "$dir_arg" || {
349 # Check for POSIX incompatibilities with -m.
350 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
351 # other-writable bit of parent directory when it shouldn't.
352 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
353 test_tmpdir="$tmpdir/a"
354 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
355 case $ls_ld_tmpdir in
356 d????-?r-*) different_mode=700;;
357 d????-?--*) different_mode=755;;
358 *) false;;
359 esac &&
360 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
361 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
362 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
363 }
364 }
365 then posix_mkdir=:
366 fi
367 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
368 else
369 # Remove any dirs left behind by ancient mkdir implementations.
370 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
371 fi
372 trap '' 0;;
373 esac;;
336 # The $RANDOM variable is not portable (e.g., dash). Use it
337 # here however when possible just to lower collision chance.
338 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
339
340 trap '
341 ret=$?
342 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
343 exit $ret
344 ' 0
345
346 # Because "mkdir -p" follows existing symlinks and we likely work
347 # directly in world-writeable /tmp, make sure that the '$tmpdir'
348 # directory is successfully created first before we actually test
349 # 'mkdir -p'.
350 if (umask $mkdir_umask &&
351 $mkdirprog $mkdir_mode "$tmpdir" &&
352 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
353 then
354 if test -z "$dir_arg" || {
355 # Check for POSIX incompatibilities with -m.
356 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357 # other-writable bit of parent directory when it shouldn't.
358 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 test_tmpdir="$tmpdir/a"
360 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 case $ls_ld_tmpdir in
362 d????-?r-*) different_mode=700;;
363 d????-?--*) different_mode=755;;
364 *) false;;
365 esac &&
366 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
367 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
368 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
369 }
370 }
371 then posix_mkdir=:
372 fi
373 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
374 else
375 # Remove any dirs left behind by ancient mkdir implementations.
376 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
377 fi
378 trap '' 0;;
374379 esac
375380
376381 if
381386 then :
382387 else
383388
384 # The umask is ridiculous, or mkdir does not conform to POSIX,
389 # mkdir does not conform to POSIX,
385390 # or it failed possibly due to a race condition. Create the
386391 # directory the slow way, step by step, checking for races as we go.
387392
410415 prefixes=
411416 else
412417 if $posix_mkdir; then
413 (umask=$mkdir_umask &&
418 (umask $mkdir_umask &&
414419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
415420 # Don't fail if two instances are running concurrently.
416421 test -d "$prefix" || exit 1
450455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
451456
452457 # Copy the file name to the temp name.
453 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
458 (umask $cp_umask &&
459 { test -z "$stripcmd" || {
460 # Create $dsttmp read-write so that cp doesn't create it read-only,
461 # which would cause strip to fail.
462 if test -z "$doit"; then
463 : >"$dsttmp" # No need to fork-exec 'touch'.
464 else
465 $doit touch "$dsttmp"
466 fi
467 }
468 } &&
469 $doit_exec $cpprog "$src" "$dsttmp") &&
454470
455471 # and set any options; do chmod last to preserve setuid bits.
456472 #
476492 then
477493 rm -f "$dsttmp"
478494 else
495 # If $backupsuffix is set, and the file being installed
496 # already exists, attempt a backup. Don't worry if it fails,
497 # e.g., if mv doesn't support -f.
498 if test -n "$backupsuffix" && test -f "$dst"; then
499 $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
500 fi
501
479502 # Rename the file to the real destination.
480503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
481504
490513 # file should still install successfully.
491514 {
492515 test ! -f "$dst" ||
493 $doit $rmcmd -f "$dst" 2>/dev/null ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
494517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
495 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
496519 } ||
497520 { echo "$0: cannot unlink or rename $dst" >&2
498521 (exit 1); exit 1
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
5 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
3333 #include "rdpPri.h"
3434
3535 #include "xrdp_client_info.h"
36 #include "xrdp_constants.h"
3637
3738 #define XRDP_MODULE_NAME "XORGXRDP"
3839 #define XRDP_DRIVER_NAME "XRDPDEV"
102102 rdpClientConDisconnect(rdpPtr dev, rdpClientCon *clientCon);
103103 static CARD32
104104 rdpDeferredIdleDisconnectCallback(OsTimerPtr timer, CARD32 now, pointer arg);
105 static void
106 rdpScheduleDeferredUpdate(rdpClientCon *clientCon);
105107
106108 #if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1, 18, 5, 0, 0)
107109
13741376 return 1;
13751377 }
13761378 g_sck_listen(dev->disconnect_sck);
1379 g_chmod_hex(dev->disconnect_uds, 0x0660);
13771380 rdpClientConAddEnabledDevice(dev->pScreen, dev->disconnect_sck);
13781381 }
13791382
13981401 i = atoi(ptext);
13991402 if (i > 0)
14001403 {
1401 dev->do_kill_disconnected = 1;
14021404 dev->disconnect_timeout_s = atoi(ptext);
14031405 }
14041406 }
14061408 if (ptext != 0)
14071409 {
14081410 i = atoi(ptext);
1409 if (i != 0)
1411 if (i == 0)
1412 {
1413 dev->do_kill_disconnected = 0;
1414 }
1415 else
14101416 {
14111417 dev->do_kill_disconnected = 1;
14121418 }
14411447 rdpClientConRemoveEnabledDevice(dev->listen_sck);
14421448 g_sck_close(dev->listen_sck);
14431449 LLOGLN(0, ("rdpClientConDeinit: deleting file %s", dev->uds_data));
1444 unlink(dev->uds_data);
1450 if (unlink(dev->uds_data) < 0)
1451 {
1452 LLOGLN(0, ("rdpClientConDeinit: failed to delete %s (%s)",
1453 dev->uds_data, strerror(errno)));
1454 }
14451455 }
14461456
14471457 if (dev->disconnect_sck != 0)
14491459 rdpClientConRemoveEnabledDevice(dev->disconnect_sck);
14501460 g_sck_close(dev->disconnect_sck);
14511461 LLOGLN(0, ("rdpClientConDeinit: deleting file %s", dev->disconnect_uds));
1452 unlink(dev->disconnect_uds);
1462 if (unlink(dev->disconnect_uds) < 0)
1463 {
1464 LLOGLN(0, ("rdpClientConDeinit: failed to delete %s (%s)",
1465 dev->disconnect_uds, strerror(errno)));
1466 }
14531467 }
14541468
14551469 return 0;
24232437 LLOGLN(10, ("rdpDeferredUpdateCallback:"));
24242438 clientCon = (rdpClientCon *) arg;
24252439 clientCon->updateScheduled = FALSE;
2440 clientCon->lastUpdateTime = now;
24262441 if (clientCon->suppress_output)
24272442 {
24282443 LLOGLN(10, ("rdpDeferredUpdateCallback: suppress_output set"));
24352450 LLOGLN(10, ("rdpDeferredUpdateCallback: reschedule rect_id %d "
24362451 "rect_id_ack %d",
24372452 clientCon->rect_id, clientCon->rect_id_ack));
2438 clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0, 40,
2439 rdpDeferredUpdateCallback,
2440 clientCon);
2441 clientCon->updateScheduled = TRUE;
2453 rdpScheduleDeferredUpdate(clientCon);
24422454 return 0;
24432455 }
24442456 else
25312543 }
25322544 if (rdpRegionNotEmpty(clientCon->dirtyRegion))
25332545 {
2534 clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0, 40,
2535 rdpDeferredUpdateCallback,
2536 clientCon);
2537 clientCon->updateScheduled = TRUE;
2538 }
2539 return 0;
2546 rdpScheduleDeferredUpdate(clientCon);
2547 }
2548 return 0;
2549 }
2550
2551
2552 /******************************************************************************/
2553 #define MIN_MS_BETWEEN_FRAMES 40
2554 #define MIN_MS_TO_WAIT_FOR_MORE_UPDATES 4
2555 static void
2556 rdpScheduleDeferredUpdate(rdpClientCon *clientCon)
2557 {
2558 uint32_t curTime;
2559 uint32_t msToWait;
2560 uint32_t minNextUpdateTime;
2561
2562 curTime = (uint32_t) GetTimeInMillis();
2563 /* use two separate delays in order to limit the update rate and wait a bit
2564 for more changes before sending an update. Always waiting the longer
2565 delay would introduce unnecessarily much latency. */
2566 msToWait = MIN_MS_TO_WAIT_FOR_MORE_UPDATES;
2567 minNextUpdateTime = clientCon->lastUpdateTime + MIN_MS_BETWEEN_FRAMES;
2568 /* the first check is to gracefully handle the infrequent case of
2569 the time wrapping around */
2570 if(clientCon->lastUpdateTime < curTime &&
2571 minNextUpdateTime > curTime + msToWait)
2572 {
2573 msToWait = minNextUpdateTime - curTime;
2574 }
2575
2576 clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0,
2577 (CARD32) msToWait,
2578 rdpDeferredUpdateCallback,
2579 clientCon);
2580 clientCon->updateScheduled = TRUE;
25402581 }
25412582
25422583 /******************************************************************************/
25482589 rdpRegionUnion(clientCon->dirtyRegion, clientCon->dirtyRegion, reg);
25492590 if (clientCon->updateScheduled == FALSE)
25502591 {
2551 clientCon->updateTimer = TimerSet(clientCon->updateTimer, 0, 40,
2552 rdpDeferredUpdateCallback, clientCon);
2553 clientCon->updateScheduled = TRUE;
2592 rdpScheduleDeferredUpdate(clientCon);
25542593 }
25552594 return 0;
25562595 }
104104 int rect_id_ack;
105105
106106 OsTimerPtr updateTimer;
107 CARD32 lastUpdateTime; /* millisecond timestamp */
107108 int updateScheduled; /* boolean */
108109
109110 RegionPtr dirtyRegion;
128128 dev = rdpGetDevFromScreen(pScreen);
129129 if (dev->allow_screen_resize == 0)
130130 {
131 if ((width == pScreen->width) && (height == pScreen->height) &&
132 (mmWidth == pScreen->mmWidth) && (mmHeight == pScreen->mmHeight))
133 {
134 LLOGLN(0, ("rdpRRScreenSetSize: already this size"));
135 return TRUE;
136 }
131137 LLOGLN(0, ("rdpRRScreenSetSize: not allowing resize"));
132138 return FALSE;
133139 }
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
22
33 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2020 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
4141 {
4242 cat <<END
4343 Usage:
44 test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
45 [--expect-failure={yes|no}] [--color-tests={yes|no}]
46 [--enable-hard-errors={yes|no}] [--]
44 test-driver --test-name NAME --log-file PATH --trs-file PATH
45 [--expect-failure {yes|no}] [--color-tests {yes|no}]
46 [--enable-hard-errors {yes|no}] [--]
4747 TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
48
4849 The '--test-name', '--log-file' and '--trs-file' options are mandatory.
50 See the GNU Automake documentation for information.
4951 END
5052 }
5153
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
344344 bases='$(TEST_LOGS)'; \
345345 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
346346 bases=`echo $$bases`
347 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
347348 RECHECK_LOGS = $(TEST_LOGS)
348349 TEST_SUITE_LOG = test-suite.log
349350 am__test_logs1 = $(TESTS:=.log)
771772 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
772773 fi; \
773774 echo "$${col}$$br$${std}"; \
774 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
775 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
775776 echo "$${col}$$br$${std}"; \
776777 create_testsuite_report --maybe-color; \
777778 echo "$$col$$br$$std"; \
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
359359 bases='$(TEST_LOGS)'; \
360360 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
361361 bases=`echo $$bases`
362 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
362363 RECHECK_LOGS = $(TEST_LOGS)
363364 AM_RECURSIVE_TARGETS = check recheck
364365 TEST_SUITE_LOG = test-suite.log
766767 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
767768 fi; \
768769 echo "$${col}$$br$${std}"; \
769 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
770 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
770771 echo "$${col}$$br$${std}"; \
771772 create_testsuite_report --maybe-color; \
772773 echo "$$col$$br$$std"; \
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
00 EXTRA_DIST =
11
22 AM_CFLAGS = \
3 $(XRDP_CFLAGS) \
34 $(XORG_SERVER_CFLAGS) \
4 $(XRDP_CFLAGS) \
55 -DPACKAGE_VERSION_MAJOR=@package_version_major@ \
66 -DPACKAGE_VERSION_MINOR=@package_version_minor@ \
77 -DPACKAGE_VERSION_PATCHLEVEL=@package_version_patchlevel@ \
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
341341 top_srcdir = @top_srcdir@
342342 EXTRA_DIST =
343343 AM_CFLAGS = \
344 $(XRDP_CFLAGS) \
344345 $(XORG_SERVER_CFLAGS) \
345 $(XRDP_CFLAGS) \
346346 -DPACKAGE_VERSION_MAJOR=@package_version_major@ \
347347 -DPACKAGE_VERSION_MINOR=@package_version_minor@ \
348348 -DPACKAGE_VERSION_PATCHLEVEL=@package_version_patchlevel@ \
127127 pointer->old_cursor_y = pointer->cursor_y;
128128 }
129129
130 for (i = 0; i < 7; i++)
130 for (i = 0; i < 9; i++)
131131 {
132132 if ((pointer->button_mask ^ pointer->old_button_mask) & (1 << i))
133133 {
162162 pointer = &(dev->pointer);
163163 switch (msg)
164164 {
165 case 100:
165 case WM_MOUSEMOVE:
166166 /* without the minus 2, strange things happen when dragging
167167 past the width or height */
168168 pointer->cursor_x = l_bound_by(param1, 0, dev->width - 2);
169169 pointer->cursor_y = l_bound_by(param2, 0, dev->height - 2);
170170 PtrAddEvent(pointer);
171171 break;
172 case 101:
172 case WM_LBUTTONUP:
173173 pointer->button_mask = pointer->button_mask & (~1);
174174 PtrAddEvent(pointer);
175175 break;
176 case 102:
176 case WM_LBUTTONDOWN:
177177 pointer->button_mask = pointer->button_mask | 1;
178178 PtrAddEvent(pointer);
179179 break;
180 case 103:
180 case WM_RBUTTONUP:
181181 pointer->button_mask = pointer->button_mask & (~4);
182182 PtrAddEvent(pointer);
183183 break;
184 case 104:
184 case WM_RBUTTONDOWN:
185185 pointer->button_mask = pointer->button_mask | 4;
186186 PtrAddEvent(pointer);
187187 break;
188 case 105:
188 case WM_BUTTON3UP:
189189 pointer->button_mask = pointer->button_mask & (~2);
190190 PtrAddEvent(pointer);
191191 break;
192 case 106:
192 case WM_BUTTON3DOWN:
193193 pointer->button_mask = pointer->button_mask | 2;
194194 PtrAddEvent(pointer);
195195 break;
196 case 107:
196 case WM_BUTTON4UP:
197197 pointer->button_mask = pointer->button_mask & (~8);
198198 PtrAddEvent(pointer);
199199 break;
200 case 108:
200 case WM_BUTTON4DOWN:
201201 pointer->button_mask = pointer->button_mask | 8;
202202 PtrAddEvent(pointer);
203203 break;
204 case 109:
204 case WM_BUTTON5UP:
205205 pointer->button_mask = pointer->button_mask & (~16);
206206 PtrAddEvent(pointer);
207207 break;
208 case 110:
208 case WM_BUTTON5DOWN:
209209 pointer->button_mask = pointer->button_mask | 16;
210210 PtrAddEvent(pointer);
211211 break;
212 case 111:
212 case WM_BUTTON6UP:
213213 pointer->button_mask = pointer->button_mask & (~32);
214214 PtrAddEvent(pointer);
215215 break;
216 case 112:
216 case WM_BUTTON6DOWN:
217217 pointer->button_mask = pointer->button_mask | 32;
218218 PtrAddEvent(pointer);
219219 break;
220 case 113:
220 case WM_BUTTON7UP:
221221 pointer->button_mask = pointer->button_mask & (~64);
222222 PtrAddEvent(pointer);
223223 break;
224 case 114:
224 case WM_BUTTON7DOWN:
225225 pointer->button_mask = pointer->button_mask | 64;
226 PtrAddEvent(pointer);
227 break;
228 case WM_BUTTON8UP:
229 pointer->button_mask = pointer->button_mask & (~128);
230 PtrAddEvent(pointer);
231 break;
232 case WM_BUTTON8DOWN:
233 pointer->button_mask = pointer->button_mask | 128;
234 PtrAddEvent(pointer);
235 break;
236 case WM_BUTTON9UP:
237 pointer->button_mask = pointer->button_mask & (~256);
238 PtrAddEvent(pointer);
239 break;
240 case WM_BUTTON9DOWN:
241 pointer->button_mask = pointer->button_mask | 256;
226242 PtrAddEvent(pointer);
227243 break;
228244 }