summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-11-08 18:31:02 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-11-14 00:28:34 +0100
commitb37f44d6c7444ca20c48a07fdcaf7b2a812db5bd (patch)
tree971f3503afaaa23770983631a621232ca6fc1347
parentca54da3228ddc925ae804a8b9bcf8037767e13bf (diff)
downloadextra-dependencies-b37f44d6.tar.gz
extra-dependencies-b37f44d6.zip
DEB pinetry-tqt: Add pinentry built separately only as pinentry-tqt.HEADmaster
The package is taken from Debian upstream, renamed pinentry-tqt so that it does not conflict with standard pinentry, and dependencies, patches and files related to other pinetry variants have been removed from deb packaging. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/AUTHORS48
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/COPYING280
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog1869
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog-old2175
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/INSTALL291
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.am130
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.in918
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/NEWS373
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/README68
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/README.GIT49
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/THANKS7
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/TODO24
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/VERSION1
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/acinclude.m4117
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/aclocal.m42344
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.rc27
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.sh468
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/compile347
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.guess1456
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.rpath690
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.sub1823
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/depcomp791
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-fix3
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-footer14
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/gitlog-to-changelog375
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/install-sh527
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/mdate-sh224
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/missing215
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/texinfo.tex8638
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/config.h.in227
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/configure12743
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/configure.ac760
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/curses/Makefile.am28
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/curses/Makefile.in642
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/curses/pinentry-curses.c45
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/README.Debian83
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/changelog462
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/clean2
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/compat1
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/control47
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/copyright167
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/gbp.conf21
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/not-installed1
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/patches/0001-avoid-self-describing-as-a-beta.patch49
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/patches/series1
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/pinentry-tqt.178
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/pinentry-tqt.install1
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/pinentry-tqt.manpages1
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/pinentry-tqt.postinst14
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/pinentry-tqt.prerm10
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/debian/rules31
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/source/format1
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/source/options3
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/tests/control2
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/debian/tests/simple-tty64
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/debian/watch5
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/depcomp589
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/HACKING38
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/Makefile.am27
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/Makefile.in806
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/gpl.texi392
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/doc/mdate-sh205
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/pinentry.info992
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/pinentry.texi755
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/stamp-vti4
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/texinfo.tex8638
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/doc/version.texi4
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/emacs/Makefile.am28
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/emacs/Makefile.in641
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/emacs/pinentry-emacs.c49
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/Makefile.am22
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/Makefile.in654
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/encrypt.xpm83
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/icon.xpm37
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/main.cxx328
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/passwindow.cxx86
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/passwindow.h51
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/pinwindow.cxx251
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/pinwindow.h109
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/qualitypasswindow.cxx93
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/fltk/qualitypasswindow.h55
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/gnome3/Makefile.am37
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/gnome3/Makefile.in652
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/gnome3/pinentry-gnome3.c550
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/gtk+-2/Makefile.am37
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/gtk+-2/Makefile.in652
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/gtk+-2/pinentry-gtk-2.c974
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/install-sh519
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/ChangeLog13
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/Makefile.am2
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/Makefile.in450
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/curses.m4144
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/glib.m4196
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/gpg-error.m4121
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/gtk.m4194
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/iconv.m4103
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/libassuan.m4163
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/pkg.m4157
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/m4/qt.m4112
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/missing367
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/mkinstalldirs161
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/Makefile.am44
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/Makefile.in647
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/argparse.c1608
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/argparse.h204
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/password-cache.c172
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/password-cache.h30
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/pinentry-curses.c1194
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/pinentry-curses.h35
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/pinentry-emacs.c705
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/pinentry-emacs.h44
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/pinentry.c1918
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/pinentry/pinentry.h321
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/Makefile.am58
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/Makefile.in694
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/document-encrypt.pngbin0 -> 1835 bytes
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/main.cpp364
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/pinentry.qrc6
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/pinentryconfirm.cpp77
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/pinentryconfirm.h46
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/pinentrydialog.cpp476
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/pinentrydialog.h119
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/qt/qrc_pinentry.cpp177
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/Makefile.am30
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/Makefile.in605
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/memory.h55
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/secmem++.h91
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/secmem-util.h3
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/secmem.c463
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/util.c116
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/secmem/util.h66
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/Makefile.am58
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/Makefile.in697
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/main.cpp241
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/pinentrydialog.cpp233
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/pinentrydialog.h92
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/secqinternal.cpp637
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/secqinternal_p.h142
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/secqlineedit.cpp1955
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/secqlineedit.h227
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/secqstring.cpp939
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tqt/secqstring.h307
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tty/Makefile.am28
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tty/Makefile.in641
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/tty/pinentry-tty.c580
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/Makefile.am42
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/Makefile.in652
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/logo-128.bmpbin0 -> 8262 bytes
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/logo-32.bmpbin0 -> 582 bytes
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/logo-48.bmpbin0 -> 1222 bytes
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/logo-64.bmpbin0 -> 4738 bytes
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/logo-96.bmpbin0 -> 4678 bytes
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/main.c720
-rwxr-xr-xdebian/pinentry-tqt/pinentry-tqt-1.1.0/w32/pinentry-w32.rc74
-rw-r--r--debian/pinentry-tqt/pinentry-tqt-1.1.0/w32/resource.h25
-rw-r--r--debian/pinentry-tqt/pinentry-tqt_1.1.0.orig.tar.bz2bin0 -> 467702 bytes
156 files changed, 78980 insertions, 0 deletions
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/AUTHORS b/debian/pinentry-tqt/pinentry-tqt-1.1.0/AUTHORS
new file mode 100644
index 0000000..2482e1f
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/AUTHORS
@@ -0,0 +1,48 @@
+Program: Pinentry
+Homepage: https://gnupg.org/software/pinentry/
+Download: https://gnupg.org/ftp/gcrypt/pinentry/
+Repository: git://git.gnupg.org/pinentry.git
+Bug reports: https://bugs.gnupg.org
+Security related bug reports: <security@gnupg.org>
+License: GPLv2
+
+Pinentry is free software. See the files COPYING for copying conditions.
+License copyright years may be listed using range notation, e.g.,
+2000-2016, indicating that every year in the range, inclusive, is a
+copyrightable year that would otherwise be listed individually.
+
+List of Copyright holders
+=========================
+
+Copyright (C) 1999 Robert Bihlmeyer <robbe@orcus.priv.at>
+Copyright (C) 2001-2004, 2007-2008, 2010, 2015-2017 g10 Code GmbH
+Copyright (C) 2002, 2008 Klarälvdalens Datakonsult AB (KDAB)
+Copyright (C) 2004 by Albrecht Dreß <albrecht.dress@arcor.de>
+Copyright 2007 Ingo Klöcker
+Copyright (C) 2014 Serge Voilokov
+Copyright (C) 2015 Daiki Ueno
+Copyright (C) 2015 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+Copyright 2016 Intevation GmbH
+Copyright (C) 2016 Anatoly madRat L. Berenblit
+
+
+Authors
+-------
+
+Robert Bihlmeyer <robbe@orcus.priv.at>
+Werner Koch, g10 Code GmbH <wk@gnupg.org>
+Steffen Hansen, Klarälvdalens Datakonsult AB
+ <steffen@klaralvdalens-datakonsult.se>
+Marcus Brinkmann, g10 Code GmbH <marcus@g10code.com>
+Timo Schulz, g10 Code GmbH
+Neal Walfied, g10 Code GmbH <neal@gnu.org>
+Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+
+License
+========
+
+The optional TQt pinentry (found in the directory tqt/) is distributed
+under the GNU General Public License, version 2 (GPLv2only). All
+other parts of Pinentry are distributed under the GNU General Public
+License, version 2 or later (GPLv2+). See the file COPYING for details.
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/COPYING b/debian/pinentry-tqt/pinentry-tqt-1.1.0/COPYING
new file mode 100644
index 0000000..c7aea18
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/COPYING
@@ -0,0 +1,280 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 675 Mass Ave, Cambridge, MA 02139, USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog b/debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog
new file mode 100644
index 0000000..de4fbc5
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog
@@ -0,0 +1,1869 @@
+2017-12-03 Werner Koch <wk@gnupg.org>
+
+ Release 1.1.0.
+ + commit 02df3d26b986c8f2850eeba47efcb3aca9d5dbcb
+
+
+2017-11-22 Damien Goutte-Gattat <dgouttegattat@incenp.org>
+ "deloptes" <deloptes@gmail.com>
+
+ tqt: Add a TQt-based pinentry.
+ + commit 985e5cad6f60de8e60d8ae410cffcd7e2d84f3a2
+ * NEWS: Update.
+ * Makefile.am: Add new tqt subdirectory.
+ * configure.ac: Add --enable-pinentry-tqt option.
+ * tqt/Makefile.am: New file.
+ * tqt/main.cpp: New file.
+ * tqt/pinentrydialog.cpp: New file.
+ * tqt/pinentrydialog.h: New file.
+ * tqt/secqinternal.cpp: New file.
+ * tqt/secqinternal_p.h: New file.
+ * tqt/secqlineedit.cpp: New file.
+ * tqt/secqlineedit.h: New file.
+ * tqt/secqstring.cpp: New file.
+ * tqt/secqstring.h: New file.
+
+2017-11-21 Werner Koch <wk@gnupg.org>
+
+ w32: Allow building for Windows again.
+ + commit 8ea3a6c3f8e72ebece2af9b1b05ea1da4865a786
+ * pinentry/pinentry.c [W32]: Do not include utsname.h
+ (WITH_UTF8_CONVERSION): New macro.
+ (lc_ctype_unknown_warning): Move that var to the top and define only
+ if needed.
+ (pinentry_utf8_to_local, pinentry_local_to_utf8): Simplyfy by using
+ the new macro.
+ (get_cmdline) [W32]: Do not build.
+ (get_pid_name_for_uid) [W32]: Do not build.
+ (pinentry_get_title) [W32]: Do not use the new utsname code.
+ (option_handler) <debug-wait>: Ignore for any Windows version.
+
+2017-11-20 Werner Koch <wk@gnupg.org>
+
+ Add SPDX-License-Identifier to most files.
+ + commit 622f876784239c9524a598e6486181bcd0ee64b2
+
+
+ Add copyright info for AUTHORS.
+ + commit 738ab548f13cc032f01ca5da1f8dc3ea221b209d
+
+
+2017-11-16 Damien Goutte-Gattat <dgouttegattat@incenp.org>
+
+ fltk: Fix compilation and distcheck errors.
+ + commit 89ae5378d1cc54be0825bcfa3ea567b1caa4a247
+ * fltk/Makefile.am (AM_CXXFLAGS): Add -std=c++11 flag.
+ (pinentry_fltk_SOURCES): Add header files.
+ (EXTRA_DIST): Add icon files.
+ * .gitignore: Ignore autoconf-generated files in fltk/.
+
+2017-10-19 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ core: Expect (and verify) a uid on "owner" option.
+ + commit 6aafa61b199ab9091d6c9e190129f2ead2a647c7
+ * pinentry/pinentry.h (struct pinentry): Add field 'owner_uid'.
+ * pinentry/pinentry.c (pinentry_reset): Handle this new field.
+ (get_pid_name_for_uid): New. Atomic check for the base process name
+ contingent on process ownership.
+ (pinentry_get_title): Only scan for full commandline if the process
+ actually belongs to the claimed uid.
+ (option_handler): Option "owner" now expects "pid/uid hostname".
+
+2017-10-12 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ core: Only scan for the command line if probably on the same host.
+ + commit 1f5b351531205214e9513a0aed170660dc822ceb
+ * pinentry/pinentry.c (pinentry_get_title): Check the current hostname
+ and make sure it matches. If it does not, do not bother looking for
+ the command line.
+
+ core: Clean up command line extraction.
+ + commit 242b658289488696d371c639c1da631712bd774c
+ * pinentry/pinentry.c (get_cmdline): Avoid trailing space, and return
+ NULL when no bytes were read from /proc.
+
+ tty: correct comments.
+ + commit d7c54372512fbbd77709a3ea913b902061e5d45d
+ * tty/Makefile.am, tty/pinentry-tty.c: comments were copy/pasted from
+ pinentry-curses; correcting them.
+
+2017-08-23 Damien Goutte-Gattat <dgouttegattat@incenp.org>
+
+ gtk: Really always set the window as transient.
+ + commit 2b1fb2f30a94a967dacec298e3c7d8a80b4c3194
+ * gtk+-2/pinentry-gtk-2.c (make_transient): Set the window as
+ transient even if we do not grab the keyboard.
+
+2017-08-23 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
+
+ core: Supress compiler warnings.
+ + commit 858bde1fbbc5e14f2d6410da05869188bdc36ee3
+ * pinentry/password-cache.c (password_cache_save, password_cache_lookup,
+ password_cache_clear) [!HAVE_LIBSECRET]: Suppress unused parameter
+ warnings.
+
+2017-08-04 Damien Goutte-Gattat <dgouttegattat@incenp.org>
+
+ gtk: Disable tooltips in keyboard-grabbing mode.
+ + commit 1590b664d88be8386a4664c2994b685187d1eb25
+ * gtk+-2:/pinentry-gtk-2.c (show_hide_button): Do not show the
+ tooltip if we attempt to grab the keyboard.
+ (create_window): Likewise.
+
+2017-07-12 Daiki Ueno <ueno@gnu.org>
+
+ doc: Make Emacs frontend description more accurate.
+ + commit ebfa54e6044420ae12a090cdef9df7e7b0d961d2
+ * doc/pinentry.texi (Front ends): Remove false assertions on
+ insecurity of Emacs, and mention allow-emacs-pinentry option of
+ gpg-agent.
+
+2017-07-12 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
+
+ core: Disable "save passphrase" checkbox without secret service.
+ + commit e57bcb7a2acff3a61a342d24e6a55407bf736631
+ * pinentry/password-cache.c (password_cache_lookup): New argument
+ FATAL_ERROR. Set it on fatal error.
+ * pinentry/password-cache.h (password_cache_lookup): New argument
+ FATAL_ERROR in declaration.
+ * pinentry/pinentry.c (cmd_getpin): On fatal error, disallow
+ external password store.
+ * NEWS: Update.
+
+2017-07-11 Alon Bar-Lev <alon.barlev@gmail.com>
+
+ Use pkg-config consistently.
+ + commit 6053cb4f3873897acf5d899bc6f02046d0748a0f
+ * configure.ac: Invoke PKG_PROG_PKG_CONFIG. Consistently use
+ PKG_CHECK_MODULES for GTK+2.0, Gnome 3 and libsecret.
+ * gnome3/Makefile.am (AM_CPPFLAGS, LDADD): Adjust Gnome 3 flags.
+ * gtk+-2/Makefile.am (AM_CPPFLAGS, LDADD): Adjust Gtk+2.0 flags.
+
+2017-07-11 Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
+
+ curses: Add option to beep or flash terminal on dialog.
+ + commit 1dba96fafa123f3631c0a50bb01835306c23b903
+ * pinentry/pinentry-curses.c (dialog_run): Beep or flash terminal.
+ * pinentry/pinentry.c (pinentry_reset): Reset ttyalert option.
+ (pinentry_parse_opts): Parse option ttyalert.
+ (option_handler): Handle option ttyalert.
+ * pinentry/pinentry.h (struct pinentry): New option ttyalert.
+
+2017-07-05 Damien Goutte-Gattat <dgouttegattat@incenp.org>
+
+ gtk: Always set the window as transient.
+ + commit f69dadc6ccea7672869436291ab5c1f58d545466
+ * gtk+-2/pinentry-gtk-2.c (create_window): Setup the make_transient
+ callback whether we ask for a passphrase or not.
+
+2017-05-03 Andre Heinecke <aheinecke@intevation.de>
+
+ qt: Improve width of pinentryconfirm.
+ + commit 4101806bf73caf25c8ce4e455b154901da1fe788
+ * qt/pinentryconfirm.cpp (PinentryConfirm::showEvent): Add spacer
+ item for text width.
+
+ qt: Fix build with Qt4.
+ + commit 8bf41fe086438de9fa223ccf4162ed9d98e54646
+ * qt/main.cpp (main): Don't use Q_NULLPTR.
+
+2017-03-08 Justus Winter <justus@gnupg.org>
+
+ fltk: Remove commented-out code.
+ + commit 5c3f796798d655b5583257f9dfc81ae9c1427fb3
+ * fltk/main.cxx: Remove commented-out code.
+
+ fltk: Fix warning.
+ + commit 2b2bbc9f67115baf518514281d3911b727b1caf9
+ * fltk/main.cxx (fltk_cmd_handler): Use a 'std::unique_ptr' instead of
+ a deprecated 'std::auto_ptr'.
+
+2017-03-08 Anatoly madRat L. Berenblit <madrat-@users.noreply.github.com>
+
+ fltk: Add a FLTK-based pinentry.
+ + commit 6c45eed62214b44fcc11e642b19df7b6ca0da0bd
+ * NEWS: Update.
+ * Makefile.am: Add new subdirectory.
+ * configure.ac: Add configuration for FLTK.
+ * fltk/Makefile.am: New file.
+ * fltk/encrypt.xpm: Likewise.
+ * fltk/icon.xpm: Likewise.
+ * fltk/main.cxx: Likewise.
+ * fltk/passwindow.cxx: Likewise.
+ * fltk/passwindow.h: Likewise.
+ * fltk/pinwindow.cxx: Likewise.
+ * fltk/pinwindow.h: Likewise.
+ * fltk/qualitypasswindow.cxx: Likewise.
+ * fltk/qualitypasswindow.h: Likewise.
+
+2017-02-13 Andre Heinecke <aheinecke@intevation.de>
+
+ qt: Fix pinentry-curses fallback for qt5.
+ + commit cd7b35e8ff106993b9ce98ea99a5210d637f3452
+ * qt/main.cpp (main): Initialize QApplication later.
+
+2017-02-03 Werner Koch <wk@gnupg.org>
+
+ core: Show the command line in the titlebar.
+ + commit e467a000f87e87582f5838964b6f1e0a960d4445
+ * pinentry/pinentry.c (get_cmdline): New.
+ (pinentry_get_title): Add the cmdline to the title.
+
+ Use a shared function to construct the title.
+ + commit 36d32fbdedb07b285d01871b3ee66400c81681d3
+ * pinentry/pinentry.c (pinentry_get_title): New.
+ * qt/main.cpp (qt_cmd_handler): Use that function for the title.
+ * tty/pinentry-tty.c (confirm, password): Ditto.
+ * gnome3/pinentry-gnome3.c (create_prompt): Ditto.
+ * gtk+-2/pinentry-gtk-2.c (create_window): Ditto.
+ * pinentry/pinentry-emacs.c (set_labels): Ditto.
+
+ gtk: Unless SETTITLE is used show the pid in the titlebar.
+ + commit c0d60e130b9bbd21801c8e71e80ab7c36f4ad6bd
+ * gtk+-2/pinentry-gtk-2.c (create_window): Display the pid as title.
+
+ core: New Assuan option "owner".
+ + commit 61cde37b3e6a41bd24476d3c285288c12da0ed60
+ * pinentry/pinentry.h (struct pinentry): Add fields 'owner_pid' and
+ 'owner_host'.
+ * pinentry/pinentry.c (pinentry_reset): Take care of these fields.
+ (option_handler): New option "owner".
+
+ curses: Do not return OK on error.
+ + commit ce745a292192b01203ba5f557205a6f000bff953
+ * pinentry/pinentry.c (cmd_confirm): Take care not to return OK if the
+ RESULT is negative.
+ * pinentry/pinentry-curses.c (dialog_create): Amend error reporting by
+ setting specific_err_loc.
+ (dialog_run): Use new var confirm_mode for clearness. In confirm mode
+ return Cancel instead of error. This is how the gtk Pinentry does it.
+
+ core: New command getinfo/ttyinfo.
+ + commit cd45d74d07512f8ec8d2b3306a1804457dd12964
+ * pinentry/pinentry.c (remember_display): New var.
+ (pinentry_have_display): Peek at --display.
+ (pinentry_parse_opts): Set pinentry.display.
+ (cmd_getinfo): Add sub-command "ttyinfo".
+
+2017-02-03 Werner Koch <wk@gnupg.org>
+ Vincent Lefevre <vincent@vinc17.net>
+
+ gtk2: Fix a problem with fvwm.
+ + commit b0e0bdeac5d40ca645afc9017778b39a26303523
+ * gtk+-2/pinentry-gtk-2.c (grab_pointer): Take care of
+ GDK_GRAB_ALREADY_GRABBED.
+
+2017-01-16 Justus Winter <justus@g10code.com>
+
+ gnome3: Use the program name as default title.
+ + commit 8e3aa3204e74e8d7a7538e0d0f04e555f140131b
+ * gnome3/pinentry-gnome3.c (create_prompt): If no title is requested,
+ use the program name as the default title. This mimics what the GTK+2
+ variant does (although the GTK+2 pinentry seems to use
+ basename(argv[0])).
+
+2017-01-13 NIIBE Yutaka <gniibe@fsij.org>
+
+ gnome3: Fix CONFIRM condition.
+ + commit c725fdd260b0c2291660ff954e6b2250006ec08f
+ * gnome3/pinentry-gnome3.c (gnome3_cmd_handler): No buffer for PIN means
+ it's not passphrase input but confirmation dialog.
+
+2016-12-19 Raphael Kubo da Costa <rakuco@FreeBSD.org>
+
+ Qt: Make sure extended grep is used with '|'.
+ + commit 1acb06aac3dd08f573d7c2e3be75226346e61ed2
+ * m4/qt.m4: Use grep -E when using the alternation character.
+
+2016-12-01 Werner Koch <wk@gnupg.org>
+
+ Fix linkage problem in tty and emacs pinentries.
+ + commit c5c7bee68730c9f66a27f9bb0d023480623a2bfb
+ * emacs/pinentry-emacs.c (curses_cmd_handler): Remove var.
+ * tty/pinentry-tty.c (curses_cmd_handler): Remove var.
+ * pinentry/pinentry.c (flavor_flag): New local var.
+ (pinentry_set_flavor_flag): New function.
+ (cmd_getinfo): Use FLAVOR_FLAG for the "flavor" sub-command.
+ * gnome3/pinentry-gnome3.c (main): Call pinentry_set_flavor_flag.
+ * gtk+-2/pinentry-gtk-2.c (main): Ditto.
+ * pinentry/pinentry-emacs.c (initial_emacs_cmd_handler): Ditto.
+ * qt/main.cpp (main): Ditto.
+
+2016-11-22 Werner Koch <wk@gnupg.org>
+
+ Create SWDB entry during make distcheck.
+ + commit d015020b56dc11848d638d8a0f22c11971f896ea
+ * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Build emacs flavor.
+ (distcheck-hook): New.
+
+ Release 1.0.0.
+ + commit 5eb55801a70148111a78a7ffd8ee459790f1aafe
+
+
+ emacs: Add curses handler stub.
+ + commit d126036671e7dd631babc118cb4113f723f15748
+ * emacs/pinentry-emacs.c (curses_cmd_handler): New stub.
+
+2016-11-08 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ gnome3: Tighten up error messages when GNOME screensaver is absent.
+ + commit cf8885fd5a61654a164f470fa3e7095b8e424258
+ * gnome3/pinentry-gnome3.c (pe_gnome_screen_locked): clean up error
+ messages when GNOME screensaver is absent or misbehaving.
+
+2016-11-07 Werner Koch <wk@gnupg.org>
+
+ Add fail-safe string termination for snprintf.
+ + commit 8f51108a17d0080c33fae182f1e4b9259f10a9e5
+ * gtk+-2/pinentry-gtk-2.c (changed_text_handler): Make sure an
+ snprintf buffer is always ternminated.
+ * pinentry/pinentry.c (my_strusage): Ditto.
+ (write_status_error): Ditto.
+ (cmd_getinfo): Ditto.
+ * w32/main.c (w32_strerror): Ditto.
+
+2016-11-07 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ gnome3: Avoid risk of uinitialized memory access.
+ + commit 15a6fd9f1ee0e3bc62daf143546f5186ce947700
+ * gnome3/pinentry-gnome3.c (_propagate_g_error_to_pinentry): Ensure
+ that pinentry->specific_err_info is null-terminated.
+
+ tty: Declare dummy curses_cmd_handler.
+ + commit e4e3a9cc88704dcffac660d0b92fd1ed8abecc11
+ * tty/pinentry-tty.c: Declare a dummy handler for the
+ curses_cmd_handler for fallback.
+
+ gnome3: Fall back to curses if screensaver is locked.
+ + commit e353f4d1ac31e58f46eeba29279adf809dfb96a9
+ * gnome3/pinentry-gnome3.c (pe_gnome_screen_locked): New Function.
+ Returns true only if we can talk to a GNOME screensaver over D-Bus and
+ it assures us that it is locked.
+ (main): If GNOME screensaver is locked, fall back to curses.
+
+2016-11-05 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ gnome3: Test if Gcr System Prompter is available at startup.
+ + commit 2e17565fd9cb94afe840050780d28db75e5c4053
+ * gnome3/pinentry-gnome3.c (gcr_system_prompt_available): New. Tests
+ whether it is possible to create a GcrSystemPrompt.
+ (main): Use gcr_system_prompt_available() to decide whether to fall
+ back to curses or not.
+
+ build: Avoid unnecessary dependency on gtk+-2 for GNOME3 development.
+ + commit b945576fe906ffcd5bcc50b4322ef2f34d8fb89f
+ * configure.ac: There is no reason to reject building the GNOME3
+ pinentry if GTK+-2 development libraries are not present. GNOME3 does
+ not require GTK+-2.
+
+2016-11-05 Werner Koch <wk@gnupg.org>
+
+ gnome3: Avoid using gnome and gcr symbol namespace.
+ + commit 799116010a57aec9a86c5529388111d54aff3c55
+ * gnome3/pinentry-gnome3.c (struct _gnome3_run): Rename to
+ pe_gnome3_run_s.
+ (_gcr_prompt_password_done): Rename to pe_gcr_prompt_password_done.
+ (_gcr_prompt_confirm_done): Rename to pe_gcr_prompt_confirm_done.
+ (_gcr_timeout_done): Rename to pe_gcr_timeout_done.
+
+2016-11-05 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ gnome3: Honor timeout.
+ + commit f7b99ff5f7f78db45350308bf409ea4a9e94f161
+ * gnome3/pinentry-gnome3.c (create_prompt): Use timeout to determine
+ how long to wait for Gcr to provide a system prompt before giving up.
+ (_gcr_timeout_done): New. Record that a timeout has elapsed.
+ (gnome3_cmd_handler): Set up a timeout before launching the prompt,
+ and tear it down afterward.
+ (_gcr_prompt_password_done): Report timeout differently from normal
+ cancellation.
+ (_gcr_prompt_confirm_done): Report timeout differently from normal
+ cancellation.
+
+ gnome3: Convert password/confirmation to asynchronous model.
+ + commit d0fe54d592a8d2be6fc82b26290a644bb3629214
+ * gnome3/pinentry-gnome3.c (gnome3_cmd_handler): Convert main part of
+ password or confirmation fetching into asynchronous code by moving
+ completion into...
+ (_gcr_prompt_password_done): ... here and...
+ (_gcr_prompt_confirm_done): ... here.
+
+ qt: Report timeout.
+ + commit 102832a2c1f3ffa432e2a169791611bb3ca13a04
+ * qt/pinentryconfirm.h (PinentryConfirm): Add _timed_out, timedOut().
+ * qt/pinentrydialog.h (PinentryDialog): Add _timed_out, timedOut().
+ * qt/pinentryconfirm.cpp (slotTimeout): Record elapsed timeout.
+ (PinentryConfirm): Initialize _timed_out to false.
+ (timedOut): New. Returns value of _timed_out.
+ * qt/pinentryDialog.cpp (slotTimeout): Record elapsed timeout.
+ (PinentryDialog): Initialize _timed_out to false.
+ (timedOut): New. Returns value of _timed_out.
+ * qt/main.cpp (qt_cmd_handler): Report if canceled due to timeout.
+
+ curses: Report timeout.
+ + commit 784c4e0a3acace39a4a632bf443c794752297d54
+ * pinentry/pinentry-curses.c (dialog_run): Report if canceled due to
+ timeout.
+
+ gtk2: Report timeout.
+ + commit 93b4454f4fe4d97dd89efccd64dbdd02bd002f77
+ * gtk+-2/pinentry-gtk-2.c (create_window): Send pointer to pinentry
+ into timeout_cb.
+ (timeout_cb): Report if canceled due to timeout.
+
+ tty: Report timeout.
+ + commit 3be5b4fabaabf86f085b0b5303a1312abb7d0617
+ * tty/pinentry-tty.c (confirm): Report if canceled due to timeout.
+ (password): Report if canceled due to timeout.
+
+ gnome3: Propagate GError messages to pinentry.
+ + commit 19c2110557d0504c1b406bde24e86cb5eb552fc7
+ * gnome3/pinentry-gnome3.c (_propagate_g_error_to_pinentry): New. Send
+ GError messages back out to pinentry error reporting.
+ (create_prompt): Use _propagate_g_error_to_pinentry on error.
+ (gnome3_cmd_handler): Use _propagate_g_error_to_pinentry on error.
+
+ gnome3: Set parent window.
+ + commit 96e3c5fcf210e971fe1ba66b9127ad51144fcc49
+ * gnome3/pinentry-gnome3.c (create_prompt): Tell Gcr about the caller
+ window, if we know it.
+
+2016-11-05 Werner Koch <wk@gnupg.org>
+
+ core: Add command getinfo/flavor.
+ + commit 553af04cf9c103c2e2cd5085b0d5fb647a608d51
+ * pinentry/pinentry.c: Inlcude pinentry-curses.h.
+ (cmd_getinfo): Add sub-command "flavor"
+
+2016-11-03 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ Convert to UTF-8.
+ + commit 7b0a822460eb6f4bf28f85f38c64a86bb8f80d3d
+
+
+2016-10-11 Daiki Ueno <ueno@gnu.org>
+
+ core: Don't report error on setting option 'allow-emacs-pinentry'.
+ + commit a383ddeb76463ddcf5aca2fb38847ea3158c42a7
+ Previously "OPTION allow-emacs-pinentry" returned an error if the Emacs
+ pinentry is not compiled in. Since it is merely an option, it would
+ make more sense to just return OK.
+
+2016-10-04 Werner Koch <wk@gnupg.org>
+
+ gnome3: Drop unnecessary use of gtk.
+ + commit 65d8e0ec19795d9ec60d7f37f1511f65135cfd84
+ * configure.ac: pinentry-gnome3 only needs gcr-base, not gcr.
+ * gnome3/pinentry-gnome3.c (main): Instead of testing whether GTK can
+ be loaded, check for DBUS_SESSION_BUS_ADDRESS.
+ (create_prompt): Use fprintf (stderr, ...) instead of g_warning (...),
+ to align with the rest of pinentry.c.
+
+ core: Add a way to print ERROR status lines.
+ + commit 777650b9b021342ba887543396c67f9148218caf
+ * pinentry/pinentry.h (struct pinentry): New fields SPECIFIC_ERR_LOC
+ and SPECIFIC_ERR_INFO.
+ * pinentry/pinentry.c (pinentry_reset): Free the new field.
+ (write_status_error): New.
+ (cmd_getpin): Use new fields.
+ (cmd_confirm): Ditto.
+ * gnome3/pinentry-gnome3.c (create_prompt): Set error for failed
+ GCR_PROMPT.
+
+2016-10-03 Ineiev <ineiev@gnu.org>
+
+ tty: Provide default text for "notok".
+ + commit db3b2bf0c7ae4d3d0fbeecfe6a9a77ea4ed0f84e
+ * tty/pinentry-tty.c (confirm): Provide default text for "notok".
+
+ tty: Fix underscore processing in accelerators.
+ + commit f0ae2986708614bce9070eec77309e838c403db7
+ * tty/pinentry-tty.c (button): Fix underscore processing in
+ accelerators.
+
+ tty: Refactor usage of tolower.
+ + commit aa969a09a1225f8fb683ba8d0c3ccc099dd8d1d3
+ * tty/pinentry-tty.c (button): Apply tolower to the result.
+ * tty/pinentry-tty.c (confirm): Compare lowercased character instead of
+ converting them every time.
+
+2016-09-01 Werner Koch <wk@gnupg.org>
+
+ curses: Return better error codes for bad ttynames.
+ + commit 4c5ae72d481ffd24ff93accee0b42e9b264285f2
+ * pinentry/pinentry-curses.c (dialog_create): Return better error
+ codes.
+
+2016-08-18 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt: Add SetWindowPos based foreground hack for Win.
+ + commit c032ea2dcb4ac3ce970e62eae88fd24bec822f9c
+ * qt/pinentrydialog.cpp(raiseWindow): Add another fallback for
+ our foreground window hacks.
+
+2016-08-12 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt: Disable automatic wrap for desc and errors.
+ + commit 300755c1a10eec1f8bccd4182ed15c569473982c
+ * qt/pinentrydialog.cpp (PinEntryDialog): Disable WordWrap.
+
+2016-08-12 Kristian Fiskerstrand <kf@sumptuouscapital.com>
+
+ Qt: Append -std=c++11 if building against Qt 5.7.
+ + commit fa97de673bd36758ae4ce151923435318f7c8877
+ * m4/qt.m4: Append -std=c++11 to CFLAGS if building against Qt 5.7
+
+2016-08-04 Ben Kibbey <bjk@luxsci.net>
+
+ Fix ncurses build.
+ + commit 2227f67af53f38d3d7f97760f2553d2c9ed05969
+ * pinentry/Makefile.am: Add NCURSES_CFLAGS.
+
+2016-08-02 Justus Winter <justus@g10code.com>
+
+ gtk2: Also grab the pointer.
+ + commit 2f1f1f06c1885d2f5a30ea734359613609be0743
+ * gtk+-2/pinentry-gtk-2.c (grab_pointer): New function.
+ (ungrab_keyboard): Rename to 'ungrab_inputs' and also release the
+ pointer grab.
+ (create_window): Also grab the pointer.
+
+2016-08-01 Justus Winter <justus@g10code.com>
+
+ gtk2: Be more persistent trying to grab the keyboard.
+ + commit ad390f29df34ef73f2393a8ad97cbe2d60af31e7
+ We seem to get the 'visibility-notify' event before X is willing to
+ let us grab the keyboard, insisting that the target window is not
+ viewable (sic).
+
+ * gtk+-2/pinentry-gtk-2.c (grab_keyboard): Retry grabbing the
+ keyboard.
+
+ gtk2: Print keyboard grabbing errors.
+ + commit fe5bb475da08cb46242825d5abe5b4d27e6086e3
+ * gtk+-2/pinentry-gtk-2.c (grab_strerror): New function.
+ (grab_keyboard): Use the new function to print the error.
+
+ gtk2: Avoid possible format string troubles.
+ + commit abf4f9924412c7afb6ce6c08eeda81b4c5365ab5
+ * gtk+-2/pinentry-gtk-2.c (confirm_unhiding): Do not use message as
+ format string.
+
+2016-04-25 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt: Only use one line action for visibility.
+ + commit ed066c261594de69c3c2aeaac98aeaf74bbb5f9e
+ * qt/pinentrydialog.cpp (PinEntryDialog::toggleVisibility): Toggle
+ both lines in repeat mode.
+ (PinEntryDialog::PinEntryDialog): Remove repeat line action.
+
+ Qt: Move qualitybar below repeat.
+ + commit d580304566b5b1c4e7c97c060d7a7b8c0b810ae3
+ * qt/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Move
+ quality bar below repeat.
+
+ Qt: Do not take icon from theme.
+ + commit 1532b60dcc5a45a74195cfbc20225006d027e7fa
+ * qt/main.cpp (main): Revert changes to take icon from theme.
+
+2016-04-15 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt: Change qualitybar position back to below.
+ + commit e925e8955b0a82f1a0e3c697704007c503a5f8b7
+ * qt/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Change
+ position back to below the entry. Fix label alignment.
+
+ gtk2: Add a button to show/hide the passphrase.
+ + commit f4b5049c68a79d5e4faba06447db5440936cefeb
+ * gtk+-2/pinentry-gtk-2.c (HIG_TINY): New.
+ (confirm_unhiding): New.
+ (show_hide_button_toggled): New.
+ (create_show_hide_button): New.
+ (create_window): Add a show/hide button.
+
+2016-04-14 Andre Heinecke <aheinecke@intevation.de>
+
+ Revert "GTK: Add visibility toggle button"
+ + commit 3a10a0beddc059ce4b0d75bacf6d7f4e3148fcff
+ This reverts commit 71b51e02cf20174ba7144765e985f7e889eaa429.
+
+ GTK: Add visibility toggle button.
+ + commit 71b51e02cf20174ba7144765e985f7e889eaa429
+ * gtk+-2/pinentry-gtk-2.c (create_window): Create checkbox.
+ (show_passphrase_toggled): New. Do the toggling.
+
+ Qt: Restrict list of icon themes to try.
+ + commit 287d40e879f767dbcb3d19b3629b872c08d39cf4
+ * qt/main.cpp (main): Only search in select icon themes.
+
+ Qt: Add actions to make passphrase visible.
+ + commit 49a7ac5209aa54f3b91209acc899463e8097f808
+ * qt/main.cpp (qt_cmd_handler): Support visibility tooltips.
+ * qt/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog):
+ Add a checkbox or line actions.
+ (PinEntryDialog::checkRepeat): Renabed to textChanged.
+ (PinEntryDialog::toggleVisibility): New. Toggle echo mode.
+ * qt/pinentrydialog.h: Update accordingly.
+
+ Add support for visibility string options.
+ + commit 15685a9c1471eb01066e0bbdb7d6b929a8fcc314
+ * doc/pinentry.texi: Note new values.
+ * pinentry/pinentry.c (pinentry): Add default_cf_visi,
+ default_tt_visi and default_tt_hide.
+ (option_handler): Parse new values.
+ * pinentry/pinentry.h (pinentry_t): Add new values.
+
+ Qt: Implement repeat and improve grabbing.
+ + commit 04115b3289dcc9b02044f88c08580618c055a571
+ The keyboard is now only grabbed if an edit has input focus.
+
+ * qt/main.cpp (qt_cmd_handler): Parse repeat values. Set repeat_okay.
+ * qt/pinentrydialog.cpp (PinentryDialog::PinentryDialog): Update
+ layout. Add repeat label and edit. Connect focusChanged.
+ (PinEntryDialog::hideEvent): Remove grabbing hack.
+ (PinEntryDialog::focusChanged): New. Properly handle grabbing.
+ (PinEntryDialog::checkRepeat): New. Enable Ok if repeat matches.
+ (PinEntryDialog::repeatedPin): New. Getter for repeated pin.
+ (PinEntryDialog::setRepeatErrorText): Setter for error.
+ * qt/pinentrydialog.h: Update accordingly.
+
+ Qt: Respect icon themes and only fallback to own.
+ + commit c6b43bd147186deee84dcccbc14f5763db67a0f3
+ * m4/qt.m4: Raise version requirement.
+ * qt/main.cpp (main): Use QIcon::fromTheme to get the icon.
+
+ Qt: Unify coding style and encoding.
+ + commit 8d801fe2c74041f2f8c563785ed7cba73f47500e
+ * qt/main.cpp, qt/pinentryconfirm.cpp, qt/pinentryconfirm.h,
+ qt/pinentrydialog.cpp, qt/pinentrydialog.h: Use KDE coding style.
+ Encode as UTF-8.
+
+2016-03-04 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt: Fix Windows foreground window hacks for Qt5.
+ + commit 30aa1046afe9a745c918fc1311c1f598c91bf913
+ * qt/pinentrydialog.cpp: Use Q_OS_WIN instead of Q_WS_WIN
+ (SetForegroundWindowEx): Handle new Wid type with casts.
+
+2016-02-15 Stef Walter <stefw@redhat.com>
+
+ pinentry: Use stderr to print failures in password-cache.c.
+ + commit 2f5bfa071ab5eaf86f64404bff448ca29cd0bdb6
+ Otherwise this interferes with the assuan protocol expected
+ on stdout.
+
+2016-01-05 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt: Fix use after free in quality calculation.
+ + commit 954da56c2325c3a5ca628cfc2e3086c1e146a390
+ * qt/pinentrydialog.cpp (PinEntryDialog::updateQuality): Keep UTF8
+ byte array alive after conversion.
+
+2015-12-07 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.7.
+ + commit 97b6ea59de0ca33323aa204eb47d45fd412a8ff2
+
+
+2015-12-01 Werner Koch <wk@gnupg.org>
+
+ Remove unused code.
+ + commit bd3781f92bb0989bfbc33a89fe1f6db3c89cdf31
+ * secmem/util.c (lower_privs, raise_privs): Remove commented
+ functions.
+
+2015-11-27 Neal H. Walfield <neal@gnu.org>
+
+ tty: Fix formatting.
+ + commit 999162e7c38d4b8c76270e7b6790417fd6439ef3
+ * tty/pinentry-tty.c (password): Remove trailing space.
+
+2015-11-18 Neal H. Walfield <neal@gnu.org>
+
+ tty: Flush output. Show an error if an invalid option is selected.
+ + commit f238a58772b7d51362ca7d819e1648a64ff50d57
+ * tty/pinentry-tty.c (confirm): Flush the output after printing the
+ prompt. Echo what the user typed. If the user's selection is
+ invalid, indicate as much.
+
+2015-10-22 Dirk Mueller <dirk@dmllr.de>
+
+ Qt: Do not use temporary reference to utf8 pin.
+ + commit f143d216eff4eac3f05a85640b9f91431aec5588
+ * qt/main.cpp (qt_cmd_handler): Keep utf8 pin byte array.
+
+2015-10-02 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt: Fix assignment of have_qt5_libs variable.
+ + commit 48ab8cdccff4eefec4d8fa2e23b933c2277bc30c
+ * m4/qt.m4 (FIND_QT): Remove spaces in variable assignment.
+
+ Qt: Fix quoting of have_qt5_libs init in FIND_QT.
+ + commit e9d063e2371540ad9c1d7a727c44f9dcc1e9e400
+ * m4/qt.m4 (FIND_QT): Quote initialization of have_qt5_libs var.
+
+2015-09-25 Andre Heinecke <aheinecke@intevation.de>
+
+ Add option to disable looking for qt5.
+ + commit 08ec9556c8a384ea7bb5d42d3f6aab6c2f6a8786
+ * m4/qt.m4 (FIND_QT): Add --disable-pinentry-qt5 option to
+ disable qt5 support even if it is available.
+
+2015-09-16 Werner Koch <wk@gnupg.org>
+
+ Add option "invisible-char".
+ + commit 9cc13bbd6954928f8a7dae022728c13415816a67
+ * pinentry/pinentry.h (struct pinentry): Add field invisible_char.
+ * pinentry/pinentry.c (pinentry_reset): Restore that.
+ (option_handler): Add option "invisible-char".
+ * gtk+-2/pinentry-gtk-2.c (create_window): Set the invisible char if
+ given.
+
+2015-09-10 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.6.
+ + commit 192ee8ad5bd9c4950d749cf9bb1efd9369836257
+
+
+2015-08-24 Neal H. Walfield <neal@gnu.org>
+
+ tty: When reading the password, print any supplied error message.
+ + commit bfd4cf3bee8c9e4a3af825c95694b8af098b1cb2
+ * tty/pinentry-tty.c (password): Print any supplied error message.
+
+ tty: Refactor the code for printing error messages.
+ + commit 7e91e5f71c86c3899c7f256d7ae9d872e692dd28
+ * tty/pinentry-tty.c (dump_error_text): New function to display error
+ messages.
+ (confirm): Use it.
+ (password): Likewise.
+
+2015-08-18 Andre Heinecke <aheinecke@intevation.de>
+
+ Clarify comment about fds in pinentry_loop2.
+ + commit 13e09800a997845906bfb10ac3379bad00e6e63d
+ * pinentry/pinentry.h (pinetry_loop2): Clarify comment.
+
+ Qt: Make it possible to build qt5 variant static.
+ + commit 11886c530de3b0a7c4dcd932c5c23762f3ccc4b0
+ * qt/main.cpp: Import static platform plugins when necessary.
+
+ Respect SYSROOT variable when looking for assuan.
+ + commit 8d73d2a55a0043202c08beaed9972343b1021327
+ * m4/libassuan.m4: Respect SYSROOT Variable.
+
+ Fix pinentry for Windows.
+ + commit 78afb80e5742f8542f21537307c6f39c05c1a7f3
+ * pinentry/pinentry.c (pinentry_loop2): Use assuan_fdopen for pipe fds.
+ * pinentry/pinentry.h (pinentry_loop2): Mention this in the comment.
+
+2015-08-11 Neal H. Walfield <neal@gnu.org>
+
+ tty: Correctly implement the repeat passphrase functionality.
+ + commit 1532bf3fa57f624c80ea1e9f958d88fedc377e68
+ * tty/pinentry-tty.c (password): If the user repeated the passphrase
+ and they matched, then set PINENTRY->REPEAT_OKAY.
+
+ tty: Fix buffer resizing bug.
+ + commit ffd37b673b3cbe05fac037ac02c1424a76772b3f
+ * tty/pinentry-tty.c (read_password): Fix buffer resizing bug.
+
+2015-07-28 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt4: Rename to pinentry-qt and add Qt5 Support.
+ + commit abb59f50abf698ff1e56490fb39bcc98c26ab44b
+ * qt4: Moved to qt.
+ * Makefile.am: Change qt4 suffix to qt.
+ * m4/qt.m4: Remove old qt lookup functions.
+ (FIND_QT): New. Use pkg-config to find either Qt5 or Qt4
+ * configure.ac: Change qt4 suffix to qt. Use new FIND_QT function.
+ * qt/Makefile.am: Change qt4 suffix to qt. Use new FLAGS / LIBS.
+ * qt/pinentrydialog.cpp, qt/qrc_pinentry.cpp: Fix whitespace.
+ * .gitignore: Change qt4 paths to qt.
+ * README: Update accordingly.
+ * autogen.rc: Change qt4 to qt.
+ * qt/main.cpp (qt_cmd_handler, main): Change qt4 to qt.
+
+2015-07-28 Neal H. Walfield <neal@gnu.org>
+
+ doc: Describe the frontends and their security implications.
+ + commit 43f975bf0348663dc8b01737dee5b15244ef7ee8
+ * doc/pinentry.texi: Describe the frontends and their security
+ implications.
+
+2015-07-28 Andre Heinecke <aheinecke@intevation.de>
+
+ qt4: Replace the custom, secure entry widget with the standard widget.
+ + commit a4694dcda0fe27852be20db3017f9313adf361a3
+ * configure.ac: Remove enable-pinentry-qt4-clipboard option.
+ * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h,
+ qt4/qsecurelineedit_p.h, qt4/secstring.cpp,
+ qt4/secstring.h: Removed.
+ * qt4/Makefile.am: Update accordingly.
+ * qt4/main.cpp (qt_cmd_handler): Use QString instead of secqstring.
+ * qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog),
+ (PinEntryDialog::error, PinEntryDialog::pin),
+ (PinEntryDialog::updateQuality): Use QLineEdit and QString
+ instead of secmem variants.
+ * qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog):
+ Set echo mode to password.
+ * qt4/pinentrydialog.h: Update accordingly.
+
+2015-07-26 Neal H. Walfield <neal@gnu.org>
+
+ gtk2: Use gtk_widget_get_window instead of accessing the struct.
+ + commit d70a106d71dbcaf90e2246ed8e72c14d9c2cf266
+ * gtk+-2/pinentry-gtk-2.c (make_transient): Don't directly access the
+ window field of WIN. Use gtk_widget_get_window instead.
+ (grab_keyboard): Likewise.
+ (ungrab_keyboard): Likewise.
+
+ gtk2: Use newer tooltips functions, if available.
+ + commit c9c3576b5e2e3139fd9f6af3426b5f5e727deadd
+ * gtk+-2/pinentry-gtk-2.c (tooltips): Don't declare for Gtk+ >=2.12.0.
+ (create_window): Gtk+ >=2.12.0, use gtk_widget_set_tooltip_text
+ instead of gtk_tooltips_set_tip.
+
+ Don't build the emacs pinentry program by default.
+ + commit 676b1ac38d0c1db754492b6817bbc6195dcef300
+
+
+ gtk2: Replace the custom, secure entry widget with the standard widget.
+ + commit f9db93786cbdbc0f5f6edf0ae996ec405931decf
+ * gtk+-2/Makefile.am (pinentry_gtk_2_SOURCES): Remove gtksecentry.c,
+ gtksecentry.h and gseal-gtk-compat.h.
+ * gtk+-2/gseal-gtk-compat.h: Remove file.
+ * gtk+-2/gtksecentry.c: Remove file.
+ * gtk+-2/gtksecentry.h: Remove file.
+ * gtk+-2/pinentry-gtk-2.c: Don't include "gtksecentry.h".
+ (button_clicked): Use gtk_entry_get_text instead of
+ gtk_secure_entry_get_text.
+ (changed_text_handler): Use gtk_entry_get_text instead of
+ gtk_secure_entry_get_text and use gtk_entry_set_text instead of
+ gtk_secure_entry_set_text.
+ (create_window): Use gtk_entry_new instead of gtk_secure_entry_new.
+ Disable text visibility on ENTRY and REPEAT_ENTRY.
+ (main): Don't override the memory allocation functions.
+
+ gtk2: Simplify focus / default entry management.
+ + commit ae74440c8a3469e1e69882cd26a742d41f28e37b
+ * gtk+-2/pinentry-gtk-2.c (create_window): Don't have ENTRY or
+ REPEAT_ENTRY explicitly grab the focus. The default is fine. Don't
+ add the GDK_ENTER_NOTIFY_MASK and GDK_LEAVE_NOTIFY_MASK events to
+ QUALITYBAR. Only set GTK_CAN_DEFAULT on the ok button. In pin entry
+ mode, make the ok button the default.
+
+ gtk2: Have enter in the text entry, send the focus to the repeat entry.
+ + commit af3de269bc0f56058eefcd46bce1b03d9466d1b4
+ * gtk+-2/pinentry-gtk-2.c (enter_callback): Rename anentry to
+ next_widget. If NEXT_WIDGET is not NULL, send the focus to it.
+ Otherwise, call button_clicked.
+ (create_window): Initialize repeat_entry to NULL. When connecting the
+ enter_callback entry to REPEAT_ENTRY, set the user data paramter to
+ NULL. Connect the entry_callback entry to ENTRY after initializing
+ REPEAT_ENTRY (if applicable) and set the user data parameter to
+ REPEAT_ENTRY.
+
+ gtk2: Simplify: combine confirm_button_clicked and button_clicked.
+ + commit 5dfb7f5662917c9d2f8a4772045074544bd4d472
+ * gtk+-2/pinentry-gtk-2.c (confirm_mode): New global static.
+ (confirm_button_clicked): Fold this function...
+ (button_clicked): ... into this one. Update all callers.
+ (create_window): Remove argument confirm_mode.
+ (gtk_cmd_handler): Set confirm_mode.
+
+2015-07-01 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.5.
+ + commit 404943e465beeb34d71039f64f2b7e214d2d9368
+
+
+ w32: Adjust for use of standard libassuan.
+ + commit 380757782373c2069c182550d9093f995bea2f13
+ * autogen.rc: Add gpg-error and libassuan prefix options.
+ * w32/Makefile.am (AM_CPPFLAGS): Use COMMON_FLAGS.
+ (pinentry_w32_LDADD): Use COMMON_LIBS.
+
+ Distribute files in m4/
+ + commit 11cd8aff6e1720d4a37c92fb6d4cf2613eb17a10
+
+
+2015-06-24 Gergely Imreh <imrehg@gmail.com>
+
+ curses: remove hard-wired ncursesw include path.
+ + commit f0db3192463cccf4541820de36d985629c4df6ee
+ * pinentry/pinentry-curses.c: pkg-config finds the correct include
+ paths so should not hard-wire the path for the ncursesw header file.
+
+2015-06-23 Neal H. Walfield <neal@gnu.org>
+
+ emacs: Don't link against ../assuan/libassuan.a.
+ + commit 266f1c9e3542627b1cbd191141af4e6f76f706fe
+ * emacs/Makefile.am (LDADD): Don't link against ../assuan/libassuan.a.
+ We now use the system libassuan.
+
+ curses: Recognize ASCII DEL as backspace.
+ + commit 6ce1d0c0d4106c359eee65d7cf27d522d3f8b72a
+ * pinentry/pinentry-curses.c (dialog_input): Recognize ASCII DEL as
+ backspace.
+
+2015-06-17 Daiki Ueno <ueno@gnu.org>
+
+ Add inside-Emacs mode to GUI pinentry programs.
+ + commit 3ef5d07873ab917e66c299521e85cff12fbbf40c
+ * configure.ac: Add --enable-pinentry-emacs and
+ --enable-inside-emacs option.
+ (BUILD_LIBPINENTRY_EMACS): New conditional.
+ (BUILD_PINENTRY_EMACS): New conditional.
+ (INSIDE_EMACS): New conditional.
+ * Makefile.am (pinentry_emacs): New.
+ (SUBDIRS): Add "emacs" subdir if PINENTRY_EMACS is set.
+
+ * pinentry/pinentry-emacs.h: New file.
+ * pinentry/pinentry-emacs.c: New file.
+ * pinentry/Makefile.am: New file.
+ * pinentry/pinentry.c (option_handler): Handle the allow-emacs-prompt
+ Assuan option.
+
+ * emacs/pinentry-emacs.c: New file.
+ * emacs/Makefile.am: New file.
+
+2015-06-16 Neal H. Walfield <neal@gnu.org>
+
+ If we fail to initialize gtk, fallback to the curses frontend.
+ + commit 34f3cdbf5aa0b7b8647a3bcedef7e1a51746b5ed
+ * gnome3/pinentry-gnome3.c (main): Use gtk_init_check instead of
+ gtk_init. If it fails, fallback to the curses frontend.
+
+ Fix comment for pinentry_cmd_handler_t.
+ + commit 34539f97a6ddc552295b5cb64676eee9dab5bd30
+ * pinentry/pinentry.h (pinentry_cmd_handler_t): Fix comment.
+
+ Describe default-prompt in the implementation section of the manual.
+ + commit 56fe7ef451ee473407b7dc604e3d73a6a5771c5d
+ * doc/pinentry.texi (Implementation Details): Describe default-prompt.
+
+ Remove internal mini-libassuan implementation and link to libassuan.
+ + commit 302903f76b8d62b1e07219a203f7219cb3aff7d8
+ * assuan/ChangeLog-old: Remove file.
+ * assuan/Makefile.am: Remove file.
+ * assuan/README.1st: Remove file.
+ * assuan/assuan-buffer.c: Remove file.
+ * assuan/assuan-defs.h: Remove file.
+ * assuan/assuan-handler.c: Remove file.
+ * assuan/assuan-listen.c: Remove file.
+ * assuan/assuan-pipe-server.c: Remove file.
+ * assuan/assuan-util.c: Remove file.
+ * assuan/assuan.h: Remove file.
+ * assuan/mkerrors: Remove file.
+
+ * configure.ac: Check for libgpg-error and libassuan.
+ (COMMON_CFLAGS): Add $GPG_ERROR_CFLAGS and $LIBASSUAN_CFLAGS.
+ (COMMAND_LIBS): Add $GPG_ERROR_LIBS and $LIBASSUAN_LIBS.
+ (GPG_ERR_ENABLE_GETTEXT_MACROS): Define this macro.
+ (GPG_ERR_ENABLE_ERRNO_MACROS): Likewise.
+ (GNUPG_LIBASSUAN_VERSION): Likewise.
+ (AC_CONFIG_FILES): Don't generate assuan/Makefile.
+ (config.h): Define GPG_ERR_SOURCE_DEFAULT.
+ * Makefile.am (SUBDIRS): Remove assuan.
+ * curses/Makefile.am (LDADD): Remove ../assuan/libassuan.a.
+ * gnome3/Makefile.am (AM_CPPFLAGS): Remove -I$(top_srcdir)/assuan.
+ (LDADD): Remove ../assuan/libassuan.a.
+ * gtk+-2/Makefile.am (LDADD): Remove ../assuan/libassuan.a.
+ * pinentry/Makefile.am: Remove -I$(top_srcdir)/assuan.
+ * qt4/Makefile.am (AM_CPPFLAGS): Remove -I$(top_srcdir)/assuan.
+ (pinentry_qt4_LDADD): Remove $(top_builddir)/assuan/libassuan.a.
+ * tty/Makefile.am (LDADD): Remove ../assuan/libassuan.a.
+
+ * gnome3/pinentry-gnome3.c: Include <assuan.h>, not "assuan.h".
+ Replace ASSUAN_General_Error, etc. with gpg_error or
+ gpg_error_from_syserror.
+ * pinentry/pinentry-curses.c: Likewise.
+ * pinentry/pinentry.c: Likewise.
+ (pinentry_assuan_reset_handler): Change return type to gpg_error_t.
+ Change type of argument CTX from ASSUAN_CONTEXT to assuan_context_t.
+ Return 0.
+ (pinentry_inq_quality): Change variable CTX's type from ASSUAN_CONTEXT
+ to assuan_context_t.
+ (assuan_malloc_hooks): New variable.
+ (pinentry_init): Call gpgrt_check_version. Change use of
+ assuan_set_malloc_hooks to match libassuan's semantics.
+ (option_handler): Return a gpg_error_t, not an int. Replace use of
+ ASSUAN_Out_Of_Core, etc. with gpg_error or gpg_error_from_syserror.
+ (cmd_setdesc): Return a gpg_error_t, not an int. Change argument
+ CTX's type from ASSUAN_CONTEXT to assuan_context_t. Replace use of
+ ASSUAN_Out_Of_Core, etc. with gpg_error or gpg_error_from_syserror.
+ GPG_ERR_ENOMEM), etc.
+ (cmd_setprompt): Likewise.
+ (cmd_setkeyinfo): Likewise.
+ (cmd_setrepeat): Likewise.
+ (cmd_setrepeaterror): Likewise.
+ (cmd_seterror): Likewise.
+ (cmd_setok): Likewise.
+ (cmd_setnotok): Likewise.
+ (cmd_setcancel): Likewise.
+ (cmd_settimeout): Likewise.
+ (cmd_settitle): Likewise.
+ (cmd_setqualitybar): Likewise.
+ (cmd_setqualitybar_tt): Likewise.
+ (cmd_getpin): Likewise.
+ (cmd_confirm): Likewise.
+ (cmd_message): Likewise.
+ (cmd_getinfo): Likewise.
+ (cmd_clear_passphrase): Likewise.
+ (register_commands): Likewise. Change use of assuan_register_command
+ to match libassuan's semantics.
+ (pinentry_loop2): Change variable RC's type from int to gpg_error_t.
+ Change variable CTX's type from ASSUAN_CONTEXT to assuan_context_t.
+ Use assuan_new to initialize CTX. Change use of
+ assuan_init_pipe_server to match libassuan's semantics. Replace use
+ of assuan_strerror with gpg_strerror. Call assuan_release instead of
+ assuan_deinit_server.
+
+2015-06-16 Andre Heinecke <aheinecke@intevation.de>
+
+ Qt4: Fix GCC compile warnings.
+ + commit 5026d0b9ac08d8366c82beec6c4425fb7f7b11e5
+ * qt4/qsecurelineedit.cpp (QSecureLineEdit::sizeHint),
+ (QSecureLineEdit::minimumSizeHint): Remove unused Q_D macros.
+ (QSecureLineEdit::setCursorPosition, QSecureLineEditPrivate::setText),
+ (QSecureLineEditPrivate::hasAcceptableInput): Explicitly cast length to int.
+ (QSecureLineEditPrivate::maskString): Use unsigned type for strIndex.
+ (QSecureLineEditPrivate::maskString): Remove uneccesary casts.
+ * qt4/secstring.cpp (toUtf8): Remove unused variable.
+
+2015-06-07 Neal H. Walfield <neal@gnu.org>
+
+ gnome3: Actually respect the user's choice of using a password manager.
+ + commit 444598586d0abf70d5a27d2aafcd6c14989621db
+ * gnome3/pinentry-gnome3.c (create_prompt) [HAVE_LIBSECRET]: Only show
+ the libsecret prompt in this case.
+ (gnome3_cmd_handler) [HAVE_LIBSECRET]: Set PE->MAY_CACHE_PASSWORD
+ according to the user's choice.
+
+2015-06-05 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.4.
+ + commit 29d7c5ffda648e61431b42964e773c13f77bf501
+
+
+2015-06-05 Neal H. Walfield <neal@gnu.org>
+
+ secmem: When clearing memory, don't clear beyond the end of the buffer.
+ + commit 554250b56ae00d590d05b1c5af7892314f0e72d8
+ * secmem/secmem.c (secmem_malloc): Only clear the user memory; don't
+ clear beyond the end of the buffer.
+
+2015-06-04 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ Make pinentry_setbufferlen always return the pin buffer.
+ + commit c29c5657fd77e212799715c23806a0cb6e1cfd47
+ * pinentry/pinentry.c (pinentry_setbufferlen): When the pin buffer is
+ already large enough, return the buffer instead of NULL.
+
+2015-06-02 Werner Koch <wk@gnupg.org>
+
+ Fixed compiler warnings - mostly unused parameter.
+ + commit ee23924390a45700b35ab37a75278cfeb965b8c8
+
+
+ Add more GCC warnings flags.
+ + commit f74e40465f979749af6df5b9ea325324a428a669
+ * configure.ac: Add GCC specific -W flags.
+
+2015-06-02 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ use g_debug(format, ...) safely.
+ + commit 87e6811f2d1e72c501d14670ad911245a41c0828
+ * pinentry/password-cache.c (password_cache_clear): use g_debug safely
+ in case error->message is malformed.
+
+2015-06-01 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.3.
+ + commit 9f98bbfa7f05f1c7e02443bc8d0bd74a61eb39bc
+
+
+2015-05-31 Stanislav Ochotnicky <sochotnicky@redhat.com>
+
+ Fix qt4 pinentry window created in the background.
+ + commit eab03a469d82018e53380f26390594f47bb4c5c8
+ This is probably just a workaround. Proper fix is being investigated.
+ See:
+ https://bugzilla.redhat.com/show_bug.cgi?id=589532
+ http://stackoverflow.com/questions/2788518/calling-activatewindow-on-qdia
+
+2015-05-20 Werner Koch <wk@gnupg.org>
+
+ Improve configure log messages for ncurses/ncursesw.
+ + commit 55ea554b2020b1e7b0996bd9f7bb38c8af2b03f3
+ * m4/pkg.m4: Print the moule name not the variable name.
+
+ Allow building without ncursesw and other minor fixes.
+ + commit 0c1af8e9af59d01936924c91c5d2d45133923d6d
+ * pinentry/password-cache.c (password_cache_clear): s/debug/g_debug/.
+ * pinentry/pinentry-curses.c (dialog_input): Actually bail out.
+ (dialog_run) [!HAVE_NCURSESW]: Define alt.
+
+2015-05-19 Neal H. Walfield <neal@gnu.org>
+
+ gtk+-2: Make sure the save-passphrase-externally checkbox is not checked.
+ + commit 54dd881a9a733074bafee4062f8591f4fe69cad5
+ * gtk+-2/pinentry-gtk-2.c (create_window): Make sure the check button
+ to save the passphrase externally is not checked by default.
+
+ Provide an Assuan command to clear a cached password.
+ + commit 72b653d8088ce508ab688c68d88c363832d50eb7
+ * pinentry/password-cache.c (password_cache_clear): New function.
+ * pinentry/password-cache.h (password_cache_clear): New declaration.
+ * pinentry/pinentry.c (cmd_getinfo): New function.
+ (register_commands): Have the Assuan command "CLEARPASSPHRASE" call
+ it.
+
+ If there is an error message, show it and don't read from the cache.
+ + commit 516e01049e9829020b40ddbcf387d4c5c05b1c3f
+ * pinentry/pinentry.c (cmd_getpin): If PINENTRY.ERROR is not NULL,
+ don't read the password from the cache.
+
+2015-05-18 Neal H. Walfield <neal@gnu.org>
+
+ curses: When creating the button text, respect underscores.
+ + commit 6fdcad6a1f91bc769b03d2cb32f0b8001ed3ae19
+ * pinentry/pinentry-curses.c (MAKE_BUTTON): When creating the button
+ text, respect underscores.
+
+ curses: Make control-l repaint the screen.
+ + commit cade1ae102d5f4972f68b5bef0003f1ad1b3bde3
+ * pinentry/pinentry-curses.c (dialog_input): Make control-l repaint
+ the screen.
+
+ curses: Make control-h an alias for backspace.
+ + commit 85646e9c08875214f6888df507c6f9ceb463a000
+ * pinentry/pinentry-curses.c (dialog_input): Add control-h an alias
+ for backspace.
+
+ When checking for ncurses, first try using PKG_CHECK_MODULES.
+ + commit 25e77c0fd10e9a1d26c31c0a8ec1917b51da5cd2
+ * m4/curses.m4: When checking for ncurses, first try using
+ PKG_CHECK_MODULES.
+
+ Purge dead code enabled by ENABLE_ENHANCED.
+ + commit e89c36a6546515c2a19645356d8f80dd459f2075
+
+
+2015-05-16 Neal H. Walfield <neal@gnu.org>
+
+ gtk+-2: If gtk fails to initialize, fallback to the curses backend.
+ + commit edd9a884604ff76e63d238504ede9b118655c55b
+ * gtk+-2/pinentry-gtk-2.c (main): Use gtk_init_check instead of
+ gtk_init. If gtk_init_check fails, fallback to the curses backend.
+
+ curses: Handle control-u, control-w and alt-backspace.
+ + commit d3c52a144b5b23d0d841a99a310090dcafe2074b
+ * pinentry/pinentry-curses.c (dialog_input): Take additional argument,
+ alt. Update callers. If passed control-u, erase the whole line. If
+ passed alt-backspace or control-w, erase any white space the the
+ previous word.
+ (dialog_run): Detect when alt is pressed.
+
+ secmem: Clear the buffer before returning it from secmem_malloc.
+ + commit 1d3583a2562e83496ac515276e9bd63a7f1abbc7
+ * secmem/secmem.c (secmem_malloc): In case wipememory2 gets optimized
+ away in secmem_free, clear the buffer before returning it.
+
+ curses: NUL terminate the pin entry buffer.
+ + commit 97a47ee99e14e0c8c6a2c3c5eec0434e6eac77e0
+ * pinentry/pinentry-curses.c (dialog_run): NUL terminate the pin entry
+ buffer.
+
+ curses: Make sure the pin entry buffer is larger enough.
+ + commit c33073eb40ee4bb6e079605dbf2f343de50390d7
+ * pinentry/pinentry-curses.c (dialog_input): Make sure the pin entry
+ buffer is large enough.
+
+ curses: Avoid aliasing the pin buffer.
+ + commit c7736745f5683b820ebbd11e30ddb425748c16ab
+ * pinentry/pinentry-curses.c (struct dialog): Remove field pin. Add
+ field pinentry.
+ (dialog_create): Don't set DIALOG->PIN to PINENTRY->PIN. Set
+ DIALOG->PINENTRY to PINENTRY and access PIN via
+ DIALOG->PINENTRY->PIN. Update other users.
+
+ gtk+-2: When the dialog is destroyed, remove any pending timers.
+ + commit 88772ddaac96303a63c97a45c26144d93a942798
+ * gtk+-2/pinentry-gtk-2.c (timeout_source): New variable.
+ (timeout_cb): Set it to 0.
+ (create_window): When setting up the timeout, save the source
+ identifier in TIMEOUT_SOURCE.
+ (gtk_cmd_handler): If TIMEOUT_SOURCE is not 0, remove the timeout.
+
+ curses: If an error occurs while reading input, cancel the operation.
+ + commit f3cb78985c3c7f96401a06a73412fb704c5efaab
+ * pinentry/pinentry-curses.c (dialog_run) [! HAVE_DOSISH_SYSTEM]: If
+ an error occurs while reading input, cancel the operation.
+
+ tty: ok takes precedence over default-ok. Likewise for cancel.
+ + commit ae3352566994623d54723283e887bc5f74766e1c
+ * tty/pinentry-tty.c (confirm): When creating the ok button,
+ pinentry->ok takes precedence over pinentry->default-ok. Likewise for
+ pinentry->cancel and pinentry->default_cancel.
+
+ Don't use a static initializer to initialize PINENTRY.
+ + commit de3241ae0bc9072cfef204ea638171a3a95380a3
+ * pinentry/pinentry.c (pinentry): Don't use a static initializer.
+ (pinentry_reset): Initialize PINENTRY here.
+ (pinentry_parse_opts): Call pinentry_reset here.
+ (pinentry_assuan_reset_handler): New function.
+ (pinentry_loop2): Register it as the assuan reset handler.
+
+ Don't emit the LC_CTYPE-not-set warning more than once.
+ + commit 9fdb05554b5fc9c6f6621d606ccf21c038c7b6cb
+ * pinentry/pinentry.c (lc_ctype_unknown_warning): New variable.
+ (pinentry_utf8_to_local): Only emit the LC_CTYPE warning if
+ lc_ctype_unknown_warning is not set. After emitted such a warning,
+ set lc_ctype_unknown_warning.
+ (pinentry_local_to_utf8): Likewise.
+
+ curses: Use default-ok and default-cancel if set.
+ + commit 222866894993041ceaca3ca4ef33373ab78bfdff
+ * pinentry/pinentry-curses.c (default_notok): New macro.
+ (MAKE_BUTTON): Also check if default variant is set.
+
+ curses: Don't show the notok button in pin entry mode.
+ + commit 3d97b18ba928677550a8f7eaa938551aad42dacf
+ * pinentry/pinentry-curses.c (dialog_create): Don't show the notok
+ button in pin entry mode.
+
+2015-05-16 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ Avoid implicit declaration of function addnwstr.
+ + commit 21e83f422667e431c1283b9ae3356fded3523e50
+ * pinentry/pinentry-curses.c [HAVE_NCURSESW]: Include <ncursesw/curses.h>.
+ [! HAVE_NCURSESW]: Only include <curses.h> in this case.
+
+2015-05-13 Neal H. Walfield <neal@gnu.org>
+
+ tty: Handle the case where the user needs to repeat the passphrase.
+ + commit 4549998627ee04e74f8d1c94aef55e3ed17f14d9
+ * tty/pinentry-tty.c: Include "memory.h".
+ (read_password): Break into two functions: read_password and password.
+ (read_password): Just read the password from the terminal and return
+ it in secure memory (or NULL if the user canceled the entry or there
+ was an error).
+ (password): Improve output. Handle the repeat passphrase case (i.e.,
+ when pinentry->repeat_passphrase is set).
+ * tty/Makefile.am (AM_CPPFLAGS): Add "-I$(top_srcdir)/secmem".
+
+ Add a new helper function, pinentry_setbuffer_use.
+ + commit c68a6854aadaf8c271648f369f14b4943e684ecf
+ * pinentry/pinentry.c (pinentry_setbuffer_use): New function.
+ * pinentry/pinentry.h (pinentry_setbuffer_use): New declaration.
+
+ tty: Always call do_touch_file if we (potentially) touched the screen.
+ + commit 960317ec86c06bc737e1ff3c1b571dc8f4194763
+ * tty/pinentry-tty.c (tty_cmd_handler): Always call do_touch_file.
+
+ tty: Improve confirmation mode functionality.
+ + commit dd0307be51587a9a7866981ce00eed474bee6e14
+ * tty/pinentry-tty.c: Include <ctype.h>.
+ (UNDERLINE_START): Define.
+ (ALERT_START): Define.
+ (NORMAL_RESTORE): Define.
+ (button): New function.
+ (confirm): Rewrite to include all confirmation mode functionality.
+ (tty_cmd_handler): Don't include any confirmation mode functionality.
+ Just call confirm.
+
+ Fix linking order to work when linked with --as-needed.
+ + commit 496235af8dfd373b54e5610f86bf1cada175ac23
+ * curses/Makefile.am (LDADD): Add $(COMMON_LIBS) after all of the
+ local objects and object archives.
+ * gnome3/Makefile.am (LDADD): Likewise.
+ * gtk+-2/Makefile.am (LDADD): Likewise.
+ * qt4/Makefile.am (pinentry_qt4_LDADD): Likewise.
+ * tty/Makefile.am (LDADD): Likewise.
+
+ Don't interpret the handler's return value as the passphrase's length.
+ + commit 3062742b945f95d72001896f8ba5468b9e63aa9b
+ * pinentry/pinentry.c (cmd_getpin): Don't interpret the return value
+ as the passphrase length. Use strlen instead.
+
+ Make the management of pinentry.pin more explicit.
+ + commit bdd81974633f8e31d582b62999ef9b004bc3b95e
+ * pinentry/pinentry.c: Include <assert.h>.
+ (pinentry): Set pin_len to 0.
+ (pinentry_setbufferlen): If len is less than 2048, set it to 2048.
+ Add an assertion.
+ (pinentry_setbuffer_clear): New function that releases the pin buffer.
+ (pinentry_setbuffer_init): New function that initializes the pin
+ buffer.
+ (cmd_getpin): Use pinentry_setbuffer_init and pinentry_setbuffer_clear
+ instead of manual memory management.
+ (cmd_confirm): Use pinentry_setbuffer_clear instead of manual memory
+ management.
+
+ Better document struct pinentry.
+ + commit ae7dfae00df81a683adf0292a52b63632491319e
+ * pinentry/pinentry.h (struct pinentry): Better document the various
+ fields.
+
+2015-05-12 Neal H. Walfield <neal@gnu.org>
+
+ Fix some documentation details.
+ + commit 2582cb9eb23ca287520caa04a12f83f10c268f71
+ * doc/pinentry.texi: Fix some details.
+
+ Add a GNOME3 pinentry based on gcr.
+ + commit be87785005d256b7f3dacc607ba5ea0a14de8593
+ * configure.ac (--enable-pinentry-gnome3): Option to enable the GNOME3
+ pinentry.
+ (pinentry_gnome_3): Set to yes if enabled and gcr-3 and gcr-base-3 gcr
+ is available.
+ (GNOME3CFLAGS): Define and AC_SUBST.
+ (GNOME3LIBS): Define and AC_SUBST.
+ (GCR_API_SUBJECT_TO_CHANGE): Define.
+ (BUILD_PINENTRY_GNOME_3): Define.
+ * Makefile.am (pinentry_gnome_3): Define.
+ (SUBDIRS): Add ${pinentry_gnome_3}.
+ * gnome3/Makefile.am: New file.
+ * gnome3/pinentry-gnome3.c: New file.
+
+ Add new chapter to documentation describing implementation details.
+ + commit 14b95bd6d92ba699c3d263ac1f9140973d8c9156
+ * doc/pinentry.texi: Add new chapter describing some implementation
+ details.
+
+ Simplify code.
+ + commit 831782b3b625ca81624fae0ee184da0d2fc46d96
+ * pinentry/pinentry.c (cmd_confirm): Don't use nested ternary
+ expressions.
+
+ Implement cmd_confirm in terms of cmd_message.
+ + commit 29236f84aca64be72c97a9b5513457a4e45afbc6
+ * pinentry/pinentry.c (cmd_confirm): Implement cmd_confirm in terms of
+ cmd_message.
+
+ Fix memory allocation in pinentry_setbufferlen.
+ + commit aa04dac66f2ee949e8789a3c91090b01646f2e57
+ * pinentry/pinentry.c (pinentry_setbufferlen): Set PIN->PIN to a
+ buffer that is LEN bytes large, not 2 * PIN->PIN_LENGTH.
+
+2015-05-11 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.2.
+ + commit 8e52ddc874838ad512ed76cdc1c34057da328fba
+
+
+ Return better error codes.
+ + commit 726c00514be4a0c2831dd775e306f7d5243bab8b
+ * assuan/assuan.h (ASSUAN_Too_Short): New
+ (ASSUAN_ENOENT, ASSUAN_ENOTTY): New.
+ * pinentry/pinentry-curses.c: Include assuan.h.
+ (dialog_create, dialog_run): Set specific error codes.
+ * pinentry/pinentry.h (struct pinentry): Add field specific_err.
+ * pinentry/pinentry.c (cmd_getpin): Return specific_err.
+ (cmd_confirm, cmd_message): Ditto.
+
+ curses: Reset tty state on failed dialog creation.
+ + commit d7f2081fdd605b0d0789bcb6984decfea3777f23
+ * pinentry/pinentry-curses.c (dialog_run): Cleanup on dialog_create
+ error.
+
+ gtk: Use a description string from gpg-agent for libsecret.
+ + commit 319e1a32e3ab67cb0624c0586d7519c16c76d43b
+ * pinentry/pinentry.h (struct pinentry): Add field default_pwmngr.
+ * pinentry/pinentry.c (option_handler): Set it.
+ * gtk+-2/pinentry-gtk-2.c (create_window) [HAVE_LIBSECRET]: Use new
+ string.
+
+ gtk: Silence compiler warning.
+ + commit 3d02645d757e573e4628a1caf2e36bb92d523e77
+
+
+2015-05-07 Neal H. Walfield <neal@gnu.org>
+
+ Don't use asprintf.
+ + commit 1a8af55b76d8235ce891f44808064e7f846e193c
+ * pinentry/password-cache.c (keygrip_to_label): Don't use asprintf.
+
+ Improve documentation.
+ + commit 09203147bef487c9a85f55f8cc96d265197b0bf5
+ * doc/pinentry.texi: Improve description of SETKEYINFO's format.
+
+ Minor documentation cleanups.
+ + commit 3a8daef81c49dc3c04b6703a0384381cb43eb91b
+
+
+ Add support for saving the passphrase with libsecret.
+ + commit c6eaa7bf8300f524de41956a339ca0ed3af4656e
+ * configure.ac (COMMON_CFLAGS): New variable. AC_SUBST it.
+ (COMMON_LIBS): Likewise. AC_SUBST it.
+ (LIBSECRET_CFLAGS): Likewise.
+ (LIBSECRET_LIBS): Likewise.
+ (--enable-libsecret): Add option to enable support for libsecret. If
+ enabled, check for its presense.
+ * pinentry/password-cache.h: New field.
+ * pinentry/password-cache.c: New field.
+ * pinentry/pinentry.h (struct pinentry): Add fields pin_from_cache,
+ allow_external_password_cache, tried_password_cache, keyinfo, and
+ may_cache_password.
+ * pinentry/pinentry.c: Include "password-cache.h".
+ (pinentry): Initialize new fields.
+ (option_handler): Handle the "allow-external-password-cache" option.
+ (cmd_setkeyinfo): Implement it.
+ (cmd_getpin): Read the password from the cache, if appropriate. Save
+ it to the cache, if appropriate.
+ * pinentry/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
+ (LDADD): Add $(COMMON_LIBS).
+ (libpinentry_a_SOURCES): Add password-cache.h
+ password-cache.c.
+ * gtk+-2/pinentry-gtk-2.c (may_save_passphrase_toggled): New function.
+ (create_window): Take additional parameter, the pinentry's context.
+ Update callers.
+ [HAVE_LIBSECRET]: Show a checkbox asking whether the passphrase should
+ be saved.
+ * gtk+-2/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
+ (LDADD): Add $(COMMON_LIBS).
+ * curses/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
+ (LDADD): Add $(COMMON_LIBS).
+ * tty/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
+ (LDADD): Add $(COMMON_LIBS).
+ * doc/pinentry.texi (Protocol): Update documentation. Describe the
+ protocol and provide some justification.
+
+2015-05-07 Werner Koch <wk@gnupg.org>
+
+ w32: Do not build gtk pinentry by default.
+ + commit aa98f25ddcc3c36035f18249443cec15d16e8fa5
+ * autogen.rc: Remove obsolete options.
+
+2015-05-07 Neal H. Walfield <neal@gnu.org>
+
+ Align secmem_realloc behavior with realloc's.
+ + commit aaec7c7c50adfb51510962a14c0fa2179a34a01e
+ * secmem/secmem.c (secmem_realloc): If passed a NULL pointer, then
+ call secmem_malloc instead of crashing.
+
+2015-05-05 Werner Koch <wk@gnupg.org>
+
+ w32: Minor changes to the dialog.
+ + commit cbecc6d38a86f8fa7c052efab7649be07b5df334
+ * w32/main.c (set_bitmap): New.
+ (dlg_proc): Show error prompt in red.
+ * w32/pinentry-w32.rc: Add icons and chnage dialog.
+ * w32/logo-128.bmp: New.
+ * w32/logo-32.bmp: New.
+ * w32/logo-48.bmp: New.
+ * w32/logo-64.bmp: New.
+ * w32/logo-96.bmp: New.
+
+ pinentry-tty: Fix problem with zero length prompt.
+ + commit a616bd9dec00e068185b6b37a35ced4ec12ac5a7
+ * tty/pinentry-tty.c (read_password): Use default prompt also for an
+ empty prompt argument.
+
+2015-05-01 Neal H. Walfield <neal@gnu.org>
+
+ Improve documentation.
+ + commit 8b802cf928d199d9c09080f71a7dd1eb397f414a
+ Improve documentation: clean up wording and add some minor
+ improvements to the content.
+
+ Improve comment.
+ + commit b9d529557b368548d6a55ae6c2df66ece7023e5f
+ * tty/pinentry-tty.c (tty_cmd_handler): Add comment.
+
+ When reading the pin, correctly handle backspace.
+ + commit 189ab07e94dc2d4103c1edf00e15e0156df89297
+ * tty/pinentry-tty.c (read_password): Handle backspace.
+
+ Improve prompt for pin.
+ + commit c7099565524010b86891fc14b723fc722509d4bb
+ * tty/pinentry-tty.c (read_password): Improve prompt for pin.
+
+2015-05-01 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+
+ fix small memory leak in pinentry-curses.
+ + commit 03e4207f11e228a4c079af991f82507539793bae
+ * pinentry/pinentry-curses.c: free internally allocated local string.
+
+ pinentry-tty: make confirm actions work.
+ + commit 21d28d114259da9cb555ee612e053e6e68f37fd3
+ * tty/pinentry-tty.c: treat the situation where no PIN is requested
+ and one_button is not set as a confirmation prompt.
+
+ pinentry-tty: fix segfault on MESSAGE or CONFIRM.
+ + commit 93bd60a3ca91581a1cf8e754c4fb51e54c9e7ce9
+ * tty/pinentry-tty.c: avoid prompting for a PIN when one was not asked
+ for.
+
+ pinentry-tty: handle designated tty outside of read_password.
+ + commit b4bf75f24f1126a8ba8f8c1c025103c2dcee0710
+ * tty/pinentry-tty.c: reorganize, wrapping read_password in tty
+ open/close.
+
+2015-04-16 Yuri D'Elia <wavexx@users.sourceforge.net>
+
+ gtk: Make Escape key work.
+ + commit 9d2d8b6bfaf2d5b07e7fb5be7188516e4158ed98
+ * gtk+-2/pinentry-gtk-2.c: Include gdk/gdkkeysyms.h.
+ (enter_callback): Pass confirm_value_t to button_clicked.
+ (confirm_button_clicked): Use confirm_value_t cast.
+ (cancel_callback): New.
+ (create_window): Add accelerator for the Escape key.
+
+2015-04-14 Werner Koch <wk@gnupg.org>
+
+ Add stub command SETKEYINFO.
+ + commit 2bffbbff09177afb75ad667d949eed2a8cb846ea
+ * pinentry/pinentry.c (cmd_setkeyinfo): New.
+ (register_commands): Addd command.
+
+2015-03-18 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.1.
+ + commit 0b2d5e435445e3b9f8dffcf2240a95313c3ce335
+
+
+ Fix build problems on AIX.
+ + commit 1cfcf9dadb73bccc52b7ece47616d621d9cbe044
+ * pinentry/pinentry.c: Do not include getopt.h.
+ * pinentry/pinentry-curses.c (dialog_run): Call use_default_colors
+ only with ncurses.
+
+ Update to automake 1.14.
+ + commit 2c56b16a18713786a7e66e408967f91388a008cb
+
+
+2015-03-17 Werner Koch <wk@gnupg.org>
+
+ Get rid of getopt_long and improve --help output.
+ + commit 2f7b275b2b5d31df48f02ab2913ba3ff2e74b7a4
+ * pinentry/argparse.c, pinentry/argparse.h: New. Taken from GnuPG
+ master.
+ * pinentry/Makefile.am (libpinentry_a_SOURCES): Add them.
+ * pinentry/pinentry.c: Include argparse.h.
+ (usage): Remove.
+ (my_strusage): New.
+ (pinentry_parse_opts): Rewrite. Do not return a value. Change call
+ callers.
+
+ Use CH type instead of wchar_t for curses.
+ + commit 8fa3ca90bfbaa84314443fab9865742b78eb85a9
+ * pinentry/pinentry-curses.c (collect_line): Change second arg to CH.
+ * pinentry/pinentry.c (pinentry_utf8_to_local): Make args const.
+
+2014-12-15 Andre Heinecke <aheinecke@intevation.de>
+
+ qt4: Improve moc handling.
+ + commit bb423620fca82159e60ab25de3c608a0243088b0
+ * configure.ac: Disable pinentry-qt4 or exit if moc not found.
+ * m4/qt.m4: Look for and prefer moc-qt4.
+ * qt4/Makefile.am: Add moc files to nodist and clean them.
+
+ doc: Update gpl.texi to match version from gcrypt.
+ + commit c911657710893643558f91ec497fac2831d91040
+ * doc/gpl.texi: Use version from gcrypt.
+
+2014-12-09 Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+ pinentry-qt4: make the accessibility part optional.
+ + commit 484465338ea6f5f12eb1341ca0ef84aa79224ed4
+ Check if the Qt libraries have support for QT Accessibility before using
+ it. Otherwise it will raise error like these one:
+
+ main.cpp: In function 'int qt_cmd_handler(pinentry_t)':
+ main.cpp:220:51: error: 'class QAbstractButton' has no member named
+ 'setAccessibleDescription'
+
+2014-10-26 Werner Koch <wk@gnupg.org>
+
+ Release 0.9.0.
+ + commit 8943bc86d6cf8295d0ec4382480d886b1f2ec062
+
+
+ gtk: Aboid segv for opaste keys.
+ + commit 821dc21a241a27cc381c7d65be690e3858e2ddc6
+ * gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Disable paste
+ key bindings.
+
+ Remove support form QT3 and GTK+-1.
+ + commit f2ed42297528f2a126d189c6181d3105ceecca22
+ * configure.ac: Remove old qt and gtk+-1 support.
+ * Makefile.am: Ditto.
+
+2014-10-26 Stanislav Ochotnicky <sochotnicky@redhat.com>
+
+ Check if we are on tty before initializing curses.
+ + commit 3803fd15942f2f25108e400be6cd6faef791c8f7
+ * pinentry/pinentry-curses.c (dialog_run): Check stant stdin and stout
+ are connected to ttys.
+
+2014-10-26 Werner Koch <wk@gnupg.org>
+
+ gtk: Allow pasting using the mouse.
+ + commit 4f4af9056d1c100aa53363f019253160cd8d9ff0
+ * gtk+-2/gtksecentry.h (_GtkSecureEntry): Add fields insert_pos,
+ real_changed, cand change_count.
+ (_GtkSecureEntryClass): Add field paste_clipboard.
+ * gtk+-2/gtksecentry.c (PASTE_CLIPBOARD): New.
+ (gtk_secure_entry_class_init): Set paste_clipboard and create
+ paste-clipboard signal.
+ (gtk_secure_entry_button_press): Call gtk_secure_entry_pase.
+ (begin_change, end_change, emit_changed): New.
+ (gtk_secure_entry_real_insert_text): Use emit_changed.
+ (gtk_secure_entry_real_delete_text): Ditto.
+ (paste_received, gtk_secure_entry_paste)
+ (gtk_secure_entry_paste_clipboard): New.
+
+2014-10-24 Werner Koch <wk@gnupg.org>
+
+ gtk+-2: Make current focus visible again.
+ + commit 2ef788fb5dce2e49fa925264802388f4c002cd31
+ * gtk+-2/pinentry-gtk-2.c (grab_keyboard): Return false
+ (ungrab_keyboard): Ditto.
+
+ gtk+-2: Implement the SETREPEAT command.
+ + commit e483abb883f65719ce8008a211f49b8d207ee4af
+ * gtk+-2/pinentry-gtk-2.c (repeat_entry, error_label): New.
+ (button_clicked): Implement repeat check.
+ (changed_text_handler): Clear repeat field.
+ (create_window): Add repeat entry.
+
+ Add commands to allow implementing a "repeat passphrase" field.
+ + commit 9f78f0709d9ba60677129c179f7f0ef835c51c1d
+ * pinentry/pinentry.c (cmd_setrepeat): New.
+ (cmd_setrepeaterror): New.
+ (register_commands): Add new commands.
+ (cmd_getpin): Print "PIN_REPEATED" status.
+
+2014-09-18 Werner Koch <wk@gnupg.org>
+
+ Release 0.8.4.
+ + commit f610ea6248b5a77739d2e16052b8ddd78f95394e
+
+
+ Add missing build support files and move them to build-aux.
+ + commit f21dcb8083905efef8e82e1bf91dd01457af81d1
+
+
+ Use generic autogen.sh script.
+ + commit 549479d69363ca1ef5e7c676517e2327b8baadea
+ * autogen.rc: New.
+ * autogen.sh: New. Take from GnuPG.
+ * Makefile.am (EXTRA_DIST): Add autogen.rc.
+ (DISTCHECK_CONFIGURE_FLAGS): Disable qt4.
+
+2014-08-12 Werner Koch <wk@gnupg.org>
+
+ common: Fix compiler warning.
+ + commit 888591602fc359e2c1baaa49d92825e050426956
+ * pinentry/pinentry.c (pinentry_utf8_to_local): Use cast for iconv arg.
+ (pinentry_local_to_utf8): Ditto.
+
+ New pinentry-tty version for dumb terminals.
+ + commit 12369b15c65fa64eef9dbc5e475b407e338641c7
+ * Makefile.am: Add pinentry-tty.
+ * NEWS: Add news about pinentry-tty.
+ * README: Update.
+ * configure.ac: Add support for this pinentry.
+ * tty/Makefile.am: New.
+ * tty/pinentry-tty.c: New.
+
+2014-08-06 Andre Heinecke <aheinecke@intevation.de>
+
+ Check for MOC also if pinentry-qt is disabled.
+ + commit 52cf95c4fd97dc38856e72aa3e42a135d010df06
+ * configure.ac: Call QT_PATH_MOC if pinentry_qt4 is not no.
+
+ Add fallbacks for SetForegroundWindow.
+ + commit f4d14ffcf2e04b1938c00a0ef1504e0e932631fd
+ If that foreground window fails pinentry-qt now tries to
+ attach to the current foreground process and then tries
+ to set the foreground window again. If that fails it also
+ calls ShowWindow as a last resort.
+
+ * qt4/pinentrydialog.cpp (raiseWindow): Add fallbacks in
+ case SetForegroundWindow fails.
+
+ Use raiseWindow also for confirm dialogs.
+ + commit 47476d2f288a22c29567ae2c179ce0472db4257e
+ This should fix the case that the dialog opened
+ in the foreground but a warning / confirm dialog
+ opened in the background.
+
+ * qt4/pinentryconfirm.cpp, qt4/pinentryconfirm.h (showEvent):
+ New overwrite base class method to call raiseWindow.
+ * NEWS: Mention this.
+
+2014-07-30 Andre Heinecke <aheinecke@intevation.de>
+
+ Set some accessibility information.
+ + commit 41d046022e912c76cb424c906064745e732f01f3
+ * qt4/main.cpp (qt_cmd_handler): Build buttons with accessibile
+ Description.
+ * qt4/pinentrydialog.cpp (setDescription, setError, setOkText)
+ (setCancelText, setQualityBar): Set an accessible description.
+ * qt4/pinentryconfirm.cpp (PinentryConfirm): Set message
+ box contents also as accessible values.
+ * NEWS: Mention it and the copy/paste change from last year.
+
+2013-07-15 Andre Heinecke <aheinecke@intevation.de>
+
+ Lower paste length limit to 300.
+ + commit 556d305b970ed60ef1dc2718fcafbf3bea6b7fea
+ This should be more then enough and avoids possible problems
+ with libassuan cmd line lenght or percent escaping etc.
+
+ * qt4/qsecurelineedit.cpp (insert): Lower paste limit
+
+ Limit paste length to 1023 characters.
+ + commit 9b154c9f87abd3ea5df4b763c958e538b19d0904
+ * qt4/qsecurelineedit.cpp (insert): Check for a maximum
+ length before allocation the secmem string.
+
+ Fix contextmenu support for pasting.
+ + commit 4d56651dd4ab2568f8adc7e4448bb1239dbdbfb0
+ MOC ignores preprocessor definitions so we can not conditionally
+ declare SLOTS. So we now move the ifdefs in the definition and
+ always declare the SLOTS.
+
+ * qt4/qsecurelinedit.cpp (cut, copy, paste): Do nothing if
+ QT_NO_CLIPBOARD is defined.
+ * qt4/qsecurelinedit.h: Always declare cut, copy and paste slots
+
+ Remove check for RTL extensions.
+ + commit d4feabe153b096db896dfe25bd1bf763d23123d7
+ Our code does nothing RTL specific there anyway. And the
+ qt_use_rtl_extensions symbol has been removed.
+
+ * qt4/qsecurelinedit.cpp: Remove check for RTL extensions.
+
+2013-07-12 Werner Koch <wk@gnupg.org>
+
+ Fix for commit fb38be9 to allow for "make distcheck".
+ + commit 54b9b92c13a496a33868501dec893bc8d82b1a8d
+ * qt4/Makefile.am: Make correct use of BUILT_SOURCES.
+
+2013-05-29 Andre Heinecke <aheinecke@intevation.de>
+
+ Add pinentry-qt4-clipboard option.
+ + commit 0b3a8568e14b994a8d1f4c1cb42aed4959dfc811
+ Enabling this option will make it possible to paste a
+ passphrase into pinentry-qt4. This defeats the secmem
+ mechanism but drastically increases usability for some
+ users.
+
+ * configure.ac: New option pinentry-qt4-clipboard.
+ * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h: Activate
+ clipboard and context menu if PINENTRY_QT4_CLIPBOARD is defined.
+
+ Remove qt4 moc files and add moc to buildsystem.
+ + commit fb38be960e837bb5854aa65bf8cbf9cbf535631e
+ This is neccessary to conditionally enable signals/slots
+ at build time.
+
+ * qt4/Makefile.am: Moc files automatically.
+ * qt4/pinentryconfirm.moc, qt4/pinentrydialog.moc,
+ qsecurelineedit.moc: Removed.
+
+2013-04-26 Werner Koch <wk@gnupg.org>
+
+ Release 0.8.3.
+ + commit ce7f2e69fa78d9afac96efc3009513b203668b4b
+
+
+2013-04-26 Andre Heinecke <aheinecke@intevation.de>
+
+ Switch to i686-w64-mingw32 as default Windows toolchain.
+ + commit a421efcb91b80a37f58ae35687dc33db08a04b3d
+ * autogen.sh <build-w32>: Insert i686-w64-mingw32.
+ * configure.ac: Pretty print final info.
+
+ Fix declaration of lock_set_foreground_window for pinnetry-w32.
+ + commit 369e774ab835ecf23da267cf55f9ecf8ae8c5585
+ * w32/main.c (lock_set_foreground_window): Remove WINUSERAPI
+ qualifier.
+
+ Fix ressource compilation of pinentry-w32.
+ + commit 18b0d8849e51b6203b3f1dbc1cc1cc71e52f78b6
+ * w32/pinentry-w32.rc: Include windows.h
+
+2013-02-16 Ben Kibbey <bjk@luxsci.net>
+
+ Curses build fix for DOS'ish systems.
+ + commit 462f00dfc6636fbfe2e453c1b820d919ec1d0c99
+
+
+2013-02-14 Ben Kibbey <bjk@luxsci.net>
+
+ Document the --timeout and SETTIMEOUT feature.
+ + commit 31467f7c2cd748d6f822ccf627a2ce8870fb09c6
+
+
+ Add timeout support to the Gtk+2 pinentry.
+ + commit 8ce6e0c9cecd91d7b1dfe8bcc9942803c13c7afb
+ * gtk+-2/pinentry-gtk-2.c (create_window): Add timer.
+ (timeout_cb): New.
+
+ Add timeout support to the curses pinentry.
+ + commit e3bed4f087304ac126e247053fc82a593bec31b6
+ * pinentry/pinentry-curses.c (dialog_run): Set the window input to
+ non-blocking.
+ (catchsig): New.
+ (main): Catch SIGALRM and set the timeout.
+
+2013-01-06 Ben Kibbey <bjk@luxsci.net>
+
+ Fix initializing the timeout timer.
+ + commit d33537aef0358313cbcf1d010b227d93f3430900
+ When timeout == 0 a segfault would occur.
+
+2012-08-08 Werner Koch <wk@gnupg.org>
+
+ Release 0.8.2.
+ + commit ffc59acd0188006b9c90d03b59fe93dc7e12fe51
+
+
+ Distribute only bzip2 tarballs.
+ + commit 94f356b2615a8cd2c5ce608b9f08a5fde3d02b26
+ * Makefile.am (AUTOMAKE_OPTIONS): New.
+
+ qt4: Update all moc files to Qt version 4.8.2.
+ + commit 7cbe87800fa8f84d7868da507010999cbc314beb
+
+
+ Update config.guess and config.sub.
+ + commit b3016d72478a57dd1132721a324b1a09ca23fed2
+ * config.guess, config.sub: Update to version 2012-07-31 from gnulib.
+
+ Change build system to auto-generate the ChangeLog.
+ + commit 826ca44db0d29bae54de8b5d4c0d67a3f22430ee
+ * build-aux/gitlog-to-changelog: New script. Taken from GnuPG.
+ * build-aux/git-log-fix: New file.
+ * build-aux/git-log-footer: New file.
+ * doc/HACKING: Describe the ChangeLog policy
+ * ChangeLog: New file.
+ * Makefile.am (EXTRA_DIST): Add new files.
+ (gen-ChangeLog): New.
+ (dist-hook): Run gen-ChangeLog.
+
+ Rename existing ChangeLog files to ChangeLog-old.
+
+ Switch to an automagic beta numbering scheme.
+ + commit 19fae1e8652410712d52f1d926fb9bb40a506787
+ * configure.ac: Add all the required m4 magic.
+
+2012-08-08 Werner Koch <wk@gnupg.org>
+
+ NB: Changes done before August 8, 2012 are described in per
+ directory files named ChangeLog-old. See doc/HACKING for
+ details.
+
+ -----
+ Copyright (C) 2002, 2003, 2010, 2012 g10 Code GmbH
+
+ Copying and distribution of this file and/or the original GIT
+ commit log messages, with or without modification, are
+ permitted provided the copyright notice and this notice are
+ preserved.
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog-old b/debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog-old
new file mode 100644
index 0000000..02a8010
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/ChangeLog-old
@@ -0,0 +1,2175 @@
+2012-08-08 Werner Koch <wk@gnupg.org>
+
+ NB: ChangeLog files are no longer manually maintained. Starting
+ on August 8, 2012 we put change information only in the GIT commit
+ log, and generate a top-level ChangeLog file from logs at "make
+ dist". See doc/HACKING for details.
+
+2011-08-10 Werner Koch <wk@g10code.com>
+
+ * configure.ac: Change bug report address to the BTS. Fix
+ autoconf warnings.
+
+2011-06-28 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/gtksecentry.c (PROP_EDITING_CANCELED): New.
+ (gtk_secure_entry_class_init, gtk_secure_entry_set_property)
+ (gtk_secure_entry_get_property): Implement as dummy it to get rid
+ of a runtime warning.
+
+2010-12-16 Werner Koch <wk@g10code.com>
+
+ Release 0.8.1.
+
+ * doc/pinentry.texi: Remove the custom font setting for underscores.
+
+ Update to automake 1.10.
+
+ * missing, config.guess, config.sub: Update from GnuPG.
+
+ * w32/main.c (debugfp): Define to stderr.
+ (raise_sip) [!W32CE]: Make it a dummy function.
+
+ * qt4/pinentrydialog.cpp (raiseWindow): Use SetForegroundWindow
+ API directly.
+ (SetForegroundWindowEx): Comment out.
+
+2010-10-19 Werner Koch <wk@g10code.com>
+
+ * pinentry/pinentry.c (pinentry_have_display): Also detect
+ --display=DISPID.
+
+2010-10-12 Werner Koch <wk@g10code.com>
+
+ * qt/main.cpp (escape_accel): New. Adapt from from qt4/.
+ (qt_cmd_handler): Implement default-ok and default-cancel. Escape
+ accelerators.
+
+2010-09-30 Werner Koch <wk@g10code.com>
+
+ * pinentry/pinentry.h (struct pinentry): Add CLOSE_BUTTON.
+ * pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message): Send
+ BUTTON_INFO.
+ * gtk+-2/pinentry-gtk-2.c (delete_event): Set close_button.
+
+2010-09-22 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/pinentry-gtk-2.c (create_window): Make use of
+ default_cancel and default_ok.
+
+2010-08-19 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/Makefile.am (pinentry_gtk_2_SOURCES): Add gseal-gtk-compat.h.
+
+ * configure.ac (AH_TOP, AH_BOTTOM): New. Define
+ GPG_ERR_ENABLE_ERRNO_MACROS.
+
+2010-06-08 Marc Mutz <marc.mutz@kdab.com> (wk)
+
+ * qt4/pinentrydialog.cpp (PinEntryDialog): Add WindowStaysOnTopHint.
+
+ * qt/pinentrydialog.cpp (PinEntryDialog): Add WStyle_StaysOnTop.
+
+2010-05-12 Guido Günther <agx@sigxcpu.org> (wk)
+
+ * gtk+-2/gtksecentry.c: Make -DSEAL safe.
+ * gtk+-2/gseal-gtk-compat.h: New.
+ * gtk+-2/gtksecentry.h: Include new header.
+
+2010-05-07 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/pinentry-gtk-2.c (create_window): Keep the window above
+ and make sure it has the focus. Fixes bug#1162.
+
+2010-05-03 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/pinentry-gtk-2.c (create_window): Use
+ visibility-notify-event instead of map-event. Suggested by Ed
+ Marten.
+
+2010-04-26 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/pinentry-gtk-2.c (grab_failed): New.
+ (grab_keyboard): s/g_error/g_critical/. Set GRAB_FAILED.
+ (gtk_cmd_handler): Return Cancel if a grab failed.
+
+2010-04-20 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.c: Move include config.h to top!
+
+2010-04-19 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/gtksecentry.c (gtk_secure_entry_delete_cb)
+ (gtk_secure_entry_toggle_overwrite, activate_cb)
+ (unichar_chosen_func): Comment out these unused functions.
+ (secentry_malloc): Fix format string error.
+
+2010-04-19 Stanislav Ochotnicky <sochotnicky@redhat.com> (wk)
+
+ * gtk+-2/pinentry-gtk-2.c (ungrab_keyboard): Fix segv when using
+ option -g.
+
+2010-04-16 Marcus Brinkmann <marcus@g10code.de>
+
+ * secmem/util.c: Fix inverted test.
+
+2010-04-12 Werner Koch <wk@g10code.com>
+
+ * w32/main.c (dlg_proc): Act on VK_RETURN.
+
+ * w32/pinentry-w32.rc: Include config.h. Add basic support for
+ small screens as used with WindowsCE.
+
+ * w32/Makefile.am (pinentry-w32.o): Add -I.. to the command.
+
+2010-04-08 Werner Koch <wk@g10code.com>
+
+ * pinentry/pinentry.c [W32CE]: Do not include errno.h and
+ locale.h.
+ (pinentry_have_display) [W32CE]: Do not use getenv.
+ (pinentry_parse_opts) [W32CE]: No error diagnostics due to missing
+ errno.
+ (sleep) [W32CE]: New.
+ (option_handler) [W32CE]: Ignore option --debug-wait.
+ (getpid) [W32CE]: New.
+ (pinentry_loop): Use STDIN_FILENO and STDOUT_FILENO.
+ (pinentry_loop): Factor code out to ...
+ (pinentry_loop2): New.
+ * w32/main.c (w32_strerror) [W32CE]: Do not use FormatMessage.
+ (main) [W32CE]: Do not use LockSetForegroundWindow.
+ (set_dlg_item_text): Use wchar_t for static string.
+ * secmem/util.c [W32CE]: Do not include errno.h.
+ (xwrite) [W32CE]: Shortcut EINTR loop.
+
+2010-04-07 Werner Koch <wk@g10code.com>
+
+ * autogen.sh: Modernized.
+
+2010-03-03 Werner Koch <wk@g10code.com>
+
+ Release 0.8.0.
+
+2010-03-02 Werner Koch <wk@g10code.com>
+
+ * qt4/main.cpp (from_utf8): Add extra braces for clarity.
+ (main): Copy the fixed --display string.
+
+2010-02-25 Marc Mutz <marc@kdab.com> (wk)
+
+ * qt4/main.cpp (from_utf8): don't throw InvalidUtf8(); for now,
+ fall back to QString::fromLocal8Bit()
+
+2010-02-22 Marc Mutz <marc@kdab.com> (wk)
+
+ * qt4/main.cpp (InvalidUtf8): New exception class.
+ (from_utf8): wrapper around QString::fromUtf8 throwing
+ InvalidUtf8.
+ (qt_cmd_handler): Use from_utf8 instead of QString::fromUtf8.
+ (qt_cmd_handler_ex): New wrapper around qt_cmd_handler.
+ (pinentry_cmd_handler): Use qt_cmd_handler_ex.
+
+ * qt4/main.cpp (qt_cmd_handler): Also handle accels in
+ SET{OK,NOTOK,CANCEL} string.
+
+2010-02-19 Marc Mutz <marc@kdab.com> (wk)
+
+ * qt4/main.cpp (qt_cmd_handler), qt4/pinentrydialog.cpp
+ (PinentryDialog::PinEntryDialog): Use the button icons that come
+ with Qt.
+
+ * qt4/pinentry_qrc, qt4/qrc_pinentry.cpp: New.
+ * qt4/gtk-cancel.png, qt4/gtk-ok.png: Removed.
+ * qt4/Makefile.am (EXTRA_DIST): Remove the GTK icons, add
+ pinentry.qrc.
+ (pinentry_qt4_SOURCES): add qrc_pinentry.cpp.
+
+ * qt4/main.cpp (qt_cmd_handler): Remove i18n support again.
+
+ * qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog):
+ set PIN entry field as buddy of its prompt
+
+ * qt4/main.cpp (escape_accel): New.
+ (qt_cmd_handler): use it on default_cancel, default_ok, prompt.
+
+ * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp
+ (PinEntryDialog::PinEntryDialog): don't use a nested vbox layout.
+
+ * qt4/pinentrydialog.h: replace include file with forward decl.
+ * qt4/pinentrydialog.cpp: add include file here.
+
+ * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp
+ (PinentryDialog::keyPressEvent()): Removed.
+
+ * qt/4pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): use
+ QLayout::SetFixedSize instead of rolling our own solution.
+ * qt4/pinentrydialog.h: (PinentryDialog::setFixedSize): Removed.
+ * qt4/pinentrydialog.moc: Re-created.
+
+ * qt4/main.cpp: (qt_cmd_handler) make Cancel the default button
+ for CONFIRM
+
+ * qt4/main.cpp: (qt_cmd_handler) implement the confirm/message
+ logic correctly
+
+ * qt4/pinentrydialog.h (accepted, rejected): Removed; already
+ provided by base class.
+ * qt4/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Use
+ QDialog::{accepted,rejected}.
+ * qt4/pinentrydialog.moc: Re-created.
+
+ * qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: Make compatible
+ with newer Qt version.
+
+2010-02-19 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/pinentry-gtk-2.c (create_window): Allow mnemonics in
+ button labels.
+
+ * pinentry/pinentry.h (struct pinentry): Add default_prompt.
+ * pinentry/pinentry.c (option_handler): Support "default-prompt".
+ (cmd_getpin): Use it.
+ (noprefix_strdup): Remove; should be done by caller.
+
+2010-02-17 Werner Koch <wk@g10code.com>
+
+ * pinentry/pinentry.h (struct pinentry): Add default_ok and
+ default_cancel.
+ * pinentry/pinentry.c (noprefix_strdup): New.
+ (option_handler): Support "default-ok" and "default-cancel".
+ (strcpy_escaped): Change second arg from unsigend char to char.
+
+2010-02-16 Werner Koch <wk@g10code.com>
+
+ * qt4/document-encrypt.png, qt4/gtk-cancel.png, qt4/gtk-ok.png: New.
+ * qt4/Makefile.am (EXTRA_DIST): Add them.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk)
+
+ Also attributed to Marc Mutz <marc@kdab.com>.
+
+ * qt4/main.cpp, qt/pinentrydialog.cpp: If the style says so,
+ set (GTK) icons on OK and Cancel buttons.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk)
+
+ * qt4/main.cpp: Use an explicit QMessageBox instead of the
+ 'information' convenience method. We do this for two reasons:
+ 1. So we can set our own icon (icon()). 2. So we can call our
+ raiseWindow() function on it.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com>
+
+ * qt4/main.cpp: Use title. Use Qt translation of "OK" and "Cancel"
+
+ * qt4/pinentrydialog.cpp: Don't show the question-mark icon in the
+ window title.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk)
+
+ * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp: Use the
+ document-encrypt icon instead of the
+ QMessageBox::{Information,Critical} ones.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk)
+
+ Also attributed to Marc Mutz <marc@kdab.com>.
+
+ * qt4/pinentrydialog.cpp: Properly show/hide optional widgets.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com>
+
+ * qt4/pinentrydialog.cpp: Set text color or error label to red.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk)
+
+ Also attributed to Marc Mutz <marc@kdab.com>.
+
+ * qt4/pinentrydialog.cpp: Gather scattered layouting code, use a
+ single gridlayout for all, and use QDialogButtonBox.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk)
+
+ * qt4/pinentrydialog.cpp: Call SetForegroundWindow on showEvent()
+ and set a fixed size on the dialog.
+
+ * qt4/main.cpp: Set document-encrypt as the window icon.
+
+2010-02-15 Marc Mutz <marc@kdab.com> (wk)
+
+ * qt4/main.cpp: Load the correct Qt translation file based on
+ either lc_messages or the current locale.
+
+ * qt4/main.cpp: Use pinentry_t->parent_wid also for message-box
+ case.
+
+ * qt4/main.cpp: Properly delete the QApplication.
+
+2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk)
+
+ * qt4/main.cpp: Remove guard clause with impossible condition.
+
+ * qt4/main.cpp: Respect pinentry_t->title.
+
+ * qt4/main.cpp: Include config.h.
+
+2009-12-16 Marcus Brinkmann <marcus@g10code.de>
+
+ * gtk+-2/gtksecentry.c: Don't translate properties.
+ Patch by Guido Guenther <agx@sigxcpu.org>.
+
+2009-12-02 Werner Koch <wk@g10code.com>
+
+ * secmem/util.c: Re-indent function names.
+ (TEMP_FAILURE_RETRY): Remove because it is non-portable.
+ (xwrite): Open code the EINTR retry.
+ * pinentry/pinentry-curses.c (dialog_run): Replace '\e' by a
+ standard escape. Reported by Wyllys Ingersoll.
+
+2009-08-10 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.c [!ENABLE_ENHANCED]: Remove option enhanced.
+ * pinentry/pinentry.h (struct pinentry) [!ENABLE_ENHANCED]: Remove
+ member enhanced.
+ * gtk+-2/pinentry-gtk-2.c: New macro.
+ (button_clicked, create_window) [!ENABLE_ENHANCED]: Disable code.
+ * gtk/pinentry-gtk.c (button_clicked, create_window): Likewise.
+ * doc/pinentry.texi (Using pinentry): Comment out enhanced option.
+
+2009-07-10 Till Adam <till@kdab.com>
+
+ * qt4/pinentrydialog.cpp (PinEntryDialog): Redesign the dialog to
+ be prettier.
+
+2009-06-19 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Post-release changes.
+
+ Release version 0.7.6.
+
+ * configure.ac: Bump version.
+
+2009-01-29 Bernhard Reiter <bernhard@intevation.de>
+
+ * doc/pinentry.texi (Using pinentry): Fix typo.
+
+2009-04-24 Guido Guenther <agx@sigxcpu.org>
+
+ * gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Don't
+ install "gtk-entry-select-on-focus" settings property since it
+ clashes with the one from GtkEntry.
+ (gtk_secure_entry_grab_focus): Create a temporary GtkEntry widget
+ to read that value instead. Allows to have GtkEntry and
+ GtkSecureEntry in the same process.
+
+2009-06-19 Marcus Brinkmann <marcus@g10code.de>
+
+ Suggested by Simon McVittie:
+ * gtk+-2/gtksecentry.c (g_malloc, g_realloc, g_free): Renamed to
+ secentry_malloc, secentry_realloc.
+ (g_malloc0): Removed.
+ (GMALLOC_SIZE): Move to ...
+ * gtk+-2/gtksecentry.h (GMALLOC_SIZE): ... here.
+ (secentry_malloc, secentry_realloc, secentry_free): New prototypes.
+ * gtk+-2/pinentry-gtk-2.c (main): Set memory allocation vtable.
+
+2009-05-04 Till Adam <till@kdab.net>
+
+ * qt4/main.cpp (qt_cmd_handler): Use WId instead of HWND.
+
+2009-04-14 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.h (struct pinentry): New member NOTOK.
+ Rename member USER_CLOSED to CANCELED.
+ * pinentry/pinentry.c: Add initializer for NOTOK.
+ (register_commands): Add SETNOTOK.
+ * pinentry/pinentry-curses.c (STRING_NOTOK): New macro.
+ (dialog_pos_t): New value DIALOG_POS_NOTOK.
+ (struct dialog): New members notok, notok_x, notok_y.
+ (dialog_create): Implement NOTOK.
+ (dialog_switch_pos): Likewise.
+ (dialog_run): Likewise.
+ * gtk+-2/pinentry-gtk-2.c: Rename confirm_yes to confirm_value.
+ (confirm_value_t): New type. Use it for confirm_value.
+ (window_closed): Remove.
+ (confirm_button_clicked): Set confirm_value.
+ (create_window): Implement NOTOK.
+ (gtk_cmd_handler): Implement cancel behaviour a bit differently.
+
+2009-04-09 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt4/qsecurelineedit.h (QSecureLineEdit): Don't export.
+
+2009-04-06 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Portability fixes.
+
+2009-04-03 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt4/Makefile.am (pinentry_qt4_SOURCES): Add qsecurelineedit_p.h.
+
+ * secmem/Makefile.am (libsecmem_a_SOURCES): Add secmem++.h.
+ * qt4/Makefile.am (pinentry_qt4_SOURCES): Add pinentrydialog.moc
+ and qsecurelineedit.
+
+ * configure.ac: Incorporate revision number in version string.
+
+2009-04-02 Till Adam <till@kdab.net>
+
+ * qt4/qsecurelineedit.moc, qt4/main.cpp, qt4/pinentrydialog.moc,
+ qt4/qsecurelineedit.cpp, qt4/pinentrydialog.cpp,
+ qt4/pinentrydialog.h: Implement quality bar and grabbing.
+
+ * qt4/pinentrydialog.cpp (PinEntryDialog): Enable word wrapping.
+
+2009-04-03 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt4/main.cpp (qt_cmd_handler): Cast window handle ID.
+
+2009-03-19 Werner Koch <wk@g10code.com>
+
+ * pinentry/pinentry.h (struct pinentry): Add field user_closed.
+ * pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message):
+ Reset this field.
+ (cmd_confirm): Return cancel if the user closed the window.
+ * gtk+-2/pinentry-gtk-2.c (window_closed): New.
+ (gtk_cmd_handler, delete_event): Set it.
+
+2009-02-19 Marcus Brinkmann <marcus@g10code.de>
+
+ * secmem/secmem++.h: New file.
+ * qt4/Makefile.am, qt4/main.cpp, qt4/pinentrydialog.cpp,
+ qt4/pinentrydialog.h: Changes to use secure memory.
+ * qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: New files.
+ * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h,
+ qt4/qsecurelineedit_p.h, qt4/secstring.h, qt4/secstring.cpp: New
+ files.
+ Submitted by Marc Mutz <marc@kdab.net>.
+
+2008-12-08 Werner Koch <wk@g10code.com>
+
+ * qt/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8.
+ * qt4/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8.
+
+2008-11-12 Ludovic Rousseau <ludovic.rousseau@gmail.com> (wk)
+
+ * pinentry/pinentry.h (struct pinentry): Add field TITLE.
+ * pinentry/pinentry.c (cmd_settitle): New.
+ (register_commands): Add command SETTITLE.
+ * gtk+-2/pinentry-gtk-2.c (create_window): Set the title.
+
+2008-10-17 Werner Koch <wk@g10code.com>
+
+ * secmem/memory.h: Add C++ extern declaration.
+
+ * secmem/secmem.c (secmem_get_max_size): New.
+
+2008-07-25 Marcus Brinkmann <marcus@ulysses.g10code.com>
+
+ * qt4/Makefile.am (DISTCLEANFILES): Rename to CLEANFILES.
+ (BUILD_SOURCES): New.
+
+2008-07-25 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Prefer pinentry gtk2 over gtk. Now also choose
+ qt4 (after qt and before w32 native).
+ * README: Document Qt.
+
+2008-07-24 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp, qt4/main.cpp,
+ qt4/Makefile.am: New files.
+ * configure.ac: Add check for Qt4.
+ (AC_CONFIG_FILES): Add qt4/Makefile.am.
+ * Makefile.am (pinentry_qt4): New variable.
+ (SUBDIRS): Add ${pinentry_qt4}.
+
+2008-07-23 Werner Koch <wk@g10code.com>
+
+ * secmem/secmem.c (secmem_init): Fix apostrophe in error
+ message. Reported by Petr Uzel.
+
+2008-05-05 Marcus Brinkmann <marcus@ulysses.g10code.com>
+
+ * gtk+-2/gtksecentry.c (GMALLOC_SIZE): New symbol.
+ (g_malloc, g_malloc0, g_realloc): Use GMALLOC_SIZE instead of
+ gulong for size attribute.
+
+2008-03-03 Marcus Brinkmann <marcus@g10code.de>
+
+ * gtk+-2/pinentry-gtk-2.c (create_window): Install realize callback.
+ (ungrab_keyboard): Unmake dialog transient.
+ (make_transient): New function.
+ Submitted by Joachim Breitner.
+
+2008-02-15 Werner Koch <wk@g10code.com>
+
+ Release 0.7.4.
+
+2008-02-14 Werner Koch <wk@g10code.com>
+
+ * configure.ac: Check for -Wno-pointer-sign.
+
+ * pinentry/pinentry.c (cmd_getinfo): New.
+ (register_commands): Register it.
+
+2008-01-02 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Use PKG_CONFIG instead of PKGCONFIG and
+ pkg-config. Use AC_PATH_PROG instead of AC_CHECK_PROG.
+
+ * Makefile.am (install-exec-local): Add exe extension to link.
+
+2007-11-29 Marcus Brinkmann <marcus@g10code.de>
+
+ Released 0.7.4.
+
+2007-11-19 Werner Koch <wk@g10code.com>
+
+ * doc/pinentry.texi (Protocol): Typo fixes by Bernhard Herzog.
+ Describe SETQUALITYBAR_TT.
+
+2007-11-19 Bernhard Herzog <bernhard.herzog@intevation.de> (wk)
+
+ * qt/pinentrydialog.cpp (PinEntryDialog): Fixed crash
+
+2007-11-19 Werner Koch <wk@g10code.com>
+
+ * gtk+-2/pinentry-gtk-2.c (create_window): Use again map-event and
+ unmap-event as this works on my setup far more reliable than
+ expose-event/no-expose-event.
+
+ * gtk+-2/gtksecentry.c (get_cursor_time): s/time/blinktime/ t
+ avoid shadowing warning.
+
+ * pinentry/pinentry.h (struct pinentry): Change QUALITY_BAR to a
+ char ptr.
+ (struct pinentry): Add QUALITY_BAR_TT.
+ * pinentry/pinentry.c (cmd_setqualitybar): Allow to set a label text.
+ (cmd_setqualitybar_tt): New.
+ * gtk+-2/pinentry-gtk-2.c (create_window): Take label and tooltip
+ from global.
+ * qt/pinentrydialog.h (setQualityBar, setQualityBarTT)
+ (_quality_bar_label): New.
+ * qt/pinentrydialog.cpp (setQualityBar, setQualityBarTT): New.
+ (PinEntryDialog): Remove setting of tooltip.
+
+ * qt/main.cpp (qt_cmd_handler): Propagate quality bar label and tootip.
+
+2007-11-19 Bernhard Herzog <bernhard.herzog@intevation.de> (wk)
+
+ * qt/pinentrydialog.cpp (PinEntryDialog): Move the quality bar
+ below the text entry and align them properly. Show a tooltip.
+ * gtk+-2/pinentry-gtk-2.c (create_window): Ditto. Don't let it
+ change its height.
+ (QUALITYBAR_EMPTY_TEXT): New.
+
+2007-09-18 Werner Koch <wk@g10code.com>
+
+ * qt/secqlineedit.h (SecQLineEdit): New signal textModified.
+ * qt/secqlineedit.cpp (finishChange): Emit it.
+ * qt/pinentrydialog.cpp (setPinentryInfo): New.
+ (PinEntryDialog): Add arg ENABLE_QUALITY_BAR.
+ * qt/pinentrydialog.h (setPinentryInfo): New.
+ (PinEntryDialog): Add arg ENABLE_QUALITY_BAR.
+
+ * pinentry/pinentry.h (struct pinentry): Add member QUALITY_BAR
+ and CTX_ASSUAN.
+ * pinentry/pinentry.c (cmd_setqualitybar): New.
+ (copy_and_escape): New.
+ (pinentry_inq_quality): New.
+
+2007-07-09 Werner Koch <wk@g10code.com>
+
+ * doc/pinentry.texi: Fixed direntry syntax.
+
+ * configure.ac: Add --without-libcap. From the Gentoo patch archive.
+
+ * gtk+-2/pinentry-gtk-2.c (create_window): Use expose-event
+ instead of map-event. From Alon Bar-Lev.
+
+2007-07-06 Werner Koch <wk@g10code.com>
+
+ Released 0.7.3.
+
+ * config.sub, config.guess: Updated from current Savannah CVS.
+
+2007-06-27 Werner Koch <wk@g10code.com>
+
+ * w32/main.c: Revamped the SetFocus stuff. It is all not that easy.
+
+2007-06-26 Werner Koch <wk@g10code.com>
+
+ * w32/Makefile.am (pinentry_w32_LDFLAGS): Add -mconsole again.
+
+ * w32/main.c (dlg_proc): Set focus.
+ (resize_button): New. No code yet.
+ (dlg_proc): Call it for the buttons.
+ (w32_cmd_handler): Restore old foreground window.
+
+2007-06-20 Werner Koch <wk@g10code.com>
+
+ * w32/Makefile.am (pinentry_w32_LDFLAGS): Remove -mconsole.
+
+ * w32/main.c (wchar_to_utf8): New.
+ (ok_button_clicked): Use it.
+ (utf8_to_wchar): New.
+ (set_dlg_item_text): New.
+ (dlg_proc): Use new function so that we are able to correctly
+ display all prompts.
+ (main): Load LockSetForegroundWindow.
+ (dlg_proc): Call LockSetForegroundWindow via its fnc ptr.
+ (center_window): New. Taken from GPGol.
+ (dlg_proc): Call it.
+ (w32_cmd_handler): Revamped the confirm mode.
+
+2007-06-18 Werner Koch <wk@g10code.com>
+
+ * w32/main.c (dlg_proc): Call LockSetForegroundWindow.
+
+ * Makefile.am (signed-dist, %.sig): Remove.
+
+ * autogen.sh: Modernized.
+
+2007-05-10 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.h (pinentry_color_t): New type.
+ (struct pinentry): New members COLOR_FG, COLOR_FG_BRIGHT,
+ COLOR_BG, COLOR_SO.
+ * pinentry/pinentry.c (pinentry_parse_opts): Support new option --colors.
+ (parse_color): New function.
+ * pinentry/pinentry-curses.c (USE_COLORS): New macro.
+ (pinentry_color): New static variable.
+ (dialog_create): Redo color management.
+
+ * pinentry/pinentry-curses.c (dialog_create): Re-add calculation
+ of cancel button position. Adjust calculation of OK button
+ position if it is the only one used.
+
+2007-04-13 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt/secqlineedit.h (SecQLineEdit::contextMenuEvent,
+ SecQLineEdit::createPopupMenu): Remove prototype.
+ * qt/secqlineedit.cpp (SecQLineEdit::contextMenuEvent,
+ SecQLineEdit::createPopupMenu): Remove implementation.
+ Submitted by Tobias Koenig <tokoe@kde.org>.
+
+2007-02-14 Werner Koch <wk@g10code.com>
+
+ * pinentry/pinentry.h (struct pinentry): Add TOUCH_FILE.
+ * pinentry/pinentry.c (option_handler): New option "touch-file".
+ (pinentry_have_display): Ignore an empty DISPLAY.
+ * pinentry/pinentry-curses.c (do_touch_file): New.
+ (curses_cmd_handler): Call it.
+ * configure.ac: Check for utime.h.
+
+2007-01-24 Werner Koch <wk@g10code.com>
+
+ * pinentry/pinentry.c (cmd_message): New.
+ (cmd_confirm): New command option --one-button.
+ (cmd_getpin): Zeroise ONE_BUTTON.
+ * pinentry/pinentry.h (struct pinentry): Add field ONE_BUTTON.
+ * gtk/pinentry-gtk.c (create_window): Take care of new option.
+ * gtk+-2/pinentry-gtk-2.c (create_window): Ditto.
+ * pinentry/pinentry-curses.c (dialog_create): Ditto.
+ (dialog_create, dialog_switch_pos): Allow CANCEL to be optional.
+
+2006-07-29 Marcus Brinkmann <marcus@g10code.de>
+
+ * secmem/secmem.c (init_pool): Close FD after establishing the
+ mapping.
+
+2005-09-28 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac (PINENTRY_GTK): Error out if iconv is not found but
+ needed.
+
+ * config.rpath: New file from gettext. Needed by iconv.m4.
+
+2005-07-11 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry-curses.c (dialog_switch_pos): Set the cursor
+ state to invisible before moving around. Move the cursor to the
+ beginning of the dialog buttons for accessibility.
+
+2005-06-16 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry-curses.c (dialog_run): Only convert pin if a
+ pin actually exists.
+
+2005-01-27 Werner Koch <wk@g10code.com>
+
+ Released 0.7.2.
+
+ * gtk+-2/Makefile.am: Removed padlock-keyhole.xpm.
+
+ * configure.ac: Use AC_GNU_SOURCE instead of the custom define.
+ Prefer gtk2 pinentry over qt.
+
+2005-01-21 Marcus Brinkmann <marcus@g10code.de>
+
+ * doc/pinentry.texi: Fix spelling errors.
+ Submitted by Ville Skyttä.
+
+2004-12-23 Werner Koch <wk@g10code.com>
+
+ * w32/pinentry-w32.rc: Remove the default texts for description,
+ prompt and error. Make it system modal. Enlarge the description
+ field.
+
+2004-12-22 Timo Schulz <twoaday@g10code.com>
+
+ * w32/main.c: Remove all helper functions and use a callback
+ to set the dialog items directly.
+ (dlg_proc): Set 'result' to -1 to indicate cancel.
+ (ok_button_clicked): Adjusted. Set 'result' to the len of
+ the PIN to indicate success.
+
+2004-12-22 Werner Koch <wk@g10code.com>
+
+ * w32/main.c: Simplified.
+ * w32/dialog.h, w32/dialog.c, w32/controller.h, w32/controller.c:
+ Removed
+
+ * w32/resource.h, w32/pinentry-w32.rc, w32/main.c, w32/dialog.h
+ * w32/dialog.c, w32/controller.h, w32/controller.c
+ * w32/Makefile.am: New. Based on Timo's work.
+
+ Update to automake 1.9.
+
+ * autogen.sh (configure_ac): Add --build-w32 option.
+ * Makefile.am: Support for the W32 pinentry.
+ * configure.ac: Ditto. Reformatted some error messages.
+ Define the usual conditionals for W32.
+ Check for a couple of more usually required headers.
+
+ * pinentry/pinentry.h (sleep) [W32]: New.
+
+ * pinentry/pinentry.c: Include langinfo.h only if available.
+ (pinentry_loop) [DOSISH]: Don't do uid check.
+
+ * secmem/util.c [DOSISH]: Disable UID stuff.
+
+2004-09-27 Marcus Brinkmann <marcus@g10code.de>
+
+ * acinclude.m4 (IU_LIB_NCURSES, IU_LIB_CURSES, IU_LIB_TERMCAP):
+ Moved to m4/curses.m4.
+ (AM_ICONV): Moved to m4/iconv.m4.
+ (AM_PATH_GLIB): Moved to m4/glib.m4.
+ (QT_FIND_FILE, QT_PATH_MOC, QT_PATH_X, QT_PRINT_PROGRAM,
+ QT_CHECK_VERSION, QT_PATH_1_3, QT_PATH, QT_CHECK_COMPILER_FLAG,
+ QT_REMOVE_FORBIDDEN, QT_VALIDIFY_CXXFLAGS, QT_CHECK_COMPILERS,
+ QT_CHECK_RPATH, QT_CHECK_LIBPTHREAD, QT_CHECK_PTHREAD_OPTION,
+ QT_CHECK_THREADING): Move to m4/qt.m4.
+
+2004-09-21 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt/Makefile.am (pinentry_qt_LDFLAGS): Add $(QT_RPATH).
+ Requested by Leo Savernik <l.savernik@aon.at>.
+
+2004-09-02 Marcus Brinkmann <marcus@g10code.de>
+
+ * gtk+-2/padlock-keyhole.xpm: File removed.
+ * gtk+-2/pinentry-gtk-2.c (create_window): Use stock icon.
+ * gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c: Fix copyright notice.
+
+ Submitted by Albrecht Dress albrecht.dress@arcor.de.
+
+2004-08-17 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Invoke AC_PROG_LN_S.
+ (PINENTRY_DEFAULT): New variable. Substitute it. Fail if no
+ default can be determined.
+ * Makefile.am (install-exec-local): Install pinentry default link.
+
+ * configure.ac: Check for Gtk+-2.
+ * gtk+-2: New directory with gtk+-2 pinentry.
+ * gtk+-2/Makefile.am, gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c,
+ gtk+-2/pinentry-gtk-2.c, gtk+-2/padlock-keyhole.xpm: New files.
+ * Makefile.am (pinentry_gtk_2): New variable.
+ (SUBDIRS): Add pinentry_gtk_2.
+
+ Submitted by Albrecht Dress albrecht.dress@arcor.de.
+
+2004-08-04 Werner Koch <wk@g10code.de>
+
+ * pinentry/pinentry.c (usage): Print help to stdout.
+
+2004-07-30 Moritz Schulte <moritz@g10code.com>
+
+ * qt/Makefile.am (ncurses_include): Removed
+ -I$(top_srcdir)/pinentry ...
+ (AM_CPPFLAGS): ... added: -I$(top_srcdir)/pinentry. Thanks to
+ Peter Eisentraut.
+
+ * pinentry/pinentry.c (pinentry_utf8_to_local): Declare INPUT
+ const.
+ (pinentry_local_to_utf8): Likewise.
+ (pinentry_utf8_to_local, pinentry_local_to_utf8): Compile only, if
+ either Curses or GTK+ support is enabled.
+ * configure.ac: Do also check for libiconv when the GTK+ version
+ of pinentry is to be build. Define PINENTRY_CURSES, PINENTRY_GTK,
+ PINENTRY_QT depending on which versions of pinentry should be
+ build.
+
+2004-05-21 Marcus Brinkmann <marcus@g10code.de>
+
+ * acinclude.m4 (QT_CHECK_DIRECT): Removed.
+ (QT_PATH_1_3): Do never invoke QT_CHECK_DIRECT.
+
+2004-04-21 Werner Koch <wk@gnupg.org>
+
+ Released 0.7.1.
+
+2004-04-20 Werner Koch <wk@gnupg.org>
+
+ * secmem/secmem.c [!ORIGINAL_GPG_VERSION]: Include util.h for some
+ typedefs and protos.
+ (secmem_free, secmem_term): Use wipememory2 instead of memset.
+
+ * autogen.sh (configure_ac): Fixed version check (s/==/=/).
+
+2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de>
+
+ * autogen.sh: Added ACLOCAL_FLAGS.
+
+2004-02-23 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt/main.cpp: Include "pinentry.h", not <pinentry.h>.
+
+2004-01-30 Werner Koch <wk@gnupg.org>
+
+ * configure.ac (fopencookie): Remove that test.
+
+2004-01-28 Moritz Schulte <mo@g10code.com>
+
+ * gtk/gtksecentry.c:
+ (gtk_secure_entry_key_press): Treat GDK_KP_Enter just like
+ GDK_Return.
+
+2004-01-18 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt/secqstring.cpp: Do not include "private/qunicodetables_p.h".
+ (isRightToLeft): De-optimize direction query.
+
+ * qt/secqinternal_p.h, qt/secqinternal.cpp: New files.
+ * qt/Makefile.am (pinentry_qt_SOURCES): Add secqinternal_p.h
+ and secqinternal.cpp.
+ (EXTRA_DIST): Add README.SecQ.
+ * qt/secqlineedit.cpp: Include "secqinternal_p.h".
+ (drawContents): Use SecQSharedDoubleBuffer.
+
+2004-01-02 Werner Koch <wk@gnupg.org>
+
+ * configure.ac: Early check for a c++ compiler.
+
+2003-12-23 Werner Koch <wk@gnupg.org>
+
+ Released 0.7.0.
+
+ Added Manifest files to all directories.
+
+2003-12-22 Werner Koch <wk@gnupg.org>
+
+ * qt/main.cpp: Include errno.h.
+ (main): Translate the --display option to -display, so that the Qt
+ init code can grasp it.
+
+ * doc/ChangeLog: Removed and merged with this file.
+ * doc/pinentry.texi: Cleaned up.
+ * doc/fdl.texi: Removed.
+
+ * pinentry/pinentry.h (struct pinentry): Added LOCALE_ERR.
+ * gtk/pinentry-gtk.c (button_clicked): Set the LOCAE_ERR flag.
+ * pinentry/pinentry-curses.c (dialog_run): Ditto.
+ * pinentry/pinentry.c (cmd_getpin, cmd_confirm): Check this flag.
+ (pinentry_local_to_utf8): Release the correct buffer in the error
+ case. Print diagnostics.
+ (pinentry_utf8_to_local): Print diagnostics.
+ (pinentry_parse_opts): Make short options work.
+ (pinentry_utf8_to_local): Pass nl_langinfo to iconv_open.
+
+ * gtk/pinentry-gtk.c (button_clicked): Use the right value as
+ input for the conversion.
+
+ * pinentry/pinentry.c: New variable THIS_PGMNAME.
+ (pinentry_init): Add arg PGMNAME and store it. Use it at all
+ marked placed instead of the constant "pinentry".
+ (usage): Use it here too.
+ * curses/pinentry-curses.c (main): Call pinentry_init with our name.
+ * qt/main.cpp (main): Ditto.
+ * gtk/pinentry-gtk.c (main): Ditto.
+
+ * configure.ac: Check for mmap.
+
+ * secmem/util.h (wipememory2,wipememory,wipe): New.
+ * secmem/util.c (wipe): Removed.
+ * secmem/util.c (lower_privs, raise_privs): Commented out.
+
+ * pinentry/pinentry.c (pinentry_loop): Add paranoia check for
+ dropped privs.
+
+ * secmem/secmem.c (lock_pool): Cleanup syntax of cpp directives.
+
+ * gtk/pinentry-gtk.c (main): Print package name in the version line.
+ * curses/pinentry-curses.c (main): Ditto.
+ * qt/main.cpp (main): Ditto. Fixed typo.
+
+ * gtk/pinentry-gtk.c: Include memory.h.
+
+2003-12-20 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.h (struct pinentry): New member PARENT_WID.
+ * pinentry/pinentry.c (pinentry): Add new member here.
+ (usage): Add --parent-wid.
+ (pinentry_parse_opts): Add case for "parent-wid".
+ (option_handler): Same here.
+
+2003-12-19 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.c (cmd_setcancel): Use strcpy_escaped.
+ (cmd_setok): Likewise.
+ (cmd_setprompt): Likewise.
+ (pinentry_utf8_to_local): Don't use
+ nl_langinfo, but just lc_ctype directly.
+ * pinentry/pinentry.c (cmd_getpin): Do not convert passphrase to
+ UTF-8 here.
+ * gtk/pinentry-gtk.c (button_clicked): Convert passphrase to UTF8
+ here.
+ * pinentry/pinentry-curses.c (dialog_run): Likewise.
+
+2003-12-14 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.c (pinentry_init): Register secmem_term as
+ atexit function. Set assuan malloc hooks to secmem.
+ (pinentry_parse_opts): Add break statement to silence gcc warning.
+ * pinentry/pinentry.c (cmd_getpin): If canceled, release and clear
+ PINENTRY->pin nevertheless.
+
+ * acinclude.m4 (qt_incdirs): Add /usr/include/qt3.
+ * qt/Makefile.am (pinentry_qt_SOURCES): Remove cppmemory.h,
+ cppmemory.cpp, pinentrycontroller.h, pinentrycontroller.cpp.
+ (nodist_pinentry_qt_SOURCES): Remove pinentrycontroller.moc.cpp.
+ (libcurses): Move ../pinentry/libpinentry.a from here to ...
+ (pinentry_qt_LDADD): ... here. Change order a bit to make it
+ work.
+ * qt/cppmemory.h, qt/cppmemory.cpp, qt/pinentrycontroller.h,
+ qt/pinentrycontroller.cpp: Files removed.
+ * qt/secqstring.h, qt/secqstring.cpp, secqlineedit.h,
+ secqlineedit.cpp: New files.
+ * qt/Makefile.am (pinentry_qt_SOURCES): Add secqstring.h,
+ secqstring.cpp, secqlineedit.h, and secqlineedit.cpp.
+ (nodist_pinentry_qt_SOURCES): Add secqlineedit.moc.cpp.
+ * qt/main.cpp: Do not include "memory.h" or "secmem-util.h", nor
+ <new> or "pinentrycontroller.h". Include <qapplication.h>,
+ <qmessagebox.h>, <qwidget.h> and "secqstring.h". Always include
+ <pinentry.h>.
+ [USE_KDE]: Remove all instances.
+ (curses_main): Function removed.
+ (my_new_handler): Likewise.
+ (qt_main): Likewise.
+ (qt_cmd_handler): New function.
+ (pinentry_cmd_handler): Define always (to qt_cmd_handler).
+ (main): Rewritten.
+ * qt/pinentrydialog.cpp: Do not include <qlineedit.h>, but
+ "secqlineedit.h".
+ (PinEntryDialog::PinEntryDialog): Make _edit a SecQLineEdit
+ object. Connect accepted SIGNAL to accept SLOT, and rejected
+ SIGNAL to reject SLOT.
+ (PinEntryDialog::setText): Make argument SecQString rather than
+ QString.
+ (PinEntryDialog::text): Likewise for return value.
+ * qt/pinentrydialog.h: Declare SecQString and SecQLineEdit classes.
+ (class PinEntryDialog): Disable property text (for now). Adjust
+ argument of setText and return value of text, as well as type of
+ _edit.
+
+2003-12-09 Werner Koch <wk@gnupg.org>
+
+ * README.CVS: New.
+ * Makefile.am (EXTRA_DIST): Add README.CVS
+ (ACLOCAL_AMFLAGS): New.
+ * configure.ac: Added min_automake_versions.
+ * autogen.sh: Revamped.
+
+2003-04-23 Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
+
+ * configure.ac: Version 0.6.10-cvs
+
+2003-04-23 Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
+
+ * configure.ac: Version 0.6.9
+ * qt/Makefile.am: Added moc files to DISTCLEANFILES
+ * qt/pinentrycontroller.cpp: Don't spew assuan debug stuff out on stderr.
+
+2003-03-26 Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
+
+ * qt/cppmemory.cpp, qt/main.cpp: Only override array allocation
+ operators. This should take care of the reported memory-problems
+ and even make pinentry-qt use a bit less memory.
+
+2003-02-15 Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
+
+ * qt/pinentrydialog.h, qt/pinentrydialog.cpp: Added icons
+ for error/non-error messages.
+
+2003-02-07 Marcus Brinkmann <marcus@g10code.de>
+
+ Released 0.6.8.
+
+2003-02-04 Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
+
+ * qt/main.cpp: Work around '--display' option. This fixes
+ the pinentry-qt problem reported by several people lately.
+
+2003-01-24 Werner Koch <wk@gnupg.org>
+
+ * autogen.sh: Print a hint to use maintainer mode.
+
+2002-12-24 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry-curses.c (collect_line): New function.
+ (COPY_OUT, MAKE_BUTTON): New macros.
+ (dialog_create): Rewrite the initializing code and the description
+ calculation routine with word wrapping.
+
+2002-11-20 Werner Koch <wk@gnupg.org>
+
+ Released 0.6.7.
+
+ * pinentry/pinentry-curses.c (dialog_create): Better truncate
+ lines than to go into an infinite loop. We need to implement word
+ wrap.
+ (dialog_run): Add DIALOG_POS_NONE to switch so prevent a warning.
+
+2002-11-12 Werner Koch <wk@gnupg.org>
+
+ * config.sub, config.guess: Updated from ftp.gnu.org/gnu/config
+ to version 2002-11-08.
+
+2002-11-09 Werner Koch <wk@gnupg.org>
+
+ Released 0.6.6.
+
+2002-11-08 Werner Koch <wk@gnupg.org>
+
+ * pinentry/pinentry-curses.c (convert_utf8_string): Renamed to
+ * pinentry/pinentry.c (pinentry_utf8_to_local): this. Changed
+ callers.
+ (pinentry_local_to_utf8): New.
+ (cmd_getpin): Convert result back to UTF-8.
+ * gtk/pinentry-gtk.c (create_utf8_label): New.
+ (create_window): Use it here to set the prompts.
+
+2002-11-06 Werner Koch <wk@gnupg.org>
+
+ * pinentry/pinentry-curses.c (dialog_run): Fixed retrun value tests
+ for fopen.
+
+2002-11-05 Werner Koch <wk@gnupg.org>
+
+ * secmem/util.c (init_uids): Make it a prototype.
+
+ * gtk/pinentry-gtk.c (enter_callback): Changed argument name to
+ avoid shadowing warning.
+ (create_window): Removed unused variable I.
+ (ok): Not used, commented.
+
+ * pinentry/pinentry.c: Include headers for getpid and sleep
+ prototypes.
+
+ * secmem/util.h: Correctly declare functions taking no args.
+
+ * gtk/pinentry-gtk.c: Move gtk headers to the top to avoid
+ compiler warnings about shadowing index etc.
+
+ * curses/pinentry-curses.c: Include stdio.h for the printf prototype.
+
+ * pinentry/pinentry-curses.c (dialog_switch_pos): Return a value.
+
+ * pinentry/pinentry.c (pinentry_have_display): New.
+ (pinentry_setbufferlen): Must return a value. Fixed documentation.
+ (usage): Print a question mark as a substitue for the program name.
+
+ * gtk/pinentry-gtk.c (main): use it here instead of getenv().
+ * qt/main.cpp (main): Ditto.
+
+2002-10-11 Werner Koch <wk@gnupg.org>
+
+ * configure.ac, Makefile.am: Added doc/ and tests for makeinfo
+
+ * doc/pinentry.texi, doc/Makefile.am: New.
+ * doc/gpl.texi, doc/fdl.texi: Added these standard files.
+
+2002-09-30 Werner Koch <wk@gnupg.org>
+
+ Released 0.6.5.
+
+ * qt/pinentrycontroller.cpp (optionHandler): Make sure that a
+ value is returned.
+ * configure.ac: Use -Wall also for C++.
+
+2002-08-19 Steffen Hansen <steffen@hrhansen.dk>
+
+ * Relased 0.6.4.
+
+2002-08-11 Steffen Hansen <steffen@hrhansen.dk>
+
+ * Adapted pinentry-qt to new CONFIRM spec.
+
+2002-06-26 Werner Koch <wk@gnupg.org>
+
+ Release 0.6.3.
+
+2002-05-24 Werner Koch <wk@gnupg.org>
+
+ * AUTHORS: Added Marcus
+ * README: Fixed spelling of Quintuple-Agent.
+
+2002-05-13 Marcus Brinkmann <marcus@g10code.de>
+
+ Released 0.6.2.
+
+ * configure.ac: Set version number to 0.6.2.
+ * NEWS: Add information for 0.6.2.
+ * README: Update for release.
+
+2002-05-09 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Add option --enable-fallback-curses and bind it to
+ the ncurses check. Add automake conditional
+ BUILD_LIBPINENTRY_CURSES and FALLBACK_CURSES. Add preprocessor
+ symbol FALLBACK_CURSES.
+
+ * curses/Makefile.am (AM_CPPFLAGS): Add $(NCURSES_INCLUDE).
+ (LDADD): Add ../pinentry/libpinentry-curses.a.
+ * curses/pinentry-curses.c: Include "pinentry-curses.h".
+ Moved most of the meat to ...
+ * pinentry/pinentry-curses.c: ... here. New file. Make all
+ functions and global variables static.
+ (dialog_cmd_handler): Rename to ...
+ (curses_cmd_handler): ... this.
+ * pinentry/pinentry-curses.h: New file.
+ * pinentry/Makefile.am (noinst_LIBRARIES)
+ [BUILD_LIBPINENTRY_CURSES]: Add libpinentry-curses.a.
+ (libpinentry_curses_a_SOURCES): New target.
+
+ * gtk/Makefile.am (INCLUDES): Moved all to ...
+ (AM_CPPFLAGS): ... here.
+ [CURSES_FALLBACK]: Define ncurses_include and libcurses.
+ (AM_CPPFLAGS): Add $(ncurses_include).
+ (LDADD): Add $(libcurses).
+ * gtk/pinentry-gtk.c: Rename TIMEOUT to TIME_OUT to avoid conflict
+ with curses.h.
+ [CURSES_FALLBACK]: Include "pinentry-curses.h".
+ (button_clicked): Likewise.
+ (create_window): Likewise.
+ (cmd_handler): Renamed to ...
+ (gtk_cmd_handler): ... this.
+ (pinentry_cmd_handler): Set to gtk_cmd_handler.
+ (main) [CURSES_FALLBACK]: Initialize GTK+ only if environment
+ variable DISPLAY is set, otherwise fall back to curses dialog.
+
+ * pinentry/pinentry.h: Protect against multiple inclusion.
+
+2002-05-09 Marcus Brinkmann <marcus@g10code.de>
+
+ * curses/pinentry-curses.c (dialog_create): Allow multi-line error
+ texts.
+
+ * pinentry/pinentry.c (cmd_seterror): Call strcpy_escaped, rather
+ than strcpy, to allow percent-escaping the error text.
+
+2002-04-25 Steffen Hansen <steffen@hrhansen.dk>
+
+ * pinentry-qt: Use ok and cancel value if
+ provided.
+
+2002-04-25 Marcus Brinkmann <marcus@g10code.de>
+
+ * gtk/pinentry-gtk.c (create_window): Use ok and cancel value if
+ provided.
+
+2002-04-25 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt/pinentrycontroller.h: New members _ok and _cancel.
+ * qt/pinentrycontroller.cpp (registerCommands): Add SETOK and SETCANCEL.
+ (assuanOk): New method.
+ (assuanCancel): Likewise.
+
+2002-04-25 Marcus Brinkmann <marcus@g10code.de>
+
+ * curses/pinentry-curses.c (dialog_create): Grok the new ok and
+ cancel members to set the pbutton texts, rather than parsing the
+ prompt in the confirm case.
+
+ * pinentry/pinentry.h (struct pinentry): Add new members ok and cancel.
+ * pinentry/pinentry.c (register_commands): Add new commands SETOK
+ and SETCANCEL to set button texts.
+ (struct pinentry pinentry): Add initializers for new members.
+ (cmd_setok): New function.
+ (cmd_setcancel): Likewise.
+
+2002-04-24 Marcus Brinkmann <marcus@g10code.de>
+
+ * curses/pinentry-curses.c (dialog_create): Add '<' and '>' around
+ the user provided button texts. Replace sizeof by strlen to fix
+ size calculation of ok and cancel button.
+
+2002-04-23 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.h (struct pinentry): New variables lc_ctype
+ and lc_messages.
+ * pinentry/pinentry.c (usage): New options --lc-ctype and
+ --lc-messages.
+ (pinentry_parse_opts): Likewise.
+ (option_handler): Likewise.
+ (struct pinentry pinentry): New initializers for new members.
+
+ * curses/pinentry-curses.c (convert_utf8_string): New function.
+ (struct dialog): New members ok and cancel.
+ (dialog_create): New variables ERR, DESCRIPTION, ERROR, PROMPT,
+ OK, and CANCEL. Initialize them with the localised versions of
+ the pinentry strings. If in confirm mode, split up the prompt at
+ '|' and use the values as button texts. Use localised strings.
+ (dialog_switch_pos): Use localised strings.
+ (dialog_run): Free dialog strings.
+
+ * acinclude.m4 (AM_ICONV): New check from gettext.
+ * configure.ac: Run AM_ICONV if curses pinentry is build.
+ Don't check for inttypes.h, don't check size of unsigned int or
+ unsigned long.
+ (LIBCAP): Move check to interface independent part.
+
+2002-04-21 Steffen Hansen <steffen@hrhansen.dk>
+
+ * Removed X11 dependency and use Qt for grabbing the keyboard.
+ * Clear the lineedit before asking the user for the PIN.
+
+2002-04-12 Steffen Hansen <steffen@hrhansen.dk>
+
+ * Enable pinentry-qt if Qt is found
+
+2002-04-06 Marcus Brinkmann <marcus@g10code.de>
+
+ * qt: New directory.
+ * qt/Makefile.am, qt/cppmemory.cpp, qt/main.cpp,
+ pinentrycontroller.cpp, qt/pinentrycontroller.h,
+ qt/pinentrydialog.cpp, qt/pinentrydialog.h: New file, copied from
+ kde/.
+ * kde: Directory removed.
+ * kde/Makefile.am, kde/cppmemory.cpp, kde/main.cpp,
+ kde/pinentry.desktop, kde/pinentrycontroller.cpp,
+ kde/pinentrycontroller.h, kde/pinentrydialog.cpp,
+ kde/pinentrydialog.h: Files removed.
+ * acinclude.m4: Removed the KE checks and completely overhauled
+ the Qt checks, putting all Qt checks in their own namespace QT_,
+ and make it declare QT_-prefixed variables for linking and
+ compilation.
+ * configure.ac: Use the new Qt checks instead the KDE checks.
+ Replace "kde" with "qt" everywhere.
+ * Makefile.am: Replace "kde" with "qt" everywhere.
+
+2002-04-06 Marcus Brinkmann <marcus@g10code.de>
+
+ * acinclude.m4: Reworked the Qt and KDE checks, cutting out a lot
+ of dead and not-so-dead wood. Gave all KDE checks proper names.
+ * configure.ac: Use the new names for the KDE checks.
+
+2002-04-06 Marcus Brinkmann <marcus@g10code.de>
+
+ * kde/Makefile.am (EXTRA_DIST): Remove variable.
+ (install-data-local): Remove target.
+ (uninstall-local): Likewise.
+
+2002-04-05 Marcus Brinkmann <marcus@g10code.de>
+
+ Released 0.6.0.
+
+ * configure.ac: Set version number to 0.6.
+ * NEWS: Add information for 0.6.0.
+ * secmem/Makefile.am (libsecmem_a_SOURCES): Replace secmem.h with memory.
+ * kde/Makefile.am (pinentry_kde_SOURCES): Move
+ pinentrydialog.moc.cpp and pinentrycontroller.moc.cpp to ...
+ (nodist_pinentry_kde_SOURCES): ... this new target.
+
+2002-04-05 Marcus Brinkmann <marcus@g10code.de>
+
+ * acinclude.m4: A lot of new checks more or less straight from KDE's
+ admin/acinclude.m4.in.
+ * configure.ac (AC_CANONICAL_HOST): Call that macro.
+ (AC_CHECK_COMPILERS, AC_PATH_KDE): Call those macros if KDE
+ pinentry is enabled.
+ * kde/Makefile.am (CXXFLAGS, XXX_PREFIX, XXX_KDE_DEFINES, LIB_QT,
+ LIB_KDECORE, LIB_KDEUI, KDE_RPATH, MOC, kde_appsdir): Variables removed.
+ (AM_CPPFLAGS): Replace XXX_KDE_DEFINES by all_includes.
+ (pinentry_kde_LDFLAGS): Add all_libraries.
+ * README: Document that automatic check is not possible for KDE.
+
+2002-04-05 Marcus Brinkmann <marcus@g10code.de>
+
+ * curses/pinentry-curses.c (dialog_run): Add handling for TAB key.
+ (dialog_create): New variable description_x. Calculate dimension
+ of multi-line description correctly.
+
+2002-04-04 Marcus Brinkmann <marcus@g10code.de>
+
+ * pinentry/pinentry.h (struct pinentry): New members DISPLAY,
+ TTYNAME and TTYTYPE.
+ * pinentry/pinentry.c (pinentry): Likewise.
+ * pinentry/pinentry.c: Include <string.h>.
+ (usage): Add new options --display,
+ --ttyname and --ttytype.
+ (option_handler): Likewise.
+ (pinentry_parse_opts): Likewise.
+
+ * curses/pinentry-curses.c (dialog_cmd_handler): Use
+ PINENTRY->ttyname and PINENTRY->ttytype.
+
+2002-03-30 Marcus Brinkmann <marcus@g10code.de>
+
+ * acinclude.m4: Add AM_PATH_GLIB and AM_PATH_GTK.
+
+2002-03-29 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac: Choose a more appropriate AC_CONFIG_SRCDIR.
+
+2002-03-29 Marcus Brinkmann <marcus@g10code.de>
+
+ * kde/Makefile.am (pinentry_kde_LDADD): Link with $(LIBCAP).
+ * gtk/Makefile.am (install-exec-local): Moved to ...
+ * Makefile.am (install-exec-local): ... here.
+
+2002-03-29 Marcus Brinkmann <marcus@g10code.de>
+
+ * kde/Makefile.am (kde_appsdir): New variable.
+ * kde/Makefile.am (install-data-local): Use DESTDIR.
+ (uninstall-local): Likewise.
+
+2002-03-29 Marcus Brinkmann <marcus@g10code.de>
+
+ Merge of the gpinentry and curses pinentry program into the
+ pinentry distribution. For this, the structure of the repository
+ has been thoroughly overhauled. Some of the changes:
+ * secmem: New directory with secure memory allocation code.
+ * pinentry: New directory with pinentry support library.
+ * curses: New directory with curses frontend.
+ * gtk: New directory with GTK+ frontend.
+ * kde: New directory with only the core of the old kpinentry program.
+ * admin: Directory removed.
+ * po: Directory removed.
+ * kpinentry: Directory removed.
+ * doc: Directory removed.
+ * jnlib: Directory removed.x
+
+ The changes in more detail:
+ * AUTHORS: Add authors of other pinentry frontends.
+ * ChangeLog: Add the one from gpinentry.
+ * Makefile.am: Completely rewritten.
+ * README: Add content.
+ * TODO: Add content.
+ * NEWS: New file from gpinentry.
+ * THANKS: New file from gpinentry.
+ * acinclude.m4: New file.
+ * configure.ac: New file which configures for all frontends.
+ * curses/Makefile.am, curses/pinentry-curses.c: New files for
+ curses frontend.
+ * gtk/Makefile.am, gtk/gtksecentry.c, gtk/gtksecentry.h,
+ gtk/pinentry-gtk.c: New files, modified from gpinentry, for GTK+
+ frontend.
+ * kde/Makefile.am, kde/cppmemory.cpp, kde/main.cpp,
+ kde/pinentry.desktop, kde/pinentrycontroller.cpp,
+ kde/pinentrycontroller.h, kde/pinentrydialog.cpp,
+ kde/pinentrydialog.h: New files, modified from kpinentry, for KDE
+ frontend.
+ * pinentry/Makefile.am, pinentry/pinentry.c, pinentry/pinentry.h:
+ New files containing pinentry support library, partly factored out
+ from gpinentry.
+ * secmem/Makefile.am, secmem/memory.h, secmem/secmem-util.h,
+ secmem/secmem.c, secmem/util.c, secmem/util.h: New files
+ containing secure memory allocation code common to all pinentry
+ frontends.
+ * Makefile.dist, acconfig.h, configure.files, configure.in.in:
+ Files removed in favor of new configure.ac.
+ * pinentry.lsm: Removed file never used.
+ * stamp-h.in: Removed generated file.
+ * admin/ChangeLog, admin/Makefile.common, admin/acinclude.m4.in,
+ admin/am_edit, admin/am_edit.py, admin/conf.change.pl,
+ admin/config.guess, admin/config.pl, admin/config.sub,
+ admin/configure.in.min, admin/debianrules, admin/depcomp,
+ admin/install-sh, admin/libtool.m4.in, admin/ltcf-c.sh,
+ admin/ltcf-cxx.sh, admin/ltcf-gcj.sh, admin/ltconfig,
+ admin/ltmain.sh, admin/missing, admin/mkinstalldirs, admin/ylwrap:
+ Removed KDE build suite in favor of configure.ac.
+ * doc/Makefile.am, doc/en/Makefile.am, doc/en/index.docbook:
+ Removed files never used.
+ * jnlib/ChangeLog, jnlib/Makefile.am, jnlib/argparse.c,
+ jnlib/argparse.h jnlib/dotlock.c, jnlib/dotlock.h,
+ jnlib/libjnlib-config.h, jnlib/logging.c, jnlib/logging.h,
+ jnlib/mischelp.h, jnlib/stringhelp.c, jnlib/stringhelp.h,
+ jnlib/strlist.c, jnlib/strlist.h, jnlib/types.h, jnlib/xmalloc.c,
+ jnlib/xmalloc.h: Removed files no longer used.
+ * kpinentry/Makefile.am, kpinentry/cppmemory.cpp,
+ kpinentry/cppmemory.h, kpinentry/i18n.h, kpinentry/main.cpp,
+ kpinentry/memory.h, kpinentry/pinentry.desktop,
+ kpinentry/pinentrycontroller.cpp, kpinentry/pinentrycontroller.h,
+ kpinentry/pinentrydialog.cpp, kpinentry/pinentrydialog.h,
+ kpinentry/secmem.cpp, kpinentry/util.cpp, kpinentry/util.h:
+ Removed files in favor of new files in kde/.
+ * po/Makefile.am, po/pinentry.pot: Removed files never used.
+
+ * autogen.sh: New file.
+
+2002-03-04 Werner Koch <wk@gnupg.org>
+
+ * gpinentry.c (enter_callback): New
+ (create_window): Connect it to the entry field.
+
+2002-02-18 Werner Koch <wk@gnupg.org>
+
+ Released 0.5.1.
+
+ * gpinentry.c (create_window): Add CONFIRM_MODE.
+ (cmd_confirm): Implemented.
+
+ * assuan/: Updated from NewPG.
+
+2002-01-20 Werner Koch <wk@gnupg.org>
+
+ * gpinentry.c (option_handler): New to allow changing of the grab
+ status.
+ (grab_keyboard): Shortcut this when global grab is not set.
+
+2002-01-04 Werner Koch <wk@gnupg.org>
+
+ Released 0.5.0.
+
+ * configure.ac: Bumbed version
+
+ * util.h (xtoi_1, xtoi_2): New.
+ * gpinentry.c (strcpy_escaped): New
+ (cmd_setdesc, cmd_seterror): Use it here to allo multiline texts.
+
+ * gpinentry: Removed debugging outbut
+ (create_window): Tweaked layout.
+
+2001-12-07 Werner Koch <wk@gnupg.org>
+
+ New package gpinentry based on quintuple-agent.
+
+ Removed all stuff except for the basic configuration stuff and
+ what is needed to build gpinentry. Also removed i18n support.
+ * gpinentry.c: Renamed from secret-query.c
+
+2001-02-12 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * 1.0.0 released. Woo-hoo!
+
+ * configure.in, NEWS: Bumped version.
+
+2001-02-04 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * agent.c (make_tmpdir): Honor $TMPDIR.
+
+ (agent): Would exit on every minor problem. Now, we just close the
+ offending connection.
+ Ignore SIGPIPE, so that EPIPE will close connection.
+
+2001-01-11 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secmem.c: Move one include statement so that the thing compiles.
+
+ * secret-query.c (main): Minor source cosmetics.
+
+2000-11-16 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * gtksecentry.c (gtk_secure_entry_insert_text): Secured a couple
+ of memory (de)allocations that were missed. Thanks to John Steele
+ <jhs28@eng.cam.ac.uk> for spotting these.
+
+2000-11-10 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * Thoughts: Removed in favor of new TODO.
+
+ * README: Remove content and refer to doc/manual.info instead.
+
+ * agent.c (do_get): Would burn badly on a premature exit of the
+ query program (which would occur routinely if you selected /cancel/).
+
+2000-10-25 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * memory.h: Include sys/types.h for size_t.
+
+2000-10-08 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * README: Removed apology about missing documentation.
+ Updated paragraph about Linux capability patch.
+ Typo & Refill.
+
+2000-10-03 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * 0.9 released.
+
+ * Makefile.am (EXTRA_DIST): Distribute BUGS (the file, that is).
+
+ * configure.in, NEWS: Bumped version.
+
+ * Makefile.am, configure.in: Add debian subdir.
+
+ * README: Recommend GTK+.
+ Update list of checked platforms.
+
+2000-10-02 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secret-query.c (ok): Simplify.
+ Put empty line between headers and secret.
+ (usage): Document '--help' and '--version'.
+
+ * agent.c (do_get): Use enhanced secret-query output to fill in
+ options.
+
+2000-10-01 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secret-query.c (main): Clarify error.
+
+ * client.c (query_options): New global variable.
+ (main): New option '--query-options' to pass options to the query
+ program.
+ (xgetpass): Use it.
+
+ * agent.c (main): New option '--query-options' to pass options to
+ the query program.
+ (do_get): Use 'query_options'.
+
+ * acconfig.h, configure.in: Add QUERY_PROGRAM definition.
+ * client.c: Remove here.
+ * agent.c (do_get): Use it here, too.
+
+ * secret-query.c (main): New option '--no-global-grab' introduced,
+ that prevents keyboard grabbing unless the window has focus.
+
+2000-09-11 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secret-query.c (usage): Add two missing pieces of "\n\".
+
+ * agent.c (main): --nofork is now the default, and the option is
+ deprecated. New option --fork added to turn forking on again.
+ Close stdout (and stderr unless debugging) even when not forking,
+ so that normal usage inside eval is still possible.
+ (agent): Exit gracefully on HUP, so that logging out now kills the
+ agent.
+
+ * README (Contact Information): Old URL - duh!
+ (Using Secret Agent): We no longer fork per default.
+
+ * Makefile.am (lib/libutil.a): New target, allows targets that not
+ automatically recurse (but still depend on libutil.a) to succeed.
+
+2000-07-20 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secret-query.c (usage): New function.
+ (main): Parse options: debug, enhanced, help, version.
+ Turn on locale support.
+ If enhanced, insert widgets to ask for timeout and insurance.
+ (ok): If enhanced, print more information on exit.
+ (grab_keyboard): Die if grab was unsuccessful.
+
+2000-05-31 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * 0.8 released.
+
+ * configure.in, NEWS: Bumped version.
+
+ * Makefile.am (SUBDIRS): Include doc.
+
+ * configure.in, acconfig.h: Check for ssize_t.
+ Check for vsnprintf(), strdup().
+ Generate doc/Makefile.
+
+ * apgp.c, agpg.c, agentlib.c, util.c: Include more stuff.
+
+ * agent.c (do_get): Use asprintf() instead of snprintf() so we
+ don't need to roll our own for yet another function.
+ Fix some includes.
+
+ * acinclude.m4: gettext macros copied from automake and fixed.
+
+2000-05-30 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in, Makefile.am: Properly include doc subdir.
+
+2000-05-29 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in, acconfig.h: Add test for XMESSAGE path.
+
+ * client.c (main): Decode command from string to integer code
+ first, then evaluate that in ifs.
+
+ * secret-ask.c: New file, external ask-for-confirmation utility.
+
+ * configure.in, Makefile.am: Add secret-ask to programs being
+ built when GTK is available. Rename QUERY to more descriptive
+ GTK_PROGRAMS.
+
+ * agent.c (do_get): If GTK is available, try executing secret-ask
+ first.
+ Only put the comment into the insure-question if there is a
+ comment.
+ (main): --csh was missing from usage message.
+
+2000-04-23 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secret-query.c (constrain_size): Lower window max_width to
+ accommodate bugs in GTK and Scwm.
+
+ * agent.c (main): Set x_enabled if X appears to be available.
+ Use it to selectively make FLAGS_INSURE supported.
+ (do_get): Use it instead of testing at every call.
+ (do_put): Requests containing unsupported flags fail.
+ (forget_old_stuff): Would not set next_deadline correctly.
+ (do_get): Implement FLAGS_INSURE.
+
+ * client.c (main): "list" format changed so that comment is to the
+ far right. Display the deadline as proper date/time, too.
+
+1999-11-11 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * agent.c (next_deadline): New global variable, holds time when
+ next secret has to be killed.
+ (store): Keep it up-to-date.
+ (forget_old_stuff): New function, reaps secrets ready to kill,
+ keeps next_deadline updated.
+ (agent): Use it on all secrets, whenever a deadline is active.
+
+1999-11-08 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * agent.h (request_put): Add flags, deadline. Increase REQUEST_MAGIC.
+ (reply_get): Ditto, and increase REPLY_MAGIC.
+ * agent.c (store): Store flags, deadline in reply.
+ (do_put): Hand flags, deadline from request on to store().
+ (do_get): Store on-demand queried secrets without deadline or
+ special flags, for now.
+ (agent): Do not ignore obsolete clients, return an error reply.
+ * agentlib.c (agent_put): Add flags, deadline arguments, and copy
+ them into the request.
+ * agentlib.h (agent_put): Update prototype.
+* * client.c (main): Added --time-to-live (-t) and --insure (-i)
+ options, influencing PUT's deadline and flags, respectively.
+ (main): Change list format to include new attributes.
+
+1999-11-05 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in: <getopt.h> check had redundant definition.
+ * acconfig.h: Remove here, too.
+
+ * configure.in: Check for <inttypes.h>. If not found, check for
+ unsigned {int, long} sizes.
+ * agent.h: Either include <inttypes.h>, or try to define uint32_t
+ yourself.
+ Need to include "config.h".
+
+1999-11-04 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * Makefile.am (signed-dist): New rule, generates sig for dist.
+ (%.sig): New rule, for detached signatures in general.
+
+ * configure.in: Check for ulong.
+ * acconfig.h: Document it.
+ * secmem.c: Unconditionally defining it is no longer necessary
+ here. But do include <sys/types.h> in all cases.
+
+ * 0.7 released.
+
+ * secmem.c: ulong is not defined on all systems.
+
+ * agent.h: <inttypes.h> should define `uint32_t' as per Unix98, so
+ we use that.
+
+1999-11-02 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * agent.h: Augmented requests and replies with magic numbers.
+ Data structures heavily commented.
+ All structures and enums typedef'd.
+ * agent.c: Adapted.
+ (store): Set magic number in stored reply.
+ (do_put): Set magic number in reply.
+ (do_delete): Ditto.
+ (do_list): Ditto.
+ (agent): Check magic number in request.
+ * agentlib.c: Adapted.
+ (send_request): Set magic number in request. Check it in reply.
+ * agentlib.h: Adapted.
+ * agpg.c: Adapted.
+ * apgp.c: Adapted.
+ * client.c: Adapted.
+
+1999-10-31 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secmem.c: Instead of defining ulong directly, include
+ <sys/types.h>
+
+ * secret-query.c (constrain_size): New function, puts constrains
+ on size of toplevel window.
+ (grab_keyboard): Removed protection against multiple calls.
+ (ungrab_keyboard): New function, cancelling a keyboard grab.
+ (main): Hang `grab_keyboard' onto map-event which makes it
+ actually work, hang `ungrab_keyboard' onto unmap-event.
+ Hang `constrain_size' onto size-request.
+
+ * secmem.c: ulong was undefined on some systems.
+
+1999-10-19 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * Makefile.am (install-exec-local): Ignore setcap errors.
+
+ * apgp.c: New program, based on agpg.c, but for pgp2.6.
+ * Makefile.am (bin_PROGRAMS, apgp_SOURCES): Added it.
+
+ * agpg.c (GPG): New constant.
+ (find_id, main): Use it throughout.
+ (find_id): Forgot to pclose on success.
+
+ * secret-query.c (main): Don't expand anything.
+ Use a button box for the buttons.
+ Prompt label can be overridden from the commandline.
+ * agent.c (do_get): Make spawned secret-query show the id.
+ * client.c (xgetpass): Pass prompt to secret-query.
+ (main): Include id in xgetpass prompt.
+
+1999-10-14 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in: setcap must be searched outside the usual user
+ PATH, too.
+ * Makefile.am (install-exec-local): Set cap_ipc_lock permitted on
+ installed binaries, if possible.
+
+ * agent.c (xdup2): New function, dup2 with error handling.
+ (move_fd): New function, moves fds.
+ (store): New function, abstracted out from do_put.
+ (do_put): Use it.
+ (do_get): If secret was not found, and DISPLAY is set, try to
+ query the user about it. If successful, store it.
+ (main): Route standard file descriptors to /dev/null rather than
+ just closing them. The latter would confuse children.
+
+1999-10-13 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * gtksecentry.c, gtksecentry.h: New files, being slightly modified
+ versions of GTK+'s gtkentry.[ch], spiffed up to use secure memory.
+ * secret-query.c (ok, unselect, main): Replace GtkEntry with
+ GtkSecureEntry.
+ (main): Initialize secure memory.
+ * Makefile.am (secret_query_SOURCES): Added gtksecentry.[ch].
+
+ * README (Security): New chapter.
+
+ * configure.in, acconfig.h: Check for POSIX capabilities, and the
+ setcap program.
+ * Makefile.am: Link LIBCAP to those binaries using secmem.c.
+
+ * util.h: Include <sys/types.h> for size_t.
+
+1999-09-21 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secmem.c: Synced with gnupg-1.0 (top new feature: capabilities).
+ (log_fatal): New function, logs to stderr, and dies.
+
+1999-09-08 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secmem.c (log_info): New function, logs to stderr.
+
+ * agent.c (agent): select() expects the number of fds, not the
+ highest fd. So remember that number.
+
+ * agent.c (agent): Don't use FD_SETSIZE, which is not defined on
+ all systems. Remember the number of the highest descriptor
+ instead.
+
+ * configure.in: Replace getline() instead of getdelim() because
+ this is the function we really need. Still check for getdelim(),
+ though - there are systems out there where this is provided, but
+ getline() is not.
+
+1999-09-01 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * 0.6 released.
+
+ * configure.in: Bump version.
+
+ * NEWS: Updated.
+
+1999-08-31 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * util.c (init_uids, lower_privs, raise_privs, drop_privs): New
+ functions, for setuid binaries, extracted from agent.c.
+ * util.h: Add prototypes for them.
+ * agpg.c (main): Use them.
+ * client.c (main): Ditto.
+ * agent.c (main): Ditto. Removed code that did the same.
+ Unconditionally include "asprintf.h" (it protects itself now).
+
+1999-08-25 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * Makefile.am (SUBDIRS): Process . before test so that "make
+ check" always builds all in . first.
+
+1999-08-21 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secret-query.c: Include "config.h".
+
+ * agent.h (reply_list_entry, reply_list): New reply structures.
+ * agent.c (send_list_entry): New function.
+ (do_list): First send number of entries, then each entry via
+ send_list_entry().
+ * agentlib.c (agent_list): Read entries returned by LIST request.
+ * client.c (main): Output all entries returned by agent_list().
+
+ * agentlib.c (agent_put): Don't construct PUT request in insecure
+ stack space.
+
+1999-08-20 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * NEWS: Bump patchlevel.
+
+ * configure.in: Bump patchlevel.
+ Check for missing setenv().
+
+1999-08-09 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in: Check for strsignal().
+
+ * client-test: Obsoleted by test/client.
+
+ * Makefile.am (SUBDIRS): New subdirectory.
+ * configure.in (AC_OUTPUT): Add here, too.
+
+ * 0.5 released.
+
+ * README: Explain why secret-client will not output secrets to a
+ tty, and mention the cat-trick.
+
+ * agent.c (main): If seteuid is not available, don't use it and
+ issue a warning if running setuid.
+
+ * configure.in: Run together two REPLACE_FUNCS.
+ Check for seteuid.
+
+ * client-test: Mask out insecure memory warnings.
+
+ * agentlib.c (send_request): Let the calling functions reserve
+ space for the reply, but offer a simple way for simple requests.
+ (agent_get): Allocate secure memory.
+
+ * agent.c (main): Moved secmem_init() after the fork, since that
+ seemingly munlock's all pages.
+ Drop privileges just in case somebody wants to install this
+ suid-root.
+ Flush stdout.
+
+ * agpg.c (find_id): Would reorder arguments.
+ Initialize opt_version.
+ (main): Initialize secure memory.
+
+ * Makefile.am (agpg_SOURCES): Link with secure memory module.
+
+ * client.c (usage): Fixed another program name reference.
+
+1999-08-06 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in: Conditionally define HAVE_GTK.
+ * acconfig.h: Add here too.
+
+ * client.c (xgetpass): Use "secret-query" only if it was built.
+ (main): Don't output secret (GET command) to ttys.
+
+ * agpg.c (find_id): Also print own version if "--version" is given.
+ (main): Check agent_init() errors.
+ Print error if exec fails.
+
+ * agent.c (main): Added an option to produce csh-compatible
+ output.
+
+ * agent.c, client.c: Forgot the terminating NULL in long options.
+ Fixed the program names in usage and version output.
+
+ * agent.c (create_socket): AF_UNIX and PF_UNIX are Unix98, so
+ that's what we use. AF_LOCAL, PF_LOCAL removed.
+ * agentlib.c (agent_init): Ditto.
+
+1999-08-05 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * 0.4 released.
+
+ * configure.in: Bumped version.
+ Check for missing getdelim.
+
+ * cgpg: Removed, obsoleted by agpg.
+ * Makefile.am: Here, too.
+
+ * agpg.c (find_id): New function.
+ (main): Use it.
+
+ * Makefile.am (INCLUDES): Put GTK_FLAGS and GLIB_FLAGS here. It
+ is the easiest way for sources needing it, and it won't hurt those
+ that don't.
+ (agent.o): Explicit command removed accordingly.
+
+1999-08-04 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in: Need double quoting in nested AC_MSG_WARN.
+
+ * client.c (xgetpass): If no tty is available, but a DISPLAY is,
+ fork off "secure-query" to read the secret.
+ Put the fgets into a loop that keeps reading until all of the
+ secret is read.
+
+ * client-test: Unset DISPLAY, so that "secret-query" is never used.
+
+1999-08-03 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * agpg.c: New file, first cut at a C version of the gpg wrapper,
+ written in a hurry (20 keys waiting to be signed, and a growling
+ stomach).
+ * Makefile.am: Add it to built programs.
+ (LDADD): New default.
+ (secret_client_LDADD): Removed, since it was identical to default.
+
+1999-08-01 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * secret-query.c: New program, queries the user for a password.
+ * Makefile.am (bin_PROGRAMS): Added it.
+ * configure.in: Check for GTK+, build "secret-query" only when
+ that is available.
+
+ * cgpg: Extra argument for ID is no longer necessary. cgpg will
+ scan the gpg args for switches that affect user-id, and determine
+ the right key itself. Per convention, the key-id is used by "GET".
+
+ * configure.in: The project name is now "secret-agent".
+
+ * Makefile.am: "agent" & "client" renamed to "secret-agent" &
+ "secret-client", respectively.
+ * client-test: Adapt to new names.
+
+ * Thoughts: Removed discussion of other names.
+ Added indication of which things already work.
+
+ * agent.c (make_tmpdir): Removed occurrence of "gpg-agent."
+
+ * README: First proper version.
+
+ * client-test: Context diffs are more portable then unified diffs.
+
+ * agent.c, agent.h, agentlib.c, agentlib.h, client.c, memory.h,
+ util.c, util.h: Banner updated to new name.
+
+1999-07-29 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in: Check for missing asprintf.
+ Check if -lsocket is needed.
+
+ * secmem.c (secmem_dump_stats): Replace usage of ulong.
+
+ * Makefile.am (INCLUDES): Add the lib subdirectory to include search.
+
+ * agent.c: Forgot to include <string.h>.
+ Include RYO asprintf header if this function is missing.
+ For the sake of compatibility, provide a definition for AF_LOCAL,
+ PF_LOCAL, if missing.
+ * agentlib.c: Ditto.
+
+1999-07-28 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * Makefile.am (client_SOURCES): Add "secmem.c", "memory.h".
+
+ * client.c (xgetpass): Use secmem_malloc() instead of RYO.
+ (main): Init and shutdown secmem.
+
+1999-07-27 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * Makefile.am (agent_SOURCES): Add "secmem.c", "i18n.h", "memory.h".
+ (client_SOURCES): Add "i18n.h".
+
+ * client.c (main): Exit on agent_init() failure.
+
+ * agent.c (main): Init secmem.
+ Make --debug switch cumulative.
+ (cleanup): Shutdown secmem.
+ (do_put): Use secmem for storage of secrets.
+ (do_delete): Use secmem_free(). Since this wipes the memory on its
+ own, wipe() is superflous now.
+ (agent): Use secmem for inbound requests.
+ (delete_secret): New function, takes part of do_delete's
+ functionality.
+ (do_put): Use it to remove old versions stored under the same id.
+ (do_delete): Use it to delete secrets.
+
+ * memory.h: New file.
+
+ * secmem.c: New file, snarfed from GnuPG and modified slightly.
+
+ * acinclude.m4: New file.
+ * configure.in: (ALL_LINGUAS): Expanded list of available
+ languages. Most of them only have a few translations from gpg,
+ tough ...
+ getopt_long test was commented out for debugging,
+ and left such. Fixed.
+ Check for mlock.
+ * acconfig.h: Comment HAVE_BROKEN_MLOCK.
+
+ * cgpg: A space was missing.
+
+ * i18n.h: New file, centralizing the gettext macro defs.
+
+ * agent.c (BLIND): New macro, that blinds out a secret if debug
+ level is too low.
+ (do_put): Use it.
+ (do_get): Use it.
+ Include i18n.h.
+
+ * agentlib.c: Include i18n.h
+
+ * client.c (usage): New function.
+ Usage-message made gettext-friendly.
+ (xgetpass): Use perror() instead of fprintf().
+ (main): Use it.
+ Make comment an optional argument of PUT.
+ Include i18n.h.
+
+1999-07-26 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * Makefile.am (client_LDADD): Add lib/libutil.a for portability.
+ (agent_LDADD): Ditto.
+ (SUBDIRS): Add lib directory.
+ (bin_SCRIPTS): New with cgpg, so it gets installed, too.
+
+ * configure.in: Add lib/Makefile to output.
+
+1999-07-24 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * cgpg: New file.
+ * Makefile.am (EXTRA_DIST): Added it.
+
+ * agent.c: Moved inclusion of config.h before inclusion of
+ libintl.h since the latter needs HAVE_LC_MESSAGE.
+ * client.c: Ditto.
+ * clientlib.c: Ditto.
+
+ * client-test: Update for new client semantics.
+
+ * client.c (check_status): Use debugmsg(). Do nothing if not
+ debugging.
+ (xgetpass): New function, getpass replacement that uses mlock'ed
+ memory.
+ (main): PUT now asks for the secret rather then getting it from
+ the commandline.
+ GET prints only the secret to stdout.
+
+ * configure.in: Rearranged.
+ Check for socklen_t.
+ * acconfig.h: Added a definition for it.
+
+ * client.c: Include packaged getopt.h if the system doesn't provide
+ one.
+ * agent.c: Ditto.
+ (create_socket): Replace AF_FILE, PF_FILE with AF_LOCAL, PF_LOCAL
+ for portability.
+ * agentlib.c (agent_init): Ditto.
+ Explicitly cast addr to a sockaddr pointer.
+
+ * Makefile.am (client_LDADD): Added @INTLLIBS@.
+ (agent_LDADD): Ditto.
+
+1999-07-19 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in: Check for getopt.h and getopt_long.
+ * acconfig.h (HAVE_GETOPT_H): New define.
+ * lib/getopt.c, lib/getopt1.c, lib/getopt.h: Added.
+
+1999-07-18 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * 0.2 released.
+
+ * NEWS: Updated.
+
+ * Makefile.am (agent.o): Mentioning the source explicitly does not
+ work for srcdir!=builddir.
+
+ * client.c (main): Function arguments are not always evaluated in
+ order, so drop the neat ++optind in favor of optind+1, optind+2,
+ etc.
+
+ * configure.in: Upped version.
+
+1999-06-28 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * util.h: Added multi-inclusion guard.
+
+ * agent.c Include "util.h".
+ (main): Forgot to exit at end.
+ (do_delete): Assume that value is a string and wipe it accordingly.
+
+ * configure.in (--enable-debug): New switch.
+
+ * agent.h (status_t): Added STATUS_COMM_ERR code.
+ Added multi-inclusion guard.
+
+ * client.c (main): Abstracted out most functionality into a
+ function library, namely:
+ * agentlib.c: New file.
+ * agentlib.h: New file.
+ * Makefile.am (client_SOURCES): Added agentlib.c, agentlib.h.
+
+ * Makefile.am (INCLUDES): GLIB_CFLAGS moved again, this time to
+ the agent.o target.
+
+1999-06-15 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * 0.1 released.
+
+ * Makefile.am (agent_CFLAGS): Removed - did not work.
+ (INCLUDES): Moved the GLIB stuff here.
+
+1999-06-14 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * configure.in (ALL_LINGUAS): Added `de'.
+
+ * agent.c (do_get): Added more debugmsgs.
+ (do_put): Wouldn't allocate enough for `value'.
+ (main): New option "--nofork" prevents forking.
+ Use macros for the std filedescriptor numbers.
+ Only close stderr if not debugging.
+ (main): Make Usage string gettext-friendly.
+
+ * client-test (cleanup): New function.
+ Call it on shell exit.
+ (client): New function.
+ Use it instead of calling client binary directly.
+ diff client output with expected one in GET testcases.
+
+1999-06-13 Robert Bihlmeyer <robbe@orcus.priv.at>
+
+ * agent.c (failed_reply): New constant.
+ (do_list): Use it.
+ (do_put): The hash key was overwritten - strdup it.
+ Construct a GET reply and save that in the hash.
+ (do_get): Just send the preconstructed reply if the id is present,
+ and failed_reply otherwise.
+ (do_delete): Actually free the hashed stuff.
+
+ * client.c: Exit with error if agent returned STATUS_FAIL.
+
+ * Makefile.am (EXTRA_DIST): Added autogen.sh, Thoughts,
+ client-test.
+ (TESTS): Added client-test.
+ (AUTOMAKE_OPTIONS): Added gnits.
+
+
+ Copyright 2002, 2003, 2010 g10 Code GmbH
+
+ This file is free software; as a special exception the author gives
+ unlimited permission to copy and/or distribute it, with or without
+ modifications, as long as this notice is preserved.
+
+ This file is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/INSTALL b/debian/pinentry-tqt/pinentry-tqt-1.1.0/INSTALL
new file mode 100644
index 0000000..8b82ade
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/INSTALL
@@ -0,0 +1,291 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
+2006, 2007, 2008 Free Software Foundation, Inc.
+
+ This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+ Briefly, the shell commands `./configure; make; make install' should
+configure, build, and install this package. The following
+more-detailed instructions are generic; see the `README' file for
+instructions specific to this package.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You need `configure.ac' if
+you want to change it or regenerate `configure' using a newer version
+of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system.
+
+ Running `configure' might take a while. While running, it prints
+ some messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+ 6. Often, you can also type `make uninstall' to remove the installed
+ files again.
+
+Compilers and Options
+=====================
+
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. Run `./configure --help'
+for details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you can use GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ With a non-GNU `make', it is safer to compile the package for one
+architecture at a time in the source code directory. After you have
+installed the package for one architecture, use `make distclean' before
+reconfiguring for another architecture.
+
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple `-arch' options to the
+compiler but only a single `-arch' option to the preprocessor. Like
+this:
+
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases, you
+may have to build one architecture at a time and combine the results
+using the `lipo' tool if you have problems.
+
+Installation Names
+==================
+
+ By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Particular systems
+==================
+
+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU
+CC is not installed, it is recommended to use the following options in
+order to use an ANSI C compiler:
+
+ ./configure CC="cc -Ae"
+
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
+a workaround. If GNU CC is not installed, it is therefore recommended
+to try
+
+ ./configure CC="cc"
+
+and if that doesn't work, try
+
+ ./configure CC="cc -nodtk"
+
+Specifying the System Type
+==========================
+
+ There may be some features `configure' cannot figure out
+automatically, but needs to determine by the type of machine the package
+will run on. Usually, assuming the package is built to be run on the
+_same_ architectures, `configure' can figure that out, but if it prints
+a message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `config.site' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+ Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).
+
+Unfortunately, this technique does not work for `CONFIG_SHELL' due to
+an Autoconf bug. Until the bug is fixed you can use this workaround:
+
+ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+`configure' Invocation
+======================
+
+ `configure' recognizes the following options to control how it
+operates.
+
+`--help'
+`-h'
+ Print a summary of all of the options to `configure', and exit.
+
+`--help=short'
+`--help=recursive'
+ Print a summary of the options unique to this package's
+ `configure', and exit. The `short' variant lists options used
+ only in the top level, while the `recursive' variant lists options
+ also present in any nested packages.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`--prefix=DIR'
+ Use DIR as the installation prefix. *Note Installation Names::
+ for more details, including other options available for fine-tuning
+ the installation locations.
+
+`--no-create'
+`-n'
+ Run the configure checks, but stop before creating any output
+ files.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
+
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.am b/debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.am
new file mode 100644
index 0000000..8c8b8e5
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.am
@@ -0,0 +1,130 @@
+# Makefile.am
+# Copyright (C) 2002, 2012, 2015 g10 Code GmbH
+#
+# This file is part of PINENTRY.
+#
+# PINENTRY is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# PINENTRY is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0+
+
+## Process this file with automake to produce Makefile.in
+
+ACLOCAL_AMFLAGS = -I m4
+DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt --enable-pinentry-emacs
+
+GITLOG_TO_CHANGELOG=gitlog-to-changelog
+
+EXTRA_DIST = autogen.sh autogen.rc README.GIT ChangeLog-old \
+ build-aux/gitlog-to-changelog \
+ build-aux/git-log-fix build-aux/git-log-footer
+
+if BUILD_PINENTRY_CURSES
+pinentry_curses = curses
+else
+pinentry_curses =
+endif
+
+if BUILD_PINENTRY_TTY
+pinentry_tty = tty
+else
+pinentry_tty =
+endif
+
+if BUILD_PINENTRY_EMACS
+pinentry_emacs = emacs
+else
+pinentry_emacs =
+endif
+
+if BUILD_PINENTRY_GTK_2
+pinentry_gtk_2 = gtk+-2
+else
+pinentry_gtk_2 =
+endif
+
+if BUILD_PINENTRY_GNOME_3
+pinentry_gnome_3 = gnome3
+else
+pinentry_gnome_3 =
+endif
+
+if BUILD_PINENTRY_QT
+pinentry_qt = qt
+else
+pinentry_qt =
+endif
+
+if BUILD_PINENTRY_TQT
+pinentry_tqt = tqt
+else
+pinentry_tqt =
+endif
+
+if BUILD_PINENTRY_W32
+pinentry_w32 = w32
+else
+pinentry_w32 =
+endif
+
+if BUILD_PINENTRY_FLTK
+pinentry_fltk = fltk
+else
+pinentry_fltk =
+endif
+
+SUBDIRS = m4 secmem pinentry ${pinentry_curses} ${pinentry_tty} \
+ ${pinentry_emacs} ${pinentry_gtk_2} ${pinentry_gnome_3} \
+ ${pinentry_qt} ${pinentry_tqt} ${pinentry_w32} \
+ ${pinentry_fltk} doc
+
+
+install-exec-local:
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ echo " $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+ $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` || true; \
+ done
+
+ (cd $(DESTDIR)$(bindir); \
+ rm -f pinentry; \
+ $(LN_S) $(PINENTRY_DEFAULT)$(EXEEXT) pinentry)
+
+dist-hook: gen-ChangeLog
+ echo "$(VERSION)" > $(distdir)/VERSION
+
+distcheck-hook:
+ set -e; ( \
+ pref="#+macro: pinentry_" ;\
+ reldate="$$(date -u +%Y-%m-%d)" ;\
+ echo "$${pref}ver $(PACKAGE_VERSION)" ;\
+ echo "$${pref}date $${reldate}" ;\
+ list='$(DIST_ARCHIVES)'; for i in $$list; do \
+ case "$$i" in *.tar.bz2) \
+ echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
+ echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
+ echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
+ esac;\
+ done ) | tee $(distdir).swdb
+
+
+gen_start_date = 2012-08-08T00:00:00
+.PHONY: gen-ChangeLog
+gen-ChangeLog:
+ if test -d $(top_srcdir)/.git; then \
+ (cd $(top_srcdir) && \
+ $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
+ --amend=build-aux/git-log-fix \
+ --since=$(gen_start_date) ) > $(distdir)/cl-t; \
+ cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
+ rm -f $(distdir)/ChangeLog; \
+ mv $(distdir)/cl-t $(distdir)/ChangeLog; \
+ fi
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.in b/debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.in
new file mode 100644
index 0000000..9bc02d4
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/Makefile.in
@@ -0,0 +1,918 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in 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.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Makefile.am
+# Copyright (C) 2002, 2012, 2015 g10 Code GmbH
+#
+# This file is part of PINENTRY.
+#
+# PINENTRY is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# PINENTRY is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <https://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-2.0+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = .
+DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
+ $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in COPYING THANKS TODO build-aux/compile \
+ build-aux/config.guess build-aux/config.rpath \
+ build-aux/config.sub depcomp build-aux/depcomp install-sh \
+ build-aux/install-sh build-aux/mdate-sh missing \
+ build-aux/missing mkinstalldirs build-aux/texinfo.tex \
+ $(top_srcdir)/build-aux/compile \
+ $(top_srcdir)/build-aux/config.guess \
+ $(top_srcdir)/build-aux/config.rpath \
+ $(top_srcdir)/build-aux/config.sub \
+ $(top_srcdir)/build-aux/install-sh \
+ $(top_srcdir)/build-aux/missing
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/curses.m4 \
+ $(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/iconv.m4 \
+ $(top_srcdir)/m4/libassuan.m4 $(top_srcdir)/m4/pkg.m4 \
+ $(top_srcdir)/m4/qt.m4 $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
+ETAGS = etags
+CTAGS = ctags
+CSCOPE = cscope
+DIST_SUBDIRS = m4 secmem pinentry curses tty emacs gtk+-2 gnome3 qt \
+ tqt w32 fltk doc
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ if test -d "$(distdir)"; then \
+ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -rf "$(distdir)" \
+ || { sleep 5 && rm -rf "$(distdir)"; }; \
+ else :; fi
+am__post_remove_distdir = $(am__remove_distdir)
+am__relativize = \
+ dir0=`pwd`; \
+ sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+ sed_rest='s,^[^/]*/*,,'; \
+ sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+ sed_butlast='s,/*[^/]*$$,,'; \
+ while test -n "$$dir1"; do \
+ first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+ if test "$$first" != "."; then \
+ if test "$$first" = ".."; then \
+ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+ else \
+ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+ if test "$$first2" = "$$first"; then \
+ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+ else \
+ dir2="../$$dir2"; \
+ fi; \
+ dir0="$$dir0"/"$$first"; \
+ fi; \
+ fi; \
+ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+ done; \
+ reldir="$$dir2"
+GZIP_ENV = --best
+DIST_ARCHIVES = $(distdir).tar.bz2
+DIST_TARGETS = dist-bzip2
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+COMMON_CFLAGS = @COMMON_CFLAGS@
+COMMON_LIBS = @COMMON_LIBS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FLTKCFLAGS = @FLTKCFLAGS@
+FLTKCXXFLAGS = @FLTKCXXFLAGS@
+FLTKLIBS = @FLTKLIBS@
+FLTK_CONFIG = @FLTK_CONFIG@
+GITLOG_TO_CHANGELOG = gitlog-to-changelog
+GNOME3_CFLAGS = @GNOME3_CFLAGS@
+GNOME3_LIBS = @GNOME3_LIBS@
+GPG_ERROR_CFLAGS = @GPG_ERROR_CFLAGS@
+GPG_ERROR_CONFIG = @GPG_ERROR_CONFIG@
+GPG_ERROR_LIBS = @GPG_ERROR_LIBS@
+GPG_ERROR_MT_CFLAGS = @GPG_ERROR_MT_CFLAGS@
+GPG_ERROR_MT_LIBS = @GPG_ERROR_MT_LIBS@
+GREP = @GREP@
+GTK2_CFLAGS = @GTK2_CFLAGS@
+GTK2_LIBS = @GTK2_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBASSUAN_CFLAGS = @LIBASSUAN_CFLAGS@
+LIBASSUAN_CONFIG = @LIBASSUAN_CONFIG@
+LIBASSUAN_LIBS = @LIBASSUAN_LIBS@
+LIBCAP = @LIBCAP@
+LIBCURSES = @LIBCURSES@
+LIBICONV = @LIBICONV@
+LIBNCURSES = @LIBNCURSES@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBSECRET_CFLAGS = @LIBSECRET_CFLAGS@
+LIBSECRET_LIBS = @LIBSECRET_LIBS@
+LIBTERMCAP = @LIBTERMCAP@
+LN_S = @LN_S@
+LTLIBICONV = @LTLIBICONV@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MOC2 = @MOC2@
+NCURSES_CFLAGS = @NCURSES_CFLAGS@
+NCURSES_INCLUDE = @NCURSES_INCLUDE@
+NCURSES_LIBS = @NCURSES_LIBS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PINENTRY_DEFAULT = @PINENTRY_DEFAULT@
+PINENTRY_QT_CFLAGS = @PINENTRY_QT_CFLAGS@
+PINENTRY_QT_LIBS = @PINENTRY_QT_LIBS@
+PINENTRY_QT_REQUIRE_CPP11_CFLAGS = @PINENTRY_QT_REQUIRE_CPP11_CFLAGS@
+PINENTRY_QT_REQUIRE_CPP11_LIBS = @PINENTRY_QT_REQUIRE_CPP11_LIBS@
+PINENTRY_TQT_CFLAGS = @PINENTRY_TQT_CFLAGS@
+PINENTRY_TQT_LIBS = @PINENTRY_TQT_LIBS@
+PKG_CONFIG = @PKG_CONFIG@
+QTCHOOSER = @QTCHOOSER@
+RANLIB = @RANLIB@
+SETCAP = @SETCAP@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TQT_MOC = @TQT_MOC@
+VERSION = @VERSION@
+WINDRES = @WINDRES@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+ACLOCAL_AMFLAGS = -I m4
+DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt --enable-pinentry-emacs
+EXTRA_DIST = autogen.sh autogen.rc README.GIT ChangeLog-old \
+ build-aux/gitlog-to-changelog \
+ build-aux/git-log-fix build-aux/git-log-footer
+
+@BUILD_PINENTRY_CURSES_FALSE@pinentry_curses =
+@BUILD_PINENTRY_CURSES_TRUE@pinentry_curses = curses
+@BUILD_PINENTRY_TTY_FALSE@pinentry_tty =
+@BUILD_PINENTRY_TTY_TRUE@pinentry_tty = tty
+@BUILD_PINENTRY_EMACS_FALSE@pinentry_emacs =
+@BUILD_PINENTRY_EMACS_TRUE@pinentry_emacs = emacs
+@BUILD_PINENTRY_GTK_2_FALSE@pinentry_gtk_2 =
+@BUILD_PINENTRY_GTK_2_TRUE@pinentry_gtk_2 = gtk+-2
+@BUILD_PINENTRY_GNOME_3_FALSE@pinentry_gnome_3 =
+@BUILD_PINENTRY_GNOME_3_TRUE@pinentry_gnome_3 = gnome3
+@BUILD_PINENTRY_QT_FALSE@pinentry_qt =
+@BUILD_PINENTRY_QT_TRUE@pinentry_qt = qt
+@BUILD_PINENTRY_TQT_FALSE@pinentry_tqt =
+@BUILD_PINENTRY_TQT_TRUE@pinentry_tqt = tqt
+@BUILD_PINENTRY_W32_FALSE@pinentry_w32 =
+@BUILD_PINENTRY_W32_TRUE@pinentry_w32 = w32
+@BUILD_PINENTRY_FLTK_FALSE@pinentry_fltk =
+@BUILD_PINENTRY_FLTK_TRUE@pinentry_fltk = fltk
+SUBDIRS = m4 secmem pinentry ${pinentry_curses} ${pinentry_tty} \
+ ${pinentry_emacs} ${pinentry_gtk_2} ${pinentry_gnome_3} \
+ ${pinentry_qt} ${pinentry_tqt} ${pinentry_w32} \
+ ${pinentry_fltk} doc
+
+gen_start_date = 2012-08-08T00:00:00
+all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+am--refresh: Makefile
+ @:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ $(am__cd) $(srcdir) && $(AUTOCONF)
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
+
+config.h: stamp-h1
+ @test -f $@ || rm -f stamp-h1
+ @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) 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)
+ ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run 'make' without going through this Makefile.
+# To change the values of 'make' variables: instead of editing Makefiles,
+# (1) if the variable is set in 'config.status', edit 'config.status'
+# (which will cause the Makefiles to be regenerated when you run 'make');
+# (2) otherwise, pass the desired values on the 'make' command line.
+$(am__recursive_targets):
+ @fail=; \
+ if $(am__make_keepgoing); then \
+ failcom='fail=yes'; \
+ else \
+ failcom='exit 1'; \
+ fi; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ set x; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ $(am__define_uniq_tagged_files); \
+ shift; \
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ if test $$# -gt 0; then \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ "$$@" $$unique; \
+ else \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$unique; \
+ fi; \
+ fi
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
+ test -z "$(CTAGS_ARGS)$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && $(am__cd) $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) "$$here"
+cscope: cscope.files
+ test ! -s cscope.files \
+ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
+clean-cscope:
+ -rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
+
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
+ case "$(srcdir)" in \
+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
+ *) sdir=$(subdir)/$(srcdir) ;; \
+ esac; \
+ for i in $$list; do \
+ if test -f "$$i"; then \
+ echo "$(subdir)/$$i"; \
+ else \
+ echo "$$sdir/$$i"; \
+ fi; \
+ done >> $(top_builddir)/cscope.files
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+ -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d "$(distdir)" || mkdir "$(distdir)"
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+ @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ $(am__make_dryrun) \
+ || test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+ $(am__relativize); \
+ new_distdir=$$reldir; \
+ dir1=$$subdir; dir2="$(top_distdir)"; \
+ $(am__relativize); \
+ new_top_distdir=$$reldir; \
+ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+ ($(am__cd) $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$new_top_distdir" \
+ distdir="$$new_distdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ am__skip_mode_fix=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-hook
+ -test -n "$(am__skip_mode_fix)" \
+ || find "$(distdir)" -type d ! -perm -755 \
+ -exec chmod u+rwx,go+rx {} \; -o \
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r "$(distdir)"
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__post_remove_distdir)
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
+ $(am__post_remove_distdir)
+
+dist-lzip: distdir
+ tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
+ $(am__post_remove_distdir)
+
+dist-xz: distdir
+ tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
+ $(am__post_remove_distdir)
+
+dist-tarZ: distdir
+ @echo WARNING: "Support for shar distribution archives is" \
+ "deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__post_remove_distdir)
+
+dist-shar: distdir
+ @echo WARNING: "Support for distribution archives compressed with" \
+ "legacy program 'compress' is deprecated." >&2
+ @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__post_remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__post_remove_distdir)
+
+dist dist-all:
+ $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
+ $(am__post_remove_distdir)
+
+# This target untars the dist file and tries a VPATH configuration. Then
+# it guarantees that the distribution is self-contained by making another
+# tarfile.
+distcheck: dist
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.lz*) \
+ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
+ *.tar.xz*) \
+ xz -dc $(distdir).tar.xz | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir)
+ chmod u+w $(distdir)
+ mkdir $(distdir)/_build $(distdir)/_inst
+ chmod a-w $(distdir)
+ test -d $(distdir)/_build || exit 0; \
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
+ && am__cwd=`pwd` \
+ && $(am__cd) $(distdir)/_build \
+ && ../configure \
+ $(AM_DISTCHECK_CONFIGURE_FLAGS) \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ --srcdir=.. --prefix="$$dc_install_base" \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+ && cd "$$am__cwd" \
+ || exit 1
+ $(am__post_remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @test -n '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: trying to run $@ with an empty' \
+ '$$(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ $(am__cd) '$(distuninstallcheck_dir)' || { \
+ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
+ exit 1; \
+ }; \
+ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+check-am: all-am
+check: check-recursive
+all-am: Makefile config.h
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+html-am:
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-dvi-am:
+
+install-exec-am: install-exec-local
+
+install-html: install-html-recursive
+
+install-html-am:
+
+install-info: install-info-recursive
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-pdf-am:
+
+install-ps: install-ps-recursive
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-generic distclean-hdr \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-exec-local install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
+ tags-am uninstall uninstall-am
+
+
+install-exec-local:
+ @list='$(bin_PROGRAMS)'; for p in $$list; do \
+ echo " $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+ $(SETCAP) cap_ipc_lock+p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` || true; \
+ done
+
+ (cd $(DESTDIR)$(bindir); \
+ rm -f pinentry; \
+ $(LN_S) $(PINENTRY_DEFAULT)$(EXEEXT) pinentry)
+
+dist-hook: gen-ChangeLog
+ echo "$(VERSION)" > $(distdir)/VERSION
+
+distcheck-hook:
+ set -e; ( \
+ pref="#+macro: pinentry_" ;\
+ reldate="$$(date -u +%Y-%m-%d)" ;\
+ echo "$${pref}ver $(PACKAGE_VERSION)" ;\
+ echo "$${pref}date $${reldate}" ;\
+ list='$(DIST_ARCHIVES)'; for i in $$list; do \
+ case "$$i" in *.tar.bz2) \
+ echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
+ echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
+ echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
+ esac;\
+ done ) | tee $(distdir).swdb
+.PHONY: gen-ChangeLog
+gen-ChangeLog:
+ if test -d $(top_srcdir)/.git; then \
+ (cd $(top_srcdir) && \
+ $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \
+ --amend=build-aux/git-log-fix \
+ --since=$(gen_start_date) ) > $(distdir)/cl-t; \
+ cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\
+ rm -f $(distdir)/ChangeLog; \
+ mv $(distdir)/cl-t $(distdir)/ChangeLog; \
+ fi
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/NEWS b/debian/pinentry-tqt/pinentry-tqt-1.1.0/NEWS
new file mode 100644
index 0000000..116c86a
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/NEWS
@@ -0,0 +1,373 @@
+Noteworthy changes in version 1.1.0 (2017-12-03)
+------------------------------------------------
+
+ * A FLTK1.3-based pinentry has been contributed.
+
+ * A TQt3-based pinentry has been contributed.
+
+ * New option --ttyalert for pinentry-curses to alert the user.
+
+ * Don't show "save passphrase" checkbox if secret service is
+ unavailable.
+
+ * The GTK Pinentry shows on Linux some information anout the process
+ which invoked the Pinentry.
+
+ * The GTK Pinentry does not anymore show tooltips when keyboard
+ grabbing is enabled.
+
+ * Fixed various minor problems.
+
+
+Noteworthy changes in version 1.0.0 (2016-11-22)
+------------------------------------------------
+
+ * Qt pinentry now supports repeat mode in one dialog.
+
+ * Qt and GTK pinentries now make it possible to show the entered
+ value.
+
+ * Qt pinentry now only grabs the keyboard if an entry field is
+ focused.
+
+ * Fixed foreground handling in pinentry-qt if compiled with Qt5 for
+ Windows.
+
+ * Fixed potential crash in Qt qualitybar calculation.
+
+ * GTK keyboard grabbing is now a bit more robust. The cursor is
+ changed to a big dot as a visual indication that a pinentry has
+ popped up and is waiting for input.
+
+ * The GNOME pinentry now falls back to curses if it can't use the
+ GCR system prompter or a screenlock is active.
+
+ * Fixed error output for cached passwords.
+
+ * A show/hide passphrase button or checkbox is now available with
+ some pinentry flavors.
+
+ * Improved diagnostics and error codes.
+
+
+Noteworthy changes in version 0.9.7 (2015-12-07)
+------------------------------------------------
+
+ * Fix regressions in the Qt pinentry.
+
+ * Fix minor problems pinnetyr-tty.
+
+ * New option --invisible-char.
+
+
+Noteworthy changes in version 0.9.6 (2015-09-10)
+------------------------------------------------
+
+ * Many improvements for the dump tty pinentry.
+
+ * Use the standard GTK+-2 text entry widget instead of our outdated
+ and back-then-it-was-more-secure text widget.
+
+ * Use the standard Qt text widget.
+
+ * Allow for building a static Qt variant.
+
+ * Fix regression in w32 pinentry.
+
+
+Noteworthy changes in version 0.9.5 (2015-07-01)
+------------------------------------------------
+
+ * Replaced the internal Assuan and gpg-error code by the standard
+ libassuan and libgpg-error libraries.
+
+ * Add a new Emacs pinentry and use as fallback for GUI programs.
+
+ * gnome3: The use-password-manager checkbox does now work.
+
+ * Gtk: Improved fallback to curses feature.
+
+ * curses: Recognize DEL as backspace.
+
+
+Noteworthy changes in version 0.9.4 (2015-06-05)
+------------------------------------------------
+
+ * Fix regression in GTK+ and curses pinentries.
+
+
+Noteworthy changes in version 0.9.3 (2015-06-01)
+------------------------------------------------
+
+ * Improved documentation
+
+ * New pinentry-gnome3
+
+ * More improvements for pinentry-tty.
+
+ * Fixes for pinentry-curses including support for Ctrl-W, Ctrl-U,
+ Ctrl-H, Ctrl-L, and Alt-Backspace
+
+ * New Assuan command to request clearing an external cache.
+
+ * Fixed problems linking to ncursesw.
+
+ * All kind of other minor fixes.
+
+
+Noteworthy changes in version 0.9.2 (2015-05-11)
+------------------------------------------------
+
+ * Support for saving the passphrase with libsecret.
+
+ * Escape key works in the Gtk+ pinentry.
+
+ * Improvements for pinentry-tty.
+
+ * Minor cleanups for the native Windows pinentry.
+
+
+Noteworthy changes in version 0.9.1 (2015-03-18)
+------------------------------------------------
+
+ * Fixed build problems for systems without ncurses.
+
+ * Reworked the option parser to allow building on systems without
+ getopt_long.
+
+ * Fixed Qt4 build problems.
+
+
+Noteworthy changes in version 0.9.0 (2014-10-26)
+------------------------------------------------
+
+ * New command SETREPEAT. Currently only supported for Gtk+-2.
+
+ * Gtk+-2: Pasting using the mouse is now supported.
+
+ * curses: Check that it is actually connected to a tty.
+
+ * Removed the old qt-3 and gtk+-1 pinentries.
+
+
+Noteworthy changes in version 0.8.4 (2014-09-18)
+------------------------------------------------
+
+ * New pinentry-tty version for dumb terminals.
+
+ * Qt4: New option to enable pasting the passphrase from clipboard
+
+ * Qt4: Improved accessiblity
+
+ * Qt4: Raise confirm message windows into foreground
+
+ * Qt4 (Windows): Improve the way pinentry-qt raises itself in the
+ foreground.
+
+ * Improved the build system.
+
+
+Noteworthy changes in version 0.8.3 (2013-04-26)
+------------------------------------------------
+
+ * Build fixes for newer mingw32 toolchains.
+
+ * Add SETTIMEOUT command for the gtk+-2 pinentry.
+
+
+Noteworthy changes in version 0.8.2 (2012-08-08)
+------------------------------------------------
+
+ * New SETTIMEOUT command for the qt4 pinentry.
+
+ * Wide character support for the curses pinentry.
+
+ * Various bug fixes.
+
+
+Noteworthy changes in version 0.8.1 (2010-12-16)
+------------------------------------------------
+
+ * The W32 pinentry now supports WindowsCE.
+
+ * The GTK pinentry now always sticks to the top and properly grabs
+ the keyboard.
+
+ * The protocol options default-cancel and default-ok now work for the
+ pinentry-gtk2 and pinentry-qt (that is QT3).
+
+
+Noteworthy changes in version 0.8.0 (2010-03-03)
+------------------------------------------------
+
+ * Beautified the qt4 pinentry
+
+ * Minor enhancements.
+
+
+Noteworthy changes in version 0.7.6 (2009-06-19)
+------------------------------------------------
+
+ * Make Gtk+-2 pinentry transient to the root window.
+
+ * Add Qt4 pinentry.
+
+ * Add native W32 pinentry.
+
+ * Fix utf-8 problem in Qt pinentries.
+
+ * Return GPG_ERR_CANCELED if during a "CONFIRM" command the user
+ closed the window.
+
+ * Add quality bar.
+
+Noteworthy changes in version 0.7.5 (2008-02-15)
+------------------------------------------------
+
+ * Fix cross compilation for Gtk+-2 pinentry.
+
+ * New Assuan command GETINFO with subcommands "version" and "pid".
+
+
+Noteworthy changes in version 0.7.4 (2007-11-29)
+------------------------------------------------
+
+ * Pinentry-gtk-2 and pinentry-qt now support a simple passphrase
+ quality indicator.
+
+
+Noteworthy changes in version 0.7.3 (2007-07-06)
+------------------------------------------------
+
+ * New command MESSAGE and --one-button compatibility option to
+ CONFIRM.
+
+ * New Assuan option touch-file to set a file which will be touched
+ after ncurses does not need the display anymore.
+
+ * New option --colors=FG,BG,SO to set the colors for the curses
+ pinentry.
+
+ * Pinentry-w32 does now basically work. It needs some finishing
+ though. For example the buttons should resize themself according
+ to the size of the text.
+
+
+Noteworthy changes in version 0.7.2 (2005-01-27)
+------------------------------------------------
+
+ * Remove bug in configure script that would use installed version of
+ Qt even if another path was explicitely specified with QTDIR.
+
+ * Honor the rpath setting for Qt.
+
+ * Add GTK+-2 pinentry.
+
+ * Install a symbolic link under the name "pinentry" that defaults to
+ pinentry-gtk, pinentry-qt, pinentry-gtk-2, or pinentry-curses, in
+ that order.
+
+
+Noteworthy changes in version 0.7.1 (2004-04-21)
+------------------------------------------------
+
+ * Removed unneeded Assuan cruft.
+
+ * Fixes for *BSD.
+
+
+Noteworthy changes in version 0.7.0 (2003-12-23)
+------------------------------------------------
+
+ * Make UTF8 description (prompt, error message, button texts) work.
+
+ * Make sure that secmem_term is called before program termination.
+
+ * Make assuan in Gtk and Curses pinentry use secure memory for
+ storage.
+
+ * Fixed a bug that would occur if a canceled GETPIN was immediately
+ followed by a CONFIRM.
+
+ * Disabled undo/redo in Qt pinentry.
+
+ * Print diagnostics for locale problems and return a new error code
+ in that case.
+
+
+Noteworthy changes in version 0.6.8 (2003-02-07)
+------------------------------------------------
+
+ * Bug fix in pinentry-qt.
+
+Noteworthy changes in version 0.6.7 (2002-11-20)
+------------------------------------------------
+
+ * Workaround for a bug in the curses version which led to an infinite
+ loop.
+
+Noteworthy changes in version 0.6.6 (2002-11-09)
+------------------------------------------------
+
+ * Fixed handling of DISPLAY and --display for the sake of the curses
+ fallback.
+
+ * UTF-8 conversion does now work for the GTK+ and CURSES version.
+
+
+Noteworthy changes in version 0.6.5 (2002-09-30)
+------------------------------------------------
+
+ * Handle Assuan options in the qt version.
+
+Noteworthy changes in version 0.6.4 (2002-08-19)
+------------------------------------------------
+
+ * Handle CONFIRM command in the qt version.
+
+Noteworthy changes in version 0.6.3 (2002-06-26)
+------------------------------------------------
+
+ * Minor bug fixes to the qt version.
+
+Noteworthy changes in version 0.6.2 (2002-05-13)
+------------------------------------------------
+
+ * Error texts can now be percent-escaped.
+
+ * The Curses pinentry supports multi-line error texts.
+
+ * The GTK+ and Qt pinentry can fall back to curses if no display is
+ available.
+
+Noteworthy changes in version 0.6.1 (2002-04-25)
+------------------------------------------------
+
+ * The Curses pinentry supports user-provided button texts via the
+ new SETOK and SETCANCEL commands.
+
+ * The Curses pinentry supports setting the desired character set
+ locale with --lc-ctype and correctly translates the UTF-8 strings
+ into that.
+
+Noteworthy changes in version 0.6.0 (2002-04-05)
+------------------------------------------------
+
+ * Merged all pinentry frontends into a single module.
+
+ * There is now a Curses frontend.
+
+ * The curses pinentry supports --ttyname and --ttytype options to
+ set the desired input/output terminal and its type.
+
+Noteworthy changes in version 0.5.1 (2002-02-18)
+------------------------------------------------
+
+ * CONFIRM command works
+
+Noteworthy changes in version 0.5.0 (2002-01-04)
+------------------------------------------------
+
+ * Window layout is somewhat nicer
+
+ * percent escape sequences do now work for SETDESC and SETERROR
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/README b/debian/pinentry-tqt/pinentry-tqt-1.1.0/README
new file mode 100644
index 0000000..981d653
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/README
@@ -0,0 +1,68 @@
+PINEntry
+---------
+
+This is a collection of PIN or passphrase entry dialogs which
+utilize the Assuan protocol as specified in the Libassuan manual.
+
+There are programs for different toolkits available. For all GUIs it
+is automatically detected which modules can be built, but it can also
+be requested explicitly.
+
+GUI OPTION DEPENDENCIES
+--------------------------------------------------------------------------
+GTK+ V2.0 --enable-pinentry-gtk2 Gimp Toolkit Library, Version 2.0
+ eg. libgtk-x11-2.0 and libglib-2.0
+GNOME --enable-pinentry-gnome GNOME
+Qt --enable-pinentry-qt Qt (> 4.4.0)
+Curses --enable-pinentry-curses Curses library, for example ncurses
+TTY --enable-pinentry-tty Simple TTY version, no dependencies
+
+The GTK+, GNOME, and Qt pinentries can fall back to curses mode. The
+option to enable this is --enable-fallback-curses, but this is also
+detected automatically in the same way --enable-pinentry-curses is.
+The fallback to curses also works if --disable-pinentry-curses is
+specified. So to disable linking to curses completely you have to
+pass --disable-fallback-curses to the configure script as well.
+
+Examples:
+* To only build the GTK+ pinentry with curses support:
+./configure --enable-pinentry-gtk2 --enable-fallback-curses \
+ --disable-pinentry-curses --disable-pinentry-qt
+
+* To build the Qt pinentry, and the other pinentries if they are
+ supported:
+./configure --enable-pinentry-qt
+
+* To build everything that is supported (complete auto-detection):
+./configure
+
+Some of the code is taken from Robert Bihlmeyer's Quintuple-Agent.
+For security reasons, all internationalization has been removed. The
+client is expected to tell the PIN entry the text strings to be
+displayed.
+
+
+Curses Pinentry
+---------------
+
+The curses pinentry supports colors if the terminal does. The colors
+can be specified by the --colors=FG,BG,SO option, which sets the
+foreground, background and standout colors respectively. The standout
+color is used for error messages. Colors can be named by any of
+"black", "red", "green", "yellow", "blue", "magenta", "cyan" and
+"white". The foreground and standout color can be prefixed by
+"bright-", "bright", "bold-" and "bold", and any of these prefixes has
+the same effect of making the color bolder or brighter. Two special
+color names are defined as well: "default" chooses the default color,
+and "none" disables use of colors. The name "none" is only meaningful
+for the standout color and in this case a reversed effect is used for
+error messages. For the other colors, disabling colors means the same
+as using the defaults. The default colors are as follows:
+
+ Foreground: Terminal default
+ Background: Terminal default
+ Standout: Bright red
+
+Note that color support is limited by the capabilities of the display
+terminal. Some color combinations can be very difficult to read, and
+please know that colors are perceived differently by different people.
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/README.GIT b/debian/pinentry-tqt/pinentry-tqt-1.1.0/README.GIT
new file mode 100644
index 0000000..ee2c638
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/README.GIT
@@ -0,0 +1,49 @@
+If you are building from GIT, run the script
+
+./autogen.sh
+
+first, to make sure that you have all the necessary maintainer tools
+are installed and to build the actual configuration files. If you
+have just checked out from GIT, you should add the option "--force" to
+autogen.sh so that meta data is noticed by autom4te.cache. Then run
+
+./configure --enable-maintainer-mode
+
+followed by the usual make.
+
+If autogen.sh complains about insufficient versions of the required
+tools, or the tools are not installed, you may use environment
+variables to override the default tool names:
+
+ AUTOMAKE_SUFFIX is used as a suffix for all tools from the automake
+ package. For example
+ AUTOMAKE_SUFFIX="-1.7" ./autogen.sh
+ uses "automake-1.7" and "aclocal-1.7.
+ AUTOMAKE_PREFIX is used as a prefix for all tools from the automake
+ page and may be combined with AUTOMAKE_SUFFIX. e.g.:
+ AUTOMAKE_PREFIX=/usr/foo/bin ./autogen.sh
+ uses "automake" and "aclocal" in the /usr/foo/bin
+ directory.
+ AUTOCONF_SUFFIX is used as a suffix for all tools from the automake
+ package
+ AUTOCONF_PREFIX is used as a prefix for all tools from the automake
+ package
+ GETTEXT_SUFFIX is used as a suffix for all tools from the gettext
+ package
+ GETTEXT_PREFIX is used as a prefix for all tools from the gettext
+ package
+
+It is also possible to use the variable name AUTOMAKE, AUTOCONF,
+ACLOCAL, AUTOHEADER, GETTEXT and MSGMERGE to directly specify the name
+of the programs to run. It is however better to use the suffix and
+prefix forms as described above because that does not require
+knowledge about the actual tools used by autogen.sh.
+
+
+Please don't use autopoint, libtoolize or autoreconf unless you are
+the current maintainer and want to update the standard configuration
+files. All those files should be in GIT and only updated manually
+if the maintainer decides that newer versions are required. The
+maintainer should also make sure that the required version of automake
+et al. are properly indicated at the top of configure.ac and take care
+to copy the files and not merely use symlinks.
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/THANKS b/debian/pinentry-tqt/pinentry-tqt-1.1.0/THANKS
new file mode 100644
index 0000000..90fce79
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/THANKS
@@ -0,0 +1,7 @@
+Alon Bar-Lev alon.barlev@gmail.com
+Albrecht Dress albrecht.dress@arcor.de
+Alexander Zangerl az at snafu.priv.at
+Michael Nottebrock michaelnottebrock at gmx.net
+Peter Eisentraut peter_e@gmx.net
+Tobias Koenig tokoe@kde.org
+Ed Marten edman007x at mac com
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/TODO b/debian/pinentry-tqt/pinentry-tqt-1.1.0/TODO
new file mode 100644
index 0000000..e287c4c
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/TODO
@@ -0,0 +1,24 @@
+* The DISPLAY setting should be honoured by the pinentry applications
+ using XFree86. This implies reconfiguring the underlying toolkit,
+ is this always possible?
+ (This is not so important, as pinentry is always restarted.)
+
+* The Qt and curses PIN entry should support enhanced mode (when it is
+ implemented in gpg-agent). We need to agree on a protocol to use
+ anyway.
+
+* The Qt pinentry uses QT's private QTextLayout.
+
+* Set the max length of password globally (dynamically in protocol?).
+
+* A heartbeat status message should be sent every few seconds, so that
+ the gpg-agent is better able to cope with jammed pinentries.
+
+* The gtk+-2 pinentry needs auditing.
+
+* Implement the one_button feature in Qt.
+
+* The format of the Assuan protocol description should be changed to
+ the one used by GnuPG.
+
+* The SETTITLE command is only implemented for GTK+-2
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/VERSION b/debian/pinentry-tqt/pinentry-tqt-1.1.0/VERSION
new file mode 100644
index 0000000..9084fa2
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/VERSION
@@ -0,0 +1 @@
+1.1.0
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/acinclude.m4 b/debian/pinentry-tqt/pinentry-tqt-1.1.0/acinclude.m4
new file mode 100644
index 0000000..7dfad70
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/acinclude.m4
@@ -0,0 +1,117 @@
+dnl Autoconf macros used by PINENTRY
+dnl
+dnl Copyright (C) 2002 g10 Code GmbH
+dnl
+dnl
+dnl GNUPG_CHECK_TYPEDEF(TYPE, HAVE_NAME)
+dnl Check whether a typedef exists and create a #define $2 if it exists
+dnl
+AC_DEFUN([GNUPG_CHECK_TYPEDEF],
+ [ AC_MSG_CHECKING(for $1 typedef)
+ AC_CACHE_VAL(gnupg_cv_typedef_$1,
+ [AC_TRY_COMPILE([#define _GNU_SOURCE 1
+ #include <stdlib.h>
+ #include <sys/types.h>], [
+ #undef $1
+ int a = sizeof($1);
+ ], gnupg_cv_typedef_$1=yes, gnupg_cv_typedef_$1=no )])
+ AC_MSG_RESULT($gnupg_cv_typedef_$1)
+ if test "$gnupg_cv_typedef_$1" = yes; then
+ AC_DEFINE($2,1,[Defined if a `]$1[' is typedef'd])
+ fi
+ ])
+
+
+######################################################################
+# Check whether mlock is broken (hpux 10.20 raises a SIGBUS if mlock
+# is not called from uid 0 (not tested whether uid 0 works)
+# For DECs Tru64 we have also to check whether mlock is in librt
+# mlock is there a macro using memlk()
+######################################################################
+dnl GNUPG_CHECK_MLOCK
+dnl
+define([GNUPG_CHECK_MLOCK],
+ [ AC_CHECK_FUNCS(mlock)
+ if test "$ac_cv_func_mlock" = "no"; then
+ AC_CHECK_HEADERS(sys/mman.h)
+ if test "$ac_cv_header_sys_mman_h" = "yes"; then
+ # Add librt to LIBS:
+ AC_CHECK_LIB(rt, memlk)
+ AC_CACHE_CHECK([whether mlock is in sys/mman.h],
+ gnupg_cv_mlock_is_in_sys_mman,
+ [AC_TRY_LINK([
+ #include <assert.h>
+ #ifdef HAVE_SYS_MMAN_H
+ #include <sys/mman.h>
+ #endif
+ ], [
+ int i;
+
+ /* glibc defines this for functions which it implements
+ * to always fail with ENOSYS. Some functions are actually
+ * named something starting with __ and the normal name
+ * is an alias. */
+ #if defined (__stub_mlock) || defined (__stub___mlock)
+ choke me
+ #else
+ mlock(&i, 4);
+ #endif
+ ; return 0;
+ ],
+ gnupg_cv_mlock_is_in_sys_mman=yes,
+ gnupg_cv_mlock_is_in_sys_mman=no)])
+ if test "$gnupg_cv_mlock_is_in_sys_mman" = "yes"; then
+ AC_DEFINE(HAVE_MLOCK,1,
+ [Defined if the system supports an mlock() call])
+ fi
+ fi
+ fi
+ if test "$ac_cv_func_mlock" = "yes"; then
+ AC_MSG_CHECKING(whether mlock is broken)
+ AC_CACHE_VAL(gnupg_cv_have_broken_mlock,
+ AC_TRY_RUN([
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <errno.h>
+ #include <sys/mman.h>
+ #include <sys/types.h>
+ #include <fcntl.h>
+
+ int main()
+ {
+ char *pool;
+ int err;
+ long int pgsize = getpagesize();
+
+ pool = malloc( 4096 + pgsize );
+ if( !pool )
+ return 2;
+ pool += (pgsize - ((long int)pool % pgsize));
+
+ err = mlock( pool, 4096 );
+ if( !err || errno == EPERM )
+ return 0; /* okay */
+
+ return 1; /* hmmm */
+ }
+
+ ],
+ gnupg_cv_have_broken_mlock="no",
+ gnupg_cv_have_broken_mlock="yes",
+ gnupg_cv_have_broken_mlock="assume-no"
+ )
+ )
+ if test "$gnupg_cv_have_broken_mlock" = "yes"; then
+ AC_DEFINE(HAVE_BROKEN_MLOCK,1,
+ [Defined if the mlock() call does not work])
+ AC_MSG_RESULT(yes)
+ AC_CHECK_FUNCS(plock)
+ else
+ if test "$gnupg_cv_have_broken_mlock" = "no"; then
+ AC_MSG_RESULT(no)
+ else
+ AC_MSG_RESULT(assuming no)
+ fi
+ fi
+ fi
+ ])
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/aclocal.m4 b/debian/pinentry-tqt/pinentry-tqt-1.1.0/aclocal.m4
new file mode 100644
index 0000000..ea595de
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/aclocal.m4
@@ -0,0 +1,2344 @@
+# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 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.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
+[m4_warning([this file was generated for autoconf 2.69.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically 'autoreconf'.])])
+
+# lib-ld.m4 serial 6
+dnl Copyright (C) 1996-2003, 2009-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl Subroutines of libtool.m4,
+dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid
+dnl collision with libtool.m4.
+
+dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no.
+AC_DEFUN([AC_LIB_PROG_LD_GNU],
+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
+[# I'd rather use --version here, but apparently some GNU lds only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ acl_cv_prog_gnu_ld=yes
+ ;;
+*)
+ acl_cv_prog_gnu_ld=no
+ ;;
+esac])
+with_gnu_ld=$acl_cv_prog_gnu_ld
+])
+
+dnl From libtool-2.4. Sets the variable LD.
+AC_DEFUN([AC_LIB_PROG_LD],
+[AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+
+AC_ARG_WITH([gnu-ld],
+ [AS_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld [default=no]])],
+ [test "$withval" = no || with_gnu_ld=yes],
+ [with_gnu_ld=no])dnl
+
+# Prepare PATH_SEPARATOR.
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
+ # contains only /bin. Note that ksh looks also at the FPATH variable,
+ # so we have to set that as well for the test.
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
+ || PATH_SEPARATOR=';'
+ }
+fi
+
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
+ while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL([acl_cv_path_LD],
+[if test -z "$LD"; then
+ acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$acl_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ acl_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some variants of GNU ld only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$acl_save_ifs"
+else
+ acl_cv_path_LD="$LD" # Let the user override the test with a path.
+fi])
+LD="$acl_cv_path_LD"
+if test -n "$LD"; then
+ AC_MSG_RESULT([$LD])
+else
+ AC_MSG_RESULT([no])
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+AC_LIB_PROG_LD_GNU
+])
+
+# lib-link.m4 serial 26 (gettext-0.18.2)
+dnl Copyright (C) 2001-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+AC_PREREQ([2.54])
+
+dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
+dnl the libraries corresponding to explicit and implicit dependencies.
+dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
+dnl augments the CPPFLAGS variable.
+dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
+dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
+AC_DEFUN([AC_LIB_LINKFLAGS],
+[
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ AC_REQUIRE([AC_LIB_RPATH])
+ pushdef([Name],[m4_translit([$1],[./+-], [____])])
+ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
+ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
+ ac_cv_lib[]Name[]_libs="$LIB[]NAME"
+ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
+ ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
+ ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
+ ])
+ LIB[]NAME="$ac_cv_lib[]Name[]_libs"
+ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
+ INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
+ LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
+ AC_SUBST([LIB]NAME)
+ AC_SUBST([LTLIB]NAME)
+ AC_SUBST([LIB]NAME[_PREFIX])
+ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
+ dnl results of this search when this library appears as a dependency.
+ HAVE_LIB[]NAME=yes
+ popdef([NAME])
+ popdef([Name])
+])
+
+dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
+dnl searches for libname and the libraries corresponding to explicit and
+dnl implicit dependencies, together with the specified include files and
+dnl the ability to compile and link the specified testcode. The missing-message
+dnl defaults to 'no' and may contain additional hints for the user.
+dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME}
+dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and
+dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
+dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
+dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
+dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
+AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
+[
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ AC_REQUIRE([AC_LIB_RPATH])
+ pushdef([Name],[m4_translit([$1],[./+-], [____])])
+ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
+
+ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
+ dnl accordingly.
+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
+
+ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
+ dnl because if the user has installed lib[]Name and not disabled its use
+ dnl via --without-lib[]Name-prefix, he wants to use it.
+ ac_save_CPPFLAGS="$CPPFLAGS"
+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
+
+ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
+ ac_save_LIBS="$LIBS"
+ dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
+ dnl because these -l options might require -L options that are present in
+ dnl LIBS. -l options benefit only from the -L options listed before it.
+ dnl Otherwise, add it to the front of LIBS, because it may be a static
+ dnl library that depends on another static library that is present in LIBS.
+ dnl Static libraries benefit only from the static libraries listed after
+ dnl it.
+ case " $LIB[]NAME" in
+ *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
+ *) LIBS="$LIB[]NAME $LIBS" ;;
+ esac
+ AC_LINK_IFELSE(
+ [AC_LANG_PROGRAM([[$3]], [[$4]])],
+ [ac_cv_lib[]Name=yes],
+ [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
+ LIBS="$ac_save_LIBS"
+ ])
+ if test "$ac_cv_lib[]Name" = yes; then
+ HAVE_LIB[]NAME=yes
+ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
+ AC_MSG_CHECKING([how to link with lib[]$1])
+ AC_MSG_RESULT([$LIB[]NAME])
+ else
+ HAVE_LIB[]NAME=no
+ dnl If $LIB[]NAME didn't lead to a usable library, we don't need
+ dnl $INC[]NAME either.
+ CPPFLAGS="$ac_save_CPPFLAGS"
+ LIB[]NAME=
+ LTLIB[]NAME=
+ LIB[]NAME[]_PREFIX=
+ fi
+ AC_SUBST([HAVE_LIB]NAME)
+ AC_SUBST([LIB]NAME)
+ AC_SUBST([LTLIB]NAME)
+ AC_SUBST([LIB]NAME[_PREFIX])
+ popdef([NAME])
+ popdef([Name])
+])
+
+dnl Determine the platform dependent parameters needed to use rpath:
+dnl acl_libext,
+dnl acl_shlibext,
+dnl acl_libname_spec,
+dnl acl_library_names_spec,
+dnl acl_hardcode_libdir_flag_spec,
+dnl acl_hardcode_libdir_separator,
+dnl acl_hardcode_direct,
+dnl acl_hardcode_minus_L.
+AC_DEFUN([AC_LIB_RPATH],
+[
+ dnl Tell automake >= 1.10 to complain if config.rpath is missing.
+ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
+ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
+ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
+ AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
+ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
+ . ./conftest.sh
+ rm -f ./conftest.sh
+ acl_cv_rpath=done
+ ])
+ wl="$acl_cv_wl"
+ acl_libext="$acl_cv_libext"
+ acl_shlibext="$acl_cv_shlibext"
+ acl_libname_spec="$acl_cv_libname_spec"
+ acl_library_names_spec="$acl_cv_library_names_spec"
+ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
+ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
+ acl_hardcode_direct="$acl_cv_hardcode_direct"
+ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
+ dnl Determine whether the user wants rpath handling at all.
+ AC_ARG_ENABLE([rpath],
+ [ --disable-rpath do not hardcode runtime library paths],
+ :, enable_rpath=yes)
+])
+
+dnl AC_LIB_FROMPACKAGE(name, package)
+dnl declares that libname comes from the given package. The configure file
+dnl will then not have a --with-libname-prefix option but a
+dnl --with-package-prefix option. Several libraries can come from the same
+dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar
+dnl macro call that searches for libname.
+AC_DEFUN([AC_LIB_FROMPACKAGE],
+[
+ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
+ define([acl_frompackage_]NAME, [$2])
+ popdef([NAME])
+ pushdef([PACK],[$2])
+ pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
+ define([acl_libsinpackage_]PACKUP,
+ m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
+ popdef([PACKUP])
+ popdef([PACK])
+])
+
+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
+dnl the libraries corresponding to explicit and implicit dependencies.
+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
+dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
+dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem.
+AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
+[
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
+ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
+ pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
+ pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
+ pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
+ dnl Autoconf >= 2.61 supports dots in --with options.
+ pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
+ dnl By default, look in $includedir and $libdir.
+ use_additional=yes
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ AC_ARG_WITH(P_A_C_K[-prefix],
+[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
+ --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
+[
+ if test "X$withval" = "Xno"; then
+ use_additional=no
+ else
+ if test "X$withval" = "X"; then
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ else
+ additional_includedir="$withval/include"
+ additional_libdir="$withval/$acl_libdirstem"
+ if test "$acl_libdirstem2" != "$acl_libdirstem" \
+ && ! test -d "$withval/$acl_libdirstem"; then
+ additional_libdir="$withval/$acl_libdirstem2"
+ fi
+ fi
+ fi
+])
+ dnl Search the library and its dependencies in $additional_libdir and
+ dnl $LDFLAGS. Using breadth-first-seach.
+ LIB[]NAME=
+ LTLIB[]NAME=
+ INC[]NAME=
+ LIB[]NAME[]_PREFIX=
+ dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
+ dnl computed. So it has to be reset here.
+ HAVE_LIB[]NAME=
+ rpathdirs=
+ ltrpathdirs=
+ names_already_handled=
+ names_next_round='$1 $2'
+ while test -n "$names_next_round"; do
+ names_this_round="$names_next_round"
+ names_next_round=
+ for name in $names_this_round; do
+ already_handled=
+ for n in $names_already_handled; do
+ if test "$n" = "$name"; then
+ already_handled=yes
+ break
+ fi
+ done
+ if test -z "$already_handled"; then
+ names_already_handled="$names_already_handled $name"
+ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
+ dnl or AC_LIB_HAVE_LINKFLAGS call.
+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
+ eval value=\"\$HAVE_LIB$uppername\"
+ if test -n "$value"; then
+ if test "$value" = yes; then
+ eval value=\"\$LIB$uppername\"
+ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
+ eval value=\"\$LTLIB$uppername\"
+ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
+ else
+ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
+ dnl that this library doesn't exist. So just drop it.
+ :
+ fi
+ else
+ dnl Search the library lib$name in $additional_libdir and $LDFLAGS
+ dnl and the already constructed $LIBNAME/$LTLIBNAME.
+ found_dir=
+ found_la=
+ found_so=
+ found_a=
+ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
+ if test -n "$acl_shlibext"; then
+ shrext=".$acl_shlibext" # typically: shrext=.so
+ else
+ shrext=
+ fi
+ if test $use_additional = yes; then
+ dir="$additional_libdir"
+ dnl The same code as in the loop below:
+ dnl First look for a shared library.
+ if test -n "$acl_shlibext"; then
+ if test -f "$dir/$libname$shrext"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext"
+ else
+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
+ ver=`(cd "$dir" && \
+ for f in "$libname$shrext".*; do echo "$f"; done \
+ | sed -e "s,^$libname$shrext\\\\.,," \
+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
+ | sed 1q ) 2>/dev/null`
+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext.$ver"
+ fi
+ else
+ eval library_names=\"$acl_library_names_spec\"
+ for f in $library_names; do
+ if test -f "$dir/$f"; then
+ found_dir="$dir"
+ found_so="$dir/$f"
+ break
+ fi
+ done
+ fi
+ fi
+ fi
+ dnl Then look for a static library.
+ if test "X$found_dir" = "X"; then
+ if test -f "$dir/$libname.$acl_libext"; then
+ found_dir="$dir"
+ found_a="$dir/$libname.$acl_libext"
+ fi
+ fi
+ if test "X$found_dir" != "X"; then
+ if test -f "$dir/$libname.la"; then
+ found_la="$dir/$libname.la"
+ fi
+ fi
+ fi
+ if test "X$found_dir" = "X"; then
+ for x in $LDFLAGS $LTLIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ case "$x" in
+ -L*)
+ dir=`echo "X$x" | sed -e 's/^X-L//'`
+ dnl First look for a shared library.
+ if test -n "$acl_shlibext"; then
+ if test -f "$dir/$libname$shrext"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext"
+ else
+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
+ ver=`(cd "$dir" && \
+ for f in "$libname$shrext".*; do echo "$f"; done \
+ | sed -e "s,^$libname$shrext\\\\.,," \
+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
+ | sed 1q ) 2>/dev/null`
+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
+ found_dir="$dir"
+ found_so="$dir/$libname$shrext.$ver"
+ fi
+ else
+ eval library_names=\"$acl_library_names_spec\"
+ for f in $library_names; do
+ if test -f "$dir/$f"; then
+ found_dir="$dir"
+ found_so="$dir/$f"
+ break
+ fi
+ done
+ fi
+ fi
+ fi
+ dnl Then look for a static library.
+ if test "X$found_dir" = "X"; then
+ if test -f "$dir/$libname.$acl_libext"; then
+ found_dir="$dir"
+ found_a="$dir/$libname.$acl_libext"
+ fi
+ fi
+ if test "X$found_dir" != "X"; then
+ if test -f "$dir/$libname.la"; then
+ found_la="$dir/$libname.la"
+ fi
+ fi
+ ;;
+ esac
+ if test "X$found_dir" != "X"; then
+ break
+ fi
+ done
+ fi
+ if test "X$found_dir" != "X"; then
+ dnl Found the library.
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
+ if test "X$found_so" != "X"; then
+ dnl Linking with a shared library. We attempt to hardcode its
+ dnl directory into the executable's runpath, unless it's the
+ dnl standard /usr/lib.
+ if test "$enable_rpath" = no \
+ || test "X$found_dir" = "X/usr/$acl_libdirstem" \
+ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
+ dnl No hardcoding is needed.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ else
+ dnl Use an explicit option to hardcode DIR into the resulting
+ dnl binary.
+ dnl Potentially add DIR to ltrpathdirs.
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
+ haveit=
+ for x in $ltrpathdirs; do
+ if test "X$x" = "X$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ ltrpathdirs="$ltrpathdirs $found_dir"
+ fi
+ dnl The hardcoding into $LIBNAME is system dependent.
+ if test "$acl_hardcode_direct" = yes; then
+ dnl Using DIR/libNAME.so during linking hardcodes DIR into the
+ dnl resulting binary.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ else
+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
+ dnl Use an explicit option to hardcode DIR into the resulting
+ dnl binary.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ dnl Potentially add DIR to rpathdirs.
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
+ haveit=
+ for x in $rpathdirs; do
+ if test "X$x" = "X$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ rpathdirs="$rpathdirs $found_dir"
+ fi
+ else
+ dnl Rely on "-L$found_dir".
+ dnl But don't add it if it's already contained in the LDFLAGS
+ dnl or the already constructed $LIBNAME
+ haveit=
+ for x in $LDFLAGS $LIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$found_dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
+ fi
+ if test "$acl_hardcode_minus_L" != no; then
+ dnl FIXME: Not sure whether we should use
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
+ dnl here.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
+ else
+ dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
+ dnl here, because this doesn't fit in flags passed to the
+ dnl compiler. So give up. No hardcoding. This affects only
+ dnl very old systems.
+ dnl FIXME: Not sure whether we should use
+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
+ dnl here.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
+ fi
+ fi
+ fi
+ fi
+ else
+ if test "X$found_a" != "X"; then
+ dnl Linking with a static library.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
+ else
+ dnl We shouldn't come here, but anyway it's good to have a
+ dnl fallback.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
+ fi
+ fi
+ dnl Assume the include files are nearby.
+ additional_includedir=
+ case "$found_dir" in
+ */$acl_libdirstem | */$acl_libdirstem/)
+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
+ if test "$name" = '$1'; then
+ LIB[]NAME[]_PREFIX="$basedir"
+ fi
+ additional_includedir="$basedir/include"
+ ;;
+ */$acl_libdirstem2 | */$acl_libdirstem2/)
+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
+ if test "$name" = '$1'; then
+ LIB[]NAME[]_PREFIX="$basedir"
+ fi
+ additional_includedir="$basedir/include"
+ ;;
+ esac
+ if test "X$additional_includedir" != "X"; then
+ dnl Potentially add $additional_includedir to $INCNAME.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/include,
+ dnl 2. if it's /usr/local/include and we are using GCC on Linux,
+ dnl 3. if it's already present in $CPPFLAGS or the already
+ dnl constructed $INCNAME,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_includedir" != "X/usr/include"; then
+ haveit=
+ if test "X$additional_includedir" = "X/usr/local/include"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ for x in $CPPFLAGS $INC[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-I$additional_includedir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_includedir"; then
+ dnl Really add $additional_includedir to $INCNAME.
+ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
+ fi
+ fi
+ fi
+ fi
+ fi
+ dnl Look for dependencies.
+ if test -n "$found_la"; then
+ dnl Read the .la file. It defines the variables
+ dnl dlname, library_names, old_library, dependency_libs, current,
+ dnl age, revision, installed, dlopen, dlpreopen, libdir.
+ save_libdir="$libdir"
+ case "$found_la" in
+ */* | *\\*) . "$found_la" ;;
+ *) . "./$found_la" ;;
+ esac
+ libdir="$save_libdir"
+ dnl We use only dependency_libs.
+ for dep in $dependency_libs; do
+ case "$dep" in
+ -L*)
+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
+ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/lib,
+ dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
+ dnl 3. if it's already present in $LDFLAGS or the already
+ dnl constructed $LIBNAME,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
+ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
+ haveit=
+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
+ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ haveit=
+ for x in $LDFLAGS $LIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ dnl Really add $additional_libdir to $LIBNAME.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
+ fi
+ fi
+ haveit=
+ for x in $LDFLAGS $LTLIB[]NAME; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ dnl Really add $additional_libdir to $LTLIBNAME.
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
+ fi
+ fi
+ fi
+ fi
+ ;;
+ -R*)
+ dir=`echo "X$dep" | sed -e 's/^X-R//'`
+ if test "$enable_rpath" != no; then
+ dnl Potentially add DIR to rpathdirs.
+ dnl The rpathdirs will be appended to $LIBNAME at the end.
+ haveit=
+ for x in $rpathdirs; do
+ if test "X$x" = "X$dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ rpathdirs="$rpathdirs $dir"
+ fi
+ dnl Potentially add DIR to ltrpathdirs.
+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
+ haveit=
+ for x in $ltrpathdirs; do
+ if test "X$x" = "X$dir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ ltrpathdirs="$ltrpathdirs $dir"
+ fi
+ fi
+ ;;
+ -l*)
+ dnl Handle this in the next round.
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
+ ;;
+ *.la)
+ dnl Handle this in the next round. Throw away the .la's
+ dnl directory; it is already contained in a preceding -L
+ dnl option.
+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
+ ;;
+ *)
+ dnl Most likely an immediate library name.
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
+ ;;
+ esac
+ done
+ fi
+ else
+ dnl Didn't find the library; assume it is in the system directories
+ dnl known to the linker and runtime loader. (All the system
+ dnl directories known to the linker should also be known to the
+ dnl runtime loader, otherwise the system is severely misconfigured.)
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
+ fi
+ fi
+ fi
+ done
+ done
+ if test "X$rpathdirs" != "X"; then
+ if test -n "$acl_hardcode_libdir_separator"; then
+ dnl Weird platform: only the last -rpath option counts, the user must
+ dnl pass all path elements in one option. We can arrange that for a
+ dnl single library, but not when more than one $LIBNAMEs are used.
+ alldirs=
+ for found_dir in $rpathdirs; do
+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
+ done
+ dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
+ acl_save_libdir="$libdir"
+ libdir="$alldirs"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
+ else
+ dnl The -rpath options are cumulative.
+ for found_dir in $rpathdirs; do
+ acl_save_libdir="$libdir"
+ libdir="$found_dir"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
+ done
+ fi
+ fi
+ if test "X$ltrpathdirs" != "X"; then
+ dnl When using libtool, the option that works for both libraries and
+ dnl executables is -R. The -R options are cumulative.
+ for found_dir in $ltrpathdirs; do
+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
+ done
+ fi
+ popdef([P_A_C_K])
+ popdef([PACKLIBS])
+ popdef([PACKUP])
+ popdef([PACK])
+ popdef([NAME])
+])
+
+dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
+dnl unless already present in VAR.
+dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
+dnl contains two or three consecutive elements that belong together.
+AC_DEFUN([AC_LIB_APPENDTOVAR],
+[
+ for element in [$2]; do
+ haveit=
+ for x in $[$1]; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X$element"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ [$1]="${[$1]}${[$1]:+ }$element"
+ fi
+ done
+])
+
+dnl For those cases where a variable contains several -L and -l options
+dnl referring to unknown libraries and directories, this macro determines the
+dnl necessary additional linker options for the runtime path.
+dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
+dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
+dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
+dnl otherwise linking without libtool is assumed.
+AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
+[
+ AC_REQUIRE([AC_LIB_RPATH])
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
+ $1=
+ if test "$enable_rpath" != no; then
+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
+ dnl Use an explicit option to hardcode directories into the resulting
+ dnl binary.
+ rpathdirs=
+ next=
+ for opt in $2; do
+ if test -n "$next"; then
+ dir="$next"
+ dnl No need to hardcode the standard /usr/lib.
+ if test "X$dir" != "X/usr/$acl_libdirstem" \
+ && test "X$dir" != "X/usr/$acl_libdirstem2"; then
+ rpathdirs="$rpathdirs $dir"
+ fi
+ next=
+ else
+ case $opt in
+ -L) next=yes ;;
+ -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
+ dnl No need to hardcode the standard /usr/lib.
+ if test "X$dir" != "X/usr/$acl_libdirstem" \
+ && test "X$dir" != "X/usr/$acl_libdirstem2"; then
+ rpathdirs="$rpathdirs $dir"
+ fi
+ next= ;;
+ *) next= ;;
+ esac
+ fi
+ done
+ if test "X$rpathdirs" != "X"; then
+ if test -n ""$3""; then
+ dnl libtool is used for linking. Use -R options.
+ for dir in $rpathdirs; do
+ $1="${$1}${$1:+ }-R$dir"
+ done
+ else
+ dnl The linker is used for linking directly.
+ if test -n "$acl_hardcode_libdir_separator"; then
+ dnl Weird platform: only the last -rpath option counts, the user
+ dnl must pass all path elements in one option.
+ alldirs=
+ for dir in $rpathdirs; do
+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
+ done
+ acl_save_libdir="$libdir"
+ libdir="$alldirs"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ $1="$flag"
+ else
+ dnl The -rpath options are cumulative.
+ for dir in $rpathdirs; do
+ acl_save_libdir="$libdir"
+ libdir="$dir"
+ eval flag=\"$acl_hardcode_libdir_flag_spec\"
+ libdir="$acl_save_libdir"
+ $1="${$1}${$1:+ }$flag"
+ done
+ fi
+ fi
+ fi
+ fi
+ fi
+ AC_SUBST([$1])
+])
+
+# lib-prefix.m4 serial 7 (gettext-0.18)
+dnl Copyright (C) 2001-2005, 2008-2014 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
+dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
+dnl require excessive bracketing.
+ifdef([AC_HELP_STRING],
+[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
+[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
+
+dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
+dnl to access previously installed libraries. The basic assumption is that
+dnl a user will want packages to use other packages he previously installed
+dnl with the same --prefix option.
+dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
+dnl libraries, but is otherwise very convenient.
+AC_DEFUN([AC_LIB_PREFIX],
+[
+ AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
+ AC_REQUIRE([AC_PROG_CC])
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
+ dnl By default, look in $includedir and $libdir.
+ use_additional=yes
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ AC_LIB_ARG_WITH([lib-prefix],
+[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
+ --without-lib-prefix don't search for libraries in includedir and libdir],
+[
+ if test "X$withval" = "Xno"; then
+ use_additional=no
+ else
+ if test "X$withval" = "X"; then
+ AC_LIB_WITH_FINAL_PREFIX([
+ eval additional_includedir=\"$includedir\"
+ eval additional_libdir=\"$libdir\"
+ ])
+ else
+ additional_includedir="$withval/include"
+ additional_libdir="$withval/$acl_libdirstem"
+ fi
+ fi
+])
+ if test $use_additional = yes; then
+ dnl Potentially add $additional_includedir to $CPPFLAGS.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/include,
+ dnl 2. if it's already present in $CPPFLAGS,
+ dnl 3. if it's /usr/local/include and we are using GCC on Linux,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_includedir" != "X/usr/include"; then
+ haveit=
+ for x in $CPPFLAGS; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-I$additional_includedir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test "X$additional_includedir" = "X/usr/local/include"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux* | gnu* | k*bsd*-gnu) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ if test -d "$additional_includedir"; then
+ dnl Really add $additional_includedir to $CPPFLAGS.
+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
+ fi
+ fi
+ fi
+ fi
+ dnl Potentially add $additional_libdir to $LDFLAGS.
+ dnl But don't add it
+ dnl 1. if it's the standard /usr/lib,
+ dnl 2. if it's already present in $LDFLAGS,
+ dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
+ dnl 4. if it doesn't exist as a directory.
+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
+ haveit=
+ for x in $LDFLAGS; do
+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
+ if test "X$x" = "X-L$additional_libdir"; then
+ haveit=yes
+ break
+ fi
+ done
+ if test -z "$haveit"; then
+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
+ if test -n "$GCC"; then
+ case $host_os in
+ linux*) haveit=yes;;
+ esac
+ fi
+ fi
+ if test -z "$haveit"; then
+ if test -d "$additional_libdir"; then
+ dnl Really add $additional_libdir to $LDFLAGS.
+ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
+ fi
+ fi
+ fi
+ fi
+ fi
+])
+
+dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
+dnl acl_final_exec_prefix, containing the values to which $prefix and
+dnl $exec_prefix will expand at the end of the configure script.
+AC_DEFUN([AC_LIB_PREPARE_PREFIX],
+[
+ dnl Unfortunately, prefix and exec_prefix get only finally determined
+ dnl at the end of configure.
+ if test "X$prefix" = "XNONE"; then
+ acl_final_prefix="$ac_default_prefix"
+ else
+ acl_final_prefix="$prefix"
+ fi
+ if test "X$exec_prefix" = "XNONE"; then
+ acl_final_exec_prefix='${prefix}'
+ else
+ acl_final_exec_prefix="$exec_prefix"
+ fi
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
+ prefix="$acl_save_prefix"
+])
+
+dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
+dnl variables prefix and exec_prefix bound to the values they will have
+dnl at the end of the configure script.
+AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
+[
+ acl_save_prefix="$prefix"
+ prefix="$acl_final_prefix"
+ acl_save_exec_prefix="$exec_prefix"
+ exec_prefix="$acl_final_exec_prefix"
+ $1
+ exec_prefix="$acl_save_exec_prefix"
+ prefix="$acl_save_prefix"
+])
+
+dnl AC_LIB_PREPARE_MULTILIB creates
+dnl - a variable acl_libdirstem, containing the basename of the libdir, either
+dnl "lib" or "lib64" or "lib/64",
+dnl - a variable acl_libdirstem2, as a secondary possible value for
+dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or
+dnl "lib/amd64".
+AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
+[
+ dnl There is no formal standard regarding lib and lib64.
+ dnl On glibc systems, the current practice is that on a system supporting
+ dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
+ dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
+ dnl the compiler's default mode by looking at the compiler's library search
+ dnl path. If at least one of its elements ends in /lib64 or points to a
+ dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
+ dnl Otherwise we use the default, namely "lib".
+ dnl On Solaris systems, the current practice is that on a system supporting
+ dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
+ dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
+ dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
+ AC_REQUIRE([AC_CANONICAL_HOST])
+ acl_libdirstem=lib
+ acl_libdirstem2=
+ case "$host_os" in
+ solaris*)
+ dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
+ dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
+ dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
+ dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
+ dnl symlink is missing, so we set acl_libdirstem2 too.
+ AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
+ [AC_EGREP_CPP([sixtyfour bits], [
+#ifdef _LP64
+sixtyfour bits
+#endif
+ ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
+ ])
+ if test $gl_cv_solaris_64bit = yes; then
+ acl_libdirstem=lib/64
+ case "$host_cpu" in
+ sparc*) acl_libdirstem2=lib/sparcv9 ;;
+ i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
+ esac
+ fi
+ ;;
+ *)
+ searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
+ if test -n "$searchpath"; then
+ acl_save_IFS="${IFS= }"; IFS=":"
+ for searchdir in $searchpath; do
+ if test -d "$searchdir"; then
+ case "$searchdir" in
+ */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
+ */../ | */.. )
+ # Better ignore directories of this form. They are misleading.
+ ;;
+ *) searchdir=`cd "$searchdir" && pwd`
+ case "$searchdir" in
+ */lib64 ) acl_libdirstem=lib64 ;;
+ esac ;;
+ esac
+ fi
+ done
+ IFS="$acl_save_IFS"
+ fi
+ ;;
+ esac
+ test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
+])
+
+# Copyright (C) 2002-2013 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_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.14'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.14.1], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.14.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 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.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
+# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is '.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 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_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ([2.52])dnl
+ m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999-2013 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.
+
+
+# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
+ [$1], [CXX], [depcc="$CXX" am_compiler_list=],
+ [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
+ [$1], [UPC], [depcc="$UPC" am_compiler_list=],
+ [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named 'D' -- because '-MD' means "put the output
+ # in D".
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ am__universal=false
+ m4_case([$1], [CC],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac],
+ [CXX],
+ [case " $depcc " in #(
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
+ esac])
+
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
+ # Solaris 10 /bin/sh.
+ echo '/* dummy */' > sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ # We check with '-c' and '-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle '-M -o', and we need to detect this. Also, some Intel
+ # versions had trouble with output in subdirs.
+ am__obj=sub/conftest.${OBJEXT-o}
+ am__minus_obj="-o $am__obj"
+ case $depmode in
+ gcc)
+ # This depmode causes a compiler race in universal mode.
+ test "$am__universal" = false || continue
+ ;;
+ nosideeffect)
+ # After this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested.
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
+ # This compiler won't grok '-c -o', but also, the minuso test has
+ # not run yet. These depmodes are late enough in the game, and
+ # so weak that their functioning should not be impacted.
+ am__obj=conftest.${OBJEXT-o}
+ am__minus_obj=
+ ;;
+ none) break ;;
+ esac
+ if depmode=$depmode \
+ source=sub/conftest.c object=$am__obj \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE([dependency-tracking], [dnl
+AS_HELP_STRING(
+ [--enable-dependency-tracking],
+ [do not reject slow dependency extractors])
+AS_HELP_STRING(
+ [--disable-dependency-tracking],
+ [speeds up one-time build])])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ am__nodep='_no'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright (C) 1999-2013 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_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[{
+ # Older Autoconf quotes --file arguments for eval, but not when files
+ # are listed without --file. Let's play safe and only enable the eval
+ # if we detect the quoting.
+ case $CONFIG_FILES in
+ *\'*) eval set x "$CONFIG_FILES" ;;
+ *) set x $CONFIG_FILES ;;
+ esac
+ shift
+ for mf
+ do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named 'Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running 'make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+ done
+}
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each '.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 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.
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
+m4_define([AC_PROG_CC],
+m4_defn([AC_PROG_CC])
+[_AM_PROG_CC_C_O
+])
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.65])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[AC_DIAGNOSE([obsolete],
+ [$0: two- and three-arguments forms are deprecated.])
+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(
+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
+ [ok:ok],,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
+AM_MISSING_PROG([AUTOCONF], [autoconf])
+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
+AM_MISSING_PROG([AUTOHEADER], [autoheader])
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES([CC])],
+ [m4_define([AC_PROG_CC],
+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES([CXX])],
+ [m4_define([AC_PROG_CXX],
+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES([OBJC])],
+ [m4_define([AC_PROG_OBJC],
+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+ [_AM_DEPENDENCIES([OBJCXX])],
+ [m4_define([AC_PROG_OBJCXX],
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
+])
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
+
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
+ fi
+fi
+])
+
+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_arg=$1
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $_am_arg | $_am_arg:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001-2013 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_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+if test x"${install_sh}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+ *)
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
+ esac
+fi
+AC_SUBST([install_sh])])
+
+# Copyright (C) 2003-2013 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.
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+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-2013 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
+]
+)
+
+# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 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_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo this is the am__doit target
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# Ignore all kinds of additional output from 'make'.
+case `$am_make -s -f confmf 2> /dev/null` in #(
+*the\ am__doit\ target*)
+ am__include=include
+ am__quote=
+ _am_result=GNU
+ ;;
+esac
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ case `$am_make -s -f confmf 2> /dev/null` in #(
+ *the\ am__doit\ target*)
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ ;;
+ esac
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997-2013 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_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+if test x"${MISSING+set}" != xset; then
+ case $am_aux_dir in
+ *\ * | *\ *)
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+ *)
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
+ esac
+fi
+# Use eval to expand $SHELL
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
+else
+ am_missing_run=
+ AC_MSG_WARN(['missing' script is too old or missing])
+fi
+])
+
+# -*- Autoconf -*-
+# Obsolete and "removed" macros, that must however still report explicit
+# error messages when used, to smooth transition.
+#
+# Copyright (C) 1996-2013 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.
+
+AC_DEFUN([AM_CONFIG_HEADER],
+[AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
+AC_CONFIG_HEADERS($@)])
+
+AC_DEFUN([AM_PROG_CC_STDC],
+[AC_PROG_CC
+am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
+AC_DIAGNOSE([obsolete],
+['$0': this macro is obsolete.
+You should simply use the 'AC][_PROG_CC' macro instead.
+Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
+but upon 'ac_cv_prog_cc_stdc'.])])
+
+AC_DEFUN([AM_C_PROTOTYPES],
+ [AC_FATAL([automatic de-ANSI-fication support has been removed])])
+AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001-2013 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_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# --------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Copyright (C) 1999-2013 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_PROG_CC_C_O
+# ---------------
+# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
+# to automatically call this.
+AC_DEFUN([_AM_PROG_CC_C_O],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([compile])dnl
+AC_LANG_PUSH([C])dnl
+AC_CACHE_CHECK(
+ [whether $CC understands -c and -o together],
+ [am_cv_prog_cc_c_o],
+ [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i])
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+AC_LANG_POP([C])])
+
+# For backward compatibility.
+AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
+
+# Copyright (C) 2001-2013 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_RUN_LOG(COMMAND)
+# -------------------
+# Run COMMAND, save the exit status in ac_status, and log it.
+# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
+AC_DEFUN([AM_RUN_LOG],
+[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
+ ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ (exit $ac_status); }])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996-2013 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_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name. Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
+esac
+
+# Do 'set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ am_has_slept=no
+ for am_try in 1 2; do
+ echo "timestamp, slept: $am_has_slept" > conftest.file
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t "$srcdir/configure" conftest.file`
+ fi
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+ alias in your environment])
+ fi
+ if test "$[2]" = conftest.file || test $am_try -eq 2; then
+ break
+ fi
+ # Just in case.
+ sleep 1
+ am_has_slept=yes
+ done
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT([yes])
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+ ( sleep 1 ) &
+ am_sleep_pid=$!
+fi
+AC_CONFIG_COMMANDS_PRE(
+ [AC_MSG_CHECKING([that generated files are newer than configure])
+ if test -n "$am_sleep_pid"; then
+ # Hide warnings about reused PIDs.
+ wait $am_sleep_pid 2>/dev/null
+ fi
+ AC_MSG_RESULT([done])])
+rm -f conftest.file
+])
+
+# Copyright (C) 2009-2013 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_SILENT_RULES([DEFAULT])
+# --------------------------
+# Enable less verbose build rules; with the default set to DEFAULT
+# ("yes" being less verbose, "no" or empty being verbose).
+AC_DEFUN([AM_SILENT_RULES],
+[AC_ARG_ENABLE([silent-rules], [dnl
+AS_HELP_STRING(
+ [--enable-silent-rules],
+ [less verbose build output (undo: "make V=1")])
+AS_HELP_STRING(
+ [--disable-silent-rules],
+ [verbose build output (undo: "make V=0")])dnl
+])
+case $enable_silent_rules in @%:@ (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
+esac
+dnl
+dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
+dnl do not support nested variable expansions.
+dnl See automake bug#9928 and bug#10237.
+am_make=${MAKE-make}
+AC_CACHE_CHECK([whether $am_make supports nested variables],
+ [am_cv_make_support_nested_variables],
+ [if AS_ECHO([['TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi])
+if test $am_cv_make_support_nested_variables = yes; then
+ dnl Using '$V' instead of '$(V)' breaks IRIX make.
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AC_SUBST([AM_V])dnl
+AM_SUBST_NOTMAKE([AM_V])dnl
+AC_SUBST([AM_DEFAULT_V])dnl
+AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
+AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
+AM_BACKSLASH='\'
+AC_SUBST([AM_BACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
+])
+
+# Copyright (C) 2001-2013 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_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor 'install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in "make install-strip", and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip". However 'strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the 'STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006-2013 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_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# AM_SUBST_NOTMAKE(VARIABLE)
+# --------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004-2013 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_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of 'v7', 'ustar', or 'pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+#
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+
+m4_if([$1], [v7],
+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
+
+ [m4_case([$1],
+ [ustar],
+ [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
+ # There is notably a 21 bits limit for the UID and the GID. In fact,
+ # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
+ # and bug#13588).
+ am_max_uid=2097151 # 2^21 - 1
+ am_max_gid=$am_max_uid
+ # The $UID and $GID variables are not portable, so we need to resort
+ # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
+ # below are definitely unexpected, so allow the users to see them
+ # (that is, avoid stderr redirection).
+ am_uid=`id -u || echo unknown`
+ am_gid=`id -g || echo unknown`
+ AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
+ if test $am_uid -le $am_max_uid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi
+ AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
+ if test $am_gid -le $am_max_gid; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ _am_tools=none
+ fi],
+
+ [pax],
+ [],
+
+ [m4_fatal([Unknown tar format])])
+
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+
+ # Go ahead even if we have the value already cached. We do so because we
+ # need to set the values for the 'am__tar' and 'am__untar' variables.
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+
+ for _am_tool in $_am_tools; do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar; do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works.
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ AM_RUN_LOG([cat conftest.dir/file])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+ done
+ rm -rf conftest.dir
+
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([m4/curses.m4])
+m4_include([m4/gpg-error.m4])
+m4_include([m4/iconv.m4])
+m4_include([m4/libassuan.m4])
+m4_include([m4/pkg.m4])
+m4_include([m4/qt.m4])
+m4_include([acinclude.m4])
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.rc b/debian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.rc
new file mode 100644
index 0000000..9be5e62
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.rc
@@ -0,0 +1,27 @@
+# autogen.sh configuration for Pinentry -*- sh -*-
+
+#version_parts=3
+
+case "$myhost:$myhostsub" in
+ w32:ce)
+ extraoptions="--disable-pinentry-gtk2 --disable-pinentry-qt"
+ ;;
+ w32:)
+ extraoptions=""
+ ;;
+esac
+
+case "$myhost" in
+ w32)
+ configure_opts="
+ --with-gpg-error-prefix=@SYSROOT@
+ --with-libassuan-prefix=@SYSROOT@
+ --with-libiconv-prefix=@SYSROOT@
+ PKG_CONFIG_LIBDIR=@SYSROOT@/lib/pkgconfig
+ "
+ ;;
+esac
+
+extra_aclocal_flags=
+
+final_info="./configure --enable-maintainer-mode && make"
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.sh b/debian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.sh
new file mode 100755
index 0000000..37edfc6
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/autogen.sh
@@ -0,0 +1,468 @@
+#! /bin/sh
+# autogen.sh
+# Copyright (C) 2003, 2014 g10 Code GmbH
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# This is a generic script to create the configure script and handle cross
+# build environments. It requires the presence of a autogen.rc file to
+# configure it for the respective package. It is maintained as part of
+# GnuPG and source copied by other packages.
+#
+# Version: 2014-06-06
+
+configure_ac="configure.ac"
+
+cvtver () {
+ awk 'NR==1 {split($NF,A,".");X=1000000*A[1]+1000*A[2]+A[3];print X;exit 0}'
+}
+
+check_version () {
+ if [ $(( `("$1" --version || echo "0") | cvtver` >= $2 )) = 1 ]; then
+ return 0
+ fi
+ echo "**Error**: "\`$1\'" not installed or too old." >&2
+ echo ' Version '$3' or newer is required.' >&2
+ [ -n "$4" ] && echo ' Note that this is part of '\`$4\''.' >&2
+ DIE="yes"
+ return 1
+}
+
+fatal () {
+ echo "autogen.sh:" "$*" >&2
+ DIE=yes
+}
+
+info () {
+ if [ -z "${SILENT}" ]; then
+ echo "autogen.sh:" "$*" >&2
+ fi
+}
+
+die_p () {
+ if [ "$DIE" = "yes" ]; then
+ echo "autogen.sh: Stop." >&2
+ exit 1
+ fi
+}
+
+replace_sysroot () {
+ configure_opts=$(echo $configure_opts | sed "s#@SYSROOT@#${w32root}#g")
+ extraoptions=$(echo $extraoptions | sed "s#@SYSROOT@#${w32root}#g")
+}
+
+# Allow to override the default tool names
+AUTOCONF=${AUTOCONF_PREFIX}${AUTOCONF:-autoconf}${AUTOCONF_SUFFIX}
+AUTOHEADER=${AUTOCONF_PREFIX}${AUTOHEADER:-autoheader}${AUTOCONF_SUFFIX}
+
+AUTOMAKE=${AUTOMAKE_PREFIX}${AUTOMAKE:-automake}${AUTOMAKE_SUFFIX}
+ACLOCAL=${AUTOMAKE_PREFIX}${ACLOCAL:-aclocal}${AUTOMAKE_SUFFIX}
+
+GETTEXT=${GETTEXT_PREFIX}${GETTEXT:-gettext}${GETTEXT_SUFFIX}
+MSGMERGE=${GETTEXT_PREFIX}${MSGMERGE:-msgmerge}${GETTEXT_SUFFIX}
+
+DIE=no
+FORCE=
+SILENT=
+PRINT_HOST=no
+PRINT_BUILD=no
+tmp=$(dirname "$0")
+tsdir=$(cd "${tmp}"; pwd)
+version_parts=3
+
+if [ -n "${AUTOGEN_SH_SILENT}" ]; then
+ SILENT=" --silent"
+fi
+if test x"$1" = x"--help"; then
+ echo "usage: ./autogen.sh [--silent] [--force] [--build-TYPE] [ARGS]"
+ exit 0
+fi
+if test x"$1" = x"--silent"; then
+ SILENT=" --silent"
+ shift
+fi
+if test x"$1" = x"--force"; then
+ FORCE=" --force"
+ shift
+fi
+if test x"$1" = x"--print-host"; then
+ PRINT_HOST=yes
+ shift
+fi
+if test x"$1" = x"--print-build"; then
+ PRINT_BUILD=yes
+ shift
+fi
+
+
+# Reject unsafe characters in $HOME, $tsdir and cwd. We consider spaces
+# as unsafe because it is too easy to get scripts wrong in this regard.
+am_lf='
+'
+case `pwd` in
+ *[\;\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ fatal "unsafe working directory name" ;;
+esac
+case $tsdir in
+ *[\;\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ fatal "unsafe source directory: \`$tsdir'" ;;
+esac
+case $HOME in
+ *[\;\\\"\#\$\&\'\`$am_lf\ \ ]*)
+ fatal "unsafe home directory: \`$HOME'" ;;
+esac
+die_p
+
+
+# List of variables sourced from autogen.rc. The strings '@SYSROOT@' in
+# these variables are replaced by the actual system root.
+configure_opts=
+extraoptions=
+# List of optional variables sourced from autogen.rc and ~/.gnupg-autogen.rc
+w32_toolprefixes=
+w32_extraoptions=
+w32ce_toolprefixes=
+w32ce_extraoptions=
+w64_toolprefixes=
+w64_extraoptions=
+amd64_toolprefixes=
+# End list of optional variables sourced from ~/.gnupg-autogen.rc
+# What follows are variables which are sourced but default to
+# environment variables or lacking them hardcoded values.
+#w32root=
+#w32ce_root=
+#w64root=
+#amd64root=
+
+# Convenience option to use certain configure options for some hosts.
+myhost=""
+myhostsub=""
+case "$1" in
+ --find-version)
+ myhost="find-version"
+ SILENT=" --silent"
+ shift
+ ;;
+ --build-w32)
+ myhost="w32"
+ shift
+ ;;
+ --build-w32ce)
+ myhost="w32"
+ myhostsub="ce"
+ shift
+ ;;
+ --build-w64)
+ myhost="w32"
+ myhostsub="64"
+ shift
+ ;;
+ --build-amd64)
+ myhost="amd64"
+ shift
+ ;;
+ --build*)
+ fatal "**Error**: invalid build option $1"
+ shift
+ ;;
+ *)
+ ;;
+esac
+die_p
+
+
+# Source our configuration
+if [ -f "${tsdir}/autogen.rc" ]; then
+ . "${tsdir}/autogen.rc"
+fi
+
+# Source optional site specific configuration
+if [ -f "$HOME/.gnupg-autogen.rc" ]; then
+ info "sourcing extra definitions from $HOME/.gnupg-autogen.rc"
+ . "$HOME/.gnupg-autogen.rc"
+fi
+
+
+# **** FIND VERSION ****
+# This is a helper for the configure.ac M4 magic
+# Called
+# ./autogen.sh --find-version PACKAGE MAJOR MINOR [MICRO]
+# returns a complete version string with automatic beta numbering.
+if [ "$myhost" = "find-version" ]; then
+ package="$1"
+ major="$2"
+ minor="$3"
+ micro="$4"
+
+ case "$version_parts" in
+ 2)
+ matchstr1="$package-$major.[0-9]*"
+ matchstr2="$package-$major-base"
+ vers="$major.$minor"
+ ;;
+ *)
+ matchstr1="$package-$major.$minor.[0-9]*"
+ matchstr2="$package-$major.$minor-base"
+ vers="$major.$minor.$micro"
+ ;;
+ esac
+
+ beta=no
+ if [ -d .git ]; then
+ ingit=yes
+ tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
+ if [ -n "$tmp" ]; then
+ tmp=$(echo "$tmp"|awk -F- '$3!=0 && $3 !~ /^beta/ {print"-beta"$3}')
+ else
+ tmp=$(git describe --match "${matchstr2}" --long 2>/dev/null \
+ | awk -F- '$4!=0{print"-beta"$4}')
+ fi
+ [ -n "$tmp" ] && beta=yes
+ rev=$(git rev-parse --short HEAD | tr -d '\n\r')
+ rvd=$((0x$(echo ${rev} | head -c 4)))
+ else
+ ingit=no
+ beta=yes
+ tmp="-unknown"
+ rev="0000000"
+ rvd="0"
+ fi
+
+ echo "$package-$vers$tmp:$beta:$ingit:$vers$tmp:$vers:$tmp:$rev:$rvd:"
+ exit 0
+fi
+# **** end FIND VERSION ****
+
+
+if [ ! -f "$tsdir/build-aux/config.guess" ]; then
+ fatal "$tsdir/build-aux/config.guess not found"
+ exit 1
+fi
+build=`$tsdir/build-aux/config.guess`
+if [ $PRINT_BUILD = yes ]; then
+ echo "$build"
+ exit 0
+fi
+
+
+
+# ******************
+# W32 build script
+# ******************
+if [ "$myhost" = "w32" ]; then
+ case $myhostsub in
+ ce)
+ w32root="$w32ce_root"
+ [ -z "$w32root" ] && w32root="$HOME/w32ce_root"
+ toolprefixes="$w32ce_toolprefixes arm-mingw32ce"
+ extraoptions="$extraoptions $w32ce_extraoptions"
+ ;;
+ 64)
+ w32root="$w64root"
+ [ -z "$w32root" ] && w32root="$HOME/w64root"
+ toolprefixes="$w64_toolprefixes x86_64-w64-mingw32"
+ extraoptions="$extraoptions $w64_extraoptions"
+ ;;
+ *)
+ [ -z "$w32root" ] && w32root="$HOME/w32root"
+ toolprefixes="$w32_toolprefixes i686-w64-mingw32 i586-mingw32msvc"
+ toolprefixes="$toolprefixes i386-mingw32msvc mingw32"
+ extraoptions="$extraoptions $w32_extraoptions"
+ ;;
+ esac
+ info "Using $w32root as standard install directory"
+ replace_sysroot
+
+ # Locate the cross compiler
+ crossbindir=
+ for host in $toolprefixes; do
+ if ${host}-gcc --version >/dev/null 2>&1 ; then
+ crossbindir=/usr/${host}/bin
+ conf_CC="CC=${host}-gcc"
+ break;
+ fi
+ done
+ if [ -z "$crossbindir" ]; then
+ fatal "cross compiler kit not installed"
+ if [ -z "$myhostsub" ]; then
+ info "Under Debian GNU/Linux, you may install it using"
+ info " apt-get install mingw32 mingw32-runtime mingw32-binutils"
+ fi
+ die_p
+ fi
+ if [ $PRINT_HOST = yes ]; then
+ echo "$host"
+ exit 0
+ fi
+
+ if [ -f "$tsdir/config.log" ]; then
+ if ! head $tsdir/config.log | grep "$host" >/dev/null; then
+ fatal "Please run a 'make distclean' first"
+ die_p
+ fi
+ fi
+
+ $tsdir/configure --enable-maintainer-mode ${SILENT} \
+ --prefix=${w32root} \
+ --host=${host} --build=${build} SYSROOT=${w32root} \
+ ${configure_opts} ${extraoptions} "$@"
+ rc=$?
+ exit $rc
+fi
+# ***** end W32 build script *******
+
+# ***** AMD64 cross build script *******
+# Used to cross-compile for AMD64 (for testing)
+if [ "$myhost" = "amd64" ]; then
+ [ -z "$amd64root" ] && amd64root="$HOME/amd64root"
+ info "Using $amd64root as standard install directory"
+ replace_sysroot
+
+ toolprefixes="$amd64_toolprefixes x86_64-linux-gnu amd64-linux-gnu"
+
+ # Locate the cross compiler
+ crossbindir=
+ for host in $toolprefixes ; do
+ if ${host}-gcc --version >/dev/null 2>&1 ; then
+ crossbindir=/usr/${host}/bin
+ conf_CC="CC=${host}-gcc"
+ break;
+ fi
+ done
+ if [ -z "$crossbindir" ]; then
+ echo "Cross compiler kit not installed" >&2
+ echo "Stop." >&2
+ exit 1
+ fi
+ if [ $PRINT_HOST = yes ]; then
+ echo "$host"
+ exit 0
+ fi
+
+ if [ -f "$tsdir/config.log" ]; then
+ if ! head $tsdir/config.log | grep "$host" >/dev/null; then
+ echo "Please run a 'make distclean' first" >&2
+ exit 1
+ fi
+ fi
+
+ $tsdir/configure --enable-maintainer-mode ${SILENT} \
+ --prefix=${amd64root} \
+ --host=${host} --build=${build} \
+ ${configure_opts} ${extraoptions} "$@"
+ rc=$?
+ exit $rc
+fi
+# ***** end AMD64 cross build script *******
+
+
+# Grep the required versions from configure.ac
+autoconf_vers=`sed -n '/^AC_PREREQ(/ {
+s/^.*(\(.*\))/\1/p
+q
+}' ${configure_ac}`
+autoconf_vers_num=`echo "$autoconf_vers" | cvtver`
+
+automake_vers=`sed -n '/^min_automake_version=/ {
+s/^.*="\(.*\)"/\1/p
+q
+}' ${configure_ac}`
+automake_vers_num=`echo "$automake_vers" | cvtver`
+
+if [ -d "${tsdir}/po" ]; then
+ gettext_vers=`sed -n '/^AM_GNU_GETTEXT_VERSION(/ {
+s/^.*\[\(.*\)])/\1/p
+q
+}' ${configure_ac}`
+ gettext_vers_num=`echo "$gettext_vers" | cvtver`
+else
+ gettext_vers="n/a"
+fi
+
+if [ -z "$autoconf_vers" -o -z "$automake_vers" -o -z "$gettext_vers" ]
+then
+ echo "**Error**: version information not found in "\`${configure_ac}\'"." >&2
+ exit 1
+fi
+
+
+if check_version $AUTOCONF $autoconf_vers_num $autoconf_vers ; then
+ check_version $AUTOHEADER $autoconf_vers_num $autoconf_vers autoconf
+fi
+if check_version $AUTOMAKE $automake_vers_num $automake_vers; then
+ check_version $ACLOCAL $automake_vers_num $autoconf_vers automake
+fi
+if [ "$gettext_vers" != "n/a" ]; then
+ if check_version $GETTEXT $gettext_vers_num $gettext_vers; then
+ check_version $MSGMERGE $gettext_vers_num $gettext_vers gettext
+ fi
+fi
+
+if [ "$DIE" = "yes" ]; then
+ cat <<EOF
+
+Note that you may use alternative versions of the tools by setting
+the corresponding environment variables; see README.GIT for details.
+
+EOF
+ die_p
+fi
+
+# Check the git setup.
+if [ -d .git ]; then
+ CP="cp -a"
+ [ -z "${SILENT}" ] && CP="$CP -v"
+ if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
+ [ -z "${SILENT}" ] && cat <<EOF
+*** Activating trailing whitespace git pre-commit hook. ***
+ For more information see this thread:
+ https://mail.gnome.org/archives/desktop-devel-list/2009-May/msg00084.html
+ To deactivate this pre-commit hook again move .git/hooks/pre-commit
+ and .git/hooks/pre-commit.sample out of the way.
+EOF
+ $CP .git/hooks/pre-commit.sample .git/hooks/pre-commit
+ chmod +x .git/hooks/pre-commit
+ fi
+
+ if [ "$gettext_vers" != "n/a" ]; then
+ tmp=$(git config --get filter.cleanpo.clean)
+ if [ "$tmp" != \
+ "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'" ]
+ then
+ info "*** Adding GIT filter.cleanpo.clean configuration."
+ git config --add filter.cleanpo.clean \
+ "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'"
+ fi
+ fi
+ if [ -f build-aux/git-hooks/commit-msg -a ! -f .git/hooks/commit-msg ] ; then
+ [ -z "${SILENT}" ] && cat <<EOF
+*** Activating commit log message check hook. ***
+EOF
+ $CP build-aux/git-hooks/commit-msg .git/hooks/commit-msg
+ chmod +x .git/hooks/commit-msg
+ fi
+fi
+
+aclocal_flags="-I m4"
+if [ -n "${extra_aclocal_flags}" ]; then
+ aclocal_flags="${aclocal_flags} ${extra_aclocal_flags}"
+fi
+if [ -n "${ACLOCAL_FLAGS}" ]; then
+ aclocal_flags="${aclocal_flags} ${ACLOCAL_FLAGS}"
+fi
+info "Running $ACLOCAL ${aclocal_flags} ..."
+$ACLOCAL ${aclocal_flags}
+info "Running autoheader..."
+$AUTOHEADER
+info "Running automake --gnu ..."
+$AUTOMAKE --gnu;
+info "Running autoconf${FORCE} ..."
+$AUTOCONF${FORCE}
+
+info "You may now run:${am_lf} ${final_info}"
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/compile b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/compile
new file mode 100755
index 0000000..52f8f94
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/compile
@@ -0,0 +1,347 @@
+#! /bin/sh
+# Wrapper for compilers which do not understand '-c -o'.
+
+scriptversion=2012-10-14.11; # UTC
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey@cygnus.com>.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+nl='
+'
+
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" "" $nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+ file=$1
+ case $file in
+ / | /[!/]*) # absolute file, and not a UNC file
+ if test -z "$file_conv"; then
+ # lazily determine how to convert abs files
+ case `uname -s` in
+ MINGW*)
+ file_conv=mingw
+ ;;
+ CYGWIN*)
+ file_conv=cygwin
+ ;;
+ *)
+ file_conv=wine
+ ;;
+ esac
+ fi
+ case $file_conv/,$2, in
+ *,$file_conv,*)
+ ;;
+ mingw/*)
+ file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+ ;;
+ cygwin/*)
+ file=`cygpath -m "$file" || echo "$file"`
+ ;;
+ wine/*)
+ file=`winepath -w "$file" || echo "$file"`
+ ;;
+ esac
+ ;;
+ esac
+}
+
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+ func_file_conv "$1"
+ if test -z "$lib_path"; then
+ lib_path=$file
+ else
+ lib_path="$lib_path;$file"
+ fi
+ linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+ lib=$1
+ found=no
+ save_IFS=$IFS
+ IFS=';'
+ for dir in $lib_path $LIB
+ do
+ IFS=$save_IFS
+ if $shared && test -f "$dir/$lib.dll.lib"; then
+ found=yes
+ lib=$dir/$lib.dll.lib
+ break
+ fi
+ if test -f "$dir/$lib.lib"; then
+ found=yes
+ lib=$dir/$lib.lib
+ break
+ fi
+ if test -f "$dir/lib$lib.a"; then
+ found=yes
+ lib=$dir/lib$lib.a
+ break
+ fi
+ done
+ IFS=$save_IFS
+
+ if test "$found" != yes; then
+ lib=$lib.lib
+ fi
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+ # Assume a capable shell
+ lib_path=
+ shared=:
+ linker_opts=
+ for arg
+ do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ eat=1
+ case $2 in
+ *.o | *.[oO][bB][jJ])
+ func_file_conv "$2"
+ set x "$@" -Fo"$file"
+ shift
+ ;;
+ *)
+ func_file_conv "$2"
+ set x "$@" -Fe"$file"
+ shift
+ ;;
+ esac
+ ;;
+ -I)
+ eat=1
+ func_file_conv "$2" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -I*)
+ func_file_conv "${1#-I}" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -l)
+ eat=1
+ func_cl_dashl "$2"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -l*)
+ func_cl_dashl "${1#-l}"
+ set x "$@" "$lib"
+ shift
+ ;;
+ -L)
+ eat=1
+ func_cl_dashL "$2"
+ ;;
+ -L*)
+ func_cl_dashL "${1#-L}"
+ ;;
+ -static)
+ shared=false
+ ;;
+ -Wl,*)
+ arg=${1#-Wl,}
+ save_ifs="$IFS"; IFS=','
+ for flag in $arg; do
+ IFS="$save_ifs"
+ linker_opts="$linker_opts $flag"
+ done
+ IFS="$save_ifs"
+ ;;
+ -Xlinker)
+ eat=1
+ linker_opts="$linker_opts $2"
+ ;;
+ -*)
+ set x "$@" "$1"
+ shift
+ ;;
+ *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+ func_file_conv "$1"
+ set x "$@" -Tp"$file"
+ shift
+ ;;
+ *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+ func_file_conv "$1" mingw
+ set x "$@" "$file"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+ done
+ if test -n "$linker_opts"; then
+ linker_opts="-link$linker_opts"
+ fi
+ exec "$@" $linker_opts
+ exit 1
+}
+
+eat=
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: compile [--help] [--version] PROGRAM [ARGS]
+
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
+arguments, and rename the output as expected.
+
+If you are trying to build a whole package this is not the
+right script to run: please start by reading the file 'INSTALL'.
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "compile $scriptversion"
+ exit $?
+ ;;
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;
+esac
+
+ofile=
+cfile=
+
+for arg
+do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ # So we strip '-o arg' only if arg is an object.
+ eat=1
+ case $2 in
+ *.o | *.obj)
+ ofile=$2
+ ;;
+ *)
+ set x "$@" -o "$2"
+ shift
+ ;;
+ esac
+ ;;
+ *.c)
+ cfile=$1
+ set x "$@" "$1"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+done
+
+if test -z "$ofile" || test -z "$cfile"; then
+ # If no '-o' option was seen then we might have been invoked from a
+ # pattern rule where we don't need one. That is ok -- this is a
+ # normal compilation that the losing compiler can handle. If no
+ # '.c' file was seen then we are probably linking. That is also
+ # ok.
+ exec "$@"
+fi
+
+# Name of file we expect compiler to create.
+cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
+
+# Create the lock directory.
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
+# that we are using for the .o file. Also, base the name on the expected
+# object file name, since that is what matters with a parallel build.
+lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
+while true; do
+ if mkdir "$lockdir" >/dev/null 2>&1; then
+ break
+ fi
+ sleep 1
+done
+# FIXME: race condition here if user kills between mkdir and trap.
+trap "rmdir '$lockdir'; exit 1" 1 2 15
+
+# Run the compile.
+"$@"
+ret=$?
+
+if test -f "$cofile"; then
+ test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+ test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
+fi
+
+rmdir "$lockdir"
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.guess b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.guess
new file mode 100755
index 0000000..c4bd827
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.guess
@@ -0,0 +1,1456 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+# Copyright 1992-2016 Free Software Foundation, Inc.
+
+timestamp='2016-05-15'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+#
+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
+#
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
+#
+# Please send patches to <config-patches@gnu.org>.
+
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright 1992-2016 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help" >&2
+ exit 1 ;;
+ * )
+ break ;;
+ esac
+done
+
+if test $# != 0; then
+ echo "$me: too many arguments$help" >&2
+ exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,) echo "int x;" > $dummy.c ;
+ for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+ CC_FOR_BUILD="$c"; break ;
+ fi ;
+ done ;
+ if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found ;
+ fi
+ ;;
+ ,,*) CC_FOR_BUILD=$CC ;;
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
+esac ; set_cc_for_build= ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi@noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+case "${UNAME_SYSTEM}" in
+Linux|GNU|GNU/*)
+ # If the system lacks a compiler, then just pick glibc.
+ # We could probably try harder.
+ LIBC=gnu
+
+ eval $set_cc_for_build
+ cat <<-EOF > $dummy.c
+ #include <features.h>
+ #if defined(__UCLIBC__)
+ LIBC=uclibc
+ #elif defined(__dietlibc__)
+ LIBC=dietlibc
+ #else
+ LIBC=gnu
+ #endif
+ EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
+ ;;
+esac
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
+ # compatibility and a consistent mechanism for selecting the
+ # object file format.
+ #
+ # Note: NetBSD doesn't particularly care about the vendor
+ # portion of the name. We always set it to "unknown".
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
+ /sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || \
+ echo unknown)`
+ case "${UNAME_MACHINE_ARCH}" in
+ armeb) machine=armeb-unknown ;;
+ arm*) machine=arm-unknown ;;
+ sh3el) machine=shl-unknown ;;
+ sh3eb) machine=sh-unknown ;;
+ sh5el) machine=sh5le-unknown ;;
+ earmv*)
+ arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
+ endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
+ machine=${arch}${endian}-unknown
+ ;;
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ esac
+ # The Operating System including object format, if it has switched
+ # to ELF recently (or will in the future) and ABI.
+ case "${UNAME_MACHINE_ARCH}" in
+ earm*)
+ os=netbsdelf
+ ;;
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ eval $set_cc_for_build
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ELF__
+ then
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+ # Return netbsd for either. FIX?
+ os=netbsd
+ else
+ os=netbsdelf
+ fi
+ ;;
+ *)
+ os=netbsd
+ ;;
+ esac
+ # Determine ABI tags.
+ case "${UNAME_MACHINE_ARCH}" in
+ earm*)
+ expr='s/^earmv[0-9]/-eabi/;s/eb$//'
+ abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
+ ;;
+ esac
+ # The OS release
+ # Debian GNU/NetBSD machines have a different userland, and
+ # thus, need a distinct triplet. However, they do not need
+ # kernel version information, so it can be replaced with a
+ # suitable tag, in the style of linux-gnu.
+ case "${UNAME_VERSION}" in
+ Debian*)
+ release='-gnu'
+ ;;
+ *)
+ release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
+ ;;
+ esac
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ # contains redundant information, the shorter form:
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ echo "${machine}-${os}${release}${abi}"
+ exit ;;
+ *:Bitrig:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
+ exit ;;
+ *:OpenBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+ exit ;;
+ *:LibertyBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
+ exit ;;
+ *:ekkoBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+ exit ;;
+ *:SolidBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+ exit ;;
+ macppc:MirBSD:*:*)
+ echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ *:MirBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ *:Sortix:*:*)
+ echo ${UNAME_MACHINE}-unknown-sortix
+ exit ;;
+ alpha:OSF1:*:*)
+ case $UNAME_RELEASE in
+ *4.0)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ ;;
+ *5.*)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+ ;;
+ esac
+ # According to Compaq, /usr/sbin/psrinfo has been available on
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
+ # covers most systems running today. This code pipes the CPU
+ # types through head -n 1, so we only detect the type of CPU 0.
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+ case "$ALPHA_CPU_TYPE" in
+ "EV4 (21064)")
+ UNAME_MACHINE=alpha ;;
+ "EV4.5 (21064)")
+ UNAME_MACHINE=alpha ;;
+ "LCA4 (21066/21068)")
+ UNAME_MACHINE=alpha ;;
+ "EV5 (21164)")
+ UNAME_MACHINE=alphaev5 ;;
+ "EV5.6 (21164A)")
+ UNAME_MACHINE=alphaev56 ;;
+ "EV5.6 (21164PC)")
+ UNAME_MACHINE=alphapca56 ;;
+ "EV5.7 (21164PC)")
+ UNAME_MACHINE=alphapca57 ;;
+ "EV6 (21264)")
+ UNAME_MACHINE=alphaev6 ;;
+ "EV6.7 (21264A)")
+ UNAME_MACHINE=alphaev67 ;;
+ "EV6.8CB (21264C)")
+ UNAME_MACHINE=alphaev68 ;;
+ "EV6.8AL (21264B)")
+ UNAME_MACHINE=alphaev68 ;;
+ "EV6.8CX (21264D)")
+ UNAME_MACHINE=alphaev68 ;;
+ "EV6.9A (21264/EV69A)")
+ UNAME_MACHINE=alphaev69 ;;
+ "EV7 (21364)")
+ UNAME_MACHINE=alphaev7 ;;
+ "EV7.9 (21364A)")
+ UNAME_MACHINE=alphaev79 ;;
+ esac
+ # A Pn.n version is a patched version.
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
+ # 1.2 uses "1.2" for uname -r.
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+ exitcode=$?
+ trap '' 0
+ exit $exitcode ;;
+ Alpha\ *:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # Should we change UNAME_MACHINE based on the output of uname instead
+ # of the specific Alpha model?
+ echo alpha-pc-interix
+ exit ;;
+ 21064:Windows_NT:50:3)
+ echo alpha-dec-winnt3.5
+ exit ;;
+ Amiga*:UNIX_System_V:4.0:*)
+ echo m68k-unknown-sysv4
+ exit ;;
+ *:[Aa]miga[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-amigaos
+ exit ;;
+ *:[Mm]orph[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-morphos
+ exit ;;
+ *:OS/390:*:*)
+ echo i370-ibm-openedition
+ exit ;;
+ *:z/VM:*:*)
+ echo s390-ibm-zvmoe
+ exit ;;
+ *:OS400:*:*)
+ echo powerpc-ibm-os400
+ exit ;;
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ echo arm-acorn-riscix${UNAME_RELEASE}
+ exit ;;
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
+ echo arm-unknown-riscos
+ exit ;;
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ echo hppa1.1-hitachi-hiuxmpp
+ exit ;;
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit ;;
+ NILE*:*:*:dcosx)
+ echo pyramid-pyramid-svr4
+ exit ;;
+ DRS?6000:unix:4.0:6*)
+ echo sparc-icl-nx6
+ exit ;;
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+ case `/usr/bin/uname -p` in
+ sparc) echo sparc-icl-nx7; exit ;;
+ esac ;;
+ s390x:SunOS:*:*)
+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4H:SunOS:5.*:*)
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+ eval $set_cc_for_build
+ SUN_ARCH=i386
+ # If there is a compiler, see if it is configured for 64-bit objects.
+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+ # This test works for both compilers.
+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ SUN_ARCH=x86_64
+ fi
+ fi
+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+ exit ;;
+ sun3*:SunOS:*:*)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ exit ;;
+ sun*:*:4.2BSD:*)
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
+ case "`/bin/arch`" in
+ sun3)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ ;;
+ sun4)
+ echo sparc-sun-sunos${UNAME_RELEASE}
+ ;;
+ esac
+ exit ;;
+ aushp:SunOS:*:*)
+ echo sparc-auspex-sunos${UNAME_RELEASE}
+ exit ;;
+ # The situation for MiNT is a little confusing. The machine name
+ # can be virtually everything (everything which is not
+ # "atarist" or "atariste" at least should have a processor
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
+ # to the lowercase version "mint" (or "freemint"). Finally
+ # the system name "TOS" denotes a system which is actually not
+ # MiNT. But MiNT is downward compatible to TOS, so this should
+ # be no problem.
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+ echo m68k-milan-mint${UNAME_RELEASE}
+ exit ;;
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+ echo m68k-hades-mint${UNAME_RELEASE}
+ exit ;;
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+ echo m68k-unknown-mint${UNAME_RELEASE}
+ exit ;;
+ m68k:machten:*:*)
+ echo m68k-apple-machten${UNAME_RELEASE}
+ exit ;;
+ powerpc:machten:*:*)
+ echo powerpc-apple-machten${UNAME_RELEASE}
+ exit ;;
+ RISC*:Mach:*:*)
+ echo mips-dec-mach_bsd4.3
+ exit ;;
+ RISC*:ULTRIX:*:*)
+ echo mips-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ VAX*:ULTRIX*:*:*)
+ echo vax-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
+ echo clipper-intergraph-clix${UNAME_RELEASE}
+ exit ;;
+ mips:*:*:UMIPS | mips:*:*:RISCos)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h> /* for printf() prototype */
+ int main (int argc, char *argv[]) {
+#else
+ int main (argc, argv) int argc; char *argv[]; {
+#endif
+ #if defined (host_mips) && defined (MIPSEB)
+ #if defined (SYSTYPE_SYSV)
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_SVR4)
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ #endif
+ #endif
+ exit (-1);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+ SYSTEM_NAME=`$dummy $dummyarg` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo mips-mips-riscos${UNAME_RELEASE}
+ exit ;;
+ Motorola:PowerMAX_OS:*:*)
+ echo powerpc-motorola-powermax
+ exit ;;
+ Motorola:*:4.3:PL8-*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:Power_UNIX:*:*)
+ echo powerpc-harris-powerunix
+ exit ;;
+ m88k:CX/UX:7*:*)
+ echo m88k-harris-cxux7
+ exit ;;
+ m88k:*:4*:R4*)
+ echo m88k-motorola-sysv4
+ exit ;;
+ m88k:*:3*:R3*)
+ echo m88k-motorola-sysv3
+ exit ;;
+ AViiON:dgux:*:*)
+ # DG/UX returns AViiON for all architectures
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ then
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
+ then
+ echo m88k-dg-dgux${UNAME_RELEASE}
+ else
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
+ fi
+ else
+ echo i586-dg-dgux${UNAME_RELEASE}
+ fi
+ exit ;;
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
+ echo m88k-dolphin-sysv3
+ exit ;;
+ M88*:*:R3*:*)
+ # Delta 88k system running SVR3
+ echo m88k-motorola-sysv3
+ exit ;;
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+ echo m88k-tektronix-sysv3
+ exit ;;
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+ echo m68k-tektronix-bsd
+ exit ;;
+ *:IRIX*:*:*)
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+ exit ;;
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ i*86:AIX:*:*)
+ echo i386-ibm-aix
+ exit ;;
+ ia64:AIX:*:*)
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:2:3)
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <sys/systemcfg.h>
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+ then
+ echo "$SYSTEM_NAME"
+ else
+ echo rs6000-ibm-aix3.2.5
+ fi
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
+ exit ;;
+ *:AIX:*:[4567])
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ IBM_ARCH=rs6000
+ else
+ IBM_ARCH=powerpc
+ fi
+ if [ -x /usr/bin/lslpp ] ; then
+ IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
+ awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:*:*)
+ echo rs6000-ibm-aix
+ exit ;;
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ echo romp-ibm-bsd4.4
+ exit ;;
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
+ exit ;; # report: romp-ibm BSD 4.3
+ *:BOSX:*:*)
+ echo rs6000-bull-bosx
+ exit ;;
+ DPX/2?00:B.O.S.:*:*)
+ echo m68k-bull-sysv3
+ exit ;;
+ 9000/[34]??:4.3bsd:1.*:*)
+ echo m68k-hp-bsd
+ exit ;;
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+ echo m68k-hp-bsd4.4
+ exit ;;
+ 9000/[34678]??:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ case "${UNAME_MACHINE}" in
+ 9000/31? ) HP_ARCH=m68000 ;;
+ 9000/[34]?? ) HP_ARCH=m68k ;;
+ 9000/[678][0-9][0-9])
+ if [ -x /usr/bin/getconf ]; then
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+ case "${sc_cpu_version}" in
+ 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
+ 532) # CPU_PA_RISC2_0
+ case "${sc_kernel_bits}" in
+ 32) HP_ARCH=hppa2.0n ;;
+ 64) HP_ARCH=hppa2.0w ;;
+ '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
+ esac ;;
+ esac
+ fi
+ if [ "${HP_ARCH}" = "" ]; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+
+ #define _HPUX_SOURCE
+ #include <stdlib.h>
+ #include <unistd.h>
+
+ int main ()
+ {
+ #if defined(_SC_KERNEL_BITS)
+ long bits = sysconf(_SC_KERNEL_BITS);
+ #endif
+ long cpu = sysconf (_SC_CPU_VERSION);
+
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+ case CPU_PA_RISC2_0:
+ #if defined(_SC_KERNEL_BITS)
+ switch (bits)
+ {
+ case 64: puts ("hppa2.0w"); break;
+ case 32: puts ("hppa2.0n"); break;
+ default: puts ("hppa2.0"); break;
+ } break;
+ #else /* !defined(_SC_KERNEL_BITS) */
+ puts ("hppa2.0"); break;
+ #endif
+ default: puts ("hppa1.0"); break;
+ }
+ exit (0);
+ }
+EOF
+ (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+ test -z "$HP_ARCH" && HP_ARCH=hppa
+ fi ;;
+ esac
+ if [ ${HP_ARCH} = hppa2.0w ]
+ then
+ eval $set_cc_for_build
+
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
+ # generating 64-bit code. GNU and HP use different nomenclature:
+ #
+ # $ CC_FOR_BUILD=cc ./config.guess
+ # => hppa2.0w-hp-hpux11.23
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+ # => hppa64-hp-hpux11.23
+
+ if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
+ grep -q __LP64__
+ then
+ HP_ARCH=hppa2.0w
+ else
+ HP_ARCH=hppa64
+ fi
+ fi
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ exit ;;
+ ia64:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ echo ia64-hp-hpux${HPUX_REV}
+ exit ;;
+ 3050*:HI-UX:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <unistd.h>
+ int
+ main ()
+ {
+ long cpu = sysconf (_SC_CPU_VERSION);
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
+ results, however. */
+ if (CPU_IS_PA_RISC (cpu))
+ {
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
+ }
+ }
+ else if (CPU_IS_HP_MC68K (cpu))
+ puts ("m68k-hitachi-hiuxwe2");
+ else puts ("unknown-hitachi-hiuxwe2");
+ exit (0);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo unknown-hitachi-hiuxwe2
+ exit ;;
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+ echo hppa1.1-hp-bsd
+ exit ;;
+ 9000/8??:4.3bsd:*:*)
+ echo hppa1.0-hp-bsd
+ exit ;;
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ echo hppa1.0-hp-mpeix
+ exit ;;
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+ echo hppa1.1-hp-osf
+ exit ;;
+ hp8??:OSF1:*:*)
+ echo hppa1.0-hp-osf
+ exit ;;
+ i*86:OSF1:*:*)
+ if [ -x /usr/sbin/sysversion ] ; then
+ echo ${UNAME_MACHINE}-unknown-osf1mk
+ else
+ echo ${UNAME_MACHINE}-unknown-osf1
+ fi
+ exit ;;
+ parisc*:Lites*:*:*)
+ echo hppa1.1-hp-lites
+ exit ;;
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ echo c1-convex-bsd
+ exit ;;
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+ echo c34-convex-bsd
+ exit ;;
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+ echo c38-convex-bsd
+ exit ;;
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ echo c4-convex-bsd
+ exit ;;
+ CRAY*Y-MP:*:*:*)
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*[A-Z]90:*:*:*)
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+ -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*TS:*:*:*)
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*T3E:*:*:*)
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*SV1:*:*:*)
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ *:UNICOS/mp:*:*)
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ 5000:UNIX_System_V:4.*:*)
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ exit ;;
+ sparc*:BSD/OS:*:*)
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:BSD/OS:*:*)
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:FreeBSD:*:*)
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ case ${UNAME_PROCESSOR} in
+ amd64)
+ echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ *)
+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+ esac
+ exit ;;
+ i*:CYGWIN*:*)
+ echo ${UNAME_MACHINE}-pc-cygwin
+ exit ;;
+ *:MINGW64*:*)
+ echo ${UNAME_MACHINE}-pc-mingw64
+ exit ;;
+ *:MINGW*:*)
+ echo ${UNAME_MACHINE}-pc-mingw32
+ exit ;;
+ *:MSYS*:*)
+ echo ${UNAME_MACHINE}-pc-msys
+ exit ;;
+ i*:windows32*:*)
+ # uname -m includes "-pc" on this system.
+ echo ${UNAME_MACHINE}-mingw32
+ exit ;;
+ i*:PW*:*)
+ echo ${UNAME_MACHINE}-pc-pw32
+ exit ;;
+ *:Interix*:*)
+ case ${UNAME_MACHINE} in
+ x86)
+ echo i586-pc-interix${UNAME_RELEASE}
+ exit ;;
+ authenticamd | genuineintel | EM64T)
+ echo x86_64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ IA64)
+ echo ia64-unknown-interix${UNAME_RELEASE}
+ exit ;;
+ esac ;;
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+ echo i${UNAME_MACHINE}-pc-mks
+ exit ;;
+ 8664:Windows_NT:*)
+ echo x86_64-pc-mks
+ exit ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # UNAME_MACHINE based on the output of uname instead of i386?
+ echo i586-pc-interix
+ exit ;;
+ i*:UWIN*:*)
+ echo ${UNAME_MACHINE}-pc-uwin
+ exit ;;
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
+ p*:CYGWIN*:*)
+ echo powerpcle-unknown-cygwin
+ exit ;;
+ prep*:SunOS:5.*:*)
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ *:GNU:*:*)
+ # the GNU system
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ exit ;;
+ *:GNU/*:*:*)
+ # other systems with GNU libc and userland
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
+ exit ;;
+ i*86:Minix:*:*)
+ echo ${UNAME_MACHINE}-pc-minix
+ exit ;;
+ aarch64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ aarch64_be:Linux:*:*)
+ UNAME_MACHINE=aarch64_be
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arc:Linux:*:* | arceb:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ arm*:Linux:*:*)
+ eval $set_cc_for_build
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_EABI__
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ else
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_PCS_VFP
+ then
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
+ else
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
+ fi
+ fi
+ exit ;;
+ avr32*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ cris:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ crisv32:Linux:*:*)
+ echo ${UNAME_MACHINE}-axis-linux-${LIBC}
+ exit ;;
+ e2k:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ frv:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ hexagon:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:Linux:*:*)
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
+ exit ;;
+ ia64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ k1om:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m32r*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ m68*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ mips:Linux:*:* | mips64:Linux:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #undef CPU
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=${UNAME_MACHINE}el
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=${UNAME_MACHINE}
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
+ ;;
+ openrisc*:Linux:*:*)
+ echo or1k-unknown-linux-${LIBC}
+ exit ;;
+ or32:Linux:*:* | or1k*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-${LIBC}
+ exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-${LIBC}
+ exit ;;
+ parisc:Linux:*:* | hppa:Linux:*:*)
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
+ PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
+ *) echo hppa-unknown-linux-${LIBC} ;;
+ esac
+ exit ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-${LIBC}
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-${LIBC}
+ exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-${LIBC}
+ exit ;;
+ ppcle:Linux:*:*)
+ echo powerpcle-unknown-linux-${LIBC}
+ exit ;;
+ s390:Linux:*:* | s390x:Linux:*:*)
+ echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
+ exit ;;
+ sh64*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sh*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ sparc:Linux:*:* | sparc64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ tile*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ vax:Linux:*:*)
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
+ exit ;;
+ x86_64:Linux:*:*)
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
+ exit ;;
+ xtensa*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
+ i*86:DYNIX/ptx:4*:*)
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+ # earlier versions are messed up and put the nodename in both
+ # sysname and nodename.
+ echo i386-sequent-sysv4
+ exit ;;
+ i*86:UNIX_SV:4.2MP:2.*)
+ # Unixware is an offshoot of SVR4, but it has its own version
+ # number series starting with 2...
+ # I am not positive that other SVR4 systems won't match this,
+ # I just have to hope. -- rms.
+ # Use sysv4.2uw... so that sysv4* matches it.
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ exit ;;
+ i*86:OS/2:*:*)
+ # If we were able to find `uname', then EMX Unix compatibility
+ # is probably installed.
+ echo ${UNAME_MACHINE}-pc-os2-emx
+ exit ;;
+ i*86:XTS-300:*:STOP)
+ echo ${UNAME_MACHINE}-unknown-stop
+ exit ;;
+ i*86:atheos:*:*)
+ echo ${UNAME_MACHINE}-unknown-atheos
+ exit ;;
+ i*86:syllable:*:*)
+ echo ${UNAME_MACHINE}-pc-syllable
+ exit ;;
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
+ echo i386-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ i*86:*DOS:*:*)
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ exit ;;
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+ else
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ fi
+ exit ;;
+ i*86:*:5:[678]*)
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
+ case `/bin/uname -X | grep "^Machine"` in
+ *486*) UNAME_MACHINE=i486 ;;
+ *Pentium) UNAME_MACHINE=i586 ;;
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+ esac
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ exit ;;
+ i*86:*:3.2:*)
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ && UNAME_MACHINE=i686
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ && UNAME_MACHINE=i686
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+ else
+ echo ${UNAME_MACHINE}-pc-sysv32
+ fi
+ exit ;;
+ pc:*:*:*)
+ # Left here for compatibility:
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
+ # the processor, so we play safe by assuming i586.
+ # Note: whatever this is, it MUST be the same as what config.sub
+ # prints for the "djgpp" host, or else GDB configure will decide that
+ # this is a cross-build.
+ echo i586-pc-msdosdjgpp
+ exit ;;
+ Intel:Mach:3*:*)
+ echo i386-pc-mach3
+ exit ;;
+ paragon:*:*:*)
+ echo i860-intel-osf1
+ exit ;;
+ i860:*:4.*:*) # i860-SVR4
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+ else # Add other i860-SVR4 vendors below as they are discovered.
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
+ fi
+ exit ;;
+ mini*:CTIX:SYS*5:*)
+ # "miniframe"
+ echo m68010-convergent-sysv
+ exit ;;
+ mc68k:UNIX:SYSTEM5:3.51m)
+ echo m68k-convergent-sysv
+ exit ;;
+ M680?0:D-NIX:5.3:*)
+ echo m68k-diab-dnix
+ exit ;;
+ M68*:*:R3V[5678]*:*)
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+ OS_REL=''
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4; exit; } ;;
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+ OS_REL='.3'
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ mc68030:UNIX_System_V:4.*:*)
+ echo m68k-atari-sysv4
+ exit ;;
+ TSUNAMI:LynxOS:2.*:*)
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ rs6000:LynxOS:2.*:*)
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ SM[BE]S:UNIX_SV:*:*)
+ echo mips-dde-sysv${UNAME_RELEASE}
+ exit ;;
+ RM*:ReliantUNIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo ${UNAME_MACHINE}-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit ;;
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ # says <Richard.M.Bartel@ccMail.Census.GOV>
+ echo i586-unisys-sysv4
+ exit ;;
+ *:UNIX_System_V:4*:FTX*)
+ # From Gerald Hewes <hewes@openmarket.com>.
+ # How about differentiating between stratus architectures? -djm
+ echo hppa1.1-stratus-sysv4
+ exit ;;
+ *:*:*:FTX*)
+ # From seanf@swdc.stratus.com.
+ echo i860-stratus-sysv4
+ exit ;;
+ i*86:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo ${UNAME_MACHINE}-stratus-vos
+ exit ;;
+ *:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo hppa1.1-stratus-vos
+ exit ;;
+ mc68*:A/UX:*:*)
+ echo m68k-apple-aux${UNAME_RELEASE}
+ exit ;;
+ news*:NEWS-OS:6*:*)
+ echo mips-sony-newsos6
+ exit ;;
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+ if [ -d /usr/nec ]; then
+ echo mips-nec-sysv${UNAME_RELEASE}
+ else
+ echo mips-unknown-sysv${UNAME_RELEASE}
+ fi
+ exit ;;
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
+ echo powerpc-be-beos
+ exit ;;
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
+ echo powerpc-apple-beos
+ exit ;;
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
+ echo i586-pc-beos
+ exit ;;
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
+ echo i586-pc-haiku
+ exit ;;
+ x86_64:Haiku:*:*)
+ echo x86_64-unknown-haiku
+ exit ;;
+ SX-4:SUPER-UX:*:*)
+ echo sx4-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-5:SUPER-UX:*:*)
+ echo sx5-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-6:SUPER-UX:*:*)
+ echo sx6-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-7:SUPER-UX:*:*)
+ echo sx7-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8:SUPER-UX:*:*)
+ echo sx8-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-8R:SUPER-UX:*:*)
+ echo sx8r-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-ACE:SUPER-UX:*:*)
+ echo sxace-nec-superux${UNAME_RELEASE}
+ exit ;;
+ Power*:Rhapsody:*:*)
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Rhapsody:*:*)
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Darwin:*:*)
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+ eval $set_cc_for_build
+ if test "$UNAME_PROCESSOR" = unknown ; then
+ UNAME_PROCESSOR=powerpc
+ fi
+ if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
+ fi
+ elif test "$UNAME_PROCESSOR" = i386 ; then
+ # Avoid executing cc on OS X 10.9, as it ships with a stub
+ # that puts up a graphical alert prompting to install
+ # developer tools. Any system running Mac OS X 10.7 or
+ # later (Darwin 11 and later) is required to have a 64-bit
+ # processor. This is not true of the ARM version of Darwin
+ # that Apple uses in portable devices.
+ UNAME_PROCESSOR=x86_64
+ fi
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+ exit ;;
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = x86; then
+ UNAME_PROCESSOR=i386
+ UNAME_MACHINE=pc
+ fi
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+ exit ;;
+ *:QNX:*:4*)
+ echo i386-pc-qnx
+ exit ;;
+ NEO-?:NONSTOP_KERNEL:*:*)
+ echo neo-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSE-*:NONSTOP_KERNEL:*:*)
+ echo nse-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSR-?:NONSTOP_KERNEL:*:*)
+ echo nsr-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ *:NonStop-UX:*:*)
+ echo mips-compaq-nonstopux
+ exit ;;
+ BS2000:POSIX*:*:*)
+ echo bs2000-siemens-sysv
+ exit ;;
+ DS/*:UNIX_System_V:*:*)
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+ exit ;;
+ *:Plan9:*:*)
+ # "uname -m" is not consistent, so use $cputype instead. 386
+ # is converted to i386 for consistency with other x86
+ # operating systems.
+ if test "$cputype" = 386; then
+ UNAME_MACHINE=i386
+ else
+ UNAME_MACHINE="$cputype"
+ fi
+ echo ${UNAME_MACHINE}-unknown-plan9
+ exit ;;
+ *:TOPS-10:*:*)
+ echo pdp10-unknown-tops10
+ exit ;;
+ *:TENEX:*:*)
+ echo pdp10-unknown-tenex
+ exit ;;
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+ echo pdp10-dec-tops20
+ exit ;;
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+ echo pdp10-xkl-tops20
+ exit ;;
+ *:TOPS-20:*:*)
+ echo pdp10-unknown-tops20
+ exit ;;
+ *:ITS:*:*)
+ echo pdp10-unknown-its
+ exit ;;
+ SEI:*:*:SEIUX)
+ echo mips-sei-seiux${UNAME_RELEASE}
+ exit ;;
+ *:DragonFly:*:*)
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ exit ;;
+ *:*VMS:*:*)
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ case "${UNAME_MACHINE}" in
+ A*) echo alpha-dec-vms ; exit ;;
+ I*) echo ia64-dec-vms ; exit ;;
+ V*) echo vax-dec-vms ; exit ;;
+ esac ;;
+ *:XENIX:*:SysV)
+ echo i386-pc-xenix
+ exit ;;
+ i*86:skyos:*:*)
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
+ exit ;;
+ i*86:rdos:*:*)
+ echo ${UNAME_MACHINE}-pc-rdos
+ exit ;;
+ i*86:AROS:*:*)
+ echo ${UNAME_MACHINE}-pc-aros
+ exit ;;
+ x86_64:VMkernel:*:*)
+ echo ${UNAME_MACHINE}-unknown-esx
+ exit ;;
+ amd64:Isilon\ OneFS:*:*)
+ echo x86_64-unknown-onefs
+ exit ;;
+esac
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script (version $timestamp), has failed to recognize the
+operating system you are using. If your script is old, overwrite
+config.guess and config.sub with the latest versions from:
+
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
+and
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
+
+If $0 has already been updated, send the following data and any
+information you think might be pertinent to config-patches@gnu.org to
+provide the necessary information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.rpath b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.rpath
new file mode 100755
index 0000000..c38b914
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.rpath
@@ -0,0 +1,690 @@
+#! /bin/sh
+# Output a system dependent set of variables, describing how to set the
+# run time search path of shared libraries in an executable.
+#
+# Copyright 1996-2013 Free Software Foundation, Inc.
+# Taken from GNU libtool, 2001
+# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
+#
+# 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.
+#
+# The first argument passed to this file is the canonical host specification,
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
+# should be set by the caller.
+#
+# The set of defined variables is at the end of this script.
+
+# Known limitations:
+# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
+# than 256 bytes, otherwise the compiler driver will dump core. The only
+# known workaround is to choose shorter directory names for the build
+# directory and/or the installation directory.
+
+# All known linkers require a '.a' archive for static linking (except MSVC,
+# which needs '.lib').
+libext=a
+shrext=.so
+
+host="$1"
+host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
+# Code taken from libtool.m4's _LT_CC_BASENAME.
+
+for cc_temp in $CC""; do
+ case $cc_temp in
+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
+ \-*) ;;
+ *) break;;
+ esac
+done
+cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
+
+# Code taken from libtool.m4's _LT_COMPILER_PIC.
+
+wl=
+if test "$GCC" = yes; then
+ wl='-Wl,'
+else
+ case "$host_os" in
+ aix*)
+ wl='-Wl,'
+ ;;
+ mingw* | cygwin* | pw32* | os2* | cegcc*)
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ wl='-Wl,'
+ ;;
+ irix5* | irix6* | nonstopux*)
+ wl='-Wl,'
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ case $cc_basename in
+ ecc*)
+ wl='-Wl,'
+ ;;
+ icc* | ifort*)
+ wl='-Wl,'
+ ;;
+ lf95*)
+ wl='-Wl,'
+ ;;
+ nagfor*)
+ wl='-Wl,-Wl,,'
+ ;;
+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
+ wl='-Wl,'
+ ;;
+ ccc*)
+ wl='-Wl,'
+ ;;
+ xl* | bgxl* | bgf* | mpixl*)
+ wl='-Wl,'
+ ;;
+ como)
+ wl='-lopt='
+ ;;
+ *)
+ case `$CC -V 2>&1 | sed 5q` in
+ *Sun\ F* | *Sun*Fortran*)
+ wl=
+ ;;
+ *Sun\ C*)
+ wl='-Wl,'
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+ newsos6)
+ ;;
+ *nto* | *qnx*)
+ ;;
+ osf3* | osf4* | osf5*)
+ wl='-Wl,'
+ ;;
+ rdos*)
+ ;;
+ solaris*)
+ case $cc_basename in
+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
+ wl='-Qoption ld '
+ ;;
+ *)
+ wl='-Wl,'
+ ;;
+ esac
+ ;;
+ sunos4*)
+ wl='-Qoption ld '
+ ;;
+ sysv4 | sysv4.2uw2* | sysv4.3*)
+ wl='-Wl,'
+ ;;
+ sysv4*MP*)
+ ;;
+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
+ wl='-Wl,'
+ ;;
+ unicos*)
+ wl='-Wl,'
+ ;;
+ uts4*)
+ ;;
+ esac
+fi
+
+# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
+
+hardcode_libdir_flag_spec=
+hardcode_libdir_separator=
+hardcode_direct=no
+hardcode_minus_L=no
+
+case "$host_os" in
+ cygwin* | mingw* | pw32* | cegcc*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ interix*)
+ # we just hope/assume this is gcc and not c89 (= MSVC++)
+ with_gnu_ld=yes
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+esac
+
+ld_shlibs=yes
+if test "$with_gnu_ld" = yes; then
+ # Set some defaults for GNU ld with shared library support. These
+ # are reset later if shared libraries are not supported. Putting them
+ # here allows them to be overridden if necessary.
+ # Unlike libtool, we use -rpath here, not --rpath, since the documented
+ # option of GNU ld is called -rpath, not --rpath.
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ case "$host_os" in
+ aix[3-9]*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ ld_shlibs=no
+ fi
+ ;;
+ amigaos*)
+ case "$host_cpu" in
+ powerpc)
+ ;;
+ m68k)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+ beos*)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ cygwin* | mingw* | pw32* | cegcc*)
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ haiku*)
+ ;;
+ interix[3-9]*)
+ hardcode_direct=no
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ netbsd*)
+ ;;
+ solaris*)
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
+ case `$LD -v 2>&1` in
+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
+ ld_shlibs=no
+ ;;
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ ;;
+ sunos4*)
+ hardcode_direct=yes
+ ;;
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+ if test "$ld_shlibs" = no; then
+ hardcode_libdir_flag_spec=
+ fi
+else
+ case "$host_os" in
+ aix3*)
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test "$GCC" = yes; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+ aix[4-9]*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ else
+ aix_use_runtimelinking=no
+ # Test if we are trying to use run time linking or normal
+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we
+ # need to do runtime linking.
+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
+ for ld_flag in $LDFLAGS; do
+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
+ aix_use_runtimelinking=yes
+ break
+ fi
+ done
+ ;;
+ esac
+ fi
+ hardcode_direct=yes
+ hardcode_libdir_separator=':'
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ :
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ ;;
+ esac
+ fi
+ # Begin _LT_AC_SYS_LIBPATH_AIX.
+ echo 'int main () { return 0; }' > conftest.c
+ ${CC} ${LDFLAGS} conftest.c -o conftest
+ aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+ if test -z "$aix_libpath"; then
+ aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+ fi
+ if test -z "$aix_libpath"; then
+ aix_libpath="/usr/lib:/lib"
+ fi
+ rm -f conftest.c conftest
+ # End _LT_AC_SYS_LIBPATH_AIX.
+ if test "$aix_use_runtimelinking" = yes; then
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+ else
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ fi
+ fi
+ ;;
+ amigaos*)
+ case "$host_cpu" in
+ powerpc)
+ ;;
+ m68k)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ esac
+ ;;
+ bsdi[45]*)
+ ;;
+ cygwin* | mingw* | pw32* | cegcc*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec=' '
+ libext=lib
+ ;;
+ darwin* | rhapsody*)
+ hardcode_direct=no
+ if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
+ :
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ dgux*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+ freebsd2.2*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ ;;
+ freebsd2*)
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ ;;
+ freebsd* | dragonfly*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ ;;
+ hpux9*)
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ hpux10*)
+ if test "$with_gnu_ld" = no; then
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ fi
+ ;;
+ hpux11*)
+ if test "$with_gnu_ld" = no; then
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ case $host_cpu in
+ hppa*64*|ia64*)
+ hardcode_direct=no
+ ;;
+ *)
+ hardcode_direct=yes
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+ irix5* | irix6* | nonstopux*)
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+ netbsd*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ ;;
+ newsos6)
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+ *nto* | *qnx*)
+ ;;
+ openbsd*)
+ if test -f /usr/libexec/ld.so; then
+ hardcode_direct=yes
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ else
+ case "$host_os" in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ ;;
+ osf3*)
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+ osf4* | osf5*)
+ if test "$GCC" = yes; then
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ # Both cc and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ hardcode_libdir_separator=:
+ ;;
+ solaris*)
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ sunos4*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ ;;
+ sysv4)
+ case $host_vendor in
+ sni)
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ hardcode_direct=no
+ ;;
+ motorola)
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ ;;
+ sysv4.3*)
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ ld_shlibs=yes
+ fi
+ ;;
+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
+ ;;
+ sysv5* | sco3.2v5* | sco5v6*)
+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
+ hardcode_libdir_separator=':'
+ ;;
+ uts4*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ ;;
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+fi
+
+# Check dynamic linker characteristics
+# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
+# Unlike libtool.m4, here we don't care about _all_ names of the library, but
+# only about the one the linker finds when passed -lNAME. This is the last
+# element of library_names_spec in libtool.m4, or possibly two of them if the
+# linker has special search rules.
+library_names_spec= # the last element of library_names_spec in libtool.m4
+libname_spec='lib$name'
+case "$host_os" in
+ aix3*)
+ library_names_spec='$libname.a'
+ ;;
+ aix[4-9]*)
+ library_names_spec='$libname$shrext'
+ ;;
+ amigaos*)
+ case "$host_cpu" in
+ powerpc*)
+ library_names_spec='$libname$shrext' ;;
+ m68k)
+ library_names_spec='$libname.a' ;;
+ esac
+ ;;
+ beos*)
+ library_names_spec='$libname$shrext'
+ ;;
+ bsdi[45]*)
+ library_names_spec='$libname$shrext'
+ ;;
+ cygwin* | mingw* | pw32* | cegcc*)
+ shrext=.dll
+ library_names_spec='$libname.dll.a $libname.lib'
+ ;;
+ darwin* | rhapsody*)
+ shrext=.dylib
+ library_names_spec='$libname$shrext'
+ ;;
+ dgux*)
+ library_names_spec='$libname$shrext'
+ ;;
+ freebsd* | dragonfly*)
+ case "$host_os" in
+ freebsd[123]*)
+ library_names_spec='$libname$shrext$versuffix' ;;
+ *)
+ library_names_spec='$libname$shrext' ;;
+ esac
+ ;;
+ gnu*)
+ library_names_spec='$libname$shrext'
+ ;;
+ haiku*)
+ library_names_spec='$libname$shrext'
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $host_cpu in
+ ia64*)
+ shrext=.so
+ ;;
+ hppa*64*)
+ shrext=.sl
+ ;;
+ *)
+ shrext=.sl
+ ;;
+ esac
+ library_names_spec='$libname$shrext'
+ ;;
+ interix[3-9]*)
+ library_names_spec='$libname$shrext'
+ ;;
+ irix5* | irix6* | nonstopux*)
+ library_names_spec='$libname$shrext'
+ case "$host_os" in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
+ *) libsuff= shlibsuff= ;;
+ esac
+ ;;
+ esac
+ ;;
+ linux*oldld* | linux*aout* | linux*coff*)
+ ;;
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ library_names_spec='$libname$shrext'
+ ;;
+ knetbsd*-gnu)
+ library_names_spec='$libname$shrext'
+ ;;
+ netbsd*)
+ library_names_spec='$libname$shrext'
+ ;;
+ newsos6)
+ library_names_spec='$libname$shrext'
+ ;;
+ *nto* | *qnx*)
+ library_names_spec='$libname$shrext'
+ ;;
+ openbsd*)
+ library_names_spec='$libname$shrext$versuffix'
+ ;;
+ os2*)
+ libname_spec='$name'
+ shrext=.dll
+ library_names_spec='$libname.a'
+ ;;
+ osf3* | osf4* | osf5*)
+ library_names_spec='$libname$shrext'
+ ;;
+ rdos*)
+ ;;
+ solaris*)
+ library_names_spec='$libname$shrext'
+ ;;
+ sunos4*)
+ library_names_spec='$libname$shrext$versuffix'
+ ;;
+ sysv4 | sysv4.3*)
+ library_names_spec='$libname$shrext'
+ ;;
+ sysv4*MP*)
+ library_names_spec='$libname$shrext'
+ ;;
+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
+ library_names_spec='$libname$shrext'
+ ;;
+ tpf*)
+ library_names_spec='$libname$shrext'
+ ;;
+ uts4*)
+ library_names_spec='$libname$shrext'
+ ;;
+esac
+
+sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
+escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
+shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
+escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
+
+LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
+
+# How to pass a linker flag through the compiler.
+wl="$escaped_wl"
+
+# Static library suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally "so").
+shlibext="$shlibext"
+
+# Format of library name prefix.
+libname_spec="$escaped_libname_spec"
+
+# Library names that the linker finds when passed -lNAME.
+library_names_spec="$escaped_library_names_spec"
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator="$hardcode_libdir_separator"
+
+# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct="$hardcode_direct"
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L="$hardcode_minus_L"
+
+EOF
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.sub b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.sub
new file mode 100755
index 0000000..9feb73b
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/config.sub
@@ -0,0 +1,1823 @@
+#! /bin/sh
+# Configuration validation subroutine script.
+# Copyright 1992-2016 Free Software Foundation, Inc.
+
+timestamp='2016-06-20'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+
+
+# Please send patches to <config-patches@gnu.org>.
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support. The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches@gnu.org>."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright 1992-2016 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help"
+ exit 1 ;;
+
+ *local*)
+ # First pass through any local machine types.
+ echo $1
+ exit ;;
+
+ * )
+ break ;;
+ esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+ exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+ exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
+ kopensolaris*-gnu* | \
+ storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
+ android-linux)
+ os=-linux-android
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
+ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+ then os=`echo $1 | sed 's/.*-/-/'`
+ else os=; fi
+ ;;
+esac
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work. We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+ -sun*os*)
+ # Prevent following clause from handling this invalid input.
+ ;;
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+ -apple | -axis | -knuth | -cray | -microblaze*)
+ os=
+ basic_machine=$1
+ ;;
+ -bluegene*)
+ os=-cnk
+ ;;
+ -sim | -cisco | -oki | -wec | -winbond)
+ os=
+ basic_machine=$1
+ ;;
+ -scout)
+ ;;
+ -wrs)
+ os=-vxworks
+ basic_machine=$1
+ ;;
+ -chorusos*)
+ os=-chorusos
+ basic_machine=$1
+ ;;
+ -chorusrdb)
+ os=-chorusrdb
+ basic_machine=$1
+ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+ -sco6)
+ os=-sco5v6
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5)
+ os=-sco3.2v5
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco4)
+ os=-sco3.2v4
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2.[4-9]*)
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2v[4-9]*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco5v6*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco*)
+ os=-sco3.2v2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -udk*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -isc)
+ os=-isc2.2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -clix*)
+ basic_machine=clipper-intergraph
+ ;;
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -lynx*178)
+ os=-lynxos178
+ ;;
+ -lynx*5)
+ os=-lynxos5
+ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+ -windowsnt*)
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
+ ;;
+ -psos*)
+ os=-psos
+ ;;
+ -mint | -mint[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+ # Recognize the basic CPU types without company name.
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
+ | aarch64 | aarch64_be \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+ | arc | arceb \
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
+ | avr | avr32 \
+ | ba \
+ | be32 | be64 \
+ | bfin \
+ | c4x | c8051 | clipper \
+ | d10v | d30v | dlx | dsp16xx \
+ | e2k | epiphany \
+ | fido | fr30 | frv | ft32 \
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ | hexagon \
+ | i370 | i860 | i960 | ia64 \
+ | ip2k | iq2000 \
+ | k1om \
+ | le32 | le64 \
+ | lm32 \
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
+ | mips | mipsbe | mipseb | mipsel | mipsle \
+ | mips16 \
+ | mips64 | mips64el \
+ | mips64octeon | mips64octeonel \
+ | mips64orion | mips64orionel \
+ | mips64r5900 | mips64r5900el \
+ | mips64vr | mips64vrel \
+ | mips64vr4100 | mips64vr4100el \
+ | mips64vr4300 | mips64vr4300el \
+ | mips64vr5000 | mips64vr5000el \
+ | mips64vr5900 | mips64vr5900el \
+ | mipsisa32 | mipsisa32el \
+ | mipsisa32r2 | mipsisa32r2el \
+ | mipsisa32r6 | mipsisa32r6el \
+ | mipsisa64 | mipsisa64el \
+ | mipsisa64r2 | mipsisa64r2el \
+ | mipsisa64r6 | mipsisa64r6el \
+ | mipsisa64sb1 | mipsisa64sb1el \
+ | mipsisa64sr71k | mipsisa64sr71kel \
+ | mipsr5900 | mipsr5900el \
+ | mipstx39 | mipstx39el \
+ | mn10200 | mn10300 \
+ | moxie \
+ | mt \
+ | msp430 \
+ | nds32 | nds32le | nds32be \
+ | nios | nios2 | nios2eb | nios2el \
+ | ns16k | ns32k \
+ | open8 | or1k | or1knd | or32 \
+ | pdp10 | pdp11 | pj | pjl \
+ | powerpc | powerpc64 | powerpc64le | powerpcle \
+ | pyramid \
+ | riscv32 | riscv64 \
+ | rl78 | rx \
+ | score \
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | sh64 | sh64le \
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+ | spu \
+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
+ | ubicom32 \
+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
+ | visium \
+ | we32k \
+ | x86 | xc16x | xstormy16 | xtensa \
+ | z8k | z80)
+ basic_machine=$basic_machine-unknown
+ ;;
+ c54x)
+ basic_machine=tic54x-unknown
+ ;;
+ c55x)
+ basic_machine=tic55x-unknown
+ ;;
+ c6x)
+ basic_machine=tic6x-unknown
+ ;;
+ leon|leon[3-9])
+ basic_machine=sparc-$basic_machine
+ ;;
+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ ;;
+ ms1)
+ basic_machine=mt-unknown
+ ;;
+
+ strongarm | thumb | xscale)
+ basic_machine=arm-unknown
+ ;;
+ xgate)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ xscaleeb)
+ basic_machine=armeb-unknown
+ ;;
+
+ xscaleel)
+ basic_machine=armel-unknown
+ ;;
+
+ # We use `pc' rather than `unknown'
+ # because (1) that's what they normally are, and
+ # (2) the word "unknown" tends to confuse beginning users.
+ i*86 | x86_64)
+ basic_machine=$basic_machine-pc
+ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
+ | aarch64-* | aarch64_be-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | avr-* | avr32-* \
+ | ba-* \
+ | be32-* | be64-* \
+ | bfin-* | bs2000-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
+ | c8051-* | clipper-* | craynv-* | cydra-* \
+ | d10v-* | d30v-* | dlx-* \
+ | e2k-* | elxsi-* \
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
+ | h8300-* | h8500-* \
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ | hexagon-* \
+ | i*86-* | i860-* | i960-* | ia64-* \
+ | ip2k-* | iq2000-* \
+ | k1om-* \
+ | le32-* | le64-* \
+ | lm32-* \
+ | m32c-* | m32r-* | m32rle-* \
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+ | microblaze-* | microblazeel-* \
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+ | mips16-* \
+ | mips64-* | mips64el-* \
+ | mips64octeon-* | mips64octeonel-* \
+ | mips64orion-* | mips64orionel-* \
+ | mips64r5900-* | mips64r5900el-* \
+ | mips64vr-* | mips64vrel-* \
+ | mips64vr4100-* | mips64vr4100el-* \
+ | mips64vr4300-* | mips64vr4300el-* \
+ | mips64vr5000-* | mips64vr5000el-* \
+ | mips64vr5900-* | mips64vr5900el-* \
+ | mipsisa32-* | mipsisa32el-* \
+ | mipsisa32r2-* | mipsisa32r2el-* \
+ | mipsisa32r6-* | mipsisa32r6el-* \
+ | mipsisa64-* | mipsisa64el-* \
+ | mipsisa64r2-* | mipsisa64r2el-* \
+ | mipsisa64r6-* | mipsisa64r6el-* \
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+ | mipsr5900-* | mipsr5900el-* \
+ | mipstx39-* | mipstx39el-* \
+ | mmix-* \
+ | mt-* \
+ | msp430-* \
+ | nds32-* | nds32le-* | nds32be-* \
+ | nios-* | nios2-* | nios2eb-* | nios2el-* \
+ | none-* | np1-* | ns16k-* | ns32k-* \
+ | open8-* \
+ | or1k*-* \
+ | orion-* \
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
+ | pyramid-* \
+ | riscv32-* | riscv64-* \
+ | rl78-* | romp-* | rs6000-* | rx-* \
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+ | sparclite-* \
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
+ | tahoe-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ | tile*-* \
+ | tron-* \
+ | ubicom32-* \
+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+ | vax-* \
+ | visium-* \
+ | we32k-* \
+ | x86-* | x86_64-* | xc16x-* | xps100-* \
+ | xstormy16-* | xtensa*-* \
+ | ymp-* \
+ | z8k-* | z80-*)
+ ;;
+ # Recognize the basic CPU types without company name, with glob match.
+ xtensa*)
+ basic_machine=$basic_machine-unknown
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
+ 386bsd)
+ basic_machine=i386-unknown
+ os=-bsd
+ ;;
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+ basic_machine=m68000-att
+ ;;
+ 3b*)
+ basic_machine=we32k-att
+ ;;
+ a29khif)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ abacus)
+ basic_machine=abacus-unknown
+ ;;
+ adobe68k)
+ basic_machine=m68010-adobe
+ os=-scout
+ ;;
+ alliant | fx80)
+ basic_machine=fx80-alliant
+ ;;
+ altos | altos3068)
+ basic_machine=m68k-altos
+ ;;
+ am29k)
+ basic_machine=a29k-none
+ os=-bsd
+ ;;
+ amd64)
+ basic_machine=x86_64-pc
+ ;;
+ amd64-*)
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ amdahl)
+ basic_machine=580-amdahl
+ os=-sysv
+ ;;
+ amiga | amiga-*)
+ basic_machine=m68k-unknown
+ ;;
+ amigaos | amigados)
+ basic_machine=m68k-unknown
+ os=-amigaos
+ ;;
+ amigaunix | amix)
+ basic_machine=m68k-unknown
+ os=-sysv4
+ ;;
+ apollo68)
+ basic_machine=m68k-apollo
+ os=-sysv
+ ;;
+ apollo68bsd)
+ basic_machine=m68k-apollo
+ os=-bsd
+ ;;
+ aros)
+ basic_machine=i386-pc
+ os=-aros
+ ;;
+ asmjs)
+ basic_machine=asmjs-unknown
+ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+ ;;
+ balance)
+ basic_machine=ns32k-sequent
+ os=-dynix
+ ;;
+ blackfin)
+ basic_machine=bfin-unknown
+ os=-linux
+ ;;
+ blackfin-*)
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ bluegene*)
+ basic_machine=powerpc-ibm
+ os=-cnk
+ ;;
+ c54x-*)
+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c55x-*)
+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c6x-*)
+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ c90)
+ basic_machine=c90-cray
+ os=-unicos
+ ;;
+ cegcc)
+ basic_machine=arm-unknown
+ os=-cegcc
+ ;;
+ convex-c1)
+ basic_machine=c1-convex
+ os=-bsd
+ ;;
+ convex-c2)
+ basic_machine=c2-convex
+ os=-bsd
+ ;;
+ convex-c32)
+ basic_machine=c32-convex
+ os=-bsd
+ ;;
+ convex-c34)
+ basic_machine=c34-convex
+ os=-bsd
+ ;;
+ convex-c38)
+ basic_machine=c38-convex
+ os=-bsd
+ ;;
+ cray | j90)
+ basic_machine=j90-cray
+ os=-unicos
+ ;;
+ craynv)
+ basic_machine=craynv-cray
+ os=-unicosmp
+ ;;
+ cr16 | cr16-*)
+ basic_machine=cr16-unknown
+ os=-elf
+ ;;
+ crds | unos)
+ basic_machine=m68k-crds
+ ;;
+ crisv32 | crisv32-* | etraxfs*)
+ basic_machine=crisv32-axis
+ ;;
+ cris | cris-* | etrax*)
+ basic_machine=cris-axis
+ ;;
+ crx)
+ basic_machine=crx-unknown
+ os=-elf
+ ;;
+ da30 | da30-*)
+ basic_machine=m68k-da30
+ ;;
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ basic_machine=mips-dec
+ ;;
+ decsystem10* | dec10*)
+ basic_machine=pdp10-dec
+ os=-tops10
+ ;;
+ decsystem20* | dec20*)
+ basic_machine=pdp10-dec
+ os=-tops20
+ ;;
+ delta | 3300 | motorola-3300 | motorola-delta \
+ | 3300-motorola | delta-motorola)
+ basic_machine=m68k-motorola
+ ;;
+ delta88)
+ basic_machine=m88k-motorola
+ os=-sysv3
+ ;;
+ dicos)
+ basic_machine=i686-pc
+ os=-dicos
+ ;;
+ djgpp)
+ basic_machine=i586-pc
+ os=-msdosdjgpp
+ ;;
+ dpx20 | dpx20-*)
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+ dpx2* | dpx2*-bull)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
+ e500v[12])
+ basic_machine=powerpc-unknown
+ os=$os"spe"
+ ;;
+ e500v[12]-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=$os"spe"
+ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+ ;;
+ elxsi)
+ basic_machine=elxsi-elxsi
+ os=-bsd
+ ;;
+ encore | umax | mmax)
+ basic_machine=ns32k-encore
+ ;;
+ es1800 | OSE68k | ose68k | ose | OSE)
+ basic_machine=m68k-ericsson
+ os=-ose
+ ;;
+ fx2800)
+ basic_machine=i860-alliant
+ ;;
+ genix)
+ basic_machine=ns32k-ns
+ ;;
+ gmicro)
+ basic_machine=tron-gmicro
+ os=-sysv
+ ;;
+ go32)
+ basic_machine=i386-pc
+ os=-go32
+ ;;
+ h3050r* | hiux*)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ h8300hms)
+ basic_machine=h8300-hitachi
+ os=-hms
+ ;;
+ h8300xray)
+ basic_machine=h8300-hitachi
+ os=-xray
+ ;;
+ h8500hms)
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
+ harris)
+ basic_machine=m88k-harris
+ os=-sysv3
+ ;;
+ hp300-*)
+ basic_machine=m68k-hp
+ ;;
+ hp300bsd)
+ basic_machine=m68k-hp
+ os=-bsd
+ ;;
+ hp300hpux)
+ basic_machine=m68k-hp
+ os=-hpux
+ ;;
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k2[0-9][0-9] | hp9k31[0-9])
+ basic_machine=m68000-hp
+ ;;
+ hp9k3[2-9][0-9])
+ basic_machine=m68k-hp
+ ;;
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k78[0-9] | hp78[0-9])
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][13679] | hp8[0-9][13679])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hppa-next)
+ os=-nextstep3
+ ;;
+ hppaosf)
+ basic_machine=hppa1.1-hp
+ os=-osf
+ ;;
+ hppro)
+ basic_machine=hppa1.1-hp
+ os=-proelf
+ ;;
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+ ;;
+ i*86v4*)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv4
+ ;;
+ i*86v)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv
+ ;;
+ i*86sol2)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-solaris2
+ ;;
+ i386mach)
+ basic_machine=i386-mach
+ os=-mach
+ ;;
+ i386-vsta | vsta)
+ basic_machine=i386-unknown
+ os=-vsta
+ ;;
+ iris | iris4d)
+ basic_machine=mips-sgi
+ case $os in
+ -irix*)
+ ;;
+ *)
+ os=-irix4
+ ;;
+ esac
+ ;;
+ isi68 | isi)
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
+ leon-*|leon[3-9]-*)
+ basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
+ ;;
+ m68knommu)
+ basic_machine=m68k-unknown
+ os=-linux
+ ;;
+ m68knommu-*)
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ m88k-omron*)
+ basic_machine=m88k-omron
+ ;;
+ magnum | m3230)
+ basic_machine=mips-mips
+ os=-sysv
+ ;;
+ merlin)
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+ microblaze*)
+ basic_machine=microblaze-xilinx
+ ;;
+ mingw64)
+ basic_machine=x86_64-pc
+ os=-mingw64
+ ;;
+ mingw32)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ mingw32ce)
+ basic_machine=arm-unknown
+ os=-mingw32ce
+ ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+ mips3*-*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ ;;
+ mips3*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+ ;;
+ monitor)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ morphos)
+ basic_machine=powerpc-unknown
+ os=-morphos
+ ;;
+ moxiebox)
+ basic_machine=moxie-unknown
+ os=-moxiebox
+ ;;
+ msdos)
+ basic_machine=i386-pc
+ os=-msdos
+ ;;
+ ms1-*)
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+ ;;
+ msys)
+ basic_machine=i686-pc
+ os=-msys
+ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
+ nacl)
+ basic_machine=le32-unknown
+ os=-nacl
+ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+ ;;
+ netbsd386)
+ basic_machine=i386-unknown
+ os=-netbsd
+ ;;
+ netwinder)
+ basic_machine=armv4l-rebel
+ os=-linux
+ ;;
+ news | news700 | news800 | news900)
+ basic_machine=m68k-sony
+ os=-newsos
+ ;;
+ news1000)
+ basic_machine=m68030-sony
+ os=-newsos
+ ;;
+ news-3600 | risc-news)
+ basic_machine=mips-sony
+ os=-newsos
+ ;;
+ necv70)
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+ next | m*-next )
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+ ;;
+ -ns2*)
+ os=-nextstep2
+ ;;
+ *)
+ os=-nextstep3
+ ;;
+ esac
+ ;;
+ nh3000)
+ basic_machine=m68k-harris
+ os=-cxux
+ ;;
+ nh[45]000)
+ basic_machine=m88k-harris
+ os=-cxux
+ ;;
+ nindy960)
+ basic_machine=i960-intel
+ os=-nindy
+ ;;
+ mon960)
+ basic_machine=i960-intel
+ os=-mon960
+ ;;
+ nonstopux)
+ basic_machine=mips-compaq
+ os=-nonstopux
+ ;;
+ np1)
+ basic_machine=np1-gould
+ ;;
+ neo-tandem)
+ basic_machine=neo-tandem
+ ;;
+ nse-tandem)
+ basic_machine=nse-tandem
+ ;;
+ nsr-tandem)
+ basic_machine=nsr-tandem
+ ;;
+ op50n-* | op60c-*)
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ openrisc | openrisc-*)
+ basic_machine=or32-unknown
+ ;;
+ os400)
+ basic_machine=powerpc-ibm
+ os=-os400
+ ;;
+ OSE68000 | ose68000)
+ basic_machine=m68000-ericsson
+ os=-ose
+ ;;
+ os68k)
+ basic_machine=m68k-none
+ os=-os68k
+ ;;
+ pa-hitachi)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ paragon)
+ basic_machine=i860-intel
+ os=-osf
+ ;;
+ parisc)
+ basic_machine=hppa-unknown
+ os=-linux
+ ;;
+ parisc-*)
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=-linux
+ ;;
+ pbd)
+ basic_machine=sparc-tti
+ ;;
+ pbb)
+ basic_machine=m68k-tti
+ ;;
+ pc532 | pc532-*)
+ basic_machine=ns32k-pc532
+ ;;
+ pc98)
+ basic_machine=i386-pc
+ ;;
+ pc98-*)
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium | p5 | k5 | k6 | nexgen | viac3)
+ basic_machine=i586-pc
+ ;;
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
+ basic_machine=i686-pc
+ ;;
+ pentiumii | pentium2 | pentiumiii | pentium3)
+ basic_machine=i686-pc
+ ;;
+ pentium4)
+ basic_machine=i786-pc
+ ;;
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium4-*)
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pn)
+ basic_machine=pn-gould
+ ;;
+ power) basic_machine=power-ibm
+ ;;
+ ppc | ppcbe) basic_machine=powerpc-unknown
+ ;;
+ ppc-* | ppcbe-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppcle | powerpclittle | ppc-le | powerpc-little)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64) basic_machine=powerpc64-unknown
+ ;;
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+ basic_machine=powerpc64le-unknown
+ ;;
+ ppc64le-* | powerpc64little-*)
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ps2)
+ basic_machine=i386-ibm
+ ;;
+ pw32)
+ basic_machine=i586-unknown
+ os=-pw32
+ ;;
+ rdos | rdos64)
+ basic_machine=x86_64-pc
+ os=-rdos
+ ;;
+ rdos32)
+ basic_machine=i386-pc
+ os=-rdos
+ ;;
+ rom68k)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ rm[46]00)
+ basic_machine=mips-siemens
+ ;;
+ rtpc | rtpc-*)
+ basic_machine=romp-ibm
+ ;;
+ s390 | s390-*)
+ basic_machine=s390-ibm
+ ;;
+ s390x | s390x-*)
+ basic_machine=s390x-ibm
+ ;;
+ sa29200)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ sb1)
+ basic_machine=mipsisa64sb1-unknown
+ ;;
+ sb1el)
+ basic_machine=mipsisa64sb1el-unknown
+ ;;
+ sde)
+ basic_machine=mipsisa32-sde
+ os=-elf
+ ;;
+ sei)
+ basic_machine=mips-sei
+ os=-seiux
+ ;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
+ sh)
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+ sh5el)
+ basic_machine=sh5le-unknown
+ ;;
+ sh64)
+ basic_machine=sh64-unknown
+ ;;
+ sparclite-wrs | simso-wrs)
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
+ sps7)
+ basic_machine=m68k-bull
+ os=-sysv2
+ ;;
+ spur)
+ basic_machine=spur-unknown
+ ;;
+ st2000)
+ basic_machine=m68k-tandem
+ ;;
+ stratus)
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
+ strongarm-* | thumb-*)
+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+ sun2os3)
+ basic_machine=m68000-sun
+ os=-sunos3
+ ;;
+ sun2os4)
+ basic_machine=m68000-sun
+ os=-sunos4
+ ;;
+ sun3os3)
+ basic_machine=m68k-sun
+ os=-sunos3
+ ;;
+ sun3os4)
+ basic_machine=m68k-sun
+ os=-sunos4
+ ;;
+ sun4os3)
+ basic_machine=sparc-sun
+ os=-sunos3
+ ;;
+ sun4os4)
+ basic_machine=sparc-sun
+ os=-sunos4
+ ;;
+ sun4sol2)
+ basic_machine=sparc-sun
+ os=-solaris2
+ ;;
+ sun3 | sun3-*)
+ basic_machine=m68k-sun
+ ;;
+ sun4)
+ basic_machine=sparc-sun
+ ;;
+ sun386 | sun386i | roadrunner)
+ basic_machine=i386-sun
+ ;;
+ sv1)
+ basic_machine=sv1-cray
+ os=-unicos
+ ;;
+ symmetry)
+ basic_machine=i386-sequent
+ os=-dynix
+ ;;
+ t3e)
+ basic_machine=alphaev5-cray
+ os=-unicos
+ ;;
+ t90)
+ basic_machine=t90-cray
+ os=-unicos
+ ;;
+ tile*)
+ basic_machine=$basic_machine-unknown
+ os=-linux-gnu
+ ;;
+ tx39)
+ basic_machine=mipstx39-unknown
+ ;;
+ tx39el)
+ basic_machine=mipstx39el-unknown
+ ;;
+ toad1)
+ basic_machine=pdp10-xkl
+ os=-tops20
+ ;;
+ tower | tower-32)
+ basic_machine=m68k-ncr
+ ;;
+ tpf)
+ basic_machine=s390x-ibm
+ os=-tpf
+ ;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ ultra3)
+ basic_machine=a29k-nyu
+ os=-sym1
+ ;;
+ v810 | necv810)
+ basic_machine=v810-nec
+ os=-none
+ ;;
+ vaxv)
+ basic_machine=vax-dec
+ os=-sysv
+ ;;
+ vms)
+ basic_machine=vax-dec
+ os=-vms
+ ;;
+ vpp*|vx|vx-*)
+ basic_machine=f301-fujitsu
+ ;;
+ vxworks960)
+ basic_machine=i960-wrs
+ os=-vxworks
+ ;;
+ vxworks68)
+ basic_machine=m68k-wrs
+ os=-vxworks
+ ;;
+ vxworks29k)
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
+ w65*)
+ basic_machine=w65-wdc
+ os=-none
+ ;;
+ w89k-*)
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
+ xbox)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
+ xscale-* | xscalee[bl]-*)
+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+ ;;
+ ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+ ;;
+ z8k-*-coff)
+ basic_machine=z8k-unknown
+ os=-sim
+ ;;
+ z80-*-coff)
+ basic_machine=z80-unknown
+ os=-sim
+ ;;
+ none)
+ basic_machine=none-none
+ os=-none
+ ;;
+
+# Here we handle the default manufacturer of certain CPU types. It is in
+# some cases the only manufacturer, in others, it is the most popular.
+ w89k)
+ basic_machine=hppa1.1-winbond
+ ;;
+ op50n)
+ basic_machine=hppa1.1-oki
+ ;;
+ op60c)
+ basic_machine=hppa1.1-oki
+ ;;
+ romp)
+ basic_machine=romp-ibm
+ ;;
+ mmix)
+ basic_machine=mmix-knuth
+ ;;
+ rs6000)
+ basic_machine=rs6000-ibm
+ ;;
+ vax)
+ basic_machine=vax-dec
+ ;;
+ pdp10)
+ # there are many clones, so DEC is not a safe bet
+ basic_machine=pdp10-unknown
+ ;;
+ pdp11)
+ basic_machine=pdp11-dec
+ ;;
+ we32k)
+ basic_machine=we32k-att
+ ;;
+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
+ basic_machine=sh-unknown
+ ;;
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
+ basic_machine=sparc-sun
+ ;;
+ cydra)
+ basic_machine=cydra-cydrome
+ ;;
+ orion)
+ basic_machine=orion-highlevel
+ ;;
+ orion105)
+ basic_machine=clipper-highlevel
+ ;;
+ mac | mpw | mac-mpw)
+ basic_machine=m68k-apple
+ ;;
+ pmac | pmac-mpw)
+ basic_machine=powerpc-apple
+ ;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
+ *)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+ *-digital*)
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+ ;;
+ *-commodore*)
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+ ;;
+ *)
+ ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+ # First match some system type aliases
+ # that might get confused with valid system types.
+ # -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
+ ;;
+ -solaris1 | -solaris1.*)
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
+ ;;
+ -solaris)
+ os=-solaris2
+ ;;
+ -svr4*)
+ os=-sysv4
+ ;;
+ -unixware*)
+ os=-sysv4.2uw
+ ;;
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ ;;
+ # First accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -sym* | -kopensolaris* | -plan9* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* | -aros* | -cloudabi* | -sortix* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* | -cegcc* \
+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
+ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
+ | -onefs* | -tirtos* | -phoenix*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)
+ case $basic_machine in
+ x86-* | i*86-*)
+ ;;
+ *)
+ os=-nto$os
+ ;;
+ esac
+ ;;
+ -nto-qnx*)
+ ;;
+ -nto*)
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
+ ;;
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+ ;;
+ -mac*)
+ os=`echo $os | sed -e 's|mac|macos|'`
+ ;;
+ -linux-dietlibc)
+ os=-linux-dietlibc
+ ;;
+ -linux*)
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
+ ;;
+ -sunos5*)
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
+ ;;
+ -sunos6*)
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
+ ;;
+ -opened*)
+ os=-openedition
+ ;;
+ -os400*)
+ os=-os400
+ ;;
+ -wince*)
+ os=-wince
+ ;;
+ -osfrose*)
+ os=-osfrose
+ ;;
+ -osf*)
+ os=-osf
+ ;;
+ -utek*)
+ os=-bsd
+ ;;
+ -dynix*)
+ os=-bsd
+ ;;
+ -acis*)
+ os=-aos
+ ;;
+ -atheos*)
+ os=-atheos
+ ;;
+ -syllable*)
+ os=-syllable
+ ;;
+ -386bsd)
+ os=-bsd
+ ;;
+ -ctix* | -uts*)
+ os=-sysv
+ ;;
+ -nova*)
+ os=-rtmk-nova
+ ;;
+ -ns2 )
+ os=-nextstep2
+ ;;
+ -nsk*)
+ os=-nsk
+ ;;
+ # Preserve the version number of sinix5.
+ -sinix5.*)
+ os=`echo $os | sed -e 's|sinix|sysv|'`
+ ;;
+ -sinix*)
+ os=-sysv4
+ ;;
+ -tpf*)
+ os=-tpf
+ ;;
+ -triton*)
+ os=-sysv3
+ ;;
+ -oss*)
+ os=-sysv3
+ ;;
+ -svr4)
+ os=-sysv4
+ ;;
+ -svr3)
+ os=-sysv3
+ ;;
+ -sysvr4)
+ os=-sysv4
+ ;;
+ # This must come after -sysvr4.
+ -sysv*)
+ ;;
+ -ose*)
+ os=-ose
+ ;;
+ -es1800*)
+ os=-ose
+ ;;
+ -xenix)
+ os=-xenix
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ os=-mint
+ ;;
+ -aros*)
+ os=-aros
+ ;;
+ -zvmoe)
+ os=-zvmoe
+ ;;
+ -dicos*)
+ os=-dicos
+ ;;
+ -nacl*)
+ ;;
+ -ios)
+ ;;
+ -none)
+ ;;
+ *)
+ # Get rid of the `-' at the beginning of $os.
+ os=`echo $os | sed 's/[^-]*-//'`
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system. Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+ score-*)
+ os=-elf
+ ;;
+ spu-*)
+ os=-elf
+ ;;
+ *-acorn)
+ os=-riscix1.2
+ ;;
+ arm*-rebel)
+ os=-linux
+ ;;
+ arm*-semi)
+ os=-aout
+ ;;
+ c4x-* | tic4x-*)
+ os=-coff
+ ;;
+ c8051-*)
+ os=-elf
+ ;;
+ hexagon-*)
+ os=-elf
+ ;;
+ tic54x-*)
+ os=-coff
+ ;;
+ tic55x-*)
+ os=-coff
+ ;;
+ tic6x-*)
+ os=-coff
+ ;;
+ # This must come before the *-dec entry.
+ pdp10-*)
+ os=-tops20
+ ;;
+ pdp11-*)
+ os=-none
+ ;;
+ *-dec | vax-*)
+ os=-ultrix4.2
+ ;;
+ m68*-apollo)
+ os=-domain
+ ;;
+ i386-sun)
+ os=-sunos4.0.2
+ ;;
+ m68000-sun)
+ os=-sunos3
+ ;;
+ m68*-cisco)
+ os=-aout
+ ;;
+ mep-*)
+ os=-elf
+ ;;
+ mips*-cisco)
+ os=-elf
+ ;;
+ mips*-*)
+ os=-elf
+ ;;
+ or32-*)
+ os=-coff
+ ;;
+ *-tti) # must be before sparc entry or we get the wrong os.
+ os=-sysv3
+ ;;
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
+ *-be)
+ os=-beos
+ ;;
+ *-haiku)
+ os=-haiku
+ ;;
+ *-ibm)
+ os=-aix
+ ;;
+ *-knuth)
+ os=-mmixware
+ ;;
+ *-wec)
+ os=-proelf
+ ;;
+ *-winbond)
+ os=-proelf
+ ;;
+ *-oki)
+ os=-proelf
+ ;;
+ *-hp)
+ os=-hpux
+ ;;
+ *-hitachi)
+ os=-hiux
+ ;;
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+ os=-sysv
+ ;;
+ *-cbm)
+ os=-amigaos
+ ;;
+ *-dg)
+ os=-dgux
+ ;;
+ *-dolphin)
+ os=-sysv3
+ ;;
+ m68k-ccur)
+ os=-rtu
+ ;;
+ m88k-omron*)
+ os=-luna
+ ;;
+ *-next )
+ os=-nextstep
+ ;;
+ *-sequent)
+ os=-ptx
+ ;;
+ *-crds)
+ os=-unos
+ ;;
+ *-ns)
+ os=-genix
+ ;;
+ i370-*)
+ os=-mvs
+ ;;
+ *-next)
+ os=-nextstep3
+ ;;
+ *-gould)
+ os=-sysv
+ ;;
+ *-highlevel)
+ os=-bsd
+ ;;
+ *-encore)
+ os=-bsd
+ ;;
+ *-sgi)
+ os=-irix
+ ;;
+ *-siemens)
+ os=-sysv4
+ ;;
+ *-masscomp)
+ os=-rtu
+ ;;
+ f30[01]-fujitsu | f700-fujitsu)
+ os=-uxpv
+ ;;
+ *-rom68k)
+ os=-coff
+ ;;
+ *-*bug)
+ os=-coff
+ ;;
+ *-apple)
+ os=-macos
+ ;;
+ *-atari*)
+ os=-mint
+ ;;
+ *)
+ os=-none
+ ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer. We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+ *-unknown)
+ case $os in
+ -riscix*)
+ vendor=acorn
+ ;;
+ -sunos*)
+ vendor=sun
+ ;;
+ -cnk*|-aix*)
+ vendor=ibm
+ ;;
+ -beos*)
+ vendor=be
+ ;;
+ -hpux*)
+ vendor=hp
+ ;;
+ -mpeix*)
+ vendor=hp
+ ;;
+ -hiux*)
+ vendor=hitachi
+ ;;
+ -unos*)
+ vendor=crds
+ ;;
+ -dgux*)
+ vendor=dg
+ ;;
+ -luna*)
+ vendor=omron
+ ;;
+ -genix*)
+ vendor=ns
+ ;;
+ -mvs* | -opened*)
+ vendor=ibm
+ ;;
+ -os400*)
+ vendor=ibm
+ ;;
+ -ptx*)
+ vendor=sequent
+ ;;
+ -tpf*)
+ vendor=ibm
+ ;;
+ -vxsim* | -vxworks* | -windiss*)
+ vendor=wrs
+ ;;
+ -aux*)
+ vendor=apple
+ ;;
+ -hms*)
+ vendor=hitachi
+ ;;
+ -mpw* | -macos*)
+ vendor=apple
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ vendor=atari
+ ;;
+ -vos*)
+ vendor=stratus
+ ;;
+ esac
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ ;;
+esac
+
+echo $basic_machine$os
+exit
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/depcomp b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/depcomp
new file mode 100755
index 0000000..f0a474c
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/depcomp
@@ -0,0 +1,791 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2013-05-30.07; # UTC
+
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by 'PROGRAMS ARGS'.
+ object Object file output by 'PROGRAMS ARGS'.
+ DEPDIR directory where to store dependencies.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputting dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit $?
+ ;;
+esac
+
+# Get the directory component of the given path, and save it in the
+# global variables '$dir'. Note that this directory component will
+# be either empty or ending with a '/' character. This is deliberate.
+set_dir_from ()
+{
+ case $1 in
+ */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
+ *) dir=;;
+ esac
+}
+
+# Get the suffix-stripped basename of the given path, and save it the
+# global variable '$base'.
+set_base_from ()
+{
+ base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
+}
+
+# If no dependency file was actually created by the compiler invocation,
+# we still have to create a dummy depfile, to avoid errors with the
+# Makefile "include basename.Plo" scheme.
+make_dummy_depfile ()
+{
+ echo "#dummy" > "$depfile"
+}
+
+# Factor out some common post-processing of the generated depfile.
+# Requires the auxiliary global variable '$tmpdepfile' to be set.
+aix_post_process_depfile ()
+{
+ # If the compiler actually managed to produce a dependency file,
+ # post-process it.
+ if test -f "$tmpdepfile"; then
+ # Each line is of the form 'foo.o: dependency.h'.
+ # Do two passes, one to just change these to
+ # $object: dependency.h
+ # and one to simply output
+ # dependency.h:
+ # which is needed to avoid the deleted-header problem.
+ { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
+ sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
+ } > "$depfile"
+ rm -f "$tmpdepfile"
+ else
+ make_dummy_depfile
+ fi
+}
+
+# A tabulation character.
+tab=' '
+# A newline character.
+nl='
+'
+# Character ranges might be problematic outside the C locale.
+# These definitions help.
+upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+lower=abcdefghijklmnopqrstuvwxyz
+digits=0123456789
+alpha=${upper}${lower}
+
+if test -z "$depmode" || test -z "$source" || test -z "$object"; then
+ echo "depcomp: Variables source, object and depmode must be set" 1>&2
+ exit 1
+fi
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
+
+rm -f "$tmpdepfile"
+
+# Avoid interferences from the environment.
+gccflag= dashmflag=
+
+# Some modes work just like other modes, but use different flags. We
+# parameterize here, but still list the modes in the big case below,
+# to make depend.m4 easier to write. Note that we *cannot* use a case
+# here, because this file can only contain one case statement.
+if test "$depmode" = hp; then
+ # HP compiler uses -M and no extra arg.
+ gccflag=-M
+ depmode=gcc
+fi
+
+if test "$depmode" = dashXmstdout; then
+ # This is just like dashmstdout with a different argument.
+ dashmflag=-xM
+ depmode=dashmstdout
+fi
+
+cygpath_u="cygpath -u -f -"
+if test "$depmode" = msvcmsys; then
+ # This is just like msvisualcpp but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvisualcpp
+fi
+
+if test "$depmode" = msvc7msys; then
+ # This is just like msvc7 but w/o cygpath translation.
+ # Just convert the backslash-escaped backslashes to single forward
+ # slashes to satisfy depend.m4
+ cygpath_u='sed s,\\\\,/,g'
+ depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+ # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
+ gccflag=-qmakedep=gcc,-MF
+ depmode=gcc
+fi
+
+case "$depmode" in
+gcc3)
+## gcc 3 implements dependency tracking that does exactly what
+## we want. Yay! Note: for some reason libtool 1.4 doesn't like
+## it if -MD -MP comes after the -MF stuff. Hmm.
+## Unfortunately, FreeBSD c89 acceptance of flags depends upon
+## the command line argument order; so add the flags where they
+## appear in depend2.am. Note that the slowdown incurred here
+## affects only configure: in makefiles, %FASTDEP% shortcuts this.
+ for arg
+ do
+ case $arg in
+ -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
+ *) set fnord "$@" "$arg" ;;
+ esac
+ shift # fnord
+ shift # $arg
+ done
+ "$@"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ mv "$tmpdepfile" "$depfile"
+ ;;
+
+gcc)
+## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
+## (see the conditional assignment to $gccflag above).
+## There are various ways to get dependency output from gcc. Here's
+## why we pick this rather obscure method:
+## - Don't want to use -MD because we'd like the dependencies to end
+## up in a subdir. Having to rename by hand is ugly.
+## (We might end up doing this anyway to support other compilers.)
+## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
+## -MM, not -M (despite what the docs say). Also, it might not be
+## supported by the other compilers which use the 'gcc' depmode.
+## - Using -M directly means running the compiler twice (even worse
+## than renaming).
+ if test -z "$gccflag"; then
+ gccflag=-MD,
+ fi
+ "$@" -Wp,"$gccflag$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The second -e expression handles DOS-style file names with drive
+ # letters.
+ sed -e 's/^[^:]*: / /' \
+ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
+## This next piece of magic avoids the "deleted header file" problem.
+## The problem is that when a header file which appears in a .P file
+## is deleted, the dependency causes make to die (because there is
+## typically no way to rebuild the header). We avoid this by adding
+## dummy dependencies for each header file. Too bad gcc doesn't do
+## this for us directly.
+## Some versions of gcc put a space before the ':'. On the theory
+## that the space means something, we add a space to the output as
+## well. hp depmode also adds that space, but also prefixes the VPATH
+## to the object. Take care to not repeat it in the output.
+## Some versions of the HPUX 10.20 sed can't process this invocation
+## correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+sgi)
+ if test "$libtool" = yes; then
+ "$@" "-Wp,-MDupdate,$tmpdepfile"
+ else
+ "$@" -MDupdate "$tmpdepfile"
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+
+ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
+ echo "$object : \\" > "$depfile"
+ # Clip off the initial element (the dependent). Don't try to be
+ # clever and replace this with sed code, as IRIX sed won't handle
+ # lines with more than a fixed number of characters (4096 in
+ # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
+ # the IRIX cc adds comments like '#:fec' to the end of the
+ # dependency line.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
+ | tr "$nl" ' ' >> "$depfile"
+ echo >> "$depfile"
+ # The second pass generates a dummy entry for each header file.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
+ >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile"
+ ;;
+
+xlc)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+aix)
+ # The C for AIX Compiler uses -M and outputs the dependencies
+ # in a .u file. In older versions, this file always lives in the
+ # current directory. Also, the AIX compiler puts '$object:' at the
+ # start of each line; $object doesn't have directory information.
+ # Version 6 uses the directory in both cases.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$base.u
+ tmpdepfile3=$dir.libs/$base.u
+ "$@" -Wc,-M
+ else
+ tmpdepfile1=$dir$base.u
+ tmpdepfile2=$dir$base.u
+ tmpdepfile3=$dir$base.u
+ "$@" -M
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ aix_post_process_depfile
+ ;;
+
+tcc)
+ # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
+ # FIXME: That version still under development at the moment of writing.
+ # Make that this statement remains true also for stable, released
+ # versions.
+ # It will wrap lines (doesn't matter whether long or short) with a
+ # trailing '\', as in:
+ #
+ # foo.o : \
+ # foo.c \
+ # foo.h \
+ #
+ # It will put a trailing '\' even on the last line, and will use leading
+ # spaces rather than leading tabs (at least since its commit 0394caf7
+ # "Emit spaces for -MD").
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
+ # We have to change lines of the first kind to '$object: \'.
+ sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
+ # And for each line of the second kind, we have to emit a 'dep.h:'
+ # dummy dependency, to avoid the deleted-header problem.
+ sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+## The order of this option in the case statement is important, since the
+## shell code in configure will try each of these formats in the order
+## listed in this file. A plain '-MD' option would be understood by many
+## compilers, so we must ensure this comes after the gcc and icc options.
+pgcc)
+ # Portland's C compiler understands '-MD'.
+ # Will always output deps to 'file.d' where file is the root name of the
+ # source file under compilation, even if file resides in a subdirectory.
+ # The object file name does not affect the name of the '.d' file.
+ # pgcc 10.2 will output
+ # foo.o: sub/foo.c sub/foo.h
+ # and will wrap long lines using '\' :
+ # foo.o: sub/foo.c ... \
+ # sub/foo.h ... \
+ # ...
+ set_dir_from "$object"
+ # Use the source, not the object, to determine the base name, since
+ # that's sadly what pgcc will do too.
+ set_base_from "$source"
+ tmpdepfile=$base.d
+
+ # For projects that build the same source file twice into different object
+ # files, the pgcc approach of using the *source* file root name can cause
+ # problems in parallel builds. Use a locking strategy to avoid stomping on
+ # the same $tmpdepfile.
+ lockdir=$base.d-lock
+ trap "
+ echo '$0: caught signal, cleaning up...' >&2
+ rmdir '$lockdir'
+ exit 1
+ " 1 2 13 15
+ numtries=100
+ i=$numtries
+ while test $i -gt 0; do
+ # mkdir is a portable test-and-set.
+ if mkdir "$lockdir" 2>/dev/null; then
+ # This process acquired the lock.
+ "$@" -MD
+ stat=$?
+ # Release the lock.
+ rmdir "$lockdir"
+ break
+ else
+ # If the lock is being held by a different process, wait
+ # until the winning process is done or we timeout.
+ while test -d "$lockdir" && test $i -gt 0; do
+ sleep 1
+ i=`expr $i - 1`
+ done
+ fi
+ i=`expr $i - 1`
+ done
+ trap - 1 2 13 15
+ if test $i -le 0; then
+ echo "$0: failed to acquire lock after $numtries attempts" >&2
+ echo "$0: check lockdir '$lockdir'" >&2
+ exit 1
+ fi
+
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each line is of the form `foo.o: dependent.h',
+ # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+ # Do two passes, one to just change these to
+ # `$object: dependent.h' and one to simply `dependent.h:'.
+ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+hp2)
+ # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+ # compilers, which have integrated preprocessors. The correct option
+ # to use with these is +Maked; it writes dependencies to a file named
+ # 'foo.d', which lands next to the object file, wherever that
+ # happens to be.
+ # Much of this is similar to the tru64 case; see comments there.
+ set_dir_from "$object"
+ set_base_from "$object"
+ if test "$libtool" = yes; then
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir.libs/$base.d
+ "$@" -Wc,+Maked
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ "$@" +Maked
+ fi
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
+ # Add 'dependent.h:' lines.
+ sed -ne '2,${
+ s/^ *//
+ s/ \\*$//
+ s/$/:/
+ p
+ }' "$tmpdepfile" >> "$depfile"
+ else
+ make_dummy_depfile
+ fi
+ rm -f "$tmpdepfile" "$tmpdepfile2"
+ ;;
+
+tru64)
+ # The Tru64 compiler uses -MD to generate dependencies as a side
+ # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
+ # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
+ # dependencies in 'foo.d' instead, so we check for that too.
+ # Subdirectories are respected.
+ set_dir_from "$object"
+ set_base_from "$object"
+
+ if test "$libtool" = yes; then
+ # Libtool generates 2 separate objects for the 2 libraries. These
+ # two compilations output dependencies in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir$base.o.d # libtool 1.5
+ tmpdepfile2=$dir.libs/$base.o.d # Likewise.
+ tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ # Same post-processing that is required for AIX mode.
+ aix_post_process_depfile
+ ;;
+
+msvc7)
+ if test "$libtool" = yes; then
+ showIncludes=-Wc,-showIncludes
+ else
+ showIncludes=-showIncludes
+ fi
+ "$@" $showIncludes > "$tmpdepfile"
+ stat=$?
+ grep -v '^Note: including file: ' "$tmpdepfile"
+ if test $stat -ne 0; then
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ # The first sed program below extracts the file names and escapes
+ # backslashes for cygpath. The second sed program outputs the file
+ # name when reading, but also accumulates all include files in the
+ # hold buffer in order to output them again at the end. This only
+ # works with sed implementations that can handle large buffers.
+ sed < "$tmpdepfile" -n '
+/^Note: including file: *\(.*\)/ {
+ s//\1/
+ s/\\/\\\\/g
+ p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+ s/.*/'"$tab"'/
+ G
+ p
+}' >> "$depfile"
+ echo >> "$depfile" # make sure the fragment doesn't end with a backslash
+ rm -f "$tmpdepfile"
+ ;;
+
+msvc7msys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+#nosideeffect)
+ # This comment above is used by automake to tell side-effect
+ # dependency tracking mechanisms from slower ones.
+
+dashmstdout)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout, regardless of -o.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ test -z "$dashmflag" && dashmflag=-M
+ # Require at least two characters before searching for ':'
+ # in the target name. This is to cope with DOS-style filenames:
+ # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
+ "$@" $dashmflag |
+ sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this sed invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ tr ' ' "$nl" < "$tmpdepfile" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+dashXmstdout)
+ # This case only exists to satisfy depend.m4. It is never actually
+ # run, as this mode is specially recognized in the preamble.
+ exit 1
+ ;;
+
+makedepend)
+ "$@" || exit $?
+ # Remove any Libtool call
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+ # X makedepend
+ shift
+ cleared=no eat=no
+ for arg
+ do
+ case $cleared in
+ no)
+ set ""; shift
+ cleared=yes ;;
+ esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
+ case "$arg" in
+ -D*|-I*)
+ set fnord "$@" "$arg"; shift ;;
+ # Strip any option that makedepend may not understand. Remove
+ # the object too, otherwise makedepend will parse it as a source file.
+ -arch)
+ eat=yes ;;
+ -*|$object)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift ;;
+ esac
+ done
+ obj_suffix=`echo "$object" | sed 's/^.*\././'`
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ rm -f "$depfile"
+ # makedepend may prepend the VPATH from the source file name to the object.
+ # No need to regex-escape $object, excess matching of '.' is harmless.
+ sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process the last invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed '1,2d' "$tmpdepfile" \
+ | tr ' ' "$nl" \
+ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
+ | sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile" "$tmpdepfile".bak
+ ;;
+
+cpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove '-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ "$@" -E \
+ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ | sed '$ s: \\$::' > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ cat < "$tmpdepfile" >> "$depfile"
+ sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvisualcpp)
+ # Important note: in order to support this mode, a compiler *must*
+ # always write the preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test "X$1" != 'X--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ IFS=" "
+ for arg
+ do
+ case "$arg" in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+ set fnord "$@"
+ shift
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
+ esac
+ done
+ "$@" -E 2>/dev/null |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
+ rm -f "$depfile"
+ echo "$object : \\" > "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+ echo "$tab" >> "$depfile"
+ sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+msvcmsys)
+ # This case exists only to let depend.m4 do its work. It works by
+ # looking at the text of this script. This case will never be run,
+ # since it is checked for above.
+ exit 1
+ ;;
+
+none)
+ exec "$@"
+ ;;
+
+*)
+ echo "Unknown depmode $depmode" 1>&2
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-fix b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-fix
new file mode 100644
index 0000000..af702fe
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-fix
@@ -0,0 +1,3 @@
+# This file is expected to be used via gitlog-to-changelog's --amend=FILE
+# option. It specifies what changes to make to each given SHA1's commit
+# log and metadata, using Perl-eval'able expressions.
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-footer b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-footer
new file mode 100644
index 0000000..475366a
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/git-log-footer
@@ -0,0 +1,14 @@
+
+2012-08-08 Werner Koch <wk@gnupg.org>
+
+ NB: Changes done before August 8, 2012 are described in per
+ directory files named ChangeLog-old. See doc/HACKING for
+ details.
+
+ -----
+ Copyright (C) 2002, 2003, 2010, 2012 g10 Code GmbH
+
+ Copying and distribution of this file and/or the original GIT
+ commit log messages, with or without modification, are
+ permitted provided the copyright notice and this notice are
+ preserved.
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/gitlog-to-changelog b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/gitlog-to-changelog
new file mode 100755
index 0000000..81a0431
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/gitlog-to-changelog
@@ -0,0 +1,375 @@
+eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
+ & eval 'exec perl -wS "$0" $argv:q'
+ if 0;
+# Convert git log output to ChangeLog format.
+
+my $VERSION = '2012-01-24 15:58 (wk)'; # UTC
+# The definition above must lie within the first 8 lines in order
+# for the Emacs time-stamp write hook (at end) to update it.
+# If you change this file with Emacs, please let the write hook
+# do its job. Otherwise, update this string manually.
+
+# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# Written by Jim Meyering
+# Custom bugs bred by Werner Koch
+
+use strict;
+use warnings;
+use Getopt::Long;
+use POSIX qw(strftime);
+
+(my $ME = $0) =~ s|.*/||;
+
+# use File::Coda; # http://meyering.net/code/Coda/
+END {
+ defined fileno STDOUT or return;
+ close STDOUT and return;
+ warn "$ME: failed to close standard output: $!\n";
+ $? ||= 1;
+}
+
+sub usage ($)
+{
+ my ($exit_code) = @_;
+ my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
+ if ($exit_code != 0)
+ {
+ print $STREAM "Try `$ME --help' for more information.\n";
+ }
+ else
+ {
+ print $STREAM <<EOF;
+Usage: $ME [OPTIONS] [ARGS]
+
+Convert git log output to ChangeLog format. If present, any ARGS
+are passed to "git log". To avoid ARGS being parsed as options to
+$ME, they may be preceded by '--'.
+
+OPTIONS:
+
+ --amend=FILE FILE maps from an SHA1 to perl code (i.e., s/old/new/) that
+ makes a change to SHA1's commit log text or metadata.
+ --append-dot append a dot to the first line of each commit message if
+ there is no other punctuation or blank at the end.
+ --tear-off tear off all commit log lines after a '--' line and
+ skip log entry with the first body line being '--'.
+ --since=DATE convert only the logs since DATE;
+ the default is to convert all log entries.
+ --format=FMT set format string for commit subject and body;
+ see 'man git-log' for the list of format metacharacters;
+ the default is '%s%n%b%n'
+
+ --help display this help and exit
+ --version output version information and exit
+
+EXAMPLE:
+
+ $ME --since=2008-01-01 > ChangeLog
+ $ME -- -n 5 foo > last-5-commits-to-branch-foo
+
+In a FILE specified via --amend, comment lines (starting with "#") are ignored.
+FILE must consist of <SHA,CODE+> pairs where SHA is a 40-byte SHA1 (alone on
+a line) referring to a commit in the current project, and CODE refers to one
+or more consecutive lines of Perl code. Pairs must be separated by one or
+more blank line.
+
+Here is sample input for use with --amend=FILE, from coreutils:
+
+3a169f4c5d9159283548178668d2fae6fced3030
+# fix typo in title:
+s/all tile types/all file types/
+
+1379ed974f1fa39b12e2ffab18b3f7a607082202
+# Due to a bug in vc-dwim, I mis-attributed a patch by Paul to myself.
+# Change the author to be Paul. Note the escaped "@":
+s,Jim .*>,Paul Eggert <eggert\@cs.ucla.edu>,
+
+EOF
+ }
+ exit $exit_code;
+}
+
+# If the string $S is a well-behaved file name, simply return it.
+# If it contains white space, quotes, etc., quote it, and return the new string.
+sub shell_quote($)
+{
+ my ($s) = @_;
+ if ($s =~ m![^\w+/.,-]!)
+ {
+ # Convert each single quote to '\''
+ $s =~ s/\'/\'\\\'\'/g;
+ # Then single quote the string.
+ $s = "'$s'";
+ }
+ return $s;
+}
+
+sub quoted_cmd(@)
+{
+ return join (' ', map {shell_quote $_} @_);
+}
+
+# Parse file F.
+# Comment lines (starting with "#") are ignored.
+# F must consist of <SHA,CODE+> pairs where SHA is a 40-byte SHA1
+# (alone on a line) referring to a commit in the current project, and
+# CODE refers to one or more consecutive lines of Perl code.
+# Pairs must be separated by one or more blank line.
+sub parse_amend_file($)
+{
+ my ($f) = @_;
+
+ open F, '<', $f
+ or die "$ME: $f: failed to open for reading: $!\n";
+
+ my $fail;
+ my $h = {};
+ my $in_code = 0;
+ my $sha;
+ while (defined (my $line = <F>))
+ {
+ $line =~ /^\#/
+ and next;
+ chomp $line;
+ $line eq ''
+ and $in_code = 0, next;
+
+ if (!$in_code)
+ {
+ $line =~ /^([0-9a-fA-F]{40})$/
+ or (warn "$ME: $f:$.: invalid line; expected an SHA1\n"),
+ $fail = 1, next;
+ $sha = lc $1;
+ $in_code = 1;
+ exists $h->{$sha}
+ and (warn "$ME: $f:$.: duplicate SHA1\n"),
+ $fail = 1, next;
+ }
+ else
+ {
+ $h->{$sha} ||= '';
+ $h->{$sha} .= "$line\n";
+ }
+ }
+ close F;
+
+ $fail
+ and exit 1;
+
+ return $h;
+}
+
+{
+ my $since_date;
+ my $format_string = '%s%n%b%n';
+ my $amend_file;
+ my $append_dot = 0;
+ my $tear_off = 0;
+ GetOptions
+ (
+ help => sub { usage 0 },
+ version => sub { print "$ME version $VERSION\n"; exit },
+ 'since=s' => \$since_date,
+ 'format=s' => \$format_string,
+ 'amend=s' => \$amend_file,
+ 'append-dot' => \$append_dot,
+ 'tear-off' => \$tear_off,
+ ) or usage 1;
+
+
+ defined $since_date
+ and unshift @ARGV, "--since=$since_date";
+
+ # This is a hash that maps an SHA1 to perl code (i.e., s/old/new/)
+ # that makes a correction in the log or attribution of that commit.
+ my $amend_code = defined $amend_file ? parse_amend_file $amend_file : {};
+
+ my @cmd = (qw (git log --log-size),
+ '--pretty=format:%H:%ct %an <%ae>%n%n'.$format_string, @ARGV);
+ open PIPE, '-|', @cmd
+ or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n"
+ . "(Is your Git too old? Version 1.5.1 or later is required.)\n");
+
+ my $prev_date_line = '';
+ my @prev_coauthors = ();
+
+ while (1)
+ {
+ defined (my $in = <PIPE>)
+ or last;
+ $in =~ /^log size (\d+)$/
+ or die "$ME:$.: Invalid line (expected log size):\n$in";
+ my $log_nbytes = $1;
+
+ my $log;
+ my $n_read = read PIPE, $log, $log_nbytes;
+ $n_read == $log_nbytes
+ or die "$ME:$.: unexpected EOF\n";
+
+ # Skip log entries with the default merge commit message.
+ $log =~ /^.*\n\nMerge branch '.*\n\s*/
+ and goto SKIPCOMMIT;
+
+ # Skip log entries if the body starts with a tear off marker.
+ if ($tear_off)
+ {
+ $log =~ /^.*\n\n.*\n--\s*/
+ and goto SKIPCOMMIT;
+ }
+
+ # Extract leading hash.
+ my ($sha, $rest) = split ':', $log, 2;
+ defined $sha
+ or die "$ME:$.: malformed log entry\n";
+ $sha =~ /^[0-9a-fA-F]{40}$/
+ or die "$ME:$.: invalid SHA1: $sha\n";
+
+ # If this commit's log requires any transformation, do it now.
+ my $code = $amend_code->{$sha};
+ if (defined $code)
+ {
+ eval 'use Safe';
+ my $s = new Safe;
+ # Put the unpreprocessed entry into "$_".
+ $_ = $rest;
+
+ # Let $code operate on it, safely.
+ my $r = $s->reval("$code")
+ or die "$ME:$.:$sha: failed to eval \"$code\":\n$@\n";
+
+ # Note that we've used this entry.
+ delete $amend_code->{$sha};
+
+ # Update $rest upon success.
+ $rest = $_;
+ }
+
+ my @line = split "\n", $rest;
+ my $author_line = shift @line;
+ defined $author_line
+ or die "$ME:$.: unexpected EOF\n";
+ $author_line =~ /^(\d+) (.*>)$/
+ or die "$ME:$.: Invalid line "
+ . "(expected date/author/email):\n$author_line\n";
+
+ my $date_line = sprintf "%s $2\n", strftime ("%F", localtime ($1));
+
+ # Format 'Co-authored-by: A U Thor <email@example.com>' lines in
+ # standard multi-author ChangeLog format.
+ my @coauthors = grep /^Co-authored-by:.*$/, @line;
+ for (@coauthors)
+ {
+ s/^Co-authored-by:\s*/\t /;
+ s/\s*</ </;
+
+ /<.*?@.*\..*>/
+ or warn "$ME: warning: missing email address for "
+ . substr ($_, 5) . "\n";
+ }
+
+ # If this header would be the same as the previous date/name/email/
+ # coauthors header, then arrange not to print it.
+ if ($date_line ne $prev_date_line or "@coauthors" ne "@prev_coauthors")
+ {
+ $prev_date_line eq ''
+ or print "\n";
+ print $date_line;
+ @coauthors
+ and print join ("\n", @coauthors), "\n";
+ }
+ $prev_date_line = $date_line;
+ @prev_coauthors = @coauthors;
+
+ # Omit "Co-authored-by..." and "Signed-off-by..." lines.
+ @line = grep !/^Signed-off-by: .*>$/, @line;
+ @line = grep !/^Co-authored-by: /, @line;
+
+ # Remove everything after a line with 2 dashes at the beginning.
+ if ($tear_off)
+ {
+ my @tmpline;
+ foreach (@line)
+ {
+ last if /^--\s*$/;
+ push @tmpline,$_;
+ }
+ @line = @tmpline;
+ }
+
+ # Remove leading and trailing blank lines.
+ if (@line)
+ {
+ while ($line[0] =~ /^\s*$/) { shift @line; }
+ while ($line[$#line] =~ /^\s*$/) { pop @line; }
+ }
+
+ # If there were any lines
+ if (@line == 0)
+ {
+ warn "$ME: warning: empty commit message:\n $date_line\n";
+ }
+ else
+ {
+ if ($append_dot)
+ {
+ # If the first line of the message has enough room, then
+ if (length $line[0] < 72)
+ {
+ # append a dot if there is no other punctuation or blank
+ # at the end.
+ $line[0] =~ /[[:punct:]\s]$/
+ or $line[0] .= '.';
+ }
+ }
+
+ # Prefix each non-empty line with a TAB.
+ @line = map { length $_ ? "\t$_" : '' } @line;
+
+ print "\n", join ("\n", @line), "\n";
+ }
+
+ SKIPCOMMIT:
+ defined ($in = <PIPE>)
+ or last;
+ $in ne "\n"
+ and die "$ME:$.: unexpected line:\n$in";
+ }
+
+ close PIPE
+ or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n";
+ # FIXME-someday: include $PROCESS_STATUS in the diagnostic
+
+ # Complain about any unused entry in the --amend=F specified file.
+ my $fail = 0;
+ foreach my $sha (keys %$amend_code)
+ {
+ warn "$ME:$amend_file: unused entry: $sha\n";
+ $fail = 1;
+ }
+
+ exit $fail;
+}
+
+# Local Variables:
+# mode: perl
+# indent-tabs-mode: nil
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "my $VERSION = '"
+# time-stamp-format: "%:y-%02m-%02d %02H:%02M (wk)"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "'; # UTC"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/install-sh b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/install-sh
new file mode 100755
index 0000000..377bb86
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/install-sh
@@ -0,0 +1,527 @@
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2011-11-20.07; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 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 CONNEC-
+# TION 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 deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# Calling this script install-sh is preferred over install.sh, to prevent
+# 'make' implicit rules from creating a file called install from it
+# when there is no Makefile.
+#
+# This script is compatible with the BSD install script, but was written
+# from scratch.
+
+nl='
+'
+IFS=" "" $nl"
+
+# set DOITPROG to echo to test this script
+
+# Don't use :- since 4.3BSD and earlier shells don't like it.
+doit=${DOITPROG-}
+if test -z "$doit"; then
+ doit_exec=exec
+else
+ doit_exec=$doit
+fi
+
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
+
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+ test "$posix_glob" != "?" || {
+ if (set -f) 2>/dev/null; then
+ posix_glob=
+ else
+ posix_glob=:
+ fi
+ }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
+rmcmd="$rmprog -f"
+stripcmd=
+
+src=
+dst=
+dir_arg=
+dst_arg=
+
+copy_on_change=false
+no_target_directory=
+
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+ --help display this help and exit.
+ --version display version info and exit.
+
+ -c (ignored)
+ -C install only if different (preserve the last data modification time)
+ -d create directories instead of installing files.
+ -g GROUP $chgrpprog installed files to GROUP.
+ -m MODE $chmodprog installed files to MODE.
+ -o USER $chownprog installed files to USER.
+ -s $stripprog installed files.
+ -t DIRECTORY install into DIRECTORY.
+ -T report an error if DSTFILE is a directory.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+ RMPROG STRIPPROG
+"
+
+while test $# -ne 0; do
+ case $1 in
+ -c) ;;
+
+ -C) copy_on_change=true;;
+
+ -d) dir_arg=true;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ case $mode in
+ *' '* | *' '* | *'
+'* | *'*'* | *'?'* | *'['*)
+ echo "$0: invalid mode: $mode" >&2
+ exit 1;;
+ esac
+ shift;;
+
+ -o) chowncmd="$chownprog $2"
+ shift;;
+
+ -s) stripcmd=$stripprog;;
+
+ -t) dst_arg=$2
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ shift;;
+
+ -T) no_target_directory=true;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ --) shift
+ break;;
+
+ -*) echo "$0: invalid option: $1" >&2
+ exit 1;;
+
+ *) break;;
+ esac
+ shift
+done
+
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+ # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dst_arg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dst_arg"
+ shift # fnord
+ fi
+ shift # arg
+ dst_arg=$arg
+ # Protect names problematic for 'test' and other utilities.
+ case $dst_arg in
+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
+ esac
+ done
+fi
+
+if test $# -eq 0; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call 'install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+if test -z "$dir_arg"; then
+ do_exit='(exit $ret); exit $ret'
+ trap "ret=129; $do_exit" 1
+ trap "ret=130; $do_exit" 2
+ trap "ret=141; $do_exit" 13
+ trap "ret=143; $do_exit" 15
+
+ # Set umask so as not to create temps with too-generous modes.
+ # However, 'strip' requires both read and write access to temps.
+ case $mode in
+ # Optimize common cases.
+ *644) cp_umask=133;;
+ *755) cp_umask=22;;
+
+ *[0-7])
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw='% 200'
+ fi
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+ *)
+ if test -z "$stripcmd"; then
+ u_plus_rw=
+ else
+ u_plus_rw=,u+rw
+ fi
+ cp_umask=$mode$u_plus_rw;;
+ esac
+fi
+
+for src
+do
+ # Protect names problematic for 'test' and other utilities.
+ case $src in
+ -* | [=\(\)!]) src=./$src;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dst_arg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+ dst=$dst_arg
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test -n "$no_target_directory"; then
+ echo "$0: $dst_arg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ # Create intermediate dirs using mode 755 as modified by the umask.
+ # This is like FreeBSD 'install' as of 1997-10-28.
+ umask=`umask`
+ case $stripcmd.$umask in
+ # Optimize common cases.
+ *[2367][2367]) mkdir_umask=$umask;;
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+ *[0-7])
+ mkdir_umask=`expr $umask + 22 \
+ - $umask % 100 % 40 + $umask % 20 \
+ - $umask % 10 % 4 + $umask % 2
+ `;;
+ *) mkdir_umask=$umask,go-w;;
+ esac
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, rely on $mkdir_umask.
+ if test -n "$dir_arg"; then
+ mkdir_mode=-m$mode
+ else
+ mkdir_mode=
+ fi
+
+ posix_mkdir=false
+ case $umask in
+ *[123567][0-7][0-7])
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+ ;;
+ *)
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+ if (umask $mkdir_umask &&
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+ then
+ if test -z "$dir_arg" || {
+ # Check for POSIX incompatibilities with -m.
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+ # other-writable bit of parent directory when it shouldn't.
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
+ case $ls_ld_tmpdir in
+ d????-?r-*) different_mode=700;;
+ d????-?--*) different_mode=755;;
+ *) false;;
+ esac &&
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+ }
+ }
+ then posix_mkdir=:
+ fi
+ rmdir "$tmpdir/d" "$tmpdir"
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+ fi
+ trap '' 0;;
+ esac;;
+ esac
+
+ if
+ $posix_mkdir && (
+ umask $mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+ )
+ then :
+ else
+
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
+ # or it failed possibly due to a race condition. Create the
+ # directory the slow way, step by step, checking for races as we go.
+
+ case $dstdir in
+ /*) prefix='/';;
+ [-=\(\)!]*) prefix='./';;
+ *) prefix='';;
+ esac
+
+ eval "$initialize_posix_glob"
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob set -f
+ set fnord $dstdir
+ shift
+ $posix_glob set +f
+ IFS=$oIFS
+
+ prefixes=
+
+ for d
+ do
+ test X"$d" = X && continue
+
+ prefix=$prefix$d
+ if test -d "$prefix"; then
+ prefixes=
+ else
+ if $posix_mkdir; then
+ (umask=$mkdir_umask &&
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+ # Don't fail if two instances are running concurrently.
+ test -d "$prefix" || exit 1
+ else
+ case $prefix in
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+ *) qprefix=$prefix;;
+ esac
+ prefixes="$prefixes '$qprefix'"
+ fi
+ fi
+ prefix=$prefix/
+ done
+
+ if test -n "$prefixes"; then
+ # Don't fail if two instances are running concurrently.
+ (umask $mkdir_umask &&
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
+ test -d "$dstdir" || exit 1
+ obsolete_mkdir_used=true
+ fi
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+ # and set any options; do chmod last to preserve setuid bits.
+ #
+ # If any of these fail, we abort the whole thing. If we want to
+ # ignore errors from any of these, just make sure not to ignore
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+ { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+ { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+ # If -C, don't bother to copy if it wouldn't change the file.
+ if $copy_on_change &&
+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
+
+ eval "$initialize_posix_glob" &&
+ $posix_glob set -f &&
+ set X $old && old=:$2:$4:$5:$6 &&
+ set X $new && new=:$2:$4:$5:$6 &&
+ $posix_glob set +f &&
+
+ test "$old" = "$new" &&
+ $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+ then
+ rm -f "$dsttmp"
+ else
+ # Rename the file to the real destination.
+ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+ {
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ test ! -f "$dst" ||
+ $doit $rmcmd -f "$dst" 2>/dev/null ||
+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+ } ||
+ { echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ fi || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/mdate-sh b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/mdate-sh
new file mode 100755
index 0000000..39f48bb
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/mdate-sh
@@ -0,0 +1,224 @@
+#!/bin/sh
+# Get modification time of a file or directory and pretty-print it.
+
+scriptversion=2010-08-21.06; # UTC
+
+# Copyright (C) 1995-2013 Free Software Foundation, Inc.
+# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+fi
+
+case $1 in
+ '')
+ echo "$0: No file. Try '$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: mdate-sh [--help] [--version] FILE
+
+Pretty-print the modification day of FILE, in the format:
+1 January 1970
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "mdate-sh $scriptversion"
+ exit $?
+ ;;
+esac
+
+error ()
+{
+ echo "$0: $1" >&2
+ exit 1
+}
+
+
+# Prevent date giving response in another language.
+LANG=C
+export LANG
+LC_ALL=C
+export LC_ALL
+LC_TIME=C
+export LC_TIME
+
+# GNU ls changes its time format in response to the TIME_STYLE
+# variable. Since we cannot assume 'unset' works, revert this
+# variable to its documented default.
+if test "${TIME_STYLE+set}" = set; then
+ TIME_STYLE=posix-long-iso
+ export TIME_STYLE
+fi
+
+save_arg1=$1
+
+# Find out how to get the extended ls output of a file or directory.
+if ls -L /dev/null 1>/dev/null 2>&1; then
+ ls_command='ls -L -l -d'
+else
+ ls_command='ls -l -d'
+fi
+# Avoid user/group names that might have spaces, when possible.
+if ls -n /dev/null 1>/dev/null 2>&1; then
+ ls_command="$ls_command -n"
+fi
+
+# A 'ls -l' line looks as follows on OS/2.
+# drwxrwx--- 0 Aug 11 2001 foo
+# This differs from Unix, which adds ownership information.
+# drwxrwx--- 2 root root 4096 Aug 11 2001 foo
+#
+# To find the date, we split the line on spaces and iterate on words
+# until we find a month. This cannot work with files whose owner is a
+# user named "Jan", or "Feb", etc. However, it's unlikely that '/'
+# will be owned by a user whose name is a month. So we first look at
+# the extended ls output of the root directory to decide how many
+# words should be skipped to get the date.
+
+# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
+set x`$ls_command /`
+
+# Find which argument is the month.
+month=
+command=
+until test $month
+do
+ test $# -gt 0 || error "failed parsing '$ls_command /' output"
+ shift
+ # Add another shift to the command.
+ command="$command shift;"
+ case $1 in
+ Jan) month=January; nummonth=1;;
+ Feb) month=February; nummonth=2;;
+ Mar) month=March; nummonth=3;;
+ Apr) month=April; nummonth=4;;
+ May) month=May; nummonth=5;;
+ Jun) month=June; nummonth=6;;
+ Jul) month=July; nummonth=7;;
+ Aug) month=August; nummonth=8;;
+ Sep) month=September; nummonth=9;;
+ Oct) month=October; nummonth=10;;
+ Nov) month=November; nummonth=11;;
+ Dec) month=December; nummonth=12;;
+ esac
+done
+
+test -n "$month" || error "failed parsing '$ls_command /' output"
+
+# Get the extended ls output of the file or directory.
+set dummy x`eval "$ls_command \"\\\$save_arg1\""`
+
+# Remove all preceding arguments
+eval $command
+
+# Because of the dummy argument above, month is in $2.
+#
+# On a POSIX system, we should have
+#
+# $# = 5
+# $1 = file size
+# $2 = month
+# $3 = day
+# $4 = year or time
+# $5 = filename
+#
+# On Darwin 7.7.0 and 7.6.0, we have
+#
+# $# = 4
+# $1 = day
+# $2 = month
+# $3 = year or time
+# $4 = filename
+
+# Get the month.
+case $2 in
+ Jan) month=January; nummonth=1;;
+ Feb) month=February; nummonth=2;;
+ Mar) month=March; nummonth=3;;
+ Apr) month=April; nummonth=4;;
+ May) month=May; nummonth=5;;
+ Jun) month=June; nummonth=6;;
+ Jul) month=July; nummonth=7;;
+ Aug) month=August; nummonth=8;;
+ Sep) month=September; nummonth=9;;
+ Oct) month=October; nummonth=10;;
+ Nov) month=November; nummonth=11;;
+ Dec) month=December; nummonth=12;;
+esac
+
+case $3 in
+ ???*) day=$1;;
+ *) day=$3; shift;;
+esac
+
+# Here we have to deal with the problem that the ls output gives either
+# the time of day or the year.
+case $3 in
+ *:*) set `date`; eval year=\$$#
+ case $2 in
+ Jan) nummonthtod=1;;
+ Feb) nummonthtod=2;;
+ Mar) nummonthtod=3;;
+ Apr) nummonthtod=4;;
+ May) nummonthtod=5;;
+ Jun) nummonthtod=6;;
+ Jul) nummonthtod=7;;
+ Aug) nummonthtod=8;;
+ Sep) nummonthtod=9;;
+ Oct) nummonthtod=10;;
+ Nov) nummonthtod=11;;
+ Dec) nummonthtod=12;;
+ esac
+ # For the first six month of the year the time notation can also
+ # be used for files modified in the last year.
+ if (expr $nummonth \> $nummonthtod) > /dev/null;
+ then
+ year=`expr $year - 1`
+ fi;;
+ *) year=$3;;
+esac
+
+# The result.
+echo $day $month $year
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/missing b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/missing
new file mode 100755
index 0000000..528c6c4
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/missing
@@ -0,0 +1,215 @@
+#! /bin/sh
+# Common wrapper for a few potentially missing GNU programs.
+
+scriptversion=2016-11-05.04; # UTC
+
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+fi
+
+case $1 in
+
+ --is-lightweight)
+ # Used by our autoconf macros to check whether the available missing
+ # script is modern enough.
+ exit 0
+ ;;
+
+ --run)
+ # Back-compat with the calling convention used by older automake.
+ shift
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+
+Supported PROGRAM values:
+ aclocal autoconf autoheader autom4te automake makeinfo
+ bison yacc flex lex help2man
+
+Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
+'g' are ignored when checking the name.
+
+Send bug reports to <bug-automake@gnu.org>."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: unknown '$1' option"
+ echo 1>&2 "Try '$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# Run the given program, remember its exit status.
+"$@"; st=$?
+
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
+
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch. This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+ msg="probably too old"
+elif test $st -eq 127; then
+ # Program was missing.
+ msg="missing on your system"
+else
+ # Program was found and executed, but failed. Give up.
+ exit $st
+fi
+
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
+
+program_details ()
+{
+ case $1 in
+ aclocal|automake)
+ echo "The '$1' program is part of the GNU Automake package:"
+ echo "<$gnu_software_URL/automake>"
+ echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/autoconf>"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ autoconf|autom4te|autoheader)
+ echo "The '$1' program is part of the GNU Autoconf package:"
+ echo "<$gnu_software_URL/autoconf/>"
+ echo "It also requires GNU m4 and Perl in order to run:"
+ echo "<$gnu_software_URL/m4/>"
+ echo "<$perl_URL>"
+ ;;
+ esac
+}
+
+give_advice ()
+{
+ # Normalize program name to check for.
+ normalized_program=`echo "$1" | sed '
+ s/^gnu-//; t
+ s/^gnu//; t
+ s/^g//; t'`
+
+ printf '%s\n' "'$1' is $msg."
+
+ configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+ case $normalized_program in
+ autoconf*)
+ echo "You should only need it if you modified 'configure.ac',"
+ echo "or m4 files included by it."
+ program_details 'autoconf'
+ ;;
+ autoheader*)
+ echo "You should only need it if you modified 'acconfig.h' or"
+ echo "$configure_deps."
+ program_details 'autoheader'
+ ;;
+ automake*)
+ echo "You should only need it if you modified 'Makefile.am' or"
+ echo "$configure_deps."
+ program_details 'automake'
+ ;;
+ aclocal*)
+ echo "You should only need it if you modified 'acinclude.m4' or"
+ echo "$configure_deps."
+ program_details 'aclocal'
+ ;;
+ autom4te*)
+ echo "You might have modified some maintainer files that require"
+ echo "the 'autom4te' program to be rebuilt."
+ program_details 'autom4te'
+ ;;
+ bison*|yacc*)
+ echo "You should only need it if you modified a '.y' file."
+ echo "You may want to install the GNU Bison package:"
+ echo "<$gnu_software_URL/bison/>"
+ ;;
+ lex*|flex*)
+ echo "You should only need it if you modified a '.l' file."
+ echo "You may want to install the Fast Lexical Analyzer package:"
+ echo "<$flex_URL>"
+ ;;
+ help2man*)
+ echo "You should only need it if you modified a dependency" \
+ "of a man page."
+ echo "You may want to install the GNU Help2man package:"
+ echo "<$gnu_software_URL/help2man/>"
+ ;;
+ makeinfo*)
+ echo "You should only need it if you modified a '.texi' file, or"
+ echo "any other file indirectly affecting the aspect of the manual."
+ echo "You might want to install the Texinfo package:"
+ echo "<$gnu_software_URL/texinfo/>"
+ echo "The spurious makeinfo call might also be the consequence of"
+ echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+ echo "want to install GNU make:"
+ echo "<$gnu_software_URL/make/>"
+ ;;
+ *)
+ echo "You might have modified some files without having the proper"
+ echo "tools for further handling them. Check the 'README' file, it"
+ echo "often tells you about the needed prerequisites for installing"
+ echo "this package. You may also peek at any GNU archive site, in"
+ echo "case some other package contains this missing '$1' program."
+ ;;
+ esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+ -e '2,$s/^/ /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/texinfo.tex b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/texinfo.tex
new file mode 100644
index 0000000..1e6de89
--- /dev/null
+++ b/debian/pinentry-tqt/pinentry-tqt-1.1.0/build-aux/texinfo.tex
@@ -0,0 +1,8638 @@
+% texinfo.tex -- TeX macros to handle Texinfo files.
+%
+% Load plain if necessary, i.e., if running under initex.
+\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
+%
+\def\texinfoversion{2016-11-05.00}
+%
+% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
+% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+% 2007 Free Software Foundation, Inc.
+%
+% This texinfo.tex file is free software; you can redistribute it and/or
+% modify it under the terms of the GNU General Public License as
+% published by the Free Software Foundation; either version 3, or (at
+% your option) any later version.
+%
+% This texinfo.tex file is distributed in the hope that it will be
+% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+% General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this texinfo.tex file; see the file COPYING. If not,
+% see <https://www.gnu.org/licenses/>.
+%
+% As a special exception, when this file is read by TeX when processing
+% a Texinfo source document, you may use the result without
+% restriction. (This has been our intent since Texinfo was invented.)
+%
+% Please try the latest version of texinfo.tex before submitting bug
+% reports; you can get the latest version from:
+% https://www.gnu.org/software/texinfo/ (the Texinfo home page), or
+% ftp://tug.org/tex/texinfo.tex
+% (and all CTAN mirrors, see https://www.ctan.org).
+% The texinfo.tex in any given distribution could well be out
+% of date, so if that's what you're using, please check.
+%
+% Send bug reports to bug-texinfo@gnu.org. Please include including a
+% complete document in each bug report with which we can reproduce the
+% problem. Patches are, of course, greatly appreciated.
+%
+% To process a Texinfo manual with TeX, it's most reliable to use the
+% texi2dvi shell script that comes with the distribution. For a simple
+% manual foo.texi, however, you can get away with this:
+% tex foo.texi
+% texindex foo.??
+% tex foo.texi
+% tex foo.texi
+% dvips foo.dvi -o # or whatever; this makes foo.ps.
+% The extra TeX runs get the cross-reference information correct.
+% Sometimes one run after texindex suffices, and sometimes you need more
+% than two; texi2dvi does it as many times as necessary.
+%
+% It is possible to adapt texinfo.tex for other languages, to some
+% extent. You can get the existing language-specific files from the
+% full Texinfo distribution.
+%
+% The GNU Texinfo home page is https://www.gnu.org/software/texinfo.
+
+
+\message{Loading texinfo [version \texinfoversion]:}
+
+% If in a .fmt file, print the version number
+% and turn on active characters that we couldn't do earlier because
+% they might have appeared in the input file name.
+\everyjob{\message{[Texinfo version \texinfoversion]}%
+ \catcode`+=\active \catcode`\_=\active}
+
+
+\chardef\other=12
+
+% We never want plain's \outer definition of \+ in Texinfo.
+% For @tex, we can use \tabalign.
+\let\+ = \relax
+
+% Save some plain tex macros whose names we will redefine.
+\let\ptexb=\b
+\let\ptexbullet=\bullet
+\let\ptexc=\c
+\let\ptexcomma=\,
+\let\ptexdot=\.
+\let\ptexdots=\dots
+\let\ptexend=\end
+\let\ptexequiv=\equiv
+\let\ptexexclam=\!
+\let\ptexfootnote=\footnote
+\let\ptexgtr=>
+\let\ptexhat=^
+\let\ptexi=\i
+\let\ptexindent=\indent
+\let\ptexinsert=\insert
+\let\ptexlbrace=\{
+\let\ptexless=<
+\let\ptexnewwrite\newwrite
+\let\ptexnoindent=\noindent
+\let\ptexplus=+
+\let\ptexrbrace=\}
+\let\ptexslash=\/
+\let\ptexstar=\*
+\let\ptext=\t
+
+% If this character appears in an error message or help string, it
+% starts a new line in the output.
+\newlinechar = `^^J
+
+% Use TeX 3.0's \inputlineno to get the line number, for better error
+% messages, but if we're using an old version of TeX, don't do anything.
+%
+\ifx\inputlineno\thisisundefined
+ \let\linenumber = \empty % Pre-3.0.
+\else
+ \def\linenumber{l.\the\inputlineno:\space}
+\fi
+
+% Set up fixed words for English if not already set.
+\ifx\putwordAppendix\undefined \gdef\putwordAppendix{Appendix}\fi
+\ifx\putwordChapter\undefined \gdef\putwordChapter{Chapter}\fi
+\ifx\putwordfile\undefined \gdef\putwordfile{file}\fi
+\ifx\putwordin\undefined \gdef\putwordin{in}\fi
+\ifx\putwordIndexIsEmpty\undefined \gdef\putwordIndexIsEmpty{(Index is empty)}\fi
+\ifx\putwordIndexNonexistent\undefined \gdef\putwordIndexNonexistent{(Index is nonexistent)}\fi
+\ifx\putwordInfo\undefined \gdef\putwordInfo{Info}\fi
+\ifx\putwordInstanceVariableof\undefined \gdef\putwordInstanceVariableof{Instance Variable of}\fi
+\ifx\putwordMethodon\undefined \gdef\putwordMethodon{Method on}\fi
+\ifx\putwordNoTitle\undefined \gdef\putwordNoTitle{No Title}\fi
+\ifx\putwordof\undefined \gdef\putwordof{of}\fi
+\ifx\putwordon\undefined \gdef\putwordon{on}\fi
+\ifx\putwordpage\undefined \gdef\putwordpage{page}\fi
+\ifx\putwordsection\undefined \gdef\putwordsection{section}\fi
+\ifx\putwordSection\undefined \gdef\putwordSection{Section}\fi
+\ifx\putwordsee\undefined \gdef\putwordsee{see}\fi
+\ifx\putwordSee\undefined \gdef\putwordSee{See}\fi
+\ifx\putwordShortTOC\undefined \gdef\putwordShortTOC{Short Contents}\fi
+\ifx\putwordTOC\undefined \gdef\putwordTOC{Table of Contents}\fi
+%
+\ifx\putwordMJan\undefined \gdef\putwordMJan{January}\fi
+\ifx\putwordMFeb\undefined \gdef\putwordMFeb{February}\fi
+\ifx\putwordMMar\undefined \gdef\putwordMMar{March}\fi
+\ifx\putwordMApr\undefined \gdef\putwordMApr{April}\fi
+\ifx\putwordMMay\undefined \gdef\putwordMMay{May}\fi
+\ifx\putwordMJun\undefined \gdef\putwordMJun{June}\fi
+\ifx\putwordMJul\undefined \gdef\putwordMJul{July}\fi
+\ifx\putwordMAug\undefined \gdef\putwordMAug{August}\fi
+\ifx\putwordMSep\undefined \gdef\putwordMSep{September}\fi
+\ifx\putwordMOct\undefined \gdef\putwordMOct{October}\fi
+\ifx\putwordMNov\undefined \gdef\putwordMNov{November}\fi
+\ifx\putwordMDec\undefined \gdef\putwordMDec{December}\fi
+%
+\ifx\putwordDefmac\undefined \gdef\putwordDefmac{Macro}\fi
+\ifx\putwordDefspec\undefined \gdef\putwordDefspec{Special Form}\fi
+\ifx\putwordDefvar\undefined \gdef\putwordDefvar{Variable}\fi
+\ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi
+\ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi
+
+% Since the category of space is not known, we have to be careful.
+\chardef\spacecat = 10
+\def\spaceisspace{\catcode`\ =\spacecat}
+
+% sometimes characters are active, so we need control sequences.
+\chardef\colonChar = `\:
+\chardef\commaChar = `\,
+\chardef\dashChar = `\-
+\chardef\dotChar = `\.
+\chardef\exclamChar= `\!
+\chardef\lquoteChar= `\`
+\chardef\questChar = `\?
+\chardef\rquoteChar= `\'
+\chardef\semiChar = `\;
+\chardef\underChar = `\_
+
+% Ignore a token.
+%
+\def\gobble#1{}
+
+% The following is used inside several \edef's.
+\def\makecsname#1{\expandafter\noexpand\csname#1\endcsname}
+
+% Hyphenation fixes.
+\hyphenation{
+ Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script
+ ap-pen-dix bit-map bit-maps
+ data-base data-bases eshell fall-ing half-way long-est man-u-script
+ man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm
+ par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces
+ spell-ing spell-ings
+ stand-alone strong-est time-stamp time-stamps which-ever white-space
+ wide-spread wrap-around
+}
+
+% Margin to add to right of even pages, to left of odd pages.
+\newdimen\bindingoffset
+\newdimen\normaloffset
+\newdimen\pagewidth \newdimen\pageheight
+
+% For a final copy, take out the rectangles
+% that mark overfull boxes (in case you have decided
+% that the text looks ok even though it passes the margin).
+%
+\def\finalout{\overfullrule=0pt}
+
+% @| inserts a changebar to the left of the current line. It should
+% surround any changed text. This approach does *not* work if the
+% change spans more than two lines of output. To handle that, we would
+% have adopt a much more difficult approach (putting marks into the main
+% vertical list for the beginning and end of each change).
+%
+\def\|{%
+ % \vadjust can only be used in horizontal mode.
+ \leavevmode
+ %
+ % Append this vertical mode material after the current line in the output.
+ \vadjust{%
+ % We want to insert a rule with the height and depth of the current
+ % leading; that is exactly what \strutbox is supposed to record.
+ \vskip-\baselineskip
+ %
+ % \vadjust-items are inserted at the left edge of the type. So
+ % the \llap here moves out into the left-hand margin.
+ \llap{%
+ %
+ % For a thicker or thinner bar, change the `1pt'.
+ \vrule height\baselineskip width1pt
+ %
+ % This is the space between the bar and the text.
+ \hskip 12pt
+ }%
+ }%
+}
+
+% Sometimes it is convenient to have everything in the transcript file
+% and nothing on the terminal. We don't just call \tracingall here,
+% since that produces some useless output on the terminal. We also make
+% some effort to order the tracing commands to reduce output in the log
+% file; cf. trace.sty in LaTeX.
+%
+\def\gloggingall{\begingroup \globaldefs = 1 \loggingall \endgroup}%
+\def\loggingall{%
+ \tracingstats2
+ \tracingpages1
+ \tracinglostchars2 % 2 gives us more in etex
+ \tracingparagraphs1
+ \tracingoutput1
+ \tracingmacros2
+ \tracingrestores1
+ \showboxbreadth\maxdimen \showboxdepth\maxdimen
+ \ifx\eTeXversion\undefined\else % etex gives us more logging
+ \tracingscantokens1
+ \tracingifs1
+ \tracinggroups1
+ \tracingnesting2
+ \tracingassigns1
+ \fi
+ \tracingcommands3 % 3 gives us more in etex
+ \errorcontextlines16
+}%
+
+% add check for \lastpenalty to plain's definitions. If the last thing
+% we did was a \nobreak, we don't want to insert more space.
+%
+\def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount
+ \removelastskip\penalty-50\smallskip\fi\fi}
+\def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount
+ \removelastskip\penalty-100\medskip\fi\fi}
+\def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount
+ \removelastskip\penalty-200\bigskip\fi\fi}
+
+% For @cropmarks command.
+% Do @cropmarks to get crop marks.
+%
+\newif\ifcropmarks
+\let\cropmarks = \cropmarkstrue
+%
+% Dimensions to add cropmarks at corners.
+% Added by P. A. MacKay, 12 Nov. 1986
+%
+\newdimen\outerhsize \newdimen\outervsize % set by the paper size routines
+\newdimen\cornerlong \cornerlong=1pc
+\newdimen\cornerthick \cornerthick=.3pt
+\newdimen\topandbottommargin \topandbottommargin=.75in
+
+% Main output routine.
+\chardef\PAGE = 255
+\output = {\onepageout{\pagecontents\PAGE}}
+
+\newbox\headlinebox
+\newbox\footlinebox
+
+% \onepageout takes a vbox as an argument. Note that \pagecontents
+% does insertions, but you have to call it yourself.
+\def\onepageout#1{%
+ \ifcropmarks \hoffset=0pt \else \hoffset=\normaloffset \fi
+ %
+ \ifodd\pageno \advance\hoffset by \bindingoffset
+ \else \advance\hoffset by -\bindingoffset\fi
+ %
+ % Do this outside of the \shipout so @code etc. will be expanded in
+ % the headline as they should be, not taken literally (outputting ''code).
+ \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
+ \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
+ %
+ {%
+ % Have to do this stuff outside the \shipout because we want it to
+ % take effect in \write's, yet the group defined by the \vbox ends
+ % before the \shipout runs.
+ %
+ \indexdummies % don't expand commands in the output.
+ \normalturnoffactive % \ in index entries must not stay \, e.g., if
+ % the page break happens to be in the middle of an example.
+ % We don't want .vr (or whatever) entries like this:
+ % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}}
+ % "\acronym" won't work when it's read back in;
+ % it needs to be
+ % {\code {{\tt \backslashcurfont }acronym}
+ \shipout\vbox{%
+ % Do this early so pdf references go to the beginning of the page.
+ \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi
+ %
+ \ifcropmarks \vbox to \outervsize\bgroup
+ \hsize = \outerhsize
+ \vskip-\topandbottommargin
+ \vtop to0pt{%
+ \line{\ewtop\hfil\ewtop}%
+ \nointerlineskip
+ \line{%
+ \vbox{\moveleft\cornerthick\nstop}%
+ \hfill
+ \vbox{\moveright\cornerthick\nstop}%
+ }%
+ \vss}%
+ \vskip\topandbottommargin
+ \line\bgroup
+ \hfil % center the page within the outer (page) hsize.
+ \ifodd\pageno\hskip\bindingoffset\fi
+ \vbox\bgroup
+ \fi
+ %
+ \unvbox\headlinebox
+ \pagebody{#1}%
+ \ifdim\ht\footlinebox > 0pt
+ % Only leave this space if the footline is nonempty.
+ % (We lessened \vsize for it in \oddfootingyyy.)
+ % The \baselineskip=24pt in plain's \makefootline has no effect.
+ \vskip 24pt
+ \unvbox\footlinebox
+ \fi
+ %
+ \ifcropmarks
+ \egroup % end of \vbox\bgroup
+ \hfil\egroup % end of (centering) \line\bgroup
+ \vskip\topandbottommargin plus1fill minus1fill
+ \boxmaxdepth = \cornerthick
+ \vbox to0pt{\vss
+ \line{%
+ \vbox{\moveleft\cornerthick\nsbot}%
+ \hfill
+ \vbox{\moveright\cornerthick\nsbot}%
+ }%
+ \nointerlineskip
+ \line{\ewbot\hfil\ewbot}%
+ }%
+ \egroup % \vbox from first cropmarks clause
+ \fi
+ }% end of \shipout\vbox
+ }% end of group with \indexdummies
+ \advancepageno
+ \ifnum\outputpenalty>-20000 \else\dosupereject\fi
+}
+
+\newinsert\margin \dimen\margin=\maxdimen
+
+\def\pagebody#1{\vbox to\pageheight{\boxmaxdepth=\maxdepth #1}}
+{\catcode`\@ =11
+\gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi
+% marginal hacks, juha@viisa.uucp (Juha Takala)
+\ifvoid\margin\else % marginal info is present
+ \rlap{\kern\hsize\vbox to\z@{\kern1pt\box\margin \vss}}\fi
+\dimen@=\dp#1 \unvbox#1
+\ifvoid\footins\else\vskip\skip\footins\footnoterule \unvbox\footins\fi
+\ifr@ggedbottom \kern-\dimen@ \vfil \fi}
+}
+
+% Here are the rules for the cropmarks. Note that they are
+% offset so that the space between them is truly \outerhsize or \outervsize
+% (P. A. MacKay, 12 November, 1986)
+%
+\def\ewtop{\vrule height\cornerthick depth0pt width\cornerlong}
+\def\nstop{\vbox
+ {\hrule height\cornerthick depth\cornerlong width\cornerthick}}
+\def\ewbot{\vrule height0pt depth\cornerthick width\cornerlong}
+\def\nsbot{\vbox
+ {\hrule height\cornerlong depth\cornerthick width\cornerthick}}
+
+% Parse an argument, then pass it to #1. The argument is the rest of
+% the input line (except we remove a trailing comment). #1 should be a
+% macro which expects an ordinary undelimited TeX argument.
+%
+\def\parsearg{\parseargusing{}}
+\def\parseargusing#1#2{%
+ \def\argtorun{#2}%
+ \begingroup
+ \obeylines
+ \spaceisspace
+ #1%
+ \parseargline\empty% Insert the \empty token, see \finishparsearg below.
+}
+
+{\obeylines %
+ \gdef\parseargline#1^^M{%
+ \endgroup % End of the group started in \parsearg.
+ \argremovecomment #1\comment\ArgTerm%
+ }%
+}
+
+% First remove any @comment, then any @c comment.
+\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
+\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
+
+% Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space.
+%
+% \argremovec might leave us with trailing space, e.g.,
+% @end itemize @c foo
+% This space token undergoes the same procedure and is eventually removed
+% by \finishparsearg.
+%
+\def\argcheckspaces#1\^^M{\argcheckspacesX#1\^^M \^^M}
+\def\argcheckspacesX#1 \^^M{\argcheckspacesY#1\^^M}
+\def\argcheckspacesY#1\^^M#2\^^M#3\ArgTerm{%
+ \def\temp{#3}%
+ \ifx\temp\empty
+ % Do not use \next, perhaps the caller of \parsearg uses it; reuse \temp:
+ \let\temp\finishparsearg
+ \else
+ \let\temp\argcheckspaces
+ \fi
+ % Put the space token in:
+ \temp#1 #3\ArgTerm
+}
+
+% If a _delimited_ argument is enclosed in braces, they get stripped; so
+% to get _exactly_ the rest of the line, we had to prevent such situation.
+% We prepended an \empty token at the very beginning and we expand it now,
+% just before passing the control to \argtorun.
+% (Similarly, we have to think about #3 of \argcheckspacesY above: it is
+% either the null string, or it ends with \^^M---thus there is no danger
+% that a pair of braces would be stripped.
+%
+% But first, we have to remove the trailing space token.
+%
+\def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}}
+
+% \parseargdef\foo{...}
+% is roughly equivalent to
+% \def\foo{\parsearg\Xfoo}
+% \def\Xfoo#1{...}
+%
+% Actually, I use \csname\string\foo\endcsname, ie. \\foo, as it is my
+% favourite TeX trick. --kasal, 16nov03
+
+\def\parseargdef#1{%
+ \expandafter \doparseargdef \csname\string#1\endcsname #1%
+}
+\def\doparseargdef#1#2{%
+ \def#2{\parsearg#1}%
+ \def#1##1%
+}
+
+% Several utility definitions with active space:
+{
+ \obeyspaces
+ \gdef\obeyedspace{ }
+
+ % Make each space character in the input produce a normal interword
+ % space in the output. Don't allow a line break at this space, as this
+ % is used only in environments like @example, where each line of input
+ % should produce a line of output anyway.
+ %
+ \gdef\sepspaces{\obeyspaces\let =\tie}
+
+ % If an index command is used in an @example environment, any spaces
+ % therein should become regular spaces in the raw index file, not the
+ % expansion of \tie (\leavevmode \penalty \@M \ ).
+ \gdef\unsepspaces{\let =\space}
+}
+
+
+\def\flushcr{\ifx\par\lisppar \def\next##1{}\else \let\next=\relax \fi \next}
+
+% Define the framework for environments in texinfo.tex. It's used like this:
+%
+% \envdef\foo{...}
+% \def\Efoo{...}
+%
+% It's the responsibility of \envdef to insert \begingroup before the
+% actual body; @end closes the group after calling \Efoo. \envdef also
+% defines \thisenv, so the current environment is known; @end checks
+% whether the environment name matches. The \checkenv macro can also be
+% used to check whether the current environment is the one expected.
+%
+% Non-false conditionals (@iftex, @ifset) don't fit into this, so they
+% are not treated as environments; they don't open a group. (The
+% implementation of @end takes care not to call \endgroup in this
+% special case.)
+
+
+% At runtime, environments start with this:
+\def\startenvironment#1{\begingroup\def\thisenv{#1}}
+% initialize
+\let\thisenv\empty
+
+% ... but they get defined via ``\envdef\foo{...}'':
+\long\def\envdef#1#2{\def#1{\startenvironment#1#2}}
+\def\envparseargdef#1#2{\parseargdef#1{\startenvironment#1#2}}
+
+% Check whether we're in the right environment:
+\def\checkenv#1{%
+ \def\temp{#1}%
+ \ifx\thisenv\temp
+ \else
+ \badenverr
+ \fi
+}
+
+% Evironment mismatch, #1 expected:
+\def\badenverr{%
+ \errhelp = \EMsimple
+ \errmessage{This command can appear only \inenvironment\temp,
+ not \inenvironment\thisenv}%
+}
+\def\inenvironment#1{%
+ \ifx#1\empty
+ out of any environment%
+ \else
+ in environment \expandafter\string#1%
+ \fi
+}
+
+% @end foo executes the definition of \Efoo.
+% But first, it executes a specialized version of \checkenv
+%
+\parseargdef\end{%
+ \if 1\csname iscond.#1\endcsname
+ \else
+ % The general wording of \badenverr may not be ideal, but... --kasal, 06nov03
+ \expandafter\checkenv\csname#1\endcsname
+ \csname E#1\endcsname
+ \endgroup
+ \fi
+}
+
+\newhelp\EMsimple{Press RETURN to continue.}
+
+
+%% Simple single-character @ commands
+
+% @@ prints an @
+% Kludge this until the fonts are right (grr).
+\def\@{{\tt\char64}}
+
+% This is turned off because it was never documented
+% and you can use @w{...} around a quote to suppress ligatures.
+%% Define @` and @' to be the same as ` and '
+%% but suppressing ligatures.
+%\def\`{{`}}
+%\def\'{{'}}
+
+% Used to generate quoted braces.
+\def\mylbrace {{\tt\char123}}
+\def\myrbrace {{\tt\char125}}
+\let\{=\mylbrace
+\let\}=\myrbrace
+\begingroup
+ % Definitions to produce \{ and \} commands for indices,
+ % and @{ and @} for the aux/toc files.
+ \catcode`\{ = \other \catcode`\} = \other
+ \catcode`\[ = 1 \catcode`\] = 2
+ \catcode`\! = 0 \catcode`\\ = \other
+ !gdef!lbracecmd[\{]%
+ !gdef!rbracecmd[\}]%
+ !gdef!lbraceatcmd[@{]%
+ !gdef!rbraceatcmd[@}]%
+!endgroup
+
+% @comma{} to avoid , parsing problems.
+\let\comma = ,
+
+% Accents: @, @dotaccent @ringaccent @ubaraccent @udotaccent
+% Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
+\let\, = \c
+\let\dotaccent = \.
+\def\ringaccent#1{{\accent23 #1}}
+\let\tieaccent = \t
+\let\ubaraccent = \b
+\let\udotaccent = \d
+
+% Other special characters: @questiondown @exclamdown @ordf @ordm
+% Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.
+\def\questiondown{?`}
+\def\exclamdown{!`}
+\def\ordf{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{a}}}
+\def\ordm{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{o}}}
+
+% Dotless i and dotless j, used for accents.
+\def\imacro{i}
+\def\jmacro{j}
+\def\dotless#1{%
+ \def\temp{#1}%
+ \ifx\temp\imacro \ptexi
+ \else\ifx\temp\jmacro \j
+ \else \errmessage{@dotless can be used only with i or j}%
+ \fi\fi
+}
+
+% The \TeX{} logo, as in plain, but resetting the spacing so that a
+% period following counts as ending a sentence. (Idea found in latex.)
+%
+\edef\TeX{\TeX \spacefactor=1000 }
+
+% @LaTeX{} logo. Not quite the same results as the definition in
+% latex.ltx, since we use a different font for the raised A; it's most
+% convenient for us to use an explicitly smaller font, rather than using
+% the \scriptstyle font (since we don't reset \scriptstyle and
+% \scriptscriptstyle).
+%
+\def\LaTeX{%
+ L\kern-.36em
+ {\setbox0=\hbox{T}%
+ \vbox to \ht0{\hbox{\selectfonts\lllsize A}\vss}}%
+ \kern-.15em
+ \TeX
+}
+
+% Be sure we're in horizontal mode when doing a tie, since we make space
+% equivalent to this in @example-like environments. Otherwise, a space
+% at the beginning of a line will start with \penalty -- and
+% since \penalty is valid in vertical mode, we'd end up putting the
+% penalty on the vertical list instead of in the new paragraph.
+{\catcode`@ = 11
+ % Avoid using \@M directly, because that causes trouble
+ % if the definition is written into an index file.
+ \global\let\tiepenalty = \@M
+ \gdef\tie{\leavevmode\penalty\tiepenalty\ }
+}
+
+% @: forces normal size whitespace following.
+\def\:{\spacefactor=1000 }
+
+% @* forces a line break.
+\def\*{\hfil\break\hbox{}\ignorespaces}
+
+% @/ allows a line break.
+\let\/=\allowbreak
+
+% @. is an end-of-sentence period.
+\def\.{.\spacefactor=\endofsentencespacefactor\space}
+
+% @! is an end-of-sentence bang.
+\def\!{!\spacefactor=\endofsentencespacefactor\space}
+
+% @? is an end-of-sentence query.
+\def\?{?\spacefactor=\endofsentencespacefactor\space}
+
+% @frenchspacing on|off says whether to put extra space after punctuation.
+%
+\def\onword{on}
+\def\offword{off}
+%
+\parseargdef\frenchspacing{%
+ \def\temp{#1}%
+ \ifx\temp\onword \plainfrenchspacing
+ \else\ifx\temp\offword \plainnonfrenchspacing
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @frenchspacing option `\temp', must be on/off}%
+ \fi\fi
+}
+
+% @w prevents a word break. Without the \leavevmode, @w at the
+% beginning of a paragraph, when TeX is still in vertical mode, would
+% produce a whole line of output instead of starting the paragraph.
+\def\w#1{\leavevmode\hbox{#1}}
+
+% @group ... @end group forces ... to be all on one page, by enclosing
+% it in a TeX vbox. We use \vtop instead of \vbox to construct the box
+% to keep its height that of a normal line. According to the rules for
+% \topskip (p.114 of the TeXbook), the glue inserted is
+% max (\topskip - \ht (first item), 0). If that height is large,
+% therefore, no glue is inserted, and the space between the headline and
+% the text is small, which looks bad.
+%
+% Another complication is that the group might be very large. This can
+% cause the glue on the previous page to be unduly stretched, because it
+% does not have much material. In this case, it's better to add an
+% explicit \vfill so that the extra space is at the bottom. The
+% threshold for doing this is if the group is more than \vfilllimit
+% percent of a page (\vfilllimit can be changed inside of @tex).
+%
+\newbox\groupbox
+\def\vfilllimit{0.7}
+%
+\envdef\group{%
+ \ifnum\catcode`\^^M=\active \else
+ \errhelp = \groupinvalidhelp
+ \errmessage{@group invalid in context where filling is enabled}%
+ \fi
+ \startsavinginserts
+ %
+ \setbox\groupbox = \vtop\bgroup
+ % Do @comment since we are called inside an environment such as
+ % @example, where each end-of-line in the input causes an
+ % end-of-line in the output. We don't want the end-of-line after
+ % the `@group' to put extra space in the output. Since @group
+ % should appear on a line by itself (according to the Texinfo
+ % manual), we don't worry about eating any user text.
+ \comment
+}
+%
+% The \vtop produces a box with normal height and large depth; thus, TeX puts
+% \baselineskip glue before it, and (when the next line of text is done)
+% \lineskip glue after it. Thus, space below is not quite equal to space
+% above. But it's pretty close.
+\def\Egroup{%
+ % To get correct interline space between the last line of the group
+ % and the first line afterwards, we have to propagate \prevdepth.
+ \endgraf % Not \par, as it may have been set to \lisppar.
+ \global\dimen1 = \prevdepth
+ \egroup % End the \vtop.
+ % \dimen0 is the vertical size of the group's box.
+ \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox
+ % \dimen2 is how much space is left on the page (more or less).
+ \dimen2 = \pageheight \advance\dimen2 by -\pagetotal
+ % if the group doesn't fit on the current page, and it's a big big
+ % group, force a page break.
+ \ifdim \dimen0 > \dimen2
+ \ifdim \pagetotal < \vfilllimit\pageheight
+ \page
+ \fi
+ \fi
+ \box\groupbox
+ \prevdepth = \dimen1
+ \checkinserts
+}
+%
+% TeX puts in an \escapechar (i.e., `@') at the beginning of the help
+% message, so this ends up printing `@group can only ...'.
+%
+\newhelp\groupinvalidhelp{%
+group can only be used in environments such as @example,^^J%
+where each line of input produces a line of output.}
+
+% @need space-in-mils
+% forces a page break if there is not space-in-mils remaining.
+
+\newdimen\mil \mil=0.001in
+
+% Old definition--didn't work.
+%\parseargdef\need{\par %
+%% This method tries to make TeX break the page naturally
+%% if the depth of the box does not fit.
+%{\baselineskip=0pt%
+%\vtop to #1\mil{\vfil}\kern -#1\mil\nobreak
+%\prevdepth=-1000pt
+%}}
+
+\parseargdef\need{%
+ % Ensure vertical mode, so we don't make a big box in the middle of a
+ % paragraph.
+ \par
+ %
+ % If the @need value is less than one line space, it's useless.
+ \dimen0 = #1\mil
+ \dimen2 = \ht\strutbox
+ \advance\dimen2 by \dp\strutbox
+ \ifdim\dimen0 > \dimen2
+ %
+ % Do a \strut just to make the height of this box be normal, so the
+ % normal leading is inserted relative to the preceding line.
+ % And a page break here is fine.
+ \vtop to #1\mil{\strut\vfil}%
+ %
+ % TeX does not even consider page breaks if a penalty added to the
+ % main vertical list is 10000 or more. But in order to see if the
+ % empty box we just added fits on the page, we must make it consider
+ % page breaks. On the other hand, we don't want to actually break the
+ % page after the empty box. So we use a penalty of 9999.
+ %
+ % There is an extremely small chance that TeX will actually break the
+ % page at this \penalty, if there are no other feasible breakpoints in
+ % sight. (If the user is using lots of big @group commands, which
+ % almost-but-not-quite fill up a page, TeX will have a hard time doing
+ % good page breaking, for example.) However, I could not construct an
+ % example where a page broke at this \penalty; if it happens in a real
+ % document, then we can reconsider our strategy.
+ \penalty9999
+ %
+ % Back up by the size of the box, whether we did a page break or not.
+ \kern -#1\mil
+ %
+ % Do not allow a page break right after this kern.
+ \nobreak
+ \fi
+}
+
+% @br forces paragraph break (and is undocumented).
+
+\let\br = \par
+
+% @page forces the start of a new page.
+%
+\def\page{\par\vfill\supereject}
+
+% @exdent text....
+% outputs text on separate line in roman font, starting at standard page margin
+
+% This records the amount of indent in the innermost environment.
+% That's how much \exdent should take out.
+\newskip\exdentamount
+
+% This defn is used inside fill environments such as @defun.
+\parseargdef\exdent{\hfil\break\hbox{\kern -\exdentamount{\rm#1}}\hfil\break}
+
+% This defn is used inside nofill environments such as @example.
+\parseargdef\nofillexdent{{\advance \leftskip by -\exdentamount
+ \leftline{\hskip\leftskip{\rm#1}}}}
+
+% @inmargin{WHICH}{TEXT} puts TEXT in the WHICH margin next to the current
+% paragraph. For more general purposes, use the \margin insertion
+% class. WHICH is `l' or `r'.
+%
+\newskip\inmarginspacing \inmarginspacing=1cm
+\def\strutdepth{\dp\strutbox}
+%
+\def\doinmargin#1#2{\strut\vadjust{%
+ \nobreak
+ \kern-\strutdepth
+ \vtop to \strutdepth{%
+ \baselineskip=\strutdepth
+ \vss
+ % if you have multiple lines of stuff to put here, you'll need to
+ % make the vbox yourself of the appropriate size.
+ \ifx#1l%
+ \llap{\ignorespaces #2\hskip\inmarginspacing}%
+ \else
+ \rlap{\hskip\hsize \hskip\inmarginspacing \ignorespaces #2}%
+ \fi
+ \null
+ }%
+}}
+\def\inleftmargin{\doinmargin l}
+\def\inrightmargin{\doinmargin r}
+%
+% @inmargin{TEXT [, RIGHT-TEXT]}
+% (if RIGHT-TEXT is given, use TEXT for left page, RIGHT-TEXT for right;
+% else use TEXT for both).
+%
+\def\inmargin#1{\parseinmargin #1,,\finish}
+\def\parseinmargin#1,#2,#3\finish{% not perfect, but better than nothing.
+ \setbox0 = \hbox{\ignorespaces #2}%
+ \ifdim\wd0 > 0pt
+ \def\lefttext{#1}% have both texts
+ \def\righttext{#2}%
+ \else
+ \def\lefttext{#1}% have only one text
+ \def\righttext{#1}%
+ \fi
+ %
+ \ifodd\pageno
+ \def\temp{\inrightmargin\righttext}% odd page -> outside is right margin
+ \else
+ \def\temp{\inleftmargin\lefttext}%
+ \fi
+ \temp
+}
+
+% @include file insert text of that file as input.
+%
+\def\include{\parseargusing\filenamecatcodes\includezzz}
+\def\includezzz#1{%
+ \pushthisfilestack
+ \def\thisfile{#1}%
+ {%
+ \makevalueexpandable
+ \def\temp{\input #1 }%
+ \expandafter
+ }\temp
+ \popthisfilestack
+}
+\def\filenamecatcodes{%
+ \catcode`\\=\other
+ \catcode`~=\other
+ \catcode`^=\other
+ \catcode`_=\other
+ \catcode`|=\other
+ \catcode`<=\other
+ \catcode`>=\other
+ \catcode`+=\other
+ \catcode`-=\other
+}
+
+\def\pushthisfilestack{%
+ \expandafter\pushthisfilestackX\popthisfilestack\StackTerm
+}
+\def\pushthisfilestackX{%
+ \expandafter\pushthisfilestackY\thisfile\StackTerm
+}
+\def\pushthisfilestackY #1\StackTerm #2\StackTerm {%
+ \gdef\popthisfilestack{\gdef\thisfile{#1}\gdef\popthisfilestack{#2}}%
+}
+
+\def\popthisfilestack{\errthisfilestackempty}
+\def\errthisfilestackempty{\errmessage{Internal error:
+ the stack of filenames is empty.}}
+
+\def\thisfile{}
+
+% @center line
+% outputs that line, centered.
+%
+\parseargdef\center{%
+ \ifhmode
+ \let\next\centerH
+ \else
+ \let\next\centerV
+ \fi
+ \next{\hfil \ignorespaces#1\unskip \hfil}%
+}
+\def\centerH#1{%
+ {%
+ \hfil\break
+ \advance\hsize by -\leftskip
+ \advance\hsize by -\rightskip
+ \line{#1}%
+ \break
+ }%
+}
+\def\centerV#1{\line{\kern\leftskip #1\kern\rightskip}}
+
+% @sp n outputs n lines of vertical space
+
+\parseargdef\sp{\vskip #1\baselineskip}
+
+% @comment ...line which is ignored...
+% @c is the same as @comment
+% @ignore ... @end ignore is another way to write a comment
+
+\def\comment{\begingroup \catcode`\^^M=\other%
+\catcode`\@=\other \catcode`\{=\other \catcode`\}=\other%
+\commentxxx}
+{\catcode`\^^M=\other \gdef\commentxxx#1^^M{\endgroup}}
+
+\let\c=\comment
+
+% @paragraphindent NCHARS
+% We'll use ems for NCHARS, close enough.
+% NCHARS can also be the word `asis' or `none'.
+% We cannot feasibly implement @paragraphindent asis, though.
+%
+\def\asisword{asis} % no translation, these are keywords
+\def\noneword{none}
+%
+\parseargdef\paragraphindent{%
+ \def\temp{#1}%
+ \ifx\temp\asisword
+ \else
+ \ifx\temp\noneword
+ \defaultparindent = 0pt
+ \else
+ \defaultparindent = #1em
+ \fi
+ \fi
+ \parindent = \defaultparindent
+}
+
+% @exampleindent NCHARS
+% We'll use ems for NCHARS like @paragraphindent.
+% It seems @exampleindent asis isn't necessary, but
+% I preserve it to make it similar to @paragraphindent.
+\parseargdef\exampleindent{%
+ \def\temp{#1}%
+ \ifx\temp\asisword
+ \else
+ \ifx\temp\noneword
+ \lispnarrowing = 0pt
+ \else
+ \lispnarrowing = #1em
+ \fi
+ \fi
+}
+
+% @firstparagraphindent WORD
+% If WORD is `none', then suppress indentation of the first paragraph
+% after a section heading. If WORD is `insert', then do indent at such
+% paragraphs.
+%
+% The paragraph indentation is suppressed or not by calling
+% \suppressfirstparagraphindent, which the sectioning commands do.
+% We switch the definition of this back and forth according to WORD.
+% By default, we suppress indentation.
+%
+\def\suppressfirstparagraphindent{\dosuppressfirstparagraphindent}
+\def\insertword{insert}
+%
+\parseargdef\firstparagraphindent{%
+ \def\temp{#1}%
+ \ifx\temp\noneword
+ \let\suppressfirstparagraphindent = \dosuppressfirstparagraphindent
+ \else\ifx\temp\insertword
+ \let\suppressfirstparagraphindent = \relax
+ \else
+ \errhelp = \EMsimple
+ \errmessage{Unknown @firstparagraphindent option `\temp'}%
+ \fi\fi
+}
+
+% Here is how we actually suppress indentation. Redefine \everypar to
+% \kern backwards by \parindent, and then reset itself to empty.
+%
+% We also make \indent itself not actually do anything until the next
+% paragraph.
+%
+\gdef\dosuppressfirstparagraphindent{%
+ \gdef\indent{%
+ \restorefirstparagraphindent
+ \indent
+ }%
+ \gdef\noindent{%
+ \restorefirstparagraphindent
+ \noindent
+ }%
+ \global\everypar = {%
+ \kern -\parindent
+ \restorefirstparagraphindent
+ }%
+}
+
+\gdef\restorefirstparagraphindent{%
+ \global \let \indent = \ptexindent
+ \global \let \noindent = \ptexnoindent
+ \global \everypar = {}%
+}
+
+
+% @asis just yields its argument. Used with @table, for example.
+%
+\def\asis#1{#1}
+
+% @math outputs its argument in math mode.
+%
+% One complication: _ usually means subscripts, but it could also mean
+% an actual _ character, as in @math{@var{some_variable} + 1}. So make
+% _ active, and distinguish by seeing if the current family is \slfam,
+% which is what @var uses.
+{
+ \catcode`\_ = \active
+ \gdef\mathunderscore{%
+ \catcode`\_=\active
+ \def_{\ifnum\fam=\slfam \_\else\sb\fi}%
+ }
+}
+% Another complication: we want \\ (and @\) to output a \ character.
+% FYI, plain.tex uses \\ as a temporary control sequence (why?), but
+% this is not advertised and we don't care. Texinfo does not
+% otherwise define @\.
+%
+% The \mathchar is class=0=ordinary, family=7=ttfam, position=5C=\.
+\def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi}
+%
+\def\math{%
+ \tex
+ \mathunderscore
+ \let\\ = \mathbackslash
+ \mathactive
+ $\finishmath
+}
+\def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
+
+% Some active characters (such as <) are spaced differently in math.
+% We have to reset their definitions in case the @math was an argument
+% to a command which sets the catcodes (such as @item or @section).
+%
+{
+ \catcode`^ = \active
+ \catcode`< = \active
+ \catcode`> = \active
+ \catcode`+ = \active
+ \gdef\mathactive{%
+ \let^ = \ptexhat
+ \let< = \ptexless
+ \let> = \ptexgtr
+ \let+ = \ptexplus
+ }
+}
+
+% @bullet and @minus need the same treatment as @math, just above.
+\def\bullet{$\ptexbullet$}
+\def\minus{$-$}
+
+% @dots{} outputs an ellipsis using the current font.
+% We do .5em per period so that it has the same spacing in the cm
+% typewriter fonts as three actual period characters; on the other hand,
+% in other typewriter fonts three periods are wider than 1.5em. So do
+% whichever is larger.
+%
+\def\dots{%
+ \leavevmode
+ \setbox0=\hbox{...}% get width of three periods
+ \ifdim\wd0 > 1.5em
+ \dimen0 = \wd0
+ \else
+ \dimen0 = 1.5em
+ \fi
+ \hbox to \dimen0{%
+ \hskip 0pt plus.25fil
+ .\hskip 0pt plus1fil
+ .\hskip 0pt plus1fil
+ .\hskip 0pt plus.5fil
+ }%
+}
+
+% @enddots{} is an end-of-sentence ellipsis.
+%
+\def\enddots{%
+ \dots
+ \spacefactor=\endofsentencespacefactor
+}
+
+% @comma{} is so commas can be inserted into text without messing up
+% Texinfo's parsing.
+%
+\let\comma = ,
+
+% @refill is a no-op.
+\let\refill=\relax
+
+% If working on a large document in chapters, it is convenient to
+% be able to disable indexing, cross-referencing, and contents, for test runs.
+% This is done with @novalidate (before @setfilename).
+%
+\newif\iflinks \linkstrue % by default we want the aux files.
+\let\novalidate = \linksfalse
+
+% @setfilename is done at the beginning of every texinfo file.
+% So open here the files we need to have open while reading the input.
+% This makes it possible to make a .fmt file for texinfo.
+\def\setfilename{%
+ \fixbackslash % Turn off hack to swallow `\input texinfo'.
+ \iflinks
+ \tryauxfile
+ % Open the new aux file. TeX will close it automatically at exit.
+ \immediate\openout\auxfile=\jobname.aux
+ \fi % \openindices needs to do some work in any case.
+ \openindices
+ \let\setfilename=\comment % Ignore extra @setfilename cmds.
+ %
+ % If texinfo.cnf is present on the system, read it.
+ % Useful for site-wide @afourpaper, etc.
+ \openin 1 texinfo.cnf
+ \ifeof 1 \else \input texinfo.cnf \fi
+ \closein 1
+ %
+ \comment % Ignore the actual filename.
+}
+
+% Called from \setfilename.
+%
+\def\openindices{%
+ \newindex{cp}%
+ \newcodeindex{fn}%
+ \newcodeindex{vr}%
+ \newcodeindex{tp}%
+ \newcodeindex{ky}%
+ \newcodeindex{pg}%
+}
+
+% @bye.
+\outer\def\bye{\pagealignmacro\tracingstats=1\ptexend}
+
+
+\message{pdf,}
+% adobe `portable' document format
+\newcount\tempnum
+\newcount\lnkcount
+\newtoks\filename
+\newcount\filenamelength
+\newcount\pgn
+\newtoks\toksA
+\newtoks\toksB
+\newtoks\toksC
+\newtoks\toksD
+\newbox\boxA
+\newcount\countA
+\newif\ifpdf
+\newif\ifpdfmakepagedest
+
+% when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1
+% can be set). So we test for \relax and 0 as well as \undefined,
+% borrowed from ifpdf.sty.
+\ifx\pdfoutput\undefined
+\else
+ \ifx\pdfoutput\relax
+ \else
+ \ifcase\pdfoutput
+ \else
+ \pdftrue
+ \fi
+ \fi
+\fi
+
+% PDF uses PostScript string constants for the names of xref targets,
+% for display in the outlines, and in other places. Thus, we have to
+% double any backslashes. Otherwise, a name like "\node" will be
+% interpreted as a newline (\n), followed by o, d, e. Not good.
+% https://mailman.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html
+% (and related messages, the final outcome is that it is up to the TeX
+% user to double the backslashes and otherwise make the string valid, so
+% that's what we do).
+
+% double active backslashes.
+%
+{\catcode`\@=0 \catcode`\\=\active
+ @gdef@activebackslashdouble{%
+ @catcode`@\=@active
+ @let\=@doublebackslash}
+}
+
+% To handle parens, we must adopt a different approach, since parens are
+% not active characters. hyperref.dtx (which has the same problem as
+% us) handles it with this amazing macro to replace tokens, with minor
+% changes for Texinfo. It is included here under the GPL by permission
+% from the author, Heiko Oberdiek.
+%
+% #1 is the tokens to replace.
+% #2 is the replacement.
+% #3 is the control sequence with the string.
+%
+\def\HyPsdSubst#1#2#3{%
+ \def\HyPsdReplace##1#1##2\END{%
+ ##1%
+ \ifx\\##2\\%
+ \else
+ #2%
+ \HyReturnAfterFi{%
+ \HyPsdReplace##2\END
+ }%
+ \fi
+ }%
+ \xdef#3{\expandafter\HyPsdReplace#3#1\END}%
+}
+\long\def\HyReturnAfterFi#1\fi{\fi#1}
+
+% #1 is a control sequence in which to do the replacements.
+\def\backslashparens#1{%
+ \xdef#1{#1}% redefine it as its expansion; the definition is simply
+ % \lastnode when called from \setref -> \pdfmkdest.
+ \HyPsdSubst{(}{\realbackslash(}{#1}%
+ \HyPsdSubst{)}{\realbackslash)}{#1}%
+}
+
+\newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images
+with PDF output, and none of those formats could be found. (.eps cannot
+be supported due to the design of the PDF format; use regular TeX (DVI
+output) for that.)}
+
+\ifpdf
+ \input pdfcolor
+ \pdfcatalog{/PageMode /UseOutlines}
+ %
+ % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).
+ \def\dopdfimage#1#2#3{%
+ \def\imagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
+ \def\imageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
+ %
+ % pdftex (and the PDF format) support .png, .jpg, .pdf (among
+ % others). Let's try in that order.
+ \let\pdfimgext=\empty
+ \begingroup
+ \openin 1 #1.png \ifeof 1
+ \openin 1 #1.jpg \ifeof 1
+ \openin 1 #1.jpeg \ifeof 1
+ \openin 1 #1.JPG \ifeof 1
+ \openin 1 #1.pdf \ifeof 1
+ \errhelp = \nopdfimagehelp
+ \errmessage{Could not find image file #1 for pdf}%
+ \else \gdef\pdfimgext{pdf}%
+ \fi
+ \else \gdef\pdfimgext{JPG}%
+ \fi
+ \else \gdef\pdfimgext{jpeg}%
+ \fi
+ \else \gdef\pdfimgext{jpg}%
+ \fi
+ \else \gdef\pdfimgext{png}%
+ \fi
+ \closein 1
+ \endgroup
+ %
+ % without \immediate, pdftex seg faults when the same image is
+ % included twice. (Version 3.14159-pre-1.0-unofficial-20010704.)
+ \ifnum\pdftexversion < 14
+ \immediate\pdfimage
+ \else
+ \immediate\pdfximage
+ \fi
+ \ifdim \wd0 >0pt width \imagewidth \fi
+ \ifdim \wd2 >0pt height \imageheight \fi
+ \ifnum\pdftexversion<13
+ #1.\pdfimgext
+ \else
+ {#1.\pdfimgext}%
+ \fi
+ \ifnum\pdftexversion < 14 \else
+ \pdfrefximage \pdflastximage
+ \fi}
+ %
+ \def\pdfmkdest#1{{%
+ % We have to set dummies so commands such as @code, and characters
+ % such as \, aren't expanded when present in a section title.
+ \indexnofonts
+ \turnoffactive
+ \activebackslashdouble
+ \makevalueexpandable
+ \def\pdfdestname{#1}%
+ \backslashparens\pdfdestname
+ \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
+ }}
+ %
+ % used to mark target names; must be expandable.
+ \def\pdfmkpgn#1{#1}
+ %
+ % by default, use a color that is dark enough to print on paper as
+ % nearly black, but still distinguishable for online viewing.
+ % (Defined in pdfcolor.tex.)
+ \let\urlcolor = \BrickRed
+ \let\linkcolor = \BrickRed
+ \def\endlink{\Black\pdfendlink}
+ %
+ % Adding outlines to PDF; macros for calculating structure of outlines
+ % come from Petr Olsak
+ \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0%
+ \else \csname#1\endcsname \fi}
+ \def\advancenumber#1{\tempnum=\expnumber{#1}\relax
+ \advance\tempnum by 1
+ \expandafter\xdef\csname#1\endcsname{\the\tempnum}}
+ %
+ % #1 is the section text, which is what will be displayed in the
+ % outline by the pdf viewer. #2 is the pdf expression for the number
+ % of subentries (or empty, for subsubsections). #3 is the node text,
+ % which might be empty if this toc entry had no corresponding node.
+ % #4 is the page number
+ %
+ \def\dopdfoutline#1#2#3#4{%
+ % Generate a link to the node text if that exists; else, use the
+ % page number. We could generate a destination for the section
+ % text in the case where a section has no node, but it doesn't
+ % seem worth the trouble, since most documents are normally structured.
+ \def\pdfoutlinedest{#3}%
+ \ifx\pdfoutlinedest\empty
+ \def\pdfoutlinedest{#4}%
+ \else
+ % Doubled backslashes in the name.
+ {\activebackslashdouble \xdef\pdfoutlinedest{#3}%
+ \backslashparens\pdfoutlinedest}%
+ \fi
+ %
+ % Also double the backslashes in the display string.
+ {\activebackslashdouble \xdef\pdfoutlinetext{#1}%
+ \backslashparens\pdfoutlinetext}%
+ %
+ \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}%
+ }
+ %
+ \def\pdfmakeoutlines{%
+ \begingroup
+ % Thanh's hack / proper braces in bookmarks
+ \edef\mylbrace{\iftrue \string{\else}\fi}\let\{=\mylbrace
+ \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace
+ %
+ % Read toc silently, to get counts of subentries for \pdfoutline.
+ \def\numchapentry##1##2##3##4{%
+ \def\thischapnum{##2}%
+ \def\thissecnum{0}%
+ \def\thissubsecnum{0}%
+ }%
+ \def\numsecentry##1##2##3##4{%
+ \advancenumber{chap\thischapnum}%
+ \def\thissecnum{##2}%
+ \def\thissubsecnum{0}%
+ }%
+ \def\numsubsecentry##1##2##3##4{%
+ \advancenumber{sec\thissecnum}%
+ \def\thissubsecnum{##2}%
+ }%
+ \def\numsubsubsecentry##1##2##3##4{%
+ \advancenumber{subsec\thissubsecnum}%
+ }%
+ \def\thischapnum{0}%
+ \def\thissecnum{0}%
+ \def\thissubsecnum{0}%
+ %
+ % use \def rather than \let here because we redefine \chapentry et
+ % al. a second time, below.
+ \def\appentry{\numchapentry}%
+ \def\appsecentry{\numsecentry}%
+ \def\appsubsecentry{\numsubsecentry}%
+ \def\appsubsubsecentry{\numsubsubsecentry}%
+ \def\unnchapentry{\numchapentry}%
+ \def\unnsecentry{\numsecentry}%
+ \def\unnsubsecentry{\numsubsecentry}%
+ \def\unnsubsubsecentry{\numsubsubsecentry}%
+ \readdatafile{toc}%
+ %
+ % Read toc second time, this time actually producing the outlines.
+ % The `-' means take the \expnumber as the absolute number of
+ % subentries, which we calculated on our first read of the .toc above.
+ %
+ % We use the node names as the destinations.
+ \def\numchapentry##1##2##3##4{%
+ \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}%
+ \def\numsecentry##1##2##3##4{%
+ \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}%
+ \def\numsubsecentry##1##2##3##4{%
+ \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}%
+ \def\numsubsubsecentry##1##2##3##4{% count is always zero
+ \dopdfoutline{##1}{}{##3}{##4}}%
+ %
+ % PDF outlines are displayed using system fonts, instead of
+ % document fonts. Therefore we cannot use special characters,
+ % since the encoding is unknown. For example, the eogonek from
+ % Latin 2 (0xea) gets translated to a | character. Info from
+ % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100.
+ %
+ % xx to do this right, we have to translate 8-bit characters to
+ % their "best" equivalent, based on the @documentencoding. Right
+ % now, I guess we'll just let the pdf reader have its way.
+ \indexnofonts
+ \setupdatafile
+ \catcode`\\=\active \otherbackslash
+ \input \jobname.toc
+ \endgroup
+ }
+ %
+ \def\skipspaces#1{\def\PP{#1}\def\D{|}%
+ \ifx\PP\D\let\nextsp\relax
+ \else\let\nextsp\skipspaces
+ \ifx\p\space\else\addtokens{\filename}{\PP}%
+ \advance\filenamelength by 1
+ \fi
+ \fi
+ \nextsp}
+ \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax}
+ \ifnum\pdftexversion < 14
+ \let \startlink \pdfannotlink
+ \else
+ \let \startlink \pdfstartlink
+ \fi
+ % make a live url in pdf output.
+ \def\pdfurl#1{%
+ \begingroup
+ % it seems we really need yet another set of dummies; have not
+ % tried to figure out what each command should do in the context
+ % of @url. for now, just make @/ a no-op, that's the only one
+ % people have actually reported a problem with.
+ %
+ \normalturnoffactive
+ \def\@{@}%
+ \let\/=\empty
+ \makevalueexpandable
+ \leavevmode\urlcolor
+ \startlink attr{/Border [0 0 0]}%
+ user{/Subtype /Link /A << /S /URI /URI (#1) >>}%
+ \endgroup}
+ \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}}
+ \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks}
+ \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks}
+ \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}}
+ \def\maketoks{%
+ \expandafter\poptoks\the\toksA|ENDTOKS|\relax
+ \ifx\first0\adn0
+ \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3
+ \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6
+ \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9
+ \else
+ \ifnum0=\countA\else\makelink\fi
+ \ifx\first.\let\next=\done\else
+ \let\next=\maketoks
+ \addtokens{\toksB}{\the\toksD}
+ \ifx\first,\addtokens{\toksB}{\space}\fi
+ \fi
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
+ \next}
+ \def\makelink{\addtokens{\toksB}%
+ {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
+ \def\pdflink#1{%
+ \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}}
+ \linkcolor #1\endlink}
+ \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
+\else
+ \let\pdfmkdest = \gobble
+ \let\pdfurl = \gobble
+ \let\endlink = \relax
+ \let\linkcolor = \relax
+ \let\pdfmakeoutlines = \relax
+\fi % \ifx\pdfoutput
+
+
+\message{fonts,}
+
+% Change the current font style to #1, remembering it in \curfontstyle.
+% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
+% italics, not bold italics.
+%
+\def\setfontstyle#1{%
+ \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd.
+ \csname ten#1\endcsname % change the current font
+}
+
+% Select #1 fonts with the current style.
+%
+\def\selectfonts#1{\csname #1fonts\endcsname \csname\curfontstyle\endcsname}
+
+\def\rm{\fam=0 \setfontstyle{rm}}
+\def\it{\fam=\itfam \setfontstyle{it}}
+\def\sl{\fam=\slfam \setfontstyle{sl}}
+\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf}
+\def\tt{\fam=\ttfam \setfontstyle{tt}}
+
+% Texinfo sort of supports the sans serif font style, which plain TeX does not.
+% So we set up a \sf.
+\newfam\sffam
+\def\sf{\fam=\sffam \setfontstyle{sf}}
+\let\li = \sf % Sometimes we call it \li, not \sf.
+
+% We don't need math for this font style.
+\def\ttsl{\setfontstyle{ttsl}}
+
+
+% Default leading.
+\newdimen\textleading \textleading = 13.2pt
+
+% Set the baselineskip to #1, and the lineskip and strut size
+% correspondingly. There is no deep meaning behind these magic numbers
+% used as factors; they just match (closely enough) what Knuth defined.
+%
+\def\lineskipfactor{.08333}
+\def\strutheightpercent{.70833}
+\def\strutdepthpercent {.29167}
+%
+\def\setleading#1{%
+ \normalbaselineskip = #1\relax
+ \normallineskip = \lineskipfactor\normalbaselineskip
+ \normalbaselines
+ \setbox\strutbox =\hbox{%
+ \vrule width0pt height\strutheightpercent\baselineskip
+ depth \strutdepthpercent \baselineskip
+ }%
+}
+
+%
+% PDF CMaps. See also LaTeX's t1.cmap.
+%
+% \cmapOT1
+\ifpdf
+ \begingroup
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-OT1-0)
+%%Title: (TeX-OT1-0 TeX OT1 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (OT1)
+/Supplement 0
+>> def
+/CMapName /TeX-OT1-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <7F>
+endcodespacerange
+8 beginbfrange
+<00> <01> <0393>
+<09> <0A> <03A8>
+<23> <26> <0023>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<5D> <5E> <005D>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+endbfrange
+40 beginbfchar
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<07> <03D2>
+<08> <03A6>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <007E>
+<7F> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+ }\endgroup
+ \expandafter\edef\csname cmapOT1\endcsname#1{%
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
+ }%
+%
+% \cmapOT1IT
+ \begingroup
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-OT1IT-0)
+%%Title: (TeX-OT1IT-0 TeX OT1IT 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (OT1IT)
+/Supplement 0
+>> def
+/CMapName /TeX-OT1IT-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <7F>
+endcodespacerange
+8 beginbfrange
+<00> <01> <0393>
+<09> <0A> <03A8>
+<25> <26> <0025>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<5D> <5E> <005D>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+endbfrange
+42 beginbfchar
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<07> <03D2>
+<08> <03A6>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<23> <0023>
+<24> <00A3>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <007E>
+<7F> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+ }\endgroup
+ \expandafter\edef\csname cmapOT1IT\endcsname#1{%
+ \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%
+ }%
+%
+% \cmapOT1TT
+ \begingroup
+ \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.
+ \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-OT1TT-0)
+%%Title: (TeX-OT1TT-0 TeX OT1TT 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (OT1TT)