Merge lp:~logan/ubuntu/wily/pinentry/0.9.2 into lp:ubuntu/wily/pinentry

Proposed by Logan Rosen
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~logan/ubuntu/wily/pinentry/0.9.2
Merge into: lp:ubuntu/wily/pinentry
Diff against target: 59107 lines (+23052/-25245)
149 files modified
.pc/applied-patches (+4/-0)
.pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp (+56/-21)
AUTHORS (+1/-0)
ChangeLog (+356/-0)
Makefile.am (+7/-15)
Makefile.in (+199/-183)
NEWS (+52/-0)
README (+7/-9)
VERSION (+1/-1)
aclocal.m4 (+542/-341)
assuan/Makefile.am (+1/-1)
assuan/Makefile.in (+145/-99)
assuan/assuan-errors.c (+3/-0)
assuan/assuan.h (+6/-3)
autogen.rc (+25/-0)
autogen.sh (+328/-76)
build-aux/compile (+347/-0)
build-aux/config.guess (+1421/-0)
build-aux/config.rpath (+690/-0)
build-aux/config.sub (+1807/-0)
build-aux/depcomp (+791/-0)
build-aux/install-sh (+527/-0)
build-aux/mdate-sh (+224/-0)
build-aux/missing (+215/-0)
build-aux/texinfo.tex (+8638/-0)
config.guess (+0/-1534)
config.h.in (+9/-19)
config.rpath (+0/-571)
config.sub (+0/-1786)
configure (+642/-3129)
configure.ac (+109/-135)
curses/Makefile.am (+5/-7)
curses/Makefile.in (+158/-112)
curses/Manifest (+0/-3)
curses/pinentry-curses.c (+6/-11)
debian/Makefile (+0/-24)
debian/README.Debian (+51/-0)
debian/changelog (+39/-0)
debian/compat (+1/-1)
debian/control (+49/-14)
debian/copyright (+171/-36)
debian/gbp.conf (+3/-0)
debian/patches/0001-avoid-self-describing-as-a-beta.patch (+33/-0)
debian/patches/0002-curses-app-should-terminate-when-tty-fails.patch (+30/-0)
debian/patches/0003-Fix-linking-order-to-work-when-linked-with-as-needed.patch (+85/-0)
debian/patches/0004-avoid-implicit-declaration-of-function-addnwstr.patch (+32/-0)
debian/patches/kubuntu_fix_stayontop.diff (+6/-11)
debian/patches/series (+4/-0)
debian/pinentry-curses.1 (+77/-0)
debian/pinentry-curses.install (+1/-0)
debian/pinentry-curses.manpages (+1/-0)
debian/pinentry-curses.postinst (+11/-0)
debian/pinentry-curses.prerm (+9/-0)
debian/pinentry-gtk-2.1 (+75/-0)
debian/pinentry-gtk2.install (+1/-0)
debian/pinentry-gtk2.manpages (+1/-0)
debian/pinentry-gtk2.postinst (+14/-0)
debian/pinentry-gtk2.prerm (+10/-0)
debian/pinentry-qt4.1 (+75/-0)
debian/pinentry-qt4.install (+1/-0)
debian/pinentry-qt4.manpages (+1/-0)
debian/pinentry-qt4.postinst (+14/-0)
debian/pinentry-qt4.prerm (+10/-0)
debian/pinentry-tty.1 (+80/-0)
debian/pinentry-tty.install (+1/-0)
debian/pinentry-tty.manpages (+1/-0)
debian/pinentry-tty.postinst (+11/-0)
debian/pinentry-tty.prerm (+9/-0)
debian/pinentry.1.in (+0/-95)
debian/pinentry.README.Debian.in (+0/-52)
debian/pinentry.install.in (+0/-1)
debian/pinentry.manpages.in (+0/-1)
debian/pinentry.postinst.in (+0/-25)
debian/pinentry.prerm.in (+0/-16)
debian/rules (+13/-27)
debian/upstream/signing-key.asc (+33/-0)
debian/watch (+1/-1)
doc/Makefile.in (+130/-87)
doc/gpl.texi (+6/-11)
doc/pinentry.info (+236/-187)
doc/pinentry.texi (+99/-47)
doc/stamp-vti (+4/-4)
doc/version.texi (+4/-4)
gtk+-2/Makefile.am (+3/-3)
gtk+-2/Makefile.in (+155/-109)
gtk+-2/gtksecentry.c (+144/-5)
gtk+-2/gtksecentry.h (+11/-6)
gtk+-2/pinentry-gtk-2.c (+162/-34)
gtk/Makefile.am (+0/-40)
gtk/Makefile.in (+0/-587)
gtk/Manifest (+0/-5)
gtk/gtksecentry.c (+0/-2410)
gtk/gtksecentry.h (+0/-114)
gtk/pinentry-gtk.c (+0/-428)
m4/glib.m4 (+0/-196)
m4/gtk.m4 (+0/-194)
m4/qt.m4 (+1/-1)
pinentry/Makefile.am (+5/-3)
pinentry/Makefile.in (+158/-105)
pinentry/argparse.c (+1607/-0)
pinentry/argparse.h (+203/-0)
pinentry/password-cache.c (+137/-0)
pinentry/password-cache.h (+27/-0)
pinentry/pinentry-curses.c (+61/-15)
pinentry/pinentry.c (+259/-99)
pinentry/pinentry.h (+53/-15)
qt/Makefile.am (+0/-54)
qt/Makefile.in (+0/-615)
qt/Manifest (+0/-9)
qt/README.SecQ (+0/-17)
qt/main.cpp (+0/-240)
qt/pinentrydialog.cpp (+0/-232)
qt/pinentrydialog.h (+0/-92)
qt/secqinternal.cpp (+0/-635)
qt/secqinternal_p.h (+0/-140)
qt/secqlineedit.cpp (+0/-1953)
qt/secqlineedit.h (+0/-228)
qt/secqstring.cpp (+0/-940)
qt/secqstring.h (+0/-307)
qt4/Makefile.am (+0/-49)
qt4/Makefile.in (+0/-604)
qt4/main.cpp (+0/-321)
qt4/pinentry.qrc (+0/-6)
qt4/pinentryconfirm.cpp (+0/-42)
qt4/pinentryconfirm.h (+0/-41)
qt4/pinentryconfirm.moc (+0/-94)
qt4/pinentrydialog.cpp (+0/-321)
qt4/pinentrydialog.h (+0/-100)
qt4/pinentrydialog.moc (+0/-136)
qt4/qrc_pinentry.cpp (+0/-180)
qt4/qsecurelineedit.cpp (+0/-3591)
qt4/qsecurelineedit.h (+0/-314)
qt4/qsecurelineedit.moc (+0/-269)
qt4/qsecurelineedit_p.h (+0/-256)
qt4/secstring.cpp (+0/-104)
qt4/secstring.h (+0/-40)
secmem/Makefile.am (+2/-4)
secmem/Makefile.in (+146/-101)
secmem/Manifest (+0/-7)
secmem/secmem.c (+4/-0)
tty/Makefile.am (+28/-0)
tty/Makefile.in (+618/-0)
tty/pinentry-tty.c (+257/-0)
w32/Makefile.am (+7/-5)
w32/Makefile.in (+155/-109)
w32/Manifest (+0/-2)
w32/main.c (+66/-8)
w32/pinentry-w32.rc (+19/-8)
w32/resource.h (+9/-2)
To merge this branch: bzr merge lp:~logan/ubuntu/wily/pinentry/0.9.2
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+260092@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded, thanks!

And, BTW: pleeease reconsider attaching debdiffs to a bug. They are so much easier/faster to sponsor.

review: Approve
Revision history for this message
Martin Pitt (pitti) wrote :

My upload was rejected. Seems Iain already uploaded that yesterday without following up here.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.pc/applied-patches'
--- .pc/applied-patches 2014-01-23 22:10:38 +0000
+++ .pc/applied-patches 2015-05-26 02:58:11 +0000
@@ -1,1 +1,5 @@
10001-avoid-self-describing-as-a-beta.patch
20002-curses-app-should-terminate-when-tty-fails.patch
30003-Fix-linking-order-to-work-when-linked-with-as-needed.patch
40004-avoid-implicit-declaration-of-function-addnwstr.patch
1kubuntu_fix_stayontop.diff5kubuntu_fix_stayontop.diff
26
=== modified file '.pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp'
--- .pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp 2014-01-23 22:10:38 +0000
+++ .pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp 2015-05-26 02:58:11 +0000
@@ -45,31 +45,50 @@
45 versions. This is the reason why gpg-agent employs its45 versions. This is the reason why gpg-agent employs its
46 AllowSetForegroundWindow callback machinery to ask the supposed to46 AllowSetForegroundWindow callback machinery to ask the supposed to
47 be be calling process to allow a pinentry to go into the47 be be calling process to allow a pinentry to go into the
48 foreground. */48 foreground.
49// #ifdef Q_WS_WIN49
50// void SetForegroundWindowEx( HWND hWnd )50 [ah] This is a Hack to workaround the fact that Foregrounding
51// {51 a Window is so restricted that it AllowSetForegroundWindow
52// //Attach foreground window thread to our thread52 does not always work (e.g. when the ForegroundWindow timeout
53// const DWORD ForeGroundID = GetWindowThreadProcessId(::GetForegroundWindow(),NULL);53 has not expired.
54// const DWORD CurrentID = GetCurrentThreadId();54 */
55 55#ifdef Q_WS_WIN
56// AttachThreadInput ( ForeGroundID, CurrentID, TRUE );56WINBOOL SetForegroundWindowEx( HWND hWnd )
57// //Do our stuff here57{
58// HWND hLastActivePopupWnd = GetLastActivePopup( hWnd );58 //Attach foreground window thread to our thread
59// SetForegroundWindow( hLastActivePopupWnd );59 const DWORD ForeGroundID = GetWindowThreadProcessId(::GetForegroundWindow(),NULL);
60 60 const DWORD CurrentID = GetCurrentThreadId();
61// //Detach the attached thread61 WINBOOL retval;
62// AttachThreadInput ( ForeGroundID, CurrentID, FALSE );62
63// }// End SetForegroundWindowEx63 AttachThreadInput ( ForeGroundID, CurrentID, TRUE );
64// #endif64 //Do our stuff here
65 HWND hLastActivePopupWnd = GetLastActivePopup( hWnd );
66 retval = SetForegroundWindow( hLastActivePopupWnd );
67
68 //Detach the attached thread
69 AttachThreadInput ( ForeGroundID, CurrentID, FALSE );
70 return retval;
71}// End SetForegroundWindowEx
72#endif
6573
66void raiseWindow( QWidget* w )74void raiseWindow( QWidget* w )
67{75{
68#ifdef Q_WS_WIN76 /* Maybe Qt will become agressive enough one day that
69 SetForegroundWindow( w->winId() );77 * this is enough on windows too*/
70#endif
71 w->raise();78 w->raise();
72 w->activateWindow();79 w->activateWindow();
80#ifdef Q_WS_WIN
81 /* In the meantime we do our own attention grabbing */
82 if (!SetForegroundWindow (w->winId()) &&
83 !SetForegroundWindowEx (w->winId())) {
84 OutputDebugString("SetForegroundWindow (ex) failed");
85 /* Yet another fallback which will not work on some
86 * versions and is not recommended by msdn */
87 if (!ShowWindow (w->winId(), SW_SHOWNORMAL)) {
88 OutputDebugString ("ShowWindow failed.");
89 }
90 }
91#endif
73}92}
7493
75QPixmap icon( QStyle::StandardPixmap which )94QPixmap icon( QStyle::StandardPixmap which )
@@ -198,6 +217,9 @@
198{217{
199 _desc->setVisible( !txt.isEmpty() );218 _desc->setVisible( !txt.isEmpty() );
200 _desc->setText( txt );219 _desc->setText( txt );
220#ifndef QT_NO_ACCESSIBILITY
221 _desc->setAccessibleDescription ( txt );
222#endif
201 _icon->setPixmap( icon() );223 _icon->setPixmap( icon() );
202 setError( QString::null );224 setError( QString::null );
203}225}
@@ -211,6 +233,9 @@
211{233{
212 if( !txt.isNull() )_icon->setPixmap( icon( QStyle::SP_MessageBoxCritical ) );234 if( !txt.isNull() )_icon->setPixmap( icon( QStyle::SP_MessageBoxCritical ) );
213 _error->setText( txt );235 _error->setText( txt );
236#ifndef QT_NO_ACCESSIBILITY
237 _error->setAccessibleDescription ( txt );
238#endif
214 _error->setVisible( !txt.isEmpty() );239 _error->setVisible( !txt.isEmpty() );
215}240}
216241
@@ -243,19 +268,29 @@
243void PinEntryDialog::setOkText( const QString& txt )268void PinEntryDialog::setOkText( const QString& txt )
244{269{
245 _ok->setText( txt );270 _ok->setText( txt );
271#ifndef QT_NO_ACCESSIBILITY
272 _ok->setAccessibleDescription ( txt );
273#endif
246 _ok->setVisible( !txt.isEmpty() );274 _ok->setVisible( !txt.isEmpty() );
247}275}
248276
249void PinEntryDialog::setCancelText( const QString& txt )277void PinEntryDialog::setCancelText( const QString& txt )
250{278{
251 _cancel->setText( txt );279 _cancel->setText( txt );
280#ifndef QT_NO_ACCESSIBILITY
281 _cancel->setAccessibleDescription ( txt );
282#endif
252 _cancel->setVisible( !txt.isEmpty() );283 _cancel->setVisible( !txt.isEmpty() );
253}284}
254285
255void PinEntryDialog::setQualityBar( const QString& txt )286void PinEntryDialog::setQualityBar( const QString& txt )
256{287{
257 if (_have_quality_bar)288 if (_have_quality_bar) {
258 _quality_bar_label->setText( txt );289 _quality_bar_label->setText( txt );
290#ifndef QT_NO_ACCESSIBILITY
291 _quality_bar_label->setAccessibleDescription ( txt );
292#endif
293 }
259}294}
260295
261void PinEntryDialog::setQualityBarTT( const QString& txt )296void PinEntryDialog::setQualityBarTT( const QString& txt )
262297
=== modified file 'AUTHORS'
--- AUTHORS 2007-07-25 00:42:52 +0000
+++ AUTHORS 2015-05-26 02:58:11 +0000
@@ -8,3 +8,4 @@
8Steffen Hansen, Klarälvdalens Datakonsult AB <steffen@klaralvdalens-datakonsult.se>8Steffen Hansen, Klarälvdalens Datakonsult AB <steffen@klaralvdalens-datakonsult.se>
9Marcus Brinkmann, g10 Code GmbH <marcus@g10code.com>9Marcus Brinkmann, g10 Code GmbH <marcus@g10code.com>
10Timo Schulz, g10 Code GmbH10Timo Schulz, g10 Code GmbH
11Neal Walfied, g10 Code GmbH <neal@gnu.org>
1112
=== modified file 'ChangeLog'
--- ChangeLog 2014-01-23 22:10:38 +0000
+++ ChangeLog 2015-05-26 02:58:11 +0000
@@ -1,3 +1,359 @@
12015-05-11 Werner Koch <wk@gnupg.org>
2
3 Release 0.9.2.
4
5 Return better error codes.
6 * assuan/assuan.h (ASSUAN_Too_Short): New
7 (ASSUAN_ENOENT, ASSUAN_ENOTTY): New.
8 * pinentry/pinentry-curses.c: Include assuan.h.
9 (dialog_create, dialog_run): Set specific error codes.
10 * pinentry/pinentry.h (struct pinentry): Add field specific_err.
11 * pinentry/pinentry.c (cmd_getpin): Return specific_err.
12 (cmd_confirm, cmd_message): Ditto.
13
14 curses: Reset tty state on failed dialog creation.
15 * pinentry/pinentry-curses.c (dialog_run): Cleanup on dialog_create
16 error.
17
18 gtk: Use a description string from gpg-agent for libsecret.
19 * pinentry/pinentry.h (struct pinentry): Add field default_pwmngr.
20 * pinentry/pinentry.c (option_handler): Set it.
21 * gtk+-2/pinentry-gtk-2.c (create_window) [HAVE_LIBSECRET]: Use new
22 string.
23
24 gtk: Silence compiler warning.
25
262015-05-07 Neal H. Walfield <neal@gnu.org>
27
28 Don't use asprintf.
29 * pinentry/password-cache.c (keygrip_to_label): Don't use asprintf.
30
31 Improve documentation.
32 * doc/pinentry.texi: Improve description of SETKEYINFO's format.
33
34 Minor documentation cleanups.
35
36 Add support for saving the passphrase with libsecret.
37 * configure.ac (COMMON_CFLAGS): New variable. AC_SUBST it.
38 (COMMON_LIBS): Likewise. AC_SUBST it.
39 (LIBSECRET_CFLAGS): Likewise.
40 (LIBSECRET_LIBS): Likewise.
41 (--enable-libsecret): Add option to enable support for libsecret. If
42 enabled, check for its presense.
43 * pinentry/password-cache.h: New field.
44 * pinentry/password-cache.c: New field.
45 * pinentry/pinentry.h (struct pinentry): Add fields pin_from_cache,
46 allow_external_password_cache, tried_password_cache, keyinfo, and
47 may_cache_password.
48 * pinentry/pinentry.c: Include "password-cache.h".
49 (pinentry): Initialize new fields.
50 (option_handler): Handle the "allow-external-password-cache" option.
51 (cmd_setkeyinfo): Implement it.
52 (cmd_getpin): Read the password from the cache, if appropriate. Save
53 it to the cache, if appropriate.
54 * pinentry/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
55 (LDADD): Add $(COMMON_LIBS).
56 (libpinentry_a_SOURCES): Add password-cache.h
57 password-cache.c.
58 * gtk+-2/pinentry-gtk-2.c (may_save_passphrase_toggled): New function.
59 (create_window): Take additional parameter, the pinentry's context.
60 Update callers.
61 [HAVE_LIBSECRET]: Show a checkbox asking whether the passphrase should
62 be saved.
63 * gtk+-2/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
64 (LDADD): Add $(COMMON_LIBS).
65 * curses/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
66 (LDADD): Add $(COMMON_LIBS).
67 * tty/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
68 (LDADD): Add $(COMMON_LIBS).
69 * doc/pinentry.texi (Protocol): Update documentation. Describe the
70 protocol and provide some justification.
71
722015-05-07 Werner Koch <wk@gnupg.org>
73
74 w32: Do not build gtk pinentry by default.
75 * autogen.rc: Remove obsolete options.
76
772015-05-07 Neal H. Walfield <neal@gnu.org>
78
79 Align secmem_realloc behavior with realloc's.
80 * secmem/secmem.c (secmem_realloc): If passed a NULL pointer, then
81 call secmem_malloc instead of crashing.
82
832015-05-05 Werner Koch <wk@gnupg.org>
84
85 w32: Minor changes to the dialog.
86 * w32/main.c (set_bitmap): New.
87 (dlg_proc): Show error prompt in red.
88 * w32/pinentry-w32.rc: Add icons and chnage dialog.
89 * w32/logo-128.bmp: New.
90 * w32/logo-32.bmp: New.
91 * w32/logo-48.bmp: New.
92 * w32/logo-64.bmp: New.
93 * w32/logo-96.bmp: New.
94
95 pinentry-tty: Fix problem with zero length prompt.
96 * tty/pinentry-tty.c (read_password): Use default prompt also for an
97 empty prompt argument.
98
992015-05-01 Neal H. Walfield <neal@gnu.org>
100
101 Improve documentation.
102 Improve documentation: clean up wording and add some minor
103 improvements to the content.
104
105 Improve comment.
106 * tty/pinentry-tty.c (tty_cmd_handler): Add comment.
107
108 When reading the pin, correctly handle backspace.
109 * tty/pinentry-tty.c (read_password): Handle backspace.
110
111 Improve prompt for pin.
112 * tty/pinentry-tty.c (read_password): Improve prompt for pin.
113
1142015-05-01 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
115
116 fix small memory leak in pinentry-curses.
117 * pinentry/pinentry-curses.c: free internally allocated local string.
118
119 pinentry-tty: make confirm actions work.
120 * tty/pinentry-tty.c: treat the situation where no PIN is requested
121 and one_button is not set as a confirmation prompt.
122
123 pinentry-tty: fix segfault on MESSAGE or CONFIRM.
124 * tty/pinentry-tty.c: avoid prompting for a PIN when one was not asked
125 for.
126
127 pinentry-tty: handle designated tty outside of read_password.
128 * tty/pinentry-tty.c: reorganize, wrapping read_password in tty
129 open/close.
130
1312015-04-16 Yuri D'Elia <wavexx@users.sourceforge.net>
132
133 gtk: Make Escape key work.
134 * gtk+-2/pinentry-gtk-2.c: Include gdk/gdkkeysyms.h.
135 (enter_callback): Pass confirm_value_t to button_clicked.
136 (confirm_button_clicked): Use confirm_value_t cast.
137 (cancel_callback): New.
138 (create_window): Add accelerator for the Escape key.
139
1402015-04-14 Werner Koch <wk@gnupg.org>
141
142 Add stub command SETKEYINFO.
143 * pinentry/pinentry.c (cmd_setkeyinfo): New.
144 (register_commands): Addd command.
145
1462015-03-18 Werner Koch <wk@gnupg.org>
147
148 Release 0.9.1.
149
150 Fix build problems on AIX.
151 * pinentry/pinentry.c: Do not include getopt.h.
152 * pinentry/pinentry-curses.c (dialog_run): Call use_default_colors
153 only with ncurses.
154
155 Update to automake 1.14.
156
1572015-03-17 Werner Koch <wk@gnupg.org>
158
159 Get rid of getopt_long and improve --help output.
160 * pinentry/argparse.c, pinentry/argparse.h: New. Taken from GnuPG
161 master.
162 * pinentry/Makefile.am (libpinentry_a_SOURCES): Add them.
163 * pinentry/pinentry.c: Include argparse.h.
164 (usage): Remove.
165 (my_strusage): New.
166 (pinentry_parse_opts): Rewrite. Do not return a value. Change call
167 callers.
168
169 Use CH type instead of wchar_t for curses.
170 * pinentry/pinentry-curses.c (collect_line): Change second arg to CH.
171 * pinentry/pinentry.c (pinentry_utf8_to_local): Make args const.
172
1732014-12-15 Andre Heinecke <aheinecke@intevation.de>
174
175 qt4: Improve moc handling.
176 * configure.ac: Disable pinentry-qt4 or exit if moc not found.
177 * m4/qt.m4: Look for and prefer moc-qt4.
178 * qt4/Makefile.am: Add moc files to nodist and clean them.
179
180 doc: Update gpl.texi to match version from gcrypt.
181 * doc/gpl.texi: Use version from gcrypt.
182
1832014-12-09 Vicente Olivert Riera <Vincent.Riera@imgtec.com>
184
185 pinentry-qt4: make the accessibility part optional.
186 Check if the Qt libraries have support for QT Accessibility before using
187 it. Otherwise it will raise error like these one:
188
189 main.cpp: In function 'int qt_cmd_handler(pinentry_t)':
190 main.cpp:220:51: error: 'class QAbstractButton' has no member named
191 'setAccessibleDescription'
192
1932014-10-26 Werner Koch <wk@gnupg.org>
194
195 Release 0.9.0.
196
197 gtk: Aboid segv for opaste keys.
198 * gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Disable paste
199 key bindings.
200
201 Remove support form QT3 and GTK+-1.
202 * configure.ac: Remove old qt and gtk+-1 support.
203 * Makefile.am: Ditto.
204
2052014-10-26 Stanislav Ochotnicky <sochotnicky@redhat.com>
206
207 Check if we are on tty before initializing curses.
208 * pinentry/pinentry-curses.c (dialog_run): Check stant stdin and stout
209 are connected to ttys.
210
2112014-10-26 Werner Koch <wk@gnupg.org>
212
213 gtk: Allow pasting using the mouse.
214 * gtk+-2/gtksecentry.h (_GtkSecureEntry): Add fields insert_pos,
215 real_changed, cand change_count.
216 (_GtkSecureEntryClass): Add field paste_clipboard.
217 * gtk+-2/gtksecentry.c (PASTE_CLIPBOARD): New.
218 (gtk_secure_entry_class_init): Set paste_clipboard and create
219 paste-clipboard signal.
220 (gtk_secure_entry_button_press): Call gtk_secure_entry_pase.
221 (begin_change, end_change, emit_changed): New.
222 (gtk_secure_entry_real_insert_text): Use emit_changed.
223 (gtk_secure_entry_real_delete_text): Ditto.
224 (paste_received, gtk_secure_entry_paste)
225 (gtk_secure_entry_paste_clipboard): New.
226
2272014-10-24 Werner Koch <wk@gnupg.org>
228
229 gtk+-2: Make current focus visible again.
230 * gtk+-2/pinentry-gtk-2.c (grab_keyboard): Return false
231 (ungrab_keyboard): Ditto.
232
233 gtk+-2: Implement the SETREPEAT command.
234 * gtk+-2/pinentry-gtk-2.c (repeat_entry, error_label): New.
235 (button_clicked): Implement repeat check.
236 (changed_text_handler): Clear repeat field.
237 (create_window): Add repeat entry.
238
239 Add commands to allow implementing a "repeat passphrase" field.
240 * pinentry/pinentry.c (cmd_setrepeat): New.
241 (cmd_setrepeaterror): New.
242 (register_commands): Add new commands.
243 (cmd_getpin): Print "PIN_REPEATED" status.
244
2452014-09-18 Werner Koch <wk@gnupg.org>
246
247 Release 0.8.4.
248
249 Add missing build support files and move them to build-aux.
250
251 Use generic autogen.sh script.
252 * autogen.rc: New.
253 * autogen.sh: New. Take from GnuPG.
254 * Makefile.am (EXTRA_DIST): Add autogen.rc.
255 (DISTCHECK_CONFIGURE_FLAGS): Disable qt4.
256
2572014-08-12 Werner Koch <wk@gnupg.org>
258
259 common: Fix compiler warning.
260 * pinentry/pinentry.c (pinentry_utf8_to_local): Use cast for iconv arg.
261 (pinentry_local_to_utf8): Ditto.
262
263 New pinentry-tty version for dumb terminals.
264 * Makefile.am: Add pinentry-tty.
265 * NEWS: Add news about pinentry-tty.
266 * README: Update.
267 * configure.ac: Add support for this pinentry.
268 * tty/Makefile.am: New.
269 * tty/pinentry-tty.c: New.
270
2712014-08-06 Andre Heinecke <aheinecke@intevation.de>
272
273 Check for MOC also if pinentry-qt is disabled.
274 * configure.ac: Call QT_PATH_MOC if pinentry_qt4 is not no.
275
276 Add fallbacks for SetForegroundWindow.
277 If that foreground window fails pinentry-qt now tries to
278 attach to the current foreground process and then tries
279 to set the foreground window again. If that fails it also
280 calls ShowWindow as a last resort.
281
282 * qt4/pinentrydialog.cpp (raiseWindow): Add fallbacks in
283 case SetForegroundWindow fails.
284
285 Use raiseWindow also for confirm dialogs.
286 This should fix the case that the dialog opened
287 in the foreground but a warning / confirm dialog
288 opened in the background.
289
290 * qt4/pinentryconfirm.cpp, qt4/pinentryconfirm.h (showEvent):
291 New overwrite base class method to call raiseWindow.
292 * NEWS: Mention this.
293
2942014-07-30 Andre Heinecke <aheinecke@intevation.de>
295
296 Set some accessibility information.
297 * qt4/main.cpp (qt_cmd_handler): Build buttons with accessibile
298 Description.
299 * qt4/pinentrydialog.cpp (setDescription, setError, setOkText)
300 (setCancelText, setQualityBar): Set an accessible description.
301 * qt4/pinentryconfirm.cpp (PinentryConfirm): Set message
302 box contents also as accessible values.
303 * NEWS: Mention it and the copy/paste change from last year.
304
3052013-07-15 Andre Heinecke <aheinecke@intevation.de>
306
307 Lower paste length limit to 300.
308 This should be more then enough and avoids possible problems
309 with libassuan cmd line lenght or percent escaping etc.
310
311 * qt4/qsecurelineedit.cpp (insert): Lower paste limit
312
313 Limit paste length to 1023 characters.
314 * qt4/qsecurelineedit.cpp (insert): Check for a maximum
315 length before allocation the secmem string.
316
317 Fix contextmenu support for pasting.
318 MOC ignores preprocessor definitions so we can not conditionally
319 declare SLOTS. So we now move the ifdefs in the definition and
320 always declare the SLOTS.
321
322 * qt4/qsecurelinedit.cpp (cut, copy, paste): Do nothing if
323 QT_NO_CLIPBOARD is defined.
324 * qt4/qsecurelinedit.h: Always declare cut, copy and paste slots
325
326 Remove check for RTL extensions.
327 Our code does nothing RTL specific there anyway. And the
328 qt_use_rtl_extensions symbol has been removed.
329
330 * qt4/qsecurelinedit.cpp: Remove check for RTL extensions.
331
3322013-07-12 Werner Koch <wk@gnupg.org>
333
334 Fix for commit fb38be9 to allow for "make distcheck".
335 * qt4/Makefile.am: Make correct use of BUILT_SOURCES.
336
3372013-05-29 Andre Heinecke <aheinecke@intevation.de>
338
339 Add pinentry-qt4-clipboard option.
340 Enabling this option will make it possible to paste a
341 passphrase into pinentry-qt4. This defeats the secmem
342 mechanism but drastically increases usability for some
343 users.
344
345 * configure.ac: New option pinentry-qt4-clipboard.
346 * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h: Activate
347 clipboard and context menu if PINENTRY_QT4_CLIPBOARD is defined.
348
349 Remove qt4 moc files and add moc to buildsystem.
350 This is neccessary to conditionally enable signals/slots
351 at build time.
352
353 * qt4/Makefile.am: Moc files automatically.
354 * qt4/pinentryconfirm.moc, qt4/pinentrydialog.moc,
355 qsecurelineedit.moc: Removed.
356
12013-04-26 Werner Koch <wk@gnupg.org>3572013-04-26 Werner Koch <wk@gnupg.org>
2358
3 Release 0.8.3.359 Release 0.8.3.
4360
=== modified file 'Makefile.am'
--- Makefile.am 2014-01-23 22:10:38 +0000
+++ Makefile.am 2015-05-26 02:58:11 +0000
@@ -20,12 +20,11 @@
20## Process this file with automake to produce Makefile.in20## Process this file with automake to produce Makefile.in
2121
22ACLOCAL_AMFLAGS = -I m422ACLOCAL_AMFLAGS = -I m4
23AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip23DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt4
24#DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt4
2524
26GITLOG_TO_CHANGELOG=gitlog-to-changelog25GITLOG_TO_CHANGELOG=gitlog-to-changelog
2726
28EXTRA_DIST = autogen.sh README.GIT ChangeLog-old \27EXTRA_DIST = autogen.sh autogen.rc README.GIT ChangeLog-old \
29 build-aux/gitlog-to-changelog \28 build-aux/gitlog-to-changelog \
30 build-aux/git-log-fix build-aux/git-log-footer29 build-aux/git-log-fix build-aux/git-log-footer
3130
@@ -35,10 +34,10 @@
35pinentry_curses =34pinentry_curses =
36endif35endif
3736
38if BUILD_PINENTRY_GTK37if BUILD_PINENTRY_TTY
39pinentry_gtk = gtk38pinentry_tty = tty
40else39else
41pinentry_gtk =40pinentry_tty =
42endif41endif
4342
44if BUILD_PINENTRY_GTK_243if BUILD_PINENTRY_GTK_2
@@ -47,12 +46,6 @@
47pinentry_gtk_2 =46pinentry_gtk_2 =
48endif47endif
4948
50if BUILD_PINENTRY_QT
51pinentry_qt = qt
52else
53pinentry_qt =
54endif
55
56if BUILD_PINENTRY_QT449if BUILD_PINENTRY_QT4
57pinentry_qt4 = qt450pinentry_qt4 = qt4
58else51else
@@ -65,9 +58,8 @@
65pinentry_w32 =58pinentry_w32 =
66endif59endif
6760
68SUBDIRS = assuan secmem pinentry ${pinentry_curses} \61SUBDIRS = assuan secmem pinentry ${pinentry_curses} ${pinentry_tty} \
69 ${pinentry_gtk} ${pinentry_gtk_2} ${pinentry_qt} ${pinentry_qt4} \62 ${pinentry_gtk_2} ${pinentry_qt4} ${pinentry_w32} doc
70 ${pinentry_w32} doc
7163
7264
73install-exec-local:65install-exec-local:
7466
=== modified file 'Makefile.in'
--- Makefile.in 2014-01-23 22:10:38 +0000
+++ Makefile.in 2015-05-26 02:58:11 +0000
@@ -1,9 +1,8 @@
1# Makefile.in generated by automake 1.11.6 from Makefile.am.1# Makefile.in generated by automake 1.14.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software5
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -34,23 +33,51 @@
34# along with this program; if not, write to the Free Software33# along with this program; if not, write to the Free Software
35# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA34# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
36VPATH = @srcdir@35VPATH = @srcdir@
37am__make_dryrun = \36am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
38 { \37am__make_running_with_option = \
39 am__dry=no; \38 case $${target_option-} in \
39 ?) ;; \
40 *) echo "am__make_running_with_option: internal error: invalid" \
41 "target option '$${target_option-}' specified" >&2; \
42 exit 1;; \
43 esac; \
44 has_opt=no; \
45 sane_makeflags=$$MAKEFLAGS; \
46 if $(am__is_gnu_make); then \
47 sane_makeflags=$$MFLAGS; \
48 else \
40 case $$MAKEFLAGS in \49 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \50 *\\[\ \ ]*) \
42 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \51 bs=\\; \
43 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \52 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 *) \53 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 for am__flg in $$MAKEFLAGS; do \54 esac; \
46 case $$am__flg in \55 fi; \
47 *=*|--*) ;; \56 skip_next=no; \
48 *n*) am__dry=yes; break;; \57 strip_trailopt () \
49 esac; \58 { \
50 done;; \59 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 esac; \60 }; \
52 test $$am__dry = yes; \61 for flg in $$sane_makeflags; do \
53 }62 test $$skip_next = yes && { skip_next=no; continue; }; \
63 case $$flg in \
64 *=*|--*) continue;; \
65 -*I) strip_trailopt 'I'; skip_next=yes;; \
66 -*I?*) strip_trailopt 'I';; \
67 -*O) strip_trailopt 'O'; skip_next=yes;; \
68 -*O?*) strip_trailopt 'O';; \
69 -*l) strip_trailopt 'l'; skip_next=yes;; \
70 -*l?*) strip_trailopt 'l';; \
71 -[dEDm]) skip_next=yes;; \
72 -[JT]) skip_next=yes;; \
73 esac; \
74 case $$flg in \
75 *$$target_option*) has_opt=yes; break;; \
76 esac; \
77 done; \
78 test $$has_opt = yes
79am__make_dryrun = (target_option=n; $(am__make_running_with_option))
80am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
54pkgdatadir = $(datadir)/@PACKAGE@81pkgdatadir = $(datadir)/@PACKAGE@
55pkgincludedir = $(includedir)/@PACKAGE@82pkgincludedir = $(includedir)/@PACKAGE@
56pkglibdir = $(libdir)/@PACKAGE@83pkglibdir = $(libdir)/@PACKAGE@
@@ -70,14 +97,22 @@
70build_triplet = @build@97build_triplet = @build@
71host_triplet = @host@98host_triplet = @host@
72subdir = .99subdir = .
73DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \100DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
74 $(srcdir)/Makefile.in $(srcdir)/config.h.in \101 $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
75 $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \102 $(top_srcdir)/configure $(am__configure_deps) \
76 THANKS TODO config.guess config.rpath config.sub depcomp \103 $(srcdir)/config.h.in COPYING THANKS TODO build-aux/compile \
77 install-sh missing mkinstalldirs104 build-aux/config.guess build-aux/config.rpath \
105 build-aux/config.sub depcomp build-aux/depcomp install-sh \
106 build-aux/install-sh build-aux/mdate-sh missing \
107 build-aux/missing mkinstalldirs build-aux/texinfo.tex \
108 $(top_srcdir)/build-aux/compile \
109 $(top_srcdir)/build-aux/config.guess \
110 $(top_srcdir)/build-aux/config.rpath \
111 $(top_srcdir)/build-aux/config.sub \
112 $(top_srcdir)/build-aux/install-sh \
113 $(top_srcdir)/build-aux/missing
78ACLOCAL_M4 = $(top_srcdir)/aclocal.m4114ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
79am__aclocal_m4_deps = $(top_srcdir)/m4/curses.m4 \115am__aclocal_m4_deps = $(top_srcdir)/m4/curses.m4 \
80 $(top_srcdir)/m4/glib.m4 $(top_srcdir)/m4/gtk.m4 \
81 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/pkg.m4 \116 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/pkg.m4 \
82 $(top_srcdir)/m4/qt.m4 $(top_srcdir)/acinclude.m4 \117 $(top_srcdir)/m4/qt.m4 $(top_srcdir)/acinclude.m4 \
83 $(top_srcdir)/configure.ac118 $(top_srcdir)/configure.ac
@@ -85,19 +120,32 @@
85 $(ACLOCAL_M4)120 $(ACLOCAL_M4)
86am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \121am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
87 configure.lineno config.status.lineno122 configure.lineno config.status.lineno
88mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs123mkinstalldirs = $(install_sh) -d
89CONFIG_HEADER = config.h124CONFIG_HEADER = config.h
90CONFIG_CLEAN_FILES =125CONFIG_CLEAN_FILES =
91CONFIG_CLEAN_VPATH_FILES =126CONFIG_CLEAN_VPATH_FILES =
127AM_V_P = $(am__v_P_@AM_V@)
128am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
129am__v_P_0 = false
130am__v_P_1 = :
131AM_V_GEN = $(am__v_GEN_@AM_V@)
132am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
133am__v_GEN_0 = @echo " GEN " $@;
134am__v_GEN_1 =
135AM_V_at = $(am__v_at_@AM_V@)
136am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
137am__v_at_0 = @
138am__v_at_1 =
92SOURCES =139SOURCES =
93DIST_SOURCES =140DIST_SOURCES =
94RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \141RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
95 html-recursive info-recursive install-data-recursive \142 ctags-recursive dvi-recursive html-recursive info-recursive \
96 install-dvi-recursive install-exec-recursive \143 install-data-recursive install-dvi-recursive \
97 install-html-recursive install-info-recursive \144 install-exec-recursive install-html-recursive \
98 install-pdf-recursive install-ps-recursive install-recursive \145 install-info-recursive install-pdf-recursive \
99 installcheck-recursive installdirs-recursive pdf-recursive \146 install-ps-recursive install-recursive installcheck-recursive \
100 ps-recursive uninstall-recursive147 installdirs-recursive pdf-recursive ps-recursive \
148 tags-recursive uninstall-recursive
101am__can_run_installinfo = \149am__can_run_installinfo = \
102 case $$AM_UPDATE_INFO_DIR in \150 case $$AM_UPDATE_INFO_DIR in \
103 n|no|NO) false;; \151 n|no|NO) false;; \
@@ -105,12 +153,34 @@
105 esac153 esac
106RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \154RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
107 distclean-recursive maintainer-clean-recursive155 distclean-recursive maintainer-clean-recursive
108AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \156am__recursive_targets = \
109 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \157 $(RECURSIVE_TARGETS) \
110 distdir dist dist-all distcheck158 $(RECURSIVE_CLEAN_TARGETS) \
159 $(am__extra_recursive_targets)
160AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
161 cscope distdir dist dist-all distcheck
162am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
163 $(LISP)config.h.in
164# Read a list of newline-separated strings from the standard input,
165# and print each of them once, without duplicates. Input order is
166# *not* preserved.
167am__uniquify_input = $(AWK) '\
168 BEGIN { nonempty = 0; } \
169 { items[$$0] = 1; nonempty = 1; } \
170 END { if (nonempty) { for (i in items) print i; }; } \
171'
172# Make sure the list of sources is unique. This is necessary because,
173# e.g., the same source file might be shared among _SOURCES variables
174# for different programs/libraries.
175am__define_uniq_tagged_files = \
176 list='$(am__tagged_files)'; \
177 unique=`for i in $$list; do \
178 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
179 done | $(am__uniquify_input)`
111ETAGS = etags180ETAGS = etags
112CTAGS = ctags181CTAGS = ctags
113DIST_SUBDIRS = assuan secmem pinentry curses gtk gtk+-2 qt qt4 w32 doc182CSCOPE = cscope
183DIST_SUBDIRS = assuan secmem pinentry curses tty gtk+-2 qt4 w32 doc
114DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)184DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
115distdir = $(PACKAGE)-$(VERSION)185distdir = $(PACKAGE)-$(VERSION)
116top_distdir = $(distdir)186top_distdir = $(distdir)
@@ -120,6 +190,7 @@
120 && rm -rf "$(distdir)" \190 && rm -rf "$(distdir)" \
121 || { sleep 5 && rm -rf "$(distdir)"; }; \191 || { sleep 5 && rm -rf "$(distdir)"; }; \
122 else :; fi192 else :; fi
193am__post_remove_distdir = $(am__remove_distdir)
123am__relativize = \194am__relativize = \
124 dir0=`pwd`; \195 dir0=`pwd`; \
125 sed_first='s,^\([^/]*\)/.*$$,\1,'; \196 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
@@ -147,12 +218,14 @@
147 reldir="$$dir2"218 reldir="$$dir2"
148GZIP_ENV = --best219GZIP_ENV = --best
149DIST_ARCHIVES = $(distdir).tar.bz2220DIST_ARCHIVES = $(distdir).tar.bz2
221DIST_TARGETS = dist-bzip2
150distuninstallcheck_listfiles = find . -type f -print222distuninstallcheck_listfiles = find . -type f -print
151am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \223am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
152 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'224 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
153distcleancheck_listfiles = find . -type f -print225distcleancheck_listfiles = find . -type f -print
154ACLOCAL = @ACLOCAL@226ACLOCAL = @ACLOCAL@
155AMTAR = @AMTAR@227AMTAR = @AMTAR@
228AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
156AUTOCONF = @AUTOCONF@229AUTOCONF = @AUTOCONF@
157AUTOHEADER = @AUTOHEADER@230AUTOHEADER = @AUTOHEADER@
158AUTOMAKE = @AUTOMAKE@231AUTOMAKE = @AUTOMAKE@
@@ -160,10 +233,11 @@
160CC = @CC@233CC = @CC@
161CCDEPMODE = @CCDEPMODE@234CCDEPMODE = @CCDEPMODE@
162CFLAGS = @CFLAGS@235CFLAGS = @CFLAGS@
236COMMON_CFLAGS = @COMMON_CFLAGS@
237COMMON_LIBS = @COMMON_LIBS@
163CPP = @CPP@238CPP = @CPP@
164CPPFLAGS = @CPPFLAGS@239CPPFLAGS = @CPPFLAGS@
165CXX = @CXX@240CXX = @CXX@
166CXXCPP = @CXXCPP@
167CXXDEPMODE = @CXXDEPMODE@241CXXDEPMODE = @CXXDEPMODE@
168CXXFLAGS = @CXXFLAGS@242CXXFLAGS = @CXXFLAGS@
169CYGPATH_W = @CYGPATH_W@243CYGPATH_W = @CYGPATH_W@
@@ -174,17 +248,10 @@
174ECHO_T = @ECHO_T@248ECHO_T = @ECHO_T@
175EGREP = @EGREP@249EGREP = @EGREP@
176EXEEXT = @EXEEXT@250EXEEXT = @EXEEXT@
177#DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt4
178GITLOG_TO_CHANGELOG = gitlog-to-changelog251GITLOG_TO_CHANGELOG = gitlog-to-changelog
179GLIB_CFLAGS = @GLIB_CFLAGS@
180GLIB_CONFIG = @GLIB_CONFIG@
181GLIB_LIBS = @GLIB_LIBS@
182GREP = @GREP@252GREP = @GREP@
183GTK2CFLAGS = @GTK2CFLAGS@253GTK2CFLAGS = @GTK2CFLAGS@
184GTK2LIBS = @GTK2LIBS@254GTK2LIBS = @GTK2LIBS@
185GTK_CFLAGS = @GTK_CFLAGS@
186GTK_CONFIG = @GTK_CONFIG@
187GTK_LIBS = @GTK_LIBS@
188INSTALL = @INSTALL@255INSTALL = @INSTALL@
189INSTALL_DATA = @INSTALL_DATA@256INSTALL_DATA = @INSTALL_DATA@
190INSTALL_PROGRAM = @INSTALL_PROGRAM@257INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -196,10 +263,8 @@
196LIBICONV = @LIBICONV@263LIBICONV = @LIBICONV@
197LIBNCURSES = @LIBNCURSES@264LIBNCURSES = @LIBNCURSES@
198LIBOBJS = @LIBOBJS@265LIBOBJS = @LIBOBJS@
199LIBPTHREAD = @LIBPTHREAD@
200LIBS = @LIBS@266LIBS = @LIBS@
201LIBTERMCAP = @LIBTERMCAP@267LIBTERMCAP = @LIBTERMCAP@
202LIB_QPE = @LIB_QPE@
203LN_S = @LN_S@268LN_S = @LN_S@
204LTLIBICONV = @LTLIBICONV@269LTLIBICONV = @LTLIBICONV@
205LTLIBOBJS = @LTLIBOBJS@270LTLIBOBJS = @LTLIBOBJS@
@@ -223,27 +288,13 @@
223QT4_CORE_LIBS = @QT4_CORE_LIBS@288QT4_CORE_LIBS = @QT4_CORE_LIBS@
224QT4_GUI_CFLAGS = @QT4_GUI_CFLAGS@289QT4_GUI_CFLAGS = @QT4_GUI_CFLAGS@
225QT4_GUI_LIBS = @QT4_GUI_LIBS@290QT4_GUI_LIBS = @QT4_GUI_LIBS@
226QTE_NORTTI = @QTE_NORTTI@
227QT_CXXFLAGS = @QT_CXXFLAGS@
228QT_INCLUDES = @QT_INCLUDES@
229QT_LDFLAGS = @QT_LDFLAGS@
230QT_LIBS = @QT_LIBS@
231QT_MT_LDFLAGS = @QT_MT_LDFLAGS@
232QT_MT_LIBS = @QT_MT_LIBS@
233QT_RPATH = @QT_RPATH@
234RANLIB = @RANLIB@291RANLIB = @RANLIB@
235SETCAP = @SETCAP@292SETCAP = @SETCAP@
236SET_MAKE = @SET_MAKE@293SET_MAKE = @SET_MAKE@
237SHELL = @SHELL@294SHELL = @SHELL@
238STRIP = @STRIP@295STRIP = @STRIP@
239USE_THREADS = @USE_THREADS@
240VERSION = @VERSION@296VERSION = @VERSION@
241WINDRES = @WINDRES@297WINDRES = @WINDRES@
242XMKMF = @XMKMF@
243X_CFLAGS = @X_CFLAGS@
244X_EXTRA_LIBS = @X_EXTRA_LIBS@
245X_LIBS = @X_LIBS@
246X_PRE_LIBS = @X_PRE_LIBS@
247abs_builddir = @abs_builddir@298abs_builddir = @abs_builddir@
248abs_srcdir = @abs_srcdir@299abs_srcdir = @abs_srcdir@
249abs_top_builddir = @abs_top_builddir@300abs_top_builddir = @abs_top_builddir@
@@ -287,8 +338,6 @@
287prefix = @prefix@338prefix = @prefix@
288program_transform_name = @program_transform_name@339program_transform_name = @program_transform_name@
289psdir = @psdir@340psdir = @psdir@
290qt_includes = @qt_includes@
291qt_libraries = @qt_libraries@
292sbindir = @sbindir@341sbindir = @sbindir@
293sharedstatedir = @sharedstatedir@342sharedstatedir = @sharedstatedir@
294srcdir = @srcdir@343srcdir = @srcdir@
@@ -297,28 +346,24 @@
297top_build_prefix = @top_build_prefix@346top_build_prefix = @top_build_prefix@
298top_builddir = @top_builddir@347top_builddir = @top_builddir@
299top_srcdir = @top_srcdir@348top_srcdir = @top_srcdir@
300x_libraries = @x_libraries@
301ACLOCAL_AMFLAGS = -I m4349ACLOCAL_AMFLAGS = -I m4
302AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip350DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt4
303EXTRA_DIST = autogen.sh README.GIT ChangeLog-old \351EXTRA_DIST = autogen.sh autogen.rc README.GIT ChangeLog-old \
304 build-aux/gitlog-to-changelog \352 build-aux/gitlog-to-changelog \
305 build-aux/git-log-fix build-aux/git-log-footer353 build-aux/git-log-fix build-aux/git-log-footer
306354
307@BUILD_PINENTRY_CURSES_FALSE@pinentry_curses = 355@BUILD_PINENTRY_CURSES_FALSE@pinentry_curses =
308@BUILD_PINENTRY_CURSES_TRUE@pinentry_curses = curses356@BUILD_PINENTRY_CURSES_TRUE@pinentry_curses = curses
309@BUILD_PINENTRY_GTK_FALSE@pinentry_gtk = 357@BUILD_PINENTRY_TTY_FALSE@pinentry_tty =
310@BUILD_PINENTRY_GTK_TRUE@pinentry_gtk = gtk358@BUILD_PINENTRY_TTY_TRUE@pinentry_tty = tty
311@BUILD_PINENTRY_GTK_2_FALSE@pinentry_gtk_2 = 359@BUILD_PINENTRY_GTK_2_FALSE@pinentry_gtk_2 =
312@BUILD_PINENTRY_GTK_2_TRUE@pinentry_gtk_2 = gtk+-2360@BUILD_PINENTRY_GTK_2_TRUE@pinentry_gtk_2 = gtk+-2
313@BUILD_PINENTRY_QT_FALSE@pinentry_qt =
314@BUILD_PINENTRY_QT_TRUE@pinentry_qt = qt
315@BUILD_PINENTRY_QT4_FALSE@pinentry_qt4 = 361@BUILD_PINENTRY_QT4_FALSE@pinentry_qt4 =
316@BUILD_PINENTRY_QT4_TRUE@pinentry_qt4 = qt4362@BUILD_PINENTRY_QT4_TRUE@pinentry_qt4 = qt4
317@BUILD_PINENTRY_W32_FALSE@pinentry_w32 = 363@BUILD_PINENTRY_W32_FALSE@pinentry_w32 =
318@BUILD_PINENTRY_W32_TRUE@pinentry_w32 = w32364@BUILD_PINENTRY_W32_TRUE@pinentry_w32 = w32
319SUBDIRS = assuan secmem pinentry ${pinentry_curses} \365SUBDIRS = assuan secmem pinentry ${pinentry_curses} ${pinentry_tty} \
320 ${pinentry_gtk} ${pinentry_gtk_2} ${pinentry_qt} ${pinentry_qt4} \366 ${pinentry_gtk_2} ${pinentry_qt4} ${pinentry_w32} doc
321 ${pinentry_w32} doc
322367
323gen_start_date = 2012-08-08T00:00:00368gen_start_date = 2012-08-08T00:00:00
324all: config.h369all: config.h
@@ -361,8 +406,8 @@
361$(am__aclocal_m4_deps):406$(am__aclocal_m4_deps):
362407
363config.h: stamp-h1408config.h: stamp-h1
364 @if test ! -f $@; then rm -f stamp-h1; else :; fi409 @test -f $@ || rm -f stamp-h1
365 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi410 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
366411
367stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status412stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
368 @rm -f stamp-h1413 @rm -f stamp-h1
@@ -376,22 +421,25 @@
376 -rm -f config.h stamp-h1421 -rm -f config.h stamp-h1
377422
378# This directory's subdirectories are mostly independent; you can cd423# This directory's subdirectories are mostly independent; you can cd
379# into them and run `make' without going through this Makefile.424# into them and run 'make' without going through this Makefile.
380# To change the values of `make' variables: instead of editing Makefiles,425# To change the values of 'make' variables: instead of editing Makefiles,
381# (1) if the variable is set in `config.status', edit `config.status'426# (1) if the variable is set in 'config.status', edit 'config.status'
382# (which will cause the Makefiles to be regenerated when you run `make');427# (which will cause the Makefiles to be regenerated when you run 'make');
383# (2) otherwise, pass the desired values on the `make' command line.428# (2) otherwise, pass the desired values on the 'make' command line.
384$(RECURSIVE_TARGETS):429$(am__recursive_targets):
385 @fail= failcom='exit 1'; \430 @fail=; \
386 for f in x $$MAKEFLAGS; do \431 if $(am__make_keepgoing); then \
387 case $$f in \432 failcom='fail=yes'; \
388 *=* | --[!k]*);; \433 else \
389 *k*) failcom='fail=yes';; \434 failcom='exit 1'; \
390 esac; \435 fi; \
391 done; \
392 dot_seen=no; \436 dot_seen=no; \
393 target=`echo $@ | sed s/-recursive//`; \437 target=`echo $@ | sed s/-recursive//`; \
394 list='$(SUBDIRS)'; for subdir in $$list; do \438 case "$@" in \
439 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
440 *) list='$(SUBDIRS)' ;; \
441 esac; \
442 for subdir in $$list; do \
395 echo "Making $$target in $$subdir"; \443 echo "Making $$target in $$subdir"; \
396 if test "$$subdir" = "."; then \444 if test "$$subdir" = "."; then \
397 dot_seen=yes; \445 dot_seen=yes; \
@@ -406,57 +454,12 @@
406 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \454 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
407 fi; test -z "$$fail"455 fi; test -z "$$fail"
408456
409$(RECURSIVE_CLEAN_TARGETS):457ID: $(am__tagged_files)
410 @fail= failcom='exit 1'; \458 $(am__define_uniq_tagged_files); mkid -fID $$unique
411 for f in x $$MAKEFLAGS; do \459tags: tags-recursive
412 case $$f in \460TAGS: tags
413 *=* | --[!k]*);; \461
414 *k*) failcom='fail=yes';; \462tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
415 esac; \
416 done; \
417 dot_seen=no; \
418 case "$@" in \
419 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
420 *) list='$(SUBDIRS)' ;; \
421 esac; \
422 rev=''; for subdir in $$list; do \
423 if test "$$subdir" = "."; then :; else \
424 rev="$$subdir $$rev"; \
425 fi; \
426 done; \
427 rev="$$rev ."; \
428 target=`echo $@ | sed s/-recursive//`; \
429 for subdir in $$rev; do \
430 echo "Making $$target in $$subdir"; \
431 if test "$$subdir" = "."; then \
432 local_target="$$target-am"; \
433 else \
434 local_target="$$target"; \
435 fi; \
436 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
437 || eval $$failcom; \
438 done && test -z "$$fail"
439tags-recursive:
440 list='$(SUBDIRS)'; for subdir in $$list; do \
441 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
442 done
443ctags-recursive:
444 list='$(SUBDIRS)'; for subdir in $$list; do \
445 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
446 done
447
448ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
449 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
450 unique=`for i in $$list; do \
451 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
452 done | \
453 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
454 END { if (nonempty) { for (i in files) print i; }; }'`; \
455 mkid -fID $$unique
456tags: TAGS
457
458TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
459 $(TAGS_FILES) $(LISP)
460 set x; \463 set x; \
461 here=`pwd`; \464 here=`pwd`; \
462 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \465 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -472,12 +475,7 @@
472 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \475 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
473 fi; \476 fi; \
474 done; \477 done; \
475 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \478 $(am__define_uniq_tagged_files); \
476 unique=`for i in $$list; do \
477 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
478 done | \
479 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
480 END { if (nonempty) { for (i in files) print i; }; }'`; \
481 shift; \479 shift; \
482 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \480 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
483 test -n "$$unique" || unique=$$empty_fix; \481 test -n "$$unique" || unique=$$empty_fix; \
@@ -489,15 +487,11 @@
489 $$unique; \487 $$unique; \
490 fi; \488 fi; \
491 fi489 fi
492ctags: CTAGS490ctags: ctags-recursive
493CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \491
494 $(TAGS_FILES) $(LISP)492CTAGS: ctags
495 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \493ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
496 unique=`for i in $$list; do \494 $(am__define_uniq_tagged_files); \
497 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
498 done | \
499 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
500 END { if (nonempty) { for (i in files) print i; }; }'`; \
501 test -z "$(CTAGS_ARGS)$$unique" \495 test -z "$(CTAGS_ARGS)$$unique" \
502 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \496 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
503 $$unique497 $$unique
@@ -506,9 +500,31 @@
506 here=`$(am__cd) $(top_builddir) && pwd` \500 here=`$(am__cd) $(top_builddir) && pwd` \
507 && $(am__cd) $(top_srcdir) \501 && $(am__cd) $(top_srcdir) \
508 && gtags -i $(GTAGS_ARGS) "$$here"502 && gtags -i $(GTAGS_ARGS) "$$here"
503cscope: cscope.files
504 test ! -s cscope.files \
505 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
506clean-cscope:
507 -rm -f cscope.files
508cscope.files: clean-cscope cscopelist
509cscopelist: cscopelist-recursive
510
511cscopelist-am: $(am__tagged_files)
512 list='$(am__tagged_files)'; \
513 case "$(srcdir)" in \
514 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
515 *) sdir=$(subdir)/$(srcdir) ;; \
516 esac; \
517 for i in $$list; do \
518 if test -f "$$i"; then \
519 echo "$(subdir)/$$i"; \
520 else \
521 echo "$$sdir/$$i"; \
522 fi; \
523 done >> $(top_builddir)/cscope.files
509524
510distclean-tags:525distclean-tags:
511 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags526 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
527 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
512528
513distdir: $(DISTFILES)529distdir: $(DISTFILES)
514 $(am__remove_distdir)530 $(am__remove_distdir)
@@ -579,39 +595,41 @@
579 || chmod -R a+r "$(distdir)"595 || chmod -R a+r "$(distdir)"
580dist-gzip: distdir596dist-gzip: distdir
581 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz597 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
582 $(am__remove_distdir)598 $(am__post_remove_distdir)
583dist-bzip2: distdir599dist-bzip2: distdir
584 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2600 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
585 $(am__remove_distdir)601 $(am__post_remove_distdir)
586602
587dist-lzip: distdir603dist-lzip: distdir
588 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz604 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
589 $(am__remove_distdir)605 $(am__post_remove_distdir)
590
591dist-lzma: distdir
592 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
593 $(am__remove_distdir)
594606
595dist-xz: distdir607dist-xz: distdir
596 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz608 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
597 $(am__remove_distdir)609 $(am__post_remove_distdir)
598610
599dist-tarZ: distdir611dist-tarZ: distdir
612 @echo WARNING: "Support for shar distribution archives is" \
613 "deprecated." >&2
614 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
600 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z615 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
601 $(am__remove_distdir)616 $(am__post_remove_distdir)
602617
603dist-shar: distdir618dist-shar: distdir
619 @echo WARNING: "Support for distribution archives compressed with" \
620 "legacy program 'compress' is deprecated." >&2
621 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
604 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz622 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
605 $(am__remove_distdir)623 $(am__post_remove_distdir)
606624
607dist-zip: distdir625dist-zip: distdir
608 -rm -f $(distdir).zip626 -rm -f $(distdir).zip
609 zip -rq $(distdir).zip $(distdir)627 zip -rq $(distdir).zip $(distdir)
610 $(am__remove_distdir)628 $(am__post_remove_distdir)
611629
612dist dist-all: distdir630dist dist-all:
613 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2631 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
614 $(am__remove_distdir)632 $(am__post_remove_distdir)
615633
616# This target untars the dist file and tries a VPATH configuration. Then634# This target untars the dist file and tries a VPATH configuration. Then
617# it guarantees that the distribution is self-contained by making another635# it guarantees that the distribution is self-contained by making another
@@ -622,8 +640,6 @@
622 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\640 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
623 *.tar.bz2*) \641 *.tar.bz2*) \
624 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\642 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
625 *.tar.lzma*) \
626 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
627 *.tar.lz*) \643 *.tar.lz*) \
628 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\644 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
629 *.tar.xz*) \645 *.tar.xz*) \
@@ -635,18 +651,19 @@
635 *.zip*) \651 *.zip*) \
636 unzip $(distdir).zip ;;\652 unzip $(distdir).zip ;;\
637 esac653 esac
638 chmod -R a-w $(distdir); chmod u+w $(distdir)654 chmod -R a-w $(distdir)
639 mkdir $(distdir)/_build655 chmod u+w $(distdir)
640 mkdir $(distdir)/_inst656 mkdir $(distdir)/_build $(distdir)/_inst
641 chmod a-w $(distdir)657 chmod a-w $(distdir)
642 test -d $(distdir)/_build || exit 0; \658 test -d $(distdir)/_build || exit 0; \
643 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \659 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
644 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \660 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
645 && am__cwd=`pwd` \661 && am__cwd=`pwd` \
646 && $(am__cd) $(distdir)/_build \662 && $(am__cd) $(distdir)/_build \
647 && ../configure --srcdir=.. --prefix="$$dc_install_base" \663 && ../configure \
648 $(AM_DISTCHECK_CONFIGURE_FLAGS) \664 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
649 $(DISTCHECK_CONFIGURE_FLAGS) \665 $(DISTCHECK_CONFIGURE_FLAGS) \
666 --srcdir=.. --prefix="$$dc_install_base" \
650 && $(MAKE) $(AM_MAKEFLAGS) \667 && $(MAKE) $(AM_MAKEFLAGS) \
651 && $(MAKE) $(AM_MAKEFLAGS) dvi \668 && $(MAKE) $(AM_MAKEFLAGS) dvi \
652 && $(MAKE) $(AM_MAKEFLAGS) check \669 && $(MAKE) $(AM_MAKEFLAGS) check \
@@ -669,7 +686,7 @@
669 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \686 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
670 && cd "$$am__cwd" \687 && cd "$$am__cwd" \
671 || exit 1688 || exit 1
672 $(am__remove_distdir)689 $(am__post_remove_distdir)
673 @(echo "$(distdir) archives ready for distribution: "; \690 @(echo "$(distdir) archives ready for distribution: "; \
674 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \691 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
675 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'692 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
@@ -803,13 +820,12 @@
803820
804uninstall-am:821uninstall-am:
805822
806.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \823.MAKE: $(am__recursive_targets) all install-am install-strip
807 ctags-recursive install-am install-strip tags-recursive
808824
809.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \825.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
810 all all-am am--refresh check check-am clean clean-generic \826 am--refresh check check-am clean clean-cscope clean-generic \
811 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \827 cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
812 dist-hook dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \828 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
813 dist-zip distcheck distclean distclean-generic distclean-hdr \829 dist-zip distcheck distclean distclean-generic distclean-hdr \
814 distclean-tags distcleancheck distdir distuninstallcheck dvi \830 distclean-tags distcleancheck distdir distuninstallcheck dvi \
815 dvi-am html html-am info info-am install install-am \831 dvi-am html html-am info info-am install install-am \
@@ -820,7 +836,7 @@
820 install-strip installcheck installcheck-am installdirs \836 install-strip installcheck installcheck-am installdirs \
821 installdirs-am maintainer-clean maintainer-clean-generic \837 installdirs-am maintainer-clean maintainer-clean-generic \
822 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \838 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
823 tags-recursive uninstall uninstall-am839 tags-am uninstall uninstall-am
824840
825841
826install-exec-local:842install-exec-local:
827843
=== modified file 'NEWS'
--- NEWS 2014-01-23 22:10:38 +0000
+++ NEWS 2015-05-26 02:58:11 +0000
@@ -1,3 +1,55 @@
1Noteworthy changes in version 0.9.2 (2015-05-11)
2------------------------------------------------
3
4 * Support for saving the passphrase with libsecret.
5
6 * Escape key works in the Gtk+ pinentry.
7
8 * Improvements for pinentry-tty.
9
10 * Minor cleanups for the native Windows pinentry.
11
12
13Noteworthy changes in version 0.9.1 (2015-03-18)
14------------------------------------------------
15
16 * Fixed build problems for systems without ncurses.
17
18 * Reworked the option parser to allow building on systems without
19 getopt_long.
20
21 * Fixed Qt4 build problems.
22
23
24Noteworthy changes in version 0.9.0 (2014-10-26)
25------------------------------------------------
26
27 * New command SETREPEAT. Currently only supported for Gtk+-2.
28
29 * Gtk+-2: Pasting using the mouse is now supported.
30
31 * curses: Check that it is actually connected to a tty.
32
33 * Removed the old qt-3 and gtk+-1 pinentries.
34
35
36Noteworthy changes in version 0.8.4 (2014-09-18)
37------------------------------------------------
38
39 * New pinentry-tty version for dumb terminals.
40
41 * Qt4: New option to enable pasting the passphrase from clipboard
42
43 * Qt4: Improved accessiblity
44
45 * Qt4: Raise confirm message windows into foreground
46
47 * Qt4 (Windows): Improve the way pinentry-qt raises itself in the
48 foreground.
49
50 * Improved the build system.
51
52
1Noteworthy changes in version 0.8.3 (2013-04-26)53Noteworthy changes in version 0.8.3 (2013-04-26)
2------------------------------------------------54------------------------------------------------
355
456
=== modified file 'README'
--- README 2010-03-18 23:36:51 +0000
+++ README 2015-05-26 02:58:11 +0000
@@ -7,18 +7,16 @@
77
8There are programs for different toolkits available. For all GUIs it8There are programs for different toolkits available. For all GUIs it
9is automatically detected which modules can be built, but it can also9is automatically detected which modules can be built, but it can also
10be requested explicitely.10be requested explicitly.
1111
12GUI OPTION DEPENDENCIES12GUI OPTION DEPENDENCIES
13Curses --enable-pinentry-curses Curses library, for example ncurses13Curses --enable-pinentry-curses Curses library, for example ncurses
14GTK+ V1.2 --enable-pinentry-gtk Gimp Toolkit Library Version 1.2
15 eg. libgtk-1.2 and libglib-1.2
16GTK+ V2.0 --enable-pinentry-gtk2 Gimp Toolkit Library, Version 2.014GTK+ V2.0 --enable-pinentry-gtk2 Gimp Toolkit Library, Version 2.0
17 eg. libgtk-x11-2.0 and libglib-2.015 eg. libgtk-x11-2.0 and libglib-2.0
18Qt --enable-pinentry-qt Qt, eg. libqt or libqt-mt
19Qt4 --enable-pinentry-qt4 Qt416Qt4 --enable-pinentry-qt4 Qt4
17TTY --enable-pinentry-tty Simple TTY version, no dependencies
2018
21The GTK+ and Qt pinentries can fall back to the curses mode. The19The GTK+ and Qt pinentries can fall back to curses mode. The
22option to enable this is --enable-fallback-curses, but this is also20option to enable this is --enable-fallback-curses, but this is also
23detected automatically in the same way --enable-pinentry-curses is.21detected automatically in the same way --enable-pinentry-curses is.
24The fallback to curses also works if --disable-pinentry-curses is22The fallback to curses also works if --disable-pinentry-curses is
@@ -26,13 +24,13 @@
26pass --disable-fallback-curses to the configure script as well.24pass --disable-fallback-curses to the configure script as well.
2725
28Examples:26Examples:
29* To only build the GTK+ 1.2 pinentry with curses support:27* To only build the GTK+ pinentry with curses support:
30./configure --enable-pinentry-gtk --enable-fallback-curses \28./configure --enable-pinentry-gtk2 --enable-fallback-curses \
31 --disable-pinentry-curses --disable-pinentry-qt29 --disable-pinentry-curses --disable-pinentry-qt4
3230
33* To build the Qt pinentry, and the other pinentries if they are31* To build the Qt pinentry, and the other pinentries if they are
34 supported:32 supported:
35./configure --enable-pinentry-qt33./configure --enable-pinentry-qt4
3634
37* To build everything that is supported (complete auto-detection):35* To build everything that is supported (complete auto-detection):
38./configure36./configure
3937
=== modified file 'VERSION'
--- VERSION 2013-12-15 22:01:20 +0000
+++ VERSION 2015-05-26 02:58:11 +0000
@@ -1,1 +1,1 @@
10.8.310.9.2
22
=== modified file 'aclocal.m4'
--- aclocal.m4 2014-01-23 22:10:38 +0000
+++ aclocal.m4 2015-05-26 02:58:11 +0000
@@ -1,8 +1,7 @@
1# generated automatically by aclocal 1.11.6 -*- Autoconf -*-1# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
22
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,3# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,4
5# Inc.
6# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.7# with or without modifications, as long as this notice is preserved.
@@ -12,61 +11,68 @@
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.12# PARTICULAR PURPOSE.
1413
14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15m4_ifndef([AC_AUTOCONF_VERSION],15m4_ifndef([AC_AUTOCONF_VERSION],
16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl16 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18[m4_warning([this file was generated for autoconf 2.69.18[m4_warning([this file was generated for autoconf 2.69.
19You have another version of autoconf. It may work, but is not guaranteed to.19You have another version of autoconf. It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically `autoreconf'.])])21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2222
23# lib-ld.m4 serial 4 (gettext-0.18)23# lib-ld.m4 serial 6
24dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc.24dnl Copyright (C) 1996-2003, 2009-2014 Free Software Foundation, Inc.
25dnl This file is free software; the Free Software Foundation25dnl This file is free software; the Free Software Foundation
26dnl gives unlimited permission to copy and/or distribute it,26dnl gives unlimited permission to copy and/or distribute it,
27dnl with or without modifications, as long as this notice is preserved.27dnl with or without modifications, as long as this notice is preserved.
2828
29dnl Subroutines of libtool.m4,29dnl Subroutines of libtool.m4,
30dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision30dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid
31dnl with libtool.m4.31dnl collision with libtool.m4.
3232
33dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.33dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no.
34AC_DEFUN([AC_LIB_PROG_LD_GNU],34AC_DEFUN([AC_LIB_PROG_LD_GNU],
35[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],35[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
36[# I'd rather use --version here, but apparently some GNU ld's only accept -v.36[# I'd rather use --version here, but apparently some GNU lds only accept -v.
37case `$LD -v 2>&1 </dev/null` in37case `$LD -v 2>&1 </dev/null` in
38*GNU* | *'with BFD'*)38*GNU* | *'with BFD'*)
39 acl_cv_prog_gnu_ld=yes ;;39 acl_cv_prog_gnu_ld=yes
40 ;;
40*)41*)
41 acl_cv_prog_gnu_ld=no ;;42 acl_cv_prog_gnu_ld=no
43 ;;
42esac])44esac])
43with_gnu_ld=$acl_cv_prog_gnu_ld45with_gnu_ld=$acl_cv_prog_gnu_ld
44])46])
4547
46dnl From libtool-1.4. Sets the variable LD.48dnl From libtool-2.4. Sets the variable LD.
47AC_DEFUN([AC_LIB_PROG_LD],49AC_DEFUN([AC_LIB_PROG_LD],
48[AC_ARG_WITH([gnu-ld],50[AC_REQUIRE([AC_PROG_CC])dnl
49[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
50test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
51AC_REQUIRE([AC_PROG_CC])dnl
52AC_REQUIRE([AC_CANONICAL_HOST])dnl51AC_REQUIRE([AC_CANONICAL_HOST])dnl
52
53AC_ARG_WITH([gnu-ld],
54 [AS_HELP_STRING([--with-gnu-ld],
55 [assume the C compiler uses GNU ld [default=no]])],
56 [test "$withval" = no || with_gnu_ld=yes],
57 [with_gnu_ld=no])dnl
58
53# Prepare PATH_SEPARATOR.59# Prepare PATH_SEPARATOR.
54# The user is always right.60# The user is always right.
55if test "${PATH_SEPARATOR+set}" != set; then61if test "${PATH_SEPARATOR+set}" != set; then
56 echo "#! /bin/sh" >conf$$.sh62 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
57 echo "exit 0" >>conf$$.sh63 # contains only /bin. Note that ksh looks also at the FPATH variable,
58 chmod +x conf$$.sh64 # so we have to set that as well for the test.
59 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then65 PATH_SEPARATOR=:
60 PATH_SEPARATOR=';'66 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
61 else67 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
62 PATH_SEPARATOR=:68 || PATH_SEPARATOR=';'
63 fi69 }
64 rm -f conf$$.sh
65fi70fi
71
66ac_prog=ld72ac_prog=ld
67if test "$GCC" = yes; then73if test "$GCC" = yes; then
68 # Check if gcc -print-prog-name=ld gives a path.74 # Check if gcc -print-prog-name=ld gives a path.
69 AC_MSG_CHECKING([for ld used by GCC])75 AC_MSG_CHECKING([for ld used by $CC])
70 case $host in76 case $host in
71 *-*-mingw*)77 *-*-mingw*)
72 # gcc leaves a trailing carriage return which upsets mingw78 # gcc leaves a trailing carriage return which upsets mingw
@@ -76,11 +82,11 @@
76 esac82 esac
77 case $ac_prog in83 case $ac_prog in
78 # Accept absolute paths.84 # Accept absolute paths.
79 [[\\/]* | [A-Za-z]:[\\/]*)]85 [[\\/]]* | ?:[[\\/]]*)
80 [re_direlt='/[^/][^/]*/\.\./']86 re_direlt='/[[^/]][[^/]]*/\.\./'
81 # Canonicalize the path of ld87 # Canonicalize the pathname of ld
82 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`88 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
83 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do89 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
84 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`90 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
85 done91 done
86 test -z "$LD" && LD="$ac_prog"92 test -z "$LD" && LD="$ac_prog"
@@ -101,23 +107,26 @@
101fi107fi
102AC_CACHE_VAL([acl_cv_path_LD],108AC_CACHE_VAL([acl_cv_path_LD],
103[if test -z "$LD"; then109[if test -z "$LD"; then
104 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"110 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
105 for ac_dir in $PATH; do111 for ac_dir in $PATH; do
112 IFS="$acl_save_ifs"
106 test -z "$ac_dir" && ac_dir=.113 test -z "$ac_dir" && ac_dir=.
107 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then114 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
108 acl_cv_path_LD="$ac_dir/$ac_prog"115 acl_cv_path_LD="$ac_dir/$ac_prog"
109 # Check to see if the program is GNU ld. I'd rather use --version,116 # Check to see if the program is GNU ld. I'd rather use --version,
110 # but apparently some GNU ld's only accept -v.117 # but apparently some variants of GNU ld only accept -v.
111 # Break only if it was the GNU/non-GNU ld that we prefer.118 # Break only if it was the GNU/non-GNU ld that we prefer.
112 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in119 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
113 *GNU* | *'with BFD'*)120 *GNU* | *'with BFD'*)
114 test "$with_gnu_ld" != no && break ;;121 test "$with_gnu_ld" != no && break
122 ;;
115 *)123 *)
116 test "$with_gnu_ld" != yes && break ;;124 test "$with_gnu_ld" != yes && break
125 ;;
117 esac126 esac
118 fi127 fi
119 done128 done
120 IFS="$ac_save_ifs"129 IFS="$acl_save_ifs"
121else130else
122 acl_cv_path_LD="$LD" # Let the user override the test with a path.131 acl_cv_path_LD="$LD" # Let the user override the test with a path.
123fi])132fi])
@@ -131,8 +140,8 @@
131AC_LIB_PROG_LD_GNU140AC_LIB_PROG_LD_GNU
132])141])
133142
134# lib-link.m4 serial 21 (gettext-0.18)143# lib-link.m4 serial 26 (gettext-0.18.2)
135dnl Copyright (C) 2001-2010 Free Software Foundation, Inc.144dnl Copyright (C) 2001-2014 Free Software Foundation, Inc.
136dnl This file is free software; the Free Software Foundation145dnl This file is free software; the Free Software Foundation
137dnl gives unlimited permission to copy and/or distribute it,146dnl gives unlimited permission to copy and/or distribute it,
138dnl with or without modifications, as long as this notice is preserved.147dnl with or without modifications, as long as this notice is preserved.
@@ -151,9 +160,9 @@
151[160[
152 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])161 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
153 AC_REQUIRE([AC_LIB_RPATH])162 AC_REQUIRE([AC_LIB_RPATH])
154 pushdef([Name],[translit([$1],[./-], [___])])163 pushdef([Name],[m4_translit([$1],[./+-], [____])])
155 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],164 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
156 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])165 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
157 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [166 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
158 AC_LIB_LINKFLAGS_BODY([$1], [$2])167 AC_LIB_LINKFLAGS_BODY([$1], [$2])
159 ac_cv_lib[]Name[]_libs="$LIB[]NAME"168 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
@@ -191,9 +200,9 @@
191[200[
192 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])201 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
193 AC_REQUIRE([AC_LIB_RPATH])202 AC_REQUIRE([AC_LIB_RPATH])
194 pushdef([Name],[translit([$1],[./-], [___])])203 pushdef([Name],[m4_translit([$1],[./+-], [____])])
195 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],204 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
196 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])205 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
197206
198 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME207 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
199 dnl accordingly.208 dnl accordingly.
@@ -218,7 +227,8 @@
218 *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;227 *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
219 *) LIBS="$LIB[]NAME $LIBS" ;;228 *) LIBS="$LIB[]NAME $LIBS" ;;
220 esac229 esac
221 AC_TRY_LINK([$3], [$4],230 AC_LINK_IFELSE(
231 [AC_LANG_PROGRAM([[$3]], [[$4]])],
222 [ac_cv_lib[]Name=yes],232 [ac_cv_lib[]Name=yes],
223 [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])233 [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
224 LIBS="$ac_save_LIBS"234 LIBS="$ac_save_LIBS"
@@ -248,6 +258,8 @@
248dnl Determine the platform dependent parameters needed to use rpath:258dnl Determine the platform dependent parameters needed to use rpath:
249dnl acl_libext,259dnl acl_libext,
250dnl acl_shlibext,260dnl acl_shlibext,
261dnl acl_libname_spec,
262dnl acl_library_names_spec,
251dnl acl_hardcode_libdir_flag_spec,263dnl acl_hardcode_libdir_flag_spec,
252dnl acl_hardcode_libdir_separator,264dnl acl_hardcode_libdir_separator,
253dnl acl_hardcode_direct,265dnl acl_hardcode_direct,
@@ -290,15 +302,15 @@
290dnl macro call that searches for libname.302dnl macro call that searches for libname.
291AC_DEFUN([AC_LIB_FROMPACKAGE],303AC_DEFUN([AC_LIB_FROMPACKAGE],
292[304[
293 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],305 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
294 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])306 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
295 define([acl_frompackage_]NAME, [$2])307 define([acl_frompackage_]NAME, [$2])
296 popdef([NAME])308 popdef([NAME])
297 pushdef([PACK],[$2])309 pushdef([PACK],[$2])
298 pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],310 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
299 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])311 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
300 define([acl_libsinpackage_]PACKUP,312 define([acl_libsinpackage_]PACKUP,
301 m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1])313 m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
302 popdef([PACKUP])314 popdef([PACKUP])
303 popdef([PACK])315 popdef([PACK])
304])316])
@@ -311,14 +323,14 @@
311AC_DEFUN([AC_LIB_LINKFLAGS_BODY],323AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
312[324[
313 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])325 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
314 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],326 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
315 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])327 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
316 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])328 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
317 pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],329 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
318 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])330 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
319 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])331 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
320 dnl Autoconf >= 2.61 supports dots in --with options.332 dnl Autoconf >= 2.61 supports dots in --with options.
321 pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)])333 pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
322 dnl By default, look in $includedir and $libdir.334 dnl By default, look in $includedir and $libdir.
323 use_additional=yes335 use_additional=yes
324 AC_LIB_WITH_FINAL_PREFIX([336 AC_LIB_WITH_FINAL_PREFIX([
@@ -375,7 +387,7 @@
375 names_already_handled="$names_already_handled $name"387 names_already_handled="$names_already_handled $name"
376 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS388 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
377 dnl or AC_LIB_HAVE_LINKFLAGS call.389 dnl or AC_LIB_HAVE_LINKFLAGS call.
378 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`390 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
379 eval value=\"\$HAVE_LIB$uppername\"391 eval value=\"\$HAVE_LIB$uppername\"
380 if test -n "$value"; then392 if test -n "$value"; then
381 if test "$value" = yes; then393 if test "$value" = yes; then
@@ -907,7 +919,7 @@
907])919])
908920
909# lib-prefix.m4 serial 7 (gettext-0.18)921# lib-prefix.m4 serial 7 (gettext-0.18)
910dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc.922dnl Copyright (C) 2001-2005, 2008-2014 Free Software Foundation, Inc.
911dnl This file is free software; the Free Software Foundation923dnl This file is free software; the Free Software Foundation
912dnl gives unlimited permission to copy and/or distribute it,924dnl gives unlimited permission to copy and/or distribute it,
913dnl with or without modifications, as long as this notice is preserved.925dnl with or without modifications, as long as this notice is preserved.
@@ -1131,25 +1143,22 @@
1131 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"1143 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
1132])1144])
11331145
1134# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software1146# Copyright (C) 2002-2013 Free Software Foundation, Inc.
1135# Foundation, Inc.
1136#1147#
1137# This file is free software; the Free Software Foundation1148# This file is free software; the Free Software Foundation
1138# gives unlimited permission to copy and/or distribute it,1149# gives unlimited permission to copy and/or distribute it,
1139# with or without modifications, as long as this notice is preserved.1150# with or without modifications, as long as this notice is preserved.
11401151
1141# serial 1
1142
1143# AM_AUTOMAKE_VERSION(VERSION)1152# AM_AUTOMAKE_VERSION(VERSION)
1144# ----------------------------1153# ----------------------------
1145# Automake X.Y traces this macro to ensure aclocal.m4 has been1154# Automake X.Y traces this macro to ensure aclocal.m4 has been
1146# generated from the m4 files accompanying Automake X.Y.1155# generated from the m4 files accompanying Automake X.Y.
1147# (This private macro should not be called outside this file.)1156# (This private macro should not be called outside this file.)
1148AC_DEFUN([AM_AUTOMAKE_VERSION],1157AC_DEFUN([AM_AUTOMAKE_VERSION],
1149[am__api_version='1.11'1158[am__api_version='1.14'
1150dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to1159dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1151dnl require some minimum version. Point them to the right macro.1160dnl require some minimum version. Point them to the right macro.
1152m4_if([$1], [1.11.6], [],1161m4_if([$1], [1.14.1], [],
1153 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl1162 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1154])1163])
11551164
@@ -1165,24 +1174,22 @@
1165# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.1174# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1166# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.1175# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
1167AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],1176AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1168[AM_AUTOMAKE_VERSION([1.11.6])dnl1177[AM_AUTOMAKE_VERSION([1.14.1])dnl
1169m4_ifndef([AC_AUTOCONF_VERSION],1178m4_ifndef([AC_AUTOCONF_VERSION],
1170 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl1179 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1171_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])1180_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
11721181
1173# AM_AUX_DIR_EXPAND -*- Autoconf -*-1182# AM_AUX_DIR_EXPAND -*- Autoconf -*-
11741183
1175# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.1184# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1176#1185#
1177# This file is free software; the Free Software Foundation1186# This file is free software; the Free Software Foundation
1178# gives unlimited permission to copy and/or distribute it,1187# gives unlimited permission to copy and/or distribute it,
1179# with or without modifications, as long as this notice is preserved.1188# with or without modifications, as long as this notice is preserved.
11801189
1181# serial 1
1182
1183# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets1190# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1184# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to1191# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
1185# `$srcdir', `$srcdir/..', or `$srcdir/../..'.1192# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
1186#1193#
1187# Of course, Automake must honor this variable whenever it calls a1194# Of course, Automake must honor this variable whenever it calls a
1188# tool from the auxiliary directory. The problem is that $srcdir (and1195# tool from the auxiliary directory. The problem is that $srcdir (and
@@ -1201,7 +1208,7 @@
1201#1208#
1202# The reason of the latter failure is that $top_srcdir and $ac_aux_dir1209# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
1203# are both prefixed by $srcdir. In an in-source build this is usually1210# are both prefixed by $srcdir. In an in-source build this is usually
1204# harmless because $srcdir is `.', but things will broke when you1211# harmless because $srcdir is '.', but things will broke when you
1205# start a VPATH build or use an absolute $srcdir.1212# start a VPATH build or use an absolute $srcdir.
1206#1213#
1207# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,1214# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
@@ -1219,30 +1226,26 @@
1219# configured tree to be moved without reconfiguration.1226# configured tree to be moved without reconfiguration.
12201227
1221AC_DEFUN([AM_AUX_DIR_EXPAND],1228AC_DEFUN([AM_AUX_DIR_EXPAND],
1222[dnl Rely on autoconf to set up CDPATH properly.1229[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
1223AC_PREREQ([2.50])dnl1230# Expand $ac_aux_dir to an absolute path.
1224# expand $ac_aux_dir to an absolute path1231am_aux_dir=`cd "$ac_aux_dir" && pwd`
1225am_aux_dir=`cd $ac_aux_dir && pwd`
1226])1232])
12271233
1228# AM_CONDITIONAL -*- Autoconf -*-1234# AM_CONDITIONAL -*- Autoconf -*-
12291235
1230# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 20081236# Copyright (C) 1997-2013 Free Software Foundation, Inc.
1231# Free Software Foundation, Inc.
1232#1237#
1233# This file is free software; the Free Software Foundation1238# This file is free software; the Free Software Foundation
1234# gives unlimited permission to copy and/or distribute it,1239# gives unlimited permission to copy and/or distribute it,
1235# with or without modifications, as long as this notice is preserved.1240# with or without modifications, as long as this notice is preserved.
12361241
1237# serial 9
1238
1239# AM_CONDITIONAL(NAME, SHELL-CONDITION)1242# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1240# -------------------------------------1243# -------------------------------------
1241# Define a conditional.1244# Define a conditional.
1242AC_DEFUN([AM_CONDITIONAL],1245AC_DEFUN([AM_CONDITIONAL],
1243[AC_PREREQ(2.52)dnl1246[AC_PREREQ([2.52])dnl
1244 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],1247 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1245 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl1248 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1246AC_SUBST([$1_TRUE])dnl1249AC_SUBST([$1_TRUE])dnl
1247AC_SUBST([$1_FALSE])dnl1250AC_SUBST([$1_FALSE])dnl
1248_AM_SUBST_NOTMAKE([$1_TRUE])dnl1251_AM_SUBST_NOTMAKE([$1_TRUE])dnl
@@ -1261,16 +1264,14 @@
1261Usually this means the macro was only invoked conditionally.]])1264Usually this means the macro was only invoked conditionally.]])
1262fi])])1265fi])])
12631266
1264# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,1267# Copyright (C) 1999-2013 Free Software Foundation, Inc.
1265# 2010, 2011 Free Software Foundation, Inc.
1266#1268#
1267# This file is free software; the Free Software Foundation1269# This file is free software; the Free Software Foundation
1268# gives unlimited permission to copy and/or distribute it,1270# gives unlimited permission to copy and/or distribute it,
1269# with or without modifications, as long as this notice is preserved.1271# with or without modifications, as long as this notice is preserved.
12701272
1271# serial 12
12721273
1273# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be1274# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
1274# written in clear, in which case automake, when reading aclocal.m4,1275# written in clear, in which case automake, when reading aclocal.m4,
1275# will think it sees a *use*, and therefore will trigger all it's1276# will think it sees a *use*, and therefore will trigger all it's
1276# C support machinery. Also note that it means that autoscan, seeing1277# C support machinery. Also note that it means that autoscan, seeing
@@ -1280,7 +1281,7 @@
1280# _AM_DEPENDENCIES(NAME)1281# _AM_DEPENDENCIES(NAME)
1281# ----------------------1282# ----------------------
1282# See how the compiler implements dependency checking.1283# See how the compiler implements dependency checking.
1283# NAME is "CC", "CXX", "GCJ", or "OBJC".1284# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
1284# We try a few techniques and use that to set a single cache variable.1285# We try a few techniques and use that to set a single cache variable.
1285#1286#
1286# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was1287# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
@@ -1293,12 +1294,13 @@
1293AC_REQUIRE([AM_MAKE_INCLUDE])dnl1294AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1294AC_REQUIRE([AM_DEP_TRACK])dnl1295AC_REQUIRE([AM_DEP_TRACK])dnl
12951296
1296ifelse([$1], CC, [depcc="$CC" am_compiler_list=],1297m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
1297 [$1], CXX, [depcc="$CXX" am_compiler_list=],1298 [$1], [CXX], [depcc="$CXX" am_compiler_list=],
1298 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],1299 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1299 [$1], UPC, [depcc="$UPC" am_compiler_list=],1300 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
1300 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],1301 [$1], [UPC], [depcc="$UPC" am_compiler_list=],
1301 [depcc="$$1" am_compiler_list=])1302 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1303 [depcc="$$1" am_compiler_list=])
13021304
1303AC_CACHE_CHECK([dependency style of $depcc],1305AC_CACHE_CHECK([dependency style of $depcc],
1304 [am_cv_$1_dependencies_compiler_type],1306 [am_cv_$1_dependencies_compiler_type],
@@ -1306,8 +1308,8 @@
1306 # We make a subdir and do the tests there. Otherwise we can end up1308 # We make a subdir and do the tests there. Otherwise we can end up
1307 # making bogus files that we don't know about and never remove. For1309 # making bogus files that we don't know about and never remove. For
1308 # instance it was reported that on HP-UX the gcc test will end up1310 # instance it was reported that on HP-UX the gcc test will end up
1309 # making a dummy file named `D' -- because `-MD' means `put the output1311 # making a dummy file named 'D' -- because '-MD' means "put the output
1310 # in D'.1312 # in D".
1311 rm -rf conftest.dir1313 rm -rf conftest.dir
1312 mkdir conftest.dir1314 mkdir conftest.dir
1313 # Copy depcomp to subdir because otherwise we won't find it if we're1315 # Copy depcomp to subdir because otherwise we won't find it if we're
@@ -1347,16 +1349,16 @@
1347 : > sub/conftest.c1349 : > sub/conftest.c
1348 for i in 1 2 3 4 5 6; do1350 for i in 1 2 3 4 5 6; do
1349 echo '#include "conftst'$i'.h"' >> sub/conftest.c1351 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1350 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with1352 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
1351 # Solaris 8's {/usr,}/bin/sh.1353 # Solaris 10 /bin/sh.
1352 touch sub/conftst$i.h1354 echo '/* dummy */' > sub/conftst$i.h
1353 done1355 done
1354 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf1356 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13551357
1356 # We check with `-c' and `-o' for the sake of the "dashmstdout"1358 # We check with '-c' and '-o' for the sake of the "dashmstdout"
1357 # mode. It turns out that the SunPro C++ compiler does not properly1359 # mode. It turns out that the SunPro C++ compiler does not properly
1358 # handle `-M -o', and we need to detect this. Also, some Intel1360 # handle '-M -o', and we need to detect this. Also, some Intel
1359 # versions had trouble with output in subdirs1361 # versions had trouble with output in subdirs.
1360 am__obj=sub/conftest.${OBJEXT-o}1362 am__obj=sub/conftest.${OBJEXT-o}
1361 am__minus_obj="-o $am__obj"1363 am__minus_obj="-o $am__obj"
1362 case $depmode in1364 case $depmode in
@@ -1365,8 +1367,8 @@
1365 test "$am__universal" = false || continue1367 test "$am__universal" = false || continue
1366 ;;1368 ;;
1367 nosideeffect)1369 nosideeffect)
1368 # after this tag, mechanisms are not by side-effect, so they'll1370 # After this tag, mechanisms are not by side-effect, so they'll
1369 # only be used when explicitly requested1371 # only be used when explicitly requested.
1370 if test "x$enable_dependency_tracking" = xyes; then1372 if test "x$enable_dependency_tracking" = xyes; then
1371 continue1373 continue
1372 else1374 else
@@ -1374,7 +1376,7 @@
1374 fi1376 fi
1375 ;;1377 ;;
1376 msvc7 | msvc7msys | msvisualcpp | msvcmsys)1378 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1377 # This compiler won't grok `-c -o', but also, the minuso test has1379 # This compiler won't grok '-c -o', but also, the minuso test has
1378 # not run yet. These depmodes are late enough in the game, and1380 # not run yet. These depmodes are late enough in the game, and
1379 # so weak that their functioning should not be impacted.1381 # so weak that their functioning should not be impacted.
1380 am__obj=conftest.${OBJEXT-o}1382 am__obj=conftest.${OBJEXT-o}
@@ -1422,7 +1424,7 @@
1422# AM_SET_DEPDIR1424# AM_SET_DEPDIR
1423# -------------1425# -------------
1424# Choose a directory name for dependency files.1426# Choose a directory name for dependency files.
1425# This macro is AC_REQUIREd in _AM_DEPENDENCIES1427# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
1426AC_DEFUN([AM_SET_DEPDIR],1428AC_DEFUN([AM_SET_DEPDIR],
1427[AC_REQUIRE([AM_SET_LEADING_DOT])dnl1429[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1428AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl1430AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
@@ -1432,9 +1434,13 @@
1432# AM_DEP_TRACK1434# AM_DEP_TRACK
1433# ------------1435# ------------
1434AC_DEFUN([AM_DEP_TRACK],1436AC_DEFUN([AM_DEP_TRACK],
1435[AC_ARG_ENABLE(dependency-tracking,1437[AC_ARG_ENABLE([dependency-tracking], [dnl
1436[ --disable-dependency-tracking speeds up one-time build1438AS_HELP_STRING(
1437 --enable-dependency-tracking do not reject slow dependency extractors])1439 [--enable-dependency-tracking],
1440 [do not reject slow dependency extractors])
1441AS_HELP_STRING(
1442 [--disable-dependency-tracking],
1443 [speeds up one-time build])])
1438if test "x$enable_dependency_tracking" != xno; then1444if test "x$enable_dependency_tracking" != xno; then
1439 am_depcomp="$ac_aux_dir/depcomp"1445 am_depcomp="$ac_aux_dir/depcomp"
1440 AMDEPBACKSLASH='\'1446 AMDEPBACKSLASH='\'
@@ -1449,20 +1455,18 @@
14491455
1450# Generate code to set up dependency tracking. -*- Autoconf -*-1456# Generate code to set up dependency tracking. -*- Autoconf -*-
14511457
1452# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 20081458# Copyright (C) 1999-2013 Free Software Foundation, Inc.
1453# Free Software Foundation, Inc.
1454#1459#
1455# This file is free software; the Free Software Foundation1460# This file is free software; the Free Software Foundation
1456# gives unlimited permission to copy and/or distribute it,1461# gives unlimited permission to copy and/or distribute it,
1457# with or without modifications, as long as this notice is preserved.1462# with or without modifications, as long as this notice is preserved.
14581463
1459#serial 5
14601464
1461# _AM_OUTPUT_DEPENDENCY_COMMANDS1465# _AM_OUTPUT_DEPENDENCY_COMMANDS
1462# ------------------------------1466# ------------------------------
1463AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],1467AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1464[{1468[{
1465 # Autoconf 2.62 quotes --file arguments for eval, but not when files1469 # Older Autoconf quotes --file arguments for eval, but not when files
1466 # are listed without --file. Let's play safe and only enable the eval1470 # are listed without --file. Let's play safe and only enable the eval
1467 # if we detect the quoting.1471 # if we detect the quoting.
1468 case $CONFIG_FILES in1472 case $CONFIG_FILES in
@@ -1475,7 +1479,7 @@
1475 # Strip MF so we end up with the name of the file.1479 # Strip MF so we end up with the name of the file.
1476 mf=`echo "$mf" | sed -e 's/:.*$//'`1480 mf=`echo "$mf" | sed -e 's/:.*$//'`
1477 # Check whether this is an Automake generated Makefile or not.1481 # Check whether this is an Automake generated Makefile or not.
1478 # We used to match only the files named `Makefile.in', but1482 # We used to match only the files named 'Makefile.in', but
1479 # some people rename them; so instead we look at the file content.1483 # some people rename them; so instead we look at the file content.
1480 # Grep'ing the first line is not enough: some people post-process1484 # Grep'ing the first line is not enough: some people post-process
1481 # each Makefile.in and add a new line on top of each file to say so.1485 # each Makefile.in and add a new line on top of each file to say so.
@@ -1487,21 +1491,19 @@
1487 continue1491 continue
1488 fi1492 fi
1489 # Extract the definition of DEPDIR, am__include, and am__quote1493 # Extract the definition of DEPDIR, am__include, and am__quote
1490 # from the Makefile without running `make'.1494 # from the Makefile without running 'make'.
1491 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`1495 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1492 test -z "$DEPDIR" && continue1496 test -z "$DEPDIR" && continue
1493 am__include=`sed -n 's/^am__include = //p' < "$mf"`1497 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1494 test -z "am__include" && continue1498 test -z "$am__include" && continue
1495 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`1499 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1496 # When using ansi2knr, U may be empty or an underscore; expand it
1497 U=`sed -n 's/^U = //p' < "$mf"`
1498 # Find all dependency output files, they are included files with1500 # Find all dependency output files, they are included files with
1499 # $(DEPDIR) in their names. We invoke sed twice because it is the1501 # $(DEPDIR) in their names. We invoke sed twice because it is the
1500 # simplest approach to changing $(DEPDIR) to its actual value in the1502 # simplest approach to changing $(DEPDIR) to its actual value in the
1501 # expansion.1503 # expansion.
1502 for file in `sed -n "1504 for file in `sed -n "
1503 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \1505 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1504 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do1506 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1505 # Make sure the directory exists.1507 # Make sure the directory exists.
1506 test -f "$dirpart/$file" && continue1508 test -f "$dirpart/$file" && continue
1507 fdir=`AS_DIRNAME(["$file"])`1509 fdir=`AS_DIRNAME(["$file"])`
@@ -1519,7 +1521,7 @@
1519# This macro should only be invoked once -- use via AC_REQUIRE.1521# This macro should only be invoked once -- use via AC_REQUIRE.
1520#1522#
1521# This code is only required when automatic dependency tracking1523# This code is only required when automatic dependency tracking
1522# is enabled. FIXME. This creates each `.P' file that we will1524# is enabled. FIXME. This creates each '.P' file that we will
1523# need in order to bootstrap the dependency handling code.1525# need in order to bootstrap the dependency handling code.
1524AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],1526AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
1525[AC_CONFIG_COMMANDS([depfiles],1527[AC_CONFIG_COMMANDS([depfiles],
@@ -1527,32 +1529,23 @@
1527 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])1529 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1528])1530])
15291531
1530# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1531# Free Software Foundation, Inc.
1532#
1533# This file is free software; the Free Software Foundation
1534# gives unlimited permission to copy and/or distribute it,
1535# with or without modifications, as long as this notice is preserved.
1536
1537# serial 8
1538
1539# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
1540AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
1541
1542# Do all the work for Automake. -*- Autoconf -*-1532# Do all the work for Automake. -*- Autoconf -*-
15431533
1544# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,1534# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1545# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1546#1535#
1547# This file is free software; the Free Software Foundation1536# This file is free software; the Free Software Foundation
1548# gives unlimited permission to copy and/or distribute it,1537# gives unlimited permission to copy and/or distribute it,
1549# with or without modifications, as long as this notice is preserved.1538# with or without modifications, as long as this notice is preserved.
15501539
1551# serial 16
1552
1553# This macro actually does too much. Some checks are only needed if1540# This macro actually does too much. Some checks are only needed if
1554# your package does certain things. But this isn't really a big deal.1541# your package does certain things. But this isn't really a big deal.
15551542
1543dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
1544m4_define([AC_PROG_CC],
1545m4_defn([AC_PROG_CC])
1546[_AM_PROG_CC_C_O
1547])
1548
1556# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])1549# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
1557# AM_INIT_AUTOMAKE([OPTIONS])1550# AM_INIT_AUTOMAKE([OPTIONS])
1558# -----------------------------------------------1551# -----------------------------------------------
@@ -1565,7 +1558,7 @@
1565# arguments mandatory, and then we can depend on a new Autoconf1558# arguments mandatory, and then we can depend on a new Autoconf
1566# release and drop the old call support.1559# release and drop the old call support.
1567AC_DEFUN([AM_INIT_AUTOMAKE],1560AC_DEFUN([AM_INIT_AUTOMAKE],
1568[AC_PREREQ([2.62])dnl1561[AC_PREREQ([2.65])dnl
1569dnl Autoconf wants to disallow AM_ names. We explicitly allow1562dnl Autoconf wants to disallow AM_ names. We explicitly allow
1570dnl the ones we care about.1563dnl the ones we care about.
1571m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl1564m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -1594,31 +1587,40 @@
1594# Define the identity of the package.1587# Define the identity of the package.
1595dnl Distinguish between old-style and new-style calls.1588dnl Distinguish between old-style and new-style calls.
1596m4_ifval([$2],1589m4_ifval([$2],
1597[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl1590[AC_DIAGNOSE([obsolete],
1591 [$0: two- and three-arguments forms are deprecated.])
1592m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1598 AC_SUBST([PACKAGE], [$1])dnl1593 AC_SUBST([PACKAGE], [$1])dnl
1599 AC_SUBST([VERSION], [$2])],1594 AC_SUBST([VERSION], [$2])],
1600[_AM_SET_OPTIONS([$1])dnl1595[_AM_SET_OPTIONS([$1])dnl
1601dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.1596dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1602m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,1597m4_if(
1598 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
1599 [ok:ok],,
1603 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl1600 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1604 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl1601 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1605 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl1602 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
16061603
1607_AM_IF_OPTION([no-define],,1604_AM_IF_OPTION([no-define],,
1608[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])1605[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
1609 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl1606 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
16101607
1611# Some tools Automake needs.1608# Some tools Automake needs.
1612AC_REQUIRE([AM_SANITY_CHECK])dnl1609AC_REQUIRE([AM_SANITY_CHECK])dnl
1613AC_REQUIRE([AC_ARG_PROGRAM])dnl1610AC_REQUIRE([AC_ARG_PROGRAM])dnl
1614AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})1611AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
1615AM_MISSING_PROG(AUTOCONF, autoconf)1612AM_MISSING_PROG([AUTOCONF], [autoconf])
1616AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})1613AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
1617AM_MISSING_PROG(AUTOHEADER, autoheader)1614AM_MISSING_PROG([AUTOHEADER], [autoheader])
1618AM_MISSING_PROG(MAKEINFO, makeinfo)1615AM_MISSING_PROG([MAKEINFO], [makeinfo])
1619AC_REQUIRE([AM_PROG_INSTALL_SH])dnl1616AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1620AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl1617AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1621AC_REQUIRE([AM_PROG_MKDIR_P])dnl1618AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1619# For better backward compatibility. To be removed once Automake 1.9.x
1620# dies out for good. For more background, see:
1621# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1622# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1623AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1622# We need awk for the "check" target. The system "awk" is bad on1624# We need awk for the "check" target. The system "awk" is bad on
1623# some platforms.1625# some platforms.
1624AC_REQUIRE([AC_PROG_AWK])dnl1626AC_REQUIRE([AC_PROG_AWK])dnl
@@ -1629,34 +1631,79 @@
1629 [_AM_PROG_TAR([v7])])])1631 [_AM_PROG_TAR([v7])])])
1630_AM_IF_OPTION([no-dependencies],,1632_AM_IF_OPTION([no-dependencies],,
1631[AC_PROVIDE_IFELSE([AC_PROG_CC],1633[AC_PROVIDE_IFELSE([AC_PROG_CC],
1632 [_AM_DEPENDENCIES(CC)],1634 [_AM_DEPENDENCIES([CC])],
1633 [define([AC_PROG_CC],1635 [m4_define([AC_PROG_CC],
1634 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl1636 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
1635AC_PROVIDE_IFELSE([AC_PROG_CXX],1637AC_PROVIDE_IFELSE([AC_PROG_CXX],
1636 [_AM_DEPENDENCIES(CXX)],1638 [_AM_DEPENDENCIES([CXX])],
1637 [define([AC_PROG_CXX],1639 [m4_define([AC_PROG_CXX],
1638 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl1640 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
1639AC_PROVIDE_IFELSE([AC_PROG_OBJC],1641AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1640 [_AM_DEPENDENCIES(OBJC)],1642 [_AM_DEPENDENCIES([OBJC])],
1641 [define([AC_PROG_OBJC],1643 [m4_define([AC_PROG_OBJC],
1642 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl1644 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
1645AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
1646 [_AM_DEPENDENCIES([OBJCXX])],
1647 [m4_define([AC_PROG_OBJCXX],
1648 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
1643])1649])
1644_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl1650AC_REQUIRE([AM_SILENT_RULES])dnl
1645dnl The `parallel-tests' driver may need to know about EXEEXT, so add the1651dnl The testsuite driver may need to know about EXEEXT, so add the
1646dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro1652dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
1647dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.1653dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
1648AC_CONFIG_COMMANDS_PRE(dnl1654AC_CONFIG_COMMANDS_PRE(dnl
1649[m4_provide_if([_AM_COMPILER_EXEEXT],1655[m4_provide_if([_AM_COMPILER_EXEEXT],
1650 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl1656 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1657
1658# POSIX will say in a future version that running "rm -f" with no argument
1659# is OK; and we want to be able to make that assumption in our Makefile
1660# recipes. So use an aggressive probe to check that the usage we want is
1661# actually supported "in the wild" to an acceptable degree.
1662# See automake bug#10828.
1663# To make any issue more visible, cause the running configure to be aborted
1664# by default if the 'rm' program in use doesn't match our expectations; the
1665# user can still override this though.
1666if rm -f && rm -fr && rm -rf; then : OK; else
1667 cat >&2 <<'END'
1668Oops!
1669
1670Your 'rm' program seems unable to run without file operands specified
1671on the command line, even when the '-f' option is present. This is contrary
1672to the behaviour of most rm programs out there, and not conforming with
1673the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1674
1675Please tell bug-automake@gnu.org about your system, including the value
1676of your $PATH and any error possibly output before this message. This
1677can help us improve future automake versions.
1678
1679END
1680 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1681 echo 'Configuration will proceed anyway, since you have set the' >&2
1682 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1683 echo >&2
1684 else
1685 cat >&2 <<'END'
1686Aborting the configuration process, to ensure you take notice of the issue.
1687
1688You can download and install GNU coreutils to get an 'rm' implementation
1689that behaves properly: <http://www.gnu.org/software/coreutils/>.
1690
1691If you want to complete the configuration process using your problematic
1692'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1693to "yes", and re-run configure.
1694
1695END
1696 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1697 fi
1698fi
1651])1699])
16521700
1653dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not1701dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1654dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further1702dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1655dnl mangled by Autoconf and run in a shell conditional statement.1703dnl mangled by Autoconf and run in a shell conditional statement.
1656m4_define([_AC_COMPILER_EXEEXT],1704m4_define([_AC_COMPILER_EXEEXT],
1657m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])1705m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
16581706
1659
1660# When config.status generates a header, we must update the stamp-h file.1707# When config.status generates a header, we must update the stamp-h file.
1661# This file resides in the same directory as the config header1708# This file resides in the same directory as the config header
1662# that is generated. The stamp files are numbered to have different names.1709# that is generated. The stamp files are numbered to have different names.
@@ -1678,15 +1725,12 @@
1678done1725done
1679echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])1726echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
16801727
1681# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,1728# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1682# Inc.
1683#1729#
1684# This file is free software; the Free Software Foundation1730# This file is free software; the Free Software Foundation
1685# gives unlimited permission to copy and/or distribute it,1731# gives unlimited permission to copy and/or distribute it,
1686# with or without modifications, as long as this notice is preserved.1732# with or without modifications, as long as this notice is preserved.
16871733
1688# serial 1
1689
1690# AM_PROG_INSTALL_SH1734# AM_PROG_INSTALL_SH
1691# ------------------1735# ------------------
1692# Define $install_sh.1736# Define $install_sh.
@@ -1700,16 +1744,14 @@
1700 install_sh="\${SHELL} $am_aux_dir/install-sh"1744 install_sh="\${SHELL} $am_aux_dir/install-sh"
1701 esac1745 esac
1702fi1746fi
1703AC_SUBST(install_sh)])1747AC_SUBST([install_sh])])
17041748
1705# Copyright (C) 2003, 2005 Free Software Foundation, Inc.1749# Copyright (C) 2003-2013 Free Software Foundation, Inc.
1706#1750#
1707# This file is free software; the Free Software Foundation1751# This file is free software; the Free Software Foundation
1708# gives unlimited permission to copy and/or distribute it,1752# gives unlimited permission to copy and/or distribute it,
1709# with or without modifications, as long as this notice is preserved.1753# with or without modifications, as long as this notice is preserved.
17101754
1711# serial 2
1712
1713# Check whether the underlying file-system supports filenames1755# Check whether the underlying file-system supports filenames
1714# with a leading dot. For instance MS-DOS doesn't.1756# with a leading dot. For instance MS-DOS doesn't.
1715AC_DEFUN([AM_SET_LEADING_DOT],1757AC_DEFUN([AM_SET_LEADING_DOT],
@@ -1726,20 +1768,17 @@
1726# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-1768# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1727# From Jim Meyering1769# From Jim Meyering
17281770
1729# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,1771# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1730# 2011 Free Software Foundation, Inc.
1731#1772#
1732# This file is free software; the Free Software Foundation1773# This file is free software; the Free Software Foundation
1733# gives unlimited permission to copy and/or distribute it,1774# gives unlimited permission to copy and/or distribute it,
1734# with or without modifications, as long as this notice is preserved.1775# with or without modifications, as long as this notice is preserved.
17351776
1736# serial 5
1737
1738# AM_MAINTAINER_MODE([DEFAULT-MODE])1777# AM_MAINTAINER_MODE([DEFAULT-MODE])
1739# ----------------------------------1778# ----------------------------------
1740# Control maintainer-specific portions of Makefiles.1779# Control maintainer-specific portions of Makefiles.
1741# Default is to disable them, unless `enable' is passed literally.1780# Default is to disable them, unless 'enable' is passed literally.
1742# For symmetry, `disable' may be passed as well. Anyway, the user1781# For symmetry, 'disable' may be passed as well. Anyway, the user
1743# can override the default with the --enable/--disable switch.1782# can override the default with the --enable/--disable switch.
1744AC_DEFUN([AM_MAINTAINER_MODE],1783AC_DEFUN([AM_MAINTAINER_MODE],
1745[m4_case(m4_default([$1], [disable]),1784[m4_case(m4_default([$1], [disable]),
@@ -1750,10 +1789,11 @@
1750AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])1789AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1751 dnl maintainer-mode's default is 'disable' unless 'enable' is passed1790 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1752 AC_ARG_ENABLE([maintainer-mode],1791 AC_ARG_ENABLE([maintainer-mode],
1753[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful1792 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
1754 (and sometimes confusing) to the casual installer],1793 am_maintainer_other[ make rules and dependencies not useful
1755 [USE_MAINTAINER_MODE=$enableval],1794 (and sometimes confusing) to the casual installer])],
1756 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))1795 [USE_MAINTAINER_MODE=$enableval],
1796 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1757 AC_MSG_RESULT([$USE_MAINTAINER_MODE])1797 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1758 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])1798 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1759 MAINT=$MAINTAINER_MODE_TRUE1799 MAINT=$MAINTAINER_MODE_TRUE
@@ -1761,18 +1801,14 @@
1761]1801]
1762)1802)
17631803
1764AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
1765
1766# Check to see how 'make' treats includes. -*- Autoconf -*-1804# Check to see how 'make' treats includes. -*- Autoconf -*-
17671805
1768# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.1806# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1769#1807#
1770# This file is free software; the Free Software Foundation1808# This file is free software; the Free Software Foundation
1771# gives unlimited permission to copy and/or distribute it,1809# gives unlimited permission to copy and/or distribute it,
1772# with or without modifications, as long as this notice is preserved.1810# with or without modifications, as long as this notice is preserved.
17731811
1774# serial 4
1775
1776# AM_MAKE_INCLUDE()1812# AM_MAKE_INCLUDE()
1777# -----------------1813# -----------------
1778# Check to see how make treats includes.1814# Check to see how make treats includes.
@@ -1790,7 +1826,7 @@
1790_am_result=none1826_am_result=none
1791# First try GNU make style include.1827# First try GNU make style include.
1792echo "include confinc" > confmf1828echo "include confinc" > confmf
1793# Ignore all kinds of additional output from `make'.1829# Ignore all kinds of additional output from 'make'.
1794case `$am_make -s -f confmf 2> /dev/null` in #(1830case `$am_make -s -f confmf 2> /dev/null` in #(
1795*the\ am__doit\ target*)1831*the\ am__doit\ target*)
1796 am__include=include1832 am__include=include
@@ -1817,15 +1853,12 @@
18171853
1818# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-1854# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
18191855
1820# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 20081856# Copyright (C) 1997-2013 Free Software Foundation, Inc.
1821# Free Software Foundation, Inc.
1822#1857#
1823# This file is free software; the Free Software Foundation1858# This file is free software; the Free Software Foundation
1824# gives unlimited permission to copy and/or distribute it,1859# gives unlimited permission to copy and/or distribute it,
1825# with or without modifications, as long as this notice is preserved.1860# with or without modifications, as long as this notice is preserved.
18261861
1827# serial 6
1828
1829# AM_MISSING_PROG(NAME, PROGRAM)1862# AM_MISSING_PROG(NAME, PROGRAM)
1830# ------------------------------1863# ------------------------------
1831AC_DEFUN([AM_MISSING_PROG],1864AC_DEFUN([AM_MISSING_PROG],
@@ -1833,11 +1866,10 @@
1833$1=${$1-"${am_missing_run}$2"}1866$1=${$1-"${am_missing_run}$2"}
1834AC_SUBST($1)])1867AC_SUBST($1)])
18351868
1836
1837# AM_MISSING_HAS_RUN1869# AM_MISSING_HAS_RUN
1838# ------------------1870# ------------------
1839# Define MISSING if not defined so far and test if it supports --run.1871# Define MISSING if not defined so far and test if it is modern enough.
1840# If it does, set am_missing_run to use it, otherwise, to nothing.1872# If it is, set am_missing_run to use it, otherwise, to nothing.
1841AC_DEFUN([AM_MISSING_HAS_RUN],1873AC_DEFUN([AM_MISSING_HAS_RUN],
1842[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl1874[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1843AC_REQUIRE_AUX_FILE([missing])dnl1875AC_REQUIRE_AUX_FILE([missing])dnl
@@ -1850,54 +1882,51 @@
1850 esac1882 esac
1851fi1883fi
1852# Use eval to expand $SHELL1884# Use eval to expand $SHELL
1853if eval "$MISSING --run true"; then1885if eval "$MISSING --is-lightweight"; then
1854 am_missing_run="$MISSING --run "1886 am_missing_run="$MISSING "
1855else1887else
1856 am_missing_run=1888 am_missing_run=
1857 AC_MSG_WARN([`missing' script is too old or missing])1889 AC_MSG_WARN(['missing' script is too old or missing])
1858fi1890fi
1859])1891])
18601892
1861# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,1893# -*- Autoconf -*-
1862# Inc.1894# Obsolete and "removed" macros, that must however still report explicit
1895# error messages when used, to smooth transition.
1896#
1897# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1863#1898#
1864# This file is free software; the Free Software Foundation1899# This file is free software; the Free Software Foundation
1865# gives unlimited permission to copy and/or distribute it,1900# gives unlimited permission to copy and/or distribute it,
1866# with or without modifications, as long as this notice is preserved.1901# with or without modifications, as long as this notice is preserved.
18671902
1868# serial 11903AC_DEFUN([AM_CONFIG_HEADER],
18691904[AC_DIAGNOSE([obsolete],
1870# AM_PROG_MKDIR_P1905['$0': this macro is obsolete.
1871# ---------------1906You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
1872# Check for `mkdir -p'.1907AC_CONFIG_HEADERS($@)])
1873AC_DEFUN([AM_PROG_MKDIR_P],1908
1874[AC_PREREQ([2.60])dnl1909AC_DEFUN([AM_PROG_CC_STDC],
1875AC_REQUIRE([AC_PROG_MKDIR_P])dnl1910[AC_PROG_CC
1876dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,1911am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
1877dnl while keeping a definition of mkdir_p for backward compatibility.1912AC_DIAGNOSE([obsolete],
1878dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.1913['$0': this macro is obsolete.
1879dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of1914You should simply use the 'AC][_PROG_CC' macro instead.
1880dnl Makefile.ins that do not define MKDIR_P, so we do our own1915Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
1881dnl adjustment using top_builddir (which is defined more often than1916but upon 'ac_cv_prog_cc_stdc'.])])
1882dnl MKDIR_P).1917
1883AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl1918AC_DEFUN([AM_C_PROTOTYPES],
1884case $mkdir_p in1919 [AC_FATAL([automatic de-ANSI-fication support has been removed])])
1885 [[\\/$]]* | ?:[[\\/]]*) ;;1920AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
1886 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1887esac
1888])
18891921
1890# Helper functions for option handling. -*- Autoconf -*-1922# Helper functions for option handling. -*- Autoconf -*-
18911923
1892# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software1924# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1893# Foundation, Inc.
1894#1925#
1895# This file is free software; the Free Software Foundation1926# This file is free software; the Free Software Foundation
1896# gives unlimited permission to copy and/or distribute it,1927# gives unlimited permission to copy and/or distribute it,
1897# with or without modifications, as long as this notice is preserved.1928# with or without modifications, as long as this notice is preserved.
18981929
1899# serial 5
1900
1901# _AM_MANGLE_OPTION(NAME)1930# _AM_MANGLE_OPTION(NAME)
1902# -----------------------1931# -----------------------
1903AC_DEFUN([_AM_MANGLE_OPTION],1932AC_DEFUN([_AM_MANGLE_OPTION],
@@ -1907,7 +1936,7 @@
1907# --------------------1936# --------------------
1908# Set option NAME. Presently that only means defining a flag for this option.1937# Set option NAME. Presently that only means defining a flag for this option.
1909AC_DEFUN([_AM_SET_OPTION],1938AC_DEFUN([_AM_SET_OPTION],
1910[m4_define(_AM_MANGLE_OPTION([$1]), 1)])1939[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
19111940
1912# _AM_SET_OPTIONS(OPTIONS)1941# _AM_SET_OPTIONS(OPTIONS)
1913# ------------------------1942# ------------------------
@@ -1921,24 +1950,82 @@
1921AC_DEFUN([_AM_IF_OPTION],1950AC_DEFUN([_AM_IF_OPTION],
1922[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])1951[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
19231952
1953# Copyright (C) 1999-2013 Free Software Foundation, Inc.
1954#
1955# This file is free software; the Free Software Foundation
1956# gives unlimited permission to copy and/or distribute it,
1957# with or without modifications, as long as this notice is preserved.
1958
1959# _AM_PROG_CC_C_O
1960# ---------------
1961# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1962# to automatically call this.
1963AC_DEFUN([_AM_PROG_CC_C_O],
1964[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1965AC_REQUIRE_AUX_FILE([compile])dnl
1966AC_LANG_PUSH([C])dnl
1967AC_CACHE_CHECK(
1968 [whether $CC understands -c and -o together],
1969 [am_cv_prog_cc_c_o],
1970 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1971 # Make sure it works both with $CC and with simple cc.
1972 # Following AC_PROG_CC_C_O, we do the test twice because some
1973 # compilers refuse to overwrite an existing .o file with -o,
1974 # though they will create one.
1975 am_cv_prog_cc_c_o=yes
1976 for am_i in 1 2; do
1977 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1978 && test -f conftest2.$ac_objext; then
1979 : OK
1980 else
1981 am_cv_prog_cc_c_o=no
1982 break
1983 fi
1984 done
1985 rm -f core conftest*
1986 unset am_i])
1987if test "$am_cv_prog_cc_c_o" != yes; then
1988 # Losing compiler, so override with the script.
1989 # FIXME: It is wrong to rewrite CC.
1990 # But if we don't then we get into trouble of one sort or another.
1991 # A longer-term fix would be to have automake use am__CC in this case,
1992 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1993 CC="$am_aux_dir/compile $CC"
1994fi
1995AC_LANG_POP([C])])
1996
1997# For backward compatibility.
1998AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1999
2000# Copyright (C) 2001-2013 Free Software Foundation, Inc.
2001#
2002# This file is free software; the Free Software Foundation
2003# gives unlimited permission to copy and/or distribute it,
2004# with or without modifications, as long as this notice is preserved.
2005
2006# AM_RUN_LOG(COMMAND)
2007# -------------------
2008# Run COMMAND, save the exit status in ac_status, and log it.
2009# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
2010AC_DEFUN([AM_RUN_LOG],
2011[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
2012 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
2013 ac_status=$?
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2015 (exit $ac_status); }])
2016
1924# Check to make sure that the build environment is sane. -*- Autoconf -*-2017# Check to make sure that the build environment is sane. -*- Autoconf -*-
19252018
1926# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 20082019# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1927# Free Software Foundation, Inc.
1928#2020#
1929# This file is free software; the Free Software Foundation2021# This file is free software; the Free Software Foundation
1930# gives unlimited permission to copy and/or distribute it,2022# gives unlimited permission to copy and/or distribute it,
1931# with or without modifications, as long as this notice is preserved.2023# with or without modifications, as long as this notice is preserved.
19322024
1933# serial 5
1934
1935# AM_SANITY_CHECK2025# AM_SANITY_CHECK
1936# ---------------2026# ---------------
1937AC_DEFUN([AM_SANITY_CHECK],2027AC_DEFUN([AM_SANITY_CHECK],
1938[AC_MSG_CHECKING([whether build environment is sane])2028[AC_MSG_CHECKING([whether build environment is sane])
1939# Just in case
1940sleep 1
1941echo timestamp > conftest.file
1942# Reject unsafe characters in $srcdir or the absolute working directory2029# Reject unsafe characters in $srcdir or the absolute working directory
1943# name. Accept space and tab only in the latter.2030# name. Accept space and tab only in the latter.
1944am_lf='2031am_lf='
@@ -1949,32 +2036,40 @@
1949esac2036esac
1950case $srcdir in2037case $srcdir in
1951 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)2038 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1952 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;2039 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
1953esac2040esac
19542041
1955# Do `set' in a subshell so we don't clobber the current shell's2042# Do 'set' in a subshell so we don't clobber the current shell's
1956# arguments. Must try -L first in case configure is actually a2043# arguments. Must try -L first in case configure is actually a
1957# symlink; some systems play weird games with the mod time of symlinks2044# symlink; some systems play weird games with the mod time of symlinks
1958# (eg FreeBSD returns the mod time of the symlink's containing2045# (eg FreeBSD returns the mod time of the symlink's containing
1959# directory).2046# directory).
1960if (2047if (
1961 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`2048 am_has_slept=no
1962 if test "$[*]" = "X"; then2049 for am_try in 1 2; do
1963 # -L didn't work.2050 echo "timestamp, slept: $am_has_slept" > conftest.file
1964 set X `ls -t "$srcdir/configure" conftest.file`2051 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1965 fi2052 if test "$[*]" = "X"; then
1966 rm -f conftest.file2053 # -L didn't work.
1967 if test "$[*]" != "X $srcdir/configure conftest.file" \2054 set X `ls -t "$srcdir/configure" conftest.file`
1968 && test "$[*]" != "X conftest.file $srcdir/configure"; then2055 fi
19692056 if test "$[*]" != "X $srcdir/configure conftest.file" \
1970 # If neither matched, then we have a broken ls. This can happen2057 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1971 # if, for instance, CONFIG_SHELL is bash and it inherits a2058
1972 # broken ls alias from the environment. This has actually2059 # If neither matched, then we have a broken ls. This can happen
1973 # happened. Such a system could not be considered "sane".2060 # if, for instance, CONFIG_SHELL is bash and it inherits a
1974 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken2061 # broken ls alias from the environment. This has actually
1975alias in your environment])2062 # happened. Such a system could not be considered "sane".
1976 fi2063 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
19772064 alias in your environment])
2065 fi
2066 if test "$[2]" = conftest.file || test $am_try -eq 2; then
2067 break
2068 fi
2069 # Just in case.
2070 sleep 1
2071 am_has_slept=yes
2072 done
1978 test "$[2]" = conftest.file2073 test "$[2]" = conftest.file
1979 )2074 )
1980then2075then
@@ -1984,46 +2079,118 @@
1984 AC_MSG_ERROR([newly created file is older than distributed files!2079 AC_MSG_ERROR([newly created file is older than distributed files!
1985Check your system clock])2080Check your system clock])
1986fi2081fi
1987AC_MSG_RESULT(yes)])2082AC_MSG_RESULT([yes])
19882083# If we didn't sleep, we still need to ensure time stamps of config.status and
1989# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.2084# generated files are strictly newer.
1990#2085am_sleep_pid=
1991# This file is free software; the Free Software Foundation2086if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1992# gives unlimited permission to copy and/or distribute it,2087 ( sleep 1 ) &
1993# with or without modifications, as long as this notice is preserved.2088 am_sleep_pid=$!
19942089fi
1995# serial 12090AC_CONFIG_COMMANDS_PRE(
2091 [AC_MSG_CHECKING([that generated files are newer than configure])
2092 if test -n "$am_sleep_pid"; then
2093 # Hide warnings about reused PIDs.
2094 wait $am_sleep_pid 2>/dev/null
2095 fi
2096 AC_MSG_RESULT([done])])
2097rm -f conftest.file
2098])
2099
2100# Copyright (C) 2009-2013 Free Software Foundation, Inc.
2101#
2102# This file is free software; the Free Software Foundation
2103# gives unlimited permission to copy and/or distribute it,
2104# with or without modifications, as long as this notice is preserved.
2105
2106# AM_SILENT_RULES([DEFAULT])
2107# --------------------------
2108# Enable less verbose build rules; with the default set to DEFAULT
2109# ("yes" being less verbose, "no" or empty being verbose).
2110AC_DEFUN([AM_SILENT_RULES],
2111[AC_ARG_ENABLE([silent-rules], [dnl
2112AS_HELP_STRING(
2113 [--enable-silent-rules],
2114 [less verbose build output (undo: "make V=1")])
2115AS_HELP_STRING(
2116 [--disable-silent-rules],
2117 [verbose build output (undo: "make V=0")])dnl
2118])
2119case $enable_silent_rules in @%:@ (((
2120 yes) AM_DEFAULT_VERBOSITY=0;;
2121 no) AM_DEFAULT_VERBOSITY=1;;
2122 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
2123esac
2124dnl
2125dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
2126dnl do not support nested variable expansions.
2127dnl See automake bug#9928 and bug#10237.
2128am_make=${MAKE-make}
2129AC_CACHE_CHECK([whether $am_make supports nested variables],
2130 [am_cv_make_support_nested_variables],
2131 [if AS_ECHO([['TRUE=$(BAR$(V))
2132BAR0=false
2133BAR1=true
2134V=1
2135am__doit:
2136 @$(TRUE)
2137.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
2138 am_cv_make_support_nested_variables=yes
2139else
2140 am_cv_make_support_nested_variables=no
2141fi])
2142if test $am_cv_make_support_nested_variables = yes; then
2143 dnl Using '$V' instead of '$(V)' breaks IRIX make.
2144 AM_V='$(V)'
2145 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2146else
2147 AM_V=$AM_DEFAULT_VERBOSITY
2148 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2149fi
2150AC_SUBST([AM_V])dnl
2151AM_SUBST_NOTMAKE([AM_V])dnl
2152AC_SUBST([AM_DEFAULT_V])dnl
2153AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
2154AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
2155AM_BACKSLASH='\'
2156AC_SUBST([AM_BACKSLASH])dnl
2157_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
2158])
2159
2160# Copyright (C) 2001-2013 Free Software Foundation, Inc.
2161#
2162# This file is free software; the Free Software Foundation
2163# gives unlimited permission to copy and/or distribute it,
2164# with or without modifications, as long as this notice is preserved.
19962165
1997# AM_PROG_INSTALL_STRIP2166# AM_PROG_INSTALL_STRIP
1998# ---------------------2167# ---------------------
1999# One issue with vendor `install' (even GNU) is that you can't2168# One issue with vendor 'install' (even GNU) is that you can't
2000# specify the program used to strip binaries. This is especially2169# specify the program used to strip binaries. This is especially
2001# annoying in cross-compiling environments, where the build's strip2170# annoying in cross-compiling environments, where the build's strip
2002# is unlikely to handle the host's binaries.2171# is unlikely to handle the host's binaries.
2003# Fortunately install-sh will honor a STRIPPROG variable, so we2172# Fortunately install-sh will honor a STRIPPROG variable, so we
2004# always use install-sh in `make install-strip', and initialize2173# always use install-sh in "make install-strip", and initialize
2005# STRIPPROG with the value of the STRIP variable (set by the user).2174# STRIPPROG with the value of the STRIP variable (set by the user).
2006AC_DEFUN([AM_PROG_INSTALL_STRIP],2175AC_DEFUN([AM_PROG_INSTALL_STRIP],
2007[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl2176[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2008# Installed binaries are usually stripped using `strip' when the user2177# Installed binaries are usually stripped using 'strip' when the user
2009# run `make install-strip'. However `strip' might not be the right2178# run "make install-strip". However 'strip' might not be the right
2010# tool to use in cross-compilation environments, therefore Automake2179# tool to use in cross-compilation environments, therefore Automake
2011# will honor the `STRIP' environment variable to overrule this program.2180# will honor the 'STRIP' environment variable to overrule this program.
2012dnl Don't test for $cross_compiling = yes, because it might be `maybe'.2181dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
2013if test "$cross_compiling" != no; then2182if test "$cross_compiling" != no; then
2014 AC_CHECK_TOOL([STRIP], [strip], :)2183 AC_CHECK_TOOL([STRIP], [strip], :)
2015fi2184fi
2016INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"2185INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2017AC_SUBST([INSTALL_STRIP_PROGRAM])])2186AC_SUBST([INSTALL_STRIP_PROGRAM])])
20182187
2019# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.2188# Copyright (C) 2006-2013 Free Software Foundation, Inc.
2020#2189#
2021# This file is free software; the Free Software Foundation2190# This file is free software; the Free Software Foundation
2022# gives unlimited permission to copy and/or distribute it,2191# gives unlimited permission to copy and/or distribute it,
2023# with or without modifications, as long as this notice is preserved.2192# with or without modifications, as long as this notice is preserved.
20242193
2025# serial 3
2026
2027# _AM_SUBST_NOTMAKE(VARIABLE)2194# _AM_SUBST_NOTMAKE(VARIABLE)
2028# ---------------------------2195# ---------------------------
2029# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.2196# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
@@ -2037,18 +2204,16 @@
20372204
2038# Check how to create a tarball. -*- Autoconf -*-2205# Check how to create a tarball. -*- Autoconf -*-
20392206
2040# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.2207# Copyright (C) 2004-2013 Free Software Foundation, Inc.
2041#2208#
2042# This file is free software; the Free Software Foundation2209# This file is free software; the Free Software Foundation
2043# gives unlimited permission to copy and/or distribute it,2210# gives unlimited permission to copy and/or distribute it,
2044# with or without modifications, as long as this notice is preserved.2211# with or without modifications, as long as this notice is preserved.
20452212
2046# serial 2
2047
2048# _AM_PROG_TAR(FORMAT)2213# _AM_PROG_TAR(FORMAT)
2049# --------------------2214# --------------------
2050# Check how to create a tarball in format FORMAT.2215# Check how to create a tarball in format FORMAT.
2051# FORMAT should be one of `v7', `ustar', or `pax'.2216# FORMAT should be one of 'v7', 'ustar', or 'pax'.
2052#2217#
2053# Substitute a variable $(am__tar) that is a command2218# Substitute a variable $(am__tar) that is a command
2054# writing to stdout a FORMAT-tarball containing the directory2219# writing to stdout a FORMAT-tarball containing the directory
@@ -2058,83 +2223,119 @@
2058# Substitute a variable $(am__untar) that extract such2223# Substitute a variable $(am__untar) that extract such
2059# a tarball read from stdin.2224# a tarball read from stdin.
2060# $(am__untar) < result.tar2225# $(am__untar) < result.tar
2226#
2061AC_DEFUN([_AM_PROG_TAR],2227AC_DEFUN([_AM_PROG_TAR],
2062[# Always define AMTAR for backward compatibility. Yes, it's still used2228[# Always define AMTAR for backward compatibility. Yes, it's still used
2063# in the wild :-( We should find a proper way to deprecate it ...2229# in the wild :-( We should find a proper way to deprecate it ...
2064AC_SUBST([AMTAR], ['$${TAR-tar}'])2230AC_SUBST([AMTAR], ['$${TAR-tar}'])
2231
2232# We'll loop over all known methods to create a tar archive until one works.
2233_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
2234
2065m4_if([$1], [v7],2235m4_if([$1], [v7],
2066 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],2236 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
2067 [m4_case([$1], [ustar],, [pax],,2237
2068 [m4_fatal([Unknown tar format])])2238 [m4_case([$1],
2069AC_MSG_CHECKING([how to create a $1 tar archive])2239 [ustar],
2070# Loop over all known methods to create a tar archive until one works.2240 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
2071_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'2241 # There is notably a 21 bits limit for the UID and the GID. In fact,
2072_am_tools=${am_cv_prog_tar_$1-$_am_tools}2242 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
2073# Do not fold the above two line into one, because Tru64 sh and2243 # and bug#13588).
2074# Solaris sh will not grok spaces in the rhs of `-'.2244 am_max_uid=2097151 # 2^21 - 1
2075for _am_tool in $_am_tools2245 am_max_gid=$am_max_uid
2076do2246 # The $UID and $GID variables are not portable, so we need to resort
2077 case $_am_tool in2247 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
2078 gnutar)2248 # below are definitely unexpected, so allow the users to see them
2079 for _am_tar in tar gnutar gtar;2249 # (that is, avoid stderr redirection).
2080 do2250 am_uid=`id -u || echo unknown`
2081 AM_RUN_LOG([$_am_tar --version]) && break2251 am_gid=`id -g || echo unknown`
2082 done2252 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
2083 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'2253 if test $am_uid -le $am_max_uid; then
2084 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'2254 AC_MSG_RESULT([yes])
2085 am__untar="$_am_tar -xf -"2255 else
2086 ;;2256 AC_MSG_RESULT([no])
2087 plaintar)2257 _am_tools=none
2088 # Must skip GNU tar: if it does not support --format= it doesn't create2258 fi
2089 # ustar tarball either.2259 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
2090 (tar --version) >/dev/null 2>&1 && continue2260 if test $am_gid -le $am_max_gid; then
2091 am__tar='tar chf - "$$tardir"'2261 AC_MSG_RESULT([yes])
2092 am__tar_='tar chf - "$tardir"'2262 else
2093 am__untar='tar xf -'2263 AC_MSG_RESULT([no])
2094 ;;2264 _am_tools=none
2095 pax)2265 fi],
2096 am__tar='pax -L -x $1 -w "$$tardir"'2266
2097 am__tar_='pax -L -x $1 -w "$tardir"'2267 [pax],
2098 am__untar='pax -r'2268 [],
2099 ;;2269
2100 cpio)2270 [m4_fatal([Unknown tar format])])
2101 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'2271
2102 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'2272 AC_MSG_CHECKING([how to create a $1 tar archive])
2103 am__untar='cpio -i -H $1 -d'2273
2104 ;;2274 # Go ahead even if we have the value already cached. We do so because we
2105 none)2275 # need to set the values for the 'am__tar' and 'am__untar' variables.
2106 am__tar=false2276 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
2107 am__tar_=false2277
2108 am__untar=false2278 for _am_tool in $_am_tools; do
2109 ;;2279 case $_am_tool in
2110 esac2280 gnutar)
21112281 for _am_tar in tar gnutar gtar; do
2112 # If the value was cached, stop now. We just wanted to have am__tar2282 AM_RUN_LOG([$_am_tar --version]) && break
2113 # and am__untar set.2283 done
2114 test -n "${am_cv_prog_tar_$1}" && break2284 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
21152285 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
2116 # tar/untar a dummy directory, and stop if the command works2286 am__untar="$_am_tar -xf -"
2117 rm -rf conftest.dir2287 ;;
2118 mkdir conftest.dir2288 plaintar)
2119 echo GrepMe > conftest.dir/file2289 # Must skip GNU tar: if it does not support --format= it doesn't create
2120 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])2290 # ustar tarball either.
2121 rm -rf conftest.dir2291 (tar --version) >/dev/null 2>&1 && continue
2122 if test -s conftest.tar; then2292 am__tar='tar chf - "$$tardir"'
2123 AM_RUN_LOG([$am__untar <conftest.tar])2293 am__tar_='tar chf - "$tardir"'
2124 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break2294 am__untar='tar xf -'
2125 fi2295 ;;
2126done2296 pax)
2127rm -rf conftest.dir2297 am__tar='pax -L -x $1 -w "$$tardir"'
21282298 am__tar_='pax -L -x $1 -w "$tardir"'
2129AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])2299 am__untar='pax -r'
2130AC_MSG_RESULT([$am_cv_prog_tar_$1])])2300 ;;
2301 cpio)
2302 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
2303 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
2304 am__untar='cpio -i -H $1 -d'
2305 ;;
2306 none)
2307 am__tar=false
2308 am__tar_=false
2309 am__untar=false
2310 ;;
2311 esac
2312
2313 # If the value was cached, stop now. We just wanted to have am__tar
2314 # and am__untar set.
2315 test -n "${am_cv_prog_tar_$1}" && break
2316
2317 # tar/untar a dummy directory, and stop if the command works.
2318 rm -rf conftest.dir
2319 mkdir conftest.dir
2320 echo GrepMe > conftest.dir/file
2321 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
2322 rm -rf conftest.dir
2323 if test -s conftest.tar; then
2324 AM_RUN_LOG([$am__untar <conftest.tar])
2325 AM_RUN_LOG([cat conftest.dir/file])
2326 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2327 fi
2328 done
2329 rm -rf conftest.dir
2330
2331 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
2332 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
2333
2131AC_SUBST([am__tar])2334AC_SUBST([am__tar])
2132AC_SUBST([am__untar])2335AC_SUBST([am__untar])
2133]) # _AM_PROG_TAR2336]) # _AM_PROG_TAR
21342337
2135m4_include([m4/curses.m4])2338m4_include([m4/curses.m4])
2136m4_include([m4/glib.m4])
2137m4_include([m4/gtk.m4])
2138m4_include([m4/iconv.m4])2339m4_include([m4/iconv.m4])
2139m4_include([m4/pkg.m4])2340m4_include([m4/pkg.m4])
2140m4_include([m4/qt.m4])2341m4_include([m4/qt.m4])
21412342
=== modified file 'assuan/Makefile.am'
--- assuan/Makefile.am 2013-12-15 22:01:20 +0000
+++ assuan/Makefile.am 2015-05-26 02:58:11 +0000
@@ -20,7 +20,7 @@
20## Process this file with automake to produce Makefile.in20## Process this file with automake to produce Makefile.in
2121
22EXTRA_DIST = mkerrors ChangeLog-old22EXTRA_DIST = mkerrors ChangeLog-old
23INCLUDES = -I.. -I$(top_srcdir)/include23AM_CPPFLAGS = -I.. -I$(top_srcdir)/include
24BUILT_SOURCES = assuan-errors.c24BUILT_SOURCES = assuan-errors.c
25MOSTLYCLEANFILES = assuan-errors.c25MOSTLYCLEANFILES = assuan-errors.c
2626
2727
=== modified file 'assuan/Makefile.in'
--- assuan/Makefile.in 2014-01-23 22:10:38 +0000
+++ assuan/Makefile.in 2015-05-26 02:58:11 +0000
@@ -1,9 +1,8 @@
1# Makefile.in generated by automake 1.11.6 from Makefile.am.1# Makefile.in generated by automake 1.14.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,4# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software5
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.8# with or without modifications, as long as this notice is preserved.
@@ -35,23 +34,51 @@
35# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA34# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
3635
37VPATH = @srcdir@36VPATH = @srcdir@
38am__make_dryrun = \37am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
39 { \38am__make_running_with_option = \
40 am__dry=no; \39 case $${target_option-} in \
40 ?) ;; \
41 *) echo "am__make_running_with_option: internal error: invalid" \
42 "target option '$${target_option-}' specified" >&2; \
43 exit 1;; \
44 esac; \
45 has_opt=no; \
46 sane_makeflags=$$MAKEFLAGS; \
47 if $(am__is_gnu_make); then \
48 sane_makeflags=$$MFLAGS; \
49 else \
41 case $$MAKEFLAGS in \50 case $$MAKEFLAGS in \
42 *\\[\ \ ]*) \51 *\\[\ \ ]*) \
43 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \52 bs=\\; \
44 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \53 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 *) \54 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46 for am__flg in $$MAKEFLAGS; do \55 esac; \
47 case $$am__flg in \56 fi; \
48 *=*|--*) ;; \57 skip_next=no; \
49 *n*) am__dry=yes; break;; \58 strip_trailopt () \
50 esac; \59 { \
51 done;; \60 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
52 esac; \61 }; \
53 test $$am__dry = yes; \62 for flg in $$sane_makeflags; do \
54 }63 test $$skip_next = yes && { skip_next=no; continue; }; \
64 case $$flg in \
65 *=*|--*) continue;; \
66 -*I) strip_trailopt 'I'; skip_next=yes;; \
67 -*I?*) strip_trailopt 'I';; \
68 -*O) strip_trailopt 'O'; skip_next=yes;; \
69 -*O?*) strip_trailopt 'O';; \
70 -*l) strip_trailopt 'l'; skip_next=yes;; \
71 -*l?*) strip_trailopt 'l';; \
72 -[dEDm]) skip_next=yes;; \
73 -[JT]) skip_next=yes;; \
74 esac; \
75 case $$flg in \
76 *$$target_option*) has_opt=yes; break;; \
77 esac; \
78 done; \
79 test $$has_opt = yes
80am__make_dryrun = (target_option=n; $(am__make_running_with_option))
81am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
55pkgdatadir = $(datadir)/@PACKAGE@82pkgdatadir = $(datadir)/@PACKAGE@
56pkgincludedir = $(includedir)/@PACKAGE@83pkgincludedir = $(includedir)/@PACKAGE@
57pkglibdir = $(libdir)/@PACKAGE@84pkglibdir = $(libdir)/@PACKAGE@
@@ -71,36 +98,60 @@
71build_triplet = @build@98build_triplet = @build@
72host_triplet = @host@99host_triplet = @host@
73subdir = assuan100subdir = assuan
74DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in101DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
102 $(top_srcdir)/build-aux/depcomp
75ACLOCAL_M4 = $(top_srcdir)/aclocal.m4103ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76am__aclocal_m4_deps = $(top_srcdir)/m4/curses.m4 \104am__aclocal_m4_deps = $(top_srcdir)/m4/curses.m4 \
77 $(top_srcdir)/m4/glib.m4 $(top_srcdir)/m4/gtk.m4 \
78 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/pkg.m4 \105 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/pkg.m4 \
79 $(top_srcdir)/m4/qt.m4 $(top_srcdir)/acinclude.m4 \106 $(top_srcdir)/m4/qt.m4 $(top_srcdir)/acinclude.m4 \
80 $(top_srcdir)/configure.ac107 $(top_srcdir)/configure.ac
81am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \108am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
82 $(ACLOCAL_M4)109 $(ACLOCAL_M4)
83mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs110mkinstalldirs = $(install_sh) -d
84CONFIG_HEADER = $(top_builddir)/config.h111CONFIG_HEADER = $(top_builddir)/config.h
85CONFIG_CLEAN_FILES =112CONFIG_CLEAN_FILES =
86CONFIG_CLEAN_VPATH_FILES =113CONFIG_CLEAN_VPATH_FILES =
87LIBRARIES = $(noinst_LIBRARIES)114LIBRARIES = $(noinst_LIBRARIES)
88AR = ar115AR = ar
89ARFLAGS = cru116ARFLAGS = cru
117AM_V_AR = $(am__v_AR_@AM_V@)
118am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
119am__v_AR_0 = @echo " AR " $@;
120am__v_AR_1 =
90libassuan_a_AR = $(AR) $(ARFLAGS)121libassuan_a_AR = $(AR) $(ARFLAGS)
91libassuan_a_LIBADD =122libassuan_a_LIBADD =
92am_libassuan_a_OBJECTS = assuan-util.$(OBJEXT) assuan-errors.$(OBJEXT) \123am_libassuan_a_OBJECTS = assuan-util.$(OBJEXT) assuan-errors.$(OBJEXT) \
93 assuan-buffer.$(OBJEXT) assuan-handler.$(OBJEXT) \124 assuan-buffer.$(OBJEXT) assuan-handler.$(OBJEXT) \
94 assuan-listen.$(OBJEXT) assuan-pipe-server.$(OBJEXT)125 assuan-listen.$(OBJEXT) assuan-pipe-server.$(OBJEXT)
95libassuan_a_OBJECTS = $(am_libassuan_a_OBJECTS)126libassuan_a_OBJECTS = $(am_libassuan_a_OBJECTS)
127AM_V_P = $(am__v_P_@AM_V@)
128am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
129am__v_P_0 = false
130am__v_P_1 = :
131AM_V_GEN = $(am__v_GEN_@AM_V@)
132am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
133am__v_GEN_0 = @echo " GEN " $@;
134am__v_GEN_1 =
135AM_V_at = $(am__v_at_@AM_V@)
136am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
137am__v_at_0 = @
138am__v_at_1 =
96DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)139DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
97depcomp = $(SHELL) $(top_srcdir)/depcomp140depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
98am__depfiles_maybe = depfiles141am__depfiles_maybe = depfiles
99am__mv = mv -f142am__mv = mv -f
100COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \143COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
101 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)144 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
145AM_V_CC = $(am__v_CC_@AM_V@)
146am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
147am__v_CC_0 = @echo " CC " $@;
148am__v_CC_1 =
102CCLD = $(CC)149CCLD = $(CC)
103LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@150LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
151AM_V_CCLD = $(am__v_CCLD_@AM_V@)
152am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
153am__v_CCLD_0 = @echo " CCLD " $@;
154am__v_CCLD_1 =
104SOURCES = $(libassuan_a_SOURCES)155SOURCES = $(libassuan_a_SOURCES)
105DIST_SOURCES = $(libassuan_a_SOURCES)156DIST_SOURCES = $(libassuan_a_SOURCES)
106am__can_run_installinfo = \157am__can_run_installinfo = \
@@ -108,11 +159,29 @@
108 n|no|NO) false;; \159 n|no|NO) false;; \
109 *) (install-info --version) >/dev/null 2>&1;; \160 *) (install-info --version) >/dev/null 2>&1;; \
110 esac161 esac
162am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
163# Read a list of newline-separated strings from the standard input,
164# and print each of them once, without duplicates. Input order is
165# *not* preserved.
166am__uniquify_input = $(AWK) '\
167 BEGIN { nonempty = 0; } \
168 { items[$$0] = 1; nonempty = 1; } \
169 END { if (nonempty) { for (i in items) print i; }; } \
170'
171# Make sure the list of sources is unique. This is necessary because,
172# e.g., the same source file might be shared among _SOURCES variables
173# for different programs/libraries.
174am__define_uniq_tagged_files = \
175 list='$(am__tagged_files)'; \
176 unique=`for i in $$list; do \
177 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
178 done | $(am__uniquify_input)`
111ETAGS = etags179ETAGS = etags
112CTAGS = ctags180CTAGS = ctags
113DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)181DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
114ACLOCAL = @ACLOCAL@182ACLOCAL = @ACLOCAL@
115AMTAR = @AMTAR@183AMTAR = @AMTAR@
184AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
116AUTOCONF = @AUTOCONF@185AUTOCONF = @AUTOCONF@
117AUTOHEADER = @AUTOHEADER@186AUTOHEADER = @AUTOHEADER@
118AUTOMAKE = @AUTOMAKE@187AUTOMAKE = @AUTOMAKE@
@@ -120,10 +189,11 @@
120CC = @CC@189CC = @CC@
121CCDEPMODE = @CCDEPMODE@190CCDEPMODE = @CCDEPMODE@
122CFLAGS = @CFLAGS@191CFLAGS = @CFLAGS@
192COMMON_CFLAGS = @COMMON_CFLAGS@
193COMMON_LIBS = @COMMON_LIBS@
123CPP = @CPP@194CPP = @CPP@
124CPPFLAGS = @CPPFLAGS@195CPPFLAGS = @CPPFLAGS@
125CXX = @CXX@196CXX = @CXX@
126CXXCPP = @CXXCPP@
127CXXDEPMODE = @CXXDEPMODE@197CXXDEPMODE = @CXXDEPMODE@
128CXXFLAGS = @CXXFLAGS@198CXXFLAGS = @CXXFLAGS@
129CYGPATH_W = @CYGPATH_W@199CYGPATH_W = @CYGPATH_W@
@@ -135,15 +205,9 @@
135EGREP = @EGREP@205EGREP = @EGREP@
136EXEEXT = @EXEEXT@206EXEEXT = @EXEEXT@
137GITLOG_TO_CHANGELOG = @GITLOG_TO_CHANGELOG@207GITLOG_TO_CHANGELOG = @GITLOG_TO_CHANGELOG@
138GLIB_CFLAGS = @GLIB_CFLAGS@
139GLIB_CONFIG = @GLIB_CONFIG@
140GLIB_LIBS = @GLIB_LIBS@
141GREP = @GREP@208GREP = @GREP@
142GTK2CFLAGS = @GTK2CFLAGS@209GTK2CFLAGS = @GTK2CFLAGS@
143GTK2LIBS = @GTK2LIBS@210GTK2LIBS = @GTK2LIBS@
144GTK_CFLAGS = @GTK_CFLAGS@
145GTK_CONFIG = @GTK_CONFIG@
146GTK_LIBS = @GTK_LIBS@
147INSTALL = @INSTALL@211INSTALL = @INSTALL@
148INSTALL_DATA = @INSTALL_DATA@212INSTALL_DATA = @INSTALL_DATA@
149INSTALL_PROGRAM = @INSTALL_PROGRAM@213INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -155,10 +219,8 @@
155LIBICONV = @LIBICONV@219LIBICONV = @LIBICONV@
156LIBNCURSES = @LIBNCURSES@220LIBNCURSES = @LIBNCURSES@
157LIBOBJS = @LIBOBJS@221LIBOBJS = @LIBOBJS@
158LIBPTHREAD = @LIBPTHREAD@
159LIBS = @LIBS@222LIBS = @LIBS@
160LIBTERMCAP = @LIBTERMCAP@223LIBTERMCAP = @LIBTERMCAP@
161LIB_QPE = @LIB_QPE@
162LN_S = @LN_S@224LN_S = @LN_S@
163LTLIBICONV = @LTLIBICONV@225LTLIBICONV = @LTLIBICONV@
164LTLIBOBJS = @LTLIBOBJS@226LTLIBOBJS = @LTLIBOBJS@
@@ -182,27 +244,13 @@
182QT4_CORE_LIBS = @QT4_CORE_LIBS@244QT4_CORE_LIBS = @QT4_CORE_LIBS@
183QT4_GUI_CFLAGS = @QT4_GUI_CFLAGS@245QT4_GUI_CFLAGS = @QT4_GUI_CFLAGS@
184QT4_GUI_LIBS = @QT4_GUI_LIBS@246QT4_GUI_LIBS = @QT4_GUI_LIBS@
185QTE_NORTTI = @QTE_NORTTI@
186QT_CXXFLAGS = @QT_CXXFLAGS@
187QT_INCLUDES = @QT_INCLUDES@
188QT_LDFLAGS = @QT_LDFLAGS@
189QT_LIBS = @QT_LIBS@
190QT_MT_LDFLAGS = @QT_MT_LDFLAGS@
191QT_MT_LIBS = @QT_MT_LIBS@
192QT_RPATH = @QT_RPATH@
193RANLIB = @RANLIB@247RANLIB = @RANLIB@
194SETCAP = @SETCAP@248SETCAP = @SETCAP@
195SET_MAKE = @SET_MAKE@249SET_MAKE = @SET_MAKE@
196SHELL = @SHELL@250SHELL = @SHELL@
197STRIP = @STRIP@251STRIP = @STRIP@
198USE_THREADS = @USE_THREADS@
199VERSION = @VERSION@252VERSION = @VERSION@
200WINDRES = @WINDRES@253WINDRES = @WINDRES@
201XMKMF = @XMKMF@
202X_CFLAGS = @X_CFLAGS@
203X_EXTRA_LIBS = @X_EXTRA_LIBS@
204X_LIBS = @X_LIBS@
205X_PRE_LIBS = @X_PRE_LIBS@
206abs_builddir = @abs_builddir@254abs_builddir = @abs_builddir@
207abs_srcdir = @abs_srcdir@255abs_srcdir = @abs_srcdir@
208abs_top_builddir = @abs_top_builddir@256abs_top_builddir = @abs_top_builddir@
@@ -246,8 +294,6 @@
246prefix = @prefix@294prefix = @prefix@
247program_transform_name = @program_transform_name@295program_transform_name = @program_transform_name@
248psdir = @psdir@296psdir = @psdir@
249qt_includes = @qt_includes@
250qt_libraries = @qt_libraries@
251sbindir = @sbindir@297sbindir = @sbindir@
252sharedstatedir = @sharedstatedir@298sharedstatedir = @sharedstatedir@
253srcdir = @srcdir@299srcdir = @srcdir@
@@ -256,9 +302,8 @@
256top_build_prefix = @top_build_prefix@302top_build_prefix = @top_build_prefix@
257top_builddir = @top_builddir@303top_builddir = @top_builddir@
258top_srcdir = @top_srcdir@304top_srcdir = @top_srcdir@
259x_libraries = @x_libraries@
260EXTRA_DIST = mkerrors ChangeLog-old305EXTRA_DIST = mkerrors ChangeLog-old
261INCLUDES = -I.. -I$(top_srcdir)/include306AM_CPPFLAGS = -I.. -I$(top_srcdir)/include
262BUILT_SOURCES = assuan-errors.c307BUILT_SOURCES = assuan-errors.c
263MOSTLYCLEANFILES = assuan-errors.c308MOSTLYCLEANFILES = assuan-errors.c
264noinst_LIBRARIES = libassuan.a309noinst_LIBRARIES = libassuan.a
@@ -312,10 +357,11 @@
312357
313clean-noinstLIBRARIES:358clean-noinstLIBRARIES:
314 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)359 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
360
315libassuan.a: $(libassuan_a_OBJECTS) $(libassuan_a_DEPENDENCIES) $(EXTRA_libassuan_a_DEPENDENCIES) 361libassuan.a: $(libassuan_a_OBJECTS) $(libassuan_a_DEPENDENCIES) $(EXTRA_libassuan_a_DEPENDENCIES)
316 -rm -f libassuan.a362 $(AM_V_at)-rm -f libassuan.a
317 $(libassuan_a_AR) libassuan.a $(libassuan_a_OBJECTS) $(libassuan_a_LIBADD)363 $(AM_V_AR)$(libassuan_a_AR) libassuan.a $(libassuan_a_OBJECTS) $(libassuan_a_LIBADD)
318 $(RANLIB) libassuan.a364 $(AM_V_at)$(RANLIB) libassuan.a
319365
320mostlyclean-compile:366mostlyclean-compile:
321 -rm -f *.$(OBJEXT)367 -rm -f *.$(OBJEXT)
@@ -331,39 +377,28 @@
331@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/assuan-util.Po@am__quote@377@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/assuan-util.Po@am__quote@
332378
333.c.o:379.c.o:
334@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<380@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
335@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po381@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
336@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@382@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
337@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@383@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
338@am__fastdepCC_FALSE@ $(COMPILE) -c $<384@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
339385
340.c.obj:386.c.obj:
341@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`387@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
342@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po388@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
343@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@389@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
344@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@390@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
345@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`391@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
346392
347ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)393ID: $(am__tagged_files)
348 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \394 $(am__define_uniq_tagged_files); mkid -fID $$unique
349 unique=`for i in $$list; do \395tags: tags-am
350 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \396TAGS: tags
351 done | \397
352 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \398tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
353 END { if (nonempty) { for (i in files) print i; }; }'`; \
354 mkid -fID $$unique
355tags: TAGS
356
357TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
358 $(TAGS_FILES) $(LISP)
359 set x; \399 set x; \
360 here=`pwd`; \400 here=`pwd`; \
361 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \401 $(am__define_uniq_tagged_files); \
362 unique=`for i in $$list; do \
363 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
364 done | \
365 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
366 END { if (nonempty) { for (i in files) print i; }; }'`; \
367 shift; \402 shift; \
368 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \403 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
369 test -n "$$unique" || unique=$$empty_fix; \404 test -n "$$unique" || unique=$$empty_fix; \
@@ -375,15 +410,11 @@
375 $$unique; \410 $$unique; \
376 fi; \411 fi; \
377 fi412 fi
378ctags: CTAGS413ctags: ctags-am
379CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \414
380 $(TAGS_FILES) $(LISP)415CTAGS: ctags
381 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \416ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
382 unique=`for i in $$list; do \417 $(am__define_uniq_tagged_files); \
383 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
384 done | \
385 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
386 END { if (nonempty) { for (i in files) print i; }; }'`; \
387 test -z "$(CTAGS_ARGS)$$unique" \418 test -z "$(CTAGS_ARGS)$$unique" \
388 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \419 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
389 $$unique420 $$unique
@@ -392,6 +423,21 @@
392 here=`$(am__cd) $(top_builddir) && pwd` \423 here=`$(am__cd) $(top_builddir) && pwd` \
393 && $(am__cd) $(top_srcdir) \424 && $(am__cd) $(top_srcdir) \
394 && gtags -i $(GTAGS_ARGS) "$$here"425 && gtags -i $(GTAGS_ARGS) "$$here"
426cscopelist: cscopelist-am
427
428cscopelist-am: $(am__tagged_files)
429 list='$(am__tagged_files)'; \
430 case "$(srcdir)" in \
431 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
432 *) sdir=$(subdir)/$(srcdir) ;; \
433 esac; \
434 for i in $$list; do \
435 if test -f "$$i"; then \
436 echo "$(subdir)/$$i"; \
437 else \
438 echo "$$sdir/$$i"; \
439 fi; \
440 done >> $(top_builddir)/cscope.files
395441
396distclean-tags:442distclean-tags:
397 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags443 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
@@ -535,17 +581,17 @@
535581
536.MAKE: all check install install-am install-strip582.MAKE: all check install install-am install-strip
537583
538.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \584.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
539 clean-noinstLIBRARIES ctags distclean distclean-compile \585 clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \
540 distclean-generic distclean-tags distdir dvi dvi-am html \586 distclean-compile distclean-generic distclean-tags distdir dvi \
541 html-am info info-am install install-am install-data \587 dvi-am html html-am info info-am install install-am \
542 install-data-am install-dvi install-dvi-am install-exec \588 install-data install-data-am install-dvi install-dvi-am \
543 install-exec-am install-html install-html-am install-info \589 install-exec install-exec-am install-html install-html-am \
544 install-info-am install-man install-pdf install-pdf-am \590 install-info install-info-am install-man install-pdf \
545 install-ps install-ps-am install-strip installcheck \591 install-pdf-am install-ps install-ps-am install-strip \
546 installcheck-am installdirs maintainer-clean \592 installcheck installcheck-am installdirs maintainer-clean \
547 maintainer-clean-generic mostlyclean mostlyclean-compile \593 maintainer-clean-generic mostlyclean mostlyclean-compile \
548 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \594 mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
549 uninstall-am595 uninstall-am
550596
551597
552598
=== modified file 'assuan/assuan-errors.c'
--- assuan/assuan-errors.c 2008-05-06 13:05:08 +0000
+++ assuan/assuan-errors.c 2015-05-26 02:58:11 +0000
@@ -49,6 +49,9 @@
49 case ASSUAN_Invalid_Option: s="invalid option"; break;49 case ASSUAN_Invalid_Option: s="invalid option"; break;
50 case ASSUAN_Locale_Problem: s="locale problem"; break;50 case ASSUAN_Locale_Problem: s="locale problem"; break;
51 case ASSUAN_Not_Confirmed: s="not confirmed"; break;51 case ASSUAN_Not_Confirmed: s="not confirmed"; break;
52 case ASSUAN_Too_Short: s="too short"; break;
53 case ASSUAN_ENOENT: s="enoent"; break;
54 case ASSUAN_ENOTTY: s="enotty"; break;
52 default: sprintf (buf, "ec=%d", err ); s=buf; break;55 default: sprintf (buf, "ec=%d", err ); s=buf; break;
53 }56 }
5457
5558
=== modified file 'assuan/assuan.h'
--- assuan/assuan.h 2008-05-06 13:05:08 +0000
+++ assuan/assuan.h 2015-05-26 02:58:11 +0000
@@ -25,7 +25,7 @@
25#include <sys/types.h>25#include <sys/types.h>
2626
27#ifdef __cplusplus27#ifdef __cplusplus
28extern "C" { 28extern "C" {
29#if 029#if 0
30 }30 }
31#endif31#endif
@@ -64,6 +64,9 @@
64 ASSUAN_Invalid_Option = ASSUAN_ERROR (174), /* GPG_ERR_UNKNOWN_OPTION */64 ASSUAN_Invalid_Option = ASSUAN_ERROR (174), /* GPG_ERR_UNKNOWN_OPTION */
65 ASSUAN_Locale_Problem = ASSUAN_ERROR (166),65 ASSUAN_Locale_Problem = ASSUAN_ERROR (166),
66 ASSUAN_Not_Confirmed = ASSUAN_ERROR (114),66 ASSUAN_Not_Confirmed = ASSUAN_ERROR (114),
67 ASSUAN_Too_Short = ASSUAN_ERROR (66),
68 ASSUAN_ENOENT = ASSUAN_ERROR (81 | (1 << 15)),
69 ASSUAN_ENOTTY = ASSUAN_ERROR (102 | (1 << 15)),
6770
68} assuan_error_t;71} assuan_error_t;
6972
@@ -91,7 +94,7 @@
91#define ASSUAN_LINELENGTH 1002 /* 1000 + [CR,]LF */94#define ASSUAN_LINELENGTH 1002 /* 1000 + [CR,]LF */
9295
93struct assuan_context_s;96struct assuan_context_s;
94typedef struct assuan_context_s *assuan_context_t; 97typedef struct assuan_context_s *assuan_context_t;
95typedef struct assuan_context_s *ASSUAN_CONTEXT; /* Deprecated. */98typedef struct assuan_context_s *ASSUAN_CONTEXT; /* Deprecated. */
9699
97/*-- assuan-handler.c --*/100/*-- assuan-handler.c --*/
@@ -153,7 +156,7 @@
153pid_t assuan_get_pid (ASSUAN_CONTEXT ctx);156pid_t assuan_get_pid (ASSUAN_CONTEXT ctx);
154157
155/*-- assuan-client.c --*/158/*-- assuan-client.c --*/
156AssuanError 159AssuanError
157assuan_transact (ASSUAN_CONTEXT ctx,160assuan_transact (ASSUAN_CONTEXT ctx,
158 const char *command,161 const char *command,
159 AssuanError (*data_cb)(void *, const void *, size_t),162 AssuanError (*data_cb)(void *, const void *, size_t),
160163
=== added file 'autogen.rc'
--- autogen.rc 1970-01-01 00:00:00 +0000
+++ autogen.rc 2015-05-26 02:58:11 +0000
@@ -0,0 +1,25 @@
1# autogen.sh configuration for Pinentry -*- sh -*-
2
3#version_parts=3
4
5case "$myhost:$myhostsub" in
6 w32:ce)
7 extraoptions="--disable-pinentry-gtk2 --disable-pinentry-qt4"
8 ;;
9 w32:)
10 extraoptions=""
11 ;;
12esac
13
14case "$myhost" in
15 w32)
16 configure_opts="
17 --with-libiconv-prefix=@SYSROOT@
18 PKG_CONFIG_LIBDIR=@SYSROOT@/lib/pkgconfig
19 "
20 ;;
21esac
22
23extra_aclocal_flags=
24
25final_info="./configure --enable-maintainer-mode && make"
026
=== modified file 'autogen.sh'
--- autogen.sh 2013-12-15 22:01:20 +0000
+++ autogen.sh 2015-05-26 02:58:11 +0000
@@ -1,7 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Run this to generate all the initial makefiles, etc.2# autogen.sh
3#3# Copyright (C) 2003, 2014 g10 Code GmbH
4# Copyright (C) 2003 g10 Code GmbH
5#4#
6# This file is free software; as a special exception the author gives5# This file is free software; as a special exception the author gives
7# unlimited permission to copy and/or distribute it, with or without6# unlimited permission to copy and/or distribute it, with or without
@@ -10,6 +9,13 @@
10# This program is distributed in the hope that it will be useful, but9# This program is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the10# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
12# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.11# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12#
13# This is a generic script to create the configure script and handle cross
14# build environments. It requires the presence of a autogen.rc file to
15# configure it for the respective package. It is maintained as part of
16# GnuPG and source copied by other packages.
17#
18# Version: 2014-06-06
1319
14configure_ac="configure.ac"20configure_ac="configure.ac"
1521
@@ -28,6 +34,29 @@
28 return 134 return 1
29}35}
3036
37fatal () {
38 echo "autogen.sh:" "$*" >&2
39 DIE=yes
40}
41
42info () {
43 if [ -z "${SILENT}" ]; then
44 echo "autogen.sh:" "$*" >&2
45 fi
46}
47
48die_p () {
49 if [ "$DIE" = "yes" ]; then
50 echo "autogen.sh: Stop." >&2
51 exit 1
52 fi
53}
54
55replace_sysroot () {
56 configure_opts=$(echo $configure_opts | sed "s#@SYSROOT@#${w32root}#g")
57 extraoptions=$(echo $extraoptions | sed "s#@SYSROOT@#${w32root}#g")
58}
59
31# Allow to override the default tool names60# Allow to override the default tool names
32AUTOCONF=${AUTOCONF_PREFIX}${AUTOCONF:-autoconf}${AUTOCONF_SUFFIX}61AUTOCONF=${AUTOCONF_PREFIX}${AUTOCONF:-autoconf}${AUTOCONF_SUFFIX}
33AUTOHEADER=${AUTOCONF_PREFIX}${AUTOHEADER:-autoheader}${AUTOCONF_SUFFIX}62AUTOHEADER=${AUTOCONF_PREFIX}${AUTOHEADER:-autoheader}${AUTOCONF_SUFFIX}
@@ -40,79 +69,215 @@
4069
41DIE=no70DIE=no
42FORCE=71FORCE=
72SILENT=
73PRINT_HOST=no
74PRINT_BUILD=no
75tmp=$(dirname "$0")
76tsdir=$(cd "${tmp}"; pwd)
77version_parts=3
78
79if [ -n "${AUTOGEN_SH_SILENT}" ]; then
80 SILENT=" --silent"
81fi
82if test x"$1" = x"--help"; then
83 echo "usage: ./autogen.sh [--silent] [--force] [--build-TYPE] [ARGS]"
84 exit 0
85fi
86if test x"$1" = x"--silent"; then
87 SILENT=" --silent"
88 shift
89fi
43if test x"$1" = x"--force"; then90if test x"$1" = x"--force"; then
44 FORCE=" --force"91 FORCE=" --force"
45 shift92 shift
46fi93fi
4794if test x"$1" = x"--print-host"; then
48# Begin list of optional variables sourced from ~/.gnupg-autogen.rc95 PRINT_HOST=yes
96 shift
97fi
98if test x"$1" = x"--print-build"; then
99 PRINT_BUILD=yes
100 shift
101fi
102
103
104# Reject unsafe characters in $HOME, $tsdir and cwd. We consider spaces
105# as unsafe because it is too easy to get scripts wrong in this regard.
106am_lf='
107'
108case `pwd` in
109 *[\;\\\"\#\$\&\'\`$am_lf\ \ ]*)
110 fatal "unsafe working directory name" ;;
111esac
112case $tsdir in
113 *[\;\\\"\#\$\&\'\`$am_lf\ \ ]*)
114 fatal "unsafe source directory: \`$tsdir'" ;;
115esac
116case $HOME in
117 *[\;\\\"\#\$\&\'\`$am_lf\ \ ]*)
118 fatal "unsafe home directory: \`$HOME'" ;;
119esac
120die_p
121
122
123# List of variables sourced from autogen.rc. The strings '@SYSROOT@' in
124# these variables are replaced by the actual system root.
125configure_opts=
126extraoptions=
127# List of optional variables sourced from autogen.rc and ~/.gnupg-autogen.rc
49w32_toolprefixes=128w32_toolprefixes=
50w32_extraoptions=129w32_extraoptions=
51w32ce_toolprefixes=130w32ce_toolprefixes=
52w32ce_extraoptions=131w32ce_extraoptions=
132w64_toolprefixes=
133w64_extraoptions=
53amd64_toolprefixes=134amd64_toolprefixes=
54# End list of optional variables sourced from ~/.gnupg-autogen.rc135# End list of optional variables sourced from ~/.gnupg-autogen.rc
55# What follows are variables which are sourced but default to136# What follows are variables which are sourced but default to
56# environment variables or lacking them hardcoded values.137# environment variables or lacking them hardcoded values.
57#w32root=138#w32root=
58#w32ce_root=139#w32ce_root=
140#w64root=
59#amd64root=141#amd64root=
60142
61if [ -f "$HOME/.gnupg-autogen.rc" ]; then
62 echo "sourcing extra definitions from $HOME/.gnupg-autogen.rc"
63 . "$HOME/.gnupg-autogen.rc"
64fi
65
66# Convenience option to use certain configure options for some hosts.143# Convenience option to use certain configure options for some hosts.
67myhost=""144myhost=""
68myhostsub=""145myhostsub=""
69case "$1" in146case "$1" in
147 --find-version)
148 myhost="find-version"
149 SILENT=" --silent"
150 shift
151 ;;
70 --build-w32)152 --build-w32)
71 myhost="w32"153 myhost="w32"
154 shift
72 ;;155 ;;
73 --build-w32ce)156 --build-w32ce)
74 myhost="w32"157 myhost="w32"
75 myhostsub="ce"158 myhostsub="ce"
159 shift
160 ;;
161 --build-w64)
162 myhost="w32"
163 myhostsub="64"
164 shift
165 ;;
166 --build-amd64)
167 myhost="amd64"
168 shift
76 ;;169 ;;
77 --build*)170 --build*)
78 echo "**Error**: invalid build option $1" >&2171 fatal "**Error**: invalid build option $1"
79 exit 1172 shift
80 ;;173 ;;
81 *)174 *)
82 ;;175 ;;
83esac176esac
84177die_p
85178
86179
87# ***** W32 build script *******180# Source our configuration
88# Used to cross-compile for Windows.181if [ -f "${tsdir}/autogen.rc" ]; then
182 . "${tsdir}/autogen.rc"
183fi
184
185# Source optional site specific configuration
186if [ -f "$HOME/.gnupg-autogen.rc" ]; then
187 info "sourcing extra definitions from $HOME/.gnupg-autogen.rc"
188 . "$HOME/.gnupg-autogen.rc"
189fi
190
191
192# **** FIND VERSION ****
193# This is a helper for the configure.ac M4 magic
194# Called
195# ./autogen.sh --find-version PACKAGE MAJOR MINOR [MICRO]
196# returns a complete version string with automatic beta numbering.
197if [ "$myhost" = "find-version" ]; then
198 package="$1"
199 major="$2"
200 minor="$3"
201 micro="$4"
202
203 case "$version_parts" in
204 2)
205 matchstr1="$package-$major.[0-9]*"
206 matchstr2="$package-$major-base"
207 vers="$major.$minor"
208 ;;
209 *)
210 matchstr1="$package-$major.$minor.[0-9]*"
211 matchstr2="$package-$major.$minor-base"
212 vers="$major.$minor.$micro"
213 ;;
214 esac
215
216 beta=no
217 if [ -d .git ]; then
218 ingit=yes
219 tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
220 if [ -n "$tmp" ]; then
221 tmp=$(echo "$tmp"|awk -F- '$3!=0 && $3 !~ /^beta/ {print"-beta"$3}')
222 else
223 tmp=$(git describe --match "${matchstr2}" --long 2>/dev/null \
224 | awk -F- '$4!=0{print"-beta"$4}')
225 fi
226 [ -n "$tmp" ] && beta=yes
227 rev=$(git rev-parse --short HEAD | tr -d '\n\r')
228 rvd=$((0x$(echo ${rev} | head -c 4)))
229 else
230 ingit=no
231 beta=no
232 tmp=""
233 rev="0000000"
234 rvd="0"
235 fi
236
237 echo "$package-$vers$tmp:$beta:$ingit:$vers$tmp:$vers:$tmp:$rev:$rvd:"
238 exit 0
239fi
240# **** end FIND VERSION ****
241
242
243if [ ! -f "$tsdir/build-aux/config.guess" ]; then
244 fatal "$tsdir/build-aux/config.guess not found"
245 exit 1
246fi
247build=`$tsdir/build-aux/config.guess`
248if [ $PRINT_BUILD = yes ]; then
249 echo "$build"
250 exit 0
251fi
252
253
254
255# ******************
256# W32 build script
257# ******************
89if [ "$myhost" = "w32" ]; then258if [ "$myhost" = "w32" ]; then
90 tmp=`dirname $0`
91 tsdir=`cd "$tmp"; pwd`
92 shift
93 if [ ! -f $tsdir/config.guess ]; then
94 echo "$tsdir/config.guess not found" >&2
95 exit 1
96 fi
97 build=`$tsdir/config.guess`
98
99 case $myhostsub in259 case $myhostsub in
100 ce)260 ce)
101 w32root="$w32ce_root"261 w32root="$w32ce_root"
102 [ -z "$w32ce_root" ] && w32root="$HOME/w32ce_root"262 [ -z "$w32root" ] && w32root="$HOME/w32ce_root"
103 toolprefixes="$w32ce_toolprefixes arm-mingw32ce"263 toolprefixes="$w32ce_toolprefixes arm-mingw32ce"
104 extraoptions="$w32ce_extraoptions --disable-pinentry-gtk2"264 extraoptions="$extraoptions $w32ce_extraoptions"
105 extraoptions="$extraoptions --disable-pinentry-qt4"265 ;;
266 64)
267 w32root="$w64root"
268 [ -z "$w32root" ] && w32root="$HOME/w64root"
269 toolprefixes="$w64_toolprefixes x86_64-w64-mingw32"
270 extraoptions="$extraoptions $w64_extraoptions"
106 ;;271 ;;
107 *)272 *)
108 [ -z "$w32root" ] && w32root="$HOME/w32root"273 [ -z "$w32root" ] && w32root="$HOME/w32root"
109 toolprefixes="$w32_toolprefixes i686-w64-mingw32 i586-mingw32msvc"274 toolprefixes="$w32_toolprefixes i686-w64-mingw32 i586-mingw32msvc"
110 toolprefixes="$toolprefixes i386-mingw32msvc mingw32"275 toolprefixes="$toolprefixes i386-mingw32msvc mingw32"
111 extraoptions="$w32_extraoptions --enable-pinentry-gtk2"276 extraoptions="$extraoptions $w32_extraoptions"
112 ;;277 ;;
113 esac278 esac
114 echo "Using $w32root as standard install directory" >&2279 info "Using $w32root as standard install directory"
115280 replace_sysroot
116281
117 # Locate the cross compiler282 # Locate the cross compiler
118 crossbindir=283 crossbindir=
@@ -124,36 +289,77 @@
124 fi289 fi
125 done290 done
126 if [ -z "$crossbindir" ]; then291 if [ -z "$crossbindir" ]; then
292 fatal "cross compiler kit not installed"
293 if [ -z "$myhostsub" ]; then
294 info "Under Debian GNU/Linux, you may install it using"
295 info " apt-get install mingw32 mingw32-runtime mingw32-binutils"
296 fi
297 die_p
298 fi
299 if [ $PRINT_HOST = yes ]; then
300 echo "$host"
301 exit 0
302 fi
303
304 if [ -f "$tsdir/config.log" ]; then
305 if ! head $tsdir/config.log | grep "$host" >/dev/null; then
306 fatal "Please run a 'make distclean' first"
307 die_p
308 fi
309 fi
310
311 $tsdir/configure --enable-maintainer-mode ${SILENT} \
312 --prefix=${w32root} \
313 --host=${host} --build=${build} SYSROOT=${w32root} \
314 ${configure_opts} ${extraoptions} "$@"
315 rc=$?
316 exit $rc
317fi
318# ***** end W32 build script *******
319
320# ***** AMD64 cross build script *******
321# Used to cross-compile for AMD64 (for testing)
322if [ "$myhost" = "amd64" ]; then
323 [ -z "$amd64root" ] && amd64root="$HOME/amd64root"
324 info "Using $amd64root as standard install directory"
325 replace_sysroot
326
327 toolprefixes="$amd64_toolprefixes x86_64-linux-gnu amd64-linux-gnu"
328
329 # Locate the cross compiler
330 crossbindir=
331 for host in $toolprefixes ; do
332 if ${host}-gcc --version >/dev/null 2>&1 ; then
333 crossbindir=/usr/${host}/bin
334 conf_CC="CC=${host}-gcc"
335 break;
336 fi
337 done
338 if [ -z "$crossbindir" ]; then
127 echo "Cross compiler kit not installed" >&2339 echo "Cross compiler kit not installed" >&2
128 if [ -z "$sub" ]; then
129 echo "Under Debian GNU/Linux, you may install it using" >&2
130 echo " apt-get install mingw32 mingw32-runtime mingw32-binutils" >&2
131 fi
132 echo "Stop." >&2340 echo "Stop." >&2
133 exit 1341 exit 1
134 fi342 fi
343 if [ $PRINT_HOST = yes ]; then
344 echo "$host"
345 exit 0
346 fi
135347
136 if [ -f "$tsdir/config.log" ]; then348 if [ -f "$tsdir/config.log" ]; then
137 if ! head $tsdir/config.log | grep "$host" >/dev/null; then349 if ! head $tsdir/config.log | grep "$host" >/dev/null; then
138 echo "Pease run a 'make distclean' first" >&2350 echo "Please run a 'make distclean' first" >&2
139 exit 1351 exit 1
140 fi352 fi
141 fi353 fi
142354
143 $tsdir/configure --enable-maintainer-mode --prefix=${w32root} \355 $tsdir/configure --enable-maintainer-mode ${SILENT} \
144 --host=${host} --build=${build} \356 --prefix=${amd64root} \
145 --disable-pinentry-gtk \357 --host=${host} --build=${build} \
146 --disable-pinentry-qt \358 ${configure_opts} ${extraoptions} "$@"
147 --with-libiconv-prefix=${w32root} \
148 PKG_CONFIG_LIBDIR="$w32root/lib/pkgconfig" \
149 ${extraoptions} "$@"
150
151 rc=$?359 rc=$?
152 exit $rc360 exit $rc
153fi361fi
154# ***** end W32 build script *******362# ***** end AMD64 cross build script *******
155
156
157363
158364
159# Grep the required versions from configure.ac365# Grep the required versions from configure.ac
@@ -169,48 +375,94 @@
169}' ${configure_ac}`375}' ${configure_ac}`
170automake_vers_num=`echo "$automake_vers" | cvtver`376automake_vers_num=`echo "$automake_vers" | cvtver`
171377
172#gettext_vers=`sed -n '/^AM_GNU_GETTEXT_VERSION(/ {378if [ -d "${tsdir}/po" ]; then
173#s/^.*(\(.*\))/\1/p379 gettext_vers=`sed -n '/^AM_GNU_GETTEXT_VERSION(/ {
174#q380s/^.*\[\(.*\)])/\1/p
175#}' ${configure_ac}`381q
176#gettext_vers_num=`echo "$gettext_vers" | cvtver`382}' ${configure_ac}`
177383 gettext_vers_num=`echo "$gettext_vers" | cvtver`
178384else
179if [ -z "$autoconf_vers" -o -z "$automake_vers" ]385 gettext_vers="n/a"
386fi
387
388if [ -z "$autoconf_vers" -o -z "$automake_vers" -o -z "$gettext_vers" ]
180then389then
181 echo "**Error**: version information not found in "\`${configure_ac}\'"." >&2390 echo "**Error**: version information not found in "\`${configure_ac}\'"." >&2
182 exit 1391 exit 1
183fi392fi
184393
394
185if check_version $AUTOCONF $autoconf_vers_num $autoconf_vers ; then395if check_version $AUTOCONF $autoconf_vers_num $autoconf_vers ; then
186 check_version $AUTOHEADER $autoconf_vers_num $autoconf_vers autoconf396 check_version $AUTOHEADER $autoconf_vers_num $autoconf_vers autoconf
187fi397fi
188if check_version $AUTOMAKE $automake_vers_num $automake_vers; then398if check_version $AUTOMAKE $automake_vers_num $automake_vers; then
189 check_version $ACLOCAL $automake_vers_num $autoconf_vers automake399 check_version $ACLOCAL $automake_vers_num $autoconf_vers automake
190fi400fi
191#if check_version $GETTEXT $gettext_vers_num $gettext_vers; then401if [ "$gettext_vers" != "n/a" ]; then
192# check_version $MSGMERGE $gettext_vers_num $gettext_vers gettext402 if check_version $GETTEXT $gettext_vers_num $gettext_vers; then
193#fi403 check_version $MSGMERGE $gettext_vers_num $gettext_vers gettext
404 fi
405fi
194406
195if test "$DIE" = "yes"; then407if [ "$DIE" = "yes" ]; then
196 cat <<EOF408 cat <<EOF
197409
198Note that you may use alternative versions of the tools by setting410Note that you may use alternative versions of the tools by setting
199the corresponding environment variables; see README.SVN for details.411the corresponding environment variables; see README.GIT for details.
200412
201EOF413EOF
202 exit 1414 die_p
203fi415fi
204416
205echo "Running aclocal -I m4 ${ACLOCAL_FLAGS:+$ACLOCAL_FLAGS }..."417# Check the git setup.
206$ACLOCAL -I m4 $ACLOCAL_FLAGS418if [ -d .git ]; then
207echo "Running autoheader..."419 CP="cp -a"
420 [ -z "${SILENT}" ] && CP="$CP -v"
421 if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
422 [ -z "${SILENT}" ] && cat <<EOF
423*** Activating trailing whitespace git pre-commit hook. ***
424 For more information see this thread:
425 http://mail.gnome.org/archives/desktop-devel-list/2009-May/msg00084html
426 To deactivate this pre-commit hook again move .git/hooks/pre-commit
427 and .git/hooks/pre-commit.sample out of the way.
428EOF
429 $CP .git/hooks/pre-commit.sample .git/hooks/pre-commit
430 chmod +x .git/hooks/pre-commit
431 fi
432
433 if [ "$gettext_vers" != "n/a" ]; then
434 tmp=$(git config --get filter.cleanpo.clean)
435 if [ "$tmp" != \
436 "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'" ]
437 then
438 info "*** Adding GIT filter.cleanpo.clean configuration."
439 git config --add filter.cleanpo.clean \
440 "awk '/^\"POT-Creation-Date:/&&!s{s=1;next};!/^#: /{print}'"
441 fi
442 fi
443 if [ -f build-aux/git-hooks/commit-msg -a ! -f .git/hooks/commit-msg ] ; then
444 [ -z "${SILENT}" ] && cat <<EOF
445*** Activating commit log message check hook. ***
446EOF
447 $CP build-aux/git-hooks/commit-msg .git/hooks/commit-msg
448 chmod +x .git/hooks/commit-msg
449 fi
450fi
451
452aclocal_flags="-I m4"
453if [ -n "${extra_aclocal_flags}" ]; then
454 aclocal_flags="${aclocal_flags} ${extra_aclocal_flags}"
455fi
456if [ -n "${ACLOCAL_FLAGS}" ]; then
457 aclocal_flags="${aclocal_flags} ${ACLOCAL_FLAGS}"
458fi
459info "Running $ACLOCAL ${aclocal_flags} ..."
460$ACLOCAL ${aclocal_flags}
461info "Running autoheader..."
208$AUTOHEADER462$AUTOHEADER
209echo "Running automake --gnu ..."463info "Running automake --gnu ..."
210$AUTOMAKE --gnu464$AUTOMAKE --gnu;
211echo "Running autoconf${FORCE}..."465info "Running autoconf${FORCE} ..."
212$AUTOCONF${FORCE}466$AUTOCONF${FORCE}
213467
214echo "You may now run:468info "You may now run:${am_lf} ${final_info}"
215 ./configure --enable-maintainer-mode && make
216"
217469
=== added file 'build-aux/compile'
--- build-aux/compile 1970-01-01 00:00:00 +0000
+++ build-aux/compile 2015-05-26 02:58:11 +0000
@@ -0,0 +1,347 @@
1#! /bin/sh
2# Wrapper for compilers which do not understand '-c -o'.
3
4scriptversion=2012-10-14.11; # UTC
5
6# Copyright (C) 1999-2013 Free Software Foundation, Inc.
7# Written by Tom Tromey <tromey@cygnus.com>.
8#
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2, or (at your option)
12# any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program. If not, see <http://www.gnu.org/licenses/>.
21
22# As a special exception to the GNU General Public License, if you
23# distribute this file as part of a program that contains a
24# configuration script generated by Autoconf, you may include it under
25# the same distribution terms that you use for the rest of that program.
26
27# This file is maintained in Automake, please report
28# bugs to <bug-automake@gnu.org> or send patches to
29# <automake-patches@gnu.org>.
30
31nl='
32'
33
34# We need space, tab and new line, in precisely that order. Quoting is
35# there to prevent tools from complaining about whitespace usage.
36IFS=" "" $nl"
37
38file_conv=
39
40# func_file_conv build_file lazy
41# Convert a $build file to $host form and store it in $file
42# Currently only supports Windows hosts. If the determined conversion
43# type is listed in (the comma separated) LAZY, no conversion will
44# take place.
45func_file_conv ()
46{
47 file=$1
48 case $file in
49 / | /[!/]*) # absolute file, and not a UNC file
50 if test -z "$file_conv"; then
51 # lazily determine how to convert abs files
52 case `uname -s` in
53 MINGW*)
54 file_conv=mingw
55 ;;
56 CYGWIN*)
57 file_conv=cygwin
58 ;;
59 *)
60 file_conv=wine
61 ;;
62 esac
63 fi
64 case $file_conv/,$2, in
65 *,$file_conv,*)
66 ;;
67 mingw/*)
68 file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
69 ;;
70 cygwin/*)
71 file=`cygpath -m "$file" || echo "$file"`
72 ;;
73 wine/*)
74 file=`winepath -w "$file" || echo "$file"`
75 ;;
76 esac
77 ;;
78 esac
79}
80
81# func_cl_dashL linkdir
82# Make cl look for libraries in LINKDIR
83func_cl_dashL ()
84{
85 func_file_conv "$1"
86 if test -z "$lib_path"; then
87 lib_path=$file
88 else
89 lib_path="$lib_path;$file"
90 fi
91 linker_opts="$linker_opts -LIBPATH:$file"
92}
93
94# func_cl_dashl library
95# Do a library search-path lookup for cl
96func_cl_dashl ()
97{
98 lib=$1
99 found=no
100 save_IFS=$IFS
101 IFS=';'
102 for dir in $lib_path $LIB
103 do
104 IFS=$save_IFS
105 if $shared && test -f "$dir/$lib.dll.lib"; then
106 found=yes
107 lib=$dir/$lib.dll.lib
108 break
109 fi
110 if test -f "$dir/$lib.lib"; then
111 found=yes
112 lib=$dir/$lib.lib
113 break
114 fi
115 if test -f "$dir/lib$lib.a"; then
116 found=yes
117 lib=$dir/lib$lib.a
118 break
119 fi
120 done
121 IFS=$save_IFS
122
123 if test "$found" != yes; then
124 lib=$lib.lib
125 fi
126}
127
128# func_cl_wrapper cl arg...
129# Adjust compile command to suit cl
130func_cl_wrapper ()
131{
132 # Assume a capable shell
133 lib_path=
134 shared=:
135 linker_opts=
136 for arg
137 do
138 if test -n "$eat"; then
139 eat=
140 else
141 case $1 in
142 -o)
143 # configure might choose to run compile as 'compile cc -o foo foo.c'.
144 eat=1
145 case $2 in
146 *.o | *.[oO][bB][jJ])
147 func_file_conv "$2"
148 set x "$@" -Fo"$file"
149 shift
150 ;;
151 *)
152 func_file_conv "$2"
153 set x "$@" -Fe"$file"
154 shift
155 ;;
156 esac
157 ;;
158 -I)
159 eat=1
160 func_file_conv "$2" mingw
161 set x "$@" -I"$file"
162 shift
163 ;;
164 -I*)
165 func_file_conv "${1#-I}" mingw
166 set x "$@" -I"$file"
167 shift
168 ;;
169 -l)
170 eat=1
171 func_cl_dashl "$2"
172 set x "$@" "$lib"
173 shift
174 ;;
175 -l*)
176 func_cl_dashl "${1#-l}"
177 set x "$@" "$lib"
178 shift
179 ;;
180 -L)
181 eat=1
182 func_cl_dashL "$2"
183 ;;
184 -L*)
185 func_cl_dashL "${1#-L}"
186 ;;
187 -static)
188 shared=false
189 ;;
190 -Wl,*)
191 arg=${1#-Wl,}
192 save_ifs="$IFS"; IFS=','
193 for flag in $arg; do
194 IFS="$save_ifs"
195 linker_opts="$linker_opts $flag"
196 done
197 IFS="$save_ifs"
198 ;;
199 -Xlinker)
200 eat=1
201 linker_opts="$linker_opts $2"
202 ;;
203 -*)
204 set x "$@" "$1"
205 shift
206 ;;
207 *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
208 func_file_conv "$1"
209 set x "$@" -Tp"$file"
210 shift
211 ;;
212 *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
213 func_file_conv "$1" mingw
214 set x "$@" "$file"
215 shift
216 ;;
217 *)
218 set x "$@" "$1"
219 shift
220 ;;
221 esac
222 fi
223 shift
224 done
225 if test -n "$linker_opts"; then
226 linker_opts="-link$linker_opts"
227 fi
228 exec "$@" $linker_opts
229 exit 1
230}
231
232eat=
233
234case $1 in
235 '')
236 echo "$0: No command. Try '$0 --help' for more information." 1>&2
237 exit 1;
238 ;;
239 -h | --h*)
240 cat <<\EOF
241Usage: compile [--help] [--version] PROGRAM [ARGS]
242
243Wrapper for compilers which do not understand '-c -o'.
244Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
245arguments, and rename the output as expected.
246
247If you are trying to build a whole package this is not the
248right script to run: please start by reading the file 'INSTALL'.
249
250Report bugs to <bug-automake@gnu.org>.
251EOF
252 exit $?
253 ;;
254 -v | --v*)
255 echo "compile $scriptversion"
256 exit $?
257 ;;
258 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
259 func_cl_wrapper "$@" # Doesn't return...
260 ;;
261esac
262
263ofile=
264cfile=
265
266for arg
267do
268 if test -n "$eat"; then
269 eat=
270 else
271 case $1 in
272 -o)
273 # configure might choose to run compile as 'compile cc -o foo foo.c'.
274 # So we strip '-o arg' only if arg is an object.
275 eat=1
276 case $2 in
277 *.o | *.obj)
278 ofile=$2
279 ;;
280 *)
281 set x "$@" -o "$2"
282 shift
283 ;;
284 esac
285 ;;
286 *.c)
287 cfile=$1
288 set x "$@" "$1"
289 shift
290 ;;
291 *)
292 set x "$@" "$1"
293 shift
294 ;;
295 esac
296 fi
297 shift
298done
299
300if test -z "$ofile" || test -z "$cfile"; then
301 # If no '-o' option was seen then we might have been invoked from a
302 # pattern rule where we don't need one. That is ok -- this is a
303 # normal compilation that the losing compiler can handle. If no
304 # '.c' file was seen then we are probably linking. That is also
305 # ok.
306 exec "$@"
307fi
308
309# Name of file we expect compiler to create.
310cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
311
312# Create the lock directory.
313# Note: use '[/\\:.-]' here to ensure that we don't use the same name
314# that we are using for the .o file. Also, base the name on the expected
315# object file name, since that is what matters with a parallel build.
316lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
317while true; do
318 if mkdir "$lockdir" >/dev/null 2>&1; then
319 break
320 fi
321 sleep 1
322done
323# FIXME: race condition here if user kills between mkdir and trap.
324trap "rmdir '$lockdir'; exit 1" 1 2 15
325
326# Run the compile.
327"$@"
328ret=$?
329
330if test -f "$cofile"; then
331 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
332elif test -f "${cofile}bj"; then
333 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
334fi
335
336rmdir "$lockdir"
337exit $ret
338
339# Local Variables:
340# mode: shell-script
341# sh-indentation: 2
342# eval: (add-hook 'write-file-hooks 'time-stamp)
343# time-stamp-start: "scriptversion="
344# time-stamp-format: "%:y-%02m-%02d.%02H"
345# time-stamp-time-zone: "UTC"
346# time-stamp-end: "; # UTC"
347# End:
0348
=== added file 'build-aux/config.guess'
--- build-aux/config.guess 1970-01-01 00:00:00 +0000
+++ build-aux/config.guess 2015-05-26 02:58:11 +0000
@@ -0,0 +1,1421 @@
1#! /bin/sh
2# Attempt to guess a canonical system name.
3# Copyright 1992-2015 Free Software Foundation, Inc.
4
5timestamp='2015-01-01'
6
7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 3 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15# General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, see <http://www.gnu.org/licenses/>.
19#
20# As a special exception to the GNU General Public License, if you
21# distribute this file as part of a program that contains a
22# configuration script generated by Autoconf, you may include it under
23# the same distribution terms that you use for the rest of that
24# program. This Exception is an additional permission under section 7
25# of the GNU General Public License, version 3 ("GPLv3").
26#
27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
28#
29# You can get the latest version of this script from:
30# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
31#
32# Please send patches to <config-patches@gnu.org>.
33
34
35me=`echo "$0" | sed -e 's,.*/,,'`
36
37usage="\
38Usage: $0 [OPTION]
39
40Output the configuration name of the system \`$me' is run on.
41
42Operation modes:
43 -h, --help print this help, then exit
44 -t, --time-stamp print date of last modification, then exit
45 -v, --version print version number, then exit
46
47Report bugs and patches to <config-patches@gnu.org>."
48
49version="\
50GNU config.guess ($timestamp)
51
52Originally written by Per Bothner.
53Copyright 1992-2015 Free Software Foundation, Inc.
54
55This is free software; see the source for copying conditions. There is NO
56warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
57
58help="
59Try \`$me --help' for more information."
60
61# Parse command line
62while test $# -gt 0 ; do
63 case $1 in
64 --time-stamp | --time* | -t )
65 echo "$timestamp" ; exit ;;
66 --version | -v )
67 echo "$version" ; exit ;;
68 --help | --h* | -h )
69 echo "$usage"; exit ;;
70 -- ) # Stop option processing
71 shift; break ;;
72 - ) # Use stdin as input.
73 break ;;
74 -* )
75 echo "$me: invalid option $1$help" >&2
76 exit 1 ;;
77 * )
78 break ;;
79 esac
80done
81
82if test $# != 0; then
83 echo "$me: too many arguments$help" >&2
84 exit 1
85fi
86
87trap 'exit 1' 1 2 15
88
89# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
90# compiler to aid in system detection is discouraged as it requires
91# temporary files to be created and, as you can see below, it is a
92# headache to deal with in a portable fashion.
93
94# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
95# use `HOST_CC' if defined, but it is deprecated.
96
97# Portable tmp directory creation inspired by the Autoconf team.
98
99set_cc_for_build='
100trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
101trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
102: ${TMPDIR=/tmp} ;
103 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
104 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
105 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
106 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
107dummy=$tmp/dummy ;
108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109case $CC_FOR_BUILD,$HOST_CC,$CC in
110 ,,) echo "int x;" > $dummy.c ;
111 for c in cc gcc c89 c99 ; do
112 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
113 CC_FOR_BUILD="$c"; break ;
114 fi ;
115 done ;
116 if test x"$CC_FOR_BUILD" = x ; then
117 CC_FOR_BUILD=no_compiler_found ;
118 fi
119 ;;
120 ,,*) CC_FOR_BUILD=$CC ;;
121 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
122esac ; set_cc_for_build= ;'
123
124# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
125# (ghazi@noc.rutgers.edu 1994-08-24)
126if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
127 PATH=$PATH:/.attbin ; export PATH
128fi
129
130UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
134
135case "${UNAME_SYSTEM}" in
136Linux|GNU|GNU/*)
137 # If the system lacks a compiler, then just pick glibc.
138 # We could probably try harder.
139 LIBC=gnu
140
141 eval $set_cc_for_build
142 cat <<-EOF > $dummy.c
143 #include <features.h>
144 #if defined(__UCLIBC__)
145 LIBC=uclibc
146 #elif defined(__dietlibc__)
147 LIBC=dietlibc
148 #else
149 LIBC=gnu
150 #endif
151 EOF
152 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
153 ;;
154esac
155
156# Note: order is significant - the case branches are not exclusive.
157
158case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
159 *:NetBSD:*:*)
160 # NetBSD (nbsd) targets should (where applicable) match one or
161 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
162 # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
163 # switched to ELF, *-*-netbsd* would select the old
164 # object file format. This provides both forward
165 # compatibility and a consistent mechanism for selecting the
166 # object file format.
167 #
168 # Note: NetBSD doesn't particularly care about the vendor
169 # portion of the name. We always set it to "unknown".
170 sysctl="sysctl -n hw.machine_arch"
171 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
172 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
173 case "${UNAME_MACHINE_ARCH}" in
174 armeb) machine=armeb-unknown ;;
175 arm*) machine=arm-unknown ;;
176 sh3el) machine=shl-unknown ;;
177 sh3eb) machine=sh-unknown ;;
178 sh5el) machine=sh5le-unknown ;;
179 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
180 esac
181 # The Operating System including object format, if it has switched
182 # to ELF recently, or will in the future.
183 case "${UNAME_MACHINE_ARCH}" in
184 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
185 eval $set_cc_for_build
186 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
187 | grep -q __ELF__
188 then
189 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
190 # Return netbsd for either. FIX?
191 os=netbsd
192 else
193 os=netbsdelf
194 fi
195 ;;
196 *)
197 os=netbsd
198 ;;
199 esac
200 # The OS release
201 # Debian GNU/NetBSD machines have a different userland, and
202 # thus, need a distinct triplet. However, they do not need
203 # kernel version information, so it can be replaced with a
204 # suitable tag, in the style of linux-gnu.
205 case "${UNAME_VERSION}" in
206 Debian*)
207 release='-gnu'
208 ;;
209 *)
210 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
211 ;;
212 esac
213 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
214 # contains redundant information, the shorter form:
215 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
216 echo "${machine}-${os}${release}"
217 exit ;;
218 *:Bitrig:*:*)
219 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
220 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
221 exit ;;
222 *:OpenBSD:*:*)
223 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
224 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
225 exit ;;
226 *:ekkoBSD:*:*)
227 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
228 exit ;;
229 *:SolidBSD:*:*)
230 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
231 exit ;;
232 macppc:MirBSD:*:*)
233 echo powerpc-unknown-mirbsd${UNAME_RELEASE}
234 exit ;;
235 *:MirBSD:*:*)
236 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
237 exit ;;
238 alpha:OSF1:*:*)
239 case $UNAME_RELEASE in
240 *4.0)
241 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
242 ;;
243 *5.*)
244 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
245 ;;
246 esac
247 # According to Compaq, /usr/sbin/psrinfo has been available on
248 # OSF/1 and Tru64 systems produced since 1995. I hope that
249 # covers most systems running today. This code pipes the CPU
250 # types through head -n 1, so we only detect the type of CPU 0.
251 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
252 case "$ALPHA_CPU_TYPE" in
253 "EV4 (21064)")
254 UNAME_MACHINE="alpha" ;;
255 "EV4.5 (21064)")
256 UNAME_MACHINE="alpha" ;;
257 "LCA4 (21066/21068)")
258 UNAME_MACHINE="alpha" ;;
259 "EV5 (21164)")
260 UNAME_MACHINE="alphaev5" ;;
261 "EV5.6 (21164A)")
262 UNAME_MACHINE="alphaev56" ;;
263 "EV5.6 (21164PC)")
264 UNAME_MACHINE="alphapca56" ;;
265 "EV5.7 (21164PC)")
266 UNAME_MACHINE="alphapca57" ;;
267 "EV6 (21264)")
268 UNAME_MACHINE="alphaev6" ;;
269 "EV6.7 (21264A)")
270 UNAME_MACHINE="alphaev67" ;;
271 "EV6.8CB (21264C)")
272 UNAME_MACHINE="alphaev68" ;;
273 "EV6.8AL (21264B)")
274 UNAME_MACHINE="alphaev68" ;;
275 "EV6.8CX (21264D)")
276 UNAME_MACHINE="alphaev68" ;;
277 "EV6.9A (21264/EV69A)")
278 UNAME_MACHINE="alphaev69" ;;
279 "EV7 (21364)")
280 UNAME_MACHINE="alphaev7" ;;
281 "EV7.9 (21364A)")
282 UNAME_MACHINE="alphaev79" ;;
283 esac
284 # A Pn.n version is a patched version.
285 # A Vn.n version is a released version.
286 # A Tn.n version is a released field test version.
287 # A Xn.n version is an unreleased experimental baselevel.
288 # 1.2 uses "1.2" for uname -r.
289 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
290 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
291 exitcode=$?
292 trap '' 0
293 exit $exitcode ;;
294 Alpha\ *:Windows_NT*:*)
295 # How do we know it's Interix rather than the generic POSIX subsystem?
296 # Should we change UNAME_MACHINE based on the output of uname instead
297 # of the specific Alpha model?
298 echo alpha-pc-interix
299 exit ;;
300 21064:Windows_NT:50:3)
301 echo alpha-dec-winnt3.5
302 exit ;;
303 Amiga*:UNIX_System_V:4.0:*)
304 echo m68k-unknown-sysv4
305 exit ;;
306 *:[Aa]miga[Oo][Ss]:*:*)
307 echo ${UNAME_MACHINE}-unknown-amigaos
308 exit ;;
309 *:[Mm]orph[Oo][Ss]:*:*)
310 echo ${UNAME_MACHINE}-unknown-morphos
311 exit ;;
312 *:OS/390:*:*)
313 echo i370-ibm-openedition
314 exit ;;
315 *:z/VM:*:*)
316 echo s390-ibm-zvmoe
317 exit ;;
318 *:OS400:*:*)
319 echo powerpc-ibm-os400
320 exit ;;
321 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
322 echo arm-acorn-riscix${UNAME_RELEASE}
323 exit ;;
324 arm*:riscos:*:*|arm*:RISCOS:*:*)
325 echo arm-unknown-riscos
326 exit ;;
327 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
328 echo hppa1.1-hitachi-hiuxmpp
329 exit ;;
330 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
331 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
332 if test "`(/bin/universe) 2>/dev/null`" = att ; then
333 echo pyramid-pyramid-sysv3
334 else
335 echo pyramid-pyramid-bsd
336 fi
337 exit ;;
338 NILE*:*:*:dcosx)
339 echo pyramid-pyramid-svr4
340 exit ;;
341 DRS?6000:unix:4.0:6*)
342 echo sparc-icl-nx6
343 exit ;;
344 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
345 case `/usr/bin/uname -p` in
346 sparc) echo sparc-icl-nx7; exit ;;
347 esac ;;
348 s390x:SunOS:*:*)
349 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
350 exit ;;
351 sun4H:SunOS:5.*:*)
352 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
353 exit ;;
354 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
355 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
356 exit ;;
357 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
358 echo i386-pc-auroraux${UNAME_RELEASE}
359 exit ;;
360 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
361 eval $set_cc_for_build
362 SUN_ARCH="i386"
363 # If there is a compiler, see if it is configured for 64-bit objects.
364 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
365 # This test works for both compilers.
366 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
367 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
368 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
369 grep IS_64BIT_ARCH >/dev/null
370 then
371 SUN_ARCH="x86_64"
372 fi
373 fi
374 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
375 exit ;;
376 sun4*:SunOS:6*:*)
377 # According to config.sub, this is the proper way to canonicalize
378 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
379 # it's likely to be more like Solaris than SunOS4.
380 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
381 exit ;;
382 sun4*:SunOS:*:*)
383 case "`/usr/bin/arch -k`" in
384 Series*|S4*)
385 UNAME_RELEASE=`uname -v`
386 ;;
387 esac
388 # Japanese Language versions have a version number like `4.1.3-JL'.
389 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
390 exit ;;
391 sun3*:SunOS:*:*)
392 echo m68k-sun-sunos${UNAME_RELEASE}
393 exit ;;
394 sun*:*:4.2BSD:*)
395 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
396 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
397 case "`/bin/arch`" in
398 sun3)
399 echo m68k-sun-sunos${UNAME_RELEASE}
400 ;;
401 sun4)
402 echo sparc-sun-sunos${UNAME_RELEASE}
403 ;;
404 esac
405 exit ;;
406 aushp:SunOS:*:*)
407 echo sparc-auspex-sunos${UNAME_RELEASE}
408 exit ;;
409 # The situation for MiNT is a little confusing. The machine name
410 # can be virtually everything (everything which is not
411 # "atarist" or "atariste" at least should have a processor
412 # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
413 # to the lowercase version "mint" (or "freemint"). Finally
414 # the system name "TOS" denotes a system which is actually not
415 # MiNT. But MiNT is downward compatible to TOS, so this should
416 # be no problem.
417 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
418 echo m68k-atari-mint${UNAME_RELEASE}
419 exit ;;
420 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
421 echo m68k-atari-mint${UNAME_RELEASE}
422 exit ;;
423 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
424 echo m68k-atari-mint${UNAME_RELEASE}
425 exit ;;
426 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
427 echo m68k-milan-mint${UNAME_RELEASE}
428 exit ;;
429 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
430 echo m68k-hades-mint${UNAME_RELEASE}
431 exit ;;
432 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
433 echo m68k-unknown-mint${UNAME_RELEASE}
434 exit ;;
435 m68k:machten:*:*)
436 echo m68k-apple-machten${UNAME_RELEASE}
437 exit ;;
438 powerpc:machten:*:*)
439 echo powerpc-apple-machten${UNAME_RELEASE}
440 exit ;;
441 RISC*:Mach:*:*)
442 echo mips-dec-mach_bsd4.3
443 exit ;;
444 RISC*:ULTRIX:*:*)
445 echo mips-dec-ultrix${UNAME_RELEASE}
446 exit ;;
447 VAX*:ULTRIX*:*:*)
448 echo vax-dec-ultrix${UNAME_RELEASE}
449 exit ;;
450 2020:CLIX:*:* | 2430:CLIX:*:*)
451 echo clipper-intergraph-clix${UNAME_RELEASE}
452 exit ;;
453 mips:*:*:UMIPS | mips:*:*:RISCos)
454 eval $set_cc_for_build
455 sed 's/^ //' << EOF >$dummy.c
456#ifdef __cplusplus
457#include <stdio.h> /* for printf() prototype */
458 int main (int argc, char *argv[]) {
459#else
460 int main (argc, argv) int argc; char *argv[]; {
461#endif
462 #if defined (host_mips) && defined (MIPSEB)
463 #if defined (SYSTYPE_SYSV)
464 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
465 #endif
466 #if defined (SYSTYPE_SVR4)
467 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
468 #endif
469 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
470 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
471 #endif
472 #endif
473 exit (-1);
474 }
475EOF
476 $CC_FOR_BUILD -o $dummy $dummy.c &&
477 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
478 SYSTEM_NAME=`$dummy $dummyarg` &&
479 { echo "$SYSTEM_NAME"; exit; }
480 echo mips-mips-riscos${UNAME_RELEASE}
481 exit ;;
482 Motorola:PowerMAX_OS:*:*)
483 echo powerpc-motorola-powermax
484 exit ;;
485 Motorola:*:4.3:PL8-*)
486 echo powerpc-harris-powermax
487 exit ;;
488 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
489 echo powerpc-harris-powermax
490 exit ;;
491 Night_Hawk:Power_UNIX:*:*)
492 echo powerpc-harris-powerunix
493 exit ;;
494 m88k:CX/UX:7*:*)
495 echo m88k-harris-cxux7
496 exit ;;
497 m88k:*:4*:R4*)
498 echo m88k-motorola-sysv4
499 exit ;;
500 m88k:*:3*:R3*)
501 echo m88k-motorola-sysv3
502 exit ;;
503 AViiON:dgux:*:*)
504 # DG/UX returns AViiON for all architectures
505 UNAME_PROCESSOR=`/usr/bin/uname -p`
506 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
507 then
508 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
509 [ ${TARGET_BINARY_INTERFACE}x = x ]
510 then
511 echo m88k-dg-dgux${UNAME_RELEASE}
512 else
513 echo m88k-dg-dguxbcs${UNAME_RELEASE}
514 fi
515 else
516 echo i586-dg-dgux${UNAME_RELEASE}
517 fi
518 exit ;;
519 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
520 echo m88k-dolphin-sysv3
521 exit ;;
522 M88*:*:R3*:*)
523 # Delta 88k system running SVR3
524 echo m88k-motorola-sysv3
525 exit ;;
526 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
527 echo m88k-tektronix-sysv3
528 exit ;;
529 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
530 echo m68k-tektronix-bsd
531 exit ;;
532 *:IRIX*:*:*)
533 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
534 exit ;;
535 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
536 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
537 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
538 i*86:AIX:*:*)
539 echo i386-ibm-aix
540 exit ;;
541 ia64:AIX:*:*)
542 if [ -x /usr/bin/oslevel ] ; then
543 IBM_REV=`/usr/bin/oslevel`
544 else
545 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
546 fi
547 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
548 exit ;;
549 *:AIX:2:3)
550 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
551 eval $set_cc_for_build
552 sed 's/^ //' << EOF >$dummy.c
553 #include <sys/systemcfg.h>
554
555 main()
556 {
557 if (!__power_pc())
558 exit(1);
559 puts("powerpc-ibm-aix3.2.5");
560 exit(0);
561 }
562EOF
563 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
564 then
565 echo "$SYSTEM_NAME"
566 else
567 echo rs6000-ibm-aix3.2.5
568 fi
569 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
570 echo rs6000-ibm-aix3.2.4
571 else
572 echo rs6000-ibm-aix3.2
573 fi
574 exit ;;
575 *:AIX:*:[4567])
576 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
577 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
578 IBM_ARCH=rs6000
579 else
580 IBM_ARCH=powerpc
581 fi
582 if [ -x /usr/bin/lslpp ] ; then
583 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
584 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
585 else
586 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
587 fi
588 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
589 exit ;;
590 *:AIX:*:*)
591 echo rs6000-ibm-aix
592 exit ;;
593 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
594 echo romp-ibm-bsd4.4
595 exit ;;
596 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
597 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
598 exit ;; # report: romp-ibm BSD 4.3
599 *:BOSX:*:*)
600 echo rs6000-bull-bosx
601 exit ;;
602 DPX/2?00:B.O.S.:*:*)
603 echo m68k-bull-sysv3
604 exit ;;
605 9000/[34]??:4.3bsd:1.*:*)
606 echo m68k-hp-bsd
607 exit ;;
608 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
609 echo m68k-hp-bsd4.4
610 exit ;;
611 9000/[34678]??:HP-UX:*:*)
612 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
613 case "${UNAME_MACHINE}" in
614 9000/31? ) HP_ARCH=m68000 ;;
615 9000/[34]?? ) HP_ARCH=m68k ;;
616 9000/[678][0-9][0-9])
617 if [ -x /usr/bin/getconf ]; then
618 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
619 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
620 case "${sc_cpu_version}" in
621 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
622 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
623 532) # CPU_PA_RISC2_0
624 case "${sc_kernel_bits}" in
625 32) HP_ARCH="hppa2.0n" ;;
626 64) HP_ARCH="hppa2.0w" ;;
627 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
628 esac ;;
629 esac
630 fi
631 if [ "${HP_ARCH}" = "" ]; then
632 eval $set_cc_for_build
633 sed 's/^ //' << EOF >$dummy.c
634
635 #define _HPUX_SOURCE
636 #include <stdlib.h>
637 #include <unistd.h>
638
639 int main ()
640 {
641 #if defined(_SC_KERNEL_BITS)
642 long bits = sysconf(_SC_KERNEL_BITS);
643 #endif
644 long cpu = sysconf (_SC_CPU_VERSION);
645
646 switch (cpu)
647 {
648 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
649 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
650 case CPU_PA_RISC2_0:
651 #if defined(_SC_KERNEL_BITS)
652 switch (bits)
653 {
654 case 64: puts ("hppa2.0w"); break;
655 case 32: puts ("hppa2.0n"); break;
656 default: puts ("hppa2.0"); break;
657 } break;
658 #else /* !defined(_SC_KERNEL_BITS) */
659 puts ("hppa2.0"); break;
660 #endif
661 default: puts ("hppa1.0"); break;
662 }
663 exit (0);
664 }
665EOF
666 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
667 test -z "$HP_ARCH" && HP_ARCH=hppa
668 fi ;;
669 esac
670 if [ ${HP_ARCH} = "hppa2.0w" ]
671 then
672 eval $set_cc_for_build
673
674 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
675 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
676 # generating 64-bit code. GNU and HP use different nomenclature:
677 #
678 # $ CC_FOR_BUILD=cc ./config.guess
679 # => hppa2.0w-hp-hpux11.23
680 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
681 # => hppa64-hp-hpux11.23
682
683 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
684 grep -q __LP64__
685 then
686 HP_ARCH="hppa2.0w"
687 else
688 HP_ARCH="hppa64"
689 fi
690 fi
691 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
692 exit ;;
693 ia64:HP-UX:*:*)
694 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
695 echo ia64-hp-hpux${HPUX_REV}
696 exit ;;
697 3050*:HI-UX:*:*)
698 eval $set_cc_for_build
699 sed 's/^ //' << EOF >$dummy.c
700 #include <unistd.h>
701 int
702 main ()
703 {
704 long cpu = sysconf (_SC_CPU_VERSION);
705 /* The order matters, because CPU_IS_HP_MC68K erroneously returns
706 true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
707 results, however. */
708 if (CPU_IS_PA_RISC (cpu))
709 {
710 switch (cpu)
711 {
712 case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
713 case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
714 case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
715 default: puts ("hppa-hitachi-hiuxwe2"); break;
716 }
717 }
718 else if (CPU_IS_HP_MC68K (cpu))
719 puts ("m68k-hitachi-hiuxwe2");
720 else puts ("unknown-hitachi-hiuxwe2");
721 exit (0);
722 }
723EOF
724 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
725 { echo "$SYSTEM_NAME"; exit; }
726 echo unknown-hitachi-hiuxwe2
727 exit ;;
728 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
729 echo hppa1.1-hp-bsd
730 exit ;;
731 9000/8??:4.3bsd:*:*)
732 echo hppa1.0-hp-bsd
733 exit ;;
734 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
735 echo hppa1.0-hp-mpeix
736 exit ;;
737 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
738 echo hppa1.1-hp-osf
739 exit ;;
740 hp8??:OSF1:*:*)
741 echo hppa1.0-hp-osf
742 exit ;;
743 i*86:OSF1:*:*)
744 if [ -x /usr/sbin/sysversion ] ; then
745 echo ${UNAME_MACHINE}-unknown-osf1mk
746 else
747 echo ${UNAME_MACHINE}-unknown-osf1
748 fi
749 exit ;;
750 parisc*:Lites*:*:*)
751 echo hppa1.1-hp-lites
752 exit ;;
753 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
754 echo c1-convex-bsd
755 exit ;;
756 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
757 if getsysinfo -f scalar_acc
758 then echo c32-convex-bsd
759 else echo c2-convex-bsd
760 fi
761 exit ;;
762 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
763 echo c34-convex-bsd
764 exit ;;
765 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
766 echo c38-convex-bsd
767 exit ;;
768 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
769 echo c4-convex-bsd
770 exit ;;
771 CRAY*Y-MP:*:*:*)
772 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
773 exit ;;
774 CRAY*[A-Z]90:*:*:*)
775 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
776 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
777 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
778 -e 's/\.[^.]*$/.X/'
779 exit ;;
780 CRAY*TS:*:*:*)
781 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
782 exit ;;
783 CRAY*T3E:*:*:*)
784 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
785 exit ;;
786 CRAY*SV1:*:*:*)
787 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
788 exit ;;
789 *:UNICOS/mp:*:*)
790 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
791 exit ;;
792 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
793 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
794 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
795 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
796 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
797 exit ;;
798 5000:UNIX_System_V:4.*:*)
799 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
800 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
801 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
802 exit ;;
803 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
804 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
805 exit ;;
806 sparc*:BSD/OS:*:*)
807 echo sparc-unknown-bsdi${UNAME_RELEASE}
808 exit ;;
809 *:BSD/OS:*:*)
810 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: