1 diff -uNr mutt-1.4.orig/ChangeLog.nntp mutt-1.4/ChangeLog.nntp
2 --- mutt-1.4.orig/ChangeLog.nntp Thu Jan 1 01:00:00 1970
3 +++ mutt-1.4/ChangeLog.nntp Sun Nov 3 21:57:20 2002
5 +* Wed May 29 2002 Vsevolod Volkov <vvv@mutt.org.ua>
8 +* Thu May 2 2002 Vsevolod Volkov <vvv@mutt.org.ua>
11 +* Wed Mar 13 2002 Vsevolod Volkov <vvv@mutt.org.ua>
13 +- fixed SIGSEGV in <get-message>, <get-parent>, <get-children>,
14 + <reconstruct-thread> functions
15 +- fixed message about nntp reconnect
16 +- fixed <attach-news-message> function using browser
17 +- added support of Followup-To: poster
18 +- added %n (new articles) in group_index_format
19 +- posting articles without inews by default
21 +* Wed Jan 23 2002 Vsevolod Volkov <vvv@mutt.org.ua>
24 +* Fri Jan 18 2002 Vsevolod Volkov <vvv@mutt.org.ua>
27 +* Thu Jan 3 2002 Vsevolod Volkov <vvv@mutt.org.ua>
29 +- accelerated speed of access to news->newsgroups hash (by <gul@gul.kiev.ua>)
30 +- added default content disposition
32 +* Mon Dec 3 2001 Vsevolod Volkov <vvv@mutt.org.ua>
35 +* Fri Nov 9 2001 Vsevolod Volkov <vvv@mutt.org.ua>
37 +- fixed segfault if mutt_conn_find() returns null
39 +* Wed Oct 31 2001 Vsevolod Volkov <vvv@mutt.org.ua>
41 +- added support of LISTGROUP command
42 +- added support for servers with broken overview
43 +- disabled <flag-message> function on news server
44 +- fixed error storing bad authentication information
46 +* Wed Oct 10 2001 Vsevolod Volkov <vvv@mutt.org.ua>
48 +- fixed typo in buffy.c
49 +- added substitution of %s parameter in $inews variable
51 +* Fri Aug 31 2001 Vsevolod Volkov <vvv@mutt.org.ua>
55 +* Thu Aug 23 2001 Vsevolod Volkov <vvv@mutt.org.ua>
58 +* Wed Jul 25 2001 Vsevolod Volkov <vvv@mutt.org.ua>
60 +- removed 'server-hook', use 'account-hook' instead
61 +- fixed error opening NNTP server without newsgroup using -f option
63 +* Fri Jun 8 2001 Vsevolod Volkov <vvv@mutt.org.ua>
66 +* Sat May 5 2001 Vsevolod Volkov <vvv@mutt.org.ua>
68 +- fixed typo in nntp_attempt_features()
69 +- changed algorithm of XGTITLE command testing
70 +- disabled writing of NNTP password in debug file
71 +- fixed reading and writing of long newsrc lines
72 +- changed checking of last line while reading lines from server
73 +- fixed possible buffer overrun in nntp_parse_newsrc_line()
74 +- removed checking of XHDR command
75 +- compare NNTP return codes without trailing space
77 +* Thu Mar 29 2001 Vsevolod Volkov <vvv@mutt.org.ua>
79 +- support for 'LIST NEWSGROUPS' command to read descriptions
81 +* Fri Mar 2 2001 Vsevolod Volkov <vvv@mutt.org.ua>
84 +* Wed Feb 14 2001 Vsevolod Volkov <vvv@mutt.org.ua>
87 +* Sun Jan 28 2001 Vsevolod Volkov <vvv@mutt.org.ua>
89 +- show number of tagged messages patch from Felix von Leitner <leitner@fefe.de>
91 +* Sun Dec 31 2000 Vsevolod Volkov <vvv@mutt.org.ua>
94 +* Sat Dec 30 2000 Vsevolod Volkov <vvv@mutt.org.ua>
95 +- Fixed problem if last article in group is deleted
97 +* Fri Dec 22 2000 Vsevolod Volkov <vvv@mutt.org.ua>
98 +- Fixed checking of XGTITLE command on some servers
100 +* Mon Dec 18 2000 Vsevolod Volkov <vvv@mutt.org.ua>
101 +- Added \r in AUTHINFO commands
103 +* Mon Nov 27 2000 Vsevolod Volkov <vvv@mutt.org.ua>
106 +* Wed Nov 1 2000 Vsevolod Volkov <vvv@mutt.org.ua>
108 +- fixed error opening newsgroup from mutt started with -g or -G
110 +* Thu Oct 12 2000 Vsevolod Volkov <vvv@mutt.org.ua>
112 +- hotkey 'G' (get-message) replaced with '^G'
114 +* Thu Sep 21 2000 Vsevolod Volkov <vvv@mutt.org.ua>
116 +- changed delay displaying error messages from 1 to 2 seconds
117 +- fixed error compiling with nntp and without imap
119 +* Wed Sep 6 2000 Vsevolod Volkov <vvv@mutt.org.ua>
120 +- fixed catchup in index
121 +- fixed nntp_open_mailbox()
123 +* Sat Sep 2 2000 Vsevolod Volkov <vvv@mutt.org.ua>
124 +- functions <edit> and <delete-entry> disabled
125 +- format of news mailbox names changed to url form
126 +- option nntp_attempts removed
127 +- option reconnect_news renamed to nntp_reconnect
128 +- default value of nntp_poll changed from 30 to 60
129 +- error handling improved
131 +* Wed Aug 30 2000 Vsevolod Volkov <vvv@mutt.org.ua>
133 +- new option show_only_unread
134 +- add newsgroup completion
136 +* Fri Aug 4 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
139 +* Sat Jul 29 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
142 +* Sun Jul 9 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
144 +- authentication code update
145 +- fix for changing to newsgroup from mailbox with read messages
146 +- socket code optimization
148 +* Wed Jun 21 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
151 +* Wed Jun 14 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
152 +- don't substitute current newsgroup with deleted new messages
154 +* Mon Jun 12 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
156 +- fix for substitution of newsgroup after reconnection
157 +- fix for loading newsgroups with very long names
158 +- fix for loading more than 32768 newsgroups
160 +* Wed May 24 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
163 +* Sat May 20 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
166 +* Fri May 12 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
169 +* Thu May 11 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
172 +* Thu May 4 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
175 +* Sun Apr 23 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
178 +* Fri Apr 7 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
179 +- add substitution of newsgroup with new messages by default
181 +* Wed Apr 5 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
182 +- add attach message from newsgroup
183 +- add one-line help in newsreader mode
184 +- disable 'change-dir' command in newsgroups browser
187 +* Tue Apr 4 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
188 +- get default newsserver name from file /etc/nntpserver
189 +- use case insensitive server names
190 +- add print-style sequence %s to $newsrc
193 +* Sat Apr 1 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
194 +- remove 'X-FTN-Origin' header processing
196 +* Thu Mar 30 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
200 +* Thu Mar 23 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
201 +- fix mutt_select_newsserver()
202 +- remove 'toggle-mode' function
203 +- add 'change-newsgroup' function
205 +* Wed Mar 22 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
208 +* Tue Mar 21 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
209 +- fix error 'bounce' function after 'post'
210 +- add 'forward to newsgroup' function
212 +* Mon Mar 20 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
213 +- 'forward' function works in newsreader mode
214 +- add 'post' and 'followup' functions to pager and attachment menu
215 +- fix active descriptions and allowed flag reload
217 +* Tue Mar 14 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
219 +- remove deleted newsgroups from list
221 +* Mon Mar 13 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
222 +- update .newsrc in browser
224 +* Sun Mar 12 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
225 +- reload .newsrc if externally modified
226 +- fix active cache update
228 +* Sun Mar 5 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
231 +* Sat Mar 4 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
232 +- patch *.update_list_file is not required
233 +- count lines when loading descriptions
234 +- remove cache of unsubscribed newsgroups
236 +* Thu Mar 2 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
237 +- load list of newsgroups from cache faster
239 +* Wed Mar 1 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
242 +* Tue Feb 29 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
243 +- fix unread messages in browser
244 +- fix newsrc_gen_entries()
246 +* Mon Feb 28 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
247 +- fix mutt_newsgroup_stat()
248 +- fix nntp_delete_cache()
249 +- fix nntp_get_status()
250 +- fix check_children()
251 +- fix nntp_fetch_headers()
253 +* Fri Feb 25 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
256 +* Thu Feb 24 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
257 +- fix updating new messages in cache
259 +* Mon Feb 21 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
260 +- change default cache filenames
261 +- fix updating new messages in cache
263 +* Fri Feb 18 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
264 +- fix segmentation fault in news groups browser
266 +* Tue Feb 15 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
269 +* Thu Feb 10 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
272 +* Sun Jan 30 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
273 +- add X-Comment-To editing
274 +- add my_hdr support for Newsgroups:, Followup-To: and X-Comment-To: headers
275 +- add variables $ask_followup_to and $ask_x_comment_to
277 +* Fri Jan 28 2000 Vsevolod Volkov <vvv@mutt.kiev.ua>
280 +* Wed Aug 23 2000 Andrej Gritsenko <andrej@lucky.net>
281 +- nntp.c: inserted server hook when opened a newsgroup - for
282 + difference between mail and news reader environment
283 +- parse.c: `X-FTN-Origin:' processed for bad Fido gates
285 +* Tue Aug 22 2000 Vsevolod Volkov <vvv@mutt.org.ua>
286 +- browser.c, complete.c: newsgroup completion patch
288 +* Wed Dec 22 1999 Andrej Gritsenko <andrej@lucky.net>
289 +- send.c: fixed bug with `Subject:' on followup
291 +* Sat Dec 18 1999 Andrej Gritsenko <andrej@lucky.net>
294 +* Tue Oct 26 1999 Andrej Gritsenko <andrej@lucky.net>
297 +* Mon Jun 14 1999 Andrej Gritsenko <andrej@lucky.net>
298 +- sendlib.c: use $mime_subject for news articles only
300 +* Fri Jun 11 1999 Edouard G. Parmelan <Edouard.Parmelan@quadratec.fr>
301 +- nntp.c: bugfix with number of new articles
303 +* Thu Jun 10 1999 Andrej Gritsenko <andrej@lucky.net>
304 +- nntp.c: fixed incomplete creating of index file
306 +* Wed Jun 9 1999 Andrej Gritsenko <andrej@lucky.net>
308 +- doc/manual*: documentation updated
310 +* Sun Feb 21 1999 Andrej Gritsenko <andrej@lucky.net>
311 +- browser.c, newsrc.c, nntp.c: couple of fixes
313 +* Wed Dec 16 1998 Andrej Gritsenko <andrej@lucky.net>
314 +- curs_main.c, newsrc.c, nntp.c: fixes on number of read
317 +* Tue Dec 15 1998 Vikas Agnihotri <vikasa@att.com>
318 +- nntp.c: fix with gone cache files
320 +* Tue Dec 15 1998 Andrej Gritsenko <andrej@lucky.net>
321 +- newsrc.c, nntp.c: fixes on number of read articles
323 +* Mon Dec 14 1998 Andrej Gritsenko <andrej@lucky.net>
324 +- browser.c, newsrc.c, nntp.c, nntp.h: changed then simplified
327 +* Mon Dec 14 1998 Vikas Agnihotri <vikasa@att.com>
328 +- browser.c: cosmetic patch
329 +- nntp.c: say "Fetching %s from server..."
331 +* Sun Dec 13 1998 Andrej Gritsenko <andrej@lucky.net>
332 +- commands.c, newsrc.c, nntp.c, nntp.h: don't save newsrc file
333 + so often (noted by Vikas Agnihotri)
335 +* Sat Dec 12 1998 Andrej Gritsenko <andrej@lucky.net>
336 +- browser.c, functions.h, nntp.c, nntp.h: fixed incorrect first
339 +* Wed Dec 9 1998 Vikas Agnihotri <vikasa@att.com>
340 +- nntp.c: fixed bug in `reconstruct-thread' function
341 +- curs_main.c, nntp.c: fixed the bug in non-XOVER case of get
344 +* Tue Dec 8 1998 Andrej Gritsenko <andrej@lucky.net>
345 +- nntp.c: fixed error in getting status of article
347 +* Tue Dec 8 1998 Vikas Agnihotri <vikasa@att.com>
348 +- mutt.h, pattern.c: added `~w' search pattern
350 +* Tue Dec 8 1998 Andrej Gritsenko <andrej@lucky.net>
351 +- nntp.c: bugfix when get children
353 +* Tue Dec 8 1998 Vikas Agnihotri <vikasa@att.com>
354 +- newsrc.c: bugfix in mutt_newsgroup_catchup()
356 +* Tue Dec 8 1998 Andrej Gritsenko <andrej@lucky.net>
357 +- browser.c: bugfix in _mutt_select_file()
359 +* Sat Dec 5 1998 Andrej Gritsenko <andrej@lucky.net>
360 +- browser.c, newsrc.c, nntp.c, nntp.h: fix the sorting of
361 + newsgroups in browser (from Vikas Agnihotri)
363 +* Fri Dec 4 1998 Vikas Agnihotri <vikasa@att.com>
364 +- OPS, curs_main.c, functions.h, nntp.c, nntp.h: new functions:
365 + `get-children' and `reconstruct-thread'
367 +* Thu Dec 3 1998 Vikas Agnihotri <vikasa@att.com>
368 +- OPS, curs_main.c, functions.h, nntp.c, nntp.h: new functions:
369 + `get-message' and `get-parent'
371 +* Wed Dec 2 1998 Vikas Agnihotri <vikasa@att.com>
372 +- OPS, compose.c, curs_main.c, functions.h, parse.c, send.c,
373 + sendlib.c: added `Followup-To:' field editing
375 +* Wed Dec 2 1998 Vikas Agnihotri <vikasa@att.com>
376 +- OPS, browser.c, functions.h: new `load-active' function
378 +* Tue Dec 1 1998 Andrej Gritsenko <andrej@lucky.net>
379 +- browser.c: added option for blank %s in $group_index_format
380 +- hdrline.c, lib.c, mutt.h, parse.c: added %g and %W parameters
382 +- hook.c, newsrc.c, nntp.c, sendlib.c: some small bugfixes
384 +* Mon Nov 30 1998 Andrej Gritsenko <andrej@lucky.net>
385 +- send.c: bugfix in `Followup-To:' field
387 +* Sun Nov 29 1998 Vikas Agnihotri <vikasa@att.com>
388 +- compose.c, lib.c, parse.c, protos.h: remove white spaces from
389 + `Newsgroup:' field to prevent a unnecessary rejection of article
391 +* Sat Nov 28 1998 Vikas Agnihotri <vikasa@att.com>
392 +- newsrc.c: fixed bug in catchup
394 +* Sat Nov 28 1998 Vikas Agnihotri <vikasa@att.com>
395 +- browser.c: make indicator advance when (un)subscribe
397 +* Sat Nov 28 1998 Andrej Gritsenko <andrej@lucky.net>
398 +- newsrc.c: fixed segmentation fault in newsrc_update_line()
400 +* Sat Nov 28 1998 Andrej Gritsenko <andrej@lucky.net>
401 +- OPS, browser.c, functions.h, init.h, mutt.h, mx.c, newsrc.c,
402 + nntp.c, nntp.h: corrected reading of newsrc file and added new
405 +* Thu Nov 26 1998 Andrej Gritsenko <andrej@lucky.net>
406 +- browser.c, newsrc.c: implementation of `(un)subscribe-pattern'
407 + functions from Vikas Agnihotri
408 +- globals.h, init.h, nntp.h, nntp.c: added variable $nntp_poll
409 + to avoid of polling newsserver on each keypressing
411 +* Thu Nov 26 1998 Andrej Gritsenko <andrej@lucky.net>
412 +- nntp.c, socket.c: fixed parsing of long XOVER lines
413 +- send.c: removed silly ask for newsgroup name (noted by Vikas
417 +- commands.c: bugfix in mutt_update_list_file()
419 +* Wed Nov 25 1998 Andrej Gritsenko <andrej@lucky.net>
420 +- updated to mutt-0.94.17
421 +- init.c, nntp.c, nntp.h, parse.c, send.c: couple of bugfixes
422 + from Vikas Agnihotri
424 +* Sat Nov 21 1998 Andrej Gritsenko <andrej@lucky.net>
425 +- [mutt-0.94.13] couple of files: pre-alpha version of patch,
426 + partially based on code that written by Brandon Long
427 diff -uNr mutt-1.4.orig/Makefile.am mutt-1.4/Makefile.am
428 --- mutt-1.4.orig/Makefile.am Sun Nov 3 21:42:52 2002
429 +++ mutt-1.4/Makefile.am Sun Nov 3 21:57:20 2002
431 EXTRA_mutt_SOURCES = account.c md5c.c mutt_sasl.c mutt_socket.c mutt_ssl.c \
432 mutt_tunnel.c pop.c pop_auth.c pop_lib.c pgp.c pgpinvoke.c pgpkey.c \
433 pgplib.c sha1.c pgpmicalg.c gnupgparse.c resize.c dotlock.c remailer.c \
434 - browser.h mbyte.h remailer.h url.h mutt_ssl_nss.c pgppacket.c
435 + browser.h mbyte.h remailer.h url.h mutt_ssl_nss.c pgppacket.c \
438 EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP TODO configure acconfig.h account.h \
439 attach.h buffy.h charset.h compress.h copy.h dotlock.h functions.h \
441 mutt_regex.h mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h \
442 mx.h pager.h pgp.h pop.h protos.h reldate.h rfc1524.h rfc2047.h \
443 rfc2231.h rfc822.h sha1.h sort.h mime.types VERSION prepare \
444 + nntp.h ChangeLog.nntp \
445 _regex.h OPS.MIX README.SECURITY remailer.c remailer.h browser.h \
446 mbyte.h lib.h extlib.c pgpewrap.c pgplib.h Muttrc.head Muttrc \
447 makedoc.c stamp-doc-rc README.SSL \
448 diff -uNr mutt-1.4.orig/Makefile.in mutt-1.4/Makefile.in
449 --- mutt-1.4.orig/Makefile.in Sun Nov 3 21:42:51 2002
450 +++ mutt-1.4/Makefile.in Sun Nov 3 21:57:30 2002
452 -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
453 +# Makefile.in generated by automake 1.6.3 from Makefile.am.
456 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
457 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
458 +# Free Software Foundation, Inc.
459 # This Makefile.in is free software; the Free Software Foundation
460 # gives unlimited permission to copy and/or distribute it,
461 # with or without modifications, as long as this notice is preserved.
463 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
464 # PARTICULAR PURPOSE.
473 includedir = @includedir@
474 oldincludedir = /usr/include
478 pkgdatadir = $(datadir)/@PACKAGE@
479 pkglibdir = $(libdir)/@PACKAGE@
480 pkgincludedir = $(includedir)/@PACKAGE@
486 AUTOMAKE = @AUTOMAKE@
487 AUTOHEADER = @AUTOHEADER@
489 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
491 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
492 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
493 INSTALL_DATA = @INSTALL_DATA@
494 +install_sh_DATA = $(install_sh) -c -m 644
495 +install_sh_PROGRAM = $(install_sh) -c
496 +install_sh_SCRIPT = $(install_sh) -c
497 INSTALL_SCRIPT = @INSTALL_SCRIPT@
498 +INSTALL_HEADER = $(INSTALL_DATA)
499 transform = @program_transform_name@
506 host_alias = @host_alias@
507 host_triplet = @host@
511 +PATH_SEPARATOR = @PATH_SEPARATOR@
515 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
516 CATALOGS = @CATALOGS@
517 CATOBJEXT = @CATOBJEXT@
521 +# $(makedoc_OBJECTS): $(makedoc_SOURCES)
522 +# $(HOST_CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) -c $<
524 +# makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
526 +# $(HOST_CC) $(AM_CFLAGS) $(LDFLAGS) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) -o makedoc
528 DATADIRNAME = @DATADIRNAME@
530 DEBUGGER = @DEBUGGER@
532 DOTLOCK_GROUP = @DOTLOCK_GROUP@
533 DOTLOCK_PERMISSION = @DOTLOCK_PERMISSION@
534 DOTLOCK_TARGET = @DOTLOCK_TARGET@
537 GMOFILES = @GMOFILES@
539 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
540 INSTOBJEXT = @INSTOBJEXT@
541 INTLBISON = @INTLBISON@
542 INTLLIBS = @INTLLIBS@
544 LIBICONV = @LIBICONV@
546 LIBIMAPDEPS = @LIBIMAPDEPS@
547 -MAKEINFO = @MAKEINFO@
548 MKINSTALLDIRS = @MKINSTALLDIRS@
550 MUTTLIBS = @MUTTLIBS@
551 MUTT_LIB_OBJECTS = @MUTT_LIB_OBJECTS@
555 PGPAUX_TARGET = @PGPAUX_TARGET@
560 SENDMAIL = @SENDMAIL@
562 SUBVERSION = @SUBVERSION@
564 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
567 +am__include = @am__include@
568 +am__quote = @am__quote@
570 +install_sh = @install_sh@
572 AUTOMAKE_OPTIONS = foreign
573 EXTRA_PROGRAMS = mutt_dotlock pgpring makedoc
574 @@ -117,42 +141,70 @@
575 BUILT_SOURCES = keymap_defs.h patchlist.c
577 bin_PROGRAMS = mutt @DOTLOCK_TARGET@ @PGPAUX_TARGET@
578 -mutt_SOURCES = $(BUILT_SOURCES) addrbook.c alias.c attach.c base64.c browser.c buffy.c color.c commands.c complete.c compose.c compress.c copy.c curs_lib.c curs_main.c date.c edit.c enter.c flags.c init.c filter.c from.c getdomain.c handler.c hash.c hdrline.c headers.c help.c hook.c keymap.c main.c mbox.c menu.c mh.c mx.c pager.c parse.c pattern.c postpone.c query.c recvattach.c recvcmd.c rfc822.c rfc1524.c rfc2047.c rfc2231.c score.c send.c sendlib.c signal.c sort.c status.c system.c thread.c charset.c history.c lib.c muttlib.c editmsg.c utf8.c mbyte.c wcwidth.c url.c ascii.c
579 +mutt_SOURCES = $(BUILT_SOURCES) \
580 + addrbook.c alias.c attach.c base64.c browser.c buffy.c color.c \
581 + commands.c complete.c compose.c compress.c copy.c curs_lib.c \
582 + curs_main.c date.c \
583 + edit.c enter.c flags.c init.c filter.c from.c getdomain.c \
584 + handler.c hash.c hdrline.c headers.c help.c hook.c keymap.c \
585 + main.c mbox.c menu.c mh.c mx.c pager.c parse.c pattern.c \
586 + postpone.c query.c recvattach.c recvcmd.c \
587 + rfc822.c rfc1524.c rfc2047.c rfc2231.c \
588 + score.c send.c sendlib.c signal.c signature.c sort.c \
589 + status.c system.c thread.c charset.c history.c lib.c \
590 + muttlib.c editmsg.c utf8.c mbyte.c wcwidth.c \
594 -mutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(MUTTLIBS) $(INTLLIBS) $(LIBICONV)
595 +mutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(MUTTLIBS) \
596 + $(INTLLIBS) $(LIBICONV)
599 -mutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAPDEPS) $(INTLDEPS)
600 +mutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAPDEPS) \
604 makedoc_SOURCES = makedoc.c
606 makedoc_DEPENDENCIES =
608 -# $(makedoc_OBJECTS): $(makedoc_SOURCES)
609 -# $(HOST_CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) -c $<
611 -# makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
613 -# $(HOST_CC) $(AM_CFLAGS) $(LDFLAGS) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) -o makedoc
617 -DEFS = -DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" -DHAVE_CONFIG_H=1
618 +DEFS = -DPKGDATADIR=\"$(pkgdatadir)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
619 + -DBINDIR=\"$(bindir)\" -DMUTTLOCALEDIR=\"$(datadir)/locale\" \
623 INCLUDES = -I. -I$(top_srcdir) $(IMAP_INCLUDES) -Iintl
625 CPPFLAGS = @CPPFLAGS@ -I$(includedir)
627 -non_us_sources = pgp.c pgpinvoke.c pgpkey.c pgplib.c sha1.c pgpmicalg.c gnupgparse.c sha1.h doc/language.txt doc/language50.txt OPS.PGP doc/PGP-Notes.txt OPS.MIX remailer.c remailer.h pgpewrap.c contrib/pgp2.rc contrib/pgp5.rc contrib/gpg.rc mutt_ssl.c mutt_ssl.h README.SSL mutt_ssl_nss.c pgppacket.c pgppacket.h
630 -EXTRA_mutt_SOURCES = account.c md5c.c mutt_sasl.c mutt_socket.c mutt_ssl.c mutt_tunnel.c pop.c pop_auth.c pop_lib.c pgp.c pgpinvoke.c pgpkey.c pgplib.c sha1.c pgpmicalg.c gnupgparse.c resize.c dotlock.c remailer.c browser.h mbyte.h remailer.h url.h mutt_ssl_nss.c pgppacket.c
633 -EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP TODO configure acconfig.h account.h attach.h buffy.h charset.h compress.h copy.h dotlock.h functions.h gen_defs globals.h hash.h history.h init.h keymap.h mailbox.h mapping.h md5.h mime.h mutt.h mutt_curses.h mutt_menu.h mutt_regex.h mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h mx.h pager.h pgp.h pop.h protos.h reldate.h rfc1524.h rfc2047.h rfc2231.h rfc822.h sha1.h sort.h mime.types VERSION prepare _regex.h OPS.MIX README.SECURITY remailer.c remailer.h browser.h mbyte.h lib.h extlib.c pgpewrap.c pgplib.h Muttrc.head Muttrc makedoc.c stamp-doc-rc README.SSL muttbug pgppacket.h depcomp ascii.h BEWARE PATCHES patchlist.sh
634 +non_us_sources = pgp.c pgpinvoke.c pgpkey.c pgplib.c sha1.c \
635 + pgpmicalg.c gnupgparse.c sha1.h \
636 + doc/language.txt doc/language50.txt OPS.PGP doc/PGP-Notes.txt \
637 + OPS.MIX remailer.c remailer.h pgpewrap.c \
638 + contrib/pgp2.rc contrib/pgp5.rc contrib/gpg.rc \
639 + mutt_ssl.c mutt_ssl.h README.SSL mutt_ssl_nss.c \
640 + pgppacket.c pgppacket.h
643 +EXTRA_mutt_SOURCES = account.c md5c.c mutt_sasl.c mutt_socket.c mutt_ssl.c \
644 + mutt_tunnel.c pop.c pop_auth.c pop_lib.c pgp.c pgpinvoke.c pgpkey.c \
645 + pgplib.c sha1.c pgpmicalg.c gnupgparse.c resize.c dotlock.c remailer.c \
646 + browser.h mbyte.h remailer.h url.h mutt_ssl_nss.c pgppacket.c \
650 +EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP TODO configure acconfig.h account.h \
651 + attach.h buffy.h charset.h compress.h copy.h dotlock.h functions.h \
652 + gen_defs globals.h hash.h history.h init.h keymap.h \
653 + mailbox.h mapping.h md5.h mime.h mutt.h mutt_curses.h mutt_menu.h \
654 + mutt_regex.h mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h \
655 + mx.h pager.h pgp.h pop.h protos.h reldate.h rfc1524.h rfc2047.h \
656 + rfc2231.h rfc822.h sha1.h sort.h mime.types VERSION prepare \
657 + nntp.h ChangeLog.nntp \
658 + _regex.h OPS.MIX README.SECURITY remailer.c remailer.h browser.h \
659 + mbyte.h lib.h extlib.c pgpewrap.c pgplib.h Muttrc.head Muttrc \
660 + makedoc.c stamp-doc-rc README.SSL \
661 + muttbug pgppacket.h depcomp ascii.h BEWARE PATCHES patchlist.sh
664 mutt_dotlock_SOURCES = mutt_dotlock.c
665 @@ -163,204 +215,366 @@
666 pgpring_LDADD = @LIBOBJS@ $(INTLLIBS)
667 pgpring_DEPENDENCIES = @LIBOBJS@ $(INTLDEPS)
669 -CLEANFILES = mutt_dotlock.c stamp-doc-rc makedoc keymap_alldefs.h keymap_defs.h patchlist.c
670 +CLEANFILES = mutt_dotlock.c stamp-doc-rc makedoc \
671 + keymap_alldefs.h keymap_defs.h patchlist.c
674 ACLOCAL_AMFLAGS = -I m4
676 LDADD = @LIBOBJS@ @INTLLIBS@
680 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
681 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
682 CONFIG_HEADER = config.h
683 -CONFIG_CLEAN_FILES = muttbug.sh Muttrc.head
684 -PROGRAMS = $(bin_PROGRAMS)
685 +CONFIG_CLEAN_FILES = intl/Makefile doc/Makefile contrib/Makefile \
686 + muttbug.sh Muttrc.head doc/instdoc.sh
687 +EXTRA_PROGRAMS = mutt_dotlock$(EXEEXT) pgpring$(EXEEXT) makedoc$(EXEEXT)
688 +bin_PROGRAMS = mutt$(EXEEXT) @DOTLOCK_TARGET@ @PGPAUX_TARGET@
689 +PROGRAMS = $(bin_PROGRAMS)
691 +am_makedoc_OBJECTS = makedoc.$(OBJEXT)
692 +makedoc_OBJECTS = $(am_makedoc_OBJECTS)
694 +am__objects_1 = patchlist.$(OBJEXT)
695 +am_mutt_OBJECTS = $(am__objects_1) addrbook.$(OBJEXT) alias.$(OBJEXT) \
696 + attach.$(OBJEXT) base64.$(OBJEXT) browser.$(OBJEXT) \
697 + buffy.$(OBJEXT) color.$(OBJEXT) commands.$(OBJEXT) \
698 + complete.$(OBJEXT) compose.$(OBJEXT) compress.$(OBJEXT) \
699 + copy.$(OBJEXT) curs_lib.$(OBJEXT) curs_main.$(OBJEXT) \
700 + date.$(OBJEXT) edit.$(OBJEXT) enter.$(OBJEXT) flags.$(OBJEXT) \
701 + init.$(OBJEXT) filter.$(OBJEXT) from.$(OBJEXT) \
702 + getdomain.$(OBJEXT) handler.$(OBJEXT) hash.$(OBJEXT) \
703 + hdrline.$(OBJEXT) headers.$(OBJEXT) help.$(OBJEXT) \
704 + hook.$(OBJEXT) keymap.$(OBJEXT) main.$(OBJEXT) mbox.$(OBJEXT) \
705 + menu.$(OBJEXT) mh.$(OBJEXT) mx.$(OBJEXT) pager.$(OBJEXT) \
706 + parse.$(OBJEXT) pattern.$(OBJEXT) postpone.$(OBJEXT) \
707 + query.$(OBJEXT) recvattach.$(OBJEXT) recvcmd.$(OBJEXT) \
708 + rfc822.$(OBJEXT) rfc1524.$(OBJEXT) rfc2047.$(OBJEXT) \
709 + rfc2231.$(OBJEXT) score.$(OBJEXT) send.$(OBJEXT) \
710 + sendlib.$(OBJEXT) signal.$(OBJEXT) signature.$(OBJEXT) \
711 + sort.$(OBJEXT) status.$(OBJEXT) system.$(OBJEXT) \
712 + thread.$(OBJEXT) charset.$(OBJEXT) history.$(OBJEXT) \
713 + lib.$(OBJEXT) muttlib.$(OBJEXT) editmsg.$(OBJEXT) \
714 + utf8.$(OBJEXT) mbyte.$(OBJEXT) wcwidth.$(OBJEXT) url.$(OBJEXT) \
716 +mutt_OBJECTS = $(am_mutt_OBJECTS)
718 +am_mutt_dotlock_OBJECTS = mutt_dotlock.$(OBJEXT)
719 +mutt_dotlock_OBJECTS = $(am_mutt_dotlock_OBJECTS)
720 +mutt_dotlock_LDFLAGS =
721 +am_pgpring_OBJECTS = pgppubring.$(OBJEXT) pgplib.$(OBJEXT) lib.$(OBJEXT) \
722 + extlib.$(OBJEXT) sha1.$(OBJEXT) pgppacket.$(OBJEXT) \
724 +pgpring_OBJECTS = $(am_pgpring_OBJECTS)
726 +SCRIPTS = $(bin_SCRIPTS)
728 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
731 -mutt_dotlock_OBJECTS = mutt_dotlock.o
732 -mutt_dotlock_LDFLAGS =
733 -pgpring_OBJECTS = pgppubring.o pgplib.o lib.o extlib.o sha1.o \
736 -makedoc_OBJECTS = makedoc.o
738 -mutt_OBJECTS = patchlist.o addrbook.o alias.o attach.o base64.o \
739 -browser.o buffy.o color.o commands.o complete.o compose.o compress.o copy.o \
740 -curs_lib.o curs_main.o date.o edit.o enter.o flags.o init.o filter.o \
741 -from.o getdomain.o handler.o hash.o hdrline.o headers.o help.o hook.o \
742 -keymap.o main.o mbox.o menu.o mh.o mx.o pager.o parse.o pattern.o \
743 -postpone.o query.o recvattach.o recvcmd.o rfc822.o rfc1524.o rfc2047.o \
744 -rfc2231.o score.o send.o sendlib.o signal.o sort.o status.o system.o \
745 -thread.o charset.o history.o lib.o muttlib.o editmsg.o utf8.o mbyte.o \
746 -wcwidth.o url.o ascii.o
748 -SCRIPTS = $(bin_SCRIPTS)
751 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
752 +depcomp = $(SHELL) $(top_srcdir)/depcomp
753 +am__depfiles_maybe = depfiles
754 +@AMDEP_TRUE@DEP_FILES = $(DEPDIR)/regex.Po $(DEPDIR)/snprintf.Po \
755 +@AMDEP_TRUE@ $(DEPDIR)/strcasecmp.Po $(DEPDIR)/strdup.Po \
756 +@AMDEP_TRUE@ ./$(DEPDIR)/account.Po ./$(DEPDIR)/addrbook.Po \
757 +@AMDEP_TRUE@ ./$(DEPDIR)/alias.Po ./$(DEPDIR)/ascii.Po \
758 +@AMDEP_TRUE@ ./$(DEPDIR)/attach.Po ./$(DEPDIR)/base64.Po \
759 +@AMDEP_TRUE@ ./$(DEPDIR)/browser.Po ./$(DEPDIR)/buffy.Po \
760 +@AMDEP_TRUE@ ./$(DEPDIR)/charset.Po ./$(DEPDIR)/color.Po \
761 +@AMDEP_TRUE@ ./$(DEPDIR)/commands.Po ./$(DEPDIR)/complete.Po \
762 +@AMDEP_TRUE@ ./$(DEPDIR)/compose.Po ./$(DEPDIR)/compress.Po \
763 +@AMDEP_TRUE@ ./$(DEPDIR)/copy.Po ./$(DEPDIR)/curs_lib.Po \
764 +@AMDEP_TRUE@ ./$(DEPDIR)/curs_main.Po ./$(DEPDIR)/date.Po \
765 +@AMDEP_TRUE@ ./$(DEPDIR)/dotlock.Po ./$(DEPDIR)/edit.Po \
766 +@AMDEP_TRUE@ ./$(DEPDIR)/editmsg.Po ./$(DEPDIR)/enter.Po \
767 +@AMDEP_TRUE@ ./$(DEPDIR)/extlib.Po ./$(DEPDIR)/filter.Po \
768 +@AMDEP_TRUE@ ./$(DEPDIR)/flags.Po ./$(DEPDIR)/from.Po \
769 +@AMDEP_TRUE@ ./$(DEPDIR)/getdomain.Po ./$(DEPDIR)/gnupgparse.Po \
770 +@AMDEP_TRUE@ ./$(DEPDIR)/handler.Po ./$(DEPDIR)/hash.Po \
771 +@AMDEP_TRUE@ ./$(DEPDIR)/hdrline.Po ./$(DEPDIR)/headers.Po \
772 +@AMDEP_TRUE@ ./$(DEPDIR)/help.Po ./$(DEPDIR)/history.Po \
773 +@AMDEP_TRUE@ ./$(DEPDIR)/hook.Po ./$(DEPDIR)/init.Po \
774 +@AMDEP_TRUE@ ./$(DEPDIR)/keymap.Po ./$(DEPDIR)/lib.Po \
775 +@AMDEP_TRUE@ ./$(DEPDIR)/main.Po ./$(DEPDIR)/makedoc.Po \
776 +@AMDEP_TRUE@ ./$(DEPDIR)/mbox.Po ./$(DEPDIR)/mbyte.Po \
777 +@AMDEP_TRUE@ ./$(DEPDIR)/md5c.Po ./$(DEPDIR)/menu.Po \
778 +@AMDEP_TRUE@ ./$(DEPDIR)/mh.Po ./$(DEPDIR)/mutt_dotlock.Po \
779 +@AMDEP_TRUE@ ./$(DEPDIR)/mutt_sasl.Po ./$(DEPDIR)/mutt_socket.Po \
780 +@AMDEP_TRUE@ ./$(DEPDIR)/mutt_ssl.Po ./$(DEPDIR)/mutt_ssl_nss.Po \
781 +@AMDEP_TRUE@ ./$(DEPDIR)/mutt_tunnel.Po ./$(DEPDIR)/muttlib.Po \
782 +@AMDEP_TRUE@ ./$(DEPDIR)/mx.Po ./$(DEPDIR)/newsrc.Po \
783 +@AMDEP_TRUE@ ./$(DEPDIR)/nntp.Po ./$(DEPDIR)/pager.Po \
784 +@AMDEP_TRUE@ ./$(DEPDIR)/parse.Po ./$(DEPDIR)/patchlist.Po \
785 +@AMDEP_TRUE@ ./$(DEPDIR)/pattern.Po ./$(DEPDIR)/pgp.Po \
786 +@AMDEP_TRUE@ ./$(DEPDIR)/pgpinvoke.Po ./$(DEPDIR)/pgpkey.Po \
787 +@AMDEP_TRUE@ ./$(DEPDIR)/pgplib.Po ./$(DEPDIR)/pgpmicalg.Po \
788 +@AMDEP_TRUE@ ./$(DEPDIR)/pgppacket.Po ./$(DEPDIR)/pgppubring.Po \
789 +@AMDEP_TRUE@ ./$(DEPDIR)/pop.Po ./$(DEPDIR)/pop_auth.Po \
790 +@AMDEP_TRUE@ ./$(DEPDIR)/pop_lib.Po ./$(DEPDIR)/postpone.Po \
791 +@AMDEP_TRUE@ ./$(DEPDIR)/query.Po ./$(DEPDIR)/recvattach.Po \
792 +@AMDEP_TRUE@ ./$(DEPDIR)/recvcmd.Po ./$(DEPDIR)/remailer.Po \
793 +@AMDEP_TRUE@ ./$(DEPDIR)/resize.Po ./$(DEPDIR)/rfc1524.Po \
794 +@AMDEP_TRUE@ ./$(DEPDIR)/rfc2047.Po ./$(DEPDIR)/rfc2231.Po \
795 +@AMDEP_TRUE@ ./$(DEPDIR)/rfc822.Po ./$(DEPDIR)/score.Po \
796 +@AMDEP_TRUE@ ./$(DEPDIR)/send.Po ./$(DEPDIR)/sendlib.Po \
797 +@AMDEP_TRUE@ ./$(DEPDIR)/sha1.Po ./$(DEPDIR)/signal.Po \
798 +@AMDEP_TRUE@ ./$(DEPDIR)/signature.Po ./$(DEPDIR)/sort.Po \
799 +@AMDEP_TRUE@ ./$(DEPDIR)/status.Po ./$(DEPDIR)/system.Po \
800 +@AMDEP_TRUE@ ./$(DEPDIR)/thread.Po ./$(DEPDIR)/url.Po \
801 +@AMDEP_TRUE@ ./$(DEPDIR)/utf8.Po ./$(DEPDIR)/wcwidth.Po
802 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
803 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
805 -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
806 -DIST_COMMON = README ./stamp-h.in ABOUT-NLS ChangeLog INSTALL \
807 -Makefile.am Makefile.in Muttrc.head.in NEWS TODO acconfig.h aclocal.m4 \
808 -config.guess config.h.in config.sub configure configure.in install-sh \
809 -missing mkinstalldirs muttbug.sh.in regex.c snprintf.c strcasecmp.c \
812 +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
814 +DIST_SOURCES = $(makedoc_SOURCES) $(mutt_SOURCES) $(EXTRA_mutt_SOURCES) \
815 + $(mutt_dotlock_SOURCES) $(pgpring_SOURCES)
817 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
818 +RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
819 + uninstall-info-recursive all-recursive install-data-recursive \
820 + install-exec-recursive installdirs-recursive install-recursive \
821 + uninstall-recursive check-recursive installcheck-recursive
822 +DIST_COMMON = README ABOUT-NLS ChangeLog INSTALL Makefile.am \
823 + Makefile.in Muttrc.head.in NEWS TODO acconfig.h aclocal.m4 \
824 + config.guess config.h.in config.sub configure configure.in \
825 + depcomp install-sh missing mkinstalldirs muttbug.sh.in regex.c \
826 + snprintf.c strcasecmp.c strdup.c
827 +DIST_SUBDIRS = m4 po intl doc contrib imap
828 +SOURCES = $(makedoc_SOURCES) $(mutt_SOURCES) $(EXTRA_mutt_SOURCES) $(mutt_dotlock_SOURCES) $(pgpring_SOURCES)
832 -DIST_SUBDIRS = m4 po intl doc contrib imap
833 -SOURCES = $(mutt_dotlock_SOURCES) $(pgpring_SOURCES) $(makedoc_SOURCES) $(mutt_SOURCES) $(EXTRA_mutt_SOURCES)
834 -OBJECTS = $(mutt_dotlock_OBJECTS) $(pgpring_OBJECTS) $(makedoc_OBJECTS) $(mutt_OBJECTS)
835 +all: $(BUILT_SOURCES) config.h
836 + $(MAKE) $(AM_MAKEFLAGS) all-recursive
840 -.SUFFIXES: .S .c .o .s
841 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
842 - cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
844 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
845 - cd $(top_builddir) \
846 - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
848 -$(ACLOCAL_M4): configure.in m4/codeset.m4 m4/curslib.m4 m4/funcdecl.m4 \
849 - m4/gettext.m4 m4/glibc21.m4 m4/gssapi.m4 m4/iconv.m4 \
850 - m4/lcmessage.m4 m4/progtest.m4
851 - cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
852 +.SUFFIXES: .c .o .obj
854 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
856 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
857 + cd $(top_srcdir) && \
858 + $(AUTOMAKE) --foreign Makefile
860 -config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
861 +$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
862 $(SHELL) ./config.status --recheck
863 -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
864 +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
865 cd $(srcdir) && $(AUTOCONF)
868 - @if test ! -f $@; then \
872 -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
873 - cd $(top_builddir) \
874 - && CONFIG_FILES= CONFIG_HEADERS=config.h \
875 - $(SHELL) ./config.status
876 - @echo timestamp > stamp-h 2> /dev/null
877 -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
878 +$(ACLOCAL_M4): configure.in m4/codeset.m4 m4/curslib.m4 m4/funcdecl.m4 m4/gettext.m4 m4/glibc21.m4 m4/gssapi.m4 m4/iconv.m4 m4/lcmessage.m4 m4/progtest.m4
879 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
882 @if test ! -f $@; then \
883 - rm -f $(srcdir)/stamp-h.in; \
884 - $(MAKE) $(srcdir)/stamp-h.in; \
886 + $(MAKE) stamp-h1; \
888 -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
889 - cd $(top_srcdir) && $(AUTOHEADER)
890 - @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
893 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
895 + cd $(top_builddir) && $(SHELL) ./config.status config.h
898 +$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
899 + cd $(top_srcdir) && $(AUTOHEADER)
900 + touch $(srcdir)/config.h.in
905 -maintainer-clean-hdr:
906 + -rm -f config.h stamp-h1
907 +intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
908 + cd $(top_builddir) && $(SHELL) ./config.status $@
909 +doc/Makefile: $(top_builddir)/config.status $(top_srcdir)/doc/Makefile.in
910 + cd $(top_builddir) && $(SHELL) ./config.status $@
911 +contrib/Makefile: $(top_builddir)/config.status $(top_srcdir)/contrib/Makefile.in
912 + cd $(top_builddir) && $(SHELL) ./config.status $@
913 muttbug.sh: $(top_builddir)/config.status muttbug.sh.in
914 - cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
915 + cd $(top_builddir) && $(SHELL) ./config.status $@
916 Muttrc.head: $(top_builddir)/config.status Muttrc.head.in
917 - cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
919 -mostlyclean-binPROGRAMS:
922 - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
924 -distclean-binPROGRAMS:
926 -maintainer-clean-binPROGRAMS:
928 + cd $(top_builddir) && $(SHELL) ./config.status $@
929 +doc/instdoc.sh: $(top_builddir)/config.status $(top_srcdir)/doc/instdoc.sh.in
930 + cd $(top_builddir) && $(SHELL) ./config.status $@
931 +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
932 install-binPROGRAMS: $(bin_PROGRAMS)
934 $(mkinstalldirs) $(DESTDIR)$(bindir)
935 @list='$(bin_PROGRAMS)'; for p in $$list; do \
936 - if test -f $$p; then \
937 - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
938 - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
939 + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
942 + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
943 + echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
944 + $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
948 uninstall-binPROGRAMS:
950 - list='$(bin_PROGRAMS)'; for p in $$list; do \
951 - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
952 + @list='$(bin_PROGRAMS)'; for p in $$list; do \
953 + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
954 + echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
955 + rm -f $(DESTDIR)$(bindir)/$$f; \
967 -mostlyclean-compile:
968 - -rm -f *.o core *.core
975 -maintainer-clean-compile:
977 -mutt_dotlock: $(mutt_dotlock_OBJECTS) $(mutt_dotlock_DEPENDENCIES)
978 - @rm -f mutt_dotlock
979 - $(LINK) $(mutt_dotlock_LDFLAGS) $(mutt_dotlock_OBJECTS) $(mutt_dotlock_LDADD) $(LIBS)
981 -pgpring: $(pgpring_OBJECTS) $(pgpring_DEPENDENCIES)
983 - $(LINK) $(pgpring_LDFLAGS) $(pgpring_OBJECTS) $(pgpring_LDADD) $(LIBS)
985 -makedoc: $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
988 + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
989 +makedoc$(EXEEXT): $(makedoc_OBJECTS) $(makedoc_DEPENDENCIES)
990 + @rm -f makedoc$(EXEEXT)
991 $(LINK) $(makedoc_LDFLAGS) $(makedoc_OBJECTS) $(makedoc_LDADD) $(LIBS)
993 -mutt: $(mutt_OBJECTS) $(mutt_DEPENDENCIES)
995 +mutt$(EXEEXT): $(mutt_OBJECTS) $(mutt_DEPENDENCIES)
996 + @rm -f mutt$(EXEEXT)
997 $(LINK) $(mutt_LDFLAGS) $(mutt_OBJECTS) $(mutt_LDADD) $(LIBS)
999 +mutt_dotlock$(EXEEXT): $(mutt_dotlock_OBJECTS) $(mutt_dotlock_DEPENDENCIES)
1000 + @rm -f mutt_dotlock$(EXEEXT)
1001 + $(LINK) $(mutt_dotlock_LDFLAGS) $(mutt_dotlock_OBJECTS) $(mutt_dotlock_LDADD) $(LIBS)
1002 +pgpring$(EXEEXT): $(pgpring_OBJECTS) $(pgpring_DEPENDENCIES)
1003 + @rm -f pgpring$(EXEEXT)
1004 + $(LINK) $(pgpring_LDFLAGS) $(pgpring_OBJECTS) $(pgpring_LDADD) $(LIBS)
1005 +binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
1006 install-binSCRIPTS: $(bin_SCRIPTS)
1008 $(mkinstalldirs) $(DESTDIR)$(bindir)
1009 @list='$(bin_SCRIPTS)'; for p in $$list; do \
1010 - if test -f $$p; then \
1011 - echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
1012 - $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
1013 - else if test -f $(srcdir)/$$p; then \
1014 - echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
1015 - $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
1017 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1018 + if test -f $$d$$p; then \
1019 + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1020 + echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
1021 + $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
1025 uninstall-binSCRIPTS:
1026 @$(NORMAL_UNINSTALL)
1027 - list='$(bin_SCRIPTS)'; for p in $$list; do \
1028 - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
1029 + @list='$(bin_SCRIPTS)'; for p in $$list; do \
1030 + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1031 + echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
1032 + rm -f $(DESTDIR)$(bindir)/$$f; \
1035 +mostlyclean-compile:
1036 + -rm -f *.$(OBJEXT) core *.core
1041 +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/regex.Po@am__quote@
1042 +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/snprintf.Po@am__quote@
1043 +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strcasecmp.Po@am__quote@
1044 +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strdup.Po@am__quote@
1045 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/account.Po@am__quote@
1046 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/addrbook.Po@am__quote@
1047 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alias.Po@am__quote@
1048 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ascii.Po@am__quote@
1049 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach.Po@am__quote@
1050 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base64.Po@am__quote@
1051 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/browser.Po@am__quote@
1052 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buffy.Po@am__quote@
1053 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/charset.Po@am__quote@
1054 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color.Po@am__quote@
1055 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/commands.Po@am__quote@
1056 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/complete.Po@am__quote@
1057 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compose.Po@am__quote@
1058 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compress.Po@am__quote@
1059 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy.Po@am__quote@
1060 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curs_lib.Po@am__quote@
1061 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curs_main.Po@am__quote@
1062 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/date.Po@am__quote@
1063 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dotlock.Po@am__quote@
1064 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edit.Po@am__quote@
1065 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/editmsg.Po@am__quote@
1066 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enter.Po@am__quote@
1067 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/extlib.Po@am__quote@
1068 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter.Po@am__quote@
1069 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flags.Po@am__quote@
1070 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/from.Po@am__quote@
1071 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdomain.Po@am__quote@
1072 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gnupgparse.Po@am__quote@
1073 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/handler.Po@am__quote@
1074 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Po@am__quote@
1075 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hdrline.Po@am__quote@
1076 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/headers.Po@am__quote@
1077 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/help.Po@am__quote@
1078 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/history.Po@am__quote@
1079 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hook.Po@am__quote@
1080 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Po@am__quote@
1081 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keymap.Po@am__quote@
1082 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lib.Po@am__quote@
1083 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
1084 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/makedoc.Po@am__quote@
1085 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbox.Po@am__quote@
1086 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mbyte.Po@am__quote@
1087 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5c.Po@am__quote@
1088 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Po@am__quote@
1089 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mh.Po@am__quote@
1090 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mutt_dotlock.Po@am__quote@
1091 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mutt_sasl.Po@am__quote@
1092 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mutt_socket.Po@am__quote@
1093 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mutt_ssl.Po@am__quote@
1094 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mutt_ssl_nss.Po@am__quote@
1095 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mutt_tunnel.Po@am__quote@
1096 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/muttlib.Po@am__quote@
1097 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mx.Po@am__quote@
1098 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/newsrc.Po@am__quote@
1099 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nntp.Po@am__quote@
1100 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pager.Po@am__quote@
1101 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@
1102 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/patchlist.Po@am__quote@
1103 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pattern.Po@am__quote@
1104 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pgp.Po@am__quote@
1105 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pgpinvoke.Po@am__quote@
1106 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pgpkey.Po@am__quote@
1107 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pgplib.Po@am__quote@
1108 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pgpmicalg.Po@am__quote@
1109 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pgppacket.Po@am__quote@
1110 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pgppubring.Po@am__quote@
1111 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pop.Po@am__quote@
1112 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pop_auth.Po@am__quote@
1113 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pop_lib.Po@am__quote@
1114 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/postpone.Po@am__quote@
1115 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/query.Po@am__quote@
1116 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/recvattach.Po@am__quote@
1117 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/recvcmd.Po@am__quote@
1118 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/remailer.Po@am__quote@
1119 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resize.Po@am__quote@
1120 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rfc1524.Po@am__quote@
1121 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rfc2047.Po@am__quote@
1122 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rfc2231.Po@am__quote@
1123 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rfc822.Po@am__quote@
1124 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/score.Po@am__quote@
1125 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/send.Po@am__quote@
1126 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendlib.Po@am__quote@
1127 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sha1.Po@am__quote@
1128 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal.Po@am__quote@
1129 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signature.Po@am__quote@
1130 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sort.Po@am__quote@
1131 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status.Po@am__quote@
1132 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/system.Po@am__quote@
1133 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thread.Po@am__quote@
1134 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/url.Po@am__quote@
1135 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf8.Po@am__quote@
1136 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wcwidth.Po@am__quote@
1139 + -rm -rf $(DEPDIR) ./$(DEPDIR)
1142 +@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1143 +@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
1144 +@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1145 + $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
1148 +@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1149 +@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
1150 +@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1151 + $(COMPILE) -c `cygpath -w $<`
1152 +CCDEPMODE = @CCDEPMODE@
1155 # This directory's subdirectories are mostly independent; you can cd
1156 # into them and run `make' without going through this Makefile.
1157 # To change the values of `make' variables: instead of editing Makefiles,
1158 # (1) if the variable is set in `config.status', edit `config.status'
1159 # (which will cause the Makefiles to be regenerated when you run `make');
1160 # (2) otherwise, pass the desired values on the `make' command line.
1164 -all-recursive install-data-recursive install-exec-recursive \
1165 -installdirs-recursive install-recursive uninstall-recursive \
1166 -check-recursive installcheck-recursive info-recursive dvi-recursive:
1167 - @set fnord $(MAKEFLAGS); amf=$$2; \
1168 +$(RECURSIVE_TARGETS):
1169 + @set fnord $$MAKEFLAGS; amf=$$2; \
1171 target=`echo $@ | sed s/-recursive//`; \
1172 list='$(SUBDIRS)'; for subdir in $$list; do \
1173 @@ -380,13 +594,18 @@
1175 mostlyclean-recursive clean-recursive distclean-recursive \
1176 maintainer-clean-recursive:
1177 - @set fnord $(MAKEFLAGS); amf=$$2; \
1178 + @set fnord $$MAKEFLAGS; amf=$$2; \
1180 - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
1181 - rev="$$subdir $$rev"; \
1182 - test "$$subdir" = "." && dot_seen=yes; \
1184 + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1185 + *) list='$(SUBDIRS)' ;; \
1187 + rev=''; for subdir in $$list; do \
1188 + if test "$$subdir" = "."; then :; else \
1189 + rev="$$subdir $$rev"; \
1192 - test "$$dot_seen" = "no" && rev=". $$rev"; \
1194 target=`echo $@ | sed s/-recursive//`; \
1195 for subdir in $$rev; do \
1196 echo "Making $$target in $$subdir"; \
1197 @@ -403,333 +622,172 @@
1198 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
1206 -ID: $(HEADERS) $(SOURCES) $(LISP)
1207 - list='$(SOURCES) $(HEADERS)'; \
1208 - unique=`for i in $$list; do echo $$i; done | \
1209 - awk ' { files[$$0] = 1; } \
1210 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1211 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1212 + unique=`for i in $$list; do \
1213 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1215 + $(AWK) ' { files[$$0] = 1; } \
1216 END { for (i in files) print i; }'`; \
1217 - here=`pwd` && cd $(srcdir) \
1218 - && mkid -f$$here/ID $$unique $(LISP)
1219 + mkid -fID $$unique
1221 -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
1222 +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
1223 + $(TAGS_FILES) $(LISP)
1226 list='$(SUBDIRS)'; for subdir in $$list; do \
1227 - if test "$$subdir" = .; then :; else \
1228 + if test "$$subdir" = .; then :; else \
1229 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
1233 - list='$(SOURCES) $(HEADERS)'; \
1234 - unique=`for i in $$list; do echo $$i; done | \
1235 - awk ' { files[$$0] = 1; } \
1236 + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
1237 + unique=`for i in $$list; do \
1238 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1240 + $(AWK) ' { files[$$0] = 1; } \
1241 END { for (i in files) print i; }'`; \
1242 - test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
1243 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
1248 + test -z "$(ETAGS_ARGS)$$tags$$unique" \
1249 + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1253 + here=`$(am__cd) $(top_builddir) && pwd` \
1254 + && cd $(top_srcdir) \
1255 + && gtags -i $(GTAGS_ARGS) $$here
1260 -maintainer-clean-tags:
1261 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
1262 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1265 distdir = $(PACKAGE)-$(VERSION)
1266 -top_distdir = $(distdir)
1268 -# This target untars the dist file and tries a VPATH configuration. Then
1269 -# it guarantees that the distribution is self-contained by making another
1272 - -rm -rf $(distdir)
1273 - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
1274 - mkdir $(distdir)/=build
1275 - mkdir $(distdir)/=inst
1276 - dc_install_base=`cd $(distdir)/=inst && pwd`; \
1277 - cd $(distdir)/=build \
1278 - && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
1279 - && $(MAKE) $(AM_MAKEFLAGS) \
1280 - && $(MAKE) $(AM_MAKEFLAGS) dvi \
1281 - && $(MAKE) $(AM_MAKEFLAGS) check \
1282 - && $(MAKE) $(AM_MAKEFLAGS) install \
1283 - && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1284 - && $(MAKE) $(AM_MAKEFLAGS) dist
1285 - -rm -rf $(distdir)
1286 - @banner="$(distdir).tar.gz is ready for distribution"; \
1287 - dashes=`echo "$$banner" | sed s/./=/g`; \
1288 - echo "$$dashes"; \
1289 - echo "$$banner"; \
1292 - -chmod -R a+r $(distdir)
1293 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
1294 - -rm -rf $(distdir)
1296 - -chmod -R a+r $(distdir)
1297 - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
1298 - -rm -rf $(distdir)
1299 +am__remove_distdir = \
1300 + { test ! -d $(distdir) \
1301 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
1302 + && rm -fr $(distdir); }; }
1305 +distcleancheck_listfiles = find . -type f -print
1307 distdir: $(DISTFILES)
1308 - -rm -rf $(distdir)
1309 + $(am__remove_distdir)
1311 - -chmod 777 $(distdir)
1312 - @for file in $(DISTFILES); do \
1314 + $(mkinstalldirs) $(distdir)/. $(distdir)/contrib $(distdir)/doc $(distdir)/intl $(distdir)/po
1315 + @list='$(DISTFILES)'; for file in $$list; do \
1316 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1317 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
1318 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
1320 + $(mkinstalldirs) "$(distdir)$$dir"; \
1324 if test -d $$d/$$file; then \
1325 - cp -pr $$d/$$file $(distdir)/$$file; \
1326 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1327 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1329 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1331 test -f $(distdir)/$$file \
1332 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
1333 - || cp -p $$d/$$file $(distdir)/$$file || :; \
1334 + || cp -p $$d/$$file $(distdir)/$$file \
1338 - for subdir in $(DIST_SUBDIRS); do \
1339 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1340 if test "$$subdir" = .; then :; else \
1341 test -d $(distdir)/$$subdir \
1342 || mkdir $(distdir)/$$subdir \
1344 - chmod 777 $(distdir)/$$subdir; \
1345 - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
1347 + $(MAKE) $(AM_MAKEFLAGS) \
1348 + top_distdir="$(top_distdir)" \
1349 + distdir=../$(distdir)/$$subdir \
1354 - $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
1355 -addrbook.o: addrbook.c mutt.h config.h rfc822.h hash.h charset.h \
1356 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1357 - mutt_menu.h keymap.h keymap_defs.h mapping.h sort.h
1358 -alias.o: alias.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1359 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h
1360 -ascii.o: ascii.c ascii.h
1361 -attach.o: attach.c mutt.h config.h rfc822.h hash.h charset.h \
1362 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1363 - mutt_menu.h keymap.h keymap_defs.h mutt_curses.h rfc1524.h \
1364 - mime.h pager.h mailbox.h copy.h mx.h pgp.h pgplib.h
1365 -base64.o: base64.c mutt.h config.h rfc822.h hash.h charset.h \
1366 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h mime.h
1367 -browser.o: browser.c mutt.h config.h rfc822.h hash.h charset.h \
1368 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1369 - mutt_curses.h mutt_menu.h keymap.h keymap_defs.h buffy.h \
1370 - mapping.h sort.h mailbox.h browser.h
1371 -buffy.o: buffy.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1372 - ascii.h protos.h mbyte.h lib.h globals.h buffy.h mailbox.h mx.h
1373 -charset.o: charset.c mutt.h config.h rfc822.h hash.h charset.h \
1374 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1375 -color.o: color.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1376 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h \
1378 -commands.o: commands.c mutt.h config.h rfc822.h hash.h charset.h \
1379 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1380 - mutt_curses.h mutt_menu.h keymap.h keymap_defs.h mime.h sort.h \
1381 - mapping.h mailbox.h copy.h mx.h pager.h pgp.h pgplib.h
1382 -complete.o: complete.c mutt.h config.h rfc822.h hash.h charset.h \
1383 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1384 -compose.o: compose.c mutt.h config.h rfc822.h hash.h charset.h \
1385 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1386 - mutt_curses.h mutt_menu.h keymap.h keymap_defs.h rfc1524.h \
1387 - mime.h attach.h mapping.h mailbox.h sort.h pgp.h pgplib.h
1388 -copy.o: copy.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1389 - ascii.h protos.h mbyte.h lib.h globals.h mailbox.h mx.h copy.h \
1390 - rfc2047.h mime.h pgp.h pgplib.h
1391 -curs_lib.o: curs_lib.c mutt.h config.h rfc822.h hash.h charset.h \
1392 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1393 - mutt_menu.h keymap.h keymap_defs.h mutt_curses.h pager.h
1394 -curs_main.o: curs_main.c mutt.h config.h rfc822.h hash.h charset.h \
1395 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1396 - mutt_curses.h mutt_menu.h keymap.h keymap_defs.h mailbox.h \
1397 - mapping.h sort.h buffy.h mx.h pgp.h pgplib.h
1398 -date.o: date.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1399 - ascii.h protos.h mbyte.h lib.h globals.h
1400 -edit.o: edit.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1401 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h
1402 -editmsg.o: editmsg.c mutt.h config.h rfc822.h hash.h charset.h \
1403 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h copy.h \
1405 -enter.o: enter.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1406 - ascii.h protos.h mbyte.h lib.h globals.h mutt_menu.h keymap.h \
1407 - keymap_defs.h mutt_curses.h history.h
1408 -filter.o: filter.c mutt.h config.h rfc822.h hash.h charset.h \
1409 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1410 -flags.o: flags.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1411 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h sort.h \
1412 - mapping.h mx.h mailbox.h
1413 -from.o: from.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1414 - ascii.h protos.h mbyte.h lib.h globals.h
1415 -getdomain.o: getdomain.c mutt.h config.h rfc822.h hash.h charset.h \
1416 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1417 -gnupgparse.o: gnupgparse.c mutt.h config.h rfc822.h hash.h charset.h \
1418 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h pgp.h \
1420 -handler.o: handler.c mutt.h config.h rfc822.h hash.h charset.h \
1421 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1422 - mutt_curses.h rfc1524.h keymap.h keymap_defs.h mime.h copy.h \
1424 -hash.o: hash.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1425 - ascii.h protos.h mbyte.h lib.h globals.h
1426 -hdrline.o: hdrline.c mutt.h config.h rfc822.h hash.h charset.h \
1427 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1428 - mutt_curses.h sort.h mapping.h pgp.h pgplib.h
1429 -headers.o: headers.c mutt.h config.h rfc822.h hash.h charset.h \
1430 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h pgp.h \
1432 -help.o: help.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1433 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h keymap.h \
1434 - keymap_defs.h pager.h mapping.h
1435 -history.o: history.c mutt.h config.h rfc822.h hash.h charset.h \
1436 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h history.h
1437 -hook.o: hook.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1438 - ascii.h protos.h mbyte.h lib.h globals.h mailbox.h
1439 -init.o: init.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1440 - ascii.h protos.h mbyte.h lib.h globals.h mapping.h \
1441 - mutt_curses.h history.h keymap.h keymap_defs.h pgp.h pgplib.h \
1442 - mx.h mailbox.h init.h sort.h buffy.h
1443 -keymap.o: keymap.c mutt.h config.h rfc822.h hash.h charset.h \
1444 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1445 - mutt_menu.h keymap.h keymap_defs.h mutt_curses.h mapping.h \
1447 -lib.o: lib.c lib.h config.h
1448 -main.o: main.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1449 - ascii.h protos.h mbyte.h lib.h globals.h mx.h mailbox.h buffy.h \
1450 - sort.h mapping.h pgp.h pgplib.h mutt_curses.h keymap.h \
1451 - keymap_defs.h url.h
1452 -makedoc.o: makedoc.c config.h
1453 -mbox.o: mbox.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1454 - ascii.h protos.h mbyte.h lib.h globals.h mailbox.h mx.h sort.h \
1456 -mbyte.o: mbyte.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1457 - ascii.h protos.h mbyte.h lib.h globals.h
1458 -menu.o: menu.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1459 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h \
1460 - mutt_menu.h keymap.h keymap_defs.h
1461 -mh.o: mh.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1462 - ascii.h protos.h mbyte.h lib.h globals.h mailbox.h mx.h copy.h \
1463 - buffy.h sort.h mapping.h
1464 -muttlib.o: muttlib.c mutt.h config.h rfc822.h hash.h charset.h \
1465 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1466 - mutt_curses.h mime.h mailbox.h mx.h url.h reldate.h pgp.h \
1468 -mx.o: mx.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1469 - ascii.h protos.h mbyte.h lib.h globals.h mx.h mailbox.h \
1470 - rfc2047.h sort.h mapping.h copy.h keymap.h keymap_defs.h url.h \
1471 - pgp.h pgplib.h dotlock.h
1472 -pager.o: pager.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1473 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h keymap.h \
1474 - keymap_defs.h mutt_menu.h mapping.h sort.h pager.h attach.h \
1475 - mx.h mailbox.h pgp.h pgplib.h
1476 -parse.o: parse.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1477 - ascii.h protos.h mbyte.h lib.h globals.h mailbox.h mime.h \
1478 - rfc2047.h rfc2231.h pgp.h pgplib.h
1479 -patchlist.o: patchlist.c mutt.h config.h rfc822.h hash.h charset.h \
1480 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1481 -pattern.o: pattern.c mutt.h config.h rfc822.h hash.h charset.h \
1482 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h mapping.h \
1483 - keymap.h keymap_defs.h mailbox.h copy.h pgp.h pgplib.h
1484 -pgp.o: pgp.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1485 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h pgp.h \
1486 - pgplib.h mime.h copy.h
1487 -pgpinvoke.o: pgpinvoke.c mutt.h config.h rfc822.h hash.h charset.h \
1488 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1489 - mutt_curses.h pgp.h pgplib.h
1490 -pgpkey.o: pgpkey.c mutt.h config.h rfc822.h hash.h charset.h \
1491 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1492 - mutt_curses.h mutt_menu.h keymap.h keymap_defs.h mime.h pgp.h \
1493 - pgplib.h pager.h sort.h mapping.h
1494 -pgplib.o: pgplib.c lib.h config.h pgplib.h
1495 -pgpmicalg.o: pgpmicalg.c mutt.h config.h rfc822.h hash.h charset.h \
1496 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h pgp.h \
1497 - pgplib.h pgppacket.h mime.h
1498 -pgppacket.o: pgppacket.c config.h sha1.h lib.h pgplib.h pgppacket.h
1499 -postpone.o: postpone.c mutt.h config.h rfc822.h hash.h charset.h \
1500 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1501 - mutt_menu.h keymap.h keymap_defs.h rfc1524.h mime.h mailbox.h \
1502 - mapping.h pgp.h pgplib.h
1503 -query.o: query.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1504 - ascii.h protos.h mbyte.h lib.h globals.h mutt_menu.h keymap.h \
1505 - keymap_defs.h mapping.h sort.h
1506 -recvattach.o: recvattach.c mutt.h config.h rfc822.h hash.h charset.h \
1507 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1508 - mutt_curses.h mutt_menu.h keymap.h keymap_defs.h rfc1524.h \
1509 - mime.h mailbox.h attach.h mapping.h mx.h copy.h pgp.h pgplib.h
1510 -recvcmd.o: recvcmd.c mutt.h config.h rfc822.h hash.h charset.h \
1511 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1512 - mutt_curses.h mutt_menu.h keymap.h keymap_defs.h rfc1524.h \
1513 - mime.h mailbox.h attach.h mapping.h mx.h copy.h
1514 -resize.o: resize.c mutt.h config.h rfc822.h hash.h charset.h \
1515 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1517 -rfc1524.o: rfc1524.c mutt.h config.h rfc822.h hash.h charset.h \
1518 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h rfc1524.h
1519 -rfc2047.o: rfc2047.c mutt.h config.h rfc822.h hash.h charset.h \
1520 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h mime.h \
1522 -rfc2231.o: rfc2231.c mutt.h config.h rfc822.h hash.h charset.h \
1523 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h mime.h \
1524 - rfc2047.h rfc2231.h
1525 -rfc822.o: rfc822.c mutt.h config.h rfc822.h hash.h charset.h \
1526 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1527 -score.o: score.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1528 - ascii.h protos.h mbyte.h lib.h globals.h sort.h mapping.h
1529 -send.o: send.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1530 - ascii.h protos.h mbyte.h lib.h globals.h mutt_curses.h \
1531 - rfc2047.h keymap.h keymap_defs.h mime.h mailbox.h copy.h mx.h \
1533 -sendlib.o: sendlib.c mutt.h config.h rfc822.h hash.h charset.h \
1534 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1535 - mutt_curses.h rfc2047.h rfc2231.h mx.h mailbox.h mime.h copy.h \
1536 - pager.h pgp.h pgplib.h
1537 -signal.o: signal.c mutt.h config.h rfc822.h hash.h charset.h \
1538 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1540 -sort.o: sort.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1541 - ascii.h protos.h mbyte.h lib.h globals.h sort.h mapping.h
1542 -status.o: status.c mutt.h config.h rfc822.h hash.h charset.h \
1543 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h \
1544 - mutt_menu.h keymap.h keymap_defs.h mutt_curses.h sort.h \
1545 - mapping.h mx.h mailbox.h
1546 -system.o: system.c mutt.h config.h rfc822.h hash.h charset.h \
1547 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1548 -thread.o: thread.c mutt.h config.h rfc822.h hash.h charset.h \
1549 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h sort.h \
1551 -url.o: url.c mutt.h config.h rfc822.h hash.h charset.h mutt_regex.h \
1552 - ascii.h protos.h mbyte.h lib.h globals.h mapping.h url.h mime.h
1554 -wcwidth.o: wcwidth.c mutt.h config.h rfc822.h hash.h charset.h \
1555 - mutt_regex.h ascii.h protos.h mbyte.h lib.h globals.h
1556 + $(MAKE) $(AM_MAKEFLAGS) \
1557 + top_distdir="${top_distdir}" distdir="$(distdir)" \
1559 + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
1560 + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1561 + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1562 + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
1563 + || chmod -R a+r $(distdir)
1565 + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1566 + $(am__remove_distdir)
1568 +dist dist-all: distdir
1569 + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1570 + $(am__remove_distdir)
1573 -info: info-recursive
1576 +# This target untars the dist file and tries a VPATH configuration. Then
1577 +# it guarantees that the distribution is self-contained by making another
1580 + $(am__remove_distdir)
1581 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
1582 + chmod -R a-w $(distdir); chmod a+w $(distdir)
1583 + mkdir $(distdir)/=build
1584 + mkdir $(distdir)/=inst
1585 + chmod a-w $(distdir)
1586 + dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
1587 + && cd $(distdir)/=build \
1588 + && ../configure --srcdir=.. --prefix=$$dc_install_base \
1589 + $(DISTCHECK_CONFIGURE_FLAGS) \
1590 + && $(MAKE) $(AM_MAKEFLAGS) \
1591 + && $(MAKE) $(AM_MAKEFLAGS) dvi \
1592 + && $(MAKE) $(AM_MAKEFLAGS) check \
1593 + && $(MAKE) $(AM_MAKEFLAGS) install \
1594 + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1595 + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1596 + && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
1597 + || { echo "ERROR: files left after uninstall:" ; \
1598 + find $$dc_install_base -type f -print ; \
1600 + && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
1601 + && rm -f $(distdir).tar.gz \
1602 + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
1603 + $(am__remove_distdir)
1604 + @echo "$(distdir).tar.gz is ready for distribution" | \
1605 + sed 'h;s/./=/g;p;x;p;x'
1606 +distcleancheck: distclean
1607 + if test '$(srcdir)' = . ; then \
1608 + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1611 + test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1612 + || { echo "ERROR: files left after distclean:" ; \
1613 + $(distcleancheck_listfiles) ; \
1616 check: check-recursive
1618 -installcheck: installcheck-recursive
1619 -all-recursive-am: config.h
1620 - $(MAKE) $(AM_MAKEFLAGS) all-recursive
1621 +all-am: Makefile $(PROGRAMS) $(SCRIPTS) config.h
1622 +installdirs: installdirs-recursive
1624 + $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
1626 -install-exec-am: install-binPROGRAMS install-binSCRIPTS \
1627 - install-exec-local
1628 +install: install-recursive
1629 install-exec: install-exec-recursive
1631 -install-data-am: install-data-local
1632 install-data: install-data-recursive
1633 +uninstall: uninstall-recursive
1636 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1637 -install: install-recursive
1638 -uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS
1639 -uninstall: uninstall-recursive
1640 -all-am: Makefile $(PROGRAMS) $(SCRIPTS) config.h
1641 -all-redirect: all-recursive-am
1643 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
1644 -installdirs: installdirs-recursive
1646 - $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
1649 +installcheck: installcheck-recursive
1651 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1652 + INSTALL_STRIP_FLAG=-s \
1653 + `test -z '$(STRIP)' || \
1654 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1655 mostlyclean-generic:
1658 @@ -737,53 +795,71 @@
1661 -rm -f Makefile $(CONFIG_CLEAN_FILES)
1662 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
1664 maintainer-clean-generic:
1665 + @echo "This command is intended for maintainers to use"
1666 + @echo "it deletes files that may require special tools to rebuild."
1667 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1668 -mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
1669 - mostlyclean-compile mostlyclean-tags \
1670 - mostlyclean-generic
1671 +clean: clean-recursive
1673 -mostlyclean: mostlyclean-recursive
1674 +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
1676 -clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
1677 - clean-generic mostlyclean-am
1678 +distclean: distclean-recursive
1679 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1680 +distclean-am: clean-am distclean-compile distclean-depend \
1681 + distclean-generic distclean-hdr distclean-tags
1683 -clean: clean-recursive
1686 -distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
1687 - distclean-tags distclean-generic clean-am
1690 -distclean: distclean-recursive
1691 - -rm -f config.status
1692 +info: info-recursive
1694 -maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
1695 - maintainer-clean-compile maintainer-clean-tags \
1696 - maintainer-clean-generic distclean-am
1697 - @echo "This command is intended for maintainers to use;"
1698 - @echo "it deletes files that may require special tools to rebuild."
1701 +install-data-am: install-data-local
1703 +install-exec-am: install-binPROGRAMS install-binSCRIPTS \
1704 + install-exec-local
1706 +install-info: install-info-recursive
1712 maintainer-clean: maintainer-clean-recursive
1713 - -rm -f config.status
1714 + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1715 + -rm -rf autom4te.cache
1716 +maintainer-clean-am: distclean-am maintainer-clean-generic
1718 -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
1719 -mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
1720 -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
1721 -mostlyclean-compile distclean-compile clean-compile \
1722 -maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS \
1723 -install-data-recursive uninstall-data-recursive install-exec-recursive \
1724 -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
1725 -all-recursive check-recursive installcheck-recursive info-recursive \
1726 -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
1727 -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
1728 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
1729 -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
1730 -install-exec-local install-exec-am install-exec install-data-local \
1731 -install-data-am install-data install-am install uninstall-am uninstall \
1732 -all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
1733 -distclean-generic clean-generic maintainer-clean-generic clean \
1734 -mostlyclean distclean maintainer-clean
1735 +mostlyclean: mostlyclean-recursive
1737 +mostlyclean-am: mostlyclean-compile mostlyclean-generic
1739 +uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
1742 +uninstall-info: uninstall-info-recursive
1744 +.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
1745 + clean-binPROGRAMS clean-generic clean-recursive dist dist-all \
1746 + dist-gzip distcheck distclean distclean-compile \
1747 + distclean-depend distclean-generic distclean-hdr \
1748 + distclean-recursive distclean-tags distcleancheck distdir dvi \
1749 + dvi-am dvi-recursive info info-am info-recursive install \
1750 + install-am install-binPROGRAMS install-binSCRIPTS install-data \
1751 + install-data-am install-data-local install-data-recursive \
1752 + install-exec install-exec-am install-exec-local \
1753 + install-exec-recursive install-info install-info-am \
1754 + install-info-recursive install-man install-recursive \
1755 + install-strip installcheck installcheck-am installdirs \
1756 + installdirs-am installdirs-recursive maintainer-clean \
1757 + maintainer-clean-generic maintainer-clean-recursive mostlyclean \
1758 + mostlyclean-compile mostlyclean-generic mostlyclean-recursive \
1759 + tags tags-recursive uninstall uninstall-am \
1760 + uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-info-am \
1761 + uninstall-info-recursive uninstall-recursive
1764 mutt_dotlock.c: dotlock.c
1766 ( ./mkjtags TAGS > tags.$$$$ && mv tags.$$$$ tags )
1770 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1771 # Otherwise a system limit (for SysV at least) may be exceeded.
1773 diff -uNr mutt-1.4.orig/Muttrc mutt-1.4/Muttrc
1774 --- mutt-1.4.orig/Muttrc Sun Nov 3 21:42:52 2002
1775 +++ mutt-1.4/Muttrc Sun Nov 3 21:57:20 2002
1776 @@ -185,6 +185,28 @@
1777 # editing the body of an outgoing message.
1780 +# set ask_follow_up=no
1782 +# Name: ask_follow_up
1787 +# If set, Mutt will prompt you for follow-up groups before editing
1788 +# the body of an outgoing message.
1791 +# set ask_x_comment_to=no
1793 +# Name: ask_x_comment_to
1798 +# If set, Mutt will prompt you for x-comment-to field before editing
1799 +# the body of an outgoing message.
1802 # set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
1804 # Name: attach_format
1805 @@ -308,6 +330,17 @@
1806 # bouncing messages. Postfix users may wish to unset this variable.
1809 +# set catchup_newsgroup=ask-yes
1811 +# Name: catchup_newsgroup
1816 +# If this variable is set, Mutt will mark all articles in newsgroup
1817 +# as read when you quit the newsgroup (catchup newsgroup).
1823 @@ -734,6 +767,19 @@
1824 # resulting in two copies of the same email for you.
1827 +# set followup_to_poster=ask-yes
1829 +# Name: followup_to_poster
1834 +# If this variable is set and the keyword "poster" is present in
1835 +# Followup-To header, follow-up to newsgroup function is not
1836 +# permitted. The message will be mailed to the submitter of the
1837 +# message via mail.
1843 @@ -818,6 +864,28 @@
1844 # "Franklin" to "Franklin, Steve".
1847 +# set group_index_format="%4C %M%N %5s %-45.45f %d"
1849 +# Name: group_index_format
1851 +# Default: "%4C %M%N %5s %-45.45f %d"
1854 +# This variable allows you to customize the newsgroup browser display to
1855 +# your personal taste. This string is similar to ``index_format'', but
1856 +# has its own set of printf()-like sequences:
1858 +# %C current newsgroup number
1859 +# %d description of newsgroup (becomes from server)
1860 +# %f newsgroup name
1861 +# %M - if newsgroup not allowed for direct post (moderated for example)
1862 +# %N N if newsgroup is new, u if unsubscribed, blank otherwise
1863 +# %n number of new articles in newsgroup
1864 +# %s number of unread articles in newsgroup
1865 +# %>X right justify the rest of the string and pad with character "X"
1866 +# %|X pad to the end of the line with character "X"
1872 @@ -1187,6 +1255,7 @@
1873 # %E number of messages in current thread
1874 # %f entire From: line (address + real name)
1875 # %F author name, or recipient name if the message is from you
1876 +# %g newsgroup name (if compiled with nntp support)
1877 # %i message-id of the current message
1878 # %l number of lines in the message
1879 # %L If an address in the To or CC header field matches an address
1880 @@ -1204,6 +1273,7 @@
1881 # %T the appropriate character from the $to_chars string
1882 # %u user (login) name of the author
1883 # %v first name of the author, or the recipient if the message is from you
1884 +# %W name of organization of author (`organization:' field)
1885 # %y `x-label:' field, if present
1886 # %Y `x-label' field, if present, and (1) not at part of a thread tree,
1887 # (2) at the top of a thread, or (3) `x-label' is different from
1888 @@ -1227,6 +1297,22 @@
1889 # See also: ``$to_chars''.
1899 +# If set, specifies the program and arguments used to deliver news posted
1900 +# by Mutt. Otherwise, mutt posts article using current connection to
1901 +# news server. The following printf-style sequence is understood:
1903 +# %s newsserver name
1905 +# Example: set inews="/usr/local/bin/inews -hS"
1908 # set ispell="/usr/bin/ispell"
1911 @@ -1496,6 +1582,18 @@
1912 # be attached to the newly composed message if this option is set.
1915 +# set mime_subject=yes
1917 +# Name: mime_subject
1922 +# If unset, 8-bit ``subject:'' line in article header will not be
1923 +# encoded according to RFC2047 to base64. This is useful when message
1924 +# is Usenet article, because MIME for news is nonstandard feature.
1927 # set mix_entry_format="%4n %c %-16s %a"
1929 # Name: mix_entry_format
1930 @@ -1550,6 +1648,118 @@
1931 # escape sequences see the section on ``$index_format''.
1934 +# set news_cache_dir="~/.mutt"
1936 +# Name: news_cache_dir
1938 +# Default: "~/.mutt"
1941 +# This variable pointing to directory where Mutt will save cached news
1942 +# articles headers in. If unset, headers will not be saved at all
1943 +# and will be reloaded each time when you enter to newsgroup.
1946 +# set news_server=""
1948 +# Name: news_server
1953 +# This variable specifies domain name or address of NNTP server. It
1954 +# defaults to the newsserver specified in the environment variable
1955 +# $NNTPSERVER or contained in the file /etc/nntpserver. You can also
1956 +# specify username and an alternative port for each newsserver, ie:
1958 +# [nntp[s]://][username[:password]@]newsserver[:port]
1961 +# set newsrc="~/.newsrc"
1965 +# Default: "~/.newsrc"
1968 +# The file, containing info about subscribed newsgroups - names and
1969 +# indexes of read articles. The following printf-style sequence
1972 +# %s newsserver name
1975 +# set nntp_context=1000
1977 +# Name: nntp_context
1982 +# This variable defines number of articles which will be in index when
1983 +# newsgroup entered. If active newsgroup have more articles than this
1984 +# number, oldest articles will be ignored. Also controls how many
1985 +# articles headers will be saved in cache when you quit newsgroup.
1988 +# set nntp_load_description=yes
1990 +# Name: nntp_load_description
1995 +# This variable controls whether or not descriptions for each newsgroup
1996 +# must be loaded when newsgroup is added to list (first time list
1997 +# loading or new newsgroup adding).
2007 +# Your login name on the NNTP server. If unset and NNTP server requires
2008 +# authentification, Mutt will prompt you for your account name when you
2009 +# connect to newsserver.
2019 +# Your password for NNTP account.
2029 +# The time in seconds until any operations on newsgroup except post new
2030 +# article will cause recheck for new news. If set to 0, Mutt will
2031 +# recheck newsgroup on each operation in index (stepping, read article,
2035 +# set nntp_reconnect=ask-yes
2037 +# Name: nntp_reconnect
2042 +# Controls whether or not Mutt will try to reconnect to newsserver when
2046 # set pager="builtin"
2049 @@ -2293,6 +2503,19 @@
2050 # string after the inclusion of a message which is being replied to.
2053 +# set post_moderated=ask-yes
2055 +# Name: post_moderated
2060 +# If set to yes, Mutt will post article to newsgroup that have
2061 +# not permissions to posting (e.g. moderated). Note: if newsserver
2062 +# does not support posting to that newsgroup or totally read-only, that
2063 +# posting will not have an effect.
2066 # set postpone=ask-yes
2069 @@ -2802,6 +3025,41 @@
2070 # shell from /etc/passwd is used.
2073 +# set save_unsubscribed=no
2075 +# Name: save_unsubscribed
2080 +# When set, info about unsubscribed newsgroups will be saved into
2081 +# ``newsrc'' file and into cache.
2084 +# set show_new_news=yes
2086 +# Name: show_new_news
2091 +# If set, newsserver will be asked for new newsgroups on entering
2092 +# the browser. Otherwise, it will be done only once for a newsserver.
2093 +# Also controls whether or not number of new articles of subscribed
2094 +# newsgroups will be then checked.
2097 +# set show_only_unread=no
2099 +# Name: show_only_unread
2104 +# If set, only subscribed newsgroups that contain unread articles
2105 +# will be displayed in browser.
2108 # set sig_dashes=yes
2111 @@ -3285,6 +3543,18 @@
2122 +# When set, Mutt will look for IPv6 addresses of hosts it tries to
2123 +# contact. If this option is unset, Mutt will restrict itself to IPv4 addresses.
2124 +# Normally, the default should work.
2127 # set user_agent=yes
2130 @@ -3387,3 +3657,14 @@
2131 # messages to be sent. Exim users may wish to use this.
2134 +# set x_comment_to=no
2136 +# Name: x_comment_to
2141 +# If set, Mutt will add ``X-Comment-To:'' field (that contains full
2142 +# name of original article author) to article that followuped to newsgroup.
2145 diff -uNr mutt-1.4.orig/Muttrc.head mutt-1.4/Muttrc.head
2146 --- mutt-1.4.orig/Muttrc.head Sun Nov 3 21:42:51 2002
2147 +++ mutt-1.4/Muttrc.head Thu Jan 1 01:00:00 1970
2150 -# System configuration file for Mutt
2153 -# default list of header fields to weed when displaying
2155 -ignore "from " received content- mime-version status x-status message-id
2156 -ignore sender references return-path lines
2158 -# imitate the old search-body function
2159 -macro index \eb '/~b ' 'search in message bodies'
2161 -# simulate the old url menu
2162 -macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
2163 -macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
2165 -# Show documentation when pressing F1
2166 -macro generic <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
2167 -macro index <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
2168 -macro pager <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt documentation"
2170 -# Use folders which match on \\.gz$ as gzipped folders:
2171 -# open-hook \\.gz$ "gzip -cd %f > %t"
2172 -# close-hook \\.gz$ "gzip -c %t > %f"
2173 -# append-hook \\.gz$ "gzip -c %t >> %f"
2175 -# open-hook \\.bz2$ "bzip2 -cd %f > %t"
2176 -# close-hook \\.bz2$ "bzip2 -c %t > %f"
2177 -# append-hook \\.bz2$ "bzip2 -c %t >> %f"
2179 -# If Mutt is unable to determine your site's domain name correctly, you can
2180 -# set the default here.
2182 -# set hostname=cs.hmc.edu
2184 -# If your sendmail supports the -B8BITMIME flag, enable the following
2192 diff -uNr mutt-1.4.orig/OPS mutt-1.4/OPS
2193 --- mutt-1.4.orig/OPS Sun Nov 3 21:42:52 2002
2194 +++ mutt-1.4/OPS Sun Nov 3 21:57:20 2002
2196 OP_BROWSER_NEW_FILE "select a new file in this directory"
2197 OP_BROWSER_VIEW_FILE "view file"
2198 OP_BROWSER_TELL "display the currently selected file's name"
2199 -OP_BROWSER_SUBSCRIBE "subscribe to current mailbox (IMAP only)"
2200 -OP_BROWSER_UNSUBSCRIBE "unsubscribe to current mailbox (IMAP only)"
2201 +OP_CATCHUP "mark all articles in newsgroup as read"
2202 +OP_BROWSER_SUBSCRIBE "subscribe to current (IMAP/NNTP only)"
2203 +OP_BROWSER_UNSUBSCRIBE "unsubscribe to current (IMAP/NNTP only)"
2204 OP_BROWSER_TOGGLE_LSUB "toggle view all/subscribed mailboxes (IMAP only)"
2205 OP_CHANGE_DIRECTORY "change directories"
2206 OP_CHECK_NEW "check mailboxes for new mail"
2207 OP_COMPOSE_ATTACH_FILE "attach a file(s) to this message"
2208 OP_COMPOSE_ATTACH_MESSAGE "attach message(s) to this message"
2209 +OP_COMPOSE_ATTACH_NEWS_MESSAGE "attach newsmessage(s) to this message"
2210 OP_COMPOSE_EDIT_BCC "edit the BCC list"
2211 OP_COMPOSE_EDIT_CC "edit the CC list"
2212 OP_COMPOSE_EDIT_DESCRIPTION "edit attachment description"
2214 OP_COMPOSE_EDIT_HEADERS "edit the message with headers"
2215 OP_COMPOSE_EDIT_MESSAGE "edit the message"
2216 OP_COMPOSE_EDIT_MIME "edit attachment using mailcap entry"
2217 +OP_COMPOSE_EDIT_NEWSGROUPS "edit the newsgroups list"
2218 OP_COMPOSE_EDIT_REPLY_TO "edit the Reply-To field"
2219 +OP_COMPOSE_EDIT_FOLLOWUP_TO "edit the Followup-To field"
2220 +OP_COMPOSE_EDIT_X_COMMENT_TO "edit the X-Comment-To field"
2221 OP_COMPOSE_EDIT_SUBJECT "edit the subject of this message"
2222 OP_COMPOSE_EDIT_TO "edit the TO list"
2223 OP_CREATE_MAILBOX "create a new mailbox (IMAP only)"
2225 OP_FILTER "filter attachment through a shell command"
2226 OP_FIRST_ENTRY "move to the first entry"
2227 OP_FLAG_MESSAGE "toggle a message's 'important' flag"
2228 +OP_FOLLOWUP "followup to newsgroup"
2229 +OP_FORWARD_TO_GROUP "forward to newsgroup"
2230 OP_FORWARD_MESSAGE "forward a message with comments"
2231 OP_GENERIC_SELECT_ENTRY "select the current entry"
2232 +OP_GET_CHILDREN "get all children of the current message"
2233 +OP_GET_MESSAGE "get message with Message-Id"
2234 +OP_GET_PARENT "get parent of the current message"
2235 OP_GROUP_REPLY "reply to all recipients"
2236 OP_HALF_DOWN "scroll down 1/2 page"
2237 OP_HALF_UP "scroll up 1/2 page"
2238 @@ -93,13 +103,17 @@
2239 OP_JUMP "jump to an index number"
2240 OP_LAST_ENTRY "move to the last entry"
2241 OP_LIST_REPLY "reply to specified mailing list"
2242 +OP_LOAD_ACTIVE "load active file from NNTP server"
2243 OP_MACRO "execute a macro"
2244 OP_MAIL "compose a new mail message"
2245 OP_MAIN_BREAK_THREAD "break the thread in two"
2246 OP_MAIN_CHANGE_FOLDER "open a different folder"
2247 OP_MAIN_CHANGE_FOLDER_READONLY "open a different folder in read only mode"
2248 +OP_MAIN_CHANGE_GROUP "open a different newsgroup"
2249 +OP_MAIN_CHANGE_GROUP_READONLY "open a different newsgroup in read only mode"
2250 OP_MAIN_CLEAR_FLAG "clear a status flag from a message"
2251 OP_MAIN_DELETE_PATTERN "delete messages matching a pattern"
2252 +OP_RECONSTRUCT_THREAD "reconstruct thread containing current message"
2253 OP_MAIN_IMAP_FETCH "force retrieval of mail from IMAP server"
2254 OP_MAIN_FETCH_MAIL "retrieve mail from POP server"
2255 OP_MAIN_FIRST_MESSAGE "move to the first message"
2257 OP_PAGER_SKIP_QUOTED "skip beyond quoted text"
2258 OP_PAGER_TOP "jump to the top of the message"
2259 OP_PIPE "pipe message/attachment to a shell command"
2260 +OP_POST "post message to newsgroup"
2261 OP_PREV_ENTRY "move to the previous entry"
2262 OP_PREV_LINE "scroll up one line"
2263 OP_PREV_PAGE "move to the previous page"
2264 @@ -159,17 +174,21 @@
2265 OP_SIG_SEARCH "search signatures matching a pattern"
2266 OP_SORT "sort messages"
2267 OP_SORT_REVERSE "sort messages in reverse order"
2268 +OP_SUBSCRIBE_PATTERN "subscribe to newsgroups matching a pattern"
2269 OP_TAG "tag the current entry"
2270 OP_TAG_PREFIX "apply next function to tagged messages"
2271 OP_TAG_SUBTHREAD "tag the current subthread"
2272 OP_TAG_THREAD "tag the current thread"
2273 OP_TOGGLE_NEW "toggle a message's 'new' flag"
2274 +OP_TOGGLE_READ "toggle view of read messages"
2275 OP_TOGGLE_WRITE "toggle whether the mailbox will be rewritten"
2276 OP_TOGGLE_MAILBOXES "toggle whether to browse mailboxes or all files"
2277 OP_TOP_PAGE "move to the top of the page"
2278 +OP_UNCATCHUP "mark all articles in newsgroup as unread"
2279 OP_UNDELETE "undelete the current entry"
2280 OP_UNDELETE_THREAD "undelete all messages in thread"
2281 OP_UNDELETE_SUBTHREAD "undelete all messages in subthread"
2282 +OP_UNSUBSCRIBE_PATTERN "unsubscribe from newsgroups matching a pattern"
2283 OP_VERSION "show the Mutt version number and date"
2284 OP_VIEW_ATTACH "view attachment using mailcap entry if necessary"
2285 OP_VIEW_ATTACHMENTS "show MIME attachments"
2286 diff -uNr mutt-1.4.orig/PATCHES mutt-1.4/PATCHES
2287 --- mutt-1.4.orig/PATCHES Sun Nov 3 21:42:52 2002
2288 +++ mutt-1.4/PATCHES Sun Nov 3 21:57:20 2002
2291 patch-1.3.28.dw.pgp-hook.3
2293 patch-1.3.27.cd.signatures_menu.2.1
2294 diff -uNr mutt-1.4.orig/acconfig.h mutt-1.4/acconfig.h
2295 --- mutt-1.4.orig/acconfig.h Tue Jan 15 23:08:12 2002
2296 +++ mutt-1.4/acconfig.h Sun Nov 3 21:57:20 2002
2301 +/* Compiling with newsreading support with NNTP */
2304 /* program to use for shell commands */
2305 #define EXECSHELL "/bin/sh"
2307 diff -uNr mutt-1.4.orig/account.c mutt-1.4/account.c
2308 --- mutt-1.4.orig/account.c Thu Apr 26 15:36:33 2001
2309 +++ mutt-1.4/account.c Sun Nov 3 21:57:20 2002
2315 + if (a1->type == M_ACCT_TYPE_NNTP && NntpUser)
2319 if (a1->flags & a2->flags & M_ACCT_USER)
2320 return (!strcmp (a1->user, a2->user));
2321 if (a1->flags & M_ACCT_USER)
2322 @@ -113,6 +118,16 @@
2327 + if (account->type == M_ACCT_TYPE_NNTP)
2329 + if (account->flags & M_ACCT_SSL)
2330 + url->scheme = U_NNTPS;
2332 + url->scheme = U_NNTP;
2336 url->host = account->host;
2337 if (account->flags & M_ACCT_PORT)
2338 url->port = account->port;
2339 @@ -138,6 +153,10 @@
2340 else if ((account->type == M_ACCT_TYPE_POP) && PopUser)
2341 strfcpy (account->user, PopUser, sizeof (account->user));
2344 + else if ((account->type == M_ACCT_TYPE_NNTP) && NntpUser)
2345 + strfcpy (account->user, NntpUser, sizeof (account->user));
2347 /* prompt (defaults to unix username), copy into account->user */
2350 @@ -167,6 +186,10 @@
2351 else if ((account->type == M_ACCT_TYPE_POP) && PopPass)
2352 strfcpy (account->pass, PopPass, sizeof (account->pass));
2355 + else if ((account->type == M_ACCT_TYPE_NNTP) && NntpPass)
2356 + strfcpy (account->pass, NntpPass, sizeof (account->pass));
2360 snprintf (prompt, sizeof (prompt), _("Password for %s@%s: "),
2361 diff -uNr mutt-1.4.orig/account.h mutt-1.4/account.h
2362 --- mutt-1.4.orig/account.h Tue Jan 2 10:34:30 2001
2363 +++ mutt-1.4/account.h Sun Nov 3 21:57:20 2002
2366 M_ACCT_TYPE_NONE = 0,
2372 diff -uNr mutt-1.4.orig/aclocal.m4 mutt-1.4/aclocal.m4
2373 --- mutt-1.4.orig/aclocal.m4 Wed May 29 11:29:28 2002
2374 +++ mutt-1.4/aclocal.m4 Sun Nov 3 21:57:23 2002
2376 -dnl aclocal.m4 generated automatically by aclocal 1.4-p4
2377 +# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
2379 -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
2380 -dnl This file is free software; the Free Software Foundation
2381 -dnl gives unlimited permission to copy and/or distribute it,
2382 -dnl with or without modifications, as long as this notice is preserved.
2384 -dnl This program is distributed in the hope that it will be useful,
2385 -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
2386 -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2387 -dnl PARTICULAR PURPOSE.
2389 -# Like AC_CONFIG_HEADER, but automatically create stamp file.
2391 -AC_DEFUN(AM_CONFIG_HEADER,
2393 -AC_CONFIG_HEADER([$1])
2394 -dnl When config.status generates a header, we must update the stamp-h file.
2395 -dnl This file resides in the same directory as the config header
2396 -dnl that is generated. We must strip everything past the first ":",
2397 -dnl and everything past the last "/".
2398 -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
2399 -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
2400 -<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
2402 -for am_file in <<$1>>; do
2403 - case " <<$>>CONFIG_HEADERS " in
2404 - *" <<$>>am_file "*<<)>>
2405 - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
2408 - am_indx=`expr "<<$>>am_indx" + 1`
2410 -changequote([,]))])
2412 -# Do all the work for Automake. This macro actually does too much --
2413 -# some checks are only needed if your package does certain things.
2414 -# But this isn't really a big deal.
2415 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
2416 +# Free Software Foundation, Inc.
2417 +# This file is free software; the Free Software Foundation
2418 +# gives unlimited permission to copy and/or distribute it,
2419 +# with or without modifications, as long as this notice is preserved.
2421 +# This program is distributed in the hope that it will be useful,
2422 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
2423 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2424 +# PARTICULAR PURPOSE.
2426 +# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
2428 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
2430 +# This program is free software; you can redistribute it and/or modify
2431 +# it under the terms of the GNU General Public License as published by
2432 +# the Free Software Foundation; either version 2, or (at your option)
2433 +# any later version.
2435 +# This program is distributed in the hope that it will be useful,
2436 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2437 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2438 +# GNU General Public License for more details.
2440 +# You should have received a copy of the GNU General Public License
2441 +# along with this program; if not, write to the Free Software
2442 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2449 +# When config.status generates a header, we must update the stamp-h file.
2450 +# This file resides in the same directory as the config header
2451 +# that is generated. We must strip everything past the first ":",
2452 +# and everything past the last "/".
2454 +# _AM_DIRNAME(PATH)
2455 +# -----------------
2456 +# Like AS_DIRNAME, only do it during macro expansion
2457 +AC_DEFUN([_AM_DIRNAME],
2458 + [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
2459 + m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
2460 + m4_if(regexp([$1], [^/.*]), -1,
2462 + patsubst([$1], [^\(/\).*], [\1])),
2463 + patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
2464 + patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
2468 +# The stamp files are numbered to have different names.
2469 +# We could number them on a directory basis, but that's additional
2470 +# complications, let's have a unique counter.
2471 +m4_define([_AM_STAMP_Count], [0])
2474 +# _AM_STAMP(HEADER)
2475 +# -----------------
2476 +# The name of the stamp file for HEADER.
2477 +AC_DEFUN([_AM_STAMP],
2478 +[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
2479 +AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
2480 + [:.*])))/stamp-h[]_AM_STAMP_Count])
2483 +# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
2484 +# ------------------------------------------------------------
2485 +# We used to try to get a real timestamp in stamp-h. But the fear is that
2486 +# that will cause unnecessary cvs conflicts.
2487 +AC_DEFUN([_AM_CONFIG_HEADER],
2488 +[# Add the stamp file to the list of files AC keeps track of,
2489 +# along with our hook.
2490 +AC_CONFIG_HEADERS([$1],
2491 + [# update the timestamp
2492 +echo 'timestamp for $1' >"_AM_STAMP([$1])"
2495 +])# _AM_CONFIG_HEADER
2498 +# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
2499 +# --------------------------------------------------------------
2500 +AC_DEFUN([AM_CONFIG_HEADER],
2501 +[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
2502 +])# AM_CONFIG_HEADER
2504 +# Do all the work for Automake. -*- Autoconf -*-
2506 +# This macro actually does too much some checks are only needed if
2507 +# your package does certain things. But this isn't really a big deal.
2509 +# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
2510 +# Free Software Foundation, Inc.
2512 +# This program is free software; you can redistribute it and/or modify
2513 +# it under the terms of the GNU General Public License as published by
2514 +# the Free Software Foundation; either version 2, or (at your option)
2515 +# any later version.
2517 +# This program is distributed in the hope that it will be useful,
2518 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2519 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2520 +# GNU General Public License for more details.
2522 +# You should have received a copy of the GNU General Public License
2523 +# along with this program; if not, write to the Free Software
2524 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2529 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
2530 +# written in clear, in which case automake, when reading aclocal.m4,
2531 +# will think it sees a *use*, and therefore will trigger all it's
2532 +# C support machinery. Also note that it means that autoscan, seeing
2533 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
2538 +# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
2539 +# the ones we care about.
2540 +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
2542 +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
2543 +# AM_INIT_AUTOMAKE([OPTIONS])
2544 +# -----------------------------------------------
2545 +# The call with PACKAGE and VERSION arguments is the old style
2546 +# call (pre autoconf-2.50), which is being phased out. PACKAGE
2547 +# and VERSION should now be passed to AC_INIT and removed from
2548 +# the call to AM_INIT_AUTOMAKE.
2549 +# We support both call styles for the transition. After
2550 +# the next Automake release, Autoconf can make the AC_INIT
2551 +# arguments mandatory, and then we can depend on a new Autoconf
2552 +# release and drop the old call support.
2553 +AC_DEFUN([AM_INIT_AUTOMAKE],
2554 +[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
2555 + AC_REQUIRE([AC_PROG_INSTALL])dnl
2556 +# test to see if srcdir already configured
2557 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
2558 + test -f $srcdir/config.status; then
2559 + AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
2563 +# Define the identity of the package.
2564 +dnl Distinguish between old-style and new-style calls.
2566 +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
2567 + AC_SUBST([PACKAGE], [$1])dnl
2568 + AC_SUBST([VERSION], [$2])],
2569 +[_AM_SET_OPTIONS([$1])dnl
2570 + AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
2571 + AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
2573 +_AM_IF_OPTION([no-define],,
2574 +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2575 + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
2577 +# Some tools Automake needs.
2578 +AC_REQUIRE([AM_SANITY_CHECK])dnl
2579 +AC_REQUIRE([AC_ARG_PROGRAM])dnl
2580 +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
2581 +AM_MISSING_PROG(AUTOCONF, autoconf)
2582 +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
2583 +AM_MISSING_PROG(AUTOHEADER, autoheader)
2584 +AM_MISSING_PROG(MAKEINFO, makeinfo)
2585 +AM_MISSING_PROG(AMTAR, tar)
2587 +AM_PROG_INSTALL_STRIP
2588 +# We need awk for the "check" target. The system "awk" is bad on
2590 +AC_REQUIRE([AC_PROG_AWK])dnl
2591 +AC_REQUIRE([AC_PROG_MAKE_SET])dnl
2593 +_AM_IF_OPTION([no-dependencies],,
2594 +[AC_PROVIDE_IFELSE([AC_PROG_][CC],
2595 + [_AM_DEPENDENCIES(CC)],
2596 + [define([AC_PROG_][CC],
2597 + defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
2598 +AC_PROVIDE_IFELSE([AC_PROG_][CXX],
2599 + [_AM_DEPENDENCIES(CXX)],
2600 + [define([AC_PROG_][CXX],
2601 + defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
2606 -dnl AM_INIT_AUTOMAKE(package,version, [no-define])
2607 +# Copyright 2002 Free Software Foundation, Inc.
2609 -AC_DEFUN(AM_INIT_AUTOMAKE,
2610 -[AC_REQUIRE([AC_PROG_INSTALL])
2615 -dnl test to see if srcdir already configured
2616 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2617 - AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
2620 -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
2621 -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
2622 -AC_REQUIRE([AM_SANITY_CHECK])
2623 -AC_REQUIRE([AC_ARG_PROGRAM])
2624 -dnl FIXME This is truly gross.
2625 -missing_dir=`cd $ac_aux_dir && pwd`
2626 -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
2627 -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
2628 -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
2629 -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
2630 -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
2631 -AC_REQUIRE([AC_PROG_MAKE_SET])])
2632 +# This program is free software; you can redistribute it and/or modify
2633 +# it under the terms of the GNU General Public License as published by
2634 +# the Free Software Foundation; either version 2, or (at your option)
2635 +# any later version.
2637 +# This program is distributed in the hope that it will be useful,
2638 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2639 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2640 +# GNU General Public License for more details.
2642 +# You should have received a copy of the GNU General Public License
2643 +# along with this program; if not, write to the Free Software
2644 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2646 +# AM_AUTOMAKE_VERSION(VERSION)
2647 +# ----------------------------
2648 +# Automake X.Y traces this macro to ensure aclocal.m4 has been
2649 +# generated from the m4 files accompanying Automake X.Y.
2650 +AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
2652 +# AM_SET_CURRENT_AUTOMAKE_VERSION
2653 +# -------------------------------
2654 +# Call AM_AUTOMAKE_VERSION so it can be traced.
2655 +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
2656 +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
2657 + [AM_AUTOMAKE_VERSION([1.6.3])])
2659 +# Helper functions for option handling. -*- Autoconf -*-
2661 +# Copyright 2001, 2002 Free Software Foundation, Inc.
2663 +# This program is free software; you can redistribute it and/or modify
2664 +# it under the terms of the GNU General Public License as published by
2665 +# the Free Software Foundation; either version 2, or (at your option)
2666 +# any later version.
2668 +# This program is distributed in the hope that it will be useful,
2669 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2670 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2671 +# GNU General Public License for more details.
2673 +# You should have received a copy of the GNU General Public License
2674 +# along with this program; if not, write to the Free Software
2675 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2680 +# _AM_MANGLE_OPTION(NAME)
2681 +# -----------------------
2682 +AC_DEFUN([_AM_MANGLE_OPTION],
2683 +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
2685 +# _AM_SET_OPTION(NAME)
2686 +# ------------------------------
2687 +# Set option NAME. Presently that only means defining a flag for this option.
2688 +AC_DEFUN([_AM_SET_OPTION],
2689 +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
2691 +# _AM_SET_OPTIONS(OPTIONS)
2692 +# ----------------------------------
2693 +# OPTIONS is a space-separated list of Automake options.
2694 +AC_DEFUN([_AM_SET_OPTIONS],
2695 +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
2697 +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
2698 +# -------------------------------------------
2699 +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
2700 +AC_DEFUN([_AM_IF_OPTION],
2701 +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
2704 # Check to make sure that the build environment is sane.
2707 -AC_DEFUN(AM_SANITY_CHECK,
2708 +# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
2710 +# This program is free software; you can redistribute it and/or modify
2711 +# it under the terms of the GNU General Public License as published by
2712 +# the Free Software Foundation; either version 2, or (at your option)
2713 +# any later version.
2715 +# This program is distributed in the hope that it will be useful,
2716 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2717 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2718 +# GNU General Public License for more details.
2720 +# You should have received a copy of the GNU General Public License
2721 +# along with this program; if not, write to the Free Software
2722 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2729 +AC_DEFUN([AM_SANITY_CHECK],
2730 [AC_MSG_CHECKING([whether build environment is sane])
2733 -echo timestamp > conftestfile
2734 +echo timestamp > conftest.file
2735 # Do `set' in a subshell so we don't clobber the current shell's
2736 # arguments. Must try -L first in case configure is actually a
2737 # symlink; some systems play weird games with the mod time of symlinks
2738 # (eg FreeBSD returns the mod time of the symlink's containing
2741 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2742 - if test "[$]*" = "X"; then
2743 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2744 + if test "$[*]" = "X"; then
2746 - set X `ls -t $srcdir/configure conftestfile`
2747 + set X `ls -t $srcdir/configure conftest.file`
2749 - if test "[$]*" != "X $srcdir/configure conftestfile" \
2750 - && test "[$]*" != "X conftestfile $srcdir/configure"; then
2751 + rm -f conftest.file
2752 + if test "$[*]" != "X $srcdir/configure conftest.file" \
2753 + && test "$[*]" != "X conftest.file $srcdir/configure"; then
2755 # If neither matched, then we have a broken ls. This can happen
2756 # if, for instance, CONFIG_SHELL is bash and it inherits a
2758 alias in your environment])
2761 - test "[$]2" = conftestfile
2762 + test "$[2]" = conftest.file
2766 @@ -106,24 +324,515 @@
2767 AC_MSG_ERROR([newly created file is older than distributed files!
2768 Check your system clock])
2771 AC_MSG_RESULT(yes)])
2773 -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
2774 -dnl The program must properly implement --version.
2775 -AC_DEFUN(AM_MISSING_PROG,
2776 -[AC_MSG_CHECKING(for working $2)
2777 -# Run test in a subshell; some versions of sh will print an error if
2778 -# an executable is not found, even if stderr is redirected.
2779 -# Redirect stdin to placate older versions of autoconf. Sigh.
2780 -if ($2 --version) < /dev/null > /dev/null 2>&1; then
2782 - AC_MSG_RESULT(found)
2786 +# Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
2788 +# This program is free software; you can redistribute it and/or modify
2789 +# it under the terms of the GNU General Public License as published by
2790 +# the Free Software Foundation; either version 2, or (at your option)
2791 +# any later version.
2793 +# This program is distributed in the hope that it will be useful,
2794 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2795 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2796 +# GNU General Public License for more details.
2798 +# You should have received a copy of the GNU General Public License
2799 +# along with this program; if not, write to the Free Software
2800 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2805 +# AM_MISSING_PROG(NAME, PROGRAM)
2806 +# ------------------------------
2807 +AC_DEFUN([AM_MISSING_PROG],
2808 +[AC_REQUIRE([AM_MISSING_HAS_RUN])
2809 +$1=${$1-"${am_missing_run}$2"}
2813 +# AM_MISSING_HAS_RUN
2814 +# ------------------
2815 +# Define MISSING if not defined so far and test if it supports --run.
2816 +# If it does, set am_missing_run to use it, otherwise, to nothing.
2817 +AC_DEFUN([AM_MISSING_HAS_RUN],
2818 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2819 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2820 +# Use eval to expand $SHELL
2821 +if eval "$MISSING --run true"; then
2822 + am_missing_run="$MISSING --run "
2824 - $1="$3/missing $2"
2825 - AC_MSG_RESULT(missing)
2827 + AC_MSG_WARN([`missing' script is too old or missing])
2832 +# AM_AUX_DIR_EXPAND
2834 +# Copyright 2001 Free Software Foundation, Inc.
2836 +# This program is free software; you can redistribute it and/or modify
2837 +# it under the terms of the GNU General Public License as published by
2838 +# the Free Software Foundation; either version 2, or (at your option)
2839 +# any later version.
2841 +# This program is distributed in the hope that it will be useful,
2842 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2843 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2844 +# GNU General Public License for more details.
2846 +# You should have received a copy of the GNU General Public License
2847 +# along with this program; if not, write to the Free Software
2848 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2851 +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
2852 +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
2853 +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
2855 +# Of course, Automake must honor this variable whenever it calls a
2856 +# tool from the auxiliary directory. The problem is that $srcdir (and
2857 +# therefore $ac_aux_dir as well) can be either absolute or relative,
2858 +# depending on how configure is run. This is pretty annoying, since
2859 +# it makes $ac_aux_dir quite unusable in subdirectories: in the top
2860 +# source directory, any form will work fine, but in subdirectories a
2861 +# relative path needs to be adjusted first.
2863 +# $ac_aux_dir/missing
2864 +# fails when called from a subdirectory if $ac_aux_dir is relative
2865 +# $top_srcdir/$ac_aux_dir/missing
2866 +# fails if $ac_aux_dir is absolute,
2867 +# fails when called from a subdirectory in a VPATH build with
2868 +# a relative $ac_aux_dir
2870 +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
2871 +# are both prefixed by $srcdir. In an in-source build this is usually
2872 +# harmless because $srcdir is `.', but things will broke when you
2873 +# start a VPATH build or use an absolute $srcdir.
2875 +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
2876 +# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
2877 +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
2878 +# and then we would define $MISSING as
2879 +# MISSING="\${SHELL} $am_aux_dir/missing"
2880 +# This will work as long as MISSING is not called from configure, because
2881 +# unfortunately $(top_srcdir) has no meaning in configure.
2882 +# However there are other variables, like CC, which are often used in
2883 +# configure, and could therefore not use this "fixed" $ac_aux_dir.
2885 +# Another solution, used here, is to always expand $ac_aux_dir to an
2886 +# absolute PATH. The drawback is that using absolute paths prevent a
2887 +# configured tree to be moved without reconfiguration.
2889 +# Rely on autoconf to set up CDPATH properly.
2892 +AC_DEFUN([AM_AUX_DIR_EXPAND], [
2893 +# expand $ac_aux_dir to an absolute path
2894 +am_aux_dir=`cd $ac_aux_dir && pwd`
2897 +# AM_PROG_INSTALL_SH
2898 +# ------------------
2899 +# Define $install_sh.
2901 +# Copyright 2001 Free Software Foundation, Inc.
2903 +# This program is free software; you can redistribute it and/or modify
2904 +# it under the terms of the GNU General Public License as published by
2905 +# the Free Software Foundation; either version 2, or (at your option)
2906 +# any later version.
2908 +# This program is distributed in the hope that it will be useful,
2909 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2910 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2911 +# GNU General Public License for more details.
2913 +# You should have received a copy of the GNU General Public License
2914 +# along with this program; if not, write to the Free Software
2915 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2918 +AC_DEFUN([AM_PROG_INSTALL_SH],
2919 +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
2920 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
2921 +AC_SUBST(install_sh)])
2923 +# AM_PROG_INSTALL_STRIP
2925 +# Copyright 2001 Free Software Foundation, Inc.
2927 +# This program is free software; you can redistribute it and/or modify
2928 +# it under the terms of the GNU General Public License as published by
2929 +# the Free Software Foundation; either version 2, or (at your option)
2930 +# any later version.
2932 +# This program is distributed in the hope that it will be useful,
2933 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2934 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2935 +# GNU General Public License for more details.
2937 +# You should have received a copy of the GNU General Public License
2938 +# along with this program; if not, write to the Free Software
2939 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2942 +# One issue with vendor `install' (even GNU) is that you can't
2943 +# specify the program used to strip binaries. This is especially
2944 +# annoying in cross-compiling environments, where the build's strip
2945 +# is unlikely to handle the host's binaries.
2946 +# Fortunately install-sh will honor a STRIPPROG variable, so we
2947 +# always use install-sh in `make install-strip', and initialize
2948 +# STRIPPROG with the value of the STRIP variable (set by the user).
2949 +AC_DEFUN([AM_PROG_INSTALL_STRIP],
2950 +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
2951 +# Installed binaries are usually stripped using `strip' when the user
2952 +# run `make install-strip'. However `strip' might not be the right
2953 +# tool to use in cross-compilation environments, therefore Automake
2954 +# will honor the `STRIP' environment variable to overrule this program.
2955 +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
2956 +if test "$cross_compiling" != no; then
2957 + AC_CHECK_TOOL([STRIP], [strip], :)
2959 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2960 +AC_SUBST([INSTALL_STRIP_PROGRAM])])
2962 +# serial 4 -*- Autoconf -*-
2964 +# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
2966 +# This program is free software; you can redistribute it and/or modify
2967 +# it under the terms of the GNU General Public License as published by
2968 +# the Free Software Foundation; either version 2, or (at your option)
2969 +# any later version.
2971 +# This program is distributed in the hope that it will be useful,
2972 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
2973 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2974 +# GNU General Public License for more details.
2976 +# You should have received a copy of the GNU General Public License
2977 +# along with this program; if not, write to the Free Software
2978 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2982 +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
2983 +# written in clear, in which case automake, when reading aclocal.m4,
2984 +# will think it sees a *use*, and therefore will trigger all it's
2985 +# C support machinery. Also note that it means that autoscan, seeing
2986 +# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
2990 +# _AM_DEPENDENCIES(NAME)
2991 +# ----------------------
2992 +# See how the compiler implements dependency checking.
2993 +# NAME is "CC", "CXX", "GCJ", or "OBJC".
2994 +# We try a few techniques and use that to set a single cache variable.
2996 +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
2997 +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
2998 +# dependency, and given that the user is not expected to run this macro,
2999 +# just rely on AC_PROG_CC.
3000 +AC_DEFUN([_AM_DEPENDENCIES],
3001 +[AC_REQUIRE([AM_SET_DEPDIR])dnl
3002 +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
3003 +AC_REQUIRE([AM_MAKE_INCLUDE])dnl
3004 +AC_REQUIRE([AM_DEP_TRACK])dnl
3006 +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
3007 + [$1], CXX, [depcc="$CXX" am_compiler_list=],
3008 + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
3009 + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
3010 + [depcc="$$1" am_compiler_list=])
3012 +AC_CACHE_CHECK([dependency style of $depcc],
3013 + [am_cv_$1_dependencies_compiler_type],
3014 +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3015 + # We make a subdir and do the tests there. Otherwise we can end up
3016 + # making bogus files that we don't know about and never remove. For
3017 + # instance it was reported that on HP-UX the gcc test will end up
3018 + # making a dummy file named `D' -- because `-MD' means `put the output
3020 + mkdir conftest.dir
3021 + # Copy depcomp to subdir because otherwise we won't find it if we're
3022 + # using a relative directory.
3023 + cp "$am_depcomp" conftest.dir
3026 + am_cv_$1_dependencies_compiler_type=none
3027 + if test "$am_compiler_list" = ""; then
3028 + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
3030 + for depmode in $am_compiler_list; do
3031 + # We need to recreate these files for each test, as the compiler may
3032 + # overwrite some of them when testing with obscure command lines.
3033 + # This happens at least with the AIX C compiler.
3034 + echo '#include "conftest.h"' > conftest.c
3035 + echo 'int i;' > conftest.h
3036 + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
3040 + # after this tag, mechanisms are not by side-effect, so they'll
3041 + # only be used when explicitly requested
3042 + if test "x$enable_dependency_tracking" = xyes; then
3050 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
3051 + # mode. It turns out that the SunPro C++ compiler does not properly
3052 + # handle `-M -o', and we need to detect this.
3053 + if depmode=$depmode \
3054 + source=conftest.c object=conftest.o \
3055 + depfile=conftest.Po tmpdepfile=conftest.TPo \
3056 + $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
3057 + grep conftest.h conftest.Po > /dev/null 2>&1 &&
3058 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3059 + am_cv_$1_dependencies_compiler_type=$depmode
3065 + rm -rf conftest.dir
3067 + am_cv_$1_dependencies_compiler_type=none
3070 +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
3076 +# Choose a directory name for dependency files.
3077 +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
3078 +AC_DEFUN([AM_SET_DEPDIR],
3079 +[rm -f .deps 2>/dev/null
3080 +mkdir .deps 2>/dev/null
3081 +if test -d .deps; then
3084 + # MS-DOS does not allow filenames that begin with a dot.
3087 +rmdir .deps 2>/dev/null
3094 +AC_DEFUN([AM_DEP_TRACK],
3095 +[AC_ARG_ENABLE(dependency-tracking,
3096 +[ --disable-dependency-tracking Speeds up one-time builds
3097 + --enable-dependency-tracking Do not reject slow dependency extractors])
3098 +if test "x$enable_dependency_tracking" != xno; then
3099 + am_depcomp="$ac_aux_dir/depcomp"
3100 + AMDEPBACKSLASH='\'
3102 +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3103 +AC_SUBST([AMDEPBACKSLASH])
3106 +# Generate code to set up dependency tracking. -*- Autoconf -*-
3108 +# Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3110 +# This program is free software; you can redistribute it and/or modify
3111 +# it under the terms of the GNU General Public License as published by
3112 +# the Free Software Foundation; either version 2, or (at your option)
3113 +# any later version.
3115 +# This program is distributed in the hope that it will be useful,
3116 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
3117 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3118 +# GNU General Public License for more details.
3120 +# You should have received a copy of the GNU General Public License
3121 +# along with this program; if not, write to the Free Software
3122 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3127 +# _AM_OUTPUT_DEPENDENCY_COMMANDS
3128 +# ------------------------------
3129 +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
3130 +[for mf in $CONFIG_FILES; do
3131 + # Strip MF so we end up with the name of the file.
3132 + mf=`echo "$mf" | sed -e 's/:.*$//'`
3133 + # Check whether this is an Automake generated Makefile or not.
3134 + # We used to match only the files named `Makefile.in', but
3135 + # some people rename them; so instead we look at the file content.
3136 + # Grep'ing the first line is not enough: some people post-process
3137 + # each Makefile.in and add a new line on top of each file to say so.
3138 + # So let's grep whole file.
3139 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3140 + dirpart=`AS_DIRNAME("$mf")`
3144 + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
3145 + # Extract the definition of DEP_FILES from the Makefile without
3147 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3148 + test -z "$DEPDIR" && continue
3149 + # When using ansi2knr, U may be empty or an underscore; expand it
3150 + U=`sed -n -e '/^U = / s///p' < "$mf"`
3151 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3152 + # We invoke sed twice because it is the simplest approach to
3153 + # changing $(DEPDIR) to its actual value in the expansion.
3154 + for file in `sed -n -e '
3155 + /^DEP_FILES = .*\\\\$/ {
3164 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3165 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3166 + # Make sure the directory exists.
3167 + test -f "$dirpart/$file" && continue
3168 + fdir=`AS_DIRNAME(["$file"])`
3169 + AS_MKDIR_P([$dirpart/$fdir])
3170 + # echo "creating $dirpart/$file"
3171 + echo '# dummy' > "$dirpart/$file"
3174 +])# _AM_OUTPUT_DEPENDENCY_COMMANDS
3177 +# AM_OUTPUT_DEPENDENCY_COMMANDS
3178 +# -----------------------------
3179 +# This macro should only be invoked once -- use via AC_REQUIRE.
3181 +# This code is only required when automatic dependency tracking
3182 +# is enabled. FIXME. This creates each `.P' file that we will
3183 +# need in order to bootstrap the dependency handling code.
3184 +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
3185 +[AC_CONFIG_COMMANDS([depfiles],
3186 + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
3187 + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
3190 +# Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*-
3192 +# This program is free software; you can redistribute it and/or modify
3193 +# it under the terms of the GNU General Public License as published by
3194 +# the Free Software Foundation; either version 2, or (at your option)
3195 +# any later version.
3197 +# This program is distributed in the hope that it will be useful,
3198 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
3199 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3200 +# GNU General Public License for more details.
3202 +# You should have received a copy of the GNU General Public License
3203 +# along with this program; if not, write to the Free Software
3204 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3209 +# AM_MAKE_INCLUDE()
3210 +# -----------------
3211 +# Check to see how make treats includes.
3212 +AC_DEFUN([AM_MAKE_INCLUDE],
3213 +[am_make=${MAKE-make}
3214 +cat > confinc << 'END'
3218 +# If we don't find an include directive, just comment out the code.
3219 +AC_MSG_CHECKING([for style of include used by $am_make])
3223 +# First try GNU make style include.
3224 +echo "include confinc" > confmf
3225 +# We grep out `Entering directory' and `Leaving directory'
3226 +# messages which can occur if `w' ends up in MAKEFLAGS.
3227 +# In particular we don't look at `^make:' because GNU make might
3228 +# be invoked under some other name (usually "gmake"), in which
3229 +# case it prints its new name instead of `make'.
3230 +if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
3231 + am__include=include
3235 +# Now try BSD make style include.
3236 +if test "$am__include" = "#"; then
3237 + echo '.include "confinc"' > confmf
3238 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3239 + am__include=.include
3244 +AC_SUBST(am__include)
3245 +AC_SUBST(am__quote)
3246 +AC_MSG_RESULT($_am_result)
3247 +rm -f confinc confmf
3250 +# AM_CONDITIONAL -*- Autoconf -*-
3252 +# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
3254 +# This program is free software; you can redistribute it and/or modify
3255 +# it under the terms of the GNU General Public License as published by
3256 +# the Free Software Foundation; either version 2, or (at your option)
3257 +# any later version.
3259 +# This program is distributed in the hope that it will be useful,
3260 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
3261 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3262 +# GNU General Public License for more details.
3264 +# You should have received a copy of the GNU General Public License
3265 +# along with this program; if not, write to the Free Software
3266 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3273 +# AM_CONDITIONAL(NAME, SHELL-CONDITION)
3274 +# -------------------------------------
3275 +# Define a conditional.
3276 +AC_DEFUN([AM_CONDITIONAL],
3277 +[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
3278 + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
3279 +AC_SUBST([$1_TRUE])
3280 +AC_SUBST([$1_FALSE])
3288 +AC_CONFIG_COMMANDS_PRE(
3289 +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
3290 + AC_MSG_ERROR([conditional \"$1\" was never defined.
3291 +Usually this means the macro was only invoked conditionally.])
3295 # This test replaces the one in autoconf.
3296 @@ -144,9 +853,26 @@
3300 +# Copyright 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
3302 +# This program is free software; you can redistribute it and/or modify
3303 +# it under the terms of the GNU General Public License as published by
3304 +# the Free Software Foundation; either version 2, or (at your option)
3305 +# any later version.
3307 +# This program is distributed in the hope that it will be useful,
3308 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
3309 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3310 +# GNU General Public License for more details.
3312 +# You should have received a copy of the GNU General Public License
3313 +# along with this program; if not, write to the Free Software
3314 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3319 -AC_DEFUN(AM_C_PROTOTYPES,
3320 +AC_DEFUN([AM_C_PROTOTYPES],
3321 [AC_REQUIRE([AM_PROG_CC_STDC])
3322 AC_REQUIRE([AC_PROG_CPP])
3323 AC_MSG_CHECKING([for function prototypes])
3324 @@ -157,15 +883,32 @@
3327 U=_ ANSI2KNR=./ansi2knr
3328 - # Ensure some checks needed by ansi2knr itself.
3330 - AC_CHECK_HEADERS(string.h)
3332 +# Ensure some checks needed by ansi2knr itself.
3334 +AC_CHECK_HEADERS(string.h)
3336 AC_SUBST(ANSI2KNR)dnl
3340 +# Copyright 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
3342 +# This program is free software; you can redistribute it and/or modify
3343 +# it under the terms of the GNU General Public License as published by
3344 +# the Free Software Foundation; either version 2, or (at your option)
3345 +# any later version.
3347 +# This program is distributed in the hope that it will be useful,
3348 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
3349 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3350 +# GNU General Public License for more details.
3352 +# You should have received a copy of the GNU General Public License
3353 +# along with this program; if not, write to the Free Software
3354 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
3359 # @defmac AC_PROG_CC_STDC
3361 # program @code{ansi2knr}, which comes with Ghostscript.
3364 -AC_DEFUN(AM_PROG_CC_STDC,
3365 +AC_DEFUN([AM_PROG_CC_STDC],
3366 [AC_REQUIRE([AC_PROG_CC])
3367 AC_BEFORE([$0], [AC_C_INLINE])
3368 AC_BEFORE([$0], [AC_C_CONST])
3370 dnl FIXME: can't do this because then AC_AIX won't work due to a
3371 dnl circular dependency.
3372 dnl AC_BEFORE([$0], [AC_PROG_CPP])
3373 -AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
3374 +AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C])
3375 AC_CACHE_VAL(am_cv_prog_cc_stdc,
3376 [am_cv_prog_cc_stdc=no
3378 @@ -201,9 +944,10 @@
3379 # breaks some systems' header files.
3380 # AIX -qlanglvl=ansi
3381 # Ultrix and OSF/1 -std1
3382 -# HP-UX -Aa -D_HPUX_SOURCE
3383 +# HP-UX 10.20 and later -Ae
3384 +# HP-UX older versions -Aa -D_HPUX_SOURCE
3385 # SVR4 -Xc -D__EXTENSIONS__
3386 -for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3387 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3389 CC="$ac_save_CC $ac_arg"
3392 if test -z "$am_cv_prog_cc_stdc"; then
3393 AC_MSG_RESULT([none needed])
3395 - AC_MSG_RESULT($am_cv_prog_cc_stdc)
3396 + AC_MSG_RESULT([$am_cv_prog_cc_stdc])
3398 case "x$am_cv_prog_cc_stdc" in
3400 @@ -400,19 +1144,6 @@
3402 dnl ---------------------------------------------------------------------------
3404 -# Define a conditional.
3406 -AC_DEFUN(AM_CONDITIONAL,
3417 # gssapi.m4: Find GSSAPI libraries in either Heimdal or MIT implementations
3418 # Brendan Cully <brendan@kublai.com> 20010529
3420 @@ -925,7 +1656,7 @@
3421 # Test for the GNU C Library, version 2.1 or newer.
3422 # From Bruno Haible.
3424 -AC_DEFUN([jm_GLIBC21],
3425 +AC_DEFUN([MUTT_jm_GLIBC21],
3427 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
3428 ac_cv_gnu_library_2_1,
3429 @@ -1067,30 +1798,3 @@
3435 -# Test for the GNU C Library, version 2.1 or newer.
3436 -# From Bruno Haible.
3438 -AC_DEFUN([MUTT_jm_GLIBC21],
3440 - AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
3441 - ac_cv_gnu_library_2_1,
3442 - [AC_EGREP_CPP([Lucky GNU user],
3444 -#include <features.h>
3445 -#ifdef __GNU_LIBRARY__
3446 - #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
3451 - ac_cv_gnu_library_2_1=yes,
3452 - ac_cv_gnu_library_2_1=no)
3456 - GLIBC21="$ac_cv_gnu_library_2_1"
3460 diff -uNr mutt-1.4.orig/attach.h mutt-1.4/attach.h
3461 --- mutt-1.4.orig/attach.h Tue Sep 11 13:20:34 2001
3462 +++ mutt-1.4/attach.h Sun Nov 3 21:57:20 2002
3465 void mutt_attach_bounce (FILE *, HEADER *, ATTACHPTR **, short, BODY *);
3466 void mutt_attach_resend (FILE *, HEADER *, ATTACHPTR **, short, BODY *);
3467 -void mutt_attach_forward (FILE *, HEADER *, ATTACHPTR **, short, BODY *);
3468 +void mutt_attach_forward (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int);
3469 void mutt_attach_reply (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int);
3470 diff -uNr mutt-1.4.orig/browser.c mutt-1.4/browser.c
3471 --- mutt-1.4.orig/browser.c Sun Nov 3 21:42:52 2002
3472 +++ mutt-1.4/browser.c Sun Nov 3 22:00:14 2002
3488 +static struct mapping_t FolderNewsHelp[] = {
3489 + { N_("Exit"), OP_EXIT },
3490 + { N_("List"), OP_TOGGLE_MAILBOXES },
3491 + { N_("Subscribe"), OP_BROWSER_SUBSCRIBE },
3492 + { N_("Unsubscribe"), OP_BROWSER_UNSUBSCRIBE },
3493 + { N_("Catchup"), OP_CATCHUP },
3494 + { N_("Mask"), OP_ENTER_MASK },
3495 + { N_("Help"), OP_HELP },
3500 typedef struct folder_t
3502 struct folder_file *ff;
3503 @@ -109,9 +125,17 @@
3508 + if (option (OPTNEWS))
3511 f = browser_compare_date;
3515 + if (option (OPTNEWS))
3518 f = browser_compare_size;
3521 @@ -299,8 +323,106 @@
3526 +static const char *
3527 +newsgroup_format_str (char *dest, size_t destlen, char op, const char *src,
3528 + const char *fmt, const char *ifstring, const char *elsestring,
3529 + unsigned long data, format_flag flags)
3531 + char fn[SHORT_STRING], tmp[SHORT_STRING];
3532 + FOLDER *folder = (FOLDER *) data;
3537 + snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
3538 + snprintf (dest, destlen, tmp, folder->num + 1);
3542 + strncpy (fn, folder->ff->name, sizeof(fn) - 1);
3543 + snprintf (tmp, sizeof (tmp), "%%%ss", fmt);
3544 + snprintf (dest, destlen, tmp, fn);
3548 + snprintf (tmp, sizeof (tmp), "%%%sc", fmt);
3549 + if (folder->ff->nd->subscribed)
3550 + snprintf (dest, destlen, tmp, ' ');
3552 + snprintf (dest, destlen, tmp, folder->ff->new ? 'N' : 'u');
3556 + snprintf (tmp, sizeof (tmp), "%%%sc", fmt);
3557 + if (folder->ff->nd->deleted)
3558 + snprintf (dest, destlen, tmp, 'D');
3560 + snprintf (dest, destlen, tmp, folder->ff->nd->allowed ? ' ' : '-');
3564 + if (flags & M_FORMAT_OPTIONAL)
3566 + if (folder->ff->nd->unread != 0)
3567 + mutt_FormatString (dest, destlen, ifstring, newsgroup_format_str,
3570 + mutt_FormatString (dest, destlen, elsestring, newsgroup_format_str,
3573 + else if (Context && Context->data == folder->ff->nd)
3575 + snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
3576 + snprintf (dest, destlen, tmp, Context->unread);
3580 + snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
3581 + snprintf (dest, destlen, tmp, folder->ff->nd->unread);
3586 + if (Context && Context->data == folder->ff->nd)
3588 + snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
3589 + snprintf (dest, destlen, tmp, Context->new);
3591 + else if (option (OPTMARKOLD) &&
3592 + folder->ff->nd->lastCached >= folder->ff->nd->firstMessage &&
3593 + folder->ff->nd->lastCached <= folder->ff->nd->lastMessage)
3595 + snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
3596 + snprintf (dest, destlen, tmp, folder->ff->nd->lastMessage - folder->ff->nd->lastCached);
3600 + snprintf (tmp, sizeof (tmp), "%%%sd", fmt);
3601 + snprintf (dest, destlen, tmp, folder->ff->nd->unread);
3606 + if (folder->ff->nd->desc != NULL)
3608 + snprintf (tmp, sizeof (tmp), "%%%ss", fmt);
3609 + snprintf (dest, destlen, tmp, folder->ff->nd->desc);
3613 + snprintf (tmp, sizeof (tmp), "%%%ss", fmt);
3614 + snprintf (dest, destlen, tmp, "");
3620 +#endif /* USE_NNTP */
3622 static void add_folder (MUTTMENU *m, struct browser_state *state,
3623 - const char *name, const struct stat *s, int new)
3624 + const char *name, const struct stat *s,
3625 + void *data, int new)
3627 if (state->entrylen == state->entrymax)
3629 @@ -329,6 +451,10 @@
3631 (state->entry)[state->entrylen].imap = 0;
3634 + if (option (OPTNEWS))
3635 + (state->entry)[state->entrylen].nd = (NNTP_DATA *) data;
3637 (state->entrylen)++;
3640 @@ -344,9 +470,35 @@
3641 menu->data = state->entry;
3644 +/* get list of all files/newsgroups with mask */
3645 static int examine_directory (MUTTMENU *menu, struct browser_state *state,
3646 char *d, const char *prefix)
3649 + if (option (OPTNEWS))
3653 + NNTP_SERVER *news = CurrentNewsSrv;
3655 +/* mutt_buffy_check (0); */
3656 + init_state (state, menu);
3658 + for (tmp = news->list; tmp; tmp = tmp->next)
3660 + if (!(data = (NNTP_DATA *)tmp->data))
3662 + if (prefix && *prefix && strncmp (prefix, data->group,
3663 + strlen (prefix)) != 0)
3665 + if (!((regexec (Mask.rx, data->group, 0, NULL, 0) == 0) ^ Mask.not))
3667 + add_folder (menu, state, data->group, NULL, data, data->new);
3671 +#endif /* USE_NNTP */
3676 @@ -411,60 +563,95 @@
3678 while (tmp && mutt_strcmp (buffer, tmp->path))
3680 - add_folder (menu, state, de->d_name, &s, (tmp) ? tmp->new : 0);
3681 + add_folder (menu, state, de->d_name, &s, NULL, (tmp) ? tmp->new : 0);
3686 browser_sort (state);
3690 +/* get list of mailboxes/subscribed newsgroups */
3691 static int examine_mailboxes (MUTTMENU *menu, struct browser_state *state)
3694 char buffer[LONG_STRING];
3695 - BUFFY *tmp = Incoming;
3699 - mutt_buffy_check (0);
3701 + if (option (OPTNEWS))
3705 + NNTP_SERVER *news = CurrentNewsSrv;
3707 - init_state (state, menu);
3708 +/* mutt_buffy_check (0); */
3709 + init_state (state, menu);
3714 - if (mx_is_imap (tmp->path))
3715 + for (tmp = news->list; tmp; tmp = tmp->next)
3717 - add_folder (menu, state, tmp->path, NULL, tmp->new);
3719 + if ((data = (NNTP_DATA *) tmp->data) != NULL && (data->new ||
3720 + (data->subscribed && (!option (OPTSHOWONLYUNREAD) || data->unread))))
3721 + add_folder (menu, state, data->group, NULL, data, data->new);
3727 - if (mx_is_pop (tmp->path))
3729 + BUFFY *tmp = Incoming;
3733 + mutt_buffy_check (0);
3735 + init_state (state, menu);
3739 - add_folder (menu, state, tmp->path, NULL, tmp->new);
3743 + if (mx_is_imap (tmp->path))
3745 + add_folder (menu, state, tmp->path, NULL, NULL, tmp->new);
3749 - if (lstat (tmp->path, &s) == -1)
3752 + if (mx_is_pop (tmp->path))
3754 + add_folder (menu, state, tmp->path, NULL, NULL, tmp->new);
3759 + if (mx_is_nntp (tmp->path))
3761 + add_folder (menu, state, tmp->path, NULL, NULL, tmp->new);
3765 + if (lstat (tmp->path, &s) == -1)
3768 - if ((! S_ISREG (s.st_mode)) && (! S_ISDIR (s.st_mode)) &&
3769 - (! S_ISLNK (s.st_mode)))
3771 + if ((! S_ISREG (s.st_mode)) && (! S_ISDIR (s.st_mode)) &&
3772 + (! S_ISLNK (s.st_mode)))
3775 - strfcpy (buffer, NONULL(tmp->path), sizeof (buffer));
3776 - mutt_pretty_mailbox (buffer);
3777 + strfcpy (buffer, NONULL(tmp->path), sizeof (buffer));
3778 + mutt_pretty_mailbox (buffer);
3780 - add_folder (menu, state, buffer, &s, tmp->new);
3781 + add_folder (menu, state, buffer, &s, NULL, tmp->new);
3783 + while ((tmp = tmp->next));
3785 - while ((tmp = tmp->next));
3786 browser_sort (state);
3790 int select_file_search (MUTTMENU *menu, regex_t *re, int n)
3793 + if (option (OPTNEWS))
3794 + return (regexec (re, ((struct folder_file *) menu->data)[n].desc, 0, NULL, 0));
3796 return (regexec (re, ((struct folder_file *) menu->data)[n].name, 0, NULL, 0));
3799 @@ -475,7 +662,13 @@
3800 folder.ff = &((struct folder_file *) menu->data)[num];
3803 - mutt_FormatString (s, slen, NONULL(FolderFormat), folder_format_str,
3805 + if (option (OPTNEWS))
3806 + mutt_FormatString (s, slen, NONULL(GroupFormat), newsgroup_format_str,
3807 + (unsigned long) &folder, M_FORMAT_ARROWCURSOR);
3810 + mutt_FormatString (s, slen, NONULL(FolderFormat), folder_format_str,
3811 (unsigned long) &folder, M_FORMAT_ARROWCURSOR);
3814 @@ -495,7 +688,18 @@
3821 + if (option (OPTNEWS))
3824 + snprintf (title, titlelen, _("Subscribed newsgroups"));
3826 + snprintf (title, titlelen, _("Newsgroups on server [%s]"),
3827 + CurrentNewsSrv->conn->account.host);
3832 snprintf (title, titlelen, _("Mailboxes [%d]"), mutt_buffy_check (0));
3834 @@ -551,6 +755,31 @@
3836 strfcpy (LastDirBackup, LastDir, sizeof (LastDirBackup));
3839 + if (option (OPTNEWS))
3842 + strfcpy (prefix, f, sizeof (prefix));
3847 + /* default state for news reader mode is browse subscribed newsgroups */
3849 + for (list = CurrentNewsSrv->list; list; list = list->next)
3851 + NNTP_DATA *data = (NNTP_DATA *) list->data;
3853 + if (data && data->subscribed)
3865 mutt_expand_path (f, flen);
3867 menu->tag = file_tag;
3869 menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_FOLDER,
3871 + (option (OPTNEWS)) ? FolderNewsHelp :
3875 init_menu (&state, menu, title, sizeof (title), buffy, FolderColumns);
3876 @@ -777,7 +1009,11 @@
3881 + if (buffy || option (OPTNEWS)) /* news have not path */
3886 strfcpy (f, state.entry[menu->current].name, flen);
3887 mutt_expand_path (f, flen);
3888 @@ -835,14 +1071,6 @@
3892 - case OP_BROWSER_SUBSCRIBE:
3893 - imap_subscribe (state.entry[menu->current].name, 1);
3896 - case OP_BROWSER_UNSUBSCRIBE:
3897 - imap_subscribe (state.entry[menu->current].name, 0);
3900 case OP_BROWSER_TOGGLE_LSUB:
3901 if (option (OPTIMAPLSUB))
3903 @@ -913,6 +1141,11 @@
3905 case OP_CHANGE_DIRECTORY:
3908 + if (option (OPTNEWS))
3912 strfcpy (buf, LastDir, sizeof (buf));
3914 if (!state.imap_browse)
3915 @@ -1163,6 +1396,190 @@
3917 mutt_error _("Error trying to view file");
3923 + case OP_UNCATCHUP:
3924 + if (option (OPTNEWS))
3926 + struct folder_file *f = &state.entry[menu->current];
3929 + if (i == OP_CATCHUP)
3930 + nd = mutt_newsgroup_catchup (CurrentNewsSrv, f->name);
3932 + nd = mutt_newsgroup_uncatchup (CurrentNewsSrv, f->name);
3937 + struct folder_file ff;
3938 + char buffer[_POSIX_PATH_MAX + SHORT_STRING];
3941 + folder.ff->name = f->name;
3942 + folder.ff->st = NULL;
3943 + folder.ff->is_new = nd->new;
3944 + folder.ff->nd = nd;
3945 + safe_free ((void **) &f->desc);
3946 + mutt_FormatString (buffer, sizeof (buffer), NONULL(GroupFormat),
3947 + newsgroup_format_str, (unsigned long) &folder,
3948 + M_FORMAT_ARROWCURSOR);
3949 + f->desc = safe_strdup (buffer); */
3950 + if (menu->current + 1 < menu->max)
3952 + menu->redraw = REDRAW_MOTION_RESYNCH;
3957 + case OP_LOAD_ACTIVE:
3958 + if (!option (OPTNEWS))
3965 + for (tmp = CurrentNewsSrv->list; tmp; tmp = tmp->next)
3967 + if ((data = (NNTP_DATA *)tmp->data))
3968 + data->deleted = 1;
3971 + nntp_get_active (CurrentNewsSrv);
3973 + destroy_state (&state);
3975 + examine_mailboxes (menu, &state);
3977 + examine_directory (menu, &state, NULL, NULL);
3978 + init_menu (&state, menu, title, sizeof (title), buffy, 1);
3980 +#endif /* USE_NNTP */
3982 +#if defined USE_IMAP || defined USE_NNTP
3983 + case OP_BROWSER_SUBSCRIBE:
3984 + case OP_BROWSER_UNSUBSCRIBE:
3987 + case OP_SUBSCRIBE_PATTERN:
3988 + case OP_UNSUBSCRIBE_PATTERN:
3989 + if (option (OPTNEWS))
3991 + regex_t *rx = (regex_t *) safe_malloc (sizeof (regex_t));
3993 + int j = menu->current;
3995 + NNTP_SERVER *news = CurrentNewsSrv;
3997 + if (i == OP_SUBSCRIBE_PATTERN || i == OP_UNSUBSCRIBE_PATTERN)
4003 + if (i == OP_SUBSCRIBE_PATTERN)
4004 + snprintf (tmp, sizeof (tmp), _("Subscribe pattern: "));
4006 + snprintf (tmp, sizeof (tmp), _("Unsubscribe pattern: "));
4007 + if (mutt_get_field (tmp, buf, sizeof (buf), 0) != 0 || !buf[0])
4013 + if ((err = REGCOMP (rx, s, REG_NOSUB)) != 0)
4015 + regerror (err, rx, buf, sizeof (buf));
4017 + safe_free ((void **) &rx);
4018 + mutt_error ("%s", buf);
4021 + menu->redraw = REDRAW_FULL;
4024 + else if (!state.entrylen)
4026 + mutt_error _("No newsgroups match the mask");
4030 + for ( ; j < state.entrylen; j++)
4032 + struct folder_file *f = &state.entry[j];
4034 + if (i == OP_BROWSER_SUBSCRIBE || i == OP_BROWSER_UNSUBSCRIBE ||
4035 + regexec (rx, f->name, 0, NULL, 0) == 0)
4037 + if (i == OP_BROWSER_SUBSCRIBE || i == OP_SUBSCRIBE_PATTERN)
4038 + nd = mutt_newsgroup_subscribe (news, f->name);
4040 + nd = mutt_newsgroup_unsubscribe (news, f->name);
4044 + char buffer[_POSIX_PATH_MAX + SHORT_STRING];
4046 + folder.name = f->name;
4048 + folder.new = nd->new;
4050 + safe_free ((void **) &f->desc);
4051 + mutt_FormatString (buffer, sizeof (buffer), NONULL(GroupFormat),
4052 + newsgroup_format_str, (unsigned long) &folder,
4053 + M_FORMAT_ARROWCURSOR);
4054 + f->desc = safe_strdup (buffer);
4057 + if (i == OP_BROWSER_SUBSCRIBE || i == OP_BROWSER_UNSUBSCRIBE)
4059 + if (menu->current + 1 < menu->max)
4061 + menu->redraw = REDRAW_MOTION_RESYNCH;
4065 + if (i == OP_SUBSCRIBE_PATTERN)
4067 + LIST *grouplist = NULL;
4070 + grouplist = news->list;
4071 + for (; grouplist; grouplist = grouplist->next)
4073 + nd = (NNTP_DATA *) grouplist->data;
4074 + if (nd && nd->group && !nd->subscribed)
4076 + if (regexec (rx, nd->group, 0, NULL, 0) == 0)
4078 + mutt_newsgroup_subscribe (news, nd->group);
4079 + add_folder (menu, &state, nd->group, NULL, nd, nd->new);
4083 + init_menu (&state, menu, title, sizeof (title), buffy, 1);
4085 + mutt_newsrc_update (news);
4086 + nntp_clear_cacheindex (news);
4087 + if (i != OP_BROWSER_SUBSCRIBE && i != OP_BROWSER_UNSUBSCRIBE)
4089 + safe_free ((void **) &rx);
4093 +#endif /* USE_IMAP && USE_NNTP */
4094 +#endif /* USE_NNTP */
4097 + if (i == OP_BROWSER_SUBSCRIBE)
4098 + imap_subscribe (state.entry[menu->current].name, 1);
4100 + imap_subscribe (state.entry[menu->current].name, 0);
4102 +#endif /* USE_IMAP */
4106 diff -uNr mutt-1.4.orig/browser.h mutt-1.4/browser.h
4107 --- mutt-1.4.orig/browser.h Mon Aug 21 17:42:20 2000
4108 +++ mutt-1.4/browser.h Sun Nov 3 21:57:20 2002
4111 #define _BROWSER_H 1
4121 unsigned selectable : 1;
4122 unsigned inferiors : 1;
4127 unsigned tagged : 1;
4130 struct browser_state
4132 struct folder_file *entry;
4133 - short entrylen; /* number of real entries */
4134 - short entrymax; /* max entry */
4135 + unsigned int entrylen; /* number of real entries */
4136 + unsigned int entrymax; /* max entry */
4140 diff -uNr mutt-1.4.orig/buffy.c mutt-1.4/buffy.c
4141 --- mutt-1.4.orig/buffy.c Mon Mar 25 12:30:08 2002
4142 +++ mutt-1.4/buffy.c Sun Nov 3 21:57:20 2002
4145 if (!Context || Context->magic != M_POP)
4148 + if (!Context || Context->magic != M_NNTP)
4150 /* check device ID and serial number instead of comparing paths */
4151 if (!Context || !Context->path || stat (Context->path, &contex_sb) != 0)
4153 @@ -278,6 +281,11 @@
4158 + if ((tmp->magic == M_NNTP) || mx_is_nntp (tmp->path))
4159 + tmp->magic = M_NNTP;
4162 if (stat (tmp->path, &sb) != 0 || sb.st_size == 0 ||
4163 (!tmp->magic && (tmp->magic = mx_get_magic (tmp->path)) <= 0))
4165 @@ -294,25 +302,21 @@
4166 /* check to see if the folder is the currently selected folder
4168 if (!Context || !Context->path ||
4169 -#if defined USE_IMAP || defined USE_POP
4174 - tmp->magic == M_IMAP
4175 + || tmp->magic == M_IMAP
4181 - tmp->magic == M_POP
4182 + || tmp->magic == M_POP
4184 - ) ? mutt_strcmp (tmp->path, Context->path) :
4186 + || tmp->magic == M_NNTP
4188 - (sb.st_dev != contex_sb.st_dev || sb.st_ino != contex_sb.st_ino)
4189 -#if defined USE_IMAP || defined USE_POP
4194 + ) ? mutt_strcmp (tmp->path, Context->path) :
4195 + (sb.st_dev != contex_sb.st_dev || sb.st_ino != contex_sb.st_ino)
4201 @@ -380,6 +384,11 @@
4213 diff -uNr mutt-1.4.orig/commands.c mutt-1.4/commands.c
4214 --- mutt-1.4.orig/commands.c Sun Nov 3 21:42:52 2002
4215 +++ mutt-1.4/commands.c Sun Nov 3 21:57:20 2002
4220 +#include "rfc1524.h"
4221 #include <sys/types.h>
4222 #include <sys/stat.h>
4224 @@ -791,6 +792,131 @@
4228 +int mutt_update_list_file (char *filename, char *section, char *key, char *line)
4232 + char buf[HUGE_STRING];
4233 + char oldfile[_POSIX_PATH_MAX];
4235 + int ext = 0, done = 0, r = 0;
4237 + snprintf (oldfile, sizeof(oldfile), "%s.bak", filename);
4238 + dprint (1, (debugfile, "Renaming %s to %s\n", filename, oldfile));
4240 + /* if file not exist, create it */
4241 + if ((ifp = safe_fopen (filename, "a")))
4243 + if (_mutt_rename_file (filename, oldfile, 1))
4245 + mutt_perror _("Unable to create backup file");
4248 + dprint (1, (debugfile, "Opening %s\n", oldfile));
4249 + if (!(ifp = safe_fopen (oldfile, "r")))
4251 + mutt_perror _("Unable to open backup file for reading");
4254 + dprint (1, (debugfile, "Opening %s\n", filename));
4255 + if (!(ofp = fopen (filename, "w")))
4258 + mutt_perror _("Unable to open new file for writing");
4261 + if (mx_lock_file (filename, fileno (ofp), 1, 0, 1))
4265 + mutt_error (_("Unable to lock %s, old file saved as %s"), filename, oldfile);
4271 + while (r != EOF && !done && fgets (buf, sizeof (buf), ifp))
4273 + r = fputs (buf, ofp);
4275 + while (*c && *c != '\n') c++;
4276 + c[0] = 0; /* strip EOL */
4277 + if (!strncmp (buf, "#: ", 3) && !mutt_strcasecmp (buf+3, section))
4280 + if (r != EOF && !done)
4282 + snprintf (buf, sizeof(buf), "#: %s\n", section);
4283 + r = fputs (buf, ofp);
4288 + while (r != EOF && fgets (buf, sizeof (buf), ifp))
4293 + while (*c && (*c != '\r') && (*c != '\n')) c++;
4295 + if (*c != '\\') ext = 0;
4297 + else if ((section && !strncmp (buf, "#: ", 3)))
4299 + if (!done && line)
4301 + fputs (line, ofp);
4302 + fputc ('\n', ofp);
4304 + r = fputs (buf, ofp);
4308 + else if (key && !strncmp (buf, key, strlen(key)) &&
4309 + (!*key || buf[strlen(key)] == ' '))
4313 + while (*c && (*c != '\r') && (*c != '\n')) c++;
4315 + if (*c == '\\') ext = 1;
4316 + if (!done && line)
4318 + r = fputs (line, ofp);
4320 + r = fputc ('\n', ofp);
4326 + r = fputs (buf, ofp);
4330 + while (r != EOF && fgets (buf, sizeof (buf), ifp))
4331 + r = fputs (buf, ofp);
4333 + /* If there wasn't a line to replace, put it on the end of the file */
4334 + if (r != EOF && !done && line)
4336 + fputs (line, ofp);
4337 + r = fputc ('\n', ofp);
4339 + mx_unlock_file (filename, fileno (ofp), 0);
4347 + unlink (filename);
4348 + mutt_error (_("Cannot write new %s, old file saved as %s"), filename,
4354 void mutt_version (void)
4356 diff -uNr mutt-1.4.orig/complete.c mutt-1.4/complete.c
4357 --- mutt-1.4.orig/complete.c Wed Nov 7 11:22:08 2001
4358 +++ mutt-1.4/complete.c Sun Nov 3 21:57:20 2002
4360 #include "mailbox.h"
4370 char filepart[_POSIX_PATH_MAX];
4372 char imap_path[LONG_STRING];
4375 dprint (2, (debugfile, "mutt_complete: completing %s\n", s));
4378 + if (option (OPTNEWS))
4380 + LIST *l = CurrentNewsSrv->list;
4382 + strfcpy (filepart, s, sizeof (filepart));
4385 + * special case to handle when there is no filepart yet.
4386 + * find the first subscribed newsgroup
4388 + if ((len = mutt_strlen (filepart)) == 0)
4390 + for (; l; l = l->next)
4392 + NNTP_DATA *data = (NNTP_DATA *)l->data;
4394 + if (data && data->subscribed)
4396 + strfcpy (filepart, data->group, sizeof (filepart));
4404 + for (; l; l = l->next)
4406 + NNTP_DATA *data = (NNTP_DATA *)l->data;
4408 + if (data && data->subscribed &&
4409 + mutt_strncmp (data->group, filepart, len) == 0)
4413 + for (i = 0; filepart[i] && data->group[i]; i++)
4415 + if (filepart[i] != data->group[i])
4425 + strfcpy (filepart, data->group, sizeof (filepart));
4431 + strcpy (s, filepart);
4433 + return (init ? 0 : -1);
4438 /* we can use '/' as a delimiter, imap_complete rewrites it */
4439 if (*s == '=' || *s == '+' || *s == '!')
4441 diff -uNr mutt-1.4.orig/compose.c mutt-1.4/compose.c
4442 --- mutt-1.4.orig/compose.c Sun Nov 3 21:42:52 2002
4443 +++ mutt-1.4/compose.c Sun Nov 3 21:57:20 2002
4445 #include "mailbox.h"
4447 #include "charset.h"
4451 #include "remailer.h"
4471 HDR_ATTACH = (HDR_FCC + 5) /* where to start printing the attachments */
4474 -#define HDR_XOFFSET 10
4475 -#define TITLE_FMT "%10s" /* Used for Prompts, which are ASCII */
4476 +#define HDR_XOFFSET 14
4477 +#define TITLE_FMT "%14s" /* Used for Prompts, which are ASCII */
4478 #define W (COLS - HDR_XOFFSET)
4480 static char *Prompts[] =
4496 static struct mapping_t ComposeHelp[] = {
4502 +static struct mapping_t ComposeNewsHelp[] = {
4503 + { N_("Send"), OP_COMPOSE_SEND_MESSAGE },
4504 + { N_("Abort"), OP_EXIT },
4505 + { "Newsgroups", OP_COMPOSE_EDIT_NEWSGROUPS },
4506 + { "Subj", OP_COMPOSE_EDIT_SUBJECT },
4507 + { N_("Attach file"), OP_COMPOSE_ATTACH_FILE },
4508 + { N_("Descrip"), OP_COMPOSE_EDIT_DESCRIPTION },
4509 + { N_("Help"), OP_HELP },
4514 static void snd_entry (char *b, size_t blen, MUTTMENU *menu, int num)
4516 mutt_FormatString (b, blen, NONULL (AttachFormat), mutt_attach_fmt,
4519 static void redraw_pgp_lines (int pgp)
4521 - mvaddstr (HDR_PGP, 0, " PGP: ");
4522 + mvaddstr (HDR_PGP, 0, " PGP: ");
4523 if ((pgp & (PGPENCRYPT | PGPSIGN)) == (PGPENCRYPT | PGPSIGN))
4524 addstr (_("Sign, Encrypt"));
4525 else if (pgp & PGPENCRYPT)
4527 move (HDR_PGPSIGINFO, 0);
4530 - printw ("%s%s", _(" sign as: "), PgpSignAs ? PgpSignAs : _("<default>"));
4531 + printw (" %s%s", _(" sign as: "), PgpSignAs ? PgpSignAs : _("<default>"));
4534 static int pgp_send_menu (int bits, int *redraw)
4535 @@ -258,9 +291,28 @@
4536 static void draw_envelope (HEADER *msg, char *fcc)
4538 draw_envelope_addr (HDR_FROM, msg->env->from);
4540 + if (!option (OPTNEWSSEND))
4543 draw_envelope_addr (HDR_TO, msg->env->to);
4544 draw_envelope_addr (HDR_CC, msg->env->cc);
4545 draw_envelope_addr (HDR_BCC, msg->env->bcc);
4550 + mvprintw (HDR_TO, 0, TITLE_FMT , Prompts[HDR_NEWSGROUPS - 1]);
4551 + mutt_paddstr (W, NONULL (msg->env->newsgroups));
4552 + mvprintw (HDR_CC, 0, TITLE_FMT , Prompts[HDR_FOLLOWUPTO - 1]);
4553 + mutt_paddstr (W, NONULL (msg->env->followup_to));
4554 + if (option (OPTXCOMMENTTO))
4556 + mvprintw (HDR_BCC, 0, TITLE_FMT , Prompts[HDR_XCOMMENTTO - 1]);
4557 + mutt_paddstr (W, NONULL (msg->env->x_comment_to));
4561 mvprintw (HDR_SUBJECT, 0, TITLE_FMT, Prompts[HDR_SUBJECT - 1]);
4562 mutt_paddstr (W, NONULL (msg->env->subject));
4563 draw_envelope_addr (HDR_REPLYTO, msg->env->reply_to);
4564 @@ -506,6 +558,12 @@
4565 /* Sort, SortAux could be changed in mutt_index_menu() */
4566 int oldSort, oldSortAux;
4569 + int news = 0; /* is it a news article ? */
4571 + if (option (OPTNEWSSEND))
4575 mutt_attach_init (msg->content);
4576 idx = mutt_gen_attach_list (msg->content, -1, idx, &idxlen, &idxmax, 0, 1);
4577 @@ -517,10 +575,18 @@
4578 menu->make_entry = snd_entry;
4579 menu->tag = mutt_tag_attach;
4583 + menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_COMPOSE, ComposeNewsHelp);
4586 menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_COMPOSE, ComposeHelp);
4591 + unset_option (OPTNEWS); /* for any case */
4593 switch (op = mutt_menuLoop (menu))
4596 @@ -532,14 +598,81 @@
4597 menu->redraw = edit_address_list (HDR_FROM, &msg->env->from);
4599 case OP_COMPOSE_EDIT_TO:
4600 - menu->redraw = edit_address_list (HDR_TO, &msg->env->to);
4604 + menu->redraw = edit_address_list (HDR_TO, &msg->env->to);
4606 case OP_COMPOSE_EDIT_BCC:
4607 - menu->redraw = edit_address_list (HDR_BCC, &msg->env->bcc);
4611 + menu->redraw = edit_address_list (HDR_BCC, &msg->env->bcc);
4613 case OP_COMPOSE_EDIT_CC:
4614 - menu->redraw = edit_address_list (HDR_CC, &msg->env->cc);
4618 + menu->redraw = edit_address_list (HDR_CC, &msg->env->cc);
4621 + case OP_COMPOSE_EDIT_NEWSGROUPS:
4624 + if (msg->env->newsgroups)
4625 + strfcpy (buf, msg->env->newsgroups, sizeof (buf));
4628 + if (mutt_get_field ("Newsgroups: ", buf, sizeof (buf), 0) == 0 && buf[0])
4630 + safe_free ((void **) &msg->env->newsgroups);
4631 + mutt_remove_trailing_ws (buf);
4632 + msg->env->newsgroups = safe_strdup (mutt_skip_whitespace (buf));
4633 + move (HDR_TO, HDR_XOFFSET);
4635 + if (msg->env->newsgroups)
4636 + printw ("%-*.*s", W, W, msg->env->newsgroups);
4641 + case OP_COMPOSE_EDIT_FOLLOWUP_TO:
4645 + if (msg->env->followup_to)
4646 + strfcpy (buf, msg->env->followup_to, sizeof (buf));
4647 + if (mutt_get_field ("Followup-To: ", buf, sizeof (buf), 0) == 0 && buf[0])
4649 + safe_free ((void **) &msg->env->followup_to);
4650 + mutt_remove_trailing_ws (buf);
4651 + msg->env->followup_to = safe_strdup (mutt_skip_whitespace (buf));
4652 + move (HDR_CC, HDR_XOFFSET);
4654 + if (msg->env->followup_to)
4655 + printw ("%-*.*s", W, W, msg->env->followup_to);
4660 + case OP_COMPOSE_EDIT_X_COMMENT_TO:
4661 + if (news && option (OPTXCOMMENTTO))
4664 + if (msg->env->x_comment_to)
4665 + strfcpy (buf, msg->env->x_comment_to, sizeof (buf));
4666 + if (mutt_get_field ("X-Comment-To: ", buf, sizeof (buf), 0) == 0 && buf[0])
4668 + safe_free ((void **) &msg->env->x_comment_to);
4669 + msg->env->x_comment_to = safe_strdup (buf);
4670 + move (HDR_BCC, HDR_XOFFSET);
4672 + if (msg->env->x_comment_to)
4673 + printw ("%-*.*s", W, W, msg->env->x_comment_to);
4678 case OP_COMPOSE_EDIT_SUBJECT:
4679 if (msg->env->subject)
4680 strfcpy (buf, msg->env->subject, sizeof (buf));
4684 case OP_COMPOSE_ATTACH_MESSAGE:
4686 + case OP_COMPOSE_ATTACH_NEWS_MESSAGE:
4691 @@ -702,7 +838,22 @@
4693 prompt = _("Open mailbox to attach message from");
4696 + unset_option (OPTNEWS);
4697 + if (op == OP_COMPOSE_ATTACH_NEWS_MESSAGE)
4699 + if (!(CurrentNewsSrv = mutt_select_newsserver (NewsServer)))
4702 + prompt = _("Open newsgroup to attach message from");
4703 + set_option (OPTNEWS);
4709 + if ((op == OP_COMPOSE_ATTACH_MESSAGE) ^ (Context->magic == M_NNTP))
4712 strfcpy (fname, NONULL (Context->path), sizeof (fname));
4713 mutt_pretty_mailbox (fname);
4714 @@ -711,6 +862,11 @@
4715 if (mutt_enter_fname (prompt, fname, sizeof (fname), &menu->redraw, 1) == -1 || !fname[0])
4719 + if (option (OPTNEWS))
4720 + nntp_expand_path (fname, sizeof (fname), &CurrentNewsSrv->conn->account);
4723 mutt_expand_path (fname, sizeof (fname));
4725 if (!mx_is_imap (fname))
4728 if (!mx_is_pop (fname))
4731 + if (!mx_is_nntp (fname) && !option (OPTNEWS))
4733 /* check to make sure the file exists and is readable */
4734 if (access (fname, R_OK) == -1)
4736 diff -uNr mutt-1.4.orig/config.guess mutt-1.4/config.guess
4737 --- mutt-1.4.orig/config.guess Wed Jan 16 21:44:49 2002
4738 +++ mutt-1.4/config.guess Sun Nov 3 21:57:29 2002
4740 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4741 # 2000, 2001, 2002 Free Software Foundation, Inc.
4743 -timestamp='2002-01-10'
4744 +timestamp='2002-07-23'
4746 # This file is free software; you can redistribute it and/or modify it
4747 # under the terms of the GNU General Public License as published by
4752 +trap 'exit 1' 1 2 15
4755 -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
4756 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
4757 +# compiler to aid in system detection is discouraged as it requires
4758 +# temporary files to be created and, as you can see below, it is a
4759 +# headache to deal with in a portable fashion.
4761 -# CC_FOR_BUILD -- compiler used by this script.
4762 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
4763 # use `HOST_CC' if defined, but it is deprecated.
4765 -set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
4766 - ,,) echo "int dummy(){}" > $dummy.c ;
4767 - for c in cc gcc c89 ; do
4768 - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
4769 - if test $? = 0 ; then
4770 +# This shell variable is my proudest work .. or something. --bje
4772 +set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ;
4773 +(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old)
4774 + || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ;
4775 +dummy=$tmpdir/dummy ;
4776 +files="$dummy.c $dummy.o $dummy.rel $dummy" ;
4777 +trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ;
4778 +case $CC_FOR_BUILD,$HOST_CC,$CC in
4779 + ,,) echo "int x;" > $dummy.c ;
4780 + for c in cc gcc c89 c99 ; do
4781 + if ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; then
4782 CC_FOR_BUILD="$c"; break ;
4785 - rm -f $dummy.c $dummy.o $dummy.rel ;
4787 if test x"$CC_FOR_BUILD" = x ; then
4788 CC_FOR_BUILD=no_compiler_found ;
4791 ,,*) CC_FOR_BUILD=$CC ;;
4792 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
4797 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
4798 # (ghazi@noc.rutgers.edu 1994-08-24)
4799 @@ -138,9 +148,11 @@
4801 # Note: NetBSD doesn't particularly care about the vendor
4802 # portion of the name. We always set it to "unknown".
4803 - UNAME_MACHINE_ARCH=`(uname -p) 2>/dev/null` || \
4804 - UNAME_MACHINE_ARCH=unknown
4805 + sysctl="sysctl -n hw.machine_arch"
4806 + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
4807 + /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
4808 case "${UNAME_MACHINE_ARCH}" in
4809 + armeb) machine=armeb-unknown ;;
4810 arm*) machine=arm-unknown ;;
4811 sh3el) machine=shl-unknown ;;
4812 sh3eb) machine=sh-unknown ;;
4814 # A Tn.n version is a released field test version.
4815 # A Xn.n version is an unreleased experimental baselevel.
4816 # 1.2 uses "1.2" for uname -r.
4817 + eval $set_cc_for_build
4821 @@ -244,10 +257,9 @@
4825 - eval $set_cc_for_build
4826 $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
4827 if test "$?" = 0 ; then
4828 - case `./$dummy` in
4831 UNAME_MACHINE="alpha"
4833 @@ -269,9 +281,12 @@
4835 UNAME_MACHINE="alphaev68"
4838 + UNAME_MACHINE="alphaev7"
4842 - rm -f $dummy.s $dummy
4843 + rm -f $dummy.s $dummy && rmdir $tmpdir
4844 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4846 Alpha\ *:Windows_NT*:*)
4847 @@ -312,6 +327,10 @@
4849 echo pyramid-pyramid-svr4
4851 + DRS?6000:UNIX_SV:4.2*:7*)
4852 + case `/usr/bin/uname -p` in
4853 + sparc) echo sparc-icl-nx7 && exit 0 ;;
4856 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
4859 echo m68k-sun-sunos${UNAME_RELEASE}
4862 - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
4863 + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
4864 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
4865 case "`/bin/arch`" in
4867 @@ -419,14 +438,17 @@
4870 $CC_FOR_BUILD $dummy.c -o $dummy \
4871 - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
4872 - && rm -f $dummy.c $dummy && exit 0
4873 - rm -f $dummy.c $dummy
4874 + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
4875 + && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
4876 + rm -f $dummy.c $dummy && rmdir $tmpdir
4877 echo mips-mips-riscos${UNAME_RELEASE}
4879 Motorola:PowerMAX_OS:*:*)
4880 echo powerpc-motorola-powermax
4882 + Night_Hawk:*:*:PowerMAX_OS)
4883 + echo powerpc-harris-powermax
4885 Night_Hawk:Power_UNIX:*:*)
4886 echo powerpc-harris-powerunix
4892 - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
4893 - rm -f $dummy.c $dummy
4894 + $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
4895 + rm -f $dummy.c $dummy && rmdir $tmpdir
4896 echo rs6000-ibm-aix3.2.5
4897 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
4898 echo rs6000-ibm-aix3.2.4
4903 - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
4904 + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
4905 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
4912 - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
4913 + (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`$dummy`
4914 if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
4915 - rm -f $dummy.c $dummy
4916 + rm -f $dummy.c $dummy && rmdir $tmpdir
4919 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
4924 - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
4925 - rm -f $dummy.c $dummy
4926 + $CC_FOR_BUILD $dummy.c -o $dummy && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
4927 + rm -f $dummy.c $dummy && rmdir $tmpdir
4928 echo unknown-hitachi-hiuxwe2
4930 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
4932 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
4936 - echo xmp-cray-unicos
4939 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
4943 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
4946 - echo cray2-cray-unicos
4948 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
4949 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
4950 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
4951 @@ -726,7 +742,19 @@
4952 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
4955 - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
4956 + # Determine whether the default compiler uses glibc.
4957 + eval $set_cc_for_build
4958 + sed 's/^ //' << EOF >$dummy.c
4959 + #include <features.h>
4960 + #if __GLIBC__ >= 2
4966 + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
4967 + rm -f $dummy.c && rmdir $tmpdir
4968 + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
4971 echo ${UNAME_MACHINE}-pc-cygwin
4973 echo ${UNAME_MACHINE}-unknown-linux-gnu
4976 - echo ${UNAME_MACHINE}-unknown-linux
4977 + echo ${UNAME_MACHINE}-unknown-linux-gnu
4980 echo ${UNAME_MACHINE}-unknown-linux-gnu
4981 @@ -776,18 +804,18 @@
4985 - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4987 + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
4990 - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4991 + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
4999 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
5001 + rm -f $dummy.c && rmdir $tmpdir
5002 test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
5006 # The BFD linker knows what the default object file format is, so
5007 # first see if it will tell us. cd to the root directory to prevent
5008 # problems with other programs or directories called `ld' in the path.
5009 - ld_supported_targets=`cd /; ld --help 2>&1 \
5010 + # Set LC_ALL=C to ensure ld outputs messages in English.
5011 + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
5012 | sed -ne '/supported targets:/!d
5014 s/.*supported targets: *//
5018 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
5022 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
5024 @@ -874,11 +903,15 @@
5028 + #ifdef __INTEL_COMPILER
5035 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
5037 + rm -f $dummy.c && rmdir $tmpdir
5038 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
5039 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
5041 @@ -917,13 +950,13 @@
5042 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
5043 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
5044 elif /bin/uname -X 2>/dev/null >/dev/null ; then
5045 - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
5046 - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
5047 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
5048 + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
5049 + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
5050 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
5051 && UNAME_MACHINE=i586
5052 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
5053 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
5054 && UNAME_MACHINE=i686
5055 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
5056 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
5057 && UNAME_MACHINE=i686
5058 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
5063 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
5064 - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
5065 + 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
5067 test -r /etc/.relid \
5068 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
5069 @@ -1059,10 +1092,12 @@
5070 echo `uname -p`-apple-darwin${UNAME_RELEASE}
5072 *:procnto*:*:* | *:QNX:[0123456789]*:*)
5073 - if test "${UNAME_MACHINE}" = "x86pc"; then
5074 + UNAME_PROCESSOR=`uname -p`
5075 + if test "$UNAME_PROCESSOR" = "x86"; then
5076 + UNAME_PROCESSOR=i386
5079 - echo `uname -p`-${UNAME_MACHINE}-nto-qnx
5080 + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
5084 @@ -1239,8 +1274,8 @@
5088 -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
5089 -rm -f $dummy.c $dummy
5090 +$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0
5091 +rm -f $dummy.c $dummy && rmdir $tmpdir
5093 # Apollos put the system type in the environment.
5095 diff -uNr mutt-1.4.orig/config.h.in mutt-1.4/config.h.in
5096 --- mutt-1.4.orig/config.h.in Sun Nov 3 21:42:51 2002
5097 +++ mutt-1.4/config.h.in Sun Nov 3 21:57:45 2002
5099 -/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
5101 -/* Define if using alloca.c. */
5104 -/* Define to empty if the keyword does not work. */
5107 -/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
5108 - This function is required for alloca.c support on those systems. */
5109 -#undef CRAY_STACKSEG_END
5111 -/* Define if you have alloca, as a function or macro. */
5114 -/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
5115 -#undef HAVE_ALLOCA_H
5117 -/* Define if you have a working `mmap' system call. */
5120 -/* Define as __inline if that's what the C compiler calls it. */
5123 -/* Define to `long' if <sys/types.h> doesn't define. */
5126 -/* Define to `int' if <sys/types.h> doesn't define. */
5129 -/* Define as the return type of signal handlers (int or void). */
5132 -/* Define to `unsigned' if <sys/types.h> doesn't define. */
5135 -/* If using the C implementation of alloca, define if you know the
5136 - direction of stack growth for your system; otherwise it will be
5137 - automatically deduced at run-time.
5138 - STACK_DIRECTION > 0 => grows toward higher addresses
5139 - STACK_DIRECTION < 0 => grows toward lower addresses
5140 - STACK_DIRECTION = 0 => direction of growth unknown
5142 -#undef STACK_DIRECTION
5144 -/* Define if you have the ANSI C header files. */
5145 -#undef STDC_HEADERS
5147 -/* Define if `sys_siglist' is declared by <signal.h>. */
5148 -#undef SYS_SIGLIST_DECLARED
5150 -/* Define if your processor stores words with the most significant
5151 - byte first (like Motorola and SPARC, unlike Intel and VAX). */
5152 -#undef WORDS_BIGENDIAN
5153 +/* config.h.in. Generated from configure.in by autoheader. */
5156 * Define if you have problems with mutt not detecting new/old mailboxes
5161 +/* Compiling with newsreading support with NNTP */
5164 /* program to use for shell commands */
5165 #define EXECSHELL "/bin/sh"
5167 @@ -78,418 +28,493 @@
5168 /* Define to `int' if <signal.h> doesn't define. */
5171 -/* The number of bytes in a int. */
5174 -/* The number of bytes in a long. */
5176 +/* Define to enable the "buffy_size" feature. */
5179 -/* Define if you have the RAND_egd function. */
5180 -#undef HAVE_RAND_EGD
5181 +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
5182 + systems. This function is required for `alloca.c' support on those systems.
5184 +#undef CRAY_STACKSEG_END
5186 -/* Define if you have the RAND_status function. */
5187 -#undef HAVE_RAND_STATUS
5188 +/* Define to 1 if using `alloca.c'. */
5191 -/* Define if you have the __argz_count function. */
5192 -#undef HAVE___ARGZ_COUNT
5193 +/* Define to enable debugging info. */
5196 -/* Define if you have the __argz_next function. */
5197 -#undef HAVE___ARGZ_NEXT
5198 +/* Define if you want to use an external dotlocking program. */
5199 +#undef DL_STANDALONE
5201 -/* Define if you have the __argz_stringify function. */
5202 -#undef HAVE___ARGZ_STRINGIFY
5203 +/* Define your domain name. */
5206 +/* Define to 1 if translation of program messages to the user's native
5207 + language is requested. */
5210 +/* Define to 1 if you have `alloca', as a function or macro. */
5213 +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
5215 +#undef HAVE_ALLOCA_H
5217 +/* Define to 1 if you have the <argz.h> header file. */
5220 -/* Define if you have the bind_textdomain_codeset function. */
5221 +/* Define to 1 if you have the `bind_textdomain_codeset' function. */
5222 #undef HAVE_BIND_TEXTDOMAIN_CODESET
5224 -/* Define if you have the dcgettext function. */
5225 +/* Define if your curses library supports color. */
5228 +/* Define to 1 if you have the `dcgettext' function. */
5229 #undef HAVE_DCGETTEXT
5231 -/* Define if you have the fchdir function. */
5232 +/* Define to 1 if you have the `fchdir' function. */
5235 -/* Define if you have the feof_unlocked function. */
5236 +/* Define to 1 if you have the `feof_unlocked' function. */
5237 #undef HAVE_FEOF_UNLOCKED
5239 -/* Define if you have the fgetpos function. */
5240 +/* Define to 1 if you have the `fgetpos' function. */
5243 -/* Define if you have the fgets_unlocked function. */
5244 +/* Define to 1 if you have the `fgets_unlocked' function. */
5245 #undef HAVE_FGETS_UNLOCKED
5247 -/* Define if you have the ftruncate function. */
5248 +/* Define to 1 if you have the `ftruncate' function. */
5249 #undef HAVE_FTRUNCATE
5251 -/* Define if you have the getaddrinfo function. */
5252 +/* Define to 1 if you have the `getaddrinfo' function. */
5253 #undef HAVE_GETADDRINFO
5255 -/* Define if you have the getcwd function. */
5256 +/* Define to 1 if you have the `getcwd' function. */
5259 -/* Define if you have the getegid function. */
5260 +/* Define to 1 if you have the `getegid' function. */
5263 -/* Define if you have the geteuid function. */
5264 +/* Define to 1 if you have the `geteuid' function. */
5267 -/* Define if you have the getgid function. */
5268 +/* Define to 1 if you have the `getgid' function. */
5271 -/* Define if you have the getpagesize function. */
5272 +/* Define to 1 if you have the <getopt.h> header file. */
5273 +#undef HAVE_GETOPT_H
5275 +/* Define to 1 if you have the `getpagesize' function. */
5276 #undef HAVE_GETPAGESIZE
5278 -/* Define if you have the getsid function. */
5279 +/* Define to 1 if you have the `getsid' function. */
5282 -/* Define if you have the getuid function. */
5283 +/* Define if the GNU gettext() function is already present or preinstalled. */
5284 +#undef HAVE_GETTEXT
5286 +/* Define to 1 if you have the `getuid' function. */
5289 -/* Define if you have the iswalnum function. */
5290 +/* Define if your GSSAPI implementation is Heimdal */
5291 +#undef HAVE_HEIMDAL
5293 +/* Define if you have the iconv() function. */
5296 +/* Define to 1 if you have the <iconv.h> header file. */
5297 +#undef HAVE_ICONV_H
5299 +/* Define if <iconv.h> defines iconv_t. */
5300 +#undef HAVE_ICONV_T_DEF
5302 +/* Define to 1 if you have the <inttypes.h> header file. */
5303 +#undef HAVE_INTTYPES_H
5305 +/* Define to 1 if you have the <ioctl.h> header file. */
5306 +#undef HAVE_IOCTL_H
5308 +/* Define to 1 if you have the `iswalnum' function. */
5309 #undef HAVE_ISWALNUM
5311 -/* Define if you have the iswalpha function. */
5312 +/* Define to 1 if you have the `iswalpha' function. */
5313 #undef HAVE_ISWALPHA
5315 -/* Define if you have the iswcntrl function. */
5316 +/* Define to 1 if you have the `iswcntrl' function. */
5317 #undef HAVE_ISWCNTRL
5319 -/* Define if you have the iswdigit function. */
5320 +/* Define to 1 if you have the `iswdigit' function. */
5321 #undef HAVE_ISWDIGIT
5323 -/* Define if you have the iswgraph function. */
5324 +/* Define to 1 if you have the `iswgraph' function. */
5325 #undef HAVE_ISWGRAPH
5327 -/* Define if you have the iswlower function. */
5328 +/* Define to 1 if you have the `iswlower' function. */
5329 #undef HAVE_ISWLOWER
5331 -/* Define if you have the iswprint function. */
5332 +/* Define to 1 if you have the `iswprint' function. */
5333 #undef HAVE_ISWPRINT
5335 -/* Define if you have the iswpunct function. */
5336 +/* Define to 1 if you have the `iswpunct' function. */
5337 #undef HAVE_ISWPUNCT
5339 -/* Define if you have the iswspace function. */
5340 +/* Define to 1 if you have the `iswspace' function. */
5341 #undef HAVE_ISWSPACE
5343 -/* Define if you have the iswupper function. */
5344 +/* Define to 1 if you have the `iswupper' function. */
5345 #undef HAVE_ISWUPPER
5347 -/* Define if you have the iswxdigit function. */
5348 +/* Define to 1 if you have the `iswxdigit' function. */
5349 #undef HAVE_ISWXDIGIT
5351 -/* Define if you have the memmove function. */
5352 -#undef HAVE_MEMMOVE
5353 +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
5354 +#undef HAVE_LANGINFO_CODESET
5356 -/* Define if you have the mempcpy function. */
5357 -#undef HAVE_MEMPCPY
5358 +/* Define if you have <langinfo.h> and nl_langinfo(YESEXPR). */
5359 +#undef HAVE_LANGINFO_YESEXPR
5361 -/* Define if you have the munmap function. */
5363 +/* Define if your <locale.h> file defines LC_MESSAGES. */
5364 +#undef HAVE_LC_MESSAGES
5366 -/* Define if you have the putenv function. */
5368 +/* Define to 1 if you have the `crypto' library (-lcrypto). */
5369 +#undef HAVE_LIBCRYPTO
5371 -/* Define if you have the regcomp function. */
5372 -#undef HAVE_REGCOMP
5373 +/* Define to 1 if you have the `intl' library (-lintl). */
5374 +#undef HAVE_LIBINTL
5376 -/* Define if you have the setegid function. */
5377 -#undef HAVE_SETEGID
5378 +/* Define to 1 if you have the `nsl' library (-lnsl). */
5381 -/* Define if you have the setenv function. */
5383 +/* Define to 1 if you have the `sasl' library (-lsasl). */
5384 +#undef HAVE_LIBSASL
5386 -/* Define if you have the setlocale function. */
5387 -#undef HAVE_SETLOCALE
5388 +/* Define to 1 if you have the `socket' library (-lsocket). */
5389 +#undef HAVE_LIBSOCKET
5391 -/* Define if you have the setrlimit function. */
5392 -#undef HAVE_SETRLIMIT
5393 +/* Define to 1 if you have the `ssl' library (-lssl). */
5396 -/* Define if you have the snprintf function. */
5397 -#undef HAVE_SNPRINTF
5398 +/* Define to 1 if you have the `termlib' library (-ltermlib). */
5399 +#undef HAVE_LIBTERMLIB
5401 -/* Define if you have the srand48 function. */
5402 -#undef HAVE_SRAND48
5403 +/* Define to 1 if you have the `x' library (-lx). */
5406 -/* Define if you have the stpcpy function. */
5408 +/* Define to 1 if you have the <limits.h> header file. */
5409 +#undef HAVE_LIMITS_H
5411 -/* Define if you have the strcasecmp function. */
5412 -#undef HAVE_STRCASECMP
5413 +/* Define to 1 if you have the <locale.h> header file. */
5414 +#undef HAVE_LOCALE_H
5416 -/* Define if you have the strchr function. */
5418 +/* Define to 1 if you have the <malloc.h> header file. */
5419 +#undef HAVE_MALLOC_H
5421 -/* Define if you have the strdup function. */
5423 +/* Define to 1 if you have the `memmove' function. */
5424 +#undef HAVE_MEMMOVE
5426 -/* Define if you have the strerror function. */
5427 -#undef HAVE_STRERROR
5428 +/* Define to 1 if you have the <memory.h> header file. */
5429 +#undef HAVE_MEMORY_H
5431 -/* Define if you have the strftime function. */
5432 -#undef HAVE_STRFTIME
5433 +/* Define to 1 if you have the `mempcpy' function. */
5434 +#undef HAVE_MEMPCPY
5436 -/* Define if you have the strtoul function. */
5437 -#undef HAVE_STRTOUL
5438 +/* Define to 1 if you have a working `mmap' system call. */
5441 -/* Define if you have the towlower function. */
5442 -#undef HAVE_TOWLOWER
5443 +/* Define to 1 if you have the `munmap' function. */
5446 -/* Define if you have the towupper function. */
5447 -#undef HAVE_TOWUPPER
5448 +/* Define to 1 if you have the <ncursesw/ncurses.h> header file. */
5449 +#undef HAVE_NCURSESW_NCURSES_H
5451 -/* Define if you have the tsearch function. */
5452 -#undef HAVE_TSEARCH
5453 +/* Define to 1 if you have the <ncurses.h> header file. */
5454 +#undef HAVE_NCURSES_H
5456 -/* Define if you have the vsnprintf function. */
5457 -#undef HAVE_VSNPRINTF
5458 +/* Define to 1 if you have the <nl_types.h> header file. */
5459 +#undef HAVE_NL_TYPES_H
5461 -/* Define if you have the <argz.h> header file. */
5463 +/* Define if you want PGP support. */
5466 -/* Define if you have the <getopt.h> header file. */
5467 -#undef HAVE_GETOPT_H
5468 +/* Define to 1 if you have the `putenv' function. */
5471 -/* Define if you have the <iconv.h> header file. */
5472 -#undef HAVE_ICONV_H
5473 +/* Define to 1 if you have the `RAND_egd' function. */
5474 +#undef HAVE_RAND_EGD
5476 -/* Define if you have the <inttypes.h> header file. */
5477 -#undef HAVE_INTTYPES_H
5478 +/* Define to 1 if you have the `RAND_status' function. */
5479 +#undef HAVE_RAND_STATUS
5481 -/* Define if you have the <ioctl.h> header file. */
5482 -#undef HAVE_IOCTL_H
5483 +/* Define to 1 if you have the `regcomp' function. */
5484 +#undef HAVE_REGCOMP
5486 -/* Define if you have the <limits.h> header file. */
5487 -#undef HAVE_LIMITS_H
5488 +/* Define to 1 if you have the `setegid' function. */
5489 +#undef HAVE_SETEGID
5491 -/* Define if you have the <locale.h> header file. */
5492 -#undef HAVE_LOCALE_H
5493 +/* Define to 1 if you have the `setenv' function. */
5496 -/* Define if you have the <malloc.h> header file. */
5497 -#undef HAVE_MALLOC_H
5498 +/* Define to 1 if you have the `setlocale' function. */
5499 +#undef HAVE_SETLOCALE
5501 -/* Define if you have the <ncurses.h> header file. */
5502 -#undef HAVE_NCURSES_H
5503 +/* Define to 1 if you have the `setrlimit' function. */
5504 +#undef HAVE_SETRLIMIT
5506 -/* Define if you have the <ncursesw/ncurses.h> header file. */
5507 -#undef HAVE_NCURSESW_NCURSES_H
5508 +/* Define to 1 if you have the `snprintf' function. */
5509 +#undef HAVE_SNPRINTF
5511 -/* Define if you have the <nl_types.h> header file. */
5512 -#undef HAVE_NL_TYPES_H
5513 +/* Define to 1 if you have the `srand48' function. */
5514 +#undef HAVE_SRAND48
5516 -/* Define if you have the <stdarg.h> header file. */
5517 +/* Define to 1 if you have the <stdarg.h> header file. */
5518 #undef HAVE_STDARG_H
5520 -/* Define if you have the <stddef.h> header file. */
5521 +/* Define to 1 if you have the <stddef.h> header file. */
5522 #undef HAVE_STDDEF_H
5524 -/* Define if you have the <stdint.h> header file. */
5525 +/* Define to 1 if you have the <stdint.h> header file. */
5526 #undef HAVE_STDINT_H
5528 -/* Define if you have the <stdlib.h> header file. */
5529 +/* Define to 1 if you have the <stdlib.h> header file. */
5530 #undef HAVE_STDLIB_H
5532 -/* Define if you have the <string.h> header file. */
5533 +/* Define to 1 if you have the `stpcpy' function. */
5536 +/* Define to 1 if you have the `strcasecmp' function. */
5537 +#undef HAVE_STRCASECMP
5539 +/* Define to 1 if you have the `strchr' function. */
5542 +/* Define to 1 if you have the `strdup' function. */
5545 +/* Define to 1 if you have the `strerror' function. */
5546 +#undef HAVE_STRERROR
5548 +/* Define to 1 if you have the `strftime' function. */
5549 +#undef HAVE_STRFTIME
5551 +/* Define to 1 if you have the <strings.h> header file. */
5552 +#undef HAVE_STRINGS_H
5554 +/* Define to 1 if you have the <string.h> header file. */
5555 #undef HAVE_STRING_H
5557 -/* Define if you have the <sys/ioctl.h> header file. */
5558 +/* Define to 1 if you have the `strtoul' function. */
5559 +#undef HAVE_STRTOUL
5561 +/* Define to 1 if you have the <sysexits.h> header file. */
5562 +#undef HAVE_SYSEXITS_H
5564 +/* Define to 1 if you have the <sys/ioctl.h> header file. */
5565 #undef HAVE_SYS_IOCTL_H
5567 -/* Define if you have the <sys/param.h> header file. */
5568 +/* Define to 1 if you have the <sys/param.h> header file. */
5569 #undef HAVE_SYS_PARAM_H
5571 -/* Define if you have the <sys/resource.h> header file. */
5572 +/* Define to 1 if you have the <sys/resource.h> header file. */
5573 #undef HAVE_SYS_RESOURCE_H
5575 -/* Define if you have the <sys/time.h> header file. */
5576 +/* Define to 1 if you have the <sys/stat.h> header file. */
5577 +#undef HAVE_SYS_STAT_H
5579 +/* Define to 1 if you have the <sys/time.h> header file. */
5580 #undef HAVE_SYS_TIME_H
5582 -/* Define if you have the <sysexits.h> header file. */
5583 -#undef HAVE_SYSEXITS_H
5584 +/* Define to 1 if you have the <sys/types.h> header file. */
5585 +#undef HAVE_SYS_TYPES_H
5587 +/* Define to 1 if you have the `towlower' function. */
5588 +#undef HAVE_TOWLOWER
5590 -/* Define if you have the <unistd.h> header file. */
5591 +/* Define to 1 if you have the `towupper' function. */
5592 +#undef HAVE_TOWUPPER
5594 +/* Define to 1 if you have the `tsearch' function. */
5595 +#undef HAVE_TSEARCH
5597 +/* Define if you have the uint32_t type. */
5598 +#undef HAVE_UINT32_T
5600 +/* Define to 1 if you have the <unistd.h> header file. */
5601 #undef HAVE_UNISTD_H
5603 -/* Define if you have the <unix.h> header file. */
5604 +/* Define to 1 if you have the <unix.h> header file. */
5607 -/* Define if you have the <wchar.h> header file. */
5608 +/* Define to 1 if you have the `vsnprintf' function. */
5609 +#undef HAVE_VSNPRINTF
5611 +/* Define to 1 if you have the <wchar.h> header file. */
5614 -/* Define if you have the <wctype.h> header file. */
5615 +/* Define to 1 if you have the <wctype.h> header file. */
5616 #undef HAVE_WCTYPE_H
5618 -/* Define if you have the crypto library (-lcrypto). */
5619 -#undef HAVE_LIBCRYPTO
5621 -/* Define if you have the nsl library (-lnsl). */
5624 -/* Define if you have the sasl library (-lsasl). */
5625 -#undef HAVE_LIBSASL
5627 -/* Define if you have the socket library (-lsocket). */
5628 -#undef HAVE_LIBSOCKET
5629 +/* Define if you are using the system's wchar_t functions. */
5630 +#undef HAVE_WC_FUNCS
5632 -/* Define if you have the ssl library (-lssl). */
5634 +/* Define to 1 if you have the `__argz_count' function. */
5635 +#undef HAVE___ARGZ_COUNT
5637 -/* Define if you have the termlib library (-ltermlib). */
5638 -#undef HAVE_LIBTERMLIB
5639 +/* Define to 1 if you have the `__argz_next' function. */
5640 +#undef HAVE___ARGZ_NEXT
5642 -/* Name of package */
5644 +/* Define to 1 if you have the `__argz_stringify' function. */
5645 +#undef HAVE___ARGZ_STRINGIFY
5647 -/* Version number of package */
5649 +/* Define as const if the declaration of iconv() needs const. */
5652 -/* Define if compiler has function prototypes */
5654 +/* Where to find ispell on your system. */
5657 -/* Where to find sendmail on your system. */
5659 +/* Define if the result of isprint() is unreliable. */
5660 +#undef LOCALES_HACK
5662 -/* Define if you want PGP support. */
5664 +/* Where new mail is spooled. */
5667 -/* Where to find mixmaster on your system. */
5668 +/* Where to find mixmaster on your system. */
5671 -/* Is this the international version? */
5673 +/* Name of package */
5676 -/* Where to find ispell on your system. */
5678 +/* Define to the address where bug reports for this package should be sent. */
5679 +#undef PACKAGE_BUGREPORT
5681 -/* Define if you compile with SLang instead of curses/ncurses. */
5682 -#undef USE_SLANG_CURSES
5683 +/* Define to the full name of this package. */
5684 +#undef PACKAGE_NAME
5686 -/* Define if your curses library supports color. */
5688 +/* Define to the full name and version of this package. */
5689 +#undef PACKAGE_STRING
5691 -/* Define if your curses library supports color. */
5693 +/* Define to the one symbol short name of this package. */
5694 +#undef PACKAGE_TARNAME
5696 -/* Define if you have the uint32_t type. */
5697 -#undef HAVE_UINT32_T
5698 +/* Define to the version of this package. */
5699 +#undef PACKAGE_VERSION
5701 -/* Define if you want to use the included regex.c. */
5702 -#undef USE_GNU_REGEX
5703 +/* Define if compiler has function prototypes */
5706 -/* Where new mail is spooled. */
5708 +/* Define as the return type of signal handlers (`int' or `void'). */
5711 -/* Define to use dotlocking for mailboxes. */
5713 +/* Where to find sendmail on your system. */
5716 -/* Where new mail is spooled. */
5718 +/* The size of a `int', as computed by sizeof. */
5721 -/* Define to use dotlocking for mailboxes. */
5723 +/* The size of a `long', as computed by sizeof. */
5726 -/* Define to use dotlocking for mailboxes. */
5728 +/* If using the C implementation of alloca, define if you know the
5729 + direction of stack growth for your system; otherwise it will be
5730 + automatically deduced at run-time.
5731 + STACK_DIRECTION > 0 => grows toward higher addresses
5732 + STACK_DIRECTION < 0 => grows toward lower addresses
5733 + STACK_DIRECTION = 0 => direction of growth unknown */
5734 +#undef STACK_DIRECTION
5736 -/* Define if mutt should run setgid mail. */
5738 +/* Define to 1 if you have the ANSI C header files. */
5739 +#undef STDC_HEADERS
5741 -/* Define if you want to use an external dotlocking program. */
5742 -#undef DL_STANDALONE
5743 +/* Is this the international version? */
5746 -/* Define your domain name. */
5748 +/* Define to enable Sun mailtool attachments support. */
5749 +#undef SUN_ATTACHMENT
5751 -/* Define if you want support for the POP3 protocol. */
5753 +/* Define to 1 if `sys_siglist' is declared by <signal.h> or <unistd.h>. */
5754 +#undef SYS_SIGLIST_DECLARED
5756 -/* Define if you want support for the IMAP protocol. */
5758 +/* Define to support compressed folders. */
5759 +#undef USE_COMPRESSED
5761 -/* Define to 'int' if <sys/socket.h> doesn't have it. */
5763 +/* Define to use dotlocking for mailboxes. */
5766 -/* Include code for socket support. Set automatically if you enable POP3 or IMAP */
5768 +/* Define to use fcntl() to lock folders. */
5771 -/* Define if your GSSAPI implementation is Heimdal */
5772 -#undef HAVE_HEIMDAL
5773 +/* Define to use flock() to lock mailboxes. */
5776 -/* Define if you have GSSAPI libraries available */
5777 +/* Define if you want to use the included regex.c. */
5778 +#undef USE_GNU_REGEX
5780 +/* Define if you have GSSAPI libraries available */
5783 -/* Define if you want support for SSL. */
5785 +/* Define if you want support for the IMAP protocol. */
5788 -/* Define if you want support for SSL via the NSS library. */
5789 +/* Define if you want support for SSL via the NSS library. */
5792 -/* Define if want to use the Cyrus SASL library for POP/IMAP authentication. */
5794 +/* Define if you want support for the POP3 protocol. */
5797 -/* Define to enable debugging info. */
5799 +/* Define if want to use the Cyrus SASL library for POP/IMAP authentication.
5803 -/* Define to use flock() to lock mailboxes. */
5805 +/* Define if mutt should run setgid "mail". */
5808 -/* Define to use fcntl() to lock folders. */
5810 +/* Define if you compile with SLang instead of curses/ncurses. */
5811 +#undef USE_SLANG_CURSES
5813 -/* Define to enable the buffy_size feature. */
5815 +/* Include code for socket support. Set automatically if you enable POP3 or
5819 -/* Define to enable Sun mailtool attachments support. */
5820 -#undef SUN_ATTACHMENT
5821 +/* Define if you want support for SSL. */
5824 -/* Define to enable compressed mailboxes support */
5825 -#undef USE_COMPRESSED
5826 +/* Version number of package */
5829 -/* Define if the result of isprint() is unreliable. */
5830 -#undef LOCALES_HACK
5831 +/* Define to 1 if your processor stores words with the most significant byte
5832 + first (like Motorola and SPARC, unlike Intel and VAX). */
5833 +#undef WORDS_BIGENDIAN
5835 -/* Define if you have the iconv() function. */
5837 +/* Define to empty if `const' does not conform to ANSI C. */
5840 -/* Define as const if the declaration of iconv() needs const. */
5842 +/* Define as `__inline' if that's what the C compiler calls it, or to nothing
5843 + if it is not supported. */
5846 -/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
5847 -#undef HAVE_LANGINFO_CODESET
5848 +/* Define to 'int' if system headers don't define. */
5851 -/* Define if your <locale.h> file defines LC_MESSAGES. */
5852 -#undef HAVE_LC_MESSAGES
5853 +/* Define to `long' if <sys/types.h> does not define. */
5856 -/* Define to 1 if translation of program messages to the user's native language
5859 +/* Define to `int' if <sys/types.h> does not define. */
5862 -/* Define if the GNU gettext() function is already present or preinstalled. */
5863 -#undef HAVE_GETTEXT
5864 +/* Define to `int' if <sys/types.h> does not define. */
5865 +#undef sig_atomic_t
5867 -/* Define if <iconv.h> defines iconv_t. */
5868 -#undef HAVE_ICONV_T_DEF
5869 +/* Define to `unsigned' if <sys/types.h> does not define. */
5872 -/* Define if your gettext has bind_textdomain_codeset. */
5873 -#undef HAVE_BIND_TEXTDOMAIN_CODESET
5874 +/* Define to 'int' if <sys/socket.h> doesn't have it. */
5877 -/* Define to 'int' if system headers don't define. */
5878 +/* Define to 'int' if system headers don't define. */
5881 -/* Define to 'int' if system headers don't define. */
5882 +/* Define to 'int' if system headers don't define. */
5885 -/* Define to 'int' if system headers don't define. */
5888 -/* Define if you are using the system's wchar_t functions. */
5889 -#undef HAVE_WC_FUNCS
5891 -/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
5892 -#undef HAVE_LANGINFO_CODESET
5894 -/* Define if you have <langinfo.h> and nl_langinfo(YESEXPR). */
5895 -#undef HAVE_LANGINFO_YESEXPR
5897 /* Define if you have start_color, as a function or macro. */
5898 #undef HAVE_START_COLOR
5900 diff -uNr mutt-1.4.orig/config.h.in~ mutt-1.4/config.h.in~
5901 --- mutt-1.4.orig/config.h.in~ Thu Jan 1 01:00:00 1970
5902 +++ mutt-1.4/config.h.in~ Sun Nov 3 21:57:20 2002
5904 +/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
5906 +/* Define if using alloca.c. */
5909 +/* Define to empty if the keyword does not work. */
5912 +/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
5913 + This function is required for alloca.c support on those systems. */
5914 +#undef CRAY_STACKSEG_END
5916 +/* Define if you have alloca, as a function or macro. */
5919 +/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
5920 +#undef HAVE_ALLOCA_H
5922 +/* Define if you have a working `mmap' system call. */
5925 +/* Define as __inline if that's what the C compiler calls it. */
5928 +/* Define to `long' if <sys/types.h> doesn't define. */
5931 +/* Define to `int' if <sys/types.h> doesn't define. */
5934 +/* Define as the return type of signal handlers (int or void). */
5937 +/* Define to `unsigned' if <sys/types.h> doesn't define. */
5940 +/* If using the C implementation of alloca, define if you know the
5941 + direction of stack growth for your system; otherwise it will be
5942 + automatically deduced at run-time.
5943 + STACK_DIRECTION > 0 => grows toward higher addresses
5944 + STACK_DIRECTION < 0 => grows toward lower addresses
5945 + STACK_DIRECTION = 0 => direction of growth unknown
5947 +#undef STACK_DIRECTION
5949 +/* Define if you have the ANSI C header files. */
5950 +#undef STDC_HEADERS
5952 +/* Define if `sys_siglist' is declared by <signal.h>. */
5953 +#undef SYS_SIGLIST_DECLARED
5955 +/* Define if your processor stores words with the most significant
5956 + byte first (like Motorola and SPARC, unlike Intel and VAX). */
5957 +#undef WORDS_BIGENDIAN
5960 + * Define if you have problems with mutt not detecting new/old mailboxes
5961 + * over NFS. Some NFS implementations incorrectly cache the attributes
5964 +#undef NFS_ATTRIBUTE_HACK
5967 + * Is mail spooled to the user's home directory? If defined, MAILPATH should
5968 + * be set to the filename of the spool mailbox relative the the home
5970 + * use: configure --with-homespool=FILE
5974 +/* Compiling with newsreading support with NNTP */
5977 +/* program to use for shell commands */
5978 +#define EXECSHELL "/bin/sh"
5980 +/* Enable exact regeneration of email addresses as parsed? NOTE: this requires
5981 + significant more memory when defined. */
5982 +#undef EXACT_ADDRESS
5984 +/* Define to `int' if <signal.h> doesn't define. */
5985 +#undef sig_atomic_t
5987 +/* The number of bytes in a int. */
5990 +/* The number of bytes in a long. */
5993 +/* Define if you have the RAND_egd function. */
5994 +#undef HAVE_RAND_EGD
5996 +/* Define if you have the RAND_status function. */
5997 +#undef HAVE_RAND_STATUS
5999 +/* Define if you have the __argz_count function. */
6000 +#undef HAVE___ARGZ_COUNT
6002 +/* Define if you have the __argz_next function. */
6003 +#undef HAVE___ARGZ_NEXT
6005 +/* Define if you have the __argz_stringify function. */
6006 +#undef HAVE___ARGZ_STRINGIFY
6008 +/* Define if you have the bind_textdomain_codeset function. */
6009 +#undef HAVE_BIND_TEXTDOMAIN_CODESET
6011 +/* Define if you have the dcgettext function. */
6012 +#undef HAVE_DCGETTEXT
6014 +/* Define if you have the fchdir function. */
6017 +/* Define if you have the feof_unlocked function. */
6018 +#undef HAVE_FEOF_UNLOCKED
6020 +/* Define if you have the fgetpos function. */
6021 +#undef HAVE_FGETPOS
6023 +/* Define if you have the fgets_unlocked function. */
6024 +#undef HAVE_FGETS_UNLOCKED
6026 +/* Define if you have the ftruncate function. */
6027 +#undef HAVE_FTRUNCATE
6029 +/* Define if you have the getaddrinfo function. */
6030 +#undef HAVE_GETADDRINFO
6032 +/* Define if you have the getcwd function. */
6035 +/* Define if you have the getegid function. */
6036 +#undef HAVE_GETEGID
6038 +/* Define if you have the geteuid function. */
6039 +#undef HAVE_GETEUID
6041 +/* Define if you have the getgid function. */
6044 +/* Define if you have the getpagesize function. */
6045 +#undef HAVE_GETPAGESIZE
6047 +/* Define if you have the getsid function. */
6050 +/* Define if you have the getuid function. */
6053 +/* Define if you have the iswalnum function. */
6054 +#undef HAVE_ISWALNUM
6056 +/* Define if you have the iswalpha function. */
6057 +#undef HAVE_ISWALPHA
6059 +/* Define if you have the iswcntrl function. */
6060 +#undef HAVE_ISWCNTRL
6062 +/* Define if you have the iswdigit function. */
6063 +#undef HAVE_ISWDIGIT
6065 +/* Define if you have the iswgraph function. */
6066 +#undef HAVE_ISWGRAPH
6068 +/* Define if you have the iswlower function. */
6069 +#undef HAVE_ISWLOWER
6071 +/* Define if you have the iswprint function. */
6072 +#undef HAVE_ISWPRINT
6074 +/* Define if you have the iswpunct function. */
6075 +#undef HAVE_ISWPUNCT
6077 +/* Define if you have the iswspace function. */
6078 +#undef HAVE_ISWSPACE
6080 +/* Define if you have the iswupper function. */
6081 +#undef HAVE_ISWUPPER
6083 +/* Define if you have the iswxdigit function. */
6084 +#undef HAVE_ISWXDIGIT
6086 +/* Define if you have the memmove function. */
6087 +#undef HAVE_MEMMOVE
6089 +/* Define if you have the mempcpy function. */
6090 +#undef HAVE_MEMPCPY
6092 +/* Define if you have the munmap function. */
6095 +/* Define if you have the putenv function. */
6098 +/* Define if you have the regcomp function. */
6099 +#undef HAVE_REGCOMP
6101 +/* Define if you have the setegid function. */
6102 +#undef HAVE_SETEGID
6104 +/* Define if you have the setenv function. */
6107 +/* Define if you have the setlocale function. */
6108 +#undef HAVE_SETLOCALE
6110 +/* Define if you have the setrlimit function. */
6111 +#undef HAVE_SETRLIMIT
6113 +/* Define if you have the snprintf function. */
6114 +#undef HAVE_SNPRINTF
6116 +/* Define if you have the srand48 function. */
6117 +#undef HAVE_SRAND48
6119 +/* Define if you have the stpcpy function. */
6122 +/* Define if you have the strcasecmp function. */
6123 +#undef HAVE_STRCASECMP
6125 +/* Define if you have the strchr function. */
6128 +/* Define if you have the strdup function. */
6131 +/* Define if you have the strerror function. */
6132 +#undef HAVE_STRERROR
6134 +/* Define if you have the strftime function. */
6135 +#undef HAVE_STRFTIME
6137 +/* Define if you have the strtoul function. */
6138 +#undef HAVE_STRTOUL
6140 +/* Define if you have the towlower function. */
6141 +#undef HAVE_TOWLOWER
6143 +/* Define if you have the towupper function. */
6144 +#undef HAVE_TOWUPPER
6146 +/* Define if you have the tsearch function. */
6147 +#undef HAVE_TSEARCH
6149 +/* Define if you have the vsnprintf function. */
6150 +#undef HAVE_VSNPRINTF
6152 +/* Define if you have the <argz.h> header file. */
6155 +/* Define if you have the <getopt.h> header file. */
6156 +#undef HAVE_GETOPT_H
6158 +/* Define if you have the <iconv.h> header file. */
6159 +#undef HAVE_ICONV_H
6161 +/* Define if you have the <inttypes.h> header file. */
6162 +#undef HAVE_INTTYPES_H
6164 +/* Define if you have the <ioctl.h> header file. */
6165 +#undef HAVE_IOCTL_H
6167 +/* Define if you have the <limits.h> header file. */
6168 +#undef HAVE_LIMITS_H
6170 +/* Define if you have the <locale.h> header file. */
6171 +#undef HAVE_LOCALE_H
6173 +/* Define if you have the <malloc.h> header file. */
6174 +#undef HAVE_MALLOC_H
6176 +/* Define if you have the <ncurses.h> header file. */
6177 +#undef HAVE_NCURSES_H
6179 +/* Define if you have the <ncursesw/ncurses.h> header file. */
6180 +#undef HAVE_NCURSESW_NCURSES_H
6182 +/* Define if you have the <nl_types.h> header file. */
6183 +#undef HAVE_NL_TYPES_H
6185 +/* Define if you have the <stdarg.h> header file. */
6186 +#undef HAVE_STDARG_H
6188 +/* Define if you have the <stddef.h> header file. */
6189 +#undef HAVE_STDDEF_H
6191 +/* Define if you have the <stdint.h> header file. */
6192 +#undef HAVE_STDINT_H
6194 +/* Define if you have the <stdlib.h> header file. */
6195 +#undef HAVE_STDLIB_H
6197 +/* Define if you have the <string.h> header file. */
6198 +#undef HAVE_STRING_H
6200 +/* Define if you have the <sys/ioctl.h> header file. */
6201 +#undef HAVE_SYS_IOCTL_H
6203 +/* Define if you have the <sys/param.h> header file. */
6204 +#undef HAVE_SYS_PARAM_H
6206 +/* Define if you have the <sys/resource.h> header file. */
6207 +#undef HAVE_SYS_RESOURCE_H
6209 +/* Define if you have the <sys/time.h> header file. */
6210 +#undef HAVE_SYS_TIME_H
6212 +/* Define if you have the <sysexits.h> header file. */
6213 +#undef HAVE_SYSEXITS_H
6215 +/* Define if you have the <unistd.h> header file. */
6216 +#undef HAVE_UNISTD_H
6218 +/* Define if you have the <unix.h> header file. */
6221 +/* Define if you have the <wchar.h> header file. */
6222 +#undef HAVE_WCHAR_H
6224 +/* Define if you have the <wctype.h> header file. */
6225 +#undef HAVE_WCTYPE_H
6227 +/* Define if you have the crypto library (-lcrypto). */
6228 +#undef HAVE_LIBCRYPTO
6230 +/* Define if you have the nsl library (-lnsl). */
6233 +/* Define if you have the sasl library (-lsasl). */
6234 +#undef HAVE_LIBSASL
6236 +/* Define if you have the socket library (-lsocket). */
6237 +#undef HAVE_LIBSOCKET
6239 +/* Define if you have the ssl library (-lssl). */
6242 +/* Define if you have the termlib library (-ltermlib). */
6243 +#undef HAVE_LIBTERMLIB
6245 +/* Name of package */
6248 +/* Version number of package */
6251 +/* Define if compiler has function prototypes */
6254 +/* Where to find sendmail on your system. */
6257 +/* Define if you want PGP support. */
6260 +/* Where to find mixmaster on your system. */
6263 +/* Is this the international version? */
6266 +/* Where to find ispell on your system. */
6269 +/* Define if you compile with SLang instead of curses/ncurses. */
6270 +#undef USE_SLANG_CURSES
6272 +/* Define if your curses library supports color. */
6275 +/* Define if your curses library supports color. */
6278 +/* Define if you have the uint32_t type. */
6279 +#undef HAVE_UINT32_T
6281 +/* Define if you want to use the included regex.c. */
6282 +#undef USE_GNU_REGEX
6284 +/* Where new mail is spooled. */
6287 +/* Define to use dotlocking for mailboxes. */
6290 +/* Where new mail is spooled. */
6293 +/* Define to use dotlocking for mailboxes. */
6296 +/* Define to use dotlocking for mailboxes. */
6299 +/* Define if mutt should run setgid mail. */
6302 +/* Define if you want to use an external dotlocking program. */
6303 +#undef DL_STANDALONE
6305 +/* Define your domain name. */
6308 +/* Define if you want support for the POP3 protocol. */
6311 +/* Define if you want support for the IMAP protocol. */
6314 +/* Define to 'int' if <sys/socket.h> doesn't have it. */
6317 +/* Include code for socket support. Set automatically if you enable POP3 or IMAP */
6320 +/* Define if your GSSAPI implementation is Heimdal */
6321 +#undef HAVE_HEIMDAL
6323 +/* Define if you have GSSAPI libraries available */
6326 +/* Define if you want support for SSL. */
6329 +/* Define if you want support for SSL via the NSS library. */
6332 +/* Define if want to use the Cyrus SASL library for POP/IMAP authentication. */
6335 +/* Define to enable debugging info. */
6338 +/* Define to use flock() to lock mailboxes. */
6341 +/* Define to use fcntl() to lock folders. */
6344 +/* Define to enable the buffy_size feature. */
6347 +/* Define to enable Sun mailtool attachments support. */
6348 +#undef SUN_ATTACHMENT
6350 +/* Define to enable compressed mailboxes support */
6351 +#undef USE_COMPRESSED
6353 +/* Define if the result of isprint() is unreliable. */
6354 +#undef LOCALES_HACK
6356 +/* Define if you have the iconv() function. */
6359 +/* Define as const if the declaration of iconv() needs const. */
6362 +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
6363 +#undef HAVE_LANGINFO_CODESET
6365 +/* Define if your <locale.h> file defines LC_MESSAGES. */
6366 +#undef HAVE_LC_MESSAGES
6368 +/* Define to 1 if translation of program messages to the user's native language
6372 +/* Define if the GNU gettext() function is already present or preinstalled. */
6373 +#undef HAVE_GETTEXT
6375 +/* Define if <iconv.h> defines iconv_t. */
6376 +#undef HAVE_ICONV_T_DEF
6378 +/* Define if your gettext has bind_textdomain_codeset. */
6379 +#undef HAVE_BIND_TEXTDOMAIN_CODESET
6381 +/* Define to 'int' if system headers don't define. */
6384 +/* Define to 'int' if system headers don't define. */
6387 +/* Define to 'int' if system headers don't define. */
6390 +/* Define if you are using the system's wchar_t functions. */
6391 +#undef HAVE_WC_FUNCS
6393 +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
6394 +#undef HAVE_LANGINFO_CODESET
6396 +/* Define if you have <langinfo.h> and nl_langinfo(YESEXPR). */
6397 +#undef HAVE_LANGINFO_YESEXPR
6399 +/* Define if you have start_color, as a function or macro. */
6400 +#undef HAVE_START_COLOR
6402 +/* Define if you have typeahead, as a function or macro. */
6403 +#undef HAVE_TYPEAHEAD
6405 +/* Define if you have bkgdset, as a function or macro. */
6406 +#undef HAVE_BKGDSET
6408 +/* Define if you have curs_set, as a function or macro. */
6409 +#undef HAVE_CURS_SET
6411 +/* Define if you have meta, as a function or macro. */
6414 +/* Define if you have use_default_colors, as a function or macro. */
6415 +#undef HAVE_USE_DEFAULT_COLORS
6417 +/* Define if you have resizeterm, as a function or macro. */
6418 +#undef HAVE_RESIZETERM
6420 +/* Some systems declare sig_atomic_t as volatile, some others -- no.
6421 + * This define will have value `sig_atomic_t' or `volatile sig_atomic_t'
6423 +#undef SIG_ATOMIC_VOLATILE_T
6425 +/* Define as 1 if iconv() only converts exactly and we should treat
6426 + * all return values other than (size_t)(-1) as equivalent. */
6427 +#undef ICONV_NONTRANS
6429 diff -uNr mutt-1.4.orig/config.sub mutt-1.4/config.sub
6430 --- mutt-1.4.orig/config.sub Wed Jan 16 21:44:49 2002
6431 +++ mutt-1.4/config.sub Sun Nov 3 21:57:29 2002
6433 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
6434 # 2000, 2001, 2002 Free Software Foundation, Inc.
6436 -timestamp='2002-01-02'
6437 +timestamp='2002-07-03'
6439 # This file is (in principle) common to ALL GNU software.
6440 # The presence of a machine in this file suggests that SOME GNU software
6442 # Here we must recognize all the valid KERNEL-OS combinations.
6443 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
6445 - nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*)
6446 + nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
6448 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
6450 @@ -230,24 +230,32 @@
6451 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
6452 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
6454 - | d10v | d30v | dsp16xx \
6456 + | d10v | d30v | dlx | dsp16xx \
6458 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
6459 | i370 | i860 | i960 | ia64 \
6461 | m32r | m68000 | m68k | m88k | mcore \
6462 - | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
6463 - | mips64vr4100 | mips64vr4100el | mips64vr4300 \
6464 - | mips64vr4300el | mips64vr5000 | mips64vr5000el \
6465 - | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
6467 + | mips | mipsbe | mipseb | mipsel | mipsle \
6469 + | mips64 | mips64el \
6470 + | mips64orion | mips64orionel \
6471 + | mips64vr4100 | mips64vr4100el \
6472 + | mips64vr4300 | mips64vr4300el \
6473 + | mips64vr5000 | mips64vr5000el \
6474 + | mipsisa32 | mipsisa32el \
6475 + | mipsisa64 | mipsisa64el \
6476 + | mipsisa64sb1 | mipsisa64sb1el \
6477 + | mipstx39 | mipstx39el \
6478 | mn10200 | mn10300 \
6481 + | openrisc | or32 \
6482 | pdp10 | pdp11 | pj | pjl \
6483 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
6485 - | sh | sh[34] | sh[34]eb | shbe | shle \
6486 - | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
6487 + | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
6489 + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
6491 | tahoe | thumb | tic80 | tron \
6493 @@ -281,37 +289,46 @@
6494 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
6495 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
6496 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
6497 - | arm-* | armbe-* | armle-* | armv*-* \
6498 + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
6501 | c[123]* | c30-* | [cjt]90-* | c54x-* \
6502 - | clipper-* | cray2-* | cydra-* \
6503 - | d10v-* | d30v-* \
6504 + | clipper-* | cydra-* \
6505 + | d10v-* | d30v-* | dlx-* \
6507 - | f30[01]-* | f700-* | fr30-* | fx80-* \
6508 + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
6509 | h8300-* | h8500-* \
6510 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
6511 | i*86-* | i860-* | i960-* | ia64-* \
6514 - | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \
6515 + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
6516 | m88110-* | m88k-* | mcore-* \
6517 - | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
6518 - | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
6519 - | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
6520 - | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
6521 + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
6523 + | mips64-* | mips64el-* \
6524 + | mips64orion-* | mips64orionel-* \
6525 + | mips64vr4100-* | mips64vr4100el-* \
6526 + | mips64vr4300-* | mips64vr4300el-* \
6527 + | mips64vr5000-* | mips64vr5000el-* \
6528 + | mipsisa32-* | mipsisa32el-* \
6529 + | mipsisa64-* | mipsisa64el-* \
6530 + | mipsisa64sb1-* | mipsisa64sb1el-* \
6531 + | mipstx39 | mipstx39el \
6532 | none-* | np1-* | ns16k-* | ns32k-* \
6534 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
6535 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
6537 | romp-* | rs6000-* \
6538 - | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
6539 - | sparc-* | sparc64-* | sparc86x-* | sparclite-* \
6540 - | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \
6541 - | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
6542 + | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
6543 + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
6544 + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
6545 + | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
6546 + | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
6547 | v850-* | v850e-* | vax-* \
6549 - | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \
6550 + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
6554 @@ -377,6 +394,10 @@
6555 basic_machine=ns32k-sequent
6559 + basic_machine=c90-cray
6563 basic_machine=c1-convex
6565 @@ -397,16 +418,8 @@
6566 basic_machine=c38-convex
6570 - basic_machine=ymp-cray
6574 - basic_machine=cray2-cray
6578 - basic_machine=${basic_machine}-cray
6580 + basic_machine=j90-cray
6584 @@ -609,14 +622,6 @@
6585 basic_machine=m68k-atari
6589 - basic_machine=mipsel-unknown
6593 - basic_machine=mips-unknown
6597 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
6599 @@ -714,6 +719,10 @@
6600 basic_machine=hppa1.1-oki
6604 + basic_machine=or32-unknown
6607 OSE68000 | ose68000)
6608 basic_machine=m68000-ericsson
6611 sun386 | sun386i | roadrunner)
6612 basic_machine=i386-sun
6616 basic_machine=sv1-cray
6619 @@ -882,8 +891,16 @@
6620 basic_machine=i386-sequent
6624 + basic_machine=alpha-cray
6628 - basic_machine=t3e-cray
6629 + basic_machine=alphaev5-cray
6633 + basic_machine=t90-cray
6637 @@ -950,13 +967,13 @@
6638 basic_machine=i386-pc
6639 os=-windows32-msvcrt
6642 - basic_machine=xmp-cray
6646 basic_machine=xps100-honeywell
6649 + basic_machine=ymp-cray
6653 basic_machine=z8k-unknown
6655 @@ -977,13 +994,6 @@
6657 basic_machine=hppa1.1-oki
6660 - if [ x$os = x-linux-gnu ]; then
6661 - basic_machine=mips-unknown
6663 - basic_machine=mips-mips
6667 basic_machine=romp-ibm
6669 @@ -1003,9 +1013,12 @@
6671 basic_machine=we32k-att
6673 - sh3 | sh4 | sh3eb | sh4eb)
6674 + sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
6675 basic_machine=sh-unknown
6678 + basic_machine=sh64-unknown
6680 sparc | sparcv9 | sparcv9b)
6681 basic_machine=sparc-sun
6683 @@ -1093,7 +1106,8 @@
6684 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
6685 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
6686 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
6687 - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* | -morphos*)
6688 + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
6689 + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* | -powermax*)
6690 # Remember, each alternative MUST END IN *, to match a version number.
6693 @@ -1154,6 +1168,9 @@
6703 @@ -1259,6 +1276,9 @@
6710 *-tti) # must be before sparc entry or we get the wrong os.
6713 @@ -1406,7 +1426,7 @@
6717 - -vxsim* | -vxworks*)
6718 + -vxsim* | -vxworks* | -windiss*)
6722 diff -uNr mutt-1.4.orig/configure mutt-1.4/configure
6723 --- mutt-1.4.orig/configure Sun Nov 3 21:42:51 2002
6724 +++ mutt-1.4/configure Sun Nov 3 21:57:28 2002
6728 # Guess values for system-dependent variables and create Makefiles.
6729 -# Generated automatically using autoconf version 2.13
6730 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6731 +# Generated by GNU Autoconf 2.53a.
6733 +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6734 +# Free Software Foundation, Inc.
6735 # This configure script is free software; the Free Software Foundation
6736 # gives unlimited permission to copy, distribute and modify it.
6737 +## --------------------- ##
6738 +## M4sh Initialization. ##
6739 +## --------------------- ##
6741 +# Be Bourne compatible
6742 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6745 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6746 + # is contrary to our usage. Disable this feature.
6747 + alias -g '${1+"$@"}'='"$@"'
6748 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6753 +# Support unset when possible.
6754 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6760 +(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
6761 + { $as_unset LANG || test "${LANG+set}" != set; } ||
6762 + { LANG=C; export LANG; }
6763 +(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
6764 + { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
6765 + { LC_ALL=C; export LC_ALL; }
6766 +(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
6767 + { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
6768 + { LC_TIME=C; export LC_TIME; }
6769 +(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
6770 + { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
6771 + { LC_CTYPE=C; export LC_CTYPE; }
6772 +(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
6773 + { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
6774 + { LANGUAGE=C; export LANGUAGE; }
6775 +(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
6776 + { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
6777 + { LC_COLLATE=C; export LC_COLLATE; }
6778 +(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
6779 + { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
6780 + { LC_NUMERIC=C; export LC_NUMERIC; }
6781 +(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
6782 + { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
6783 + { LC_MESSAGES=C; export LC_MESSAGES; }
6786 +# Required to use basename.
6787 +if expr a : '\(a\)' >/dev/null 2>&1; then
6793 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6794 + as_basename=basename
6800 +# Name of the executable.
6801 +as_me=`$as_basename "$0" ||
6802 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6803 + X"$0" : 'X\(//\)$' \| \
6804 + X"$0" : 'X\(/\)$' \| \
6805 + . : '\(.\)' 2>/dev/null ||
6807 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6808 + /^X\/\(\/\/\)$/{ s//\1/; q; }
6809 + /^X\/\(\/\).*/{ s//\1/; q; }
6813 +# PATH needs CR, and LINENO needs CR and PATH.
6814 +# Avoid depending upon Character Ranges.
6815 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6816 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6817 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6818 +as_cr_digits='0123456789'
6819 +as_cr_alnum=$as_cr_Letters$as_cr_digits
6821 +# The user is always right.
6822 +if test "${PATH_SEPARATOR+set}" != set; then
6823 + echo "#! /bin/sh" >conftest.sh
6824 + echo "exit 0" >>conftest.sh
6825 + chmod +x conftest.sh
6826 + if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
6827 + PATH_SEPARATOR=';'
6835 + as_lineno_1=$LINENO
6836 + as_lineno_2=$LINENO
6837 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6838 + test "x$as_lineno_1" != "x$as_lineno_2" &&
6839 + test "x$as_lineno_3" = "x$as_lineno_2" || {
6840 + # Find who we are. Look in the path if we contain no path at all
6841 + # relative or not.
6843 + *[\\/]* ) as_myself=$0 ;;
6844 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 +for as_dir in $PATH
6848 + test -z "$as_dir" && as_dir=.
6849 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6854 + # We did not find ourselves, most probably we were run as `sh COMMAND'
6855 + # in which case we are not to be found in the path.
6856 + if test "x$as_myself" = x; then
6859 + if test ! -f "$as_myself"; then
6860 + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
6861 + { (exit 1); exit 1; }; }
6863 + case $CONFIG_SHELL in
6865 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6869 + test -z "$as_dir" && as_dir=.
6870 + for as_base in sh bash ksh sh5; do
6873 + if ("$as_dir/$as_base" -c '
6874 + as_lineno_1=$LINENO
6875 + as_lineno_2=$LINENO
6876 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6877 + test "x$as_lineno_1" != "x$as_lineno_2" &&
6878 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6879 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6880 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6881 + CONFIG_SHELL=$as_dir/$as_base
6882 + export CONFIG_SHELL
6883 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6891 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6892 + # uniformly replaced by the line number. The first 'sed' inserts a
6893 + # line-number line before each line; the second 'sed' does the real
6894 + # work. The second script uses 'N' to pair each line-number line
6895 + # with the numbered line, and appends trailing '-' during
6896 + # substitution so that $LINENO is not a special case at line end.
6897 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6898 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6899 + sed '=' <$as_myself |
6904 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6907 + s,^['$as_cr_digits']*\n,,
6908 + ' >$as_me.lineno &&
6909 + chmod +x $as_me.lineno ||
6910 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6911 + { (exit 1); exit 1; }; }
6913 + # Don't try to exec as it changes $[0], causing all sort of problems
6914 + # (the dirname of $[0] is not the place where we might find the
6915 + # original and so on. Autoconf is especially sensible to this).
6917 + # Exit status is that of the last command.
6922 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6923 + *c*,-n*) ECHO_N= ECHO_C='
6925 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6926 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6929 +if expr a : '\(a\)' >/dev/null 2>&1; then
6935 +rm -f conf$$ conf$$.exe conf$$.file
6937 +if ln -s conf$$.file conf$$ 2>/dev/null; then
6938 + # We could just check for DJGPP; but this test a) works b) is more generic
6939 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6940 + if test -f conf$$.exe; then
6941 + # Don't use ln at all; we don't have any links
6946 +elif ln conf$$.file conf$$ 2>/dev/null; then
6951 +rm -f conf$$ conf$$.exe conf$$.file
6955 +if mkdir -p . 2>/dev/null; then
6961 +as_executable_p="test -f"
6963 +# Sed expression to map a string onto a valid CPP name.
6964 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6966 +# Sed expression to map a string onto a valid variable name.
6967 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6971 +# We need space, tab and new line, in precisely that order.
6977 +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
6980 +# Name of the host.
6981 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
6982 +# so uname gets run too.
6983 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
6990 ac_default_prefix=/usr/local
6991 -# Any additions from configure.in:
6993 - --disable-pgp Disable PGP support"
6995 - --with-mixmaster[=PATH] Include Mixmaster support"
6997 - --with-slang[=DIR] Use S-Lang instead of ncurses"
6999 - --with-curses=DIR Where ncurses is installed "
7001 - --with-regex Use the GNU regex library "
7003 - --with-homespool[=FILE] File in user's directory where new mail is spooled"
7005 - --with-mailpath=DIR Directory where spool mailboxes are located"
7007 - --enable-external-dotlock Force use of an external dotlock program"
7009 - --with-docdir=PATH Specify where to put the documentation"
7011 - --with-domain=DOMAIN Specify your DNS domain name"
7013 - --enable-pop Enable POP3 support"
7015 - --enable-imap Enable IMAP support"
7017 - --with-gss[=PFX] Compile in GSSAPI authentication for IMAP"
7019 - --with-ssl[=PFX] Compile in SSL support for POP/IMAP"
7021 - --with-nss[=PFX] Compile in SSL support for POP/IMAP via NSS"
7023 - --with-sasl[=PFX] Use Cyrus SASL library for POP/IMAP authentication"
7025 - --enable-debug Enable debugging support"
7027 - --enable-flock Use flock() to lock files"
7029 - --disable-fcntl Do NOT use fcntl() to lock files "
7031 - --disable-warnings Turn off compiler warnings (not recommended)"
7033 - --enable-nfs-fix Work around an NFS with broken attributes caching "
7035 - --enable-buffy-size Use file size attribute instead of access time "
7037 - --enable-mailtool Enable Sun mailtool attachments support "
7039 - --enable-locales-fix The result of isprint() is unreliable "
7041 - --enable-compressed Enable compressed folders support "
7043 - --with-exec-shell=SHELL Specify alternate shell (ONLY if /bin/sh is broken)"
7045 - --enable-exact-address Enable regeneration of email addresses"
7047 - --with-iconv[=DIR] search for libiconv in DIR/include and DIR/lib"
7049 - --disable-nls do not use Native Language Support"
7051 - --with-included-gettext use the GNU gettext library included here"
7053 - --without-wc-funcs Do not use the system's wchar_t functions"
7058 +SHELL=${CONFIG_SHELL-/bin/sh}
7060 +# Maximum number of lines to put in a shell here document.
7061 +# This variable seems obsolete. It should probably be removed, and
7062 +# only ac_max_sed_lines should be used.
7063 +: ${ac_max_here_lines=38}
7065 +# Identity of this package.
7072 +ac_unique_file="mutt.h"
7073 +# Factoring default headers for most tests.
7074 +ac_includes_default="\
7076 +#if HAVE_SYS_TYPES_H
7077 +# include <sys/types.h>
7079 +#if HAVE_SYS_STAT_H
7080 +# include <sys/stat.h>
7083 +# include <stdlib.h>
7084 +# include <stddef.h>
7087 +# include <stdlib.h>
7091 +# if !STDC_HEADERS && HAVE_MEMORY_H
7092 +# include <memory.h>
7094 +# include <string.h>
7097 +# include <strings.h>
7099 +#if HAVE_INTTYPES_H
7100 +# include <inttypes.h>
7103 +# include <stdint.h>
7107 +# include <unistd.h>
7111 # Initialize some variables set by options.
7113 +ac_init_version=false
7114 # The variables have the same names as the options, with
7115 # dashes changed to underlines.
7117 -cache_file=./config.cache
7118 +cache_file=/dev/null
7126 @@ -91,34 +331,31 @@
7135 +# Installation directory options.
7136 +# These are left unexpanded so users can "make install exec_prefix=/foo"
7137 +# and all the variables that are supposed to be based on exec_prefix
7138 +# by default will actually change.
7139 +# Use braces instead of parens because sh, perl, etc. also accept them.
7140 bindir='${exec_prefix}/bin'
7141 sbindir='${exec_prefix}/sbin'
7142 -libexecdir='${exec_prefix}/libexec'
7143 +libexecdir='${exec_prefix}/lib'
7144 datadir='${prefix}/share'
7145 sysconfdir='${prefix}/etc'
7146 -sharedstatedir='${prefix}/com'
7147 -localstatedir='${prefix}/var'
7148 +sharedstatedir='/var/lib'
7149 +localstatedir='/var/lib'
7150 libdir='${exec_prefix}/lib'
7151 includedir='${prefix}/include'
7152 oldincludedir='/usr/include'
7153 -infodir='${prefix}/info'
7154 -mandir='${prefix}/man'
7156 -# Initialize some other variables.
7159 -SHELL=${CONFIG_SHELL-/bin/sh}
7160 -# Maximum number of lines to put in a shell here document.
7161 -ac_max_here_lines=12
7162 +infodir='/usr/share/info'
7163 +mandir='/usr/share/man'
7169 # If the previous option needs an argument, assign it.
7170 if test -n "$ac_prev"; then
7171 eval "$ac_prev=\$ac_option"
7172 @@ -126,59 +363,59 @@
7176 - case "$ac_option" in
7177 - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
7180 + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
7182 # Accept the important Cygnus configure options, so we can diagnose typos.
7184 - case "$ac_option" in
7185 + case $ac_option in
7187 -bindir | --bindir | --bindi | --bind | --bin | --bi)
7189 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7190 - bindir="$ac_optarg" ;;
7191 + bindir=$ac_optarg ;;
7193 -build | --build | --buil | --bui | --bu)
7195 + ac_prev=build_alias ;;
7196 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7197 - build="$ac_optarg" ;;
7198 + build_alias=$ac_optarg ;;
7200 -cache-file | --cache-file | --cache-fil | --cache-fi \
7201 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7202 ac_prev=cache_file ;;
7203 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7204 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7205 - cache_file="$ac_optarg" ;;
7206 + cache_file=$ac_optarg ;;
7208 + --config-cache | -C)
7209 + cache_file=config.cache ;;
7211 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
7213 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
7215 - datadir="$ac_optarg" ;;
7216 + datadir=$ac_optarg ;;
7218 -disable-* | --disable-*)
7219 - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
7220 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7221 # Reject names that are not valid shell variable names.
7222 - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
7223 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
7225 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
7226 - eval "enable_${ac_feature}=no" ;;
7227 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7228 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
7229 + { (exit 1); exit 1; }; }
7230 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
7231 + eval "enable_$ac_feature=no" ;;
7233 -enable-* | --enable-*)
7234 - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
7235 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
7236 # Reject names that are not valid shell variable names.
7237 - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
7238 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
7240 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
7241 - case "$ac_option" in
7243 + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7244 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
7245 + { (exit 1); exit 1; }; }
7246 + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
7247 + case $ac_option in
7248 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
7251 - eval "enable_${ac_feature}='$ac_optarg'" ;;
7252 + eval "enable_$ac_feature='$ac_optarg'" ;;
7254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
7255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
7256 @@ -187,95 +424,47 @@
7257 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
7258 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
7259 | --exec=* | --exe=* | --ex=*)
7260 - exec_prefix="$ac_optarg" ;;
7261 + exec_prefix=$ac_optarg ;;
7263 -gas | --gas | --ga | --g)
7264 # Obsolete; use --with-gas.
7267 - -help | --help | --hel | --he)
7268 - # Omit some internal or obsolete options to make the list less imposing.
7269 - # This message is too long to be a string in the A/UX 3.1 sh.
7271 -Usage: configure [options] [host]
7272 -Options: [defaults in brackets after descriptions]
7274 - --cache-file=FILE cache test results in FILE
7275 - --help print this message
7276 - --no-create do not create output files
7277 - --quiet, --silent do not print \`checking...' messages
7278 - --version print the version of autoconf that created configure
7279 -Directory and file names:
7280 - --prefix=PREFIX install architecture-independent files in PREFIX
7281 - [$ac_default_prefix]
7282 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
7284 - --bindir=DIR user executables in DIR [EPREFIX/bin]
7285 - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
7286 - --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
7287 - --datadir=DIR read-only architecture-independent data in DIR
7289 - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
7290 - --sharedstatedir=DIR modifiable architecture-independent data in DIR
7292 - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
7293 - --libdir=DIR object code libraries in DIR [EPREFIX/lib]
7294 - --includedir=DIR C header files in DIR [PREFIX/include]
7295 - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
7296 - --infodir=DIR info documentation in DIR [PREFIX/info]
7297 - --mandir=DIR man documentation in DIR [PREFIX/man]
7298 - --srcdir=DIR find the sources in DIR [configure dir or ..]
7299 - --program-prefix=PREFIX prepend PREFIX to installed program names
7300 - --program-suffix=SUFFIX append SUFFIX to installed program names
7301 - --program-transform-name=PROGRAM
7302 - run sed PROGRAM on installed program names
7306 - --build=BUILD configure for building on BUILD [BUILD=HOST]
7307 - --host=HOST configure for HOST [guessed]
7308 - --target=TARGET configure for TARGET [TARGET=HOST]
7309 -Features and packages:
7310 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
7311 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
7312 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
7313 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
7314 - --x-includes=DIR X include files are in DIR
7315 - --x-libraries=DIR X library files are in DIR
7317 - if test -n "$ac_help"; then
7318 - echo "--enable and --with options recognized:$ac_help"
7321 + -help | --help | --hel | --he | -h)
7322 + ac_init_help=long ;;
7323 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
7324 + ac_init_help=recursive ;;
7325 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
7326 + ac_init_help=short ;;
7328 -host | --host | --hos | --ho)
7330 + ac_prev=host_alias ;;
7331 -host=* | --host=* | --hos=* | --ho=*)
7332 - host="$ac_optarg" ;;
7333 + host_alias=$ac_optarg ;;
7335 -includedir | --includedir | --includedi | --included | --include \
7336 | --includ | --inclu | --incl | --inc)
7337 ac_prev=includedir ;;
7338 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
7339 | --includ=* | --inclu=* | --incl=* | --inc=*)
7340 - includedir="$ac_optarg" ;;
7341 + includedir=$ac_optarg ;;
7343 -infodir | --infodir | --infodi | --infod | --info | --inf)
7345 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
7346 - infodir="$ac_optarg" ;;
7347 + infodir=$ac_optarg ;;
7349 -libdir | --libdir | --libdi | --libd)
7351 -libdir=* | --libdir=* | --libdi=* | --libd=*)
7352 - libdir="$ac_optarg" ;;
7353 + libdir=$ac_optarg ;;
7355 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
7356 | --libexe | --libex | --libe)
7357 ac_prev=libexecdir ;;
7358 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
7359 | --libexe=* | --libex=* | --libe=*)
7360 - libexecdir="$ac_optarg" ;;
7361 + libexecdir=$ac_optarg ;;
7363 -localstatedir | --localstatedir | --localstatedi | --localstated \
7364 | --localstate | --localstat | --localsta | --localst \
7365 @@ -284,19 +473,19 @@
7366 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7367 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
7368 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
7369 - localstatedir="$ac_optarg" ;;
7370 + localstatedir=$ac_optarg ;;
7372 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
7374 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
7375 - mandir="$ac_optarg" ;;
7376 + mandir=$ac_optarg ;;
7378 -nfp | --nfp | --nf)
7379 # Obsolete; use --without-fp.
7382 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7383 - | --no-cr | --no-c)
7384 + | --no-cr | --no-c | -n)
7387 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7388 @@ -310,26 +499,26 @@
7389 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
7390 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
7391 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
7392 - oldincludedir="$ac_optarg" ;;
7393 + oldincludedir=$ac_optarg ;;
7395 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7397 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7398 - prefix="$ac_optarg" ;;
7399 + prefix=$ac_optarg ;;
7401 -program-prefix | --program-prefix | --program-prefi | --program-pref \
7402 | --program-pre | --program-pr | --program-p)
7403 ac_prev=program_prefix ;;
7404 -program-prefix=* | --program-prefix=* | --program-prefi=* \
7405 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
7406 - program_prefix="$ac_optarg" ;;
7407 + program_prefix=$ac_optarg ;;
7409 -program-suffix | --program-suffix | --program-suffi | --program-suff \
7410 | --program-suf | --program-su | --program-s)
7411 ac_prev=program_suffix ;;
7412 -program-suffix=* | --program-suffix=* | --program-suffi=* \
7413 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
7414 - program_suffix="$ac_optarg" ;;
7415 + program_suffix=$ac_optarg ;;
7417 -program-transform-name | --program-transform-name \
7418 | --program-transform-nam | --program-transform-na \
7420 | --program-transfo=* | --program-transf=* \
7421 | --program-trans=* | --program-tran=* \
7422 | --progr-tra=* | --program-tr=* | --program-t=*)
7423 - program_transform_name="$ac_optarg" ;;
7424 + program_transform_name=$ac_optarg ;;
7426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7427 | -silent | --silent | --silen | --sile | --sil)
7430 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
7432 - sbindir="$ac_optarg" ;;
7433 + sbindir=$ac_optarg ;;
7435 -sharedstatedir | --sharedstatedir | --sharedstatedi \
7436 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
7437 @@ -367,58 +556,57 @@
7438 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
7439 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
7441 - sharedstatedir="$ac_optarg" ;;
7442 + sharedstatedir=$ac_optarg ;;
7444 -site | --site | --sit)
7446 -site=* | --site=* | --sit=*)
7447 - site="$ac_optarg" ;;
7448 + site=$ac_optarg ;;
7450 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7452 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7453 - srcdir="$ac_optarg" ;;
7454 + srcdir=$ac_optarg ;;
7456 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
7457 | --syscon | --sysco | --sysc | --sys | --sy)
7458 ac_prev=sysconfdir ;;
7459 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
7460 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
7461 - sysconfdir="$ac_optarg" ;;
7462 + sysconfdir=$ac_optarg ;;
7464 -target | --target | --targe | --targ | --tar | --ta | --t)
7466 + ac_prev=target_alias ;;
7467 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
7468 - target="$ac_optarg" ;;
7469 + target_alias=$ac_optarg ;;
7471 -v | -verbose | --verbose | --verbos | --verbo | --verb)
7474 - -version | --version | --versio | --versi | --vers)
7475 - echo "configure generated by autoconf version 2.13"
7477 + -version | --version | --versio | --versi | --vers | -V)
7478 + ac_init_version=: ;;
7481 - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
7482 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
7483 # Reject names that are not valid shell variable names.
7484 - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
7485 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
7487 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7488 + { echo "$as_me: error: invalid package name: $ac_package" >&2
7489 + { (exit 1); exit 1; }; }
7490 ac_package=`echo $ac_package| sed 's/-/_/g'`
7491 - case "$ac_option" in
7493 + case $ac_option in
7494 + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
7497 - eval "with_${ac_package}='$ac_optarg'" ;;
7498 + eval "with_$ac_package='$ac_optarg'" ;;
7500 -without-* | --without-*)
7501 - ac_package=`echo $ac_option|sed -e 's/-*without-//'`
7502 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
7503 # Reject names that are not valid shell variable names.
7504 - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
7505 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
7507 - ac_package=`echo $ac_package| sed 's/-/_/g'`
7508 - eval "with_${ac_package}=no" ;;
7509 + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7510 + { echo "$as_me: error: invalid package name: $ac_package" >&2
7511 + { (exit 1); exit 1; }; }
7512 + ac_package=`echo $ac_package | sed 's/-/_/g'`
7513 + eval "with_$ac_package=no" ;;
7516 # Obsolete; use --with-x.
7517 @@ -429,99 +617,110 @@
7518 ac_prev=x_includes ;;
7519 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
7520 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
7521 - x_includes="$ac_optarg" ;;
7522 + x_includes=$ac_optarg ;;
7524 -x-libraries | --x-libraries | --x-librarie | --x-librari \
7525 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
7526 ac_prev=x_libraries ;;
7527 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
7528 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7529 - x_libraries="$ac_optarg" ;;
7530 + x_libraries=$ac_optarg ;;
7532 - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
7533 + -*) { echo "$as_me: error: unrecognized option: $ac_option
7534 +Try \`$0 --help' for more information." >&2
7535 + { (exit 1); exit 1; }; }
7539 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
7540 + # Reject names that are not valid shell variable names.
7541 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
7542 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
7543 + { (exit 1); exit 1; }; }
7544 + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
7545 + eval "$ac_envvar='$ac_optarg'"
7546 + export $ac_envvar ;;
7549 - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
7550 - echo "configure: warning: $ac_option: invalid host type" 1>&2
7552 - if test "x$nonopt" != xNONE; then
7553 - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
7555 - nonopt="$ac_option"
7556 + # FIXME: should be removed in autoconf 3.0.
7557 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7558 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7559 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
7560 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
7566 if test -n "$ac_prev"; then
7567 - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
7570 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7572 -# File descriptor usage:
7575 -# 2 errors and warnings
7576 -# 3 some systems may open it to /dev/tty
7577 -# 4 used on the Kubota Titan
7578 -# 6 checking for... messages and results
7579 -# 5 compiler messages saved in config.log
7580 -if test "$silent" = yes; then
7584 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
7585 + { echo "$as_me: error: missing argument to $ac_option" >&2
7586 + { (exit 1); exit 1; }; }
7588 -exec 5>./config.log
7591 -This file contains any messages produced by compilers while
7592 -running configure, to aid debugging if configure makes a mistake.
7594 +# Be sure to have absolute paths.
7595 +for ac_var in exec_prefix prefix
7597 + eval ac_val=$`echo $ac_var`
7599 + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
7600 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
7601 + { (exit 1); exit 1; }; };;
7605 -# Strip out --no-create and --no-recursion so they do not pile up.
7606 -# Also quote any args containing shell metacharacters.
7609 +# Be sure to have absolute paths.
7610 +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
7611 + localstatedir libdir includedir oldincludedir infodir mandir
7614 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7615 - | --no-cr | --no-c) ;;
7616 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7617 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7618 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
7619 - ac_configure_args="$ac_configure_args '$ac_arg'" ;;
7620 - *) ac_configure_args="$ac_configure_args $ac_arg" ;;
7621 + eval ac_val=$`echo $ac_var`
7623 + [\\/$]* | ?:[\\/]* ) ;;
7624 + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
7625 + { (exit 1); exit 1; }; };;
7630 -# Only set these to C if already set. These must not be set unconditionally
7631 -# because not all systems understand e.g. LANG=C (notably SCO).
7632 -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
7633 -# Non-C LC_CTYPE values break the ctype check.
7634 -if test "${LANG+set}" = set; then LANG=C; export LANG; fi
7635 -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
7636 -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
7637 -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
7638 +# There might be people who depend on the old broken behavior: `$host'
7639 +# used to hold the argument of --host etc.
7640 +# FIXME: To remove some day.
7643 +target=$target_alias
7645 +# FIXME: To remove some day.
7646 +if test "x$host_alias" != x; then
7647 + if test "x$build_alias" = x; then
7648 + cross_compiling=maybe
7649 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
7650 + If a cross compiler is detected then cross compile mode will be used." >&2
7651 + elif test "x$build_alias" != "x$host_alias"; then
7652 + cross_compiling=yes
7656 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
7657 -rm -rf conftest* confdefs.h
7658 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
7661 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
7663 +test "$silent" = yes && exec 6>/dev/null
7665 -# A filename unique to this package, relative to the directory that
7666 -# configure is in, which we can look for to find out if srcdir is correct.
7667 -ac_unique_file=mutt.h
7669 # Find the source files, if location was not specified.
7670 if test -z "$srcdir"; then
7671 ac_srcdir_defaulted=yes
7672 # Try the directory containing this script, then its parent.
7674 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
7675 - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
7676 + ac_confdir=`(dirname "$0") 2>/dev/null ||
7677 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7678 + X"$0" : 'X\(//\)[^/]' \| \
7679 + X"$0" : 'X\(//\)$' \| \
7680 + X"$0" : 'X\(/\)' \| \
7681 + . : '\(.\)' 2>/dev/null ||
7683 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7684 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7685 + /^X\(\/\/\)$/{ s//\1/; q; }
7686 + /^X\(\/\).*/{ s//\1/; q; }
7689 if test ! -r $srcdir/$ac_unique_file; then
7691 @@ -531,13 +730,415 @@
7693 if test ! -r $srcdir/$ac_unique_file; then
7694 if test "$ac_srcdir_defaulted" = yes; then
7695 - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
7696 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
7697 + { (exit 1); exit 1; }; }
7699 - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
7700 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
7701 + { (exit 1); exit 1; }; }
7704 -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
7705 +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
7706 +ac_env_build_alias_set=${build_alias+set}
7707 +ac_env_build_alias_value=$build_alias
7708 +ac_cv_env_build_alias_set=${build_alias+set}
7709 +ac_cv_env_build_alias_value=$build_alias
7710 +ac_env_host_alias_set=${host_alias+set}
7711 +ac_env_host_alias_value=$host_alias
7712 +ac_cv_env_host_alias_set=${host_alias+set}
7713 +ac_cv_env_host_alias_value=$host_alias
7714 +ac_env_target_alias_set=${target_alias+set}
7715 +ac_env_target_alias_value=$target_alias
7716 +ac_cv_env_target_alias_set=${target_alias+set}
7717 +ac_cv_env_target_alias_value=$target_alias
7718 +ac_env_CC_set=${CC+set}
7719 +ac_env_CC_value=$CC
7720 +ac_cv_env_CC_set=${CC+set}
7721 +ac_cv_env_CC_value=$CC
7722 +ac_env_CFLAGS_set=${CFLAGS+set}
7723 +ac_env_CFLAGS_value=$CFLAGS
7724 +ac_cv_env_CFLAGS_set=${CFLAGS+set}
7725 +ac_cv_env_CFLAGS_value=$CFLAGS
7726 +ac_env_LDFLAGS_set=${LDFLAGS+set}
7727 +ac_env_LDFLAGS_value=$LDFLAGS
7728 +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
7729 +ac_cv_env_LDFLAGS_value=$LDFLAGS
7730 +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
7731 +ac_env_CPPFLAGS_value=$CPPFLAGS
7732 +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
7733 +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
7734 +ac_env_CPP_set=${CPP+set}
7735 +ac_env_CPP_value=$CPP
7736 +ac_cv_env_CPP_set=${CPP+set}
7737 +ac_cv_env_CPP_value=$CPP
7740 +# Report the --help message.
7742 +if test "$ac_init_help" = "long"; then
7743 + # Omit some internal or obsolete options to make the list less imposing.
7744 + # This message is too long to be a string in the A/UX 3.1 sh.
7746 +\`configure' configures this package to adapt to many kinds of systems.
7748 +Usage: $0 [OPTION]... [VAR=VALUE]...
7750 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
7751 +VAR=VALUE. See below for descriptions of some of the useful variables.
7753 +Defaults for the options are specified in brackets.
7756 + -h, --help display this help and exit
7757 + --help=short display options specific to this package
7758 + --help=recursive display the short help of all the included packages
7759 + -V, --version display version information and exit
7760 + -q, --quiet, --silent do not print \`checking...' messages
7761 + --cache-file=FILE cache test results in FILE [disabled]
7762 + -C, --config-cache alias for \`--cache-file=config.cache'
7763 + -n, --no-create do not create output files
7764 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
7769 +Installation directories:
7770 + --prefix=PREFIX install architecture-independent files in PREFIX
7771 + [$ac_default_prefix]
7772 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
7775 +By default, \`make install' will install all the files in
7776 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
7777 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
7778 +for instance \`--prefix=\$HOME'.
7780 +For better control, use the options below.
7782 +Fine tuning of the installation directories:
7783 + --bindir=DIR user executables [EPREFIX/bin]
7784 + --sbindir=DIR system admin executables [EPREFIX/sbin]
7785 + --libexecdir=DIR program executables [EPREFIX/libexec]
7786 + --datadir=DIR read-only architecture-independent data [PREFIX/share]
7787 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
7788 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
7789 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
7790 + --libdir=DIR object code libraries [EPREFIX/lib]
7791 + --includedir=DIR C header files [PREFIX/include]
7792 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
7793 + --infodir=DIR info documentation [PREFIX/info]
7794 + --mandir=DIR man documentation [PREFIX/man]
7800 + --program-prefix=PREFIX prepend PREFIX to installed program names
7801 + --program-suffix=SUFFIX append SUFFIX to installed program names
7802 + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
7805 + --build=BUILD configure for building on BUILD [guessed]
7806 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
7810 +if test -n "$ac_init_help"; then
7815 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
7816 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
7817 + --disable-dependency-tracking Speeds up one-time builds
7818 + --enable-dependency-tracking Do not reject slow dependency extractors
7819 + --disable-pgp Disable PGP support
7820 + --enable-external-dotlock Force use of an external dotlock program
7821 + --enable-pop Enable POP3 support
7822 + --enable-imap Enable IMAP support
7823 + --enable-nntp Enable NNTP support
7824 + --enable-debug Enable debugging support
7825 + --enable-flock Use flock() to lock files
7826 + --disable-fcntl Do NOT use fcntl() to lock files
7827 + --disable-warnings Turn off compiler warnings (not recommended)
7828 + --enable-nfs-fix Work around an NFS with broken attributes caching
7829 + --enable-buffy-size Use file size attribute instead of access time
7830 + --enable-mailtool Enable Sun mailtool attachments support
7831 + --enable-locales-fix The result of isprint() is unreliable
7832 + --enable-compressed Enable compressed folders support
7833 + --enable-exact-address Enable regeneration of email addresses
7834 + --disable-nls do not use Native Language Support
7837 + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
7838 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
7839 + --with-mixmaster=PATH Include Mixmaster support
7840 + --with-slang=DIR Use S-Lang instead of ncurses
7841 + --with-curses=DIR Where ncurses is installed
7842 + --with-regex Use the GNU regex library
7843 + --with-homespool=FILE File in user's directory where new mail is spooled
7844 + --with-mailpath=DIR Directory where spool mailboxes are located
7845 + --with-docdir=PATH Specify where to put the documentation
7846 + --with-domain=DOMAIN Specify your DNS domain name
7847 + --with-gss=PFX Compile in GSSAPI authentication for IMAP
7848 + --with-ssl=PFX Compile in SSL support for POP/IMAP
7849 + --with-nss=PFX Compile in SSL support for POP/IMAP via NSS
7850 + --with-sasl=PFX Use Cyrus SASL library for POP/IMAP authentication
7851 + --with-exec-shell=SHELL Specify alternate shell (ONLY if /bin/sh is broken)
7852 + --with-iconv=DIR search for libiconv in DIR/include and DIR/lib
7853 + --with-included-gettext use the GNU gettext library included here
7854 + --without-wc-funcs Do not use the system's wchar_t functions
7856 +Some influential environment variables:
7857 + CC C compiler command
7858 + CFLAGS C compiler flags
7859 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
7860 + nonstandard directory <lib dir>
7861 + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
7862 + headers in a nonstandard directory <include dir>
7863 + CPP C preprocessor
7865 +Use these variables to override the choices made by `configure' or to help
7866 +it to find libraries and programs with nonstandard names/locations.
7871 +if test "$ac_init_help" = "recursive"; then
7872 + # If there are subdirs, report their specific --help.
7874 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
7875 + test -d $ac_dir || continue
7878 +if test "$ac_dir" != .; then
7879 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7880 + # A "../" for each directory in $ac_dir_suffix.
7881 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7883 + ac_dir_suffix= ac_top_builddir=
7887 + .) # No --srcdir option. We are building in place.
7889 + if test -z "$ac_top_builddir"; then
7892 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7894 + [\\/]* | ?:[\\/]* ) # Absolute path.
7895 + ac_srcdir=$srcdir$ac_dir_suffix;
7896 + ac_top_srcdir=$srcdir ;;
7897 + *) # Relative path.
7898 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7899 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
7901 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7903 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7904 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7905 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7906 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7909 + # Check for guested configure; otherwise get Cygnus style configure.
7910 + if test -f $ac_srcdir/configure.gnu; then
7912 + $SHELL $ac_srcdir/configure.gnu --help=recursive
7913 + elif test -f $ac_srcdir/configure; then
7915 + $SHELL $ac_srcdir/configure --help=recursive
7916 + elif test -f $ac_srcdir/configure.ac ||
7917 + test -f $ac_srcdir/configure.in; then
7919 + $ac_configure --help
7921 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7927 +test -n "$ac_init_help" && exit 0
7928 +if $ac_init_version; then
7931 +generated by GNU Autoconf 2.53a
7933 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7934 +Free Software Foundation, Inc.
7935 +This configure script is free software; the Free Software Foundation
7936 +gives unlimited permission to copy, distribute and modify it.
7942 +This file contains any messages produced by compilers while
7943 +running configure, to aid debugging if configure makes a mistake.
7945 +It was created by $as_me, which was
7946 +generated by GNU Autoconf 2.53a. Invocation command line was
7957 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7958 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
7959 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
7960 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
7961 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
7963 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7964 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
7966 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
7967 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
7968 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7969 +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
7970 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
7971 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
7972 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
7976 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7977 +for as_dir in $PATH
7980 + test -z "$as_dir" && as_dir=.
7981 + echo "PATH: $as_dir"
7996 +# Keep a trace of the command line.
7997 +# Strip out --no-create and --no-recursion so they do not pile up.
7998 +# Also quote any args containing shell meta-characters.
8004 + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
8005 + | --no-cr | --no-c | -n ) continue ;;
8006 + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
8007 + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
8009 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
8010 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8012 + case " $ac_configure_args " in
8013 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
8014 + *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
8017 + # Get rid of the leading space.
8020 +# When interrupted or exit'd, cleanup temporary files, and complete
8021 +# config.log. We remove comments because anyway the quotes in there
8022 +# would cause problems or look ugly.
8023 +# WARNING: Be sure not to use single quotes in there, as some shells,
8024 +# such as our DU 5.0 friend, will then `close' the trap.
8025 +trap 'exit_status=$?
8026 + # Save into config.log some information that might help in debugging.
8030 +## ---------------- ##
8031 +## Cache variables. ##
8032 +## ---------------- ##
8035 + # The following way of writing the cache mishandles newlines in values,
8038 + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
8041 + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8042 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8046 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8051 + if test -s confdefs.h; then
8058 + sed "/^$/d" confdefs.h
8061 + test "$ac_signal" != 0 &&
8062 + echo "$as_me: caught signal $ac_signal"
8063 + echo "$as_me: exit $exit_status"
8065 + rm -f core core.* *.core &&
8066 + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
8069 +for ac_signal in 1 2 13 15; do
8070 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
8074 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
8075 +rm -rf conftest* confdefs.h
8076 +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
8079 +# Predefined preprocessor variables.
8081 +cat >>confdefs.h <<_ACEOF
8082 +#define PACKAGE_NAME "$PACKAGE_NAME"
8086 +cat >>confdefs.h <<_ACEOF
8087 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
8091 +cat >>confdefs.h <<_ACEOF
8092 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
8096 +cat >>confdefs.h <<_ACEOF
8097 +#define PACKAGE_STRING "$PACKAGE_STRING"
8101 +cat >>confdefs.h <<_ACEOF
8102 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
8106 +# Let the site file select an alternate cache file if it wants to.
8107 # Prefer explicitly selected file to automatically selected ones.
8108 if test -z "$CONFIG_SITE"; then
8109 if test "x$prefix" != xNONE; then
8110 @@ -548,48 +1149,116 @@
8112 for ac_site_file in $CONFIG_SITE; do
8113 if test -r "$ac_site_file"; then
8114 - echo "loading site script $ac_site_file"
8115 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
8116 +echo "$as_me: loading site script $ac_site_file" >&6;}
8117 + sed 's/^/| /' "$ac_site_file" >&5
8122 if test -r "$cache_file"; then
8123 - echo "loading cache $cache_file"
8125 + # Some versions of bash will fail to source /dev/null (special
8126 + # files actually), so we avoid doing that.
8127 + if test -f "$cache_file"; then
8128 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
8129 +echo "$as_me: loading cache $cache_file" >&6;}
8130 + case $cache_file in
8131 + [\\/]* | ?:[\\/]* ) . $cache_file;;
8132 + *) . ./$cache_file;;
8136 - echo "creating cache $cache_file"
8138 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
8139 +echo "$as_me: creating cache $cache_file" >&6;}
8143 +# Check that the precious variables saved in the cache have kept the same
8145 +ac_cache_corrupted=false
8146 +for ac_var in `(set) 2>&1 |
8147 + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
8148 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
8149 + eval ac_new_set=\$ac_env_${ac_var}_set
8150 + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
8151 + eval ac_new_val="\$ac_env_${ac_var}_value"
8152 + case $ac_old_set,$ac_new_set in
8154 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8155 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8156 + ac_cache_corrupted=: ;;
8158 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
8159 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
8160 + ac_cache_corrupted=: ;;
8163 + if test "x$ac_old_val" != "x$ac_new_val"; then
8164 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
8165 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
8166 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
8167 +echo "$as_me: former value: $ac_old_val" >&2;}
8168 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
8169 +echo "$as_me: current value: $ac_new_val" >&2;}
8170 + ac_cache_corrupted=:
8173 + # Pass precious variables to config.status.
8174 + if test "$ac_new_set" = set; then
8175 + case $ac_new_val in
8176 + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
8177 + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
8178 + *) ac_arg=$ac_var=$ac_new_val ;;
8180 + case " $ac_configure_args " in
8181 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
8182 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
8186 +if $ac_cache_corrupted; then
8187 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
8188 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
8189 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
8190 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
8191 + { (exit 1); exit 1; }; }
8195 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8196 ac_cpp='$CPP $CPPFLAGS'
8197 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8198 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8199 -cross_compiling=$ac_cv_prog_cc_cross
8203 -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
8204 - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
8205 - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
8209 - ac_n=-n ac_c= ac_t=
8212 - ac_n= ac_c='\c' ac_t=
8214 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8215 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8216 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8236 +# Add the stamp file to the list of files AC keeps track of,
8237 +# along with our hook.
8238 + ac_config_headers="$ac_config_headers config.h"
8243 mutt_cv_version=`cat $srcdir/VERSION`
8246 +am__api_version="1.6"
8248 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
8249 if test -f $ac_dir/install-sh; then
8250 @@ -600,14 +1269,20 @@
8252 ac_install_sh="$ac_aux_dir/install.sh -c"
8254 + elif test -f $ac_dir/shtool; then
8255 + ac_aux_dir=$ac_dir
8256 + ac_install_sh="$ac_aux_dir/shtool install -c"
8260 if test -z "$ac_aux_dir"; then
8261 - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
8263 -ac_config_guess=$ac_aux_dir/config.guess
8264 -ac_config_sub=$ac_aux_dir/config.sub
8265 -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
8266 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
8267 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
8268 + { (exit 1); exit 1; }; }
8270 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
8271 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
8272 +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
8274 # Find a good install program. We prefer a C program (faster),
8275 # so one script is as good as another. But avoid the broken or
8276 @@ -616,545 +1291,1487 @@
8277 # SunOS /usr/etc/install
8278 # IRIX /sbin/install
8280 +# AmigaOS /C/install, which installs bootblocks on floppy discs
8281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8284 # ./install, which can be erroneously created by make from ./install.sh.
8285 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8286 -echo "configure:623: checking for a BSD compatible install" >&5
8287 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8288 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8289 if test -z "$INSTALL"; then
8290 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8291 - echo $ac_n "(cached) $ac_c" 1>&6
8292 +if test "${ac_cv_path_install+set}" = set; then
8293 + echo $ECHO_N "(cached) $ECHO_C" >&6
8295 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8296 - for ac_dir in $PATH; do
8297 - # Account for people who put trailing slashes in PATH elements.
8298 - case "$ac_dir/" in
8299 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8301 - # OSF1 and SCO ODT 3.0 have their own names for install.
8302 - # Don't use installbsd from OSF since it installs stuff as root
8304 - for ac_prog in ginstall scoinst install; do
8305 - if test -f $ac_dir/$ac_prog; then
8306 - if test $ac_prog = install &&
8307 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8308 - # AIX install. It has an incompatible calling convention.
8311 - ac_cv_path_install="$ac_dir/$ac_prog -c"
8315 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 +for as_dir in $PATH
8319 + test -z "$as_dir" && as_dir=.
8320 + # Account for people who put trailing slashes in PATH elements.
8322 + ./ | .// | /cC/* | \
8323 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8326 + # OSF1 and SCO ODT 3.0 have their own names for install.
8327 + # Don't use installbsd from OSF since it installs stuff as root
8329 + for ac_prog in ginstall scoinst install; do
8330 + for ac_exec_ext in '' $ac_executable_extensions; do
8331 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8332 + if test $ac_prog = install &&
8333 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8334 + # AIX install. It has an incompatible calling convention.
8336 + elif test $ac_prog = install &&
8337 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8338 + # program-specific install script used by HP pwplus--don't use.
8341 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8349 - IFS="$ac_save_IFS"
8357 if test "${ac_cv_path_install+set}" = set; then
8358 - INSTALL="$ac_cv_path_install"
8359 + INSTALL=$ac_cv_path_install
8361 # As a last resort, use the slow shell script. We don't cache a
8362 # path for INSTALL within a source directory, because that will
8363 # break other packages using the cache if that directory is
8364 # removed, or if the path is relative.
8365 - INSTALL="$ac_install_sh"
8366 + INSTALL=$ac_install_sh
8369 -echo "$ac_t""$INSTALL" 1>&6
8370 +echo "$as_me:$LINENO: result: $INSTALL" >&5
8371 +echo "${ECHO_T}$INSTALL" >&6
8373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8374 # It thinks the first close brace ends the variable substitution.
8375 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8377 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8378 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8380 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8382 -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
8383 -echo "configure:676: checking whether build environment is sane" >&5
8384 +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
8385 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
8388 -echo timestamp > conftestfile
8389 +echo timestamp > conftest.file
8390 # Do `set' in a subshell so we don't clobber the current shell's
8391 # arguments. Must try -L first in case configure is actually a
8392 # symlink; some systems play weird games with the mod time of symlinks
8393 # (eg FreeBSD returns the mod time of the symlink's containing
8396 - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
8397 + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
8398 if test "$*" = "X"; then
8400 - set X `ls -t $srcdir/configure conftestfile`
8401 + set X `ls -t $srcdir/configure conftest.file`
8403 - if test "$*" != "X $srcdir/configure conftestfile" \
8404 - && test "$*" != "X conftestfile $srcdir/configure"; then
8405 + rm -f conftest.file
8406 + if test "$*" != "X $srcdir/configure conftest.file" \
8407 + && test "$*" != "X conftest.file $srcdir/configure"; then
8409 # If neither matched, then we have a broken ls. This can happen
8410 # if, for instance, CONFIG_SHELL is bash and it inherits a
8411 # broken ls alias from the environment. This has actually
8412 # happened. Such a system could not be considered "sane".
8413 - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
8414 -alias in your environment" 1>&2; exit 1; }
8415 + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
8416 +alias in your environment" >&5
8417 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
8418 +alias in your environment" >&2;}
8419 + { (exit 1); exit 1; }; }
8422 - test "$2" = conftestfile
8423 + test "$2" = conftest.file
8429 - { echo "configure: error: newly created file is older than distributed files!
8430 -Check your system clock" 1>&2; exit 1; }
8433 -echo "$ac_t""yes" 1>&6
8434 -if test "$program_transform_name" = s,x,x,; then
8435 - program_transform_name=
8437 - # Double any \ or $. echo might interpret backslashes.
8438 - cat <<\EOF_SED > conftestsed
8439 -s,\\,\\\\,g; s,\$,$$,g
8441 - program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
8443 + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
8444 +Check your system clock" >&5
8445 +echo "$as_me: error: newly created file is older than distributed files!
8446 +Check your system clock" >&2;}
8447 + { (exit 1); exit 1; }; }
8449 +echo "$as_me:$LINENO: result: yes" >&5
8450 +echo "${ECHO_T}yes" >&6
8451 test "$program_prefix" != NONE &&
8452 - program_transform_name="s,^,${program_prefix},; $program_transform_name"
8453 + program_transform_name="s,^,$program_prefix,;$program_transform_name"
8454 # Use a double $ so make ignores it.
8455 test "$program_suffix" != NONE &&
8456 - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
8458 -# sed with no file args requires a program.
8459 -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
8460 + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
8461 +# Double any \ or $. echo might interpret backslashes.
8462 +# By default was `s,x,x', remove it if useless.
8463 +cat <<\_ACEOF >conftest.sed
8464 +s/[\\$]/&&/g;s/;s,x,x,$//
8466 +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
8470 +# expand $ac_aux_dir to an absolute path
8471 +am_aux_dir=`cd $ac_aux_dir && pwd`
8473 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8474 +# Use eval to expand $SHELL
8475 +if eval "$MISSING --run true"; then
8476 + am_missing_run="$MISSING --run "
8479 + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
8480 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
8483 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
8484 -echo "configure:733: checking whether ${MAKE-make} sets \${MAKE}" >&5
8485 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
8486 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
8487 - echo $ac_n "(cached) $ac_c" 1>&6
8488 +for ac_prog in awk mawk gawk nawk
8490 + # Extract the first word of "$ac_prog", so it can be a program name with args.
8491 +set dummy $ac_prog; ac_word=$2
8492 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8493 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8494 +if test "${ac_cv_prog_AWK+set}" = set; then
8495 + echo $ECHO_N "(cached) $ECHO_C" >&6
8497 - cat > conftestmake <<\EOF
8499 - @echo 'ac_maketemp="${MAKE}"'
8501 -# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8502 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
8503 -if test -n "$ac_maketemp"; then
8504 - eval ac_cv_prog_make_${ac_make}_set=yes
8505 + if test -n "$AWK"; then
8506 + ac_cv_prog_AWK="$AWK" # Let the user override the test.
8508 - eval ac_cv_prog_make_${ac_make}_set=no
8511 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8512 +for as_dir in $PATH
8515 + test -z "$as_dir" && as_dir=.
8516 + for ac_exec_ext in '' $ac_executable_extensions; do
8517 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8518 + ac_cv_prog_AWK="$ac_prog"
8519 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8527 +AWK=$ac_cv_prog_AWK
8528 +if test -n "$AWK"; then
8529 + echo "$as_me:$LINENO: result: $AWK" >&5
8530 +echo "${ECHO_T}$AWK" >&6
8532 + echo "$as_me:$LINENO: result: no" >&5
8533 +echo "${ECHO_T}no" >&6
8536 + test -n "$AWK" && break
8539 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
8540 +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
8541 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
8542 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8543 + echo $ECHO_N "(cached) $ECHO_C" >&6
8545 + cat >conftest.make <<\_ACEOF
8547 + @echo 'ac_maketemp="${MAKE}"'
8549 +# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8550 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8551 +if test -n "$ac_maketemp"; then
8552 + eval ac_cv_prog_make_${ac_make}_set=yes
8554 + eval ac_cv_prog_make_${ac_make}_set=no
8556 +rm -f conftest.make
8558 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8559 - echo "$ac_t""yes" 1>&6
8560 + echo "$as_me:$LINENO: result: yes" >&5
8561 +echo "${ECHO_T}yes" >&6
8564 - echo "$ac_t""no" 1>&6
8565 + echo "$as_me:$LINENO: result: no" >&5
8566 +echo "${ECHO_T}no" >&6
8567 SET_MAKE="MAKE=${MAKE-make}"
8570 + # test to see if srcdir already configured
8571 +if test "`cd $srcdir && pwd`" != "`pwd`" &&
8572 + test -f $srcdir/config.status; then
8573 + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
8574 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
8575 + { (exit 1); exit 1; }; }
8579 +# Define the identity of the package.
8581 + VERSION=$mutt_cv_version
8583 -VERSION=$mutt_cv_version
8585 -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
8586 - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
8588 -cat >> confdefs.h <<EOF
8589 +cat >>confdefs.h <<_ACEOF
8590 #define PACKAGE "$PACKAGE"
8594 -cat >> confdefs.h <<EOF
8596 +cat >>confdefs.h <<_ACEOF
8597 #define VERSION "$VERSION"
8601 +# Some tools Automake needs.
8603 +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
8606 +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
8609 +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
8612 +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
8614 -missing_dir=`cd $ac_aux_dir && pwd`
8615 -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
8616 -echo "configure:779: checking for working aclocal" >&5
8617 -# Run test in a subshell; some versions of sh will print an error if
8618 -# an executable is not found, even if stderr is redirected.
8619 -# Redirect stdin to placate older versions of autoconf. Sigh.
8620 -if (aclocal --version) < /dev/null > /dev/null 2>&1; then
8622 - echo "$ac_t""found" 1>&6
8624 - ACLOCAL="$missing_dir/missing aclocal"
8625 - echo "$ac_t""missing" 1>&6
8628 -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
8629 -echo "configure:792: checking for working autoconf" >&5
8630 -# Run test in a subshell; some versions of sh will print an error if
8631 -# an executable is not found, even if stderr is redirected.
8632 -# Redirect stdin to placate older versions of autoconf. Sigh.
8633 -if (autoconf --version) < /dev/null > /dev/null 2>&1; then
8635 - echo "$ac_t""found" 1>&6
8637 - AUTOCONF="$missing_dir/missing autoconf"
8638 - echo "$ac_t""missing" 1>&6
8641 -echo $ac_n "checking for working automake""... $ac_c" 1>&6
8642 -echo "configure:805: checking for working automake" >&5
8643 -# Run test in a subshell; some versions of sh will print an error if
8644 -# an executable is not found, even if stderr is redirected.
8645 -# Redirect stdin to placate older versions of autoconf. Sigh.
8646 -if (automake --version) < /dev/null > /dev/null 2>&1; then
8648 - echo "$ac_t""found" 1>&6
8650 - AUTOMAKE="$missing_dir/missing automake"
8651 - echo "$ac_t""missing" 1>&6
8654 -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
8655 -echo "configure:818: checking for working autoheader" >&5
8656 -# Run test in a subshell; some versions of sh will print an error if
8657 -# an executable is not found, even if stderr is redirected.
8658 -# Redirect stdin to placate older versions of autoconf. Sigh.
8659 -if (autoheader --version) < /dev/null > /dev/null 2>&1; then
8660 - AUTOHEADER=autoheader
8661 - echo "$ac_t""found" 1>&6
8663 - AUTOHEADER="$missing_dir/missing autoheader"
8664 - echo "$ac_t""missing" 1>&6
8667 -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
8668 -echo "configure:831: checking for working makeinfo" >&5
8669 -# Run test in a subshell; some versions of sh will print an error if
8670 -# an executable is not found, even if stderr is redirected.
8671 -# Redirect stdin to placate older versions of autoconf. Sigh.
8672 -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
8674 - echo "$ac_t""found" 1>&6
8676 +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
8679 +AMTAR=${AMTAR-"${am_missing_run}tar"}
8681 +install_sh=${install_sh-"$am_aux_dir/install-sh"}
8683 +# Installed binaries are usually stripped using `strip' when the user
8684 +# run `make install-strip'. However `strip' might not be the right
8685 +# tool to use in cross-compilation environments, therefore Automake
8686 +# will honor the `STRIP' environment variable to overrule this program.
8687 +if test "$cross_compiling" != no; then
8688 + if test -n "$ac_tool_prefix"; then
8689 + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8690 +set dummy ${ac_tool_prefix}strip; ac_word=$2
8691 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8692 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8693 +if test "${ac_cv_prog_STRIP+set}" = set; then
8694 + echo $ECHO_N "(cached) $ECHO_C" >&6
8696 - MAKEINFO="$missing_dir/missing makeinfo"
8697 - echo "$ac_t""missing" 1>&6
8698 + if test -n "$STRIP"; then
8699 + ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8701 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8702 +for as_dir in $PATH
8705 + test -z "$as_dir" && as_dir=.
8706 + for ac_exec_ext in '' $ac_executable_extensions; do
8707 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8708 + ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8709 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8717 +STRIP=$ac_cv_prog_STRIP
8718 +if test -n "$STRIP"; then
8719 + echo "$as_me:$LINENO: result: $STRIP" >&5
8720 +echo "${ECHO_T}$STRIP" >&6
8722 + echo "$as_me:$LINENO: result: no" >&5
8723 +echo "${ECHO_T}no" >&6
8727 +if test -z "$ac_cv_prog_STRIP"; then
8728 + ac_ct_STRIP=$STRIP
8729 + # Extract the first word of "strip", so it can be a program name with args.
8730 +set dummy strip; ac_word=$2
8731 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8732 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8733 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8734 + echo $ECHO_N "(cached) $ECHO_C" >&6
8736 + if test -n "$ac_ct_STRIP"; then
8737 + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8739 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 +for as_dir in $PATH
8743 + test -z "$as_dir" && as_dir=.
8744 + for ac_exec_ext in '' $ac_executable_extensions; do
8745 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8746 + ac_cv_prog_ac_ct_STRIP="strip"
8747 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8756 +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8757 +if test -n "$ac_ct_STRIP"; then
8758 + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8759 +echo "${ECHO_T}$ac_ct_STRIP" >&6
8761 + echo "$as_me:$LINENO: result: no" >&5
8762 +echo "${ECHO_T}no" >&6
8765 + STRIP=$ac_ct_STRIP
8767 + STRIP="$ac_cv_prog_STRIP"
8770 -ALL_LINGUAS="de ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca"
8772 +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8774 +# We need awk for the "check" target. The system "awk" is bad on
8778 -# Make sure we can run config.sub.
8779 -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
8780 -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
8783 -echo $ac_n "checking host system type""... $ac_c" 1>&6
8784 -echo "configure:855: checking host system type" >&5
8787 -case "$host_alias" in
8791 - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
8792 - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
8794 - *) host_alias=$nonopt ;;
8798 -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
8799 -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
8800 -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
8801 -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
8802 -echo "$ac_t""$host" 1>&6
8803 +ALL_LINGUAS="de ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca"
8805 +# Make sure we can run config.sub.
8806 +$ac_config_sub sun4 >/dev/null 2>&1 ||
8807 + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
8808 +echo "$as_me: error: cannot run $ac_config_sub" >&2;}
8809 + { (exit 1); exit 1; }; }
8811 +echo "$as_me:$LINENO: checking build system type" >&5
8812 +echo $ECHO_N "checking build system type... $ECHO_C" >&6
8813 +if test "${ac_cv_build+set}" = set; then
8814 + echo $ECHO_N "(cached) $ECHO_C" >&6
8816 + ac_cv_build_alias=$build_alias
8817 +test -z "$ac_cv_build_alias" &&
8818 + ac_cv_build_alias=`$ac_config_guess`
8819 +test -z "$ac_cv_build_alias" &&
8820 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
8821 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
8822 + { (exit 1); exit 1; }; }
8823 +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
8824 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
8825 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
8826 + { (exit 1); exit 1; }; }
8829 +echo "$as_me:$LINENO: result: $ac_cv_build" >&5
8830 +echo "${ECHO_T}$ac_cv_build" >&6
8832 +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
8833 +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
8834 +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
8837 +echo "$as_me:$LINENO: checking host system type" >&5
8838 +echo $ECHO_N "checking host system type... $ECHO_C" >&6
8839 +if test "${ac_cv_host+set}" = set; then
8840 + echo $ECHO_N "(cached) $ECHO_C" >&6
8842 + ac_cv_host_alias=$host_alias
8843 +test -z "$ac_cv_host_alias" &&
8844 + ac_cv_host_alias=$ac_cv_build_alias
8845 +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
8846 + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
8847 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
8848 + { (exit 1); exit 1; }; }
8851 +echo "$as_me:$LINENO: result: $ac_cv_host" >&5
8852 +echo "${ECHO_T}$ac_cv_host" >&6
8854 +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
8855 +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
8856 +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
8859 -echo $ac_n "checking for prefix""... $ac_c" 1>&6
8860 -echo "configure:877: checking for prefix" >&5
8862 +echo "$as_me:$LINENO: checking for prefix" >&5
8863 +echo $ECHO_N "checking for prefix... $ECHO_C" >&6
8864 if test x$prefix = xNONE; then
8865 mutt_cv_prefix=$ac_default_prefix
8867 mutt_cv_prefix=$prefix
8869 -echo "$ac_t""$mutt_cv_prefix" 1>&6
8870 +echo "$as_me:$LINENO: result: $mutt_cv_prefix" >&5
8871 +echo "${ECHO_T}$mutt_cv_prefix" >&6
8874 +ac_cpp='$CPP $CPPFLAGS'
8875 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8876 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8877 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
8878 +if test -n "$ac_tool_prefix"; then
8879 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8880 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
8881 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8882 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8883 +if test "${ac_cv_prog_CC+set}" = set; then
8884 + echo $ECHO_N "(cached) $ECHO_C" >&6
8886 + if test -n "$CC"; then
8887 + ac_cv_prog_CC="$CC" # Let the user override the test.
8889 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 +for as_dir in $PATH
8893 + test -z "$as_dir" && as_dir=.
8894 + for ac_exec_ext in '' $ac_executable_extensions; do
8895 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8896 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
8897 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8906 +if test -n "$CC"; then
8907 + echo "$as_me:$LINENO: result: $CC" >&5
8908 +echo "${ECHO_T}$CC" >&6
8910 + echo "$as_me:$LINENO: result: no" >&5
8911 +echo "${ECHO_T}no" >&6
8914 -# Extract the first word of "gcc", so it can be a program name with args.
8916 +if test -z "$ac_cv_prog_CC"; then
8918 + # Extract the first word of "gcc", so it can be a program name with args.
8919 set dummy gcc; ac_word=$2
8920 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8921 -echo "configure:888: checking for $ac_word" >&5
8922 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8923 - echo $ac_n "(cached) $ac_c" 1>&6
8924 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8925 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8926 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
8927 + echo $ECHO_N "(cached) $ECHO_C" >&6
8929 + if test -n "$ac_ct_CC"; then
8930 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8932 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 +for as_dir in $PATH
8936 + test -z "$as_dir" && as_dir=.
8937 + for ac_exec_ext in '' $ac_executable_extensions; do
8938 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8939 + ac_cv_prog_ac_ct_CC="gcc"
8940 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8948 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
8949 +if test -n "$ac_ct_CC"; then
8950 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
8951 +echo "${ECHO_T}$ac_ct_CC" >&6
8953 + echo "$as_me:$LINENO: result: no" >&5
8954 +echo "${ECHO_T}no" >&6
8959 + CC="$ac_cv_prog_CC"
8962 +if test -z "$CC"; then
8963 + if test -n "$ac_tool_prefix"; then
8964 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8965 +set dummy ${ac_tool_prefix}cc; ac_word=$2
8966 +echo "$as_me:$LINENO: checking for $ac_word" >&5
8967 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8968 +if test "${ac_cv_prog_CC+set}" = set; then
8969 + echo $ECHO_N "(cached) $ECHO_C" >&6
8971 if test -n "$CC"; then
8972 ac_cv_prog_CC="$CC" # Let the user override the test.
8974 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8976 - for ac_dir in $ac_dummy; do
8977 - test -z "$ac_dir" && ac_dir=.
8978 - if test -f $ac_dir/$ac_word; then
8979 - ac_cv_prog_CC="gcc"
8983 - IFS="$ac_save_ifs"
8984 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8985 +for as_dir in $PATH
8988 + test -z "$as_dir" && as_dir=.
8989 + for ac_exec_ext in '' $ac_executable_extensions; do
8990 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8991 + ac_cv_prog_CC="${ac_tool_prefix}cc"
8992 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9000 -CC="$ac_cv_prog_CC"
9002 if test -n "$CC"; then
9003 - echo "$ac_t""$CC" 1>&6
9004 + echo "$as_me:$LINENO: result: $CC" >&5
9005 +echo "${ECHO_T}$CC" >&6
9007 - echo "$ac_t""no" 1>&6
9008 + echo "$as_me:$LINENO: result: no" >&5
9009 +echo "${ECHO_T}no" >&6
9013 +if test -z "$ac_cv_prog_CC"; then
9015 + # Extract the first word of "cc", so it can be a program name with args.
9016 +set dummy cc; ac_word=$2
9017 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9018 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9019 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9020 + echo $ECHO_N "(cached) $ECHO_C" >&6
9022 + if test -n "$ac_ct_CC"; then
9023 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9025 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9026 +for as_dir in $PATH
9029 + test -z "$as_dir" && as_dir=.
9030 + for ac_exec_ext in '' $ac_executable_extensions; do
9031 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9032 + ac_cv_prog_ac_ct_CC="cc"
9033 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9041 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9042 +if test -n "$ac_ct_CC"; then
9043 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9044 +echo "${ECHO_T}$ac_ct_CC" >&6
9046 + echo "$as_me:$LINENO: result: no" >&5
9047 +echo "${ECHO_T}no" >&6
9052 + CC="$ac_cv_prog_CC"
9056 if test -z "$CC"; then
9057 # Extract the first word of "cc", so it can be a program name with args.
9058 set dummy cc; ac_word=$2
9059 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9060 -echo "configure:918: checking for $ac_word" >&5
9061 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9062 - echo $ac_n "(cached) $ac_c" 1>&6
9063 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9064 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9065 +if test "${ac_cv_prog_CC+set}" = set; then
9066 + echo $ECHO_N "(cached) $ECHO_C" >&6
9068 if test -n "$CC"; then
9069 ac_cv_prog_CC="$CC" # Let the user override the test.
9071 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9074 - for ac_dir in $ac_dummy; do
9075 - test -z "$ac_dir" && ac_dir=.
9076 - if test -f $ac_dir/$ac_word; then
9077 - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9078 - ac_prog_rejected=yes
9081 - ac_cv_prog_CC="cc"
9085 - IFS="$ac_save_ifs"
9086 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9087 +for as_dir in $PATH
9090 + test -z "$as_dir" && as_dir=.
9091 + for ac_exec_ext in '' $ac_executable_extensions; do
9092 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9093 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9094 + ac_prog_rejected=yes
9097 + ac_cv_prog_CC="cc"
9098 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9104 if test $ac_prog_rejected = yes; then
9105 # We found a bogon in the path, so make sure we never use it.
9106 set dummy $ac_cv_prog_CC
9108 - if test $# -gt 0; then
9109 + if test $# != 0; then
9110 # We chose a different compiler from the bogus one.
9111 # However, it has the same basename, so the bogon will be chosen
9112 # first if we set CC to just the basename; use the full file name.
9114 - set dummy "$ac_dir/$ac_word" "$@"
9116 - ac_cv_prog_CC="$@"
9117 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9122 -CC="$ac_cv_prog_CC"
9124 if test -n "$CC"; then
9125 - echo "$ac_t""$CC" 1>&6
9126 + echo "$as_me:$LINENO: result: $CC" >&5
9127 +echo "${ECHO_T}$CC" >&6
9129 - echo "$ac_t""no" 1>&6
9130 + echo "$as_me:$LINENO: result: no" >&5
9131 +echo "${ECHO_T}no" >&6
9134 - if test -z "$CC"; then
9135 - case "`uname -s`" in
9136 - *win32* | *WIN32*)
9137 - # Extract the first word of "cl", so it can be a program name with args.
9138 -set dummy cl; ac_word=$2
9139 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9140 -echo "configure:969: checking for $ac_word" >&5
9141 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9142 - echo $ac_n "(cached) $ac_c" 1>&6
9144 +if test -z "$CC"; then
9145 + if test -n "$ac_tool_prefix"; then
9148 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9149 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9150 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9151 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9152 +if test "${ac_cv_prog_CC+set}" = set; then
9153 + echo $ECHO_N "(cached) $ECHO_C" >&6
9155 + if test -n "$CC"; then
9156 + ac_cv_prog_CC="$CC" # Let the user override the test.
9158 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9159 +for as_dir in $PATH
9162 + test -z "$as_dir" && as_dir=.
9163 + for ac_exec_ext in '' $ac_executable_extensions; do
9164 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9165 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9166 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9175 +if test -n "$CC"; then
9176 + echo "$as_me:$LINENO: result: $CC" >&5
9177 +echo "${ECHO_T}$CC" >&6
9179 + echo "$as_me:$LINENO: result: no" >&5
9180 +echo "${ECHO_T}no" >&6
9183 + test -n "$CC" && break
9186 +if test -z "$CC"; then
9190 + # Extract the first word of "$ac_prog", so it can be a program name with args.
9191 +set dummy $ac_prog; ac_word=$2
9192 +echo "$as_me:$LINENO: checking for $ac_word" >&5
9193 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9194 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9195 + echo $ECHO_N "(cached) $ECHO_C" >&6
9197 + if test -n "$ac_ct_CC"; then
9198 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9200 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9201 +for as_dir in $PATH
9204 + test -z "$as_dir" && as_dir=.
9205 + for ac_exec_ext in '' $ac_executable_extensions; do
9206 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9207 + ac_cv_prog_ac_ct_CC="$ac_prog"
9208 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9216 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
9217 +if test -n "$ac_ct_CC"; then
9218 + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9219 +echo "${ECHO_T}$ac_ct_CC" >&6
9221 + echo "$as_me:$LINENO: result: no" >&5
9222 +echo "${ECHO_T}no" >&6
9225 + test -n "$ac_ct_CC" && break
9234 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
9235 +echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
9236 + { (exit 1); exit 1; }; }
9238 +# Provide some information about the compiler.
9239 +echo "$as_me:$LINENO:" \
9240 + "checking for C compiler version" >&5
9241 +ac_compiler=`set X $ac_compile; echo $2`
9242 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9243 + (eval $ac_compiler --version </dev/null >&5) 2>&5
9245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 + (exit $ac_status); }
9247 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9248 + (eval $ac_compiler -v </dev/null >&5) 2>&5
9250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 + (exit $ac_status); }
9252 +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9253 + (eval $ac_compiler -V </dev/null >&5) 2>&5
9255 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 + (exit $ac_status); }
9258 +cat >conftest.$ac_ext <<_ACEOF
9259 +#line $LINENO "configure"
9260 +#include "confdefs.h"
9262 +#ifdef F77_DUMMY_MAIN
9263 +# ifdef __cplusplus
9266 + int F77_DUMMY_MAIN() { return 1; }
9276 +ac_clean_files_save=$ac_clean_files
9277 +ac_clean_files="$ac_clean_files a.out a.exe"
9278 +# Try to create an executable without -o first, disregard a.out.
9279 +# It will help us diagnose broken compilers, and finding out an intuition
9281 +echo "$as_me:$LINENO: checking for C compiler default output" >&5
9282 +echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9283 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9284 +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9285 + (eval $ac_link_default) 2>&5
9287 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 + (exit $ac_status); }; then
9289 + # Find the output, starting from the most likely. This scheme is
9290 +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
9293 +# Be careful to initialize this variable, since it used to be cached.
9294 +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
9296 +for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
9297 + ls a.out conftest 2>/dev/null;
9298 + ls a.* conftest.* 2>/dev/null`; do
9300 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
9301 + a.out ) # We found the default executable, but exeext='' is most
9302 + # certainly right.
9304 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9305 + # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9306 + export ac_cv_exeext
9312 + echo "$as_me: failed program was:" >&5
9313 +cat conftest.$ac_ext >&5
9314 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
9315 +echo "$as_me: error: C compiler cannot create executables" >&2;}
9316 + { (exit 77); exit 77; }; }
9319 +ac_exeext=$ac_cv_exeext
9320 +echo "$as_me:$LINENO: result: $ac_file" >&5
9321 +echo "${ECHO_T}$ac_file" >&6
9323 +# Check the compiler produces executables we can run. If not, either
9324 +# the compiler is broken, or we cross compile.
9325 +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
9326 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9327 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9328 +# If not cross compiling, check that we can run a simple program.
9329 +if test "$cross_compiling" != yes; then
9330 + if { ac_try='./$ac_file'
9331 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332 + (eval $ac_try) 2>&5
9334 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 + (exit $ac_status); }; }; then
9336 + cross_compiling=no
9338 + if test "$cross_compiling" = maybe; then
9339 + cross_compiling=yes
9341 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
9342 +If you meant to cross compile, use \`--host'." >&5
9343 +echo "$as_me: error: cannot run C compiled programs.
9344 +If you meant to cross compile, use \`--host'." >&2;}
9345 + { (exit 1); exit 1; }; }
9349 +echo "$as_me:$LINENO: result: yes" >&5
9350 +echo "${ECHO_T}yes" >&6
9352 +rm -f a.out a.exe conftest$ac_cv_exeext
9353 +ac_clean_files=$ac_clean_files_save
9354 +# Check the compiler produces executables we can run. If not, either
9355 +# the compiler is broken, or we cross compile.
9356 +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
9357 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
9358 +echo "$as_me:$LINENO: result: $cross_compiling" >&5
9359 +echo "${ECHO_T}$cross_compiling" >&6
9361 +echo "$as_me:$LINENO: checking for suffix of executables" >&5
9362 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
9363 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9364 + (eval $ac_link) 2>&5
9366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 + (exit $ac_status); }; then
9368 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
9369 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9370 +# work properly (i.e., refer to `conftest.exe'), while it won't with
9372 +for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
9374 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
9375 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9376 + export ac_cv_exeext
9382 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
9383 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
9384 + { (exit 1); exit 1; }; }
9387 +rm -f conftest$ac_cv_exeext
9388 +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
9389 +echo "${ECHO_T}$ac_cv_exeext" >&6
9391 +rm -f conftest.$ac_ext
9392 +EXEEXT=$ac_cv_exeext
9394 +echo "$as_me:$LINENO: checking for suffix of object files" >&5
9395 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
9396 +if test "${ac_cv_objext+set}" = set; then
9397 + echo $ECHO_N "(cached) $ECHO_C" >&6
9399 + cat >conftest.$ac_ext <<_ACEOF
9400 +#line $LINENO "configure"
9401 +#include "confdefs.h"
9403 +#ifdef F77_DUMMY_MAIN
9404 +# ifdef __cplusplus
9407 + int F77_DUMMY_MAIN() { return 1; }
9417 +rm -f conftest.o conftest.obj
9418 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9419 + (eval $ac_compile) 2>&5
9421 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 + (exit $ac_status); }; then
9423 + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9425 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
9426 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9431 + echo "$as_me: failed program was:" >&5
9432 +cat conftest.$ac_ext >&5
9433 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
9434 +echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
9435 + { (exit 1); exit 1; }; }
9438 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
9440 +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
9441 +echo "${ECHO_T}$ac_cv_objext" >&6
9442 +OBJEXT=$ac_cv_objext
9444 +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
9445 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9446 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
9447 + echo $ECHO_N "(cached) $ECHO_C" >&6
9449 + cat >conftest.$ac_ext <<_ACEOF
9450 +#line $LINENO "configure"
9451 +#include "confdefs.h"
9453 +#ifdef F77_DUMMY_MAIN
9454 +# ifdef __cplusplus
9457 + int F77_DUMMY_MAIN() { return 1; }
9470 +rm -f conftest.$ac_objext
9471 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9472 + (eval $ac_compile) 2>&5
9474 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 + (exit $ac_status); } &&
9476 + { ac_try='test -s conftest.$ac_objext'
9477 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478 + (eval $ac_try) 2>&5
9480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 + (exit $ac_status); }; }; then
9482 + ac_compiler_gnu=yes
9484 + echo "$as_me: failed program was:" >&5
9485 +cat conftest.$ac_ext >&5
9488 +rm -f conftest.$ac_objext conftest.$ac_ext
9489 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
9492 +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
9493 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9494 +GCC=`test $ac_compiler_gnu = yes && echo yes`
9495 +ac_test_CFLAGS=${CFLAGS+set}
9496 +ac_save_CFLAGS=$CFLAGS
9498 +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
9499 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9500 +if test "${ac_cv_prog_cc_g+set}" = set; then
9501 + echo $ECHO_N "(cached) $ECHO_C" >&6
9503 + cat >conftest.$ac_ext <<_ACEOF
9504 +#line $LINENO "configure"
9505 +#include "confdefs.h"
9507 +#ifdef F77_DUMMY_MAIN
9508 +# ifdef __cplusplus
9511 + int F77_DUMMY_MAIN() { return 1; }
9521 +rm -f conftest.$ac_objext
9522 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9523 + (eval $ac_compile) 2>&5
9525 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 + (exit $ac_status); } &&
9527 + { ac_try='test -s conftest.$ac_objext'
9528 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 + (eval $ac_try) 2>&5
9531 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 + (exit $ac_status); }; }; then
9533 + ac_cv_prog_cc_g=yes
9535 + echo "$as_me: failed program was:" >&5
9536 +cat conftest.$ac_ext >&5
9539 +rm -f conftest.$ac_objext conftest.$ac_ext
9541 +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
9542 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
9543 +if test "$ac_test_CFLAGS" = set; then
9544 + CFLAGS=$ac_save_CFLAGS
9545 +elif test $ac_cv_prog_cc_g = yes; then
9546 + if test "$GCC" = yes; then
9552 + if test "$GCC" = yes; then
9558 +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
9559 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
9560 +if test "${ac_cv_prog_cc_stdc+set}" = set; then
9561 + echo $ECHO_N "(cached) $ECHO_C" >&6
9563 + ac_cv_prog_cc_stdc=no
9565 +cat >conftest.$ac_ext <<_ACEOF
9566 +#line $LINENO "configure"
9567 +#include "confdefs.h"
9568 +#include <stdarg.h>
9570 +#include <sys/types.h>
9571 +#include <sys/stat.h>
9572 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
9573 +struct buf { int x; };
9574 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
9575 +static char *e (p, i)
9581 +static char *f (char * (*g) (char **, int), char **p, ...)
9586 + s = g (p, va_arg (v,int));
9590 +int test (int i, double x);
9591 +struct s1 {int (*f) (int a);};
9592 +struct s2 {int (*f) (double a);};
9593 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
9596 +#ifdef F77_DUMMY_MAIN
9597 +# ifdef __cplusplus
9600 + int F77_DUMMY_MAIN() { return 1; }
9605 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
9610 +# Don't try gcc -ansi; that turns off useful extensions and
9611 +# breaks some systems' header files.
9612 +# AIX -qlanglvl=ansi
9613 +# Ultrix and OSF/1 -std1
9614 +# HP-UX 10.20 and later -Ae
9615 +# HP-UX older versions -Aa -D_HPUX_SOURCE
9616 +# SVR4 -Xc -D__EXTENSIONS__
9617 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
9619 + CC="$ac_save_CC $ac_arg"
9620 + rm -f conftest.$ac_objext
9621 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9622 + (eval $ac_compile) 2>&5
9624 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 + (exit $ac_status); } &&
9626 + { ac_try='test -s conftest.$ac_objext'
9627 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628 + (eval $ac_try) 2>&5
9630 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 + (exit $ac_status); }; }; then
9632 + ac_cv_prog_cc_stdc=$ac_arg
9635 + echo "$as_me: failed program was:" >&5
9636 +cat conftest.$ac_ext >&5
9638 +rm -f conftest.$ac_objext
9640 +rm -f conftest.$ac_ext conftest.$ac_objext
9645 +case "x$ac_cv_prog_cc_stdc" in
9647 + echo "$as_me:$LINENO: result: none needed" >&5
9648 +echo "${ECHO_T}none needed" >&6 ;;
9650 + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
9651 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
9652 + CC="$CC $ac_cv_prog_cc_stdc" ;;
9655 +# Some people use a C++ compiler to compile C. Since we use `exit',
9656 +# in C++ we need to declare it. In case someone uses the same compiler
9657 +# for both compiling C and C++ we need to have the C++ compiler decide
9658 +# the declaration of exit, since it's the most demanding environment.
9659 +cat >conftest.$ac_ext <<_ACEOF
9660 +#ifndef __cplusplus
9664 +rm -f conftest.$ac_objext
9665 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9666 + (eval $ac_compile) 2>&5
9668 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 + (exit $ac_status); } &&
9670 + { ac_try='test -s conftest.$ac_objext'
9671 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 + (eval $ac_try) 2>&5
9674 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 + (exit $ac_status); }; }; then
9676 + for ac_declaration in \
9678 + '#include <stdlib.h>' \
9679 + 'extern "C" void std::exit (int) throw (); using std::exit;' \
9680 + 'extern "C" void std::exit (int); using std::exit;' \
9681 + 'extern "C" void exit (int) throw ();' \
9682 + 'extern "C" void exit (int);' \
9683 + 'void exit (int);'
9685 + cat >conftest.$ac_ext <<_ACEOF
9686 +#line $LINENO "configure"
9687 +#include "confdefs.h"
9688 +#include <stdlib.h>
9690 +#ifdef F77_DUMMY_MAIN
9691 +# ifdef __cplusplus
9694 + int F77_DUMMY_MAIN() { return 1; }
9704 +rm -f conftest.$ac_objext
9705 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9706 + (eval $ac_compile) 2>&5
9708 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 + (exit $ac_status); } &&
9710 + { ac_try='test -s conftest.$ac_objext'
9711 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 + (eval $ac_try) 2>&5
9714 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 + (exit $ac_status); }; }; then
9718 - if test -n "$CC"; then
9719 - ac_cv_prog_CC="$CC" # Let the user override the test.
9720 + echo "$as_me: failed program was:" >&5
9721 +cat conftest.$ac_ext >&5
9724 +rm -f conftest.$ac_objext conftest.$ac_ext
9725 + cat >conftest.$ac_ext <<_ACEOF
9726 +#line $LINENO "configure"
9727 +#include "confdefs.h"
9729 +#ifdef F77_DUMMY_MAIN
9730 +# ifdef __cplusplus
9733 + int F77_DUMMY_MAIN() { return 1; }
9743 +rm -f conftest.$ac_objext
9744 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9745 + (eval $ac_compile) 2>&5
9747 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 + (exit $ac_status); } &&
9749 + { ac_try='test -s conftest.$ac_objext'
9750 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9751 + (eval $ac_try) 2>&5
9753 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 + (exit $ac_status); }; }; then
9757 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9759 - for ac_dir in $ac_dummy; do
9760 - test -z "$ac_dir" && ac_dir=.
9761 - if test -f $ac_dir/$ac_word; then
9762 - ac_cv_prog_CC="cl"
9766 - IFS="$ac_save_ifs"
9767 + echo "$as_me: failed program was:" >&5
9768 +cat conftest.$ac_ext >&5
9770 +rm -f conftest.$ac_objext conftest.$ac_ext
9773 +if test -n "$ac_declaration"; then
9774 + echo '#ifdef __cplusplus' >>confdefs.h
9775 + echo $ac_declaration >>confdefs.h
9776 + echo '#endif' >>confdefs.h
9778 -CC="$ac_cv_prog_CC"
9779 -if test -n "$CC"; then
9780 - echo "$ac_t""$CC" 1>&6
9783 - echo "$ac_t""no" 1>&6
9784 + echo "$as_me: failed program was:" >&5
9785 +cat conftest.$ac_ext >&5
9790 - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9793 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9794 -echo "configure:1001: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9796 +rm -f conftest.$ac_objext conftest.$ac_ext
9798 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9799 ac_cpp='$CPP $CPPFLAGS'
9800 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9801 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9802 -cross_compiling=$ac_cv_prog_cc_cross
9803 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9804 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9805 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
9806 +rm -f .deps 2>/dev/null
9807 +mkdir .deps 2>/dev/null
9808 +if test -d .deps; then
9811 + # MS-DOS does not allow filenames that begin with a dot.
9814 +rmdir .deps 2>/dev/null
9817 + ac_config_commands="$ac_config_commands depfiles"
9820 +am_make=${MAKE-make}
9821 +cat > confinc << 'END'
9825 +# If we don't find an include directive, just comment out the code.
9826 +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
9827 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
9831 +# First try GNU make style include.
9832 +echo "include confinc" > confmf
9833 +# We grep out `Entering directory' and `Leaving directory'
9834 +# messages which can occur if `w' ends up in MAKEFLAGS.
9835 +# In particular we don't look at `^make:' because GNU make might
9836 +# be invoked under some other name (usually "gmake"), in which
9837 +# case it prints its new name instead of `make'.
9838 +if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
9839 + am__include=include
9843 +# Now try BSD make style include.
9844 +if test "$am__include" = "#"; then
9845 + echo '.include "confinc"' > confmf
9846 + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9847 + am__include=.include
9853 -cat > conftest.$ac_ext << EOF
9855 -#line 1012 "configure"
9856 -#include "confdefs.h"
9857 +echo "$as_me:$LINENO: result: $_am_result" >&5
9858 +echo "${ECHO_T}$_am_result" >&6
9859 +rm -f confinc confmf
9863 -if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9864 - ac_cv_prog_cc_works=yes
9865 - # If we can't run a trivial program, we are probably using a cross compiler.
9866 - if (./conftest; exit) 2>/dev/null; then
9867 - ac_cv_prog_cc_cross=no
9869 - ac_cv_prog_cc_cross=yes
9872 - echo "configure: failed program was:" >&5
9873 - cat conftest.$ac_ext >&5
9874 - ac_cv_prog_cc_works=no
9878 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9879 -ac_cpp='$CPP $CPPFLAGS'
9880 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9881 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9882 -cross_compiling=$ac_cv_prog_cc_cross
9884 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9885 -if test $ac_cv_prog_cc_works = no; then
9886 - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9888 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9889 -echo "configure:1043: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9890 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9891 -cross_compiling=$ac_cv_prog_cc_cross
9893 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9894 -echo "configure:1048: checking whether we are using GNU C" >&5
9895 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9896 - echo $ac_n "(cached) $ac_c" 1>&6
9898 - cat > conftest.c <<EOF
9903 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9904 - ac_cv_prog_gcc=yes
9908 +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
9909 +if test "${enable_dependency_tracking+set}" = set; then
9910 + enableval="$enable_dependency_tracking"
9913 +if test "x$enable_dependency_tracking" != xno; then
9914 + am_depcomp="$ac_aux_dir/depcomp"
9915 + AMDEPBACKSLASH='\'
9918 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9920 -if test $ac_cv_prog_gcc = yes; then
9922 +if test "x$enable_dependency_tracking" != xno; then
9931 -ac_test_CFLAGS="${CFLAGS+set}"
9932 -ac_save_CFLAGS="$CFLAGS"
9934 -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9935 -echo "configure:1076: checking whether ${CC-cc} accepts -g" >&5
9936 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9937 - echo $ac_n "(cached) $ac_c" 1>&6
9941 +depcc="$CC" am_compiler_list=
9943 +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9944 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
9945 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
9946 + echo $ECHO_N "(cached) $ECHO_C" >&6
9948 - echo 'void f(){}' > conftest.c
9949 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9950 - ac_cv_prog_cc_g=yes
9951 + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9952 + # We make a subdir and do the tests there. Otherwise we can end up
9953 + # making bogus files that we don't know about and never remove. For
9954 + # instance it was reported that on HP-UX the gcc test will end up
9955 + # making a dummy file named `D' -- because `-MD' means `put the output
9957 + mkdir conftest.dir
9958 + # Copy depcomp to subdir because otherwise we won't find it if we're
9959 + # using a relative directory.
9960 + cp "$am_depcomp" conftest.dir
9963 + am_cv_CC_dependencies_compiler_type=none
9964 + if test "$am_compiler_list" = ""; then
9965 + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9967 + for depmode in $am_compiler_list; do
9968 + # We need to recreate these files for each test, as the compiler may
9969 + # overwrite some of them when testing with obscure command lines.
9970 + # This happens at least with the AIX C compiler.
9971 + echo '#include "conftest.h"' > conftest.c
9972 + echo 'int i;' > conftest.h
9973 + echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
9977 + # after this tag, mechanisms are not by side-effect, so they'll
9978 + # only be used when explicitly requested
9979 + if test "x$enable_dependency_tracking" = xyes; then
9987 + # We check with `-c' and `-o' for the sake of the "dashmstdout"
9988 + # mode. It turns out that the SunPro C++ compiler does not properly
9989 + # handle `-M -o', and we need to detect this.
9990 + if depmode=$depmode \
9991 + source=conftest.c object=conftest.o \
9992 + depfile=conftest.Po tmpdepfile=conftest.TPo \
9993 + $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
9994 + grep conftest.h conftest.Po > /dev/null 2>&1 &&
9995 + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9996 + am_cv_CC_dependencies_compiler_type=$depmode
10002 + rm -rf conftest.dir
10004 - ac_cv_prog_cc_g=no
10005 + am_cv_CC_dependencies_compiler_type=none
10010 +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
10011 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
10012 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10015 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
10016 -if test "$ac_test_CFLAGS" = set; then
10017 - CFLAGS="$ac_save_CFLAGS"
10018 -elif test $ac_cv_prog_cc_g = yes; then
10019 - if test "$GCC" = yes; then
10025 - if test "$GCC" = yes; then
10033 - echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
10034 -echo "configure:1109: checking for strerror in -lcposix" >&5
10035 -ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
10036 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10037 - echo $ac_n "(cached) $ac_c" 1>&6
10038 + echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
10039 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
10040 +if test "${ac_cv_lib_cposix_strerror+set}" = set; then
10041 + echo $ECHO_N "(cached) $ECHO_C" >&6
10043 - ac_save_LIBS="$LIBS"
10044 + ac_check_lib_save_LIBS=$LIBS
10045 LIBS="-lcposix $LIBS"
10046 -cat > conftest.$ac_ext <<EOF
10047 -#line 1117 "configure"
10048 +cat >conftest.$ac_ext <<_ACEOF
10049 +#line $LINENO "configure"
10050 #include "confdefs.h"
10052 /* Override any gcc2 internal prototype to avoid an error. */
10053 +#ifdef __cplusplus
10056 /* We use char because int might match the return type of a gcc2
10057 - builtin and then its argument prototype would still apply. */
10064 -if { (eval echo configure:1128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10066 - eval "ac_cv_lib_$ac_lib_var=yes"
10068 - echo "configure: failed program was:" >&5
10069 - cat conftest.$ac_ext >&5
10071 - eval "ac_cv_lib_$ac_lib_var=no"
10074 -LIBS="$ac_save_LIBS"
10077 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10078 - echo "$ac_t""yes" 1>&6
10079 + builtin and then its argument prototype would still apply. */
10081 +#ifdef F77_DUMMY_MAIN
10082 +# ifdef __cplusplus
10085 + int F77_DUMMY_MAIN() { return 1; }
10095 +rm -f conftest.$ac_objext conftest$ac_exeext
10096 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10097 + (eval $ac_link) 2>&5
10099 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 + (exit $ac_status); } &&
10101 + { ac_try='test -s conftest$ac_exeext'
10102 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103 + (eval $ac_try) 2>&5
10105 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 + (exit $ac_status); }; }; then
10107 + ac_cv_lib_cposix_strerror=yes
10109 + echo "$as_me: failed program was:" >&5
10110 +cat conftest.$ac_ext >&5
10111 +ac_cv_lib_cposix_strerror=no
10113 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10114 +LIBS=$ac_check_lib_save_LIBS
10116 +echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
10117 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
10118 +if test $ac_cv_lib_cposix_strerror = yes; then
10119 LIBS="$LIBS -lcposix"
10121 - echo "$ac_t""no" 1>&6
10129 -echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
10130 -echo "configure:1154: checking for ${CC-cc} option to accept ANSI C" >&5
10131 -if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
10132 - echo $ac_n "(cached) $ac_c" 1>&6
10134 +echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
10135 +echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
10136 +if test "${am_cv_prog_cc_stdc+set}" = set; then
10137 + echo $ECHO_N "(cached) $ECHO_C" >&6
10139 am_cv_prog_cc_stdc=no
10141 @@ -1162,13 +2779,14 @@
10142 # breaks some systems' header files.
10143 # AIX -qlanglvl=ansi
10144 # Ultrix and OSF/1 -std1
10145 -# HP-UX -Aa -D_HPUX_SOURCE
10146 +# HP-UX 10.20 and later -Ae
10147 +# HP-UX older versions -Aa -D_HPUX_SOURCE
10148 # SVR4 -Xc -D__EXTENSIONS__
10149 -for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10150 +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10152 CC="$ac_save_CC $ac_arg"
10153 - cat > conftest.$ac_ext <<EOF
10154 -#line 1170 "configure"
10155 + cat >conftest.$ac_ext <<_ACEOF
10156 +#line $LINENO "configure"
10157 #include "confdefs.h"
10158 #include <stdarg.h>
10160 @@ -1199,170 +2817,386 @@
10165 +#ifdef F77_DUMMY_MAIN
10166 +# ifdef __cplusplus
10169 + int F77_DUMMY_MAIN() { return 1; }
10175 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10179 -if { (eval echo configure:1207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10185 +rm -f conftest.$ac_objext
10186 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10187 + (eval $ac_compile) 2>&5
10189 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 + (exit $ac_status); } &&
10191 + { ac_try='test -s conftest.$ac_objext'
10192 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 + (eval $ac_try) 2>&5
10195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 + (exit $ac_status); }; }; then
10197 am_cv_prog_cc_stdc="$ac_arg"; break
10199 - echo "configure: failed program was:" >&5
10200 - cat conftest.$ac_ext >&5
10201 + echo "$as_me: failed program was:" >&5
10202 +cat conftest.$ac_ext >&5
10205 +rm -f conftest.$ac_objext conftest.$ac_ext
10211 if test -z "$am_cv_prog_cc_stdc"; then
10212 - echo "$ac_t""none needed" 1>&6
10213 + echo "$as_me:$LINENO: result: none needed" >&5
10214 +echo "${ECHO_T}none needed" >&6
10216 - echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6
10217 + echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
10218 +echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
10220 case "x$am_cv_prog_cc_stdc" in
10222 *) CC="$CC $am_cv_prog_cc_stdc" ;;
10225 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
10226 -echo "configure:1231: checking how to run the C preprocessor" >&5
10228 +ac_cpp='$CPP $CPPFLAGS'
10229 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10230 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10231 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10232 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10233 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10234 # On Suns, sometimes $CPP names a directory.
10235 if test -n "$CPP" && test -d "$CPP"; then
10238 if test -z "$CPP"; then
10239 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
10240 - echo $ac_n "(cached) $ac_c" 1>&6
10241 + if test "${ac_cv_prog_CPP+set}" = set; then
10242 + echo $ECHO_N "(cached) $ECHO_C" >&6
10244 - # This must be in double quotes, not single quotes, because CPP may get
10245 - # substituted into the Makefile and "${CC-cc}" will confuse make.
10246 - CPP="${CC-cc} -E"
10247 + # Double quotes because CPP needs to be expanded
10248 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10250 + ac_preproc_ok=false
10251 +for ac_c_preproc_warn_flag in '' yes
10253 + # Use a header file that comes with gcc, so configuring glibc
10254 + # with a fresh cross-compiler works.
10255 # On the NeXT, cc -E runs the code through the compiler's parser,
10256 - # not just through cpp.
10257 - cat > conftest.$ac_ext <<EOF
10258 -#line 1246 "configure"
10259 + # not just through cpp. "Syntax error" is here to catch this case.
10260 + cat >conftest.$ac_ext <<_ACEOF
10261 +#line $LINENO "configure"
10262 #include "confdefs.h"
10263 #include <assert.h>
10266 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10267 -{ (eval echo configure:1252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10268 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10269 -if test -z "$ac_err"; then
10272 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10273 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10275 + egrep -v '^ *\+' conftest.er1 >conftest.err
10276 + rm -f conftest.er1
10277 + cat conftest.err >&5
10278 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 + (exit $ac_status); } >/dev/null; then
10280 + if test -s conftest.err; then
10281 + ac_cpp_err=$ac_c_preproc_warn_flag
10288 +if test -z "$ac_cpp_err"; then
10291 - echo "$ac_err" >&5
10292 - echo "configure: failed program was:" >&5
10293 + echo "$as_me: failed program was:" >&5
10294 cat conftest.$ac_ext >&5
10296 - CPP="${CC-cc} -E -traditional-cpp"
10297 - cat > conftest.$ac_ext <<EOF
10298 -#line 1263 "configure"
10299 -#include "confdefs.h"
10300 -#include <assert.h>
10303 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10304 -{ (eval echo configure:1269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10305 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10306 -if test -z "$ac_err"; then
10308 + # Broken: fails on valid input.
10311 +rm -f conftest.err conftest.$ac_ext
10313 + # OK, works on sane cases. Now check whether non-existent headers
10314 + # can be detected and how.
10315 + cat >conftest.$ac_ext <<_ACEOF
10316 +#line $LINENO "configure"
10317 +#include "confdefs.h"
10318 +#include <ac_nonexistent.h>
10320 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10321 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10323 + egrep -v '^ *\+' conftest.er1 >conftest.err
10324 + rm -f conftest.er1
10325 + cat conftest.err >&5
10326 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 + (exit $ac_status); } >/dev/null; then
10328 + if test -s conftest.err; then
10329 + ac_cpp_err=$ac_c_preproc_warn_flag
10334 - echo "$ac_err" >&5
10335 - echo "configure: failed program was:" >&5
10338 +if test -z "$ac_cpp_err"; then
10339 + # Broken: success on invalid input.
10342 + echo "$as_me: failed program was:" >&5
10343 cat conftest.$ac_ext >&5
10345 - CPP="${CC-cc} -nologo -E"
10346 - cat > conftest.$ac_ext <<EOF
10347 -#line 1280 "configure"
10348 + # Passes both tests.
10352 +rm -f conftest.err conftest.$ac_ext
10355 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10356 +rm -f conftest.err conftest.$ac_ext
10357 +if $ac_preproc_ok; then
10362 + ac_cv_prog_CPP=$CPP
10365 + CPP=$ac_cv_prog_CPP
10367 + ac_cv_prog_CPP=$CPP
10369 +echo "$as_me:$LINENO: result: $CPP" >&5
10370 +echo "${ECHO_T}$CPP" >&6
10371 +ac_preproc_ok=false
10372 +for ac_c_preproc_warn_flag in '' yes
10374 + # Use a header file that comes with gcc, so configuring glibc
10375 + # with a fresh cross-compiler works.
10376 + # On the NeXT, cc -E runs the code through the compiler's parser,
10377 + # not just through cpp. "Syntax error" is here to catch this case.
10378 + cat >conftest.$ac_ext <<_ACEOF
10379 +#line $LINENO "configure"
10380 #include "confdefs.h"
10381 #include <assert.h>
10384 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10385 -{ (eval echo configure:1286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10386 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10387 -if test -z "$ac_err"; then
10390 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10391 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10393 + egrep -v '^ *\+' conftest.er1 >conftest.err
10394 + rm -f conftest.er1
10395 + cat conftest.err >&5
10396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 + (exit $ac_status); } >/dev/null; then
10398 + if test -s conftest.err; then
10399 + ac_cpp_err=$ac_c_preproc_warn_flag
10406 +if test -z "$ac_cpp_err"; then
10409 - echo "$ac_err" >&5
10410 - echo "configure: failed program was:" >&5
10411 + echo "$as_me: failed program was:" >&5
10412 cat conftest.$ac_ext >&5
10415 + # Broken: fails on valid input.
10419 +rm -f conftest.err conftest.$ac_ext
10421 + # OK, works on sane cases. Now check whether non-existent headers
10422 + # can be detected and how.
10423 + cat >conftest.$ac_ext <<_ACEOF
10424 +#line $LINENO "configure"
10425 +#include "confdefs.h"
10426 +#include <ac_nonexistent.h>
10428 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10429 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10431 + egrep -v '^ *\+' conftest.er1 >conftest.err
10432 + rm -f conftest.er1
10433 + cat conftest.err >&5
10434 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 + (exit $ac_status); } >/dev/null; then
10436 + if test -s conftest.err; then
10437 + ac_cpp_err=$ac_c_preproc_warn_flag
10445 +if test -z "$ac_cpp_err"; then
10446 + # Broken: success on invalid input.
10449 + echo "$as_me: failed program was:" >&5
10450 + cat conftest.$ac_ext >&5
10451 + # Passes both tests.
10456 - ac_cv_prog_CPP="$CPP"
10457 +rm -f conftest.err conftest.$ac_ext
10460 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10461 +rm -f conftest.err conftest.$ac_ext
10462 +if $ac_preproc_ok; then
10465 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
10466 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
10467 + { (exit 1); exit 1; }; }
10469 - CPP="$ac_cv_prog_CPP"
10472 +ac_cpp='$CPP $CPPFLAGS'
10473 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10474 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10475 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10478 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
10488 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10489 + inttypes.h stdint.h unistd.h
10491 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10492 +echo "$as_me:$LINENO: checking for $ac_header" >&5
10493 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10494 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
10495 + echo $ECHO_N "(cached) $ECHO_C" >&6
10497 + cat >conftest.$ac_ext <<_ACEOF
10498 +#line $LINENO "configure"
10499 +#include "confdefs.h"
10500 +$ac_includes_default
10502 +#include <$ac_header>
10504 +rm -f conftest.$ac_objext
10505 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10506 + (eval $ac_compile) 2>&5
10508 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 + (exit $ac_status); } &&
10510 + { ac_try='test -s conftest.$ac_objext'
10511 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 + (eval $ac_try) 2>&5
10514 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 + (exit $ac_status); }; }; then
10516 + eval "$as_ac_Header=yes"
10518 - ac_cv_prog_CPP="$CPP"
10519 + echo "$as_me: failed program was:" >&5
10520 +cat conftest.$ac_ext >&5
10521 +eval "$as_ac_Header=no"
10523 +rm -f conftest.$ac_objext conftest.$ac_ext
10525 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10526 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10527 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
10528 + cat >>confdefs.h <<_ACEOF
10529 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10533 -echo "$ac_t""$CPP" 1>&6
10540 -echo $ac_n "checking for function prototypes""... $ac_c" 1>&6
10541 -echo "configure:1313: checking for function prototypes" >&5
10542 +echo "$as_me:$LINENO: checking for function prototypes" >&5
10543 +echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
10544 if test "$am_cv_prog_cc_stdc" != no; then
10545 - echo "$ac_t""yes" 1>&6
10546 - cat >> confdefs.h <<\EOF
10547 + echo "$as_me:$LINENO: result: yes" >&5
10548 +echo "${ECHO_T}yes" >&6
10550 +cat >>confdefs.h <<\_ACEOF
10551 #define PROTOTYPES 1
10557 - echo "$ac_t""no" 1>&6
10558 + echo "$as_me:$LINENO: result: no" >&5
10559 +echo "${ECHO_T}no" >&6
10560 U=_ ANSI2KNR=./ansi2knr
10561 - # Ensure some checks needed by ansi2knr itself.
10562 - echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
10563 -echo "configure:1326: checking for ANSI C header files" >&5
10564 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
10565 - echo $ac_n "(cached) $ac_c" 1>&6
10567 +# Ensure some checks needed by ansi2knr itself.
10568 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10569 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10570 +if test "${ac_cv_header_stdc+set}" = set; then
10571 + echo $ECHO_N "(cached) $ECHO_C" >&6
10573 - cat > conftest.$ac_ext <<EOF
10574 -#line 1331 "configure"
10575 + cat >conftest.$ac_ext <<_ACEOF
10576 +#line $LINENO "configure"
10577 #include "confdefs.h"
10578 #include <stdlib.h>
10579 #include <stdarg.h>
10580 #include <string.h>
10583 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10584 -{ (eval echo configure:1339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10585 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10586 -if test -z "$ac_err"; then
10590 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10591 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10593 + egrep -v '^ *\+' conftest.er1 >conftest.err
10594 + rm -f conftest.er1
10595 + cat conftest.err >&5
10596 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 + (exit $ac_status); } >/dev/null; then
10598 + if test -s conftest.err; then
10599 + ac_cpp_err=$ac_c_preproc_warn_flag
10606 +if test -z "$ac_cpp_err"; then
10607 ac_cv_header_stdc=yes
10609 - echo "$ac_err" >&5
10610 - echo "configure: failed program was:" >&5
10611 + echo "$as_me: failed program was:" >&5
10612 cat conftest.$ac_ext >&5
10614 ac_cv_header_stdc=no
10617 +rm -f conftest.err conftest.$ac_ext
10619 if test $ac_cv_header_stdc = yes; then
10620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10621 -cat > conftest.$ac_ext <<EOF
10622 -#line 1356 "configure"
10623 + cat >conftest.$ac_ext <<_ACEOF
10624 +#line $LINENO "configure"
10625 #include "confdefs.h"
10626 #include <string.h>
10630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10631 egrep "memchr" >/dev/null 2>&1; then
10635 ac_cv_header_stdc=no
10638 @@ -1371,16 +3205,16 @@
10640 if test $ac_cv_header_stdc = yes; then
10641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10642 -cat > conftest.$ac_ext <<EOF
10643 -#line 1374 "configure"
10644 + cat >conftest.$ac_ext <<_ACEOF
10645 +#line $LINENO "configure"
10646 #include "confdefs.h"
10647 #include <stdlib.h>
10651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10652 egrep "free" >/dev/null 2>&1; then
10656 ac_cv_header_stdc=no
10659 @@ -1389,193 +3223,414 @@
10661 if test $ac_cv_header_stdc = yes; then
10662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10663 -if test "$cross_compiling" = yes; then
10664 + if test "$cross_compiling" = yes; then
10667 - cat > conftest.$ac_ext <<EOF
10668 -#line 1395 "configure"
10669 + cat >conftest.$ac_ext <<_ACEOF
10670 +#line $LINENO "configure"
10671 #include "confdefs.h"
10673 -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10674 -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10675 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10676 -int main () { int i; for (i = 0; i < 256; i++)
10677 -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
10679 +#if ((' ' & 0x0FF) == 0x020)
10680 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10681 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10683 +# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
10684 + || ('j' <= (c) && (c) <= 'r') \
10685 + || ('s' <= (c) && (c) <= 'z'))
10686 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10690 -if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10692 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10697 + for (i = 0; i < 256; i++)
10698 + if (XOR (islower (i), ISLOWER (i))
10699 + || toupper (i) != TOUPPER (i))
10704 +rm -f conftest$ac_exeext
10705 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10706 + (eval $ac_link) 2>&5
10708 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10710 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 + (eval $ac_try) 2>&5
10713 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 + (exit $ac_status); }; }; then
10717 - echo "configure: failed program was:" >&5
10718 - cat conftest.$ac_ext >&5
10720 - ac_cv_header_stdc=no
10721 + echo "$as_me: program exited with status $ac_status" >&5
10722 +echo "$as_me: failed program was:" >&5
10723 +cat conftest.$ac_ext >&5
10724 +( exit $ac_status )
10725 +ac_cv_header_stdc=no
10728 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10734 -echo "$ac_t""$ac_cv_header_stdc" 1>&6
10735 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10736 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
10737 if test $ac_cv_header_stdc = yes; then
10738 - cat >> confdefs.h <<\EOF
10740 +cat >>confdefs.h <<\_ACEOF
10741 #define STDC_HEADERS 1
10747 - for ac_hdr in string.h
10749 +for ac_header in string.h
10751 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10752 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10753 -echo "configure:1433: checking for $ac_hdr" >&5
10754 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10755 - echo $ac_n "(cached) $ac_c" 1>&6
10756 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10757 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
10758 + echo "$as_me:$LINENO: checking for $ac_header" >&5
10759 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10760 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
10761 + echo $ECHO_N "(cached) $ECHO_C" >&6
10763 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10764 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10766 + # Is the header compilable?
10767 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
10768 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10769 +cat >conftest.$ac_ext <<_ACEOF
10770 +#line $LINENO "configure"
10771 +#include "confdefs.h"
10772 +$ac_includes_default
10773 +#include <$ac_header>
10775 +rm -f conftest.$ac_objext
10776 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10777 + (eval $ac_compile) 2>&5
10779 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 + (exit $ac_status); } &&
10781 + { ac_try='test -s conftest.$ac_objext'
10782 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10783 + (eval $ac_try) 2>&5
10785 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 + (exit $ac_status); }; }; then
10787 + ac_header_compiler=yes
10789 + echo "$as_me: failed program was:" >&5
10790 +cat conftest.$ac_ext >&5
10791 +ac_header_compiler=no
10793 +rm -f conftest.$ac_objext conftest.$ac_ext
10794 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10795 +echo "${ECHO_T}$ac_header_compiler" >&6
10797 +# Is the header present?
10798 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
10799 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10800 +cat >conftest.$ac_ext <<_ACEOF
10801 +#line $LINENO "configure"
10802 +#include "confdefs.h"
10803 +#include <$ac_header>
10805 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10806 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10808 + egrep -v '^ *\+' conftest.er1 >conftest.err
10809 + rm -f conftest.er1
10810 + cat conftest.err >&5
10811 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 + (exit $ac_status); } >/dev/null; then
10813 + if test -s conftest.err; then
10814 + ac_cpp_err=$ac_c_preproc_warn_flag
10819 - cat > conftest.$ac_ext <<EOF
10820 -#line 1438 "configure"
10821 -#include "confdefs.h"
10822 -#include <$ac_hdr>
10824 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10825 -{ (eval echo configure:1443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10826 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10827 -if test -z "$ac_err"; then
10829 - eval "ac_cv_header_$ac_safe=yes"
10832 +if test -z "$ac_cpp_err"; then
10833 + ac_header_preproc=yes
10835 - echo "$ac_err" >&5
10836 - echo "configure: failed program was:" >&5
10837 + echo "$as_me: failed program was:" >&5
10838 cat conftest.$ac_ext >&5
10840 - eval "ac_cv_header_$ac_safe=no"
10843 + ac_header_preproc=no
10845 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10846 - echo "$ac_t""yes" 1>&6
10847 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10848 - cat >> confdefs.h <<EOF
10849 -#define $ac_tr_hdr 1
10852 +rm -f conftest.err conftest.$ac_ext
10853 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10854 +echo "${ECHO_T}$ac_header_preproc" >&6
10856 +# So? What about this header?
10857 +case $ac_header_compiler:$ac_header_preproc in
10859 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10860 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10861 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10862 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10864 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10865 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10866 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10867 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10868 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10869 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10871 +echo "$as_me:$LINENO: checking for $ac_header" >&5
10872 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10873 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
10874 + echo $ECHO_N "(cached) $ECHO_C" >&6
10876 - echo "$ac_t""no" 1>&6
10877 + eval "$as_ac_Header=$ac_header_preproc"
10880 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10881 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10884 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
10885 + cat >>confdefs.h <<_ACEOF
10886 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10894 if test "x$U" != "x"; then
10895 - { echo "configure: error: Compiler not ANSI compliant" 1>&2; exit 1; }
10896 + { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
10897 +echo "$as_me: error: Compiler not ANSI compliant" >&2;}
10898 + { (exit 1); exit 1; }; }
10900 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
10901 -echo "configure:1475: checking how to run the C preprocessor" >&5
10903 +ac_cpp='$CPP $CPPFLAGS'
10904 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10905 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10906 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
10907 +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10908 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10909 # On Suns, sometimes $CPP names a directory.
10910 if test -n "$CPP" && test -d "$CPP"; then
10913 if test -z "$CPP"; then
10914 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
10915 - echo $ac_n "(cached) $ac_c" 1>&6
10916 + if test "${ac_cv_prog_CPP+set}" = set; then
10917 + echo $ECHO_N "(cached) $ECHO_C" >&6
10919 - # This must be in double quotes, not single quotes, because CPP may get
10920 - # substituted into the Makefile and "${CC-cc}" will confuse make.
10921 - CPP="${CC-cc} -E"
10922 + # Double quotes because CPP needs to be expanded
10923 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10925 + ac_preproc_ok=false
10926 +for ac_c_preproc_warn_flag in '' yes
10928 + # Use a header file that comes with gcc, so configuring glibc
10929 + # with a fresh cross-compiler works.
10930 # On the NeXT, cc -E runs the code through the compiler's parser,
10931 - # not just through cpp.
10932 - cat > conftest.$ac_ext <<EOF
10933 -#line 1490 "configure"
10934 + # not just through cpp. "Syntax error" is here to catch this case.
10935 + cat >conftest.$ac_ext <<_ACEOF
10936 +#line $LINENO "configure"
10937 #include "confdefs.h"
10938 #include <assert.h>
10941 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10942 -{ (eval echo configure:1496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10943 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10944 -if test -z "$ac_err"; then
10947 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10948 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10950 + egrep -v '^ *\+' conftest.er1 >conftest.err
10951 + rm -f conftest.er1
10952 + cat conftest.err >&5
10953 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 + (exit $ac_status); } >/dev/null; then
10955 + if test -s conftest.err; then
10956 + ac_cpp_err=$ac_c_preproc_warn_flag
10963 +if test -z "$ac_cpp_err"; then
10966 - echo "$ac_err" >&5
10967 - echo "configure: failed program was:" >&5
10968 + echo "$as_me: failed program was:" >&5
10969 cat conftest.$ac_ext >&5
10971 - CPP="${CC-cc} -E -traditional-cpp"
10972 - cat > conftest.$ac_ext <<EOF
10973 -#line 1507 "configure"
10974 -#include "confdefs.h"
10975 -#include <assert.h>
10978 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10979 -{ (eval echo configure:1513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10980 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10981 -if test -z "$ac_err"; then
10983 + # Broken: fails on valid input.
10986 +rm -f conftest.err conftest.$ac_ext
10988 + # OK, works on sane cases. Now check whether non-existent headers
10989 + # can be detected and how.
10990 + cat >conftest.$ac_ext <<_ACEOF
10991 +#line $LINENO "configure"
10992 +#include "confdefs.h"
10993 +#include <ac_nonexistent.h>
10995 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10996 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10998 + egrep -v '^ *\+' conftest.er1 >conftest.err
10999 + rm -f conftest.er1
11000 + cat conftest.err >&5
11001 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 + (exit $ac_status); } >/dev/null; then
11003 + if test -s conftest.err; then
11004 + ac_cpp_err=$ac_c_preproc_warn_flag
11011 +if test -z "$ac_cpp_err"; then
11012 + # Broken: success on invalid input.
11015 - echo "$ac_err" >&5
11016 - echo "configure: failed program was:" >&5
11017 + echo "$as_me: failed program was:" >&5
11018 cat conftest.$ac_ext >&5
11020 - CPP="${CC-cc} -nologo -E"
11021 - cat > conftest.$ac_ext <<EOF
11022 -#line 1524 "configure"
11023 + # Passes both tests.
11027 +rm -f conftest.err conftest.$ac_ext
11030 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11031 +rm -f conftest.err conftest.$ac_ext
11032 +if $ac_preproc_ok; then
11037 + ac_cv_prog_CPP=$CPP
11040 + CPP=$ac_cv_prog_CPP
11042 + ac_cv_prog_CPP=$CPP
11044 +echo "$as_me:$LINENO: result: $CPP" >&5
11045 +echo "${ECHO_T}$CPP" >&6
11046 +ac_preproc_ok=false
11047 +for ac_c_preproc_warn_flag in '' yes
11049 + # Use a header file that comes with gcc, so configuring glibc
11050 + # with a fresh cross-compiler works.
11051 + # On the NeXT, cc -E runs the code through the compiler's parser,
11052 + # not just through cpp. "Syntax error" is here to catch this case.
11053 + cat >conftest.$ac_ext <<_ACEOF
11054 +#line $LINENO "configure"
11055 #include "confdefs.h"
11056 #include <assert.h>
11059 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11060 -{ (eval echo configure:1530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11061 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11062 -if test -z "$ac_err"; then
11065 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11066 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11068 + egrep -v '^ *\+' conftest.er1 >conftest.err
11069 + rm -f conftest.er1
11070 + cat conftest.err >&5
11071 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 + (exit $ac_status); } >/dev/null; then
11073 + if test -s conftest.err; then
11074 + ac_cpp_err=$ac_c_preproc_warn_flag
11081 +if test -z "$ac_cpp_err"; then
11084 - echo "$ac_err" >&5
11085 - echo "configure: failed program was:" >&5
11086 + echo "$as_me: failed program was:" >&5
11087 cat conftest.$ac_ext >&5
11092 + # Broken: fails on valid input.
11096 +rm -f conftest.err conftest.$ac_ext
11098 + # OK, works on sane cases. Now check whether non-existent headers
11099 + # can be detected and how.
11100 + cat >conftest.$ac_ext <<_ACEOF
11101 +#line $LINENO "configure"
11102 +#include "confdefs.h"
11103 +#include <ac_nonexistent.h>
11105 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11106 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11108 + egrep -v '^ *\+' conftest.er1 >conftest.err
11109 + rm -f conftest.er1
11110 + cat conftest.err >&5
11111 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 + (exit $ac_status); } >/dev/null; then
11113 + if test -s conftest.err; then
11114 + ac_cpp_err=$ac_c_preproc_warn_flag
11122 - ac_cv_prog_CPP="$CPP"
11123 +if test -z "$ac_cpp_err"; then
11124 + # Broken: success on invalid input.
11127 + echo "$as_me: failed program was:" >&5
11128 + cat conftest.$ac_ext >&5
11129 + # Passes both tests.
11133 - CPP="$ac_cv_prog_CPP"
11134 +rm -f conftest.err conftest.$ac_ext
11137 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11138 +rm -f conftest.err conftest.$ac_ext
11139 +if $ac_preproc_ok; then
11142 - ac_cv_prog_CPP="$CPP"
11143 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
11144 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
11145 + { (exit 1); exit 1; }; }
11147 -echo "$ac_t""$CPP" 1>&6
11149 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11150 -echo "configure:1555: checking whether ${MAKE-make} sets \${MAKE}" >&5
11151 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
11152 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11153 - echo $ac_n "(cached) $ac_c" 1>&6
11155 +ac_cpp='$CPP $CPPFLAGS'
11156 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11157 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11158 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
11160 +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
11161 +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
11162 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
11163 +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
11164 + echo $ECHO_N "(cached) $ECHO_C" >&6
11166 - cat > conftestmake <<\EOF
11167 + cat >conftest.make <<\_ACEOF
11169 @echo 'ac_maketemp="${MAKE}"'
11172 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11173 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11174 +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
11175 if test -n "$ac_maketemp"; then
11176 eval ac_cv_prog_make_${ac_make}_set=yes
11178 eval ac_cv_prog_make_${ac_make}_set=no
11180 -rm -f conftestmake
11181 +rm -f conftest.make
11183 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11184 - echo "$ac_t""yes" 1>&6
11185 + echo "$as_me:$LINENO: result: yes" >&5
11186 +echo "${ECHO_T}yes" >&6
11189 - echo "$ac_t""no" 1>&6
11190 + echo "$as_me:$LINENO: result: no" >&5
11191 +echo "${ECHO_T}no" >&6
11192 SET_MAKE="MAKE=${MAKE-make}"
11195 @@ -1586,407 +3641,508 @@
11196 # SunOS /usr/etc/install
11197 # IRIX /sbin/install
11199 +# AmigaOS /C/install, which installs bootblocks on floppy discs
11200 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11201 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11202 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11203 # ./install, which can be erroneously created by make from ./install.sh.
11204 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
11205 -echo "configure:1593: checking for a BSD compatible install" >&5
11206 +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11207 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11208 if test -z "$INSTALL"; then
11209 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
11210 - echo $ac_n "(cached) $ac_c" 1>&6
11211 +if test "${ac_cv_path_install+set}" = set; then
11212 + echo $ECHO_N "(cached) $ECHO_C" >&6
11214 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
11215 - for ac_dir in $PATH; do
11216 - # Account for people who put trailing slashes in PATH elements.
11217 - case "$ac_dir/" in
11218 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
11220 - # OSF1 and SCO ODT 3.0 have their own names for install.
11221 - # Don't use installbsd from OSF since it installs stuff as root
11223 - for ac_prog in ginstall scoinst install; do
11224 - if test -f $ac_dir/$ac_prog; then
11225 - if test $ac_prog = install &&
11226 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
11227 - # AIX install. It has an incompatible calling convention.
11230 - ac_cv_path_install="$ac_dir/$ac_prog -c"
11234 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11235 +for as_dir in $PATH
11238 + test -z "$as_dir" && as_dir=.
11239 + # Account for people who put trailing slashes in PATH elements.
11241 + ./ | .// | /cC/* | \
11242 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11245 + # OSF1 and SCO ODT 3.0 have their own names for install.
11246 + # Don't use installbsd from OSF since it installs stuff as root
11248 + for ac_prog in ginstall scoinst install; do
11249 + for ac_exec_ext in '' $ac_executable_extensions; do
11250 + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11251 + if test $ac_prog = install &&
11252 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11253 + # AIX install. It has an incompatible calling convention.
11255 + elif test $ac_prog = install &&
11256 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11257 + # program-specific install script used by HP pwplus--don't use.
11260 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11268 - IFS="$ac_save_IFS"
11276 if test "${ac_cv_path_install+set}" = set; then
11277 - INSTALL="$ac_cv_path_install"
11278 + INSTALL=$ac_cv_path_install
11280 # As a last resort, use the slow shell script. We don't cache a
11281 # path for INSTALL within a source directory, because that will
11282 # break other packages using the cache if that directory is
11283 # removed, or if the path is relative.
11284 - INSTALL="$ac_install_sh"
11285 + INSTALL=$ac_install_sh
11288 -echo "$ac_t""$INSTALL" 1>&6
11289 +echo "$as_me:$LINENO: result: $INSTALL" >&5
11290 +echo "${ECHO_T}$INSTALL" >&6
11292 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11293 # It thinks the first close brace ends the variable substitution.
11294 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11296 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
11297 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11299 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11301 -# Extract the first word of "ranlib", so it can be a program name with args.
11302 -set dummy ranlib; ac_word=$2
11303 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11304 -echo "configure:1648: checking for $ac_word" >&5
11305 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
11306 - echo $ac_n "(cached) $ac_c" 1>&6
11307 +if test -n "$ac_tool_prefix"; then
11308 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11309 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11310 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11311 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11312 +if test "${ac_cv_prog_RANLIB+set}" = set; then
11313 + echo $ECHO_N "(cached) $ECHO_C" >&6
11315 if test -n "$RANLIB"; then
11316 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11318 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11320 - for ac_dir in $ac_dummy; do
11321 - test -z "$ac_dir" && ac_dir=.
11322 - if test -f $ac_dir/$ac_word; then
11323 - ac_cv_prog_RANLIB="ranlib"
11327 - IFS="$ac_save_ifs"
11328 - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
11329 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11330 +for as_dir in $PATH
11333 + test -z "$as_dir" && as_dir=.
11334 + for ac_exec_ext in '' $ac_executable_extensions; do
11335 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11336 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11337 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11345 -RANLIB="$ac_cv_prog_RANLIB"
11346 +RANLIB=$ac_cv_prog_RANLIB
11347 if test -n "$RANLIB"; then
11348 - echo "$ac_t""$RANLIB" 1>&6
11349 + echo "$as_me:$LINENO: result: $RANLIB" >&5
11350 +echo "${ECHO_T}$RANLIB" >&6
11352 - echo "$ac_t""no" 1>&6
11353 + echo "$as_me:$LINENO: result: no" >&5
11354 +echo "${ECHO_T}no" >&6
11357 -echo $ac_n "checking build system type""... $ac_c" 1>&6
11358 -echo "configure:1676: checking build system type" >&5
11360 -build_alias=$build
11361 -case "$build_alias" in
11364 - NONE) build_alias=$host_alias ;;
11365 - *) build_alias=$nonopt ;;
11369 +if test -z "$ac_cv_prog_RANLIB"; then
11370 + ac_ct_RANLIB=$RANLIB
11371 + # Extract the first word of "ranlib", so it can be a program name with args.
11372 +set dummy ranlib; ac_word=$2
11373 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11374 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11375 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11376 + echo $ECHO_N "(cached) $ECHO_C" >&6
11378 + if test -n "$ac_ct_RANLIB"; then
11379 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11381 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11382 +for as_dir in $PATH
11385 + test -z "$as_dir" && as_dir=.
11386 + for ac_exec_ext in '' $ac_executable_extensions; do
11387 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11388 + ac_cv_prog_ac_ct_RANLIB="ranlib"
11389 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11395 -build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
11396 -build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
11397 -build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
11398 -build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
11399 -echo "$ac_t""$build" 1>&6
11400 + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11403 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11404 +if test -n "$ac_ct_RANLIB"; then
11405 + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11406 +echo "${ECHO_T}$ac_ct_RANLIB" >&6
11408 + echo "$as_me:$LINENO: result: no" >&5
11409 +echo "${ECHO_T}no" >&6
11412 -if test $host != $build; then
11413 - ac_tool_prefix=${host_alias}-
11414 + RANLIB=$ac_ct_RANLIB
11417 + RANLIB="$ac_cv_prog_RANLIB"
11420 -# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11421 +if test -n "$ac_tool_prefix"; then
11422 + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11423 set dummy ${ac_tool_prefix}ar; ac_word=$2
11424 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11425 -echo "configure:1702: checking for $ac_word" >&5
11426 -if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
11427 - echo $ac_n "(cached) $ac_c" 1>&6
11428 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11429 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11430 +if test "${ac_cv_prog_AR+set}" = set; then
11431 + echo $ECHO_N "(cached) $ECHO_C" >&6
11433 if test -n "$AR"; then
11434 ac_cv_prog_AR="$AR" # Let the user override the test.
11436 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11438 - for ac_dir in $ac_dummy; do
11439 - test -z "$ac_dir" && ac_dir=.
11440 - if test -f $ac_dir/$ac_word; then
11441 - ac_cv_prog_AR="${ac_tool_prefix}ar"
11445 - IFS="$ac_save_ifs"
11446 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11447 +for as_dir in $PATH
11450 + test -z "$as_dir" && as_dir=.
11451 + for ac_exec_ext in '' $ac_executable_extensions; do
11452 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11453 + ac_cv_prog_AR="${ac_tool_prefix}ar"
11454 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11462 -AR="$ac_cv_prog_AR"
11464 if test -n "$AR"; then
11465 - echo "$ac_t""$AR" 1>&6
11466 + echo "$as_me:$LINENO: result: $AR" >&5
11467 +echo "${ECHO_T}$AR" >&6
11469 - echo "$ac_t""no" 1>&6
11470 + echo "$as_me:$LINENO: result: no" >&5
11471 +echo "${ECHO_T}no" >&6
11476 if test -z "$ac_cv_prog_AR"; then
11477 -if test -n "$ac_tool_prefix"; then
11479 # Extract the first word of "ar", so it can be a program name with args.
11480 set dummy ar; ac_word=$2
11481 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11482 -echo "configure:1734: checking for $ac_word" >&5
11483 -if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
11484 - echo $ac_n "(cached) $ac_c" 1>&6
11485 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11486 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11487 +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
11488 + echo $ECHO_N "(cached) $ECHO_C" >&6
11490 - if test -n "$AR"; then
11491 - ac_cv_prog_AR="$AR" # Let the user override the test.
11492 + if test -n "$ac_ct_AR"; then
11493 + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11495 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11497 - for ac_dir in $ac_dummy; do
11498 - test -z "$ac_dir" && ac_dir=.
11499 - if test -f $ac_dir/$ac_word; then
11500 - ac_cv_prog_AR="ar"
11504 - IFS="$ac_save_ifs"
11505 - test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11506 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11507 +for as_dir in $PATH
11510 + test -z "$as_dir" && as_dir=.
11511 + for ac_exec_ext in '' $ac_executable_extensions; do
11512 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11513 + ac_cv_prog_ac_ct_AR="ar"
11514 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11520 + test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
11523 -AR="$ac_cv_prog_AR"
11524 -if test -n "$AR"; then
11525 - echo "$ac_t""$AR" 1>&6
11526 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
11527 +if test -n "$ac_ct_AR"; then
11528 + echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
11529 +echo "${ECHO_T}$ac_ct_AR" >&6
11531 - echo "$ac_t""no" 1>&6
11532 + echo "$as_me:$LINENO: result: no" >&5
11533 +echo "${ECHO_T}no" >&6
11540 + AR="$ac_cv_prog_AR"
11544 -echo $ac_n "checking for inline""... $ac_c" 1>&6
11545 -echo "configure:1768: checking for inline" >&5
11546 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11547 - echo $ac_n "(cached) $ac_c" 1>&6
11548 +echo "$as_me:$LINENO: checking for inline" >&5
11549 +echo $ECHO_N "checking for inline... $ECHO_C" >&6
11550 +if test "${ac_cv_c_inline+set}" = set; then
11551 + echo $ECHO_N "(cached) $ECHO_C" >&6
11554 for ac_kw in inline __inline__ __inline; do
11555 - cat > conftest.$ac_ext <<EOF
11556 -#line 1775 "configure"
11557 + cat >conftest.$ac_ext <<_ACEOF
11558 +#line $LINENO "configure"
11559 #include "confdefs.h"
11565 -if { (eval echo configure:1782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11567 +#ifndef __cplusplus
11568 +typedef int foo_t;
11569 +static $ac_kw foo_t static_foo () {return 0; }
11570 +$ac_kw foo_t foo () {return 0; }
11574 +rm -f conftest.$ac_objext
11575 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11576 + (eval $ac_compile) 2>&5
11578 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 + (exit $ac_status); } &&
11580 + { ac_try='test -s conftest.$ac_objext'
11581 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 + (eval $ac_try) 2>&5
11584 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 + (exit $ac_status); }; }; then
11586 ac_cv_c_inline=$ac_kw; break
11588 - echo "configure: failed program was:" >&5
11589 - cat conftest.$ac_ext >&5
11590 + echo "$as_me: failed program was:" >&5
11591 +cat conftest.$ac_ext >&5
11594 +rm -f conftest.$ac_objext conftest.$ac_ext
11599 -echo "$ac_t""$ac_cv_c_inline" 1>&6
11600 -case "$ac_cv_c_inline" in
11601 +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
11602 +echo "${ECHO_T}$ac_cv_c_inline" >&6
11603 +case $ac_cv_c_inline in
11605 - no) cat >> confdefs.h <<\EOF
11609 +cat >>confdefs.h <<\_ACEOF
11613 - *) cat >> confdefs.h <<EOF
11614 + *) cat >>confdefs.h <<_ACEOF
11615 #define inline $ac_cv_c_inline
11621 -echo $ac_n "checking for working const""... $ac_c" 1>&6
11622 -echo "configure:1808: checking for working const" >&5
11623 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11624 - echo $ac_n "(cached) $ac_c" 1>&6
11626 - cat > conftest.$ac_ext <<EOF
11627 -#line 1813 "configure"
11628 -#include "confdefs.h"
11632 -/* Ultrix mips cc rejects this. */
11633 -typedef int charset[2]; const charset x;
11634 -/* SunOS 4.1.1 cc rejects this. */
11635 -char const *const *ccp;
11637 -/* NEC SVR4.0.2 mips cc rejects this. */
11638 -struct point {int x, y;};
11639 -static struct point const zero = {0,0};
11640 -/* AIX XL C 1.02.0.0 rejects this.
11641 - It does not let you subtract one const X* pointer from another in an arm
11642 - of an if-expression whose if-part is not a constant expression */
11643 -const char *g = "string";
11644 -ccp = &g + (g ? g-g : 0);
11645 -/* HPUX 7.0 cc rejects these. */
11648 -ccp = (char const *const *) p;
11649 -{ /* SCO 3.2v4 cc rejects this. */
11651 - char const *s = 0 ? (char *) 0 : (char const *) 0;
11655 -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11656 - int x[] = {25, 17};
11657 - const int *foo = &x[0];
11660 -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11661 - typedef const int *iptr;
11665 -{ /* AIX XL C 1.02.0.0 rejects this saying
11666 - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11667 - struct s { int j; const int *ap[3]; };
11668 - struct s *b; b->j = 5;
11670 -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11671 - const int foo = 10;
11676 -if { (eval echo configure:1862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11678 +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11679 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
11680 +if test "${ac_cv_c_const+set}" = set; then
11681 + echo $ECHO_N "(cached) $ECHO_C" >&6
11683 + cat >conftest.$ac_ext <<_ACEOF
11684 +#line $LINENO "configure"
11685 +#include "confdefs.h"
11687 +#ifdef F77_DUMMY_MAIN
11688 +# ifdef __cplusplus
11691 + int F77_DUMMY_MAIN() { return 1; }
11696 +/* FIXME: Include the comments suggested by Paul. */
11697 +#ifndef __cplusplus
11698 + /* Ultrix mips cc rejects this. */
11699 + typedef int charset[2];
11701 + /* SunOS 4.1.1 cc rejects this. */
11702 + char const *const *ccp;
11704 + /* NEC SVR4.0.2 mips cc rejects this. */
11705 + struct point {int x, y;};
11706 + static struct point const zero = {0,0};
11707 + /* AIX XL C 1.02.0.0 rejects this.
11708 + It does not let you subtract one const X* pointer from another in
11709 + an arm of an if-expression whose if-part is not a constant
11711 + const char *g = "string";
11712 + ccp = &g + (g ? g-g : 0);
11713 + /* HPUX 7.0 cc rejects these. */
11715 + p = (char**) ccp;
11716 + ccp = (char const *const *) p;
11717 + { /* SCO 3.2v4 cc rejects this. */
11719 + char const *s = 0 ? (char *) 0 : (char const *) 0;
11723 + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11724 + int x[] = {25, 17};
11725 + const int *foo = &x[0];
11728 + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11729 + typedef const int *iptr;
11733 + { /* AIX XL C 1.02.0.0 rejects this saying
11734 + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11735 + struct s { int j; const int *ap[3]; };
11736 + struct s *b; b->j = 5;
11738 + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11739 + const int foo = 10;
11747 +rm -f conftest.$ac_objext
11748 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11749 + (eval $ac_compile) 2>&5
11751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 + (exit $ac_status); } &&
11753 + { ac_try='test -s conftest.$ac_objext'
11754 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 + (eval $ac_try) 2>&5
11757 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 + (exit $ac_status); }; }; then
11761 - echo "configure: failed program was:" >&5
11762 - cat conftest.$ac_ext >&5
11765 + echo "$as_me: failed program was:" >&5
11766 +cat conftest.$ac_ext >&5
11770 +rm -f conftest.$ac_objext conftest.$ac_ext
11773 -echo "$ac_t""$ac_cv_c_const" 1>&6
11774 +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11775 +echo "${ECHO_T}$ac_cv_c_const" >&6
11776 if test $ac_cv_c_const = no; then
11777 - cat >> confdefs.h <<\EOF
11781 +cat >>confdefs.h <<\_ACEOF
11788 # Extract the first word of "dbx", so it can be a program name with args.
11789 set dummy dbx; ac_word=$2
11790 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11791 -echo "configure:1886: checking for $ac_word" >&5
11792 -if eval "test \"`echo '$''{'ac_cv_path_DBX'+set}'`\" = set"; then
11793 - echo $ac_n "(cached) $ac_c" 1>&6
11794 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11795 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11796 +if test "${ac_cv_path_DBX+set}" = set; then
11797 + echo $ECHO_N "(cached) $ECHO_C" >&6
11802 + [\\/]* | ?:[\\/]*)
11803 ac_cv_path_DBX="$DBX" # Let the user override the test with a path.
11806 - ac_cv_path_DBX="$DBX" # Let the user override the test with a dos path.
11809 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11811 - for ac_dir in $ac_dummy; do
11812 - test -z "$ac_dir" && ac_dir=.
11813 - if test -f $ac_dir/$ac_word; then
11814 - ac_cv_path_DBX="$ac_dir/$ac_word"
11818 - IFS="$ac_save_ifs"
11819 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11820 +for as_dir in $PATH
11823 + test -z "$as_dir" && as_dir=.
11824 + for ac_exec_ext in '' $ac_executable_extensions; do
11825 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11826 + ac_cv_path_DBX="$as_dir/$ac_word$ac_exec_ext"
11827 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11833 test -z "$ac_cv_path_DBX" && ac_cv_path_DBX="no"
11837 -DBX="$ac_cv_path_DBX"
11838 +DBX=$ac_cv_path_DBX
11840 if test -n "$DBX"; then
11841 - echo "$ac_t""$DBX" 1>&6
11842 + echo "$as_me:$LINENO: result: $DBX" >&5
11843 +echo "${ECHO_T}$DBX" >&6
11845 - echo "$ac_t""no" 1>&6
11846 + echo "$as_me:$LINENO: result: no" >&5
11847 +echo "${ECHO_T}no" >&6
11850 # Extract the first word of "gdb", so it can be a program name with args.
11851 set dummy gdb; ac_word=$2
11852 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11853 -echo "configure:1922: checking for $ac_word" >&5
11854 -if eval "test \"`echo '$''{'ac_cv_path_GDB'+set}'`\" = set"; then
11855 - echo $ac_n "(cached) $ac_c" 1>&6
11856 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11857 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11858 +if test "${ac_cv_path_GDB+set}" = set; then
11859 + echo $ECHO_N "(cached) $ECHO_C" >&6
11864 + [\\/]* | ?:[\\/]*)
11865 ac_cv_path_GDB="$GDB" # Let the user override the test with a path.
11868 - ac_cv_path_GDB="$GDB" # Let the user override the test with a dos path.
11871 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11873 - for ac_dir in $ac_dummy; do
11874 - test -z "$ac_dir" && ac_dir=.
11875 - if test -f $ac_dir/$ac_word; then
11876 - ac_cv_path_GDB="$ac_dir/$ac_word"
11880 - IFS="$ac_save_ifs"
11881 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11882 +for as_dir in $PATH
11885 + test -z "$as_dir" && as_dir=.
11886 + for ac_exec_ext in '' $ac_executable_extensions; do
11887 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11888 + ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext"
11889 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11895 test -z "$ac_cv_path_GDB" && ac_cv_path_GDB="no"
11899 -GDB="$ac_cv_path_GDB"
11900 +GDB=$ac_cv_path_GDB
11902 if test -n "$GDB"; then
11903 - echo "$ac_t""$GDB" 1>&6
11904 + echo "$as_me:$LINENO: result: $GDB" >&5
11905 +echo "${ECHO_T}$GDB" >&6
11907 - echo "$ac_t""no" 1>&6
11908 + echo "$as_me:$LINENO: result: no" >&5
11909 +echo "${ECHO_T}no" >&6
11912 # Extract the first word of "sdb", so it can be a program name with args.
11913 set dummy sdb; ac_word=$2
11914 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11915 -echo "configure:1958: checking for $ac_word" >&5
11916 -if eval "test \"`echo '$''{'ac_cv_path_SDB'+set}'`\" = set"; then
11917 - echo $ac_n "(cached) $ac_c" 1>&6
11918 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11919 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11920 +if test "${ac_cv_path_SDB+set}" = set; then
11921 + echo $ECHO_N "(cached) $ECHO_C" >&6
11926 + [\\/]* | ?:[\\/]*)
11927 ac_cv_path_SDB="$SDB" # Let the user override the test with a path.
11930 - ac_cv_path_SDB="$SDB" # Let the user override the test with a dos path.
11933 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11935 - for ac_dir in $ac_dummy; do
11936 - test -z "$ac_dir" && ac_dir=.
11937 - if test -f $ac_dir/$ac_word; then
11938 - ac_cv_path_SDB="$ac_dir/$ac_word"
11942 - IFS="$ac_save_ifs"
11943 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11944 +for as_dir in $PATH
11947 + test -z "$as_dir" && as_dir=.
11948 + for ac_exec_ext in '' $ac_executable_extensions; do
11949 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11950 + ac_cv_path_SDB="$as_dir/$ac_word$ac_exec_ext"
11951 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11957 test -z "$ac_cv_path_SDB" && ac_cv_path_SDB="no"
11961 -SDB="$ac_cv_path_SDB"
11962 +SDB=$ac_cv_path_SDB
11964 if test -n "$SDB"; then
11965 - echo "$ac_t""$SDB" 1>&6
11966 + echo "$as_me:$LINENO: result: $SDB" >&5
11967 +echo "${ECHO_T}$SDB" >&6
11969 - echo "$ac_t""no" 1>&6
11970 + echo "$as_me:$LINENO: result: no" >&5
11971 +echo "${ECHO_T}no" >&6
11975 @@ -2005,43 +4161,49 @@
11976 ac_aux_path_sendmail=/usr/sbin:/usr/lib
11977 # Extract the first word of "sendmail", so it can be a program name with args.
11978 set dummy sendmail; ac_word=$2
11979 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11980 -echo "configure:2008: checking for $ac_word" >&5
11981 -if eval "test \"`echo '$''{'ac_cv_path_SENDMAIL'+set}'`\" = set"; then
11982 - echo $ac_n "(cached) $ac_c" 1>&6
11983 +echo "$as_me:$LINENO: checking for $ac_word" >&5
11984 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11985 +if test "${ac_cv_path_SENDMAIL+set}" = set; then
11986 + echo $ECHO_N "(cached) $ECHO_C" >&6
11988 - case "$SENDMAIL" in
11990 + case $SENDMAIL in
11991 + [\\/]* | ?:[\\/]*)
11992 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
11995 - ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a dos path.
11998 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
11999 - ac_dummy="$PATH:$ac_aux_path_sendmail"
12000 - for ac_dir in $ac_dummy; do
12001 - test -z "$ac_dir" && ac_dir=.
12002 - if test -f $ac_dir/$ac_word; then
12003 - ac_cv_path_SENDMAIL="$ac_dir/$ac_word"
12007 - IFS="$ac_save_ifs"
12008 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12009 +as_dummy="$PATH:$ac_aux_path_sendmail"
12010 +for as_dir in $as_dummy
12013 + test -z "$as_dir" && as_dir=.
12014 + for ac_exec_ext in '' $ac_executable_extensions; do
12015 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12016 + ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
12017 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12023 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL="/usr/sbin/sendmail"
12027 -SENDMAIL="$ac_cv_path_SENDMAIL"
12028 +SENDMAIL=$ac_cv_path_SENDMAIL
12030 if test -n "$SENDMAIL"; then
12031 - echo "$ac_t""$SENDMAIL" 1>&6
12032 + echo "$as_me:$LINENO: result: $SENDMAIL" >&5
12033 +echo "${ECHO_T}$SENDMAIL" >&6
12035 - echo "$ac_t""no" 1>&6
12036 + echo "$as_me:$LINENO: result: no" >&5
12037 +echo "${ECHO_T}no" >&6
12040 -cat >> confdefs.h <<EOF
12042 +cat >>confdefs.h <<_ACEOF
12043 #define SENDMAIL "$ac_cv_path_SENDMAIL"
12048 OPS='$(srcdir)/OPS'
12049 @@ -2056,21 +4218,22 @@
12050 if test x$enableval = xno ; then
12058 if test x$have_pgp != xno ; then
12059 - cat >> confdefs.h <<\EOF
12061 +cat >>confdefs.h <<\_ACEOF
12066 PGPAUX_TARGET="pgpring pgpewrap"
12067 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o"
12068 OPS="$OPS \$(srcdir)/OPS.PGP"
12071 - # Check whether --with-mixmaster or --without-mixmaster was given.
12073 +# Check whether --with-mixmaster or --without-mixmaster was given.
12074 if test "${with_mixmaster+set}" = set; then
12075 withval="$with_mixmaster"
12076 if test -x "$withval" ; then
12077 @@ -2080,81 +4243,88 @@
12079 OPS="$OPS \$(srcdir)/OPS.MIX"
12080 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS remailer.o"
12081 - cat >> confdefs.h <<EOF
12083 +cat >>confdefs.h <<_ACEOF
12084 #define MIXMASTER "$MIXMASTER"
12098 -cat >> confdefs.h <<EOF
12100 +cat >>confdefs.h <<_ACEOF
12101 #define SUBVERSION "$SUBVERSION"
12107 # Extract the first word of "ispell", so it can be a program name with args.
12108 set dummy ispell; ac_word=$2
12109 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12110 -echo "configure:2104: checking for $ac_word" >&5
12111 -if eval "test \"`echo '$''{'ac_cv_path_ISPELL'+set}'`\" = set"; then
12112 - echo $ac_n "(cached) $ac_c" 1>&6
12113 +echo "$as_me:$LINENO: checking for $ac_word" >&5
12114 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12115 +if test "${ac_cv_path_ISPELL+set}" = set; then
12116 + echo $ECHO_N "(cached) $ECHO_C" >&6
12118 - case "$ISPELL" in
12121 + [\\/]* | ?:[\\/]*)
12122 ac_cv_path_ISPELL="$ISPELL" # Let the user override the test with a path.
12125 - ac_cv_path_ISPELL="$ISPELL" # Let the user override the test with a dos path.
12128 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12130 - for ac_dir in $ac_dummy; do
12131 - test -z "$ac_dir" && ac_dir=.
12132 - if test -f $ac_dir/$ac_word; then
12133 - ac_cv_path_ISPELL="$ac_dir/$ac_word"
12137 - IFS="$ac_save_ifs"
12138 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12139 +for as_dir in $PATH
12142 + test -z "$as_dir" && as_dir=.
12143 + for ac_exec_ext in '' $ac_executable_extensions; do
12144 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12145 + ac_cv_path_ISPELL="$as_dir/$ac_word$ac_exec_ext"
12146 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12152 test -z "$ac_cv_path_ISPELL" && ac_cv_path_ISPELL="no"
12156 -ISPELL="$ac_cv_path_ISPELL"
12157 +ISPELL=$ac_cv_path_ISPELL
12159 if test -n "$ISPELL"; then
12160 - echo "$ac_t""$ISPELL" 1>&6
12161 + echo "$as_me:$LINENO: result: $ISPELL" >&5
12162 +echo "${ECHO_T}$ISPELL" >&6
12164 - echo "$ac_t""no" 1>&6
12165 + echo "$as_me:$LINENO: result: no" >&5
12166 +echo "${ECHO_T}no" >&6
12169 if test $ISPELL != no; then
12170 - cat >> confdefs.h <<EOF
12172 +cat >>confdefs.h <<_ACEOF
12173 #define ISPELL "$ISPELL"
12180 # Check whether --with-slang or --without-slang was given.
12181 if test "${with_slang+set}" = set; then
12182 withval="$with_slang"
12183 - echo $ac_n "checking if this is a BSD system""... $ac_c" 1>&6
12184 -echo "configure:2148: checking if this is a BSD system" >&5
12185 -if eval "test \"`echo '$''{'mutt_cv_bsdish'+set}'`\" = set"; then
12186 - echo $ac_n "(cached) $ac_c" 1>&6
12187 + echo "$as_me:$LINENO: checking if this is a BSD system" >&5
12188 +echo $ECHO_N "checking if this is a BSD system... $ECHO_C" >&6
12189 +if test "${mutt_cv_bsdish+set}" = set; then
12190 + echo $ECHO_N "(cached) $ECHO_C" >&6
12192 if test "$cross_compiling" = yes; then
12195 - cat > conftest.$ac_ext <<EOF
12196 -#line 2156 "configure"
12197 + cat >conftest.$ac_ext <<_ACEOF
12198 +#line $LINENO "configure"
12199 #include "confdefs.h"
12200 #include <sys/param.h>
12202 @@ -2166,25 +4336,34 @@
12207 -if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12210 +rm -f conftest$ac_exeext
12211 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12212 + (eval $ac_link) 2>&5
12214 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12216 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 + (eval $ac_try) 2>&5
12219 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 + (exit $ac_status); }; }; then
12223 - echo "configure: failed program was:" >&5
12224 - cat conftest.$ac_ext >&5
12226 - mutt_cv_bsdish=no
12227 + echo "$as_me: program exited with status $ac_status" >&5
12228 +echo "$as_me: failed program was:" >&5
12229 +cat conftest.$ac_ext >&5
12230 +( exit $ac_status )
12234 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12238 +echo "$as_me:$LINENO: result: $mutt_cv_bsdish" >&5
12239 +echo "${ECHO_T}$mutt_cv_bsdish" >&6
12241 -echo "$ac_t""$mutt_cv_bsdish" 1>&6
12243 - echo $ac_n "checking for S-Lang""... $ac_c" 1>&6
12244 -echo "configure:2186: checking for S-Lang" >&5
12245 + echo "$as_me:$LINENO: checking for S-Lang" >&5
12246 +echo $ECHO_N "checking for S-Lang... $ECHO_C" >&6
12247 if test $withval = yes; then
12248 if test -d $srcdir/../slang; then
12249 mutt_cv_slang=$srcdir/../slang/src
12250 @@ -2213,109 +4392,151 @@
12251 LDFLAGS="$LDFLAGS -L${withval}/lib"
12254 - echo "$ac_t""$mutt_cv_slang" 1>&6
12255 + echo "$as_me:$LINENO: result: $mutt_cv_slang" >&5
12256 +echo "${ECHO_T}$mutt_cv_slang" >&6
12257 if test $mutt_cv_bsdish = yes; then
12258 - echo $ac_n "checking for main in -ltermlib""... $ac_c" 1>&6
12259 -echo "configure:2218: checking for main in -ltermlib" >&5
12260 -ac_lib_var=`echo termlib'_'main | sed 'y%./+-%__p_%'`
12261 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12262 - echo $ac_n "(cached) $ac_c" 1>&6
12264 +echo "$as_me:$LINENO: checking for main in -ltermlib" >&5
12265 +echo $ECHO_N "checking for main in -ltermlib... $ECHO_C" >&6
12266 +if test "${ac_cv_lib_termlib_main+set}" = set; then
12267 + echo $ECHO_N "(cached) $ECHO_C" >&6
12269 - ac_save_LIBS="$LIBS"
12270 + ac_check_lib_save_LIBS=$LIBS
12271 LIBS="-ltermlib $LIBS"
12272 -cat > conftest.$ac_ext <<EOF
12273 -#line 2226 "configure"
12274 +cat >conftest.$ac_ext <<_ACEOF
12275 +#line $LINENO "configure"
12276 #include "confdefs.h"
12282 -if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12284 - eval "ac_cv_lib_$ac_lib_var=yes"
12286 - echo "configure: failed program was:" >&5
12287 - cat conftest.$ac_ext >&5
12289 - eval "ac_cv_lib_$ac_lib_var=no"
12292 -LIBS="$ac_save_LIBS"
12295 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12296 - echo "$ac_t""yes" 1>&6
12297 - ac_tr_lib=HAVE_LIB`echo termlib | sed -e 's/[^a-zA-Z0-9_]/_/g' \
12298 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
12299 - cat >> confdefs.h <<EOF
12300 -#define $ac_tr_lib 1
12302 +#ifdef F77_DUMMY_MAIN
12303 +# ifdef __cplusplus
12306 + int F77_DUMMY_MAIN() { return 1; }
12316 +rm -f conftest.$ac_objext conftest$ac_exeext
12317 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12318 + (eval $ac_link) 2>&5
12320 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 + (exit $ac_status); } &&
12322 + { ac_try='test -s conftest$ac_exeext'
12323 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 + (eval $ac_try) 2>&5
12326 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 + (exit $ac_status); }; }; then
12328 + ac_cv_lib_termlib_main=yes
12330 + echo "$as_me: failed program was:" >&5
12331 +cat conftest.$ac_ext >&5
12332 +ac_cv_lib_termlib_main=no
12334 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12335 +LIBS=$ac_check_lib_save_LIBS
12337 +echo "$as_me:$LINENO: result: $ac_cv_lib_termlib_main" >&5
12338 +echo "${ECHO_T}$ac_cv_lib_termlib_main" >&6
12339 +if test $ac_cv_lib_termlib_main = yes; then
12340 + cat >>confdefs.h <<_ACEOF
12341 +#define HAVE_LIBTERMLIB 1
12344 LIBS="-ltermlib $LIBS"
12347 - echo "$ac_t""no" 1>&6
12351 - cat >> confdefs.h <<\EOF
12353 +cat >>confdefs.h <<\_ACEOF
12354 #define USE_SLANG_CURSES 1
12358 - cat >> confdefs.h <<\EOF
12360 +cat >>confdefs.h <<\_ACEOF
12361 #define HAVE_COLOR 1
12365 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS resize.o"
12368 - echo $ac_n "checking for SLtt_get_terminfo in -lslang""... $ac_c" 1>&6
12369 -echo "configure:2273: checking for SLtt_get_terminfo in -lslang" >&5
12370 -ac_lib_var=`echo slang'_'SLtt_get_terminfo | sed 'y%./+-%__p_%'`
12371 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12372 - echo $ac_n "(cached) $ac_c" 1>&6
12374 + echo "$as_me:$LINENO: checking for SLtt_get_terminfo in -lslang" >&5
12375 +echo $ECHO_N "checking for SLtt_get_terminfo in -lslang... $ECHO_C" >&6
12376 +if test "${ac_cv_lib_slang_SLtt_get_terminfo+set}" = set; then
12377 + echo $ECHO_N "(cached) $ECHO_C" >&6
12379 - ac_save_LIBS="$LIBS"
12380 + ac_check_lib_save_LIBS=$LIBS
12381 LIBS="-lslang -lm $LIBS"
12382 -cat > conftest.$ac_ext <<EOF
12383 -#line 2281 "configure"
12384 +cat >conftest.$ac_ext <<_ACEOF
12385 +#line $LINENO "configure"
12386 #include "confdefs.h"
12388 /* Override any gcc2 internal prototype to avoid an error. */
12389 +#ifdef __cplusplus
12392 /* We use char because int might match the return type of a gcc2
12393 - builtin and then its argument prototype would still apply. */
12394 -char SLtt_get_terminfo();
12397 -SLtt_get_terminfo()
12400 -if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12402 - eval "ac_cv_lib_$ac_lib_var=yes"
12404 - echo "configure: failed program was:" >&5
12405 - cat conftest.$ac_ext >&5
12407 - eval "ac_cv_lib_$ac_lib_var=no"
12410 -LIBS="$ac_save_LIBS"
12413 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12414 - echo "$ac_t""yes" 1>&6
12415 + builtin and then its argument prototype would still apply. */
12416 +char SLtt_get_terminfo ();
12417 +#ifdef F77_DUMMY_MAIN
12418 +# ifdef __cplusplus
12421 + int F77_DUMMY_MAIN() { return 1; }
12426 +SLtt_get_terminfo ();
12431 +rm -f conftest.$ac_objext conftest$ac_exeext
12432 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12433 + (eval $ac_link) 2>&5
12435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 + (exit $ac_status); } &&
12437 + { ac_try='test -s conftest$ac_exeext'
12438 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 + (eval $ac_try) 2>&5
12441 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 + (exit $ac_status); }; }; then
12443 + ac_cv_lib_slang_SLtt_get_terminfo=yes
12445 + echo "$as_me: failed program was:" >&5
12446 +cat conftest.$ac_ext >&5
12447 +ac_cv_lib_slang_SLtt_get_terminfo=no
12449 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12450 +LIBS=$ac_check_lib_save_LIBS
12452 +echo "$as_me:$LINENO: result: $ac_cv_lib_slang_SLtt_get_terminfo" >&5
12453 +echo "${ECHO_T}$ac_cv_lib_slang_SLtt_get_terminfo" >&6
12454 +if test $ac_cv_lib_slang_SLtt_get_terminfo = yes; then
12455 MUTTLIBS="$MUTTLIBS -lslang -lm"
12457 - echo "$ac_t""no" 1>&6
12458 -{ echo "configure: error: unable to compile. check config.log" 1>&2; exit 1; }
12459 + { { echo "$as_me:$LINENO: error: unable to compile. check config.log" >&5
12460 +echo "$as_me: error: unable to compile. check config.log" >&2;}
12461 + { (exit 1); exit 1; }; }
12468 mutt_cv_curses=/usr
12469 - # Check whether --with-curses or --without-curses was given.
12471 +# Check whether --with-curses or --without-curses was given.
12472 if test "${with_curses+set}" = set; then
12473 withval="$with_curses"
12474 if test $withval != yes; then
12475 @@ -2325,403 +4546,691 @@
12476 LDFLAGS="-L${mutt_cv_curses}/lib $LDFLAGS"
12477 CPPFLAGS="$CPPFLAGS -I${mutt_cv_curses}/include"
12483 - echo $ac_n "checking for initscr""... $ac_c" 1>&6
12484 -echo "configure:2331: checking for initscr" >&5
12485 -if eval "test \"`echo '$''{'ac_cv_func_initscr'+set}'`\" = set"; then
12486 - echo $ac_n "(cached) $ac_c" 1>&6
12487 + echo "$as_me:$LINENO: checking for initscr" >&5
12488 +echo $ECHO_N "checking for initscr... $ECHO_C" >&6
12489 +if test "${ac_cv_func_initscr+set}" = set; then
12490 + echo $ECHO_N "(cached) $ECHO_C" >&6
12492 - cat > conftest.$ac_ext <<EOF
12493 -#line 2336 "configure"
12494 + cat >conftest.$ac_ext <<_ACEOF
12495 +#line $LINENO "configure"
12496 #include "confdefs.h"
12497 /* System header to define __stub macros and hopefully few prototypes,
12498 - which can conflict with char initscr(); below. */
12499 + which can conflict with char initscr (); below. */
12500 #include <assert.h>
12501 /* Override any gcc2 internal prototype to avoid an error. */
12502 +#ifdef __cplusplus
12505 /* We use char because int might match the return type of a gcc2
12506 - builtin and then its argument prototype would still apply. */
12510 + builtin and then its argument prototype would still apply. */
12514 +#ifdef F77_DUMMY_MAIN
12515 +# ifdef __cplusplus
12518 + int F77_DUMMY_MAIN() { return 1; }
12523 /* The GNU C library defines this for functions which it implements
12524 to always fail with ENOSYS. Some functions are actually named
12525 something starting with __ and the normal name is an alias. */
12526 #if defined (__stub_initscr) || defined (__stub___initscr)
12535 -if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12537 - eval "ac_cv_func_initscr=yes"
12539 - echo "configure: failed program was:" >&5
12540 - cat conftest.$ac_ext >&5
12542 - eval "ac_cv_func_initscr=no"
12547 -if eval "test \"`echo '$ac_cv_func_'initscr`\" = yes"; then
12548 - echo "$ac_t""yes" 1>&6
12553 +rm -f conftest.$ac_objext conftest$ac_exeext
12554 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12555 + (eval $ac_link) 2>&5
12557 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 + (exit $ac_status); } &&
12559 + { ac_try='test -s conftest$ac_exeext'
12560 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 + (eval $ac_try) 2>&5
12563 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 + (exit $ac_status); }; }; then
12565 + ac_cv_func_initscr=yes
12567 + echo "$as_me: failed program was:" >&5
12568 +cat conftest.$ac_ext >&5
12569 +ac_cv_func_initscr=no
12571 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12573 +echo "$as_me:$LINENO: result: $ac_cv_func_initscr" >&5
12574 +echo "${ECHO_T}$ac_cv_func_initscr" >&6
12575 +if test $ac_cv_func_initscr = yes; then
12578 - echo "$ac_t""no" 1>&6
12580 cf_ncurses="ncurses"
12581 for lib in ncurses ncursesw
12583 - echo $ac_n "checking for waddnwstr in -l$lib""... $ac_c" 1>&6
12584 -echo "configure:2381: checking for waddnwstr in -l$lib" >&5
12585 -ac_lib_var=`echo $lib'_'waddnwstr | sed 'y%./+-%__p_%'`
12586 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12587 - echo $ac_n "(cached) $ac_c" 1>&6
12588 + as_ac_Lib=`echo "ac_cv_lib_$lib''_waddnwstr" | $as_tr_sh`
12589 +echo "$as_me:$LINENO: checking for waddnwstr in -l$lib" >&5
12590 +echo $ECHO_N "checking for waddnwstr in -l$lib... $ECHO_C" >&6
12591 +if eval "test \"\${$as_ac_Lib+set}\" = set"; then
12592 + echo $ECHO_N "(cached) $ECHO_C" >&6
12594 - ac_save_LIBS="$LIBS"
12595 + ac_check_lib_save_LIBS=$LIBS
12596 LIBS="-l$lib $LIBS"
12597 -cat > conftest.$ac_ext <<EOF
12598 -#line 2389 "configure"
12599 +cat >conftest.$ac_ext <<_ACEOF
12600 +#line $LINENO "configure"
12601 #include "confdefs.h"
12603 /* Override any gcc2 internal prototype to avoid an error. */
12604 +#ifdef __cplusplus
12607 /* We use char because int might match the return type of a gcc2
12608 - builtin and then its argument prototype would still apply. */
12615 -if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12617 - eval "ac_cv_lib_$ac_lib_var=yes"
12619 - echo "configure: failed program was:" >&5
12620 - cat conftest.$ac_ext >&5
12622 - eval "ac_cv_lib_$ac_lib_var=no"
12625 -LIBS="$ac_save_LIBS"
12628 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12629 - echo "$ac_t""yes" 1>&6
12630 + builtin and then its argument prototype would still apply. */
12631 +char waddnwstr ();
12632 +#ifdef F77_DUMMY_MAIN
12633 +# ifdef __cplusplus
12636 + int F77_DUMMY_MAIN() { return 1; }
12646 +rm -f conftest.$ac_objext conftest$ac_exeext
12647 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12648 + (eval $ac_link) 2>&5
12650 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 + (exit $ac_status); } &&
12652 + { ac_try='test -s conftest$ac_exeext'
12653 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 + (eval $ac_try) 2>&5
12656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 + (exit $ac_status); }; }; then
12658 + eval "$as_ac_Lib=yes"
12660 + echo "$as_me: failed program was:" >&5
12661 +cat conftest.$ac_ext >&5
12662 +eval "$as_ac_Lib=no"
12664 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12665 +LIBS=$ac_check_lib_save_LIBS
12667 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
12668 +echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
12669 +if test `eval echo '${'$as_ac_Lib'}'` = yes; then
12670 cf_ncurses="$lib"; break
12672 - echo "$ac_t""no" 1>&6
12676 - echo $ac_n "checking for initscr in -l$cf_ncurses""... $ac_c" 1>&6
12677 -echo "configure:2422: checking for initscr in -l$cf_ncurses" >&5
12678 -ac_lib_var=`echo $cf_ncurses'_'initscr | sed 'y%./+-%__p_%'`
12679 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12680 - echo $ac_n "(cached) $ac_c" 1>&6
12681 + as_ac_Lib=`echo "ac_cv_lib_$cf_ncurses''_initscr" | $as_tr_sh`
12682 +echo "$as_me:$LINENO: checking for initscr in -l$cf_ncurses" >&5
12683 +echo $ECHO_N "checking for initscr in -l$cf_ncurses... $ECHO_C" >&6
12684 +if eval "test \"\${$as_ac_Lib+set}\" = set"; then
12685 + echo $ECHO_N "(cached) $ECHO_C" >&6
12687 - ac_save_LIBS="$LIBS"
12688 + ac_check_lib_save_LIBS=$LIBS
12689 LIBS="-l$cf_ncurses $LIBS"
12690 -cat > conftest.$ac_ext <<EOF
12691 -#line 2430 "configure"
12692 +cat >conftest.$ac_ext <<_ACEOF
12693 +#line $LINENO "configure"
12694 #include "confdefs.h"
12696 /* Override any gcc2 internal prototype to avoid an error. */
12697 +#ifdef __cplusplus
12700 /* We use char because int might match the return type of a gcc2
12701 - builtin and then its argument prototype would still apply. */
12708 -if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12710 - eval "ac_cv_lib_$ac_lib_var=yes"
12712 - echo "configure: failed program was:" >&5
12713 - cat conftest.$ac_ext >&5
12715 - eval "ac_cv_lib_$ac_lib_var=no"
12718 -LIBS="$ac_save_LIBS"
12721 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12722 - echo "$ac_t""yes" 1>&6
12723 + builtin and then its argument prototype would still apply. */
12725 +#ifdef F77_DUMMY_MAIN
12726 +# ifdef __cplusplus
12729 + int F77_DUMMY_MAIN() { return 1; }
12739 +rm -f conftest.$ac_objext conftest$ac_exeext
12740 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12741 + (eval $ac_link) 2>&5
12743 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 + (exit $ac_status); } &&
12745 + { ac_try='test -s conftest$ac_exeext'
12746 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 + (eval $ac_try) 2>&5
12749 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 + (exit $ac_status); }; }; then
12751 + eval "$as_ac_Lib=yes"
12753 + echo "$as_me: failed program was:" >&5
12754 +cat conftest.$ac_ext >&5
12755 +eval "$as_ac_Lib=no"
12757 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12758 +LIBS=$ac_check_lib_save_LIBS
12760 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
12761 +echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
12762 +if test `eval echo '${'$as_ac_Lib'}'` = yes; then
12763 MUTTLIBS="$MUTTLIBS -l$cf_ncurses"
12764 if test x$mutt_cv_curses = x/usr -a -d /usr/include/ncurses; then
12765 CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
12769 if test "$cf_ncurses" = ncursesw; then
12770 - for ac_hdr in ncursesw/ncurses.h
12772 +for ac_header in ncursesw/ncurses.h
12774 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12775 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12776 -echo "configure:2466: checking for $ac_hdr" >&5
12777 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12778 - echo $ac_n "(cached) $ac_c" 1>&6
12780 - cat > conftest.$ac_ext <<EOF
12781 -#line 2471 "configure"
12782 -#include "confdefs.h"
12783 -#include <$ac_hdr>
12785 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12786 -{ (eval echo configure:2476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12787 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12788 -if test -z "$ac_err"; then
12790 - eval "ac_cv_header_$ac_safe=yes"
12791 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12792 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
12793 + echo "$as_me:$LINENO: checking for $ac_header" >&5
12794 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12795 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
12796 + echo $ECHO_N "(cached) $ECHO_C" >&6
12798 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12799 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12801 + # Is the header compilable?
12802 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
12803 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12804 +cat >conftest.$ac_ext <<_ACEOF
12805 +#line $LINENO "configure"
12806 +#include "confdefs.h"
12807 +$ac_includes_default
12808 +#include <$ac_header>
12810 +rm -f conftest.$ac_objext
12811 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12812 + (eval $ac_compile) 2>&5
12814 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 + (exit $ac_status); } &&
12816 + { ac_try='test -s conftest.$ac_objext'
12817 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 + (eval $ac_try) 2>&5
12820 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 + (exit $ac_status); }; }; then
12822 + ac_header_compiler=yes
12824 + echo "$as_me: failed program was:" >&5
12825 +cat conftest.$ac_ext >&5
12826 +ac_header_compiler=no
12828 +rm -f conftest.$ac_objext conftest.$ac_ext
12829 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12830 +echo "${ECHO_T}$ac_header_compiler" >&6
12832 +# Is the header present?
12833 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
12834 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12835 +cat >conftest.$ac_ext <<_ACEOF
12836 +#line $LINENO "configure"
12837 +#include "confdefs.h"
12838 +#include <$ac_header>
12840 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12841 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12843 + egrep -v '^ *\+' conftest.er1 >conftest.err
12844 + rm -f conftest.er1
12845 + cat conftest.err >&5
12846 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 + (exit $ac_status); } >/dev/null; then
12848 + if test -s conftest.err; then
12849 + ac_cpp_err=$ac_c_preproc_warn_flag
12856 +if test -z "$ac_cpp_err"; then
12857 + ac_header_preproc=yes
12859 - echo "$ac_err" >&5
12860 - echo "configure: failed program was:" >&5
12861 + echo "$as_me: failed program was:" >&5
12862 cat conftest.$ac_ext >&5
12864 - eval "ac_cv_header_$ac_safe=no"
12865 + ac_header_preproc=no
12868 +rm -f conftest.err conftest.$ac_ext
12869 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12870 +echo "${ECHO_T}$ac_header_preproc" >&6
12872 +# So? What about this header?
12873 +case $ac_header_compiler:$ac_header_preproc in
12875 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12876 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12877 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12878 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12880 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12881 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12882 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12883 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12884 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12885 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12887 +echo "$as_me:$LINENO: checking for $ac_header" >&5
12888 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12889 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
12890 + echo $ECHO_N "(cached) $ECHO_C" >&6
12892 + eval "$as_ac_Header=$ac_header_preproc"
12894 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12895 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12898 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12899 - echo "$ac_t""yes" 1>&6
12900 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12901 - cat >> confdefs.h <<EOF
12902 -#define $ac_tr_hdr 1
12904 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
12905 + cat >>confdefs.h <<_ACEOF
12906 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12908 cf_cv_ncurses_header="ncursesw/ncurses.h"
12910 - echo "$ac_t""no" 1>&6
12916 - for ac_hdr in ncurses.h
12918 +for ac_header in ncurses.h
12920 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12921 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12922 -echo "configure:2507: checking for $ac_hdr" >&5
12923 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12924 - echo $ac_n "(cached) $ac_c" 1>&6
12926 - cat > conftest.$ac_ext <<EOF
12927 -#line 2512 "configure"
12928 -#include "confdefs.h"
12929 -#include <$ac_hdr>
12931 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12932 -{ (eval echo configure:2517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12933 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12934 -if test -z "$ac_err"; then
12936 - eval "ac_cv_header_$ac_safe=yes"
12937 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12938 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
12939 + echo "$as_me:$LINENO: checking for $ac_header" >&5
12940 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12941 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
12942 + echo $ECHO_N "(cached) $ECHO_C" >&6
12944 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12945 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12947 + # Is the header compilable?
12948 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
12949 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12950 +cat >conftest.$ac_ext <<_ACEOF
12951 +#line $LINENO "configure"
12952 +#include "confdefs.h"
12953 +$ac_includes_default
12954 +#include <$ac_header>
12956 +rm -f conftest.$ac_objext
12957 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12958 + (eval $ac_compile) 2>&5
12960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 + (exit $ac_status); } &&
12962 + { ac_try='test -s conftest.$ac_objext'
12963 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12964 + (eval $ac_try) 2>&5
12966 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 + (exit $ac_status); }; }; then
12968 + ac_header_compiler=yes
12970 + echo "$as_me: failed program was:" >&5
12971 +cat conftest.$ac_ext >&5
12972 +ac_header_compiler=no
12974 +rm -f conftest.$ac_objext conftest.$ac_ext
12975 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12976 +echo "${ECHO_T}$ac_header_compiler" >&6
12978 +# Is the header present?
12979 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
12980 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12981 +cat >conftest.$ac_ext <<_ACEOF
12982 +#line $LINENO "configure"
12983 +#include "confdefs.h"
12984 +#include <$ac_header>
12986 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12987 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12989 + egrep -v '^ *\+' conftest.er1 >conftest.err
12990 + rm -f conftest.er1
12991 + cat conftest.err >&5
12992 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 + (exit $ac_status); } >/dev/null; then
12994 + if test -s conftest.err; then
12995 + ac_cpp_err=$ac_c_preproc_warn_flag
13002 +if test -z "$ac_cpp_err"; then
13003 + ac_header_preproc=yes
13005 - echo "$ac_err" >&5
13006 - echo "configure: failed program was:" >&5
13007 + echo "$as_me: failed program was:" >&5
13008 cat conftest.$ac_ext >&5
13010 - eval "ac_cv_header_$ac_safe=no"
13011 + ac_header_preproc=no
13014 +rm -f conftest.err conftest.$ac_ext
13015 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13016 +echo "${ECHO_T}$ac_header_preproc" >&6
13018 +# So? What about this header?
13019 +case $ac_header_compiler:$ac_header_preproc in
13021 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13022 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13023 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13024 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13026 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13027 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13028 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13029 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13030 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13031 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
13033 +echo "$as_me:$LINENO: checking for $ac_header" >&5
13034 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13035 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
13036 + echo $ECHO_N "(cached) $ECHO_C" >&6
13038 + eval "$as_ac_Header=$ac_header_preproc"
13040 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13041 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13044 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13045 - echo "$ac_t""yes" 1>&6
13046 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13047 - cat >> confdefs.h <<EOF
13048 -#define $ac_tr_hdr 1
13050 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
13051 + cat >>confdefs.h <<_ACEOF
13052 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13054 cf_cv_ncurses_header="ncurses.h"
13056 - echo "$ac_t""no" 1>&6
13063 - echo "$ac_t""no" 1>&6
13065 -echo $ac_n "checking for initscr""... $ac_c" 1>&6
13066 -echo "configure:2548: checking for initscr" >&5
13067 -if eval "test \"`echo '$''{'ac_cv_func_initscr'+set}'`\" = set"; then
13068 - echo $ac_n "(cached) $ac_c" 1>&6
13069 +echo "$as_me:$LINENO: checking for initscr" >&5
13070 +echo $ECHO_N "checking for initscr... $ECHO_C" >&6
13071 +if test "${ac_cv_func_initscr+set}" = set; then
13072 + echo $ECHO_N "(cached) $ECHO_C" >&6
13074 - cat > conftest.$ac_ext <<EOF
13075 -#line 2553 "configure"
13076 + cat >conftest.$ac_ext <<_ACEOF
13077 +#line $LINENO "configure"
13078 #include "confdefs.h"
13079 /* System header to define __stub macros and hopefully few prototypes,
13080 - which can conflict with char initscr(); below. */
13081 + which can conflict with char initscr (); below. */
13082 #include <assert.h>
13083 /* Override any gcc2 internal prototype to avoid an error. */
13084 +#ifdef __cplusplus
13087 /* We use char because int might match the return type of a gcc2
13088 - builtin and then its argument prototype would still apply. */
13092 + builtin and then its argument prototype would still apply. */
13096 +#ifdef F77_DUMMY_MAIN
13097 +# ifdef __cplusplus
13100 + int F77_DUMMY_MAIN() { return 1; }
13105 /* The GNU C library defines this for functions which it implements
13106 to always fail with ENOSYS. Some functions are actually named
13107 something starting with __ and the normal name is an alias. */
13108 #if defined (__stub_initscr) || defined (__stub___initscr)
13117 -if { (eval echo configure:2576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13119 - eval "ac_cv_func_initscr=yes"
13121 - echo "configure: failed program was:" >&5
13122 - cat conftest.$ac_ext >&5
13124 - eval "ac_cv_func_initscr=no"
13129 -if eval "test \"`echo '$ac_cv_func_'initscr`\" = yes"; then
13130 - echo "$ac_t""yes" 1>&6
13135 +rm -f conftest.$ac_objext conftest$ac_exeext
13136 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137 + (eval $ac_link) 2>&5
13139 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 + (exit $ac_status); } &&
13141 + { ac_try='test -s conftest$ac_exeext'
13142 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13143 + (eval $ac_try) 2>&5
13145 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 + (exit $ac_status); }; }; then
13147 + ac_cv_func_initscr=yes
13149 + echo "$as_me: failed program was:" >&5
13150 +cat conftest.$ac_ext >&5
13151 +ac_cv_func_initscr=no
13153 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13155 +echo "$as_me:$LINENO: result: $ac_cv_func_initscr" >&5
13156 +echo "${ECHO_T}$ac_cv_func_initscr" >&6
13157 +if test $ac_cv_func_initscr = yes; then
13160 - echo "$ac_t""no" 1>&6
13162 case $host_os in #(vi
13164 - echo $ac_n "checking for tgoto in -lmytinfo""... $ac_c" 1>&6
13165 -echo "configure:2597: checking for tgoto in -lmytinfo" >&5
13166 -ac_lib_var=`echo mytinfo'_'tgoto | sed 'y%./+-%__p_%'`
13167 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13168 - echo $ac_n "(cached) $ac_c" 1>&6
13169 + echo "$as_me:$LINENO: checking for tgoto in -lmytinfo" >&5
13170 +echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6
13171 +if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then
13172 + echo $ECHO_N "(cached) $ECHO_C" >&6
13174 - ac_save_LIBS="$LIBS"
13175 + ac_check_lib_save_LIBS=$LIBS
13176 LIBS="-lmytinfo $LIBS"
13177 -cat > conftest.$ac_ext <<EOF
13178 -#line 2605 "configure"
13179 +cat >conftest.$ac_ext <<_ACEOF
13180 +#line $LINENO "configure"
13181 #include "confdefs.h"
13183 /* Override any gcc2 internal prototype to avoid an error. */
13184 +#ifdef __cplusplus
13187 /* We use char because int might match the return type of a gcc2
13188 - builtin and then its argument prototype would still apply. */
13195 -if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13197 - eval "ac_cv_lib_$ac_lib_var=yes"
13199 - echo "configure: failed program was:" >&5
13200 - cat conftest.$ac_ext >&5
13202 - eval "ac_cv_lib_$ac_lib_var=no"
13205 -LIBS="$ac_save_LIBS"
13208 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13209 - echo "$ac_t""yes" 1>&6
13210 + builtin and then its argument prototype would still apply. */
13212 +#ifdef F77_DUMMY_MAIN
13213 +# ifdef __cplusplus
13216 + int F77_DUMMY_MAIN() { return 1; }
13226 +rm -f conftest.$ac_objext conftest$ac_exeext
13227 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13228 + (eval $ac_link) 2>&5
13230 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 + (exit $ac_status); } &&
13232 + { ac_try='test -s conftest$ac_exeext'
13233 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13234 + (eval $ac_try) 2>&5
13236 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 + (exit $ac_status); }; }; then
13238 + ac_cv_lib_mytinfo_tgoto=yes
13240 + echo "$as_me: failed program was:" >&5
13241 +cat conftest.$ac_ext >&5
13242 +ac_cv_lib_mytinfo_tgoto=no
13244 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13245 +LIBS=$ac_check_lib_save_LIBS
13247 +echo "$as_me:$LINENO: result: $ac_cv_lib_mytinfo_tgoto" >&5
13248 +echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6
13249 +if test $ac_cv_lib_mytinfo_tgoto = yes; then
13250 LIBS="-lmytinfo $LIBS"
13252 - echo "$ac_t""no" 1>&6
13257 - echo $ac_n "checking for initscr in -lcur_colr""... $ac_c" 1>&6
13258 -echo "configure:2639: checking for initscr in -lcur_colr" >&5
13259 -ac_lib_var=`echo cur_colr'_'initscr | sed 'y%./+-%__p_%'`
13260 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13261 - echo $ac_n "(cached) $ac_c" 1>&6
13262 + echo "$as_me:$LINENO: checking for initscr in -lcur_colr" >&5
13263 +echo $ECHO_N "checking for initscr in -lcur_colr... $ECHO_C" >&6
13264 +if test "${ac_cv_lib_cur_colr_initscr+set}" = set; then
13265 + echo $ECHO_N "(cached) $ECHO_C" >&6
13267 - ac_save_LIBS="$LIBS"
13268 + ac_check_lib_save_LIBS=$LIBS
13269 LIBS="-lcur_colr $LIBS"
13270 -cat > conftest.$ac_ext <<EOF
13271 -#line 2647 "configure"
13272 +cat >conftest.$ac_ext <<_ACEOF
13273 +#line $LINENO "configure"
13274 #include "confdefs.h"
13276 /* Override any gcc2 internal prototype to avoid an error. */
13277 +#ifdef __cplusplus
13280 /* We use char because int might match the return type of a gcc2
13281 - builtin and then its argument prototype would still apply. */
13288 -if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13290 - eval "ac_cv_lib_$ac_lib_var=yes"
13292 - echo "configure: failed program was:" >&5
13293 - cat conftest.$ac_ext >&5
13295 - eval "ac_cv_lib_$ac_lib_var=no"
13298 -LIBS="$ac_save_LIBS"
13299 + builtin and then its argument prototype would still apply. */
13301 +#ifdef F77_DUMMY_MAIN
13302 +# ifdef __cplusplus
13305 + int F77_DUMMY_MAIN() { return 1; }
13315 +rm -f conftest.$ac_objext conftest$ac_exeext
13316 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 + (eval $ac_link) 2>&5
13319 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 + (exit $ac_status); } &&
13321 + { ac_try='test -s conftest$ac_exeext'
13322 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 + (eval $ac_try) 2>&5
13325 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 + (exit $ac_status); }; }; then
13327 + ac_cv_lib_cur_colr_initscr=yes
13329 + echo "$as_me: failed program was:" >&5
13330 +cat conftest.$ac_ext >&5
13331 +ac_cv_lib_cur_colr_initscr=no
13333 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13334 +LIBS=$ac_check_lib_save_LIBS
13336 +echo "$as_me:$LINENO: result: $ac_cv_lib_cur_colr_initscr" >&5
13337 +echo "${ECHO_T}$ac_cv_lib_cur_colr_initscr" >&6
13338 +if test $ac_cv_lib_cur_colr_initscr = yes; then
13341 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13342 - echo "$ac_t""yes" 1>&6
13344 LIBS="-lcur_colr $LIBS"
13345 CFLAGS="-I/usr/include/curses_colr $CFLAGS"
13346 ac_cv_func_initscr=yes
13350 - echo "$ac_t""no" 1>&6
13352 - echo $ac_n "checking for initscr in -lHcurses""... $ac_c" 1>&6
13353 -echo "configure:2682: checking for initscr in -lHcurses" >&5
13354 -ac_lib_var=`echo Hcurses'_'initscr | sed 'y%./+-%__p_%'`
13355 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13356 - echo $ac_n "(cached) $ac_c" 1>&6
13357 + echo "$as_me:$LINENO: checking for initscr in -lHcurses" >&5
13358 +echo $ECHO_N "checking for initscr in -lHcurses... $ECHO_C" >&6
13359 +if test "${ac_cv_lib_Hcurses_initscr+set}" = set; then
13360 + echo $ECHO_N "(cached) $ECHO_C" >&6
13362 - ac_save_LIBS="$LIBS"
13363 + ac_check_lib_save_LIBS=$LIBS
13364 LIBS="-lHcurses $LIBS"
13365 -cat > conftest.$ac_ext <<EOF
13366 -#line 2690 "configure"
13367 +cat >conftest.$ac_ext <<_ACEOF
13368 +#line $LINENO "configure"
13369 #include "confdefs.h"
13371 /* Override any gcc2 internal prototype to avoid an error. */
13372 +#ifdef __cplusplus
13375 /* We use char because int might match the return type of a gcc2
13376 - builtin and then its argument prototype would still apply. */
13383 -if { (eval echo configure:2701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13385 - eval "ac_cv_lib_$ac_lib_var=yes"
13387 - echo "configure: failed program was:" >&5
13388 - cat conftest.$ac_ext >&5
13390 - eval "ac_cv_lib_$ac_lib_var=no"
13393 -LIBS="$ac_save_LIBS"
13394 + builtin and then its argument prototype would still apply. */
13396 +#ifdef F77_DUMMY_MAIN
13397 +# ifdef __cplusplus
13400 + int F77_DUMMY_MAIN() { return 1; }
13410 +rm -f conftest.$ac_objext conftest$ac_exeext
13411 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13412 + (eval $ac_link) 2>&5
13414 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 + (exit $ac_status); } &&
13416 + { ac_try='test -s conftest$ac_exeext'
13417 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 + (eval $ac_try) 2>&5
13420 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 + (exit $ac_status); }; }; then
13422 + ac_cv_lib_Hcurses_initscr=yes
13424 + echo "$as_me: failed program was:" >&5
13425 +cat conftest.$ac_ext >&5
13426 +ac_cv_lib_Hcurses_initscr=no
13428 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13429 +LIBS=$ac_check_lib_save_LIBS
13431 +echo "$as_me:$LINENO: result: $ac_cv_lib_Hcurses_initscr" >&5
13432 +echo "${ECHO_T}$ac_cv_lib_Hcurses_initscr" >&6
13433 +if test $ac_cv_lib_Hcurses_initscr = yes; then
13436 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13437 - echo "$ac_t""yes" 1>&6
13439 # HP's header uses __HP_CURSES, but user claims _HP_CURSES.
13440 LIBS="-lHcurses $LIBS"
13441 CFLAGS="-D__HP_CURSES -D_HP_CURSES $CFLAGS"
13442 ac_cv_func_initscr=yes
13445 - echo "$ac_t""no" 1>&6
13450 @@ -2747,97 +5256,138 @@
13452 # Check for library containing tgoto. Do this before curses library
13453 # because it may be needed to link the test-case for initscr.
13454 - echo $ac_n "checking for tgoto""... $ac_c" 1>&6
13455 -echo "configure:2750: checking for tgoto" >&5
13456 -if eval "test \"`echo '$''{'ac_cv_func_tgoto'+set}'`\" = set"; then
13457 - echo $ac_n "(cached) $ac_c" 1>&6
13458 + echo "$as_me:$LINENO: checking for tgoto" >&5
13459 +echo $ECHO_N "checking for tgoto... $ECHO_C" >&6
13460 +if test "${ac_cv_func_tgoto+set}" = set; then
13461 + echo $ECHO_N "(cached) $ECHO_C" >&6
13463 - cat > conftest.$ac_ext <<EOF
13464 -#line 2755 "configure"
13465 + cat >conftest.$ac_ext <<_ACEOF
13466 +#line $LINENO "configure"
13467 #include "confdefs.h"
13468 /* System header to define __stub macros and hopefully few prototypes,
13469 - which can conflict with char tgoto(); below. */
13470 + which can conflict with char tgoto (); below. */
13471 #include <assert.h>
13472 /* Override any gcc2 internal prototype to avoid an error. */
13473 +#ifdef __cplusplus
13476 /* We use char because int might match the return type of a gcc2
13477 - builtin and then its argument prototype would still apply. */
13481 + builtin and then its argument prototype would still apply. */
13485 +#ifdef F77_DUMMY_MAIN
13486 +# ifdef __cplusplus
13489 + int F77_DUMMY_MAIN() { return 1; }
13494 /* The GNU C library defines this for functions which it implements
13495 to always fail with ENOSYS. Some functions are actually named
13496 something starting with __ and the normal name is an alias. */
13497 #if defined (__stub_tgoto) || defined (__stub___tgoto)
13506 -if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13508 - eval "ac_cv_func_tgoto=yes"
13510 - echo "configure: failed program was:" >&5
13511 - cat conftest.$ac_ext >&5
13513 - eval "ac_cv_func_tgoto=no"
13518 -if eval "test \"`echo '$ac_cv_func_'tgoto`\" = yes"; then
13519 - echo "$ac_t""yes" 1>&6
13524 +rm -f conftest.$ac_objext conftest$ac_exeext
13525 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13526 + (eval $ac_link) 2>&5
13528 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 + (exit $ac_status); } &&
13530 + { ac_try='test -s conftest$ac_exeext'
13531 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 + (eval $ac_try) 2>&5
13534 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 + (exit $ac_status); }; }; then
13536 + ac_cv_func_tgoto=yes
13538 + echo "$as_me: failed program was:" >&5
13539 +cat conftest.$ac_ext >&5
13540 +ac_cv_func_tgoto=no
13542 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13544 +echo "$as_me:$LINENO: result: $ac_cv_func_tgoto" >&5
13545 +echo "${ECHO_T}$ac_cv_func_tgoto" >&6
13546 +if test $ac_cv_func_tgoto = yes; then
13547 cf_term_lib=predefined
13549 - echo "$ac_t""no" 1>&6
13551 for cf_term_lib in termcap termlib unknown
13553 - echo $ac_n "checking for tgoto in -l$cf_term_lib""... $ac_c" 1>&6
13554 -echo "configure:2799: checking for tgoto in -l$cf_term_lib" >&5
13555 -ac_lib_var=`echo $cf_term_lib'_'tgoto | sed 'y%./+-%__p_%'`
13556 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13557 - echo $ac_n "(cached) $ac_c" 1>&6
13558 + as_ac_Lib=`echo "ac_cv_lib_$cf_term_lib''_tgoto" | $as_tr_sh`
13559 +echo "$as_me:$LINENO: checking for tgoto in -l$cf_term_lib" >&5
13560 +echo $ECHO_N "checking for tgoto in -l$cf_term_lib... $ECHO_C" >&6
13561 +if eval "test \"\${$as_ac_Lib+set}\" = set"; then
13562 + echo $ECHO_N "(cached) $ECHO_C" >&6
13564 - ac_save_LIBS="$LIBS"
13565 + ac_check_lib_save_LIBS=$LIBS
13566 LIBS="-l$cf_term_lib $LIBS"
13567 -cat > conftest.$ac_ext <<EOF
13568 -#line 2807 "configure"
13569 +cat >conftest.$ac_ext <<_ACEOF
13570 +#line $LINENO "configure"
13571 #include "confdefs.h"
13573 /* Override any gcc2 internal prototype to avoid an error. */
13574 +#ifdef __cplusplus
13577 /* We use char because int might match the return type of a gcc2
13578 - builtin and then its argument prototype would still apply. */
13585 -if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13587 - eval "ac_cv_lib_$ac_lib_var=yes"
13589 - echo "configure: failed program was:" >&5
13590 - cat conftest.$ac_ext >&5
13592 - eval "ac_cv_lib_$ac_lib_var=no"
13595 -LIBS="$ac_save_LIBS"
13598 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13599 - echo "$ac_t""yes" 1>&6
13600 + builtin and then its argument prototype would still apply. */
13602 +#ifdef F77_DUMMY_MAIN
13603 +# ifdef __cplusplus
13606 + int F77_DUMMY_MAIN() { return 1; }
13616 +rm -f conftest.$ac_objext conftest$ac_exeext
13617 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13618 + (eval $ac_link) 2>&5
13620 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 + (exit $ac_status); } &&
13622 + { ac_try='test -s conftest$ac_exeext'
13623 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 + (eval $ac_try) 2>&5
13626 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 + (exit $ac_status); }; }; then
13628 + eval "$as_ac_Lib=yes"
13630 + echo "$as_me: failed program was:" >&5
13631 +cat conftest.$ac_ext >&5
13632 +eval "$as_ac_Lib=no"
13634 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13635 +LIBS=$ac_check_lib_save_LIBS
13637 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
13638 +echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
13639 +if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13642 - echo "$ac_t""no" 1>&6
13651 @@ -2845,115 +5395,198 @@
13652 test "$cf_term_lib" != predefined && test "$cf_term_lib" != unknown && LIBS="-l$cf_term_lib $cf_save_LIBS"
13653 for cf_curs_lib in cursesX curses ncurses xcurses jcurses unknown
13655 - echo $ac_n "checking for initscr in -l$cf_curs_lib""... $ac_c" 1>&6
13656 -echo "configure:2848: checking for initscr in -l$cf_curs_lib" >&5
13657 -ac_lib_var=`echo $cf_curs_lib'_'initscr | sed 'y%./+-%__p_%'`
13658 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13659 - echo $ac_n "(cached) $ac_c" 1>&6
13660 + as_ac_Lib=`echo "ac_cv_lib_$cf_curs_lib''_initscr" | $as_tr_sh`
13661 +echo "$as_me:$LINENO: checking for initscr in -l$cf_curs_lib" >&5
13662 +echo $ECHO_N "checking for initscr in -l$cf_curs_lib... $ECHO_C" >&6
13663 +if eval "test \"\${$as_ac_Lib+set}\" = set"; then
13664 + echo $ECHO_N "(cached) $ECHO_C" >&6
13666 - ac_save_LIBS="$LIBS"
13667 + ac_check_lib_save_LIBS=$LIBS
13668 LIBS="-l$cf_curs_lib $LIBS"
13669 -cat > conftest.$ac_ext <<EOF
13670 -#line 2856 "configure"
13671 +cat >conftest.$ac_ext <<_ACEOF
13672 +#line $LINENO "configure"
13673 #include "confdefs.h"
13675 /* Override any gcc2 internal prototype to avoid an error. */
13676 +#ifdef __cplusplus
13679 /* We use char because int might match the return type of a gcc2
13680 - builtin and then its argument prototype would still apply. */
13687 -if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13689 - eval "ac_cv_lib_$ac_lib_var=yes"
13691 - echo "configure: failed program was:" >&5
13692 - cat conftest.$ac_ext >&5
13694 - eval "ac_cv_lib_$ac_lib_var=no"
13697 -LIBS="$ac_save_LIBS"
13700 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13701 - echo "$ac_t""yes" 1>&6
13702 + builtin and then its argument prototype would still apply. */
13704 +#ifdef F77_DUMMY_MAIN
13705 +# ifdef __cplusplus
13708 + int F77_DUMMY_MAIN() { return 1; }
13718 +rm -f conftest.$ac_objext conftest$ac_exeext
13719 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13720 + (eval $ac_link) 2>&5
13722 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 + (exit $ac_status); } &&
13724 + { ac_try='test -s conftest$ac_exeext'
13725 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 + (eval $ac_try) 2>&5
13728 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 + (exit $ac_status); }; }; then
13730 + eval "$as_ac_Lib=yes"
13732 + echo "$as_me: failed program was:" >&5
13733 +cat conftest.$ac_ext >&5
13734 +eval "$as_ac_Lib=no"
13736 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13737 +LIBS=$ac_check_lib_save_LIBS
13739 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
13740 +echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
13741 +if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13744 - echo "$ac_t""no" 1>&6
13748 - test $cf_curs_lib = unknown && { echo "configure: error: no curses library found" 1>&2; exit 1; }
13749 + test $cf_curs_lib = unknown && { { echo "$as_me:$LINENO: error: no curses library found" >&5
13750 +echo "$as_me: error: no curses library found" >&2;}
13751 + { (exit 1); exit 1; }; }
13753 LIBS="-l$cf_curs_lib $cf_save_LIBS"
13754 if test "$cf_term_lib" = unknown ; then
13755 - echo $ac_n "checking if we can link with $cf_curs_lib library""... $ac_c" 1>&6
13756 -echo "configure:2893: checking if we can link with $cf_curs_lib library" >&5
13757 - cat > conftest.$ac_ext <<EOF
13758 -#line 2895 "configure"
13759 + echo "$as_me:$LINENO: checking if we can link with $cf_curs_lib library" >&5
13760 +echo $ECHO_N "checking if we can link with $cf_curs_lib library... $ECHO_C" >&6
13761 + cat >conftest.$ac_ext <<_ACEOF
13762 +#line $LINENO "configure"
13763 #include "confdefs.h"
13764 #include <${cf_cv_ncurses_header-curses.h}>
13766 +#ifdef F77_DUMMY_MAIN
13767 +# ifdef __cplusplus
13770 + int F77_DUMMY_MAIN() { return 1; }
13778 -if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13784 +rm -f conftest.$ac_objext conftest$ac_exeext
13785 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13786 + (eval $ac_link) 2>&5
13788 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 + (exit $ac_status); } &&
13790 + { ac_try='test -s conftest$ac_exeext'
13791 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13792 + (eval $ac_try) 2>&5
13794 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 + (exit $ac_status); }; }; then
13798 - echo "configure: failed program was:" >&5
13799 - cat conftest.$ac_ext >&5
13804 - echo "$ac_t""$cf_result" 1>&6
13805 - test $cf_result = no && { echo "configure: error: Cannot link curses library" 1>&2; exit 1; }
13806 + echo "$as_me: failed program was:" >&5
13807 +cat conftest.$ac_ext >&5
13810 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13811 + echo "$as_me:$LINENO: result: $cf_result" >&5
13812 +echo "${ECHO_T}$cf_result" >&6
13813 + test $cf_result = no && { { echo "$as_me:$LINENO: error: Cannot link curses library" >&5
13814 +echo "$as_me: error: Cannot link curses library" >&2;}
13815 + { (exit 1); exit 1; }; }
13816 elif test "$cf_term_lib" != predefined ; then
13817 - echo $ac_n "checking if we need both $cf_curs_lib and $cf_term_lib libraries""... $ac_c" 1>&6
13818 -echo "configure:2916: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
13819 - cat > conftest.$ac_ext <<EOF
13820 -#line 2918 "configure"
13821 + echo "$as_me:$LINENO: checking if we need both $cf_curs_lib and $cf_term_lib libraries" >&5
13822 +echo $ECHO_N "checking if we need both $cf_curs_lib and $cf_term_lib libraries... $ECHO_C" >&6
13823 + cat >conftest.$ac_ext <<_ACEOF
13824 +#line $LINENO "configure"
13825 #include "confdefs.h"
13826 #include <${cf_cv_ncurses_header-curses.h}>
13828 +#ifdef F77_DUMMY_MAIN
13829 +# ifdef __cplusplus
13832 + int F77_DUMMY_MAIN() { return 1; }
13837 initscr(); tgoto((char *)0, 0, 0);
13840 -if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13846 +rm -f conftest.$ac_objext conftest$ac_exeext
13847 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13848 + (eval $ac_link) 2>&5
13850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 + (exit $ac_status); } &&
13852 + { ac_try='test -s conftest$ac_exeext'
13853 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 + (eval $ac_try) 2>&5
13856 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 + (exit $ac_status); }; }; then
13860 - echo "configure: failed program was:" >&5
13861 - cat conftest.$ac_ext >&5
13864 + echo "$as_me: failed program was:" >&5
13865 +cat conftest.$ac_ext >&5
13867 LIBS="-l$cf_curs_lib -l$cf_term_lib $cf_save_LIBS"
13868 - cat > conftest.$ac_ext <<EOF
13869 -#line 2935 "configure"
13870 + cat >conftest.$ac_ext <<_ACEOF
13871 +#line $LINENO "configure"
13872 #include "confdefs.h"
13873 #include <${cf_cv_ncurses_header-curses.h}>
13875 +#ifdef F77_DUMMY_MAIN
13876 +# ifdef __cplusplus
13879 + int F77_DUMMY_MAIN() { return 1; }
13887 -if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13893 +rm -f conftest.$ac_objext conftest$ac_exeext
13894 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13895 + (eval $ac_link) 2>&5
13897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 + (exit $ac_status); } &&
13899 + { ac_try='test -s conftest$ac_exeext'
13900 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 + (eval $ac_try) 2>&5
13903 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 + (exit $ac_status); }; }; then
13907 - echo "configure: failed program was:" >&5
13908 - cat conftest.$ac_ext >&5
13911 + echo "$as_me: failed program was:" >&5
13912 +cat conftest.$ac_ext >&5
13917 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13921 - echo "$ac_t""$cf_result" 1>&6
13922 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13923 + echo "$as_me:$LINENO: result: $cf_result" >&5
13924 +echo "${ECHO_T}$cf_result" >&6
13928 @@ -2962,7 +5595,7 @@
13937 @@ -2971,125 +5604,176 @@
13938 for ac_func in start_color typeahead bkgdset curs_set meta use_default_colors resizeterm
13941 -echo $ac_n "checking for $ac_func declaration""... $ac_c" 1>&6
13942 -echo "configure:2974: checking for $ac_func declaration" >&5
13943 -if eval "test \"`echo '$''{'ac_cv_func_decl_$ac_func'+set}'`\" = set"; then
13944 - echo $ac_n "(cached) $ac_c" 1>&6
13945 +echo "$as_me:$LINENO: checking for $ac_func declaration" >&5
13946 +echo $ECHO_N "checking for $ac_func declaration... $ECHO_C" >&6
13947 +if eval "test \"\${ac_cv_func_decl_$ac_func+set}\" = set"; then
13948 + echo $ECHO_N "(cached) $ECHO_C" >&6
13950 - cat > conftest.$ac_ext <<EOF
13951 -#line 2979 "configure"
13952 + cat >conftest.$ac_ext <<_ACEOF
13953 +#line $LINENO "configure"
13954 #include "confdefs.h"
13955 #include <${cf_cv_ncurses_header-curses.h}>
13957 +#ifdef F77_DUMMY_MAIN
13958 +# ifdef __cplusplus
13961 + int F77_DUMMY_MAIN() { return 1; }
13967 extern int ${ac_func}();
13971 -if { (eval echo configure:2988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13974 -cat > conftest.$ac_ext <<EOF
13975 -#line 2992 "configure"
13980 +rm -f conftest.$ac_objext
13981 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13982 + (eval $ac_compile) 2>&5
13984 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 + (exit $ac_status); } &&
13986 + { ac_try='test -s conftest.$ac_objext'
13987 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 + (eval $ac_try) 2>&5
13990 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 + (exit $ac_status); }; }; then
13993 +cat >conftest.$ac_ext <<_ACEOF
13994 +#line $LINENO "configure"
13995 #include "confdefs.h"
13996 #include <${cf_cv_ncurses_header-curses.h}>
13998 +#ifdef F77_DUMMY_MAIN
13999 +# ifdef __cplusplus
14002 + int F77_DUMMY_MAIN() { return 1; }
14008 int (*p)() = ${ac_func};
14012 -if { (eval echo configure:3001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14019 +rm -f conftest.$ac_objext
14020 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 + (eval $ac_compile) 2>&5
14023 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 + (exit $ac_status); } &&
14025 + { ac_try='test -s conftest.$ac_objext'
14026 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 + (eval $ac_try) 2>&5
14029 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 + (exit $ac_status); }; }; then
14032 eval "ac_cv_func_decl_$ac_func=yes"
14034 - echo "configure: failed program was:" >&5
14035 - cat conftest.$ac_ext >&5
14038 + echo "$as_me: failed program was:" >&5
14039 +cat conftest.$ac_ext >&5
14041 eval "ac_cv_func_decl_$ac_func=no"
14044 +rm -f conftest.$ac_objext conftest.$ac_ext
14046 - echo "configure: failed program was:" >&5
14047 - cat conftest.$ac_ext >&5
14050 + echo "$as_me: failed program was:" >&5
14051 +cat conftest.$ac_ext >&5
14053 eval "ac_cv_func_decl_$ac_func=yes"
14056 +rm -f conftest.$ac_objext conftest.$ac_ext
14059 if eval "test \"`echo '$ac_cv_func_'decl_$ac_func`\" = yes"; then
14060 - echo "$ac_t""yes" 1>&6
14063 + echo "$as_me:$LINENO: result: yes" >&5
14064 +echo "${ECHO_T}yes" >&6
14067 ac_tr_func=`echo HAVE_$ac_func | tr '[a-z]' '[A-Z]'`
14069 - cat >> confdefs.h <<EOF
14070 + cat >>confdefs.h <<_ACEOF
14071 #define $ac_tr_func 1
14077 - echo "$ac_t""no" 1>&6
14078 + echo "$as_me:$LINENO: result: no" >&5
14079 +echo "${ECHO_T}no" >&6
14083 if test "$ac_cv_func_decl_start_color" = yes; then
14084 - cat >> confdefs.h <<\EOF
14086 +cat >>confdefs.h <<\_ACEOF
14087 #define HAVE_COLOR 1
14092 if test "$ac_cv_func_decl_resizeterm" = yes; then
14093 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS resize.o"
14101 -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14102 -echo "configure:3053: checking for ANSI C header files" >&5
14103 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14104 - echo $ac_n "(cached) $ac_c" 1>&6
14105 +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14106 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14107 +if test "${ac_cv_header_stdc+set}" = set; then
14108 + echo $ECHO_N "(cached) $ECHO_C" >&6
14110 - cat > conftest.$ac_ext <<EOF
14111 -#line 3058 "configure"
14112 + cat >conftest.$ac_ext <<_ACEOF
14113 +#line $LINENO "configure"
14114 #include "confdefs.h"
14115 #include <stdlib.h>
14116 #include <stdarg.h>
14117 #include <string.h>
14120 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14121 -{ (eval echo configure:3066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14122 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14123 -if test -z "$ac_err"; then
14127 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14128 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14130 + egrep -v '^ *\+' conftest.er1 >conftest.err
14131 + rm -f conftest.er1
14132 + cat conftest.err >&5
14133 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 + (exit $ac_status); } >/dev/null; then
14135 + if test -s conftest.err; then
14136 + ac_cpp_err=$ac_c_preproc_warn_flag
14143 +if test -z "$ac_cpp_err"; then
14144 ac_cv_header_stdc=yes
14146 - echo "$ac_err" >&5
14147 - echo "configure: failed program was:" >&5
14148 + echo "$as_me: failed program was:" >&5
14149 cat conftest.$ac_ext >&5
14151 ac_cv_header_stdc=no
14154 +rm -f conftest.err conftest.$ac_ext
14156 if test $ac_cv_header_stdc = yes; then
14157 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14158 -cat > conftest.$ac_ext <<EOF
14159 -#line 3083 "configure"
14160 + cat >conftest.$ac_ext <<_ACEOF
14161 +#line $LINENO "configure"
14162 #include "confdefs.h"
14163 #include <string.h>
14167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14168 egrep "memchr" >/dev/null 2>&1; then
14172 ac_cv_header_stdc=no
14175 @@ -3098,16 +5782,16 @@
14177 if test $ac_cv_header_stdc = yes; then
14178 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14179 -cat > conftest.$ac_ext <<EOF
14180 -#line 3101 "configure"
14181 + cat >conftest.$ac_ext <<_ACEOF
14182 +#line $LINENO "configure"
14183 #include "confdefs.h"
14184 #include <stdlib.h>
14188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14189 egrep "free" >/dev/null 2>&1; then
14193 ac_cv_header_stdc=no
14196 @@ -3116,234 +5800,506 @@
14198 if test $ac_cv_header_stdc = yes; then
14199 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14200 -if test "$cross_compiling" = yes; then
14201 + if test "$cross_compiling" = yes; then
14204 - cat > conftest.$ac_ext <<EOF
14205 -#line 3122 "configure"
14206 + cat >conftest.$ac_ext <<_ACEOF
14207 +#line $LINENO "configure"
14208 #include "confdefs.h"
14210 -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14211 -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14212 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14213 -int main () { int i; for (i = 0; i < 256; i++)
14214 -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14216 +#if ((' ' & 0x0FF) == 0x020)
14217 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14218 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14220 +# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
14221 + || ('j' <= (c) && (c) <= 'r') \
14222 + || ('s' <= (c) && (c) <= 'z'))
14223 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14227 -if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14229 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14234 + for (i = 0; i < 256; i++)
14235 + if (XOR (islower (i), ISLOWER (i))
14236 + || toupper (i) != TOUPPER (i))
14241 +rm -f conftest$ac_exeext
14242 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14243 + (eval $ac_link) 2>&5
14245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14247 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 + (eval $ac_try) 2>&5
14250 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 + (exit $ac_status); }; }; then
14254 - echo "configure: failed program was:" >&5
14255 - cat conftest.$ac_ext >&5
14257 - ac_cv_header_stdc=no
14259 + echo "$as_me: program exited with status $ac_status" >&5
14260 +echo "$as_me: failed program was:" >&5
14261 +cat conftest.$ac_ext >&5
14262 +( exit $ac_status )
14263 +ac_cv_header_stdc=no
14266 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14272 -echo "$ac_t""$ac_cv_header_stdc" 1>&6
14273 +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14274 +echo "${ECHO_T}$ac_cv_header_stdc" >&6
14275 if test $ac_cv_header_stdc = yes; then
14276 - cat >> confdefs.h <<\EOF
14278 +cat >>confdefs.h <<\_ACEOF
14279 #define STDC_HEADERS 1
14286 -for ac_hdr in stdarg.h sys/ioctl.h ioctl.h sysexits.h
14291 +for ac_header in stdarg.h sys/ioctl.h ioctl.h sysexits.h
14293 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14294 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14295 -echo "configure:3161: checking for $ac_hdr" >&5
14296 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14297 - echo $ac_n "(cached) $ac_c" 1>&6
14298 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14299 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14300 + echo "$as_me:$LINENO: checking for $ac_header" >&5
14301 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14302 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14303 + echo $ECHO_N "(cached) $ECHO_C" >&6
14305 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14306 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14308 + # Is the header compilable?
14309 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
14310 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14311 +cat >conftest.$ac_ext <<_ACEOF
14312 +#line $LINENO "configure"
14313 +#include "confdefs.h"
14314 +$ac_includes_default
14315 +#include <$ac_header>
14317 +rm -f conftest.$ac_objext
14318 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14319 + (eval $ac_compile) 2>&5
14321 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 + (exit $ac_status); } &&
14323 + { ac_try='test -s conftest.$ac_objext'
14324 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14325 + (eval $ac_try) 2>&5
14327 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 + (exit $ac_status); }; }; then
14329 + ac_header_compiler=yes
14331 + echo "$as_me: failed program was:" >&5
14332 +cat conftest.$ac_ext >&5
14333 +ac_header_compiler=no
14335 +rm -f conftest.$ac_objext conftest.$ac_ext
14336 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14337 +echo "${ECHO_T}$ac_header_compiler" >&6
14339 +# Is the header present?
14340 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
14341 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14342 +cat >conftest.$ac_ext <<_ACEOF
14343 +#line $LINENO "configure"
14344 +#include "confdefs.h"
14345 +#include <$ac_header>
14347 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14348 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14350 + egrep -v '^ *\+' conftest.er1 >conftest.err
14351 + rm -f conftest.er1
14352 + cat conftest.err >&5
14353 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 + (exit $ac_status); } >/dev/null; then
14355 + if test -s conftest.err; then
14356 + ac_cpp_err=$ac_c_preproc_warn_flag
14361 - cat > conftest.$ac_ext <<EOF
14362 -#line 3166 "configure"
14363 -#include "confdefs.h"
14364 -#include <$ac_hdr>
14366 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14367 -{ (eval echo configure:3171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14368 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14369 -if test -z "$ac_err"; then
14371 - eval "ac_cv_header_$ac_safe=yes"
14374 +if test -z "$ac_cpp_err"; then
14375 + ac_header_preproc=yes
14377 - echo "$ac_err" >&5
14378 - echo "configure: failed program was:" >&5
14379 + echo "$as_me: failed program was:" >&5
14380 cat conftest.$ac_ext >&5
14382 - eval "ac_cv_header_$ac_safe=no"
14383 + ac_header_preproc=no
14386 +rm -f conftest.err conftest.$ac_ext
14387 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14388 +echo "${ECHO_T}$ac_header_preproc" >&6
14390 +# So? What about this header?
14391 +case $ac_header_compiler:$ac_header_preproc in
14393 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14394 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14395 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14396 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14398 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14399 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14400 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14401 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14402 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14403 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14405 +echo "$as_me:$LINENO: checking for $ac_header" >&5
14406 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14407 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14408 + echo $ECHO_N "(cached) $ECHO_C" >&6
14410 + eval "$as_ac_Header=$ac_header_preproc"
14412 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14413 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14416 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14417 - echo "$ac_t""yes" 1>&6
14418 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14419 - cat >> confdefs.h <<EOF
14420 -#define $ac_tr_hdr 1
14424 - echo "$ac_t""no" 1>&6
14425 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14426 + cat >>confdefs.h <<_ACEOF
14427 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14434 -for ac_hdr in sys/time.h sys/resource.h
14436 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14437 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14438 -echo "configure:3201: checking for $ac_hdr" >&5
14439 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14440 - echo $ac_n "(cached) $ac_c" 1>&6
14442 - cat > conftest.$ac_ext <<EOF
14443 -#line 3206 "configure"
14444 -#include "confdefs.h"
14445 -#include <$ac_hdr>
14447 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14448 -{ (eval echo configure:3211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14449 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14450 -if test -z "$ac_err"; then
14452 - eval "ac_cv_header_$ac_safe=yes"
14455 +for ac_header in sys/time.h sys/resource.h
14457 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14458 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14459 + echo "$as_me:$LINENO: checking for $ac_header" >&5
14460 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14461 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14462 + echo $ECHO_N "(cached) $ECHO_C" >&6
14464 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14465 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14467 + # Is the header compilable?
14468 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
14469 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14470 +cat >conftest.$ac_ext <<_ACEOF
14471 +#line $LINENO "configure"
14472 +#include "confdefs.h"
14473 +$ac_includes_default
14474 +#include <$ac_header>
14476 +rm -f conftest.$ac_objext
14477 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14478 + (eval $ac_compile) 2>&5
14480 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 + (exit $ac_status); } &&
14482 + { ac_try='test -s conftest.$ac_objext'
14483 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 + (eval $ac_try) 2>&5
14486 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 + (exit $ac_status); }; }; then
14488 + ac_header_compiler=yes
14490 + echo "$as_me: failed program was:" >&5
14491 +cat conftest.$ac_ext >&5
14492 +ac_header_compiler=no
14494 +rm -f conftest.$ac_objext conftest.$ac_ext
14495 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14496 +echo "${ECHO_T}$ac_header_compiler" >&6
14498 +# Is the header present?
14499 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
14500 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14501 +cat >conftest.$ac_ext <<_ACEOF
14502 +#line $LINENO "configure"
14503 +#include "confdefs.h"
14504 +#include <$ac_header>
14506 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14507 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14509 + egrep -v '^ *\+' conftest.er1 >conftest.err
14510 + rm -f conftest.er1
14511 + cat conftest.err >&5
14512 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 + (exit $ac_status); } >/dev/null; then
14514 + if test -s conftest.err; then
14515 + ac_cpp_err=$ac_c_preproc_warn_flag
14520 - echo "$ac_err" >&5
14521 - echo "configure: failed program was:" >&5
14524 +if test -z "$ac_cpp_err"; then
14525 + ac_header_preproc=yes
14527 + echo "$as_me: failed program was:" >&5
14528 cat conftest.$ac_ext >&5
14530 - eval "ac_cv_header_$ac_safe=no"
14531 + ac_header_preproc=no
14534 +rm -f conftest.err conftest.$ac_ext
14535 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14536 +echo "${ECHO_T}$ac_header_preproc" >&6
14538 +# So? What about this header?
14539 +case $ac_header_compiler:$ac_header_preproc in
14541 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14542 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14543 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14544 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14546 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14547 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14548 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14549 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14550 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14551 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14553 +echo "$as_me:$LINENO: checking for $ac_header" >&5
14554 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14555 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14556 + echo $ECHO_N "(cached) $ECHO_C" >&6
14558 + eval "$as_ac_Header=$ac_header_preproc"
14560 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14561 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14564 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14565 - echo "$ac_t""yes" 1>&6
14566 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14567 - cat >> confdefs.h <<EOF
14568 -#define $ac_tr_hdr 1
14572 - echo "$ac_t""no" 1>&6
14573 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 + cat >>confdefs.h <<_ACEOF
14575 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14582 -for ac_hdr in unix.h
14584 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14585 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14586 -echo "configure:3241: checking for $ac_hdr" >&5
14587 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14588 - echo $ac_n "(cached) $ac_c" 1>&6
14590 - cat > conftest.$ac_ext <<EOF
14591 -#line 3246 "configure"
14592 -#include "confdefs.h"
14593 -#include <$ac_hdr>
14595 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14596 -{ (eval echo configure:3251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14597 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14598 -if test -z "$ac_err"; then
14600 - eval "ac_cv_header_$ac_safe=yes"
14602 +for ac_header in unix.h
14604 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14605 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14606 + echo "$as_me:$LINENO: checking for $ac_header" >&5
14607 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14608 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14609 + echo $ECHO_N "(cached) $ECHO_C" >&6
14611 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14612 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14614 + # Is the header compilable?
14615 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
14616 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14617 +cat >conftest.$ac_ext <<_ACEOF
14618 +#line $LINENO "configure"
14619 +#include "confdefs.h"
14620 +$ac_includes_default
14621 +#include <$ac_header>
14623 +rm -f conftest.$ac_objext
14624 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625 + (eval $ac_compile) 2>&5
14627 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 + (exit $ac_status); } &&
14629 + { ac_try='test -s conftest.$ac_objext'
14630 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14631 + (eval $ac_try) 2>&5
14633 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 + (exit $ac_status); }; }; then
14635 + ac_header_compiler=yes
14637 + echo "$as_me: failed program was:" >&5
14638 +cat conftest.$ac_ext >&5
14639 +ac_header_compiler=no
14641 +rm -f conftest.$ac_objext conftest.$ac_ext
14642 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14643 +echo "${ECHO_T}$ac_header_compiler" >&6
14645 +# Is the header present?
14646 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
14647 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14648 +cat >conftest.$ac_ext <<_ACEOF
14649 +#line $LINENO "configure"
14650 +#include "confdefs.h"
14651 +#include <$ac_header>
14653 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14654 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14656 + egrep -v '^ *\+' conftest.er1 >conftest.err
14657 + rm -f conftest.er1
14658 + cat conftest.err >&5
14659 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 + (exit $ac_status); } >/dev/null; then
14661 + if test -s conftest.err; then
14662 + ac_cpp_err=$ac_c_preproc_warn_flag
14667 - echo "$ac_err" >&5
14668 - echo "configure: failed program was:" >&5
14669 - cat conftest.$ac_ext >&5
14671 - eval "ac_cv_header_$ac_safe=no"
14675 +if test -z "$ac_cpp_err"; then
14676 + ac_header_preproc=yes
14678 + echo "$as_me: failed program was:" >&5
14679 + cat conftest.$ac_ext >&5
14680 + ac_header_preproc=no
14682 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14683 - echo "$ac_t""yes" 1>&6
14684 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14685 - cat >> confdefs.h <<EOF
14686 -#define $ac_tr_hdr 1
14689 +rm -f conftest.err conftest.$ac_ext
14690 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14691 +echo "${ECHO_T}$ac_header_preproc" >&6
14693 +# So? What about this header?
14694 +case $ac_header_compiler:$ac_header_preproc in
14696 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14697 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14698 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14699 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14701 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14702 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14703 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14704 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14705 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14706 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
14708 +echo "$as_me:$LINENO: checking for $ac_header" >&5
14709 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14710 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14711 + echo $ECHO_N "(cached) $ECHO_C" >&6
14713 - echo "$ac_t""no" 1>&6
14714 + eval "$as_ac_Header=$ac_header_preproc"
14716 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14717 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14720 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14721 + cat >>confdefs.h <<_ACEOF
14722 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14732 for ac_func in setrlimit getsid
14734 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14735 -echo "configure:3281: checking for $ac_func" >&5
14736 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14737 - echo $ac_n "(cached) $ac_c" 1>&6
14738 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14739 +echo "$as_me:$LINENO: checking for $ac_func" >&5
14740 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14741 +if eval "test \"\${$as_ac_var+set}\" = set"; then
14742 + echo $ECHO_N "(cached) $ECHO_C" >&6
14744 - cat > conftest.$ac_ext <<EOF
14745 -#line 3286 "configure"
14746 + cat >conftest.$ac_ext <<_ACEOF
14747 +#line $LINENO "configure"
14748 #include "confdefs.h"
14749 /* System header to define __stub macros and hopefully few prototypes,
14750 - which can conflict with char $ac_func(); below. */
14751 + which can conflict with char $ac_func (); below. */
14752 #include <assert.h>
14753 /* Override any gcc2 internal prototype to avoid an error. */
14754 +#ifdef __cplusplus
14757 /* We use char because int might match the return type of a gcc2
14758 - builtin and then its argument prototype would still apply. */
14762 + builtin and then its argument prototype would still apply. */
14766 +#ifdef F77_DUMMY_MAIN
14767 +# ifdef __cplusplus
14770 + int F77_DUMMY_MAIN() { return 1; }
14775 /* The GNU C library defines this for functions which it implements
14776 to always fail with ENOSYS. Some functions are actually named
14777 something starting with __ and the normal name is an alias. */
14778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14787 -if { (eval echo configure:3309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14789 - eval "ac_cv_func_$ac_func=yes"
14791 - echo "configure: failed program was:" >&5
14792 - cat conftest.$ac_ext >&5
14794 - eval "ac_cv_func_$ac_func=no"
14802 +rm -f conftest.$ac_objext conftest$ac_exeext
14803 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 + (eval $ac_link) 2>&5
14806 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 + (exit $ac_status); } &&
14808 + { ac_try='test -s conftest$ac_exeext'
14809 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 + (eval $ac_try) 2>&5
14812 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 + (exit $ac_status); }; }; then
14814 + eval "$as_ac_var=yes"
14816 + echo "$as_me: failed program was:" >&5
14817 +cat conftest.$ac_ext >&5
14818 +eval "$as_ac_var=no"
14820 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14822 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14823 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14824 +if test `eval echo '${'$as_ac_var'}'` = yes; then
14825 + cat >>confdefs.h <<_ACEOF
14826 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14829 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14830 - echo "$ac_t""yes" 1>&6
14831 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14832 - cat >> confdefs.h <<EOF
14833 -#define $ac_tr_func 1
14837 - echo "$ac_t""no" 1>&6
14842 -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
14843 -echo "configure:3335: checking return type of signal handlers" >&5
14844 -if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
14845 - echo $ac_n "(cached) $ac_c" 1>&6
14846 +echo "$as_me:$LINENO: checking return type of signal handlers" >&5
14847 +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
14848 +if test "${ac_cv_type_signal+set}" = set; then
14849 + echo $ECHO_N "(cached) $ECHO_C" >&6
14851 - cat > conftest.$ac_ext <<EOF
14852 -#line 3340 "configure"
14853 + cat >conftest.$ac_ext <<_ACEOF
14854 +#line $LINENO "configure"
14855 #include "confdefs.h"
14856 #include <sys/types.h>
14857 #include <signal.h>
14863 extern "C" void (*signal (int, void (*)(int)))(int);
14864 @@ -3351,1123 +6307,2384 @@
14865 void (*signal ()) ();
14869 +#ifdef F77_DUMMY_MAIN
14870 +# ifdef __cplusplus
14873 + int F77_DUMMY_MAIN() { return 1; }
14881 -if { (eval echo configure:3357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14887 +rm -f conftest.$ac_objext
14888 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 + (eval $ac_compile) 2>&5
14891 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 + (exit $ac_status); } &&
14893 + { ac_try='test -s conftest.$ac_objext'
14894 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895 + (eval $ac_try) 2>&5
14897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 + (exit $ac_status); }; }; then
14899 ac_cv_type_signal=void
14901 - echo "configure: failed program was:" >&5
14902 - cat conftest.$ac_ext >&5
14904 - ac_cv_type_signal=int
14905 + echo "$as_me: failed program was:" >&5
14906 +cat conftest.$ac_ext >&5
14907 +ac_cv_type_signal=int
14910 +rm -f conftest.$ac_objext conftest.$ac_ext
14912 +echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
14913 +echo "${ECHO_T}$ac_cv_type_signal" >&6
14915 -echo "$ac_t""$ac_cv_type_signal" 1>&6
14916 -cat >> confdefs.h <<EOF
14917 +cat >>confdefs.h <<_ACEOF
14918 #define RETSIGTYPE $ac_cv_type_signal
14924 -echo $ac_n "checking for sig_atomic_t in signal.h""... $ac_c" 1>&6
14925 -echo "configure:3377: checking for sig_atomic_t in signal.h" >&5
14926 -cat > conftest.$ac_ext <<EOF
14927 -#line 3379 "configure"
14928 +echo "$as_me:$LINENO: checking for sig_atomic_t in signal.h" >&5
14929 +echo $ECHO_N "checking for sig_atomic_t in signal.h... $ECHO_C" >&6
14930 +cat >conftest.$ac_ext <<_ACEOF
14931 +#line $LINENO "configure"
14932 #include "confdefs.h"
14933 #include <signal.h>
14937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14938 egrep "sig_atomic_t" >/dev/null 2>&1; then
14942 ac_cv_type_sig_atomic_t=yes;
14943 - cat > conftest.$ac_ext <<EOF
14944 -#line 3389 "configure"
14945 + cat >conftest.$ac_ext <<_ACEOF
14946 +#line $LINENO "configure"
14947 #include "confdefs.h"
14948 #include <signal.h>
14952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14953 egrep "volatile.*sig_atomic_t" >/dev/null 2>&1; then
14957 is_sig_atomic_t_volatile=yes;
14958 - echo "$ac_t""yes, volatile" 1>&6
14960 + echo "$as_me:$LINENO: result: yes, volatile" >&5
14961 +echo "${ECHO_T}yes, volatile" >&6
14967 is_sig_atomic_t_volatile=no;
14968 - echo "$ac_t""yes, non volatile" 1>&6
14970 + echo "$as_me:$LINENO: result: yes, non volatile" >&5
14971 +echo "${ECHO_T}yes, non volatile" >&6
14981 - echo "$ac_t""no" 1>&6
14982 - echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6
14983 -echo "configure:3415: checking for sig_atomic_t" >&5
14984 -if eval "test \"`echo '$''{'ac_cv_type_sig_atomic_t'+set}'`\" = set"; then
14985 - echo $ac_n "(cached) $ac_c" 1>&6
14987 + echo "$as_me:$LINENO: result: no" >&5
14988 +echo "${ECHO_T}no" >&6
14989 + echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
14990 +echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
14991 +if test "${ac_cv_type_sig_atomic_t+set}" = set; then
14992 + echo $ECHO_N "(cached) $ECHO_C" >&6
14994 - cat > conftest.$ac_ext <<EOF
14995 -#line 3420 "configure"
14996 + cat >conftest.$ac_ext <<_ACEOF
14997 +#line $LINENO "configure"
14998 #include "confdefs.h"
14999 -#include <sys/types.h>
15001 -#include <stdlib.h>
15002 -#include <stddef.h>
15003 +$ac_includes_default
15004 +#ifdef F77_DUMMY_MAIN
15005 +# ifdef __cplusplus
15008 + int F77_DUMMY_MAIN() { return 1; }
15011 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15012 - egrep "(^|[^a-zA-Z_0-9])sig_atomic_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
15017 +if ((sig_atomic_t *) 0)
15019 +if (sizeof (sig_atomic_t))
15025 +rm -f conftest.$ac_objext
15026 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15027 + (eval $ac_compile) 2>&5
15029 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 + (exit $ac_status); } &&
15031 + { ac_try='test -s conftest.$ac_objext'
15032 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15033 + (eval $ac_try) 2>&5
15035 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 + (exit $ac_status); }; }; then
15037 ac_cv_type_sig_atomic_t=yes
15040 - ac_cv_type_sig_atomic_t=no
15043 + echo "$as_me: failed program was:" >&5
15044 +cat conftest.$ac_ext >&5
15045 +ac_cv_type_sig_atomic_t=no
15047 +rm -f conftest.$ac_objext conftest.$ac_ext
15049 +echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
15050 +echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
15051 +if test $ac_cv_type_sig_atomic_t = yes; then
15056 -echo "$ac_t""$ac_cv_type_sig_atomic_t" 1>&6
15057 -if test $ac_cv_type_sig_atomic_t = no; then
15058 - cat >> confdefs.h <<\EOF
15059 +cat >>confdefs.h <<_ACEOF
15060 #define sig_atomic_t int
15066 is_sig_atomic_t_volatile=no
15072 if test $is_sig_atomic_t_volatile = 'yes'
15074 - cat >> confdefs.h <<\EOF
15075 + cat >>confdefs.h <<\_ACEOF
15076 #define SIG_ATOMIC_VOLATILE_T sig_atomic_t
15081 - cat >> confdefs.h <<\EOF
15082 + cat >>confdefs.h <<\_ACEOF
15083 #define SIG_ATOMIC_VOLATILE_T volatile sig_atomic_t
15089 -echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6
15090 -echo "configure:3466: checking for sys_siglist declaration in signal.h or unistd.h" >&5
15091 -if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then
15092 - echo $ac_n "(cached) $ac_c" 1>&6
15093 +echo "$as_me:$LINENO: checking for sys_siglist declaration in signal.h or unistd.h" >&5
15094 +echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
15095 +if test "${ac_cv_decl_sys_siglist+set}" = set; then
15096 + echo $ECHO_N "(cached) $ECHO_C" >&6
15098 - cat > conftest.$ac_ext <<EOF
15099 -#line 3471 "configure"
15100 + cat >conftest.$ac_ext <<_ACEOF
15101 +#line $LINENO "configure"
15102 #include "confdefs.h"
15103 #include <sys/types.h>
15104 #include <signal.h>
15105 /* NetBSD declares sys_siglist in unistd.h. */
15106 -#ifdef HAVE_UNISTD_H
15107 -#include <unistd.h>
15109 +# include <unistd.h>
15113 +#ifdef F77_DUMMY_MAIN
15114 +# ifdef __cplusplus
15117 + int F77_DUMMY_MAIN() { return 1; }
15122 char *msg = *(sys_siglist + 1);
15125 -if { (eval echo configure:3483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15131 +rm -f conftest.$ac_objext
15132 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15133 + (eval $ac_compile) 2>&5
15135 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 + (exit $ac_status); } &&
15137 + { ac_try='test -s conftest.$ac_objext'
15138 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 + (eval $ac_try) 2>&5
15141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 + (exit $ac_status); }; }; then
15143 ac_cv_decl_sys_siglist=yes
15145 - echo "configure: failed program was:" >&5
15146 - cat conftest.$ac_ext >&5
15148 - ac_cv_decl_sys_siglist=no
15149 + echo "$as_me: failed program was:" >&5
15150 +cat conftest.$ac_ext >&5
15151 +ac_cv_decl_sys_siglist=no
15154 +rm -f conftest.$ac_objext conftest.$ac_ext
15157 -echo "$ac_t""$ac_cv_decl_sys_siglist" 1>&6
15158 +echo "$as_me:$LINENO: result: $ac_cv_decl_sys_siglist" >&5
15159 +echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
15160 if test $ac_cv_decl_sys_siglist = yes; then
15161 - cat >> confdefs.h <<\EOF
15163 +cat >>confdefs.h <<\_ACEOF
15164 #define SYS_SIGLIST_DECLARED 1
15171 -echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15172 -echo "configure:3505: checking whether byte ordering is bigendian" >&5
15173 -if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15174 - echo $ac_n "(cached) $ac_c" 1>&6
15175 +echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15176 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
15177 +if test "${ac_cv_c_bigendian+set}" = set; then
15178 + echo $ECHO_N "(cached) $ECHO_C" >&6
15180 - ac_cv_c_bigendian=unknown
15181 -# See if sys/param.h defines the BYTE_ORDER macro.
15182 -cat > conftest.$ac_ext <<EOF
15183 -#line 3512 "configure"
15184 + # See if sys/param.h defines the BYTE_ORDER macro.
15185 +cat >conftest.$ac_ext <<_ACEOF
15186 +#line $LINENO "configure"
15187 #include "confdefs.h"
15188 #include <sys/types.h>
15189 #include <sys/param.h>
15192 +#ifdef F77_DUMMY_MAIN
15193 +# ifdef __cplusplus
15196 + int F77_DUMMY_MAIN() { return 1; }
15201 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15202 bogus endian macros
15206 -if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15213 +rm -f conftest.$ac_objext
15214 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15215 + (eval $ac_compile) 2>&5
15217 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 + (exit $ac_status); } &&
15219 + { ac_try='test -s conftest.$ac_objext'
15220 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 + (eval $ac_try) 2>&5
15223 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 + (exit $ac_status); }; }; then
15225 # It does; now see whether it defined to BIG_ENDIAN or not.
15226 -cat > conftest.$ac_ext <<EOF
15227 -#line 3527 "configure"
15228 +cat >conftest.$ac_ext <<_ACEOF
15229 +#line $LINENO "configure"
15230 #include "confdefs.h"
15231 #include <sys/types.h>
15232 #include <sys/param.h>
15235 +#ifdef F77_DUMMY_MAIN
15236 +# ifdef __cplusplus
15239 + int F77_DUMMY_MAIN() { return 1; }
15244 #if BYTE_ORDER != BIG_ENDIAN
15249 -if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15256 +rm -f conftest.$ac_objext
15257 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15258 + (eval $ac_compile) 2>&5
15260 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 + (exit $ac_status); } &&
15262 + { ac_try='test -s conftest.$ac_objext'
15263 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 + (eval $ac_try) 2>&5
15266 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 + (exit $ac_status); }; }; then
15268 ac_cv_c_bigendian=yes
15270 - echo "configure: failed program was:" >&5
15271 - cat conftest.$ac_ext >&5
15273 + echo "$as_me: failed program was:" >&5
15274 +cat conftest.$ac_ext >&5
15275 +ac_cv_c_bigendian=no
15277 +rm -f conftest.$ac_objext conftest.$ac_ext
15279 + echo "$as_me: failed program was:" >&5
15280 +cat conftest.$ac_ext >&5
15281 +# It does not; compile a test program.
15282 +if test "$cross_compiling" = yes; then
15283 + # try to guess the endianness by grepping values into an object file
15284 + ac_cv_c_bigendian=unknown
15285 + cat >conftest.$ac_ext <<_ACEOF
15286 +#line $LINENO "configure"
15287 +#include "confdefs.h"
15288 +short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15289 +short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15290 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
15291 +short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15292 +short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15293 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
15294 +#ifdef F77_DUMMY_MAIN
15295 +# ifdef __cplusplus
15298 + int F77_DUMMY_MAIN() { return 1; }
15303 + _ascii (); _ebcdic ();
15308 +rm -f conftest.$ac_objext
15309 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15310 + (eval $ac_compile) 2>&5
15312 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 + (exit $ac_status); } &&
15314 + { ac_try='test -s conftest.$ac_objext'
15315 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 + (eval $ac_try) 2>&5
15318 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 + (exit $ac_status); }; }; then
15320 + if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
15321 + ac_cv_c_bigendian=yes
15323 +if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15324 + if test "$ac_cv_c_bigendian" = unknown; then
15325 + ac_cv_c_bigendian=no
15327 + # finding both strings is unlikely to happen, but who knows?
15328 + ac_cv_c_bigendian=unknown
15332 + echo "$as_me: failed program was:" >&5
15333 +cat conftest.$ac_ext >&5
15335 +rm -f conftest.$ac_objext conftest.$ac_ext
15337 + cat >conftest.$ac_ext <<_ACEOF
15338 +#line $LINENO "configure"
15339 +#include "confdefs.h"
15343 + /* Are we little or big endian? From Harbison&Steele. */
15347 + char c[sizeof (long)];
15350 + exit (u.c[sizeof (long) - 1] == 1);
15353 +rm -f conftest$ac_exeext
15354 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15355 + (eval $ac_link) 2>&5
15357 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15358 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15359 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 + (eval $ac_try) 2>&5
15362 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 + (exit $ac_status); }; }; then
15364 ac_cv_c_bigendian=no
15366 + echo "$as_me: program exited with status $ac_status" >&5
15367 +echo "$as_me: failed program was:" >&5
15368 +cat conftest.$ac_ext >&5
15369 +( exit $ac_status )
15370 +ac_cv_c_bigendian=yes
15373 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15376 +rm -f conftest.$ac_objext conftest.$ac_ext
15378 +echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15379 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6
15380 +case $ac_cv_c_bigendian in
15383 +cat >>confdefs.h <<\_ACEOF
15384 +#define WORDS_BIGENDIAN 1
15390 + { { echo "$as_me:$LINENO: error: unknown endianness
15391 +presetting ac_cv_c_bigendian=no (or yes) will help" >&5
15392 +echo "$as_me: error: unknown endianness
15393 +presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
15394 + { (exit 1); exit 1; }; } ;;
15399 +for ac_header in inttypes.h stdint.h
15401 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15402 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15403 + echo "$as_me:$LINENO: checking for $ac_header" >&5
15404 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15405 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15406 + echo $ECHO_N "(cached) $ECHO_C" >&6
15408 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15409 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15411 + # Is the header compilable?
15412 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
15413 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15414 +cat >conftest.$ac_ext <<_ACEOF
15415 +#line $LINENO "configure"
15416 +#include "confdefs.h"
15417 +$ac_includes_default
15418 +#include <$ac_header>
15420 +rm -f conftest.$ac_objext
15421 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15422 + (eval $ac_compile) 2>&5
15424 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 + (exit $ac_status); } &&
15426 + { ac_try='test -s conftest.$ac_objext'
15427 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 + (eval $ac_try) 2>&5
15430 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 + (exit $ac_status); }; }; then
15432 + ac_header_compiler=yes
15434 + echo "$as_me: failed program was:" >&5
15435 +cat conftest.$ac_ext >&5
15436 +ac_header_compiler=no
15438 +rm -f conftest.$ac_objext conftest.$ac_ext
15439 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15440 +echo "${ECHO_T}$ac_header_compiler" >&6
15442 +# Is the header present?
15443 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
15444 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15445 +cat >conftest.$ac_ext <<_ACEOF
15446 +#line $LINENO "configure"
15447 +#include "confdefs.h"
15448 +#include <$ac_header>
15450 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15451 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15453 + egrep -v '^ *\+' conftest.er1 >conftest.err
15454 + rm -f conftest.er1
15455 + cat conftest.err >&5
15456 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 + (exit $ac_status); } >/dev/null; then
15458 + if test -s conftest.err; then
15459 + ac_cpp_err=$ac_c_preproc_warn_flag
15466 +if test -z "$ac_cpp_err"; then
15467 + ac_header_preproc=yes
15469 + echo "$as_me: failed program was:" >&5
15470 + cat conftest.$ac_ext >&5
15471 + ac_header_preproc=no
15473 +rm -f conftest.err conftest.$ac_ext
15474 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15475 +echo "${ECHO_T}$ac_header_preproc" >&6
15477 +# So? What about this header?
15478 +case $ac_header_compiler:$ac_header_preproc in
15480 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15481 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15482 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15483 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15485 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15486 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15487 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15488 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15489 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15490 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
15492 +echo "$as_me:$LINENO: checking for $ac_header" >&5
15493 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15494 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
15495 + echo $ECHO_N "(cached) $ECHO_C" >&6
15497 + eval "$as_ac_Header=$ac_header_preproc"
15499 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15500 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15503 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
15504 + cat >>confdefs.h <<_ACEOF
15505 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15512 +echo "$as_me:$LINENO: checking for uint32_t" >&5
15513 +echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15514 +cat >conftest.$ac_ext <<_ACEOF
15515 +#line $LINENO "configure"
15516 +#include "confdefs.h"
15518 +#include <sys/types.h>
15519 +#if HAVE_INTTYPES_H
15520 +#include <inttypes.h>
15523 +#include <stdint.h>
15526 +#ifdef F77_DUMMY_MAIN
15527 +# ifdef __cplusplus
15530 + int F77_DUMMY_MAIN() { return 1; }
15535 +if ((uint32_t *) 0)
15537 +if (sizeof (uint32_t))
15544 +rm -f conftest.$ac_objext
15545 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 + (eval $ac_compile) 2>&5
15548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 + (exit $ac_status); } &&
15550 + { ac_try='test -s conftest.$ac_objext'
15551 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 + (eval $ac_try) 2>&5
15554 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 + (exit $ac_status); }; }; then
15558 +cat >>confdefs.h <<\_ACEOF
15559 +#define HAVE_UINT32_T 1
15562 + echo "$as_me:$LINENO: result: yes" >&5
15563 +echo "${ECHO_T}yes" >&6
15566 + echo "$as_me: failed program was:" >&5
15567 +cat conftest.$ac_ext >&5
15568 +echo "$as_me:$LINENO: result: no" >&5
15569 +echo "${ECHO_T}no" >&6
15572 +rm -f conftest.$ac_objext conftest.$ac_ext
15573 +echo "$as_me:$LINENO: checking for int" >&5
15574 +echo $ECHO_N "checking for int... $ECHO_C" >&6
15575 +if test "${ac_cv_type_int+set}" = set; then
15576 + echo $ECHO_N "(cached) $ECHO_C" >&6
15578 + cat >conftest.$ac_ext <<_ACEOF
15579 +#line $LINENO "configure"
15580 +#include "confdefs.h"
15581 +$ac_includes_default
15582 +#ifdef F77_DUMMY_MAIN
15583 +# ifdef __cplusplus
15586 + int F77_DUMMY_MAIN() { return 1; }
15599 +rm -f conftest.$ac_objext
15600 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15601 + (eval $ac_compile) 2>&5
15603 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 + (exit $ac_status); } &&
15605 + { ac_try='test -s conftest.$ac_objext'
15606 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607 + (eval $ac_try) 2>&5
15609 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 + (exit $ac_status); }; }; then
15611 + ac_cv_type_int=yes
15613 + echo "$as_me: failed program was:" >&5
15614 +cat conftest.$ac_ext >&5
15617 +rm -f conftest.$ac_objext conftest.$ac_ext
15619 +echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15620 +echo "${ECHO_T}$ac_cv_type_int" >&6
15622 +echo "$as_me:$LINENO: checking size of int" >&5
15623 +echo $ECHO_N "checking size of int... $ECHO_C" >&6
15624 +if test "${ac_cv_sizeof_int+set}" = set; then
15625 + echo $ECHO_N "(cached) $ECHO_C" >&6
15627 + if test "$ac_cv_type_int" = yes; then
15628 + # The cast to unsigned long works around a bug in the HP C Compiler
15629 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15630 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15631 + # This bug is HP SR number 8606223364.
15632 + if test "$cross_compiling" = yes; then
15633 + # Depending upon the size, compute the lo and hi bounds.
15634 +cat >conftest.$ac_ext <<_ACEOF
15635 +#line $LINENO "configure"
15636 +#include "confdefs.h"
15637 +$ac_includes_default
15638 +#ifdef F77_DUMMY_MAIN
15639 +# ifdef __cplusplus
15642 + int F77_DUMMY_MAIN() { return 1; }
15647 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15648 +test_array [0] = 0
15654 +rm -f conftest.$ac_objext
15655 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15656 + (eval $ac_compile) 2>&5
15658 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 + (exit $ac_status); } &&
15660 + { ac_try='test -s conftest.$ac_objext'
15661 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 + (eval $ac_try) 2>&5
15664 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 + (exit $ac_status); }; }; then
15668 + cat >conftest.$ac_ext <<_ACEOF
15669 +#line $LINENO "configure"
15670 +#include "confdefs.h"
15671 +$ac_includes_default
15672 +#ifdef F77_DUMMY_MAIN
15673 +# ifdef __cplusplus
15676 + int F77_DUMMY_MAIN() { return 1; }
15681 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15682 +test_array [0] = 0
15688 +rm -f conftest.$ac_objext
15689 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15690 + (eval $ac_compile) 2>&5
15692 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 + (exit $ac_status); } &&
15694 + { ac_try='test -s conftest.$ac_objext'
15695 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15696 + (eval $ac_try) 2>&5
15698 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 + (exit $ac_status); }; }; then
15700 + ac_hi=$ac_mid; break
15702 + echo "$as_me: failed program was:" >&5
15703 +cat conftest.$ac_ext >&5
15704 +ac_lo=`expr $ac_mid + 1`
15705 + if test $ac_lo -le $ac_mid; then
15709 + ac_mid=`expr 2 '*' $ac_mid + 1`
15711 +rm -f conftest.$ac_objext conftest.$ac_ext
15714 - echo "configure: failed program was:" >&5
15715 - cat conftest.$ac_ext >&5
15716 + echo "$as_me: failed program was:" >&5
15717 +cat conftest.$ac_ext >&5
15718 +cat >conftest.$ac_ext <<_ACEOF
15719 +#line $LINENO "configure"
15720 +#include "confdefs.h"
15721 +$ac_includes_default
15722 +#ifdef F77_DUMMY_MAIN
15723 +# ifdef __cplusplus
15726 + int F77_DUMMY_MAIN() { return 1; }
15731 +static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15732 +test_array [0] = 0
15738 +rm -f conftest.$ac_objext
15739 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15740 + (eval $ac_compile) 2>&5
15742 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 + (exit $ac_status); } &&
15744 + { ac_try='test -s conftest.$ac_objext'
15745 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 + (eval $ac_try) 2>&5
15748 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 + (exit $ac_status); }; }; then
15750 + ac_hi=-1 ac_mid=-1
15752 + cat >conftest.$ac_ext <<_ACEOF
15753 +#line $LINENO "configure"
15754 +#include "confdefs.h"
15755 +$ac_includes_default
15756 +#ifdef F77_DUMMY_MAIN
15757 +# ifdef __cplusplus
15760 + int F77_DUMMY_MAIN() { return 1; }
15765 +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15766 +test_array [0] = 0
15772 +rm -f conftest.$ac_objext
15773 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15774 + (eval $ac_compile) 2>&5
15776 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 + (exit $ac_status); } &&
15778 + { ac_try='test -s conftest.$ac_objext'
15779 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 + (eval $ac_try) 2>&5
15782 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 + (exit $ac_status); }; }; then
15784 + ac_lo=$ac_mid; break
15786 + echo "$as_me: failed program was:" >&5
15787 +cat conftest.$ac_ext >&5
15788 +ac_hi=`expr '(' $ac_mid ')' - 1`
15789 + if test $ac_mid -le $ac_hi; then
15793 + ac_mid=`expr 2 '*' $ac_mid`
15796 -if test $ac_cv_c_bigendian = unknown; then
15797 -if test "$cross_compiling" = yes; then
15798 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
15799 +rm -f conftest.$ac_objext conftest.$ac_ext
15802 - cat > conftest.$ac_ext <<EOF
15803 -#line 3558 "configure"
15804 -#include "confdefs.h"
15806 - /* Are we little or big endian? From Harbison&Steele. */
15810 - char c[sizeof (long)];
15813 - exit (u.c[sizeof (long) - 1] == 1);
15814 + echo "$as_me: failed program was:" >&5
15815 +cat conftest.$ac_ext >&5
15818 +rm -f conftest.$ac_objext conftest.$ac_ext
15820 +rm -f conftest.$ac_objext conftest.$ac_ext
15821 +# Binary search between lo and hi bounds.
15822 +while test "x$ac_lo" != "x$ac_hi"; do
15823 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15824 + cat >conftest.$ac_ext <<_ACEOF
15825 +#line $LINENO "configure"
15826 +#include "confdefs.h"
15827 +$ac_includes_default
15828 +#ifdef F77_DUMMY_MAIN
15829 +# ifdef __cplusplus
15832 + int F77_DUMMY_MAIN() { return 1; }
15837 +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15838 +test_array [0] = 0
15844 -if { (eval echo configure:3571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15846 - ac_cv_c_bigendian=no
15848 +rm -f conftest.$ac_objext
15849 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15850 + (eval $ac_compile) 2>&5
15852 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 + (exit $ac_status); } &&
15854 + { ac_try='test -s conftest.$ac_objext'
15855 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 + (eval $ac_try) 2>&5
15858 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 + (exit $ac_status); }; }; then
15862 + echo "$as_me: failed program was:" >&5
15863 +cat conftest.$ac_ext >&5
15864 +ac_lo=`expr '(' $ac_mid ')' + 1`
15866 +rm -f conftest.$ac_objext conftest.$ac_ext
15869 +?*) ac_cv_sizeof_int=$ac_lo;;
15870 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
15871 +echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
15872 + { (exit 1); exit 1; }; } ;;
15875 - echo "configure: failed program was:" >&5
15876 - cat conftest.$ac_ext >&5
15878 - ac_cv_c_bigendian=yes
15882 + if test "$cross_compiling" = yes; then
15883 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
15884 +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
15885 + { (exit 1); exit 1; }; }
15887 + cat >conftest.$ac_ext <<_ACEOF
15888 +#line $LINENO "configure"
15889 +#include "confdefs.h"
15890 +$ac_includes_default
15891 +long longval () { return (long) (sizeof (int)); }
15892 +unsigned long ulongval () { return (long) (sizeof (int)); }
15893 +#include <stdio.h>
15894 +#include <stdlib.h>
15895 +#ifdef F77_DUMMY_MAIN
15896 +# ifdef __cplusplus
15899 + int F77_DUMMY_MAIN() { return 1; }
15905 + FILE *f = fopen ("conftest.val", "w");
15908 + if (((long) (sizeof (int))) < 0)
15910 + long i = longval ();
15911 + if (i != ((long) (sizeof (int))))
15913 + fprintf (f, "%ld\n", i);
15917 + unsigned long i = ulongval ();
15918 + if (i != ((long) (sizeof (int))))
15920 + fprintf (f, "%lu\n", i);
15922 + exit (ferror (f) || fclose (f) != 0);
15928 +rm -f conftest$ac_exeext
15929 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15930 + (eval $ac_link) 2>&5
15932 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15934 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 + (eval $ac_try) 2>&5
15937 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 + (exit $ac_status); }; }; then
15939 + ac_cv_sizeof_int=`cat conftest.val`
15941 + echo "$as_me: program exited with status $ac_status" >&5
15942 +echo "$as_me: failed program was:" >&5
15943 +cat conftest.$ac_ext >&5
15944 +( exit $ac_status )
15945 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
15946 +echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
15947 + { (exit 1); exit 1; }; }
15949 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15952 -echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15953 -if test $ac_cv_c_bigendian = yes; then
15954 - cat >> confdefs.h <<\EOF
15955 -#define WORDS_BIGENDIAN 1
15960 -for ac_hdr in inttypes.h stdint.h
15962 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15963 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15964 -echo "configure:3598: checking for $ac_hdr" >&5
15965 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15966 - echo $ac_n "(cached) $ac_c" 1>&6
15967 +rm -f conftest.val
15969 - cat > conftest.$ac_ext <<EOF
15970 -#line 3603 "configure"
15971 -#include "confdefs.h"
15972 -#include <$ac_hdr>
15974 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15975 -{ (eval echo configure:3608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15976 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15977 -if test -z "$ac_err"; then
15979 - eval "ac_cv_header_$ac_safe=yes"
15981 - echo "$ac_err" >&5
15982 - echo "configure: failed program was:" >&5
15983 - cat conftest.$ac_ext >&5
15985 - eval "ac_cv_header_$ac_safe=no"
15988 + ac_cv_sizeof_int=0
15990 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15991 - echo "$ac_t""yes" 1>&6
15992 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15993 - cat >> confdefs.h <<EOF
15994 -#define $ac_tr_hdr 1
15998 - echo "$ac_t""no" 1>&6
16001 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16002 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16003 +cat >>confdefs.h <<_ACEOF
16004 +#define SIZEOF_INT $ac_cv_sizeof_int
16007 -echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
16008 -echo "configure:3635: checking for uint32_t" >&5
16009 -cat > conftest.$ac_ext <<EOF
16010 -#line 3637 "configure"
16011 -#include "confdefs.h"
16013 -#include <sys/types.h>
16014 -#if HAVE_INTTYPES_H
16015 -#include <inttypes.h>
16018 -#include <stdint.h>
16020 +echo "$as_me:$LINENO: checking for long" >&5
16021 +echo $ECHO_N "checking for long... $ECHO_C" >&6
16022 +if test "${ac_cv_type_long+set}" = set; then
16023 + echo $ECHO_N "(cached) $ECHO_C" >&6
16025 + cat >conftest.$ac_ext <<_ACEOF
16026 +#line $LINENO "configure"
16027 +#include "confdefs.h"
16028 +$ac_includes_default
16029 +#ifdef F77_DUMMY_MAIN
16030 +# ifdef __cplusplus
16033 + int F77_DUMMY_MAIN() { return 1; }
16036 -if ((uint32_t *) 0)
16042 -if (sizeof (uint32_t))
16043 +if (sizeof (long))
16049 +rm -f conftest.$ac_objext
16050 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 + (eval $ac_compile) 2>&5
16053 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 + (exit $ac_status); } &&
16055 + { ac_try='test -s conftest.$ac_objext'
16056 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 + (eval $ac_try) 2>&5
16059 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 + (exit $ac_status); }; }; then
16061 + ac_cv_type_long=yes
16063 + echo "$as_me: failed program was:" >&5
16064 +cat conftest.$ac_ext >&5
16065 +ac_cv_type_long=no
16067 +rm -f conftest.$ac_objext conftest.$ac_ext
16069 +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16070 +echo "${ECHO_T}$ac_cv_type_long" >&6
16072 +echo "$as_me:$LINENO: checking size of long" >&5
16073 +echo $ECHO_N "checking size of long... $ECHO_C" >&6
16074 +if test "${ac_cv_sizeof_long+set}" = set; then
16075 + echo $ECHO_N "(cached) $ECHO_C" >&6
16077 + if test "$ac_cv_type_long" = yes; then
16078 + # The cast to unsigned long works around a bug in the HP C Compiler
16079 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16080 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16081 + # This bug is HP SR number 8606223364.
16082 + if test "$cross_compiling" = yes; then
16083 + # Depending upon the size, compute the lo and hi bounds.
16084 +cat >conftest.$ac_ext <<_ACEOF
16085 +#line $LINENO "configure"
16086 +#include "confdefs.h"
16087 +$ac_includes_default
16088 +#ifdef F77_DUMMY_MAIN
16089 +# ifdef __cplusplus
16092 + int F77_DUMMY_MAIN() { return 1; }
16097 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16098 +test_array [0] = 0
16102 -if { (eval echo configure:3656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16105 - cat >> confdefs.h <<\EOF
16106 -#define HAVE_UINT32_T 1
16109 - echo "$ac_t""yes" 1>&6
16112 - echo "configure: failed program was:" >&5
16113 - cat conftest.$ac_ext >&5
16115 - echo "$ac_t""no" 1>&6
16120 +rm -f conftest.$ac_objext
16121 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16122 + (eval $ac_compile) 2>&5
16124 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 + (exit $ac_status); } &&
16126 + { ac_try='test -s conftest.$ac_objext'
16127 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 + (eval $ac_try) 2>&5
16130 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 + (exit $ac_status); }; }; then
16134 + cat >conftest.$ac_ext <<_ACEOF
16135 +#line $LINENO "configure"
16136 +#include "confdefs.h"
16137 +$ac_includes_default
16138 +#ifdef F77_DUMMY_MAIN
16139 +# ifdef __cplusplus
16142 + int F77_DUMMY_MAIN() { return 1; }
16147 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16148 +test_array [0] = 0
16154 +rm -f conftest.$ac_objext
16155 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16156 + (eval $ac_compile) 2>&5
16158 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 + (exit $ac_status); } &&
16160 + { ac_try='test -s conftest.$ac_objext'
16161 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 + (eval $ac_try) 2>&5
16164 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 + (exit $ac_status); }; }; then
16166 + ac_hi=$ac_mid; break
16168 + echo "$as_me: failed program was:" >&5
16169 +cat conftest.$ac_ext >&5
16170 +ac_lo=`expr $ac_mid + 1`
16171 + if test $ac_lo -le $ac_mid; then
16175 + ac_mid=`expr 2 '*' $ac_mid + 1`
16178 -echo $ac_n "checking size of int""... $ac_c" 1>&6
16179 -echo "configure:3674: checking size of int" >&5
16180 -if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
16181 - echo $ac_n "(cached) $ac_c" 1>&6
16183 - if test "$cross_compiling" = yes; then
16184 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
16185 +rm -f conftest.$ac_objext conftest.$ac_ext
16188 - cat > conftest.$ac_ext <<EOF
16189 -#line 3682 "configure"
16190 -#include "confdefs.h"
16191 -#include <stdio.h>
16192 -#include <sys/types.h>
16194 + echo "$as_me: failed program was:" >&5
16195 +cat conftest.$ac_ext >&5
16196 +cat >conftest.$ac_ext <<_ACEOF
16197 +#line $LINENO "configure"
16198 +#include "confdefs.h"
16199 +$ac_includes_default
16200 +#ifdef F77_DUMMY_MAIN
16201 +# ifdef __cplusplus
16204 + int F77_DUMMY_MAIN() { return 1; }
16209 - FILE *f=fopen("conftestval", "w");
16211 - fprintf(f, "%d\n", sizeof(int));
16213 +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16214 +test_array [0] = 0
16220 -if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16222 - ac_cv_sizeof_int=`cat conftestval`
16224 - echo "configure: failed program was:" >&5
16225 - cat conftest.$ac_ext >&5
16227 - ac_cv_sizeof_int=0
16232 +rm -f conftest.$ac_objext
16233 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 + (eval $ac_compile) 2>&5
16236 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 + (exit $ac_status); } &&
16238 + { ac_try='test -s conftest.$ac_objext'
16239 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 + (eval $ac_try) 2>&5
16242 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 + (exit $ac_status); }; }; then
16244 + ac_hi=-1 ac_mid=-1
16246 + cat >conftest.$ac_ext <<_ACEOF
16247 +#line $LINENO "configure"
16248 +#include "confdefs.h"
16249 +$ac_includes_default
16250 +#ifdef F77_DUMMY_MAIN
16251 +# ifdef __cplusplus
16254 + int F77_DUMMY_MAIN() { return 1; }
16259 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16260 +test_array [0] = 0
16266 +rm -f conftest.$ac_objext
16267 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16268 + (eval $ac_compile) 2>&5
16270 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 + (exit $ac_status); } &&
16272 + { ac_try='test -s conftest.$ac_objext'
16273 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16274 + (eval $ac_try) 2>&5
16276 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 + (exit $ac_status); }; }; then
16278 + ac_lo=$ac_mid; break
16280 + echo "$as_me: failed program was:" >&5
16281 +cat conftest.$ac_ext >&5
16282 +ac_hi=`expr '(' $ac_mid ')' - 1`
16283 + if test $ac_mid -le $ac_hi; then
16287 + ac_mid=`expr 2 '*' $ac_mid`
16289 -echo "$ac_t""$ac_cv_sizeof_int" 1>&6
16290 -cat >> confdefs.h <<EOF
16291 -#define SIZEOF_INT $ac_cv_sizeof_int
16294 +rm -f conftest.$ac_objext conftest.$ac_ext
16297 + echo "$as_me: failed program was:" >&5
16298 +cat conftest.$ac_ext >&5
16301 +rm -f conftest.$ac_objext conftest.$ac_ext
16303 +rm -f conftest.$ac_objext conftest.$ac_ext
16304 +# Binary search between lo and hi bounds.
16305 +while test "x$ac_lo" != "x$ac_hi"; do
16306 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16307 + cat >conftest.$ac_ext <<_ACEOF
16308 +#line $LINENO "configure"
16309 +#include "confdefs.h"
16310 +$ac_includes_default
16311 +#ifdef F77_DUMMY_MAIN
16312 +# ifdef __cplusplus
16315 + int F77_DUMMY_MAIN() { return 1; }
16320 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16321 +test_array [0] = 0
16323 -echo $ac_n "checking size of long""... $ac_c" 1>&6
16324 -echo "configure:3714: checking size of long" >&5
16325 -if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
16326 - echo $ac_n "(cached) $ac_c" 1>&6
16331 +rm -f conftest.$ac_objext
16332 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16333 + (eval $ac_compile) 2>&5
16335 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 + (exit $ac_status); } &&
16337 + { ac_try='test -s conftest.$ac_objext'
16338 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16339 + (eval $ac_try) 2>&5
16341 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 + (exit $ac_status); }; }; then
16345 + echo "$as_me: failed program was:" >&5
16346 +cat conftest.$ac_ext >&5
16347 +ac_lo=`expr '(' $ac_mid ')' + 1`
16349 +rm -f conftest.$ac_objext conftest.$ac_ext
16352 +?*) ac_cv_sizeof_long=$ac_lo;;
16353 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
16354 +echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
16355 + { (exit 1); exit 1; }; } ;;
16358 if test "$cross_compiling" = yes; then
16359 - { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
16361 - cat > conftest.$ac_ext <<EOF
16362 -#line 3722 "configure"
16363 -#include "confdefs.h"
16364 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
16365 +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
16366 + { (exit 1); exit 1; }; }
16368 + cat >conftest.$ac_ext <<_ACEOF
16369 +#line $LINENO "configure"
16370 +#include "confdefs.h"
16371 +$ac_includes_default
16372 +long longval () { return (long) (sizeof (long)); }
16373 +unsigned long ulongval () { return (long) (sizeof (long)); }
16375 -#include <sys/types.h>
16377 +#include <stdlib.h>
16378 +#ifdef F77_DUMMY_MAIN
16379 +# ifdef __cplusplus
16382 + int F77_DUMMY_MAIN() { return 1; }
16387 - FILE *f=fopen("conftestval", "w");
16389 - fprintf(f, "%d\n", sizeof(long));
16392 + FILE *f = fopen ("conftest.val", "w");
16395 + if (((long) (sizeof (long))) < 0)
16397 + long i = longval ();
16398 + if (i != ((long) (sizeof (long))))
16400 + fprintf (f, "%ld\n", i);
16404 + unsigned long i = ulongval ();
16405 + if (i != ((long) (sizeof (long))))
16407 + fprintf (f, "%lu\n", i);
16409 + exit (ferror (f) || fclose (f) != 0);
16415 -if { (eval echo configure:3734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
16417 - ac_cv_sizeof_long=`cat conftestval`
16419 +rm -f conftest$ac_exeext
16420 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16421 + (eval $ac_link) 2>&5
16423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16425 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16426 + (eval $ac_try) 2>&5
16428 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 + (exit $ac_status); }; }; then
16430 + ac_cv_sizeof_long=`cat conftest.val`
16432 + echo "$as_me: program exited with status $ac_status" >&5
16433 +echo "$as_me: failed program was:" >&5
16434 +cat conftest.$ac_ext >&5
16435 +( exit $ac_status )
16436 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5
16437 +echo "$as_me: error: cannot compute sizeof (long), 77" >&2;}
16438 + { (exit 1); exit 1; }; }
16440 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16443 +rm -f conftest.val
16445 - echo "configure: failed program was:" >&5
16446 - cat conftest.$ac_ext >&5
16448 ac_cv_sizeof_long=0
16454 -echo "$ac_t""$ac_cv_sizeof_long" 1>&6
16455 -cat >> confdefs.h <<EOF
16456 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16457 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16458 +cat >>confdefs.h <<_ACEOF
16459 #define SIZEOF_LONG $ac_cv_sizeof_long
16465 -echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16466 -echo "configure:3755: checking for pid_t" >&5
16467 -if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16468 - echo $ac_n "(cached) $ac_c" 1>&6
16469 +echo "$as_me:$LINENO: checking for pid_t" >&5
16470 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16471 +if test "${ac_cv_type_pid_t+set}" = set; then
16472 + echo $ECHO_N "(cached) $ECHO_C" >&6
16474 - cat > conftest.$ac_ext <<EOF
16475 -#line 3760 "configure"
16476 + cat >conftest.$ac_ext <<_ACEOF
16477 +#line $LINENO "configure"
16478 #include "confdefs.h"
16479 -#include <sys/types.h>
16481 -#include <stdlib.h>
16482 -#include <stddef.h>
16483 +$ac_includes_default
16484 +#ifdef F77_DUMMY_MAIN
16485 +# ifdef __cplusplus
16488 + int F77_DUMMY_MAIN() { return 1; }
16491 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16492 - egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
16499 +if (sizeof (pid_t))
16505 +rm -f conftest.$ac_objext
16506 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16507 + (eval $ac_compile) 2>&5
16509 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 + (exit $ac_status); } &&
16511 + { ac_try='test -s conftest.$ac_objext'
16512 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 + (eval $ac_try) 2>&5
16515 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 + (exit $ac_status); }; }; then
16517 ac_cv_type_pid_t=yes
16520 - ac_cv_type_pid_t=no
16523 + echo "$as_me: failed program was:" >&5
16524 +cat conftest.$ac_ext >&5
16525 +ac_cv_type_pid_t=no
16527 +rm -f conftest.$ac_objext conftest.$ac_ext
16529 +echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16530 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16531 +if test $ac_cv_type_pid_t = yes; then
16536 -echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16537 -if test $ac_cv_type_pid_t = no; then
16538 - cat >> confdefs.h <<\EOF
16539 +cat >>confdefs.h <<_ACEOF
16552 for ac_func in fgetpos memmove setegid srand48 strerror
16554 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16555 -echo "configure:3791: checking for $ac_func" >&5
16556 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16557 - echo $ac_n "(cached) $ac_c" 1>&6
16558 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16559 +echo "$as_me:$LINENO: checking for $ac_func" >&5
16560 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16561 +if eval "test \"\${$as_ac_var+set}\" = set"; then
16562 + echo $ECHO_N "(cached) $ECHO_C" >&6
16564 - cat > conftest.$ac_ext <<EOF
16565 -#line 3796 "configure"
16566 + cat >conftest.$ac_ext <<_ACEOF
16567 +#line $LINENO "configure"
16568 #include "confdefs.h"
16569 /* System header to define __stub macros and hopefully few prototypes,
16570 - which can conflict with char $ac_func(); below. */
16571 + which can conflict with char $ac_func (); below. */
16572 #include <assert.h>
16573 /* Override any gcc2 internal prototype to avoid an error. */
16574 +#ifdef __cplusplus
16577 /* We use char because int might match the return type of a gcc2
16578 - builtin and then its argument prototype would still apply. */
16582 + builtin and then its argument prototype would still apply. */
16586 +#ifdef F77_DUMMY_MAIN
16587 +# ifdef __cplusplus
16590 + int F77_DUMMY_MAIN() { return 1; }
16595 /* The GNU C library defines this for functions which it implements
16596 to always fail with ENOSYS. Some functions are actually named
16597 something starting with __ and the normal name is an alias. */
16598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16607 -if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16609 - eval "ac_cv_func_$ac_func=yes"
16611 - echo "configure: failed program was:" >&5
16612 - cat conftest.$ac_ext >&5
16614 - eval "ac_cv_func_$ac_func=no"
16622 +rm -f conftest.$ac_objext conftest$ac_exeext
16623 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16624 + (eval $ac_link) 2>&5
16626 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 + (exit $ac_status); } &&
16628 + { ac_try='test -s conftest$ac_exeext'
16629 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 + (eval $ac_try) 2>&5
16632 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 + (exit $ac_status); }; }; then
16634 + eval "$as_ac_var=yes"
16636 + echo "$as_me: failed program was:" >&5
16637 +cat conftest.$ac_ext >&5
16638 +eval "$as_ac_var=no"
16640 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16642 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16643 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16644 +if test `eval echo '${'$as_ac_var'}'` = yes; then
16645 + cat >>confdefs.h <<_ACEOF
16646 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16649 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16650 - echo "$ac_t""yes" 1>&6
16651 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16652 - cat >> confdefs.h <<EOF
16653 -#define $ac_tr_func 1
16657 - echo "$ac_t""no" 1>&6
16664 for ac_func in strcasecmp strdup
16666 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16667 -echo "configure:3847: checking for $ac_func" >&5
16668 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16669 - echo $ac_n "(cached) $ac_c" 1>&6
16670 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16671 +echo "$as_me:$LINENO: checking for $ac_func" >&5
16672 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16673 +if eval "test \"\${$as_ac_var+set}\" = set"; then
16674 + echo $ECHO_N "(cached) $ECHO_C" >&6
16676 - cat > conftest.$ac_ext <<EOF
16677 -#line 3852 "configure"
16678 + cat >conftest.$ac_ext <<_ACEOF
16679 +#line $LINENO "configure"
16680 #include "confdefs.h"
16681 /* System header to define __stub macros and hopefully few prototypes,
16682 - which can conflict with char $ac_func(); below. */
16683 + which can conflict with char $ac_func (); below. */
16684 #include <assert.h>
16685 /* Override any gcc2 internal prototype to avoid an error. */
16686 +#ifdef __cplusplus
16689 /* We use char because int might match the return type of a gcc2
16690 - builtin and then its argument prototype would still apply. */
16694 + builtin and then its argument prototype would still apply. */
16698 +#ifdef F77_DUMMY_MAIN
16699 +# ifdef __cplusplus
16702 + int F77_DUMMY_MAIN() { return 1; }
16707 /* The GNU C library defines this for functions which it implements
16708 to always fail with ENOSYS. Some functions are actually named
16709 something starting with __ and the normal name is an alias. */
16710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16719 -if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16721 - eval "ac_cv_func_$ac_func=yes"
16726 +rm -f conftest.$ac_objext conftest$ac_exeext
16727 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16728 + (eval $ac_link) 2>&5
16730 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 + (exit $ac_status); } &&
16732 + { ac_try='test -s conftest$ac_exeext'
16733 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 + (eval $ac_try) 2>&5
16736 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 + (exit $ac_status); }; }; then
16738 + eval "$as_ac_var=yes"
16740 - echo "configure: failed program was:" >&5
16741 - cat conftest.$ac_ext >&5
16743 - eval "ac_cv_func_$ac_func=no"
16744 + echo "$as_me: failed program was:" >&5
16745 +cat conftest.$ac_ext >&5
16746 +eval "$as_ac_var=no"
16749 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16751 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16752 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16753 +if test `eval echo '${'$as_ac_var'}'` = yes; then
16754 + cat >>confdefs.h <<_ACEOF
16755 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16758 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16759 - echo "$ac_t""yes" 1>&6
16760 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16761 - cat >> confdefs.h <<EOF
16762 -#define $ac_tr_func 1
16766 - echo "$ac_t""no" 1>&6
16767 -LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
16768 + LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
16774 -echo $ac_n "checking for getopt""... $ac_c" 1>&6
16775 -echo "configure:3903: checking for getopt" >&5
16776 -if eval "test \"`echo '$''{'ac_cv_func_getopt'+set}'`\" = set"; then
16777 - echo $ac_n "(cached) $ac_c" 1>&6
16778 +echo "$as_me:$LINENO: checking for getopt" >&5
16779 +echo $ECHO_N "checking for getopt... $ECHO_C" >&6
16780 +if test "${ac_cv_func_getopt+set}" = set; then
16781 + echo $ECHO_N "(cached) $ECHO_C" >&6
16783 - cat > conftest.$ac_ext <<EOF
16784 -#line 3908 "configure"
16785 + cat >conftest.$ac_ext <<_ACEOF
16786 +#line $LINENO "configure"
16787 #include "confdefs.h"
16788 /* System header to define __stub macros and hopefully few prototypes,
16789 - which can conflict with char getopt(); below. */
16790 + which can conflict with char getopt (); below. */
16791 #include <assert.h>
16792 /* Override any gcc2 internal prototype to avoid an error. */
16793 +#ifdef __cplusplus
16796 /* We use char because int might match the return type of a gcc2
16797 - builtin and then its argument prototype would still apply. */
16801 + builtin and then its argument prototype would still apply. */
16805 +#ifdef F77_DUMMY_MAIN
16806 +# ifdef __cplusplus
16809 + int F77_DUMMY_MAIN() { return 1; }
16814 /* The GNU C library defines this for functions which it implements
16815 to always fail with ENOSYS. Some functions are actually named
16816 something starting with __ and the normal name is an alias. */
16817 #if defined (__stub_getopt) || defined (__stub___getopt)
16826 -if { (eval echo configure:3931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16828 - eval "ac_cv_func_getopt=yes"
16830 - echo "configure: failed program was:" >&5
16831 - cat conftest.$ac_ext >&5
16833 - eval "ac_cv_func_getopt=no"
16840 +rm -f conftest.$ac_objext conftest$ac_exeext
16841 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16842 + (eval $ac_link) 2>&5
16844 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 + (exit $ac_status); } &&
16846 + { ac_try='test -s conftest$ac_exeext'
16847 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 + (eval $ac_try) 2>&5
16850 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 + (exit $ac_status); }; }; then
16852 + ac_cv_func_getopt=yes
16854 + echo "$as_me: failed program was:" >&5
16855 +cat conftest.$ac_ext >&5
16856 +ac_cv_func_getopt=no
16859 -if eval "test \"`echo '$ac_cv_func_'getopt`\" = yes"; then
16860 - echo "$ac_t""yes" 1>&6
16863 - echo "$ac_t""no" 1>&6
16864 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16866 +echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5
16867 +echo "${ECHO_T}$ac_cv_func_getopt" >&6
16869 if test $ac_cv_func_getopt = yes; then
16870 - for ac_hdr in getopt.h
16872 +for ac_header in getopt.h
16874 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16875 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16876 -echo "configure:3955: checking for $ac_hdr" >&5
16877 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16878 - echo $ac_n "(cached) $ac_c" 1>&6
16880 - cat > conftest.$ac_ext <<EOF
16881 -#line 3960 "configure"
16882 -#include "confdefs.h"
16883 -#include <$ac_hdr>
16885 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16886 -{ (eval echo configure:3965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16887 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16888 -if test -z "$ac_err"; then
16890 - eval "ac_cv_header_$ac_safe=yes"
16891 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16892 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16893 + echo "$as_me:$LINENO: checking for $ac_header" >&5
16894 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16895 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16896 + echo $ECHO_N "(cached) $ECHO_C" >&6
16898 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16899 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16901 + # Is the header compilable?
16902 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
16903 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16904 +cat >conftest.$ac_ext <<_ACEOF
16905 +#line $LINENO "configure"
16906 +#include "confdefs.h"
16907 +$ac_includes_default
16908 +#include <$ac_header>
16910 +rm -f conftest.$ac_objext
16911 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16912 + (eval $ac_compile) 2>&5
16914 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 + (exit $ac_status); } &&
16916 + { ac_try='test -s conftest.$ac_objext'
16917 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 + (eval $ac_try) 2>&5
16920 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 + (exit $ac_status); }; }; then
16922 + ac_header_compiler=yes
16924 + echo "$as_me: failed program was:" >&5
16925 +cat conftest.$ac_ext >&5
16926 +ac_header_compiler=no
16928 +rm -f conftest.$ac_objext conftest.$ac_ext
16929 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16930 +echo "${ECHO_T}$ac_header_compiler" >&6
16932 +# Is the header present?
16933 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
16934 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16935 +cat >conftest.$ac_ext <<_ACEOF
16936 +#line $LINENO "configure"
16937 +#include "confdefs.h"
16938 +#include <$ac_header>
16940 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16941 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16943 + egrep -v '^ *\+' conftest.er1 >conftest.err
16944 + rm -f conftest.er1
16945 + cat conftest.err >&5
16946 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 + (exit $ac_status); } >/dev/null; then
16948 + if test -s conftest.err; then
16949 + ac_cpp_err=$ac_c_preproc_warn_flag
16954 - echo "$ac_err" >&5
16955 - echo "configure: failed program was:" >&5
16956 - cat conftest.$ac_ext >&5
16958 - eval "ac_cv_header_$ac_safe=no"
16962 +if test -z "$ac_cpp_err"; then
16963 + ac_header_preproc=yes
16965 + echo "$as_me: failed program was:" >&5
16966 + cat conftest.$ac_ext >&5
16967 + ac_header_preproc=no
16969 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16970 - echo "$ac_t""yes" 1>&6
16971 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16972 - cat >> confdefs.h <<EOF
16973 -#define $ac_tr_hdr 1
16976 +rm -f conftest.err conftest.$ac_ext
16977 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16978 +echo "${ECHO_T}$ac_header_preproc" >&6
16980 +# So? What about this header?
16981 +case $ac_header_compiler:$ac_header_preproc in
16983 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16984 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16985 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16986 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16988 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16989 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16990 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16991 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16992 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16993 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
16995 +echo "$as_me:$LINENO: checking for $ac_header" >&5
16996 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16997 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
16998 + echo $ECHO_N "(cached) $ECHO_C" >&6
17000 - echo "$ac_t""no" 1>&6
17001 + eval "$as_ac_Header=$ac_header_preproc"
17003 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17004 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17007 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
17008 + cat >>confdefs.h <<_ACEOF
17009 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17018 mutt_cv_snprintf=no
17021 for ac_func in snprintf
17023 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17024 -echo "configure:3998: checking for $ac_func" >&5
17025 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17026 - echo $ac_n "(cached) $ac_c" 1>&6
17027 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17028 +echo "$as_me:$LINENO: checking for $ac_func" >&5
17029 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17030 +if eval "test \"\${$as_ac_var+set}\" = set"; then
17031 + echo $ECHO_N "(cached) $ECHO_C" >&6
17033 - cat > conftest.$ac_ext <<EOF
17034 -#line 4003 "configure"
17035 + cat >conftest.$ac_ext <<_ACEOF
17036 +#line $LINENO "configure"
17037 #include "confdefs.h"
17038 /* System header to define __stub macros and hopefully few prototypes,
17039 - which can conflict with char $ac_func(); below. */
17040 + which can conflict with char $ac_func (); below. */
17041 #include <assert.h>
17042 /* Override any gcc2 internal prototype to avoid an error. */
17043 +#ifdef __cplusplus
17046 /* We use char because int might match the return type of a gcc2
17047 - builtin and then its argument prototype would still apply. */
17051 + builtin and then its argument prototype would still apply. */
17055 +#ifdef F77_DUMMY_MAIN
17056 +# ifdef __cplusplus
17059 + int F77_DUMMY_MAIN() { return 1; }
17064 /* The GNU C library defines this for functions which it implements
17065 to always fail with ENOSYS. Some functions are actually named
17066 something starting with __ and the normal name is an alias. */
17067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17076 -if { (eval echo configure:4026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17078 - eval "ac_cv_func_$ac_func=yes"
17080 - echo "configure: failed program was:" >&5
17081 - cat conftest.$ac_ext >&5
17083 - eval "ac_cv_func_$ac_func=no"
17091 +rm -f conftest.$ac_objext conftest$ac_exeext
17092 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17093 + (eval $ac_link) 2>&5
17095 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 + (exit $ac_status); } &&
17097 + { ac_try='test -s conftest$ac_exeext'
17098 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 + (eval $ac_try) 2>&5
17101 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 + (exit $ac_status); }; }; then
17103 + eval "$as_ac_var=yes"
17105 + echo "$as_me: failed program was:" >&5
17106 +cat conftest.$ac_ext >&5
17107 +eval "$as_ac_var=no"
17109 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17111 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17112 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17113 +if test `eval echo '${'$as_ac_var'}'` = yes; then
17114 + cat >>confdefs.h <<_ACEOF
17115 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17118 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17119 - echo "$ac_t""yes" 1>&6
17120 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17121 - cat >> confdefs.h <<EOF
17122 -#define $ac_tr_func 1
17126 - echo "$ac_t""no" 1>&6
17127 -mutt_cv_snprintf=yes
17128 + mutt_cv_snprintf=yes
17133 for ac_func in vsnprintf
17135 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17136 -echo "configure:4054: checking for $ac_func" >&5
17137 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17138 - echo $ac_n "(cached) $ac_c" 1>&6
17139 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17140 +echo "$as_me:$LINENO: checking for $ac_func" >&5
17141 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17142 +if eval "test \"\${$as_ac_var+set}\" = set"; then
17143 + echo $ECHO_N "(cached) $ECHO_C" >&6
17145 - cat > conftest.$ac_ext <<EOF
17146 -#line 4059 "configure"
17147 + cat >conftest.$ac_ext <<_ACEOF
17148 +#line $LINENO "configure"
17149 #include "confdefs.h"
17150 /* System header to define __stub macros and hopefully few prototypes,
17151 - which can conflict with char $ac_func(); below. */
17152 + which can conflict with char $ac_func (); below. */
17153 #include <assert.h>
17154 /* Override any gcc2 internal prototype to avoid an error. */
17155 +#ifdef __cplusplus
17158 /* We use char because int might match the return type of a gcc2
17159 - builtin and then its argument prototype would still apply. */
17163 + builtin and then its argument prototype would still apply. */
17167 +#ifdef F77_DUMMY_MAIN
17168 +# ifdef __cplusplus
17171 + int F77_DUMMY_MAIN() { return 1; }
17176 /* The GNU C library defines this for functions which it implements
17177 to always fail with ENOSYS. Some functions are actually named
17178 something starting with __ and the normal name is an alias. */
17179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17188 -if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17190 - eval "ac_cv_func_$ac_func=yes"
17192 - echo "configure: failed program was:" >&5
17193 - cat conftest.$ac_ext >&5
17195 - eval "ac_cv_func_$ac_func=no"
17203 +rm -f conftest.$ac_objext conftest$ac_exeext
17204 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17205 + (eval $ac_link) 2>&5
17207 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 + (exit $ac_status); } &&
17209 + { ac_try='test -s conftest$ac_exeext'
17210 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 + (eval $ac_try) 2>&5
17213 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 + (exit $ac_status); }; }; then
17215 + eval "$as_ac_var=yes"
17217 + echo "$as_me: failed program was:" >&5
17218 +cat conftest.$ac_ext >&5
17219 +eval "$as_ac_var=no"
17221 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17223 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17224 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17225 +if test `eval echo '${'$as_ac_var'}'` = yes; then
17226 + cat >>confdefs.h <<_ACEOF
17227 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17230 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17231 - echo "$ac_t""yes" 1>&6
17232 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17233 - cat >> confdefs.h <<EOF
17234 -#define $ac_tr_func 1
17238 - echo "$ac_t""no" 1>&6
17239 -mutt_cv_snprintf=yes
17240 + mutt_cv_snprintf=yes
17244 if test $mutt_cv_snprintf = yes; then
17245 - LIBOBJS="$LIBOBJS snprintf.o"
17246 + LIBOBJS="$LIBOBJS snprintf.$ac_objext"
17250 for ac_func in ftruncate
17252 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17253 -echo "configure:4114: checking for $ac_func" >&5
17254 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17255 - echo $ac_n "(cached) $ac_c" 1>&6
17256 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17257 +echo "$as_me:$LINENO: checking for $ac_func" >&5
17258 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17259 +if eval "test \"\${$as_ac_var+set}\" = set"; then
17260 + echo $ECHO_N "(cached) $ECHO_C" >&6
17262 - cat > conftest.$ac_ext <<EOF
17263 -#line 4119 "configure"
17264 + cat >conftest.$ac_ext <<_ACEOF
17265 +#line $LINENO "configure"
17266 #include "confdefs.h"
17267 /* System header to define __stub macros and hopefully few prototypes,
17268 - which can conflict with char $ac_func(); below. */
17269 + which can conflict with char $ac_func (); below. */
17270 #include <assert.h>
17271 /* Override any gcc2 internal prototype to avoid an error. */
17272 +#ifdef __cplusplus
17275 /* We use char because int might match the return type of a gcc2
17276 - builtin and then its argument prototype would still apply. */
17280 + builtin and then its argument prototype would still apply. */
17284 +#ifdef F77_DUMMY_MAIN
17285 +# ifdef __cplusplus
17288 + int F77_DUMMY_MAIN() { return 1; }
17293 /* The GNU C library defines this for functions which it implements
17294 to always fail with ENOSYS. Some functions are actually named
17295 something starting with __ and the normal name is an alias. */
17296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17305 -if { (eval echo configure:4142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17307 - eval "ac_cv_func_$ac_func=yes"
17309 - echo "configure: failed program was:" >&5
17310 - cat conftest.$ac_ext >&5
17312 - eval "ac_cv_func_$ac_func=no"
17320 +rm -f conftest.$ac_objext conftest$ac_exeext
17321 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17322 + (eval $ac_link) 2>&5
17324 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 + (exit $ac_status); } &&
17326 + { ac_try='test -s conftest$ac_exeext'
17327 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 + (eval $ac_try) 2>&5
17330 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 + (exit $ac_status); }; }; then
17332 + eval "$as_ac_var=yes"
17334 + echo "$as_me: failed program was:" >&5
17335 +cat conftest.$ac_ext >&5
17336 +eval "$as_ac_var=no"
17338 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17340 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17341 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17342 +if test `eval echo '${'$as_ac_var'}'` = yes; then
17343 + cat >>confdefs.h <<_ACEOF
17344 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17347 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17348 - echo "$ac_t""yes" 1>&6
17349 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17350 - cat >> confdefs.h <<EOF
17351 -#define $ac_tr_func 1
17355 - echo "$ac_t""no" 1>&6
17356 -echo $ac_n "checking for chsize in -lx""... $ac_c" 1>&6
17357 -echo "configure:4164: checking for chsize in -lx" >&5
17358 -ac_lib_var=`echo x'_'chsize | sed 'y%./+-%__p_%'`
17359 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17360 - echo $ac_n "(cached) $ac_c" 1>&6
17362 +echo "$as_me:$LINENO: checking for chsize in -lx" >&5
17363 +echo $ECHO_N "checking for chsize in -lx... $ECHO_C" >&6
17364 +if test "${ac_cv_lib_x_chsize+set}" = set; then
17365 + echo $ECHO_N "(cached) $ECHO_C" >&6
17367 - ac_save_LIBS="$LIBS"
17368 + ac_check_lib_save_LIBS=$LIBS
17370 -cat > conftest.$ac_ext <<EOF
17371 -#line 4172 "configure"
17372 +cat >conftest.$ac_ext <<_ACEOF
17373 +#line $LINENO "configure"
17374 #include "confdefs.h"
17376 /* Override any gcc2 internal prototype to avoid an error. */
17377 +#ifdef __cplusplus
17380 /* We use char because int might match the return type of a gcc2
17381 - builtin and then its argument prototype would still apply. */
17388 -if { (eval echo configure:4183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17390 - eval "ac_cv_lib_$ac_lib_var=yes"
17392 - echo "configure: failed program was:" >&5
17393 - cat conftest.$ac_ext >&5
17395 - eval "ac_cv_lib_$ac_lib_var=no"
17398 -LIBS="$ac_save_LIBS"
17401 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17402 - echo "$ac_t""yes" 1>&6
17403 - ac_tr_lib=HAVE_LIB`echo x | sed -e 's/^a-zA-Z0-9_/_/g' \
17404 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17405 - cat >> confdefs.h <<EOF
17406 -#define $ac_tr_lib 1
17408 + builtin and then its argument prototype would still apply. */
17410 +#ifdef F77_DUMMY_MAIN
17411 +# ifdef __cplusplus
17414 + int F77_DUMMY_MAIN() { return 1; }
17424 +rm -f conftest.$ac_objext conftest$ac_exeext
17425 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17426 + (eval $ac_link) 2>&5
17428 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 + (exit $ac_status); } &&
17430 + { ac_try='test -s conftest$ac_exeext'
17431 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 + (eval $ac_try) 2>&5
17434 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 + (exit $ac_status); }; }; then
17436 + ac_cv_lib_x_chsize=yes
17438 + echo "$as_me: failed program was:" >&5
17439 +cat conftest.$ac_ext >&5
17440 +ac_cv_lib_x_chsize=no
17442 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17443 +LIBS=$ac_check_lib_save_LIBS
17445 +echo "$as_me:$LINENO: result: $ac_cv_lib_x_chsize" >&5
17446 +echo "${ECHO_T}$ac_cv_lib_x_chsize" >&6
17447 +if test $ac_cv_lib_x_chsize = yes; then
17448 + cat >>confdefs.h <<_ACEOF
17449 +#define HAVE_LIBX 1
17455 - echo "$ac_t""no" 1>&6
17463 for ac_func in strftime
17465 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17466 -echo "configure:4217: checking for $ac_func" >&5
17467 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17468 - echo $ac_n "(cached) $ac_c" 1>&6
17469 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17470 +echo "$as_me:$LINENO: checking for $ac_func" >&5
17471 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17472 +if eval "test \"\${$as_ac_var+set}\" = set"; then
17473 + echo $ECHO_N "(cached) $ECHO_C" >&6
17475 - cat > conftest.$ac_ext <<EOF
17476 -#line 4222 "configure"
17477 + cat >conftest.$ac_ext <<_ACEOF
17478 +#line $LINENO "configure"
17479 #include "confdefs.h"
17480 /* System header to define __stub macros and hopefully few prototypes,
17481 - which can conflict with char $ac_func(); below. */
17482 + which can conflict with char $ac_func (); below. */
17483 #include <assert.h>
17484 /* Override any gcc2 internal prototype to avoid an error. */
17485 +#ifdef __cplusplus
17488 /* We use char because int might match the return type of a gcc2
17489 - builtin and then its argument prototype would still apply. */
17493 + builtin and then its argument prototype would still apply. */
17497 +#ifdef F77_DUMMY_MAIN
17498 +# ifdef __cplusplus
17501 + int F77_DUMMY_MAIN() { return 1; }
17506 /* The GNU C library defines this for functions which it implements
17507 to always fail with ENOSYS. Some functions are actually named
17508 something starting with __ and the normal name is an alias. */
17509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17518 -if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17520 - eval "ac_cv_func_$ac_func=yes"
17522 - echo "configure: failed program was:" >&5
17523 - cat conftest.$ac_ext >&5
17525 - eval "ac_cv_func_$ac_func=no"
17533 +rm -f conftest.$ac_objext conftest$ac_exeext
17534 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17535 + (eval $ac_link) 2>&5
17537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 + (exit $ac_status); } &&
17539 + { ac_try='test -s conftest$ac_exeext'
17540 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 + (eval $ac_try) 2>&5
17543 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 + (exit $ac_status); }; }; then
17545 + eval "$as_ac_var=yes"
17547 + echo "$as_me: failed program was:" >&5
17548 +cat conftest.$ac_ext >&5
17549 +eval "$as_ac_var=no"
17551 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17553 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17554 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17555 +if test `eval echo '${'$as_ac_var'}'` = yes; then
17556 + cat >>confdefs.h <<_ACEOF
17557 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17560 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17561 - echo "$ac_t""yes" 1>&6
17562 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17563 - cat >> confdefs.h <<EOF
17564 -#define $ac_tr_func 1
17568 - echo "$ac_t""no" 1>&6
17569 -echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
17570 -echo "configure:4267: checking for strftime in -lintl" >&5
17571 -ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
17572 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17573 - echo $ac_n "(cached) $ac_c" 1>&6
17575 +echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
17576 +echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
17577 +if test "${ac_cv_lib_intl_strftime+set}" = set; then
17578 + echo $ECHO_N "(cached) $ECHO_C" >&6
17580 - ac_save_LIBS="$LIBS"
17581 + ac_check_lib_save_LIBS=$LIBS
17582 LIBS="-lintl $LIBS"
17583 -cat > conftest.$ac_ext <<EOF
17584 -#line 4275 "configure"
17585 +cat >conftest.$ac_ext <<_ACEOF
17586 +#line $LINENO "configure"
17587 #include "confdefs.h"
17589 /* Override any gcc2 internal prototype to avoid an error. */
17590 +#ifdef __cplusplus
17593 /* We use char because int might match the return type of a gcc2
17594 - builtin and then its argument prototype would still apply. */
17601 -if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17603 - eval "ac_cv_lib_$ac_lib_var=yes"
17605 - echo "configure: failed program was:" >&5
17606 - cat conftest.$ac_ext >&5
17608 - eval "ac_cv_lib_$ac_lib_var=no"
17611 -LIBS="$ac_save_LIBS"
17614 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17615 - echo "$ac_t""yes" 1>&6
17616 - ac_tr_lib=HAVE_LIB`echo intl | sed -e 's/^a-zA-Z0-9_/_/g' \
17617 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17618 - cat >> confdefs.h <<EOF
17619 -#define $ac_tr_lib 1
17621 + builtin and then its argument prototype would still apply. */
17623 +#ifdef F77_DUMMY_MAIN
17624 +# ifdef __cplusplus
17627 + int F77_DUMMY_MAIN() { return 1; }
17637 +rm -f conftest.$ac_objext conftest$ac_exeext
17638 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17639 + (eval $ac_link) 2>&5
17641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 + (exit $ac_status); } &&
17643 + { ac_try='test -s conftest$ac_exeext'
17644 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 + (eval $ac_try) 2>&5
17647 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 + (exit $ac_status); }; }; then
17649 + ac_cv_lib_intl_strftime=yes
17651 + echo "$as_me: failed program was:" >&5
17652 +cat conftest.$ac_ext >&5
17653 +ac_cv_lib_intl_strftime=no
17655 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17656 +LIBS=$ac_check_lib_save_LIBS
17658 +echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
17659 +echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
17660 +if test $ac_cv_lib_intl_strftime = yes; then
17661 + cat >>confdefs.h <<_ACEOF
17662 +#define HAVE_LIBINTL 1
17665 LIBS="-lintl $LIBS"
17668 - echo "$ac_t""no" 1>&6
17676 for ac_func in fchdir
17678 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17679 -echo "configure:4320: checking for $ac_func" >&5
17680 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17681 - echo $ac_n "(cached) $ac_c" 1>&6
17682 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17683 +echo "$as_me:$LINENO: checking for $ac_func" >&5
17684 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17685 +if eval "test \"\${$as_ac_var+set}\" = set"; then
17686 + echo $ECHO_N "(cached) $ECHO_C" >&6
17688 - cat > conftest.$ac_ext <<EOF
17689 -#line 4325 "configure"
17690 + cat >conftest.$ac_ext <<_ACEOF
17691 +#line $LINENO "configure"
17692 #include "confdefs.h"
17693 /* System header to define __stub macros and hopefully few prototypes,
17694 - which can conflict with char $ac_func(); below. */
17695 + which can conflict with char $ac_func (); below. */
17696 #include <assert.h>
17697 /* Override any gcc2 internal prototype to avoid an error. */
17698 +#ifdef __cplusplus
17701 /* We use char because int might match the return type of a gcc2
17702 - builtin and then its argument prototype would still apply. */
17706 + builtin and then its argument prototype would still apply. */
17710 +#ifdef F77_DUMMY_MAIN
17711 +# ifdef __cplusplus
17714 + int F77_DUMMY_MAIN() { return 1; }
17719 /* The GNU C library defines this for functions which it implements
17720 to always fail with ENOSYS. Some functions are actually named
17721 something starting with __ and the normal name is an alias. */
17722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17731 -if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17733 - eval "ac_cv_func_$ac_func=yes"
17735 - echo "configure: failed program was:" >&5
17736 - cat conftest.$ac_ext >&5
17738 - eval "ac_cv_func_$ac_func=no"
17746 +rm -f conftest.$ac_objext conftest$ac_exeext
17747 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17748 + (eval $ac_link) 2>&5
17750 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 + (exit $ac_status); } &&
17752 + { ac_try='test -s conftest$ac_exeext'
17753 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 + (eval $ac_try) 2>&5
17756 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 + (exit $ac_status); }; }; then
17758 + eval "$as_ac_var=yes"
17760 + echo "$as_me: failed program was:" >&5
17761 +cat conftest.$ac_ext >&5
17762 +eval "$as_ac_var=no"
17764 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17766 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17767 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17768 +if test `eval echo '${'$as_ac_var'}'` = yes; then
17769 + cat >>confdefs.h <<_ACEOF
17770 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17773 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17774 - echo "$ac_t""yes" 1>&6
17775 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17776 - cat >> confdefs.h <<EOF
17777 -#define $ac_tr_func 1
17781 - echo "$ac_t""no" 1>&6
17783 + mutt_cv_fchdir=no
17789 # Check whether --with-regex or --without-regex was given.
17790 if test "${with_regex+set}" = set; then
17791 withval="$with_regex"
17794 - for ac_func in regcomp
17796 +for ac_func in regcomp
17798 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17799 -echo "configure:4382: checking for $ac_func" >&5
17800 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17801 - echo $ac_n "(cached) $ac_c" 1>&6
17802 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17803 +echo "$as_me:$LINENO: checking for $ac_func" >&5
17804 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17805 +if eval "test \"\${$as_ac_var+set}\" = set"; then
17806 + echo $ECHO_N "(cached) $ECHO_C" >&6
17808 - cat > conftest.$ac_ext <<EOF
17809 -#line 4387 "configure"
17810 + cat >conftest.$ac_ext <<_ACEOF
17811 +#line $LINENO "configure"
17812 #include "confdefs.h"
17813 /* System header to define __stub macros and hopefully few prototypes,
17814 - which can conflict with char $ac_func(); below. */
17815 + which can conflict with char $ac_func (); below. */
17816 #include <assert.h>
17817 /* Override any gcc2 internal prototype to avoid an error. */
17818 +#ifdef __cplusplus
17821 /* We use char because int might match the return type of a gcc2
17822 - builtin and then its argument prototype would still apply. */
17826 + builtin and then its argument prototype would still apply. */
17830 +#ifdef F77_DUMMY_MAIN
17831 +# ifdef __cplusplus
17834 + int F77_DUMMY_MAIN() { return 1; }
17839 /* The GNU C library defines this for functions which it implements
17840 to always fail with ENOSYS. Some functions are actually named
17841 something starting with __ and the normal name is an alias. */
17842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17851 -if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17853 - eval "ac_cv_func_$ac_func=yes"
17855 - echo "configure: failed program was:" >&5
17856 - cat conftest.$ac_ext >&5
17858 - eval "ac_cv_func_$ac_func=no"
17863 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17864 - echo "$ac_t""yes" 1>&6
17865 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17866 - cat >> confdefs.h <<EOF
17867 -#define $ac_tr_func 1
17873 +rm -f conftest.$ac_objext conftest$ac_exeext
17874 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17875 + (eval $ac_link) 2>&5
17877 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 + (exit $ac_status); } &&
17879 + { ac_try='test -s conftest$ac_exeext'
17880 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 + (eval $ac_try) 2>&5
17883 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 + (exit $ac_status); }; }; then
17885 + eval "$as_ac_var=yes"
17887 + echo "$as_me: failed program was:" >&5
17888 +cat conftest.$ac_ext >&5
17889 +eval "$as_ac_var=no"
17891 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17893 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17894 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17895 +if test `eval echo '${'$as_ac_var'}'` = yes; then
17896 + cat >>confdefs.h <<_ACEOF
17897 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17901 - echo "$ac_t""no" 1>&6
17903 + mutt_cv_regex=yes
17911 if test $mutt_cv_regex = no ; then
17912 -echo $ac_n "checking whether your system's regexp library is completely broken""... $ac_c" 1>&6
17913 -echo "configure:4440: checking whether your system's regexp library is completely broken" >&5
17914 -if eval "test \"`echo '$''{'mutt_cv_regex_broken'+set}'`\" = set"; then
17915 - echo $ac_n "(cached) $ac_c" 1>&6
17916 +echo "$as_me:$LINENO: checking whether your system's regexp library is completely broken" >&5
17917 +echo $ECHO_N "checking whether your system's regexp library is completely broken... $ECHO_C" >&6
17918 +if test "${mutt_cv_regex_broken+set}" = set; then
17919 + echo $ECHO_N "(cached) $ECHO_C" >&6
17921 if test "$cross_compiling" = yes; then
17922 mutt_cv_regex_broken=yes
17924 - cat > conftest.$ac_ext <<EOF
17925 -#line 4448 "configure"
17926 + cat >conftest.$ac_ext <<_ACEOF
17927 +#line $LINENO "configure"
17928 #include "confdefs.h"
17930 #include <unistd.h>
17932 main() { regex_t blah ; regmatch_t p; p.rm_eo = p.rm_eo; return regcomp(&blah, "foo.*bar", REG_NOSUB) || regexec (&blah, "foobar", 0, NULL, 0); }
17934 -if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
17937 +rm -f conftest$ac_exeext
17938 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17939 + (eval $ac_link) 2>&5
17941 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17943 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 + (eval $ac_try) 2>&5
17946 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 + (exit $ac_status); }; }; then
17948 mutt_cv_regex_broken=no
17950 - echo "configure: failed program was:" >&5
17951 - cat conftest.$ac_ext >&5
17953 - mutt_cv_regex_broken=yes
17954 + echo "$as_me: program exited with status $ac_status" >&5
17955 +echo "$as_me: failed program was:" >&5
17956 +cat conftest.$ac_ext >&5
17957 +( exit $ac_status )
17958 +mutt_cv_regex_broken=yes
17961 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17966 -echo "$ac_t""$mutt_cv_regex_broken" 1>&6
17967 +echo "$as_me:$LINENO: result: $mutt_cv_regex_broken" >&5
17968 +echo "${ECHO_T}$mutt_cv_regex_broken" >&6
17969 if test $mutt_cv_regex_broken = yes ; then
17970 echo "Using the included GNU regex instead." >&6
17972 @@ -4475,47 +8692,51 @@
17975 if test $mutt_cv_regex = yes; then
17976 - cat >> confdefs.h <<\EOF
17978 +cat >>confdefs.h <<\_ACEOF
17979 #define USE_GNU_REGEX 1
17983 - LIBOBJS="$LIBOBJS regex.o"
17984 + LIBOBJS="$LIBOBJS regex.$ac_objext"
17989 # Check whether --with-homespool or --without-homespool was given.
17990 if test "${with_homespool+set}" = set; then
17991 withval="$with_homespool"
17992 with_homespool=${withval}
17996 if test x$with_homespool != x; then
17997 if test $with_homespool = yes; then
17998 with_homespool=mailbox
18000 - cat >> confdefs.h <<EOF
18002 +cat >>confdefs.h <<_ACEOF
18003 #define MAILPATH "$with_homespool"
18007 - cat >> confdefs.h <<\EOF
18008 + cat >>confdefs.h <<\_ACEOF
18009 #define HOMESPOOL 1
18013 - cat >> confdefs.h <<\EOF
18015 +cat >>confdefs.h <<\_ACEOF
18016 #define USE_DOTLOCK 1
18022 - # Check whether --with-mailpath or --without-mailpath was given.
18024 +# Check whether --with-mailpath or --without-mailpath was given.
18025 if test "${with_mailpath+set}" = set; then
18026 withval="$with_mailpath"
18027 mutt_cv_mailpath=$withval
18029 - echo $ac_n "checking where new mail is stored""... $ac_c" 1>&6
18030 -echo "configure:4515: checking where new mail is stored" >&5
18031 -if eval "test \"`echo '$''{'mutt_cv_mailpath'+set}'`\" = set"; then
18032 - echo $ac_n "(cached) $ac_c" 1>&6
18033 + echo "$as_me:$LINENO: checking where new mail is stored" >&5
18034 +echo $ECHO_N "checking where new mail is stored... $ECHO_C" >&6
18035 +if test "${mutt_cv_mailpath+set}" = set; then
18036 + echo $ECHO_N "(cached) $ECHO_C" >&6
18038 mutt_cv_mailpath=no
18039 if test -d /var/mail; then
18040 @@ -4528,29 +8749,31 @@
18041 mutt_cv_mailpath=/usr/mail
18044 +echo "$as_me:$LINENO: result: $mutt_cv_mailpath" >&5
18045 +echo "${ECHO_T}$mutt_cv_mailpath" >&6
18047 -echo "$ac_t""$mutt_cv_mailpath" 1>&6
18052 if test $mutt_cv_mailpath = no; then
18053 - { echo "configure: error: "Could not determine where new mail is stored."" 1>&2; exit 1; }
18054 + { { echo "$as_me:$LINENO: error: \"Could not determine where new mail is stored.\"" >&5
18055 +echo "$as_me: error: \"Could not determine where new mail is stored.\"" >&2;}
18056 + { (exit 1); exit 1; }; }
18058 - cat >> confdefs.h <<EOF
18060 +cat >>confdefs.h <<_ACEOF
18061 #define MAILPATH "$mutt_cv_mailpath"
18066 - echo $ac_n "checking if $mutt_cv_mailpath is world writable""... $ac_c" 1>&6
18067 -echo "configure:4544: checking if $mutt_cv_mailpath is world writable" >&5
18068 -if eval "test \"`echo '$''{'mutt_cv_worldwrite'+set}'`\" = set"; then
18069 - echo $ac_n "(cached) $ac_c" 1>&6
18070 + echo "$as_me:$LINENO: checking if $mutt_cv_mailpath is world writable" >&5
18071 +echo $ECHO_N "checking if $mutt_cv_mailpath is world writable... $ECHO_C" >&6
18072 +if test "${mutt_cv_worldwrite+set}" = set; then
18073 + echo $ECHO_N "(cached) $ECHO_C" >&6
18075 if test "$cross_compiling" = yes; then
18076 mutt_cv_worldwrite=no
18078 - cat > conftest.$ac_ext <<EOF
18079 -#line 4552 "configure"
18080 + cat >conftest.$ac_ext <<_ACEOF
18081 +#line $LINENO "configure"
18082 #include "confdefs.h"
18083 #include <sys/types.h>
18084 #include <sys/stat.h>
18085 @@ -4563,41 +8786,51 @@
18086 if (s.st_mode & S_IWOTH) exit (0);
18090 -if { (eval echo configure:4566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18093 +rm -f conftest$ac_exeext
18094 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18095 + (eval $ac_link) 2>&5
18097 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18099 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 + (eval $ac_try) 2>&5
18102 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 + (exit $ac_status); }; }; then
18104 mutt_cv_worldwrite=yes
18106 - echo "configure: failed program was:" >&5
18107 - cat conftest.$ac_ext >&5
18109 - mutt_cv_worldwrite=no
18110 + echo "$as_me: program exited with status $ac_status" >&5
18111 +echo "$as_me: failed program was:" >&5
18112 +cat conftest.$ac_ext >&5
18113 +( exit $ac_status )
18114 +mutt_cv_worldwrite=no
18117 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18122 -echo "$ac_t""$mutt_cv_worldwrite" 1>&6
18123 +echo "$as_me:$LINENO: result: $mutt_cv_worldwrite" >&5
18124 +echo "${ECHO_T}$mutt_cv_worldwrite" >&6
18127 if test $mutt_cv_worldwrite = yes; then
18128 - cat >> confdefs.h <<\EOF
18130 +cat >>confdefs.h <<\_ACEOF
18131 #define USE_DOTLOCK 1
18137 - echo $ac_n "checking if $mutt_cv_mailpath is group writable""... $ac_c" 1>&6
18138 -echo "configure:4591: checking if $mutt_cv_mailpath is group writable" >&5
18139 -if eval "test \"`echo '$''{'mutt_cv_groupwrite'+set}'`\" = set"; then
18140 - echo $ac_n "(cached) $ac_c" 1>&6
18141 + echo "$as_me:$LINENO: checking if $mutt_cv_mailpath is group writable" >&5
18142 +echo $ECHO_N "checking if $mutt_cv_mailpath is group writable... $ECHO_C" >&6
18143 +if test "${mutt_cv_groupwrite+set}" = set; then
18144 + echo $ECHO_N "(cached) $ECHO_C" >&6
18146 if test "$cross_compiling" = yes; then
18147 mutt_cv_groupwrite=no
18149 - cat > conftest.$ac_ext <<EOF
18150 -#line 4599 "configure"
18151 + cat >conftest.$ac_ext <<_ACEOF
18152 +#line $LINENO "configure"
18153 #include "confdefs.h"
18154 #include <sys/types.h>
18155 #include <sys/stat.h>
18156 @@ -4610,50 +8843,59 @@
18157 if (s.st_mode & S_IWGRP) exit (0);
18161 -if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18164 +rm -f conftest$ac_exeext
18165 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18166 + (eval $ac_link) 2>&5
18168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18170 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 + (eval $ac_try) 2>&5
18173 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 + (exit $ac_status); }; }; then
18175 mutt_cv_groupwrite=yes
18177 - echo "configure: failed program was:" >&5
18178 - cat conftest.$ac_ext >&5
18180 - mutt_cv_groupwrite=no
18181 + echo "$as_me: program exited with status $ac_status" >&5
18182 +echo "$as_me: failed program was:" >&5
18183 +cat conftest.$ac_ext >&5
18184 +( exit $ac_status )
18185 +mutt_cv_groupwrite=no
18188 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18192 +echo "$as_me:$LINENO: result: $mutt_cv_groupwrite" >&5
18193 +echo "${ECHO_T}$mutt_cv_groupwrite" >&6
18195 -echo "$ac_t""$mutt_cv_groupwrite" 1>&6
18198 - if test $mutt_cv_groupwrite = yes; then
18199 - cat >> confdefs.h <<\EOF
18200 +cat >>confdefs.h <<\_ACEOF
18201 #define USE_DOTLOCK 1
18205 - cat >> confdefs.h <<\EOF
18207 +cat >>confdefs.h <<\_ACEOF
18208 #define USE_SETGID 1
18217 # Check whether --enable-external_dotlock or --disable-external_dotlock was given.
18218 if test "${enable_external_dotlock+set}" = set; then
18219 enableval="$enable_external_dotlock"
18220 mutt_cv_external_dotlock="$enableval"
18225 if test "x$mutt_cv_setgid" = "xyes" || test "x$mutt_cv_fchdir" = "xno" \
18226 || test "x$mutt_cv_external_dotlock" = "xyes"
18228 - cat >> confdefs.h <<\EOF
18230 +cat >>confdefs.h <<\_ACEOF
18231 #define DL_STANDALONE 1
18235 DOTLOCK_TARGET="mutt_dotlock"
18237 @@ -4663,17 +8905,18 @@
18241 -echo $ac_n "checking where to put the documentation""... $ac_c" 1>&6
18242 -echo "configure:4666: checking where to put the documentation" >&5
18243 +echo "$as_me:$LINENO: checking where to put the documentation" >&5
18244 +echo $ECHO_N "checking where to put the documentation... $ECHO_C" >&6
18246 # Check whether --with-docdir or --without-docdir was given.
18247 if test "${with_docdir+set}" = set; then
18248 withval="$with_docdir"
18249 mutt_cv_docdir=$withval
18251 mutt_cv_docdir="$mutt_cv_prefix/doc/mutt"
18254 -echo "$ac_t""$mutt_cv_docdir" 1>&6
18256 +echo "$as_me:$LINENO: result: $mutt_cv_docdir" >&5
18257 +echo "${ECHO_T}$mutt_cv_docdir" >&6
18259 docdir=$mutt_cv_docdir
18261 @@ -4688,17 +8931,18 @@
18266 # Check whether --with-domain or --without-domain was given.
18267 if test "${with_domain+set}" = set; then
18268 withval="$with_domain"
18269 if test $withval != yes; then
18270 - cat >> confdefs.h <<EOF
18272 +cat >>confdefs.h <<_ACEOF
18273 #define DOMAIN "$withval"
18284 @@ -4707,25 +8951,26 @@
18285 if test "${enable_pop+set}" = set; then
18286 enableval="$enable_pop"
18287 if test x$enableval = xyes ; then
18288 - cat >> confdefs.h <<\EOF
18290 +cat >>confdefs.h <<\_ACEOF
18295 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS pop.o pop_lib.o pop_auth.o"
18304 # Check whether --enable-imap or --disable-imap was given.
18305 if test "${enable_imap+set}" = set; then
18306 enableval="$enable_imap"
18307 if test x$enableval = xyes ; then
18308 - cat >> confdefs.h <<\EOF
18310 +cat >>confdefs.h <<\_ACEOF
18315 LIBIMAP="-Limap -limap"
18316 LIBIMAPDEPS="\$(top_srcdir)/imap/imap.h imap/libimap.a"
18317 @@ -4734,8 +8979,7 @@
18326 if test x$need_imap = xyes; then
18327 @@ -4747,295 +8991,412 @@
18331 +# Check whether --enable-nntp or --disable-nntp was given.
18332 +if test "${enable_nntp+set}" = set; then
18333 + enableval="$enable_nntp"
18334 + if test x$enableval = xyes ; then
18335 + cat >>confdefs.h <<\_ACEOF
18336 +#define USE_NNTP 1
18339 + MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS nntp.o newsrc.o"
18340 + need_socket="yes"
18346 if test "$need_socket" = "yes"
18348 - echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
18349 -echo "configure:4752: checking for socklen_t" >&5
18350 - cat > conftest.$ac_ext <<EOF
18351 -#line 4754 "configure"
18352 + echo "$as_me:$LINENO: checking for socklen_t" >&5
18353 +echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
18354 + cat >conftest.$ac_ext <<_ACEOF
18355 +#line $LINENO "configure"
18356 #include "confdefs.h"
18357 #include <sys/socket.h>
18361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18362 egrep "socklen_t" >/dev/null 2>&1; then
18364 - echo "$ac_t""yes" 1>&6
18365 + echo "$as_me:$LINENO: result: yes" >&5
18366 +echo "${ECHO_T}yes" >&6
18369 - echo "$ac_t""no" 1>&6
18370 - cat >> confdefs.h <<\EOF
18371 + echo "$as_me:$LINENO: result: no" >&5
18372 +echo "${ECHO_T}no" >&6
18374 +cat >>confdefs.h <<\_ACEOF
18375 #define socklen_t int
18382 - echo $ac_n "checking for gethostent""... $ac_c" 1>&6
18383 -echo "configure:4773: checking for gethostent" >&5
18384 -if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then
18385 - echo $ac_n "(cached) $ac_c" 1>&6
18386 + echo "$as_me:$LINENO: checking for gethostent" >&5
18387 +echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
18388 +if test "${ac_cv_func_gethostent+set}" = set; then
18389 + echo $ECHO_N "(cached) $ECHO_C" >&6
18391 - cat > conftest.$ac_ext <<EOF
18392 -#line 4778 "configure"
18393 + cat >conftest.$ac_ext <<_ACEOF
18394 +#line $LINENO "configure"
18395 #include "confdefs.h"
18396 /* System header to define __stub macros and hopefully few prototypes,
18397 - which can conflict with char gethostent(); below. */
18398 + which can conflict with char gethostent (); below. */
18399 #include <assert.h>
18400 /* Override any gcc2 internal prototype to avoid an error. */
18401 +#ifdef __cplusplus
18404 /* We use char because int might match the return type of a gcc2
18405 - builtin and then its argument prototype would still apply. */
18406 -char gethostent();
18409 + builtin and then its argument prototype would still apply. */
18410 +char gethostent ();
18413 +#ifdef F77_DUMMY_MAIN
18414 +# ifdef __cplusplus
18417 + int F77_DUMMY_MAIN() { return 1; }
18422 /* The GNU C library defines this for functions which it implements
18423 to always fail with ENOSYS. Some functions are actually named
18424 something starting with __ and the normal name is an alias. */
18425 #if defined (__stub_gethostent) || defined (__stub___gethostent)
18434 -if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18436 - eval "ac_cv_func_gethostent=yes"
18438 - echo "configure: failed program was:" >&5
18439 - cat conftest.$ac_ext >&5
18441 - eval "ac_cv_func_gethostent=no"
18446 -if eval "test \"`echo '$ac_cv_func_'gethostent`\" = yes"; then
18447 - echo "$ac_t""yes" 1>&6
18452 +rm -f conftest.$ac_objext conftest$ac_exeext
18453 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18454 + (eval $ac_link) 2>&5
18456 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 + (exit $ac_status); } &&
18458 + { ac_try='test -s conftest$ac_exeext'
18459 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 + (eval $ac_try) 2>&5
18462 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 + (exit $ac_status); }; }; then
18464 + ac_cv_func_gethostent=yes
18466 + echo "$as_me: failed program was:" >&5
18467 +cat conftest.$ac_ext >&5
18468 +ac_cv_func_gethostent=no
18470 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18472 +echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
18473 +echo "${ECHO_T}$ac_cv_func_gethostent" >&6
18474 +if test $ac_cv_func_gethostent = yes; then
18477 - echo "$ac_t""no" 1>&6
18478 -echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6
18479 -echo "configure:4819: checking for gethostent in -lnsl" >&5
18480 -ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'`
18481 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18482 - echo $ac_n "(cached) $ac_c" 1>&6
18484 +echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
18485 +echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
18486 +if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
18487 + echo $ECHO_N "(cached) $ECHO_C" >&6
18489 - ac_save_LIBS="$LIBS"
18490 + ac_check_lib_save_LIBS=$LIBS
18492 -cat > conftest.$ac_ext <<EOF
18493 -#line 4827 "configure"
18494 +cat >conftest.$ac_ext <<_ACEOF
18495 +#line $LINENO "configure"
18496 #include "confdefs.h"
18498 /* Override any gcc2 internal prototype to avoid an error. */
18499 +#ifdef __cplusplus
18502 /* We use char because int might match the return type of a gcc2
18503 - builtin and then its argument prototype would still apply. */
18504 -char gethostent();
18510 -if { (eval echo configure:4838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18512 - eval "ac_cv_lib_$ac_lib_var=yes"
18514 - echo "configure: failed program was:" >&5
18515 - cat conftest.$ac_ext >&5
18517 - eval "ac_cv_lib_$ac_lib_var=no"
18520 -LIBS="$ac_save_LIBS"
18523 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18524 - echo "$ac_t""yes" 1>&6
18525 - ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \
18526 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
18527 - cat >> confdefs.h <<EOF
18528 -#define $ac_tr_lib 1
18530 + builtin and then its argument prototype would still apply. */
18531 +char gethostent ();
18532 +#ifdef F77_DUMMY_MAIN
18533 +# ifdef __cplusplus
18536 + int F77_DUMMY_MAIN() { return 1; }
18546 +rm -f conftest.$ac_objext conftest$ac_exeext
18547 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18548 + (eval $ac_link) 2>&5
18550 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 + (exit $ac_status); } &&
18552 + { ac_try='test -s conftest$ac_exeext'
18553 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 + (eval $ac_try) 2>&5
18556 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 + (exit $ac_status); }; }; then
18558 + ac_cv_lib_nsl_gethostent=yes
18560 + echo "$as_me: failed program was:" >&5
18561 +cat conftest.$ac_ext >&5
18562 +ac_cv_lib_nsl_gethostent=no
18564 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18565 +LIBS=$ac_check_lib_save_LIBS
18567 +echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
18568 +echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
18569 +if test $ac_cv_lib_nsl_gethostent = yes; then
18570 + cat >>confdefs.h <<_ACEOF
18571 +#define HAVE_LIBNSL 1
18577 - echo "$ac_t""no" 1>&6
18582 - echo $ac_n "checking for setsockopt""... $ac_c" 1>&6
18583 -echo "configure:4868: checking for setsockopt" >&5
18584 -if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then
18585 - echo $ac_n "(cached) $ac_c" 1>&6
18586 + echo "$as_me:$LINENO: checking for setsockopt" >&5
18587 +echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
18588 +if test "${ac_cv_func_setsockopt+set}" = set; then
18589 + echo $ECHO_N "(cached) $ECHO_C" >&6
18591 - cat > conftest.$ac_ext <<EOF
18592 -#line 4873 "configure"
18593 + cat >conftest.$ac_ext <<_ACEOF
18594 +#line $LINENO "configure"
18595 #include "confdefs.h"
18596 /* System header to define __stub macros and hopefully few prototypes,
18597 - which can conflict with char setsockopt(); below. */
18598 + which can conflict with char setsockopt (); below. */
18599 #include <assert.h>
18600 /* Override any gcc2 internal prototype to avoid an error. */
18601 +#ifdef __cplusplus
18604 /* We use char because int might match the return type of a gcc2
18605 - builtin and then its argument prototype would still apply. */
18606 -char setsockopt();
18609 + builtin and then its argument prototype would still apply. */
18610 +char setsockopt ();
18613 +#ifdef F77_DUMMY_MAIN
18614 +# ifdef __cplusplus
18617 + int F77_DUMMY_MAIN() { return 1; }
18622 /* The GNU C library defines this for functions which it implements
18623 to always fail with ENOSYS. Some functions are actually named
18624 something starting with __ and the normal name is an alias. */
18625 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
18634 -if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18636 - eval "ac_cv_func_setsockopt=yes"
18638 - echo "configure: failed program was:" >&5
18639 - cat conftest.$ac_ext >&5
18641 - eval "ac_cv_func_setsockopt=no"
18646 -if eval "test \"`echo '$ac_cv_func_'setsockopt`\" = yes"; then
18647 - echo "$ac_t""yes" 1>&6
18652 +rm -f conftest.$ac_objext conftest$ac_exeext
18653 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18654 + (eval $ac_link) 2>&5
18656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 + (exit $ac_status); } &&
18658 + { ac_try='test -s conftest$ac_exeext'
18659 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18660 + (eval $ac_try) 2>&5
18662 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 + (exit $ac_status); }; }; then
18664 + ac_cv_func_setsockopt=yes
18666 + echo "$as_me: failed program was:" >&5
18667 +cat conftest.$ac_ext >&5
18668 +ac_cv_func_setsockopt=no
18670 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18672 +echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
18673 +echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
18674 +if test $ac_cv_func_setsockopt = yes; then
18677 - echo "$ac_t""no" 1>&6
18678 -echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6
18679 -echo "configure:4914: checking for setsockopt in -lsocket" >&5
18680 -ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'`
18681 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18682 - echo $ac_n "(cached) $ac_c" 1>&6
18684 - ac_save_LIBS="$LIBS"
18685 -LIBS="-lsocket $LIBS"
18686 -cat > conftest.$ac_ext <<EOF
18687 -#line 4922 "configure"
18688 -#include "confdefs.h"
18689 -/* Override any gcc2 internal prototype to avoid an error. */
18690 -/* We use char because int might match the return type of a gcc2
18691 - builtin and then its argument prototype would still apply. */
18692 -char setsockopt();
18698 -if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18700 - eval "ac_cv_lib_$ac_lib_var=yes"
18701 +echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
18702 +echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
18703 +if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
18704 + echo $ECHO_N "(cached) $ECHO_C" >&6
18706 - echo "configure: failed program was:" >&5
18707 - cat conftest.$ac_ext >&5
18709 - eval "ac_cv_lib_$ac_lib_var=no"
18712 -LIBS="$ac_save_LIBS"
18713 + ac_check_lib_save_LIBS=$LIBS
18714 +LIBS="-lsocket $LIBS"
18715 +cat >conftest.$ac_ext <<_ACEOF
18716 +#line $LINENO "configure"
18717 +#include "confdefs.h"
18720 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18721 - echo "$ac_t""yes" 1>&6
18722 - ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \
18723 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
18724 - cat >> confdefs.h <<EOF
18725 -#define $ac_tr_lib 1
18727 +/* Override any gcc2 internal prototype to avoid an error. */
18728 +#ifdef __cplusplus
18731 +/* We use char because int might match the return type of a gcc2
18732 + builtin and then its argument prototype would still apply. */
18733 +char setsockopt ();
18734 +#ifdef F77_DUMMY_MAIN
18735 +# ifdef __cplusplus
18738 + int F77_DUMMY_MAIN() { return 1; }
18748 +rm -f conftest.$ac_objext conftest$ac_exeext
18749 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18750 + (eval $ac_link) 2>&5
18752 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 + (exit $ac_status); } &&
18754 + { ac_try='test -s conftest$ac_exeext'
18755 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 + (eval $ac_try) 2>&5
18758 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 + (exit $ac_status); }; }; then
18760 + ac_cv_lib_socket_setsockopt=yes
18762 + echo "$as_me: failed program was:" >&5
18763 +cat conftest.$ac_ext >&5
18764 +ac_cv_lib_socket_setsockopt=no
18766 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18767 +LIBS=$ac_check_lib_save_LIBS
18769 +echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
18770 +echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
18771 +if test $ac_cv_lib_socket_setsockopt = yes; then
18772 + cat >>confdefs.h <<_ACEOF
18773 +#define HAVE_LIBSOCKET 1
18776 LIBS="-lsocket $LIBS"
18779 - echo "$ac_t""no" 1>&6
18784 - for ac_func in getaddrinfo
18786 +for ac_func in getaddrinfo
18788 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18789 -echo "configure:4965: checking for $ac_func" >&5
18790 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18791 - echo $ac_n "(cached) $ac_c" 1>&6
18792 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18793 +echo "$as_me:$LINENO: checking for $ac_func" >&5
18794 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18795 +if eval "test \"\${$as_ac_var+set}\" = set"; then
18796 + echo $ECHO_N "(cached) $ECHO_C" >&6
18798 - cat > conftest.$ac_ext <<EOF
18799 -#line 4970 "configure"
18800 + cat >conftest.$ac_ext <<_ACEOF
18801 +#line $LINENO "configure"
18802 #include "confdefs.h"
18803 /* System header to define __stub macros and hopefully few prototypes,
18804 - which can conflict with char $ac_func(); below. */
18805 + which can conflict with char $ac_func (); below. */
18806 #include <assert.h>
18807 /* Override any gcc2 internal prototype to avoid an error. */
18808 +#ifdef __cplusplus
18811 /* We use char because int might match the return type of a gcc2
18812 - builtin and then its argument prototype would still apply. */
18816 + builtin and then its argument prototype would still apply. */
18820 +#ifdef F77_DUMMY_MAIN
18821 +# ifdef __cplusplus
18824 + int F77_DUMMY_MAIN() { return 1; }
18829 /* The GNU C library defines this for functions which it implements
18830 to always fail with ENOSYS. Some functions are actually named
18831 something starting with __ and the normal name is an alias. */
18832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18841 -if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18843 - eval "ac_cv_func_$ac_func=yes"
18845 - echo "configure: failed program was:" >&5
18846 - cat conftest.$ac_ext >&5
18848 - eval "ac_cv_func_$ac_func=no"
18856 +rm -f conftest.$ac_objext conftest$ac_exeext
18857 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18858 + (eval $ac_link) 2>&5
18860 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 + (exit $ac_status); } &&
18862 + { ac_try='test -s conftest$ac_exeext'
18863 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 + (eval $ac_try) 2>&5
18866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 + (exit $ac_status); }; }; then
18868 + eval "$as_ac_var=yes"
18870 + echo "$as_me: failed program was:" >&5
18871 +cat conftest.$ac_ext >&5
18872 +eval "$as_ac_var=no"
18874 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18876 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18877 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18878 +if test `eval echo '${'$as_ac_var'}'` = yes; then
18879 + cat >>confdefs.h <<_ACEOF
18880 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18883 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18884 - echo "$ac_t""yes" 1>&6
18885 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18886 - cat >> confdefs.h <<EOF
18887 -#define $ac_tr_func 1
18891 - echo "$ac_t""no" 1>&6
18895 - cat >> confdefs.h <<\EOF
18897 +cat >>confdefs.h <<\_ACEOF
18898 #define USE_SOCKET 1
18902 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS account.o mutt_socket.o mutt_tunnel.o"
18907 # Check whether --with-gss or --without-gss was given.
18908 if test "${with_gss+set}" = set; then
18909 withval="$with_gss"
18910 gss_prefix="$withval"
18916 if test "$gss_prefix" != "no"
18918 if test "$need_imap" = "yes"
18922 GSSAPI_PREFIX=$gss_prefix
18924 if test "$GSSAPI_PREFIX" != "yes"
18925 @@ -5046,38 +9407,42 @@
18927 # Extract the first word of "krb5-config", so it can be a program name with args.
18928 set dummy krb5-config; ac_word=$2
18929 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
18930 -echo "configure:5049: checking for $ac_word" >&5
18931 -if eval "test \"`echo '$''{'ac_cv_path_KRB5CFGPATH'+set}'`\" = set"; then
18932 - echo $ac_n "(cached) $ac_c" 1>&6
18933 +echo "$as_me:$LINENO: checking for $ac_word" >&5
18934 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18935 +if test "${ac_cv_path_KRB5CFGPATH+set}" = set; then
18936 + echo $ECHO_N "(cached) $ECHO_C" >&6
18938 - case "$KRB5CFGPATH" in
18940 + case $KRB5CFGPATH in
18941 + [\\/]* | ?:[\\/]*)
18942 ac_cv_path_KRB5CFGPATH="$KRB5CFGPATH" # Let the user override the test with a path.
18945 - ac_cv_path_KRB5CFGPATH="$KRB5CFGPATH" # Let the user override the test with a dos path.
18948 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
18949 - ac_dummy="$krb5_path"
18950 - for ac_dir in $ac_dummy; do
18951 - test -z "$ac_dir" && ac_dir=.
18952 - if test -f $ac_dir/$ac_word; then
18953 - ac_cv_path_KRB5CFGPATH="$ac_dir/$ac_word"
18957 - IFS="$ac_save_ifs"
18958 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18959 +for as_dir in $krb5_path
18962 + test -z "$as_dir" && as_dir=.
18963 + for ac_exec_ext in '' $ac_executable_extensions; do
18964 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18965 + ac_cv_path_KRB5CFGPATH="$as_dir/$ac_word$ac_exec_ext"
18966 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18972 test -z "$ac_cv_path_KRB5CFGPATH" && ac_cv_path_KRB5CFGPATH="none"
18976 -KRB5CFGPATH="$ac_cv_path_KRB5CFGPATH"
18977 +KRB5CFGPATH=$ac_cv_path_KRB5CFGPATH
18979 if test -n "$KRB5CFGPATH"; then
18980 - echo "$ac_t""$KRB5CFGPATH" 1>&6
18981 + echo "$as_me:$LINENO: result: $KRB5CFGPATH" >&5
18982 +echo "${ECHO_T}$KRB5CFGPATH" >&6
18984 - echo "$ac_t""no" 1>&6
18985 + echo "$as_me:$LINENO: result: no" >&5
18986 +echo "${ECHO_T}no" >&6
18989 if test "$KRB5CFGPATH" != "none"
18990 @@ -5101,141 +9466,198 @@
18991 LDFLAGS="$LDFLAGS $GSSAPI_LDFLAGS"
18994 - echo $ac_n "checking for gss_init_sec_context in -lgssapi_krb5""... $ac_c" 1>&6
18995 -echo "configure:5104: checking for gss_init_sec_context in -lgssapi_krb5" >&5
18996 -ac_lib_var=`echo gssapi_krb5'_'gss_init_sec_context | sed 'y%./+-%__p_%'`
18997 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18998 - echo $ac_n "(cached) $ac_c" 1>&6
18999 + echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5
19000 +echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6
19001 +if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then
19002 + echo $ECHO_N "(cached) $ECHO_C" >&6
19004 - ac_save_LIBS="$LIBS"
19005 + ac_check_lib_save_LIBS=$LIBS
19006 LIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err $LIBS"
19007 -cat > conftest.$ac_ext <<EOF
19008 -#line 5112 "configure"
19009 +cat >conftest.$ac_ext <<_ACEOF
19010 +#line $LINENO "configure"
19011 #include "confdefs.h"
19013 /* Override any gcc2 internal prototype to avoid an error. */
19014 +#ifdef __cplusplus
19017 /* We use char because int might match the return type of a gcc2
19018 - builtin and then its argument prototype would still apply. */
19019 -char gss_init_sec_context();
19022 -gss_init_sec_context()
19025 -if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19027 - eval "ac_cv_lib_$ac_lib_var=yes"
19029 - echo "configure: failed program was:" >&5
19030 - cat conftest.$ac_ext >&5
19032 - eval "ac_cv_lib_$ac_lib_var=no"
19035 -LIBS="$ac_save_LIBS"
19036 + builtin and then its argument prototype would still apply. */
19037 +char gss_init_sec_context ();
19038 +#ifdef F77_DUMMY_MAIN
19039 +# ifdef __cplusplus
19042 + int F77_DUMMY_MAIN() { return 1; }
19047 +gss_init_sec_context ();
19052 +rm -f conftest.$ac_objext conftest$ac_exeext
19053 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19054 + (eval $ac_link) 2>&5
19056 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 + (exit $ac_status); } &&
19058 + { ac_try='test -s conftest$ac_exeext'
19059 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19060 + (eval $ac_try) 2>&5
19062 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 + (exit $ac_status); }; }; then
19064 + ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
19066 + echo "$as_me: failed program was:" >&5
19067 +cat conftest.$ac_ext >&5
19068 +ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
19070 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19071 +LIBS=$ac_check_lib_save_LIBS
19073 +echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
19074 +echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6
19075 +if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then
19078 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19079 - echo "$ac_t""yes" 1>&6
19082 GSSAPI_LIBS="$GSSAPI_LDFLAGS -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
19085 - echo "$ac_t""no" 1>&6
19090 if test "$GSSAPI_IMPL" = "none"
19092 - echo $ac_n "checking for gss_init_sec_context in -lgssapi""... $ac_c" 1>&6
19093 -echo "configure:5150: checking for gss_init_sec_context in -lgssapi" >&5
19094 -ac_lib_var=`echo gssapi'_'gss_init_sec_context | sed 'y%./+-%__p_%'`
19095 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19096 - echo $ac_n "(cached) $ac_c" 1>&6
19097 + echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5
19098 +echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6
19099 +if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then
19100 + echo $ECHO_N "(cached) $ECHO_C" >&6
19102 - ac_save_LIBS="$LIBS"
19103 + ac_check_lib_save_LIBS=$LIBS
19104 LIBS="-lgssapi -lkrb5 -ldes -lasn1 -lroken -lcrypt -lcom_err $LIBS"
19105 -cat > conftest.$ac_ext <<EOF
19106 -#line 5158 "configure"
19107 +cat >conftest.$ac_ext <<_ACEOF
19108 +#line $LINENO "configure"
19109 #include "confdefs.h"
19111 /* Override any gcc2 internal prototype to avoid an error. */
19112 +#ifdef __cplusplus
19115 /* We use char because int might match the return type of a gcc2
19116 - builtin and then its argument prototype would still apply. */
19117 -char gss_init_sec_context();
19120 -gss_init_sec_context()
19123 -if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19125 - eval "ac_cv_lib_$ac_lib_var=yes"
19127 - echo "configure: failed program was:" >&5
19128 - cat conftest.$ac_ext >&5
19130 - eval "ac_cv_lib_$ac_lib_var=no"
19133 -LIBS="$ac_save_LIBS"
19134 + builtin and then its argument prototype would still apply. */
19135 +char gss_init_sec_context ();
19136 +#ifdef F77_DUMMY_MAIN
19137 +# ifdef __cplusplus
19140 + int F77_DUMMY_MAIN() { return 1; }
19145 +gss_init_sec_context ();
19150 +rm -f conftest.$ac_objext conftest$ac_exeext
19151 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19152 + (eval $ac_link) 2>&5
19154 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 + (exit $ac_status); } &&
19156 + { ac_try='test -s conftest$ac_exeext'
19157 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 + (eval $ac_try) 2>&5
19160 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 + (exit $ac_status); }; }; then
19162 + ac_cv_lib_gssapi_gss_init_sec_context=yes
19164 + echo "$as_me: failed program was:" >&5
19165 +cat conftest.$ac_ext >&5
19166 +ac_cv_lib_gssapi_gss_init_sec_context=no
19168 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19169 +LIBS=$ac_check_lib_save_LIBS
19171 +echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
19172 +echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6
19173 +if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then
19176 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19177 - echo "$ac_t""yes" 1>&6
19179 GSSAPI_IMPL="Heimdal"
19180 GSSAPI_LIBS="$GSSAPI_LDFLAGS -lgssapi -lkrb5 -ldes -lasn1 -lroken"
19181 GSSAPI_LIBS="$GSSAPI_LIBS -lcrypt -lcom_err"
19184 - echo "$ac_t""no" 1>&6
19190 if test "$GSSAPI_IMPL" = "none"
19192 - echo $ac_n "checking for g_order_init in -lgssapi_krb5""... $ac_c" 1>&6
19193 -echo "configure:5198: checking for g_order_init in -lgssapi_krb5" >&5
19194 -ac_lib_var=`echo gssapi_krb5'_'g_order_init | sed 'y%./+-%__p_%'`
19195 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19196 - echo $ac_n "(cached) $ac_c" 1>&6
19197 + echo "$as_me:$LINENO: checking for g_order_init in -lgssapi_krb5" >&5
19198 +echo $ECHO_N "checking for g_order_init in -lgssapi_krb5... $ECHO_C" >&6
19199 +if test "${ac_cv_lib_gssapi_krb5_g_order_init+set}" = set; then
19200 + echo $ECHO_N "(cached) $ECHO_C" >&6
19202 - ac_save_LIBS="$LIBS"
19203 + ac_check_lib_save_LIBS=$LIBS
19204 LIBS="-lgssapi_krb5 -lkrb5 -lcrypto -lcom_err $LIBS"
19205 -cat > conftest.$ac_ext <<EOF
19206 -#line 5206 "configure"
19207 +cat >conftest.$ac_ext <<_ACEOF
19208 +#line $LINENO "configure"
19209 #include "confdefs.h"
19211 /* Override any gcc2 internal prototype to avoid an error. */
19212 +#ifdef __cplusplus
19215 /* We use char because int might match the return type of a gcc2
19216 - builtin and then its argument prototype would still apply. */
19217 -char g_order_init();
19223 -if { (eval echo configure:5217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19225 - eval "ac_cv_lib_$ac_lib_var=yes"
19227 - echo "configure: failed program was:" >&5
19228 - cat conftest.$ac_ext >&5
19230 - eval "ac_cv_lib_$ac_lib_var=no"
19233 -LIBS="$ac_save_LIBS"
19234 + builtin and then its argument prototype would still apply. */
19235 +char g_order_init ();
19236 +#ifdef F77_DUMMY_MAIN
19237 +# ifdef __cplusplus
19240 + int F77_DUMMY_MAIN() { return 1; }
19250 +rm -f conftest.$ac_objext conftest$ac_exeext
19251 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19252 + (eval $ac_link) 2>&5
19254 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 + (exit $ac_status); } &&
19256 + { ac_try='test -s conftest$ac_exeext'
19257 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 + (eval $ac_try) 2>&5
19260 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 + (exit $ac_status); }; }; then
19262 + ac_cv_lib_gssapi_krb5_g_order_init=yes
19264 + echo "$as_me: failed program was:" >&5
19265 +cat conftest.$ac_ext >&5
19266 +ac_cv_lib_gssapi_krb5_g_order_init=no
19268 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19269 +LIBS=$ac_check_lib_save_LIBS
19271 +echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_g_order_init" >&5
19272 +echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_g_order_init" >&6
19273 +if test $ac_cv_lib_gssapi_krb5_g_order_init = yes; then
19276 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19277 - echo "$ac_t""yes" 1>&6
19279 GSSAPI_IMPL="OldMIT",
19280 GSSAPI_LIBS="$GSSAPI_LDFLAGS -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err"
19283 - echo "$ac_t""no" 1>&6
19288 @@ -5245,76 +9667,88 @@
19289 LDFLAGS="$saved_LDFLAGS"
19292 - echo $ac_n "checking GSSAPI implementation""... $ac_c" 1>&6
19293 -echo "configure:5248: checking GSSAPI implementation" >&5
19294 - echo "$ac_t""$GSSAPI_IMPL" 1>&6
19295 + echo "$as_me:$LINENO: checking GSSAPI implementation" >&5
19296 +echo $ECHO_N "checking GSSAPI implementation... $ECHO_C" >&6
19297 + echo "$as_me:$LINENO: result: $GSSAPI_IMPL" >&5
19298 +echo "${ECHO_T}$GSSAPI_IMPL" >&6
19299 if test "$GSSAPI_IMPL" = "none"
19301 - cat > confcache <<\EOF
19302 + cat >confcache <<\_ACEOF
19303 # This file is a shell script that caches the results of configure
19304 # tests run on this system so they can be shared between configure
19305 -# scripts and configure runs. It is not useful on other systems.
19306 -# If it contains results you don't want to keep, you may remove or edit it.
19307 +# scripts and configure runs, see configure's option --config-cache.
19308 +# It is not useful on other systems. If it contains results you don't
19309 +# want to keep, you may remove or edit it.
19311 -# By default, configure uses ./config.cache as the cache file,
19312 -# creating it if it does not exist already. You can give configure
19313 -# the --cache-file=FILE option to use a different cache file; that is
19314 -# what configure does when it calls configure scripts in
19315 -# subdirectories, so they share the cache.
19316 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
19317 -# config.status only pays attention to the cache file if you give it the
19318 -# --recheck option to rerun configure.
19319 +# config.status only pays attention to the cache file if you give it
19320 +# the --recheck option to rerun configure.
19323 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
19324 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
19325 +# following values.
19329 # The following way of writing the cache mishandles newlines in values,
19330 # but we know of no workaround that is simple, portable, and efficient.
19331 # So, don't put newlines in cache variables' values.
19332 # Ultrix sh set writes to stderr and can't be redirected directly,
19333 # and sets the high bit in the cache file unless we assign to the vars.
19335 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
19337 - # `set' does not quote correctly, so add quotes (double-quote substitution
19338 - # turns \\\\ into \\, and sed turns \\ into \).
19340 - -e "s/'/'\\\\''/g" \
19341 - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19344 - # `set' quotes correctly as required by POSIX, so do not add quotes.
19345 - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19347 - esac >> confcache
19348 -if cmp -s $cache_file confcache; then
19353 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
19355 + # `set' does not quote correctly, so add quotes (double-quote
19356 + # substitution turns \\\\ into \\, and sed turns \\ into \).
19359 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19362 + # `set' quotes correctly as required by POSIX, so do not add quotes.
19364 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19371 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19373 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19374 + : end' >>confcache
19375 +if cmp -s $cache_file confcache; then :; else
19376 if test -w $cache_file; then
19377 - echo "updating cache $cache_file"
19378 - cat confcache > $cache_file
19379 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19380 + cat confcache >$cache_file
19382 echo "not updating unwritable cache $cache_file"
19387 - echo "$ac_t""GSSAPI libraries not found" 1>&6
19388 + echo "$as_me:$LINENO: result: GSSAPI libraries not found" >&5
19389 +echo "${ECHO_T}GSSAPI libraries not found" >&6
19391 if test "$GSSAPI_IMPL" = "Heimdal"
19393 - cat >> confdefs.h <<\EOF
19395 +cat >>confdefs.h <<\_ACEOF
19396 #define HAVE_HEIMDAL 1
19401 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
19402 MUTTLIBS="$MUTTLIBS $GSSAPI_LIBS"
19403 - cat >> confdefs.h <<\EOF
19405 +cat >>confdefs.h <<\_ACEOF
19412 - echo "configure: warning: GSS was requested but IMAP is not enabled" 1>&2
19413 + { echo "$as_me:$LINENO: WARNING: GSS was requested but IMAP is not enabled" >&5
19414 +echo "$as_me: WARNING: GSS was requested but IMAP is not enabled" >&2;}
19418 @@ -5328,13 +9762,17 @@
19424 # Check whether --with-ssl or --without-ssl was given.
19425 if test "${with_ssl+set}" = set; then
19426 withval="$with_ssl"
19427 if test "$with_ssl" != "no"
19429 if test "$need_socket" != "yes"; then
19430 - { echo "configure: error: SSL support is only useful with POP or IMAP support" 1>&2; exit 1; }
19431 + { { echo "$as_me:$LINENO: error: SSL support is only useful with POP or IMAP support" >&5
19432 +echo "$as_me: error: SSL support is only useful with POP or IMAP support" >&2;}
19433 + { (exit 1); exit 1; }; }
19436 if test "$with_ssl" != "yes"
19437 @@ -5344,162 +9782,227 @@
19441 - echo $ac_n "checking for X509_new in -lcrypto""... $ac_c" 1>&6
19442 -echo "configure:5347: checking for X509_new in -lcrypto" >&5
19443 -ac_lib_var=`echo crypto'_'X509_new | sed 'y%./+-%__p_%'`
19444 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19445 - echo $ac_n "(cached) $ac_c" 1>&6
19447 +echo "$as_me:$LINENO: checking for X509_new in -lcrypto" >&5
19448 +echo $ECHO_N "checking for X509_new in -lcrypto... $ECHO_C" >&6
19449 +if test "${ac_cv_lib_crypto_X509_new+set}" = set; then
19450 + echo $ECHO_N "(cached) $ECHO_C" >&6
19452 - ac_save_LIBS="$LIBS"
19453 + ac_check_lib_save_LIBS=$LIBS
19454 LIBS="-lcrypto $LIBS"
19455 -cat > conftest.$ac_ext <<EOF
19456 -#line 5355 "configure"
19457 +cat >conftest.$ac_ext <<_ACEOF
19458 +#line $LINENO "configure"
19459 #include "confdefs.h"
19461 /* Override any gcc2 internal prototype to avoid an error. */
19462 +#ifdef __cplusplus
19465 /* We use char because int might match the return type of a gcc2
19466 - builtin and then its argument prototype would still apply. */
19473 -if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19475 - eval "ac_cv_lib_$ac_lib_var=yes"
19477 - echo "configure: failed program was:" >&5
19478 - cat conftest.$ac_ext >&5
19480 - eval "ac_cv_lib_$ac_lib_var=no"
19483 -LIBS="$ac_save_LIBS"
19486 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19487 - echo "$ac_t""yes" 1>&6
19488 - ac_tr_lib=HAVE_LIB`echo crypto | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19489 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19490 - cat >> confdefs.h <<EOF
19491 -#define $ac_tr_lib 1
19493 + builtin and then its argument prototype would still apply. */
19495 +#ifdef F77_DUMMY_MAIN
19496 +# ifdef __cplusplus
19499 + int F77_DUMMY_MAIN() { return 1; }
19509 +rm -f conftest.$ac_objext conftest$ac_exeext
19510 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19511 + (eval $ac_link) 2>&5
19513 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 + (exit $ac_status); } &&
19515 + { ac_try='test -s conftest$ac_exeext'
19516 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 + (eval $ac_try) 2>&5
19519 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 + (exit $ac_status); }; }; then
19521 + ac_cv_lib_crypto_X509_new=yes
19523 + echo "$as_me: failed program was:" >&5
19524 +cat conftest.$ac_ext >&5
19525 +ac_cv_lib_crypto_X509_new=no
19527 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19528 +LIBS=$ac_check_lib_save_LIBS
19530 +echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_X509_new" >&5
19531 +echo "${ECHO_T}$ac_cv_lib_crypto_X509_new" >&6
19532 +if test $ac_cv_lib_crypto_X509_new = yes; then
19533 + cat >>confdefs.h <<_ACEOF
19534 +#define HAVE_LIBCRYPTO 1
19537 LIBS="-lcrypto $LIBS"
19540 - echo "$ac_t""no" 1>&6
19541 -{ echo "configure: error: Unable to find SSL library" 1>&2; exit 1; }
19542 + { { echo "$as_me:$LINENO: error: Unable to find SSL library" >&5
19543 +echo "$as_me: error: Unable to find SSL library" >&2;}
19544 + { (exit 1); exit 1; }; }
19547 - echo $ac_n "checking for SSL_new in -lssl""... $ac_c" 1>&6
19548 -echo "configure:5395: checking for SSL_new in -lssl" >&5
19549 -ac_lib_var=`echo ssl'_'SSL_new | sed 'y%./+-%__p_%'`
19550 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19551 - echo $ac_n "(cached) $ac_c" 1>&6
19553 +echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
19554 +echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6
19555 +if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
19556 + echo $ECHO_N "(cached) $ECHO_C" >&6
19558 - ac_save_LIBS="$LIBS"
19559 + ac_check_lib_save_LIBS=$LIBS
19560 LIBS="-lssl -lcrypto $LIBS"
19561 -cat > conftest.$ac_ext <<EOF
19562 -#line 5403 "configure"
19563 +cat >conftest.$ac_ext <<_ACEOF
19564 +#line $LINENO "configure"
19565 #include "confdefs.h"
19567 /* Override any gcc2 internal prototype to avoid an error. */
19568 +#ifdef __cplusplus
19571 /* We use char because int might match the return type of a gcc2
19572 - builtin and then its argument prototype would still apply. */
19579 -if { (eval echo configure:5414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19581 - eval "ac_cv_lib_$ac_lib_var=yes"
19583 - echo "configure: failed program was:" >&5
19584 - cat conftest.$ac_ext >&5
19586 - eval "ac_cv_lib_$ac_lib_var=no"
19589 -LIBS="$ac_save_LIBS"
19592 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19593 - echo "$ac_t""yes" 1>&6
19594 - ac_tr_lib=HAVE_LIB`echo ssl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19595 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19596 - cat >> confdefs.h <<EOF
19597 -#define $ac_tr_lib 1
19599 + builtin and then its argument prototype would still apply. */
19601 +#ifdef F77_DUMMY_MAIN
19602 +# ifdef __cplusplus
19605 + int F77_DUMMY_MAIN() { return 1; }
19615 +rm -f conftest.$ac_objext conftest$ac_exeext
19616 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617 + (eval $ac_link) 2>&5
19619 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 + (exit $ac_status); } &&
19621 + { ac_try='test -s conftest$ac_exeext'
19622 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 + (eval $ac_try) 2>&5
19625 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 + (exit $ac_status); }; }; then
19627 + ac_cv_lib_ssl_SSL_new=yes
19629 + echo "$as_me: failed program was:" >&5
19630 +cat conftest.$ac_ext >&5
19631 +ac_cv_lib_ssl_SSL_new=no
19633 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19634 +LIBS=$ac_check_lib_save_LIBS
19636 +echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
19637 +echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6
19638 +if test $ac_cv_lib_ssl_SSL_new = yes; then
19639 + cat >>confdefs.h <<_ACEOF
19640 +#define HAVE_LIBSSL 1
19646 - echo "$ac_t""no" 1>&6
19647 -{ echo "configure: error: Unable to find SSL library" 1>&2; exit 1; }
19648 + { { echo "$as_me:$LINENO: error: Unable to find SSL library" >&5
19649 +echo "$as_me: error: Unable to find SSL library" >&2;}
19650 + { (exit 1); exit 1; }; }
19654 - for ac_func in RAND_status RAND_egd
19657 +for ac_func in RAND_status RAND_egd
19659 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19660 -echo "configure:5446: checking for $ac_func" >&5
19661 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19662 - echo $ac_n "(cached) $ac_c" 1>&6
19663 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19664 +echo "$as_me:$LINENO: checking for $ac_func" >&5
19665 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19666 +if eval "test \"\${$as_ac_var+set}\" = set"; then
19667 + echo $ECHO_N "(cached) $ECHO_C" >&6
19669 - cat > conftest.$ac_ext <<EOF
19670 -#line 5451 "configure"
19671 + cat >conftest.$ac_ext <<_ACEOF
19672 +#line $LINENO "configure"
19673 #include "confdefs.h"
19674 /* System header to define __stub macros and hopefully few prototypes,
19675 - which can conflict with char $ac_func(); below. */
19676 + which can conflict with char $ac_func (); below. */
19677 #include <assert.h>
19678 /* Override any gcc2 internal prototype to avoid an error. */
19679 +#ifdef __cplusplus
19682 /* We use char because int might match the return type of a gcc2
19683 - builtin and then its argument prototype would still apply. */
19687 + builtin and then its argument prototype would still apply. */
19691 +#ifdef F77_DUMMY_MAIN
19692 +# ifdef __cplusplus
19695 + int F77_DUMMY_MAIN() { return 1; }
19700 /* The GNU C library defines this for functions which it implements
19701 to always fail with ENOSYS. Some functions are actually named
19702 something starting with __ and the normal name is an alias. */
19703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19712 -if { (eval echo configure:5474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19714 - eval "ac_cv_func_$ac_func=yes"
19719 +rm -f conftest.$ac_objext conftest$ac_exeext
19720 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19721 + (eval $ac_link) 2>&5
19723 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 + (exit $ac_status); } &&
19725 + { ac_try='test -s conftest$ac_exeext'
19726 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 + (eval $ac_try) 2>&5
19729 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 + (exit $ac_status); }; }; then
19731 + eval "$as_ac_var=yes"
19733 - echo "configure: failed program was:" >&5
19734 - cat conftest.$ac_ext >&5
19736 - eval "ac_cv_func_$ac_func=no"
19737 + echo "$as_me: failed program was:" >&5
19738 +cat conftest.$ac_ext >&5
19739 +eval "$as_ac_var=no"
19742 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19744 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19745 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19746 +if test `eval echo '${'$as_ac_var'}'` = yes; then
19747 + cat >>confdefs.h <<_ACEOF
19748 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19751 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19752 - echo "$ac_t""yes" 1>&6
19753 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19754 - cat >> confdefs.h <<EOF
19755 -#define $ac_tr_func 1
19759 - echo "$ac_t""no" 1>&6
19764 - cat >> confdefs.h <<\EOF
19766 +cat >>confdefs.h <<\_ACEOF
19772 MUTTLIBS="$MUTTLIBS -lssl -lcrypto"
19773 @@ -5508,8 +10011,7 @@
19782 if test x$need_ssl = xyes; then
19783 @@ -5520,13 +10022,17 @@
19789 # Check whether --with-nss or --without-nss was given.
19790 if test "${with_nss+set}" = set; then
19791 withval="$with_nss"
19792 if test "$with_nss" != no
19794 if test "$need_socket" != "yes"; then
19795 - { echo "configure: error: SSL support is only useful with POP or IMAP support" 1>&2; exit 1; }
19796 + { { echo "$as_me:$LINENO: error: SSL support is only useful with POP or IMAP support" >&5
19797 +echo "$as_me: error: SSL support is only useful with POP or IMAP support" >&2;}
19798 + { (exit 1); exit 1; }; }
19801 if test "$with_nss" != "yes"
19802 @@ -5535,9 +10041,10 @@
19803 CPPFLAGS="$CPPFLAGS -I$withval/include -I$withval/public/security"
19806 - cat >> confdefs.h <<\EOF
19808 +cat >>confdefs.h <<\_ACEOF
19813 MUTTLIBS="$MUTTLIBS -lssl -lnss -lcertdb -lcerthi -lcryptohi"
19814 MUTTLIBS="$MUTTLIBS -lpk11wrap -lsoftoken -lsecutil -ldbm -lplds4 -lplc4 -lfreebl"
19815 @@ -5547,16 +10054,18 @@
19823 # Check whether --with-sasl or --without-sasl was given.
19824 if test "${with_sasl+set}" = set; then
19825 withval="$with_sasl"
19828 if test "$need_socket" != "yes"
19830 - { echo "configure: error: SASL support is only useful with POP or IMAP support" 1>&2; exit 1; }
19831 + { { echo "$as_me:$LINENO: error: SASL support is only useful with POP or IMAP support" >&5
19832 +echo "$as_me: error: SASL support is only useful with POP or IMAP support" >&2;}
19833 + { (exit 1); exit 1; }; }
19836 if test "$with_sasl" != "no"
19837 @@ -5569,68 +10078,89 @@
19841 - echo $ac_n "checking for sasl_client_init in -lsasl""... $ac_c" 1>&6
19842 -echo "configure:5572: checking for sasl_client_init in -lsasl" >&5
19843 -ac_lib_var=`echo sasl'_'sasl_client_init | sed 'y%./+-%__p_%'`
19844 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19845 - echo $ac_n "(cached) $ac_c" 1>&6
19847 +echo "$as_me:$LINENO: checking for sasl_client_init in -lsasl" >&5
19848 +echo $ECHO_N "checking for sasl_client_init in -lsasl... $ECHO_C" >&6
19849 +if test "${ac_cv_lib_sasl_sasl_client_init+set}" = set; then
19850 + echo $ECHO_N "(cached) $ECHO_C" >&6
19852 - ac_save_LIBS="$LIBS"
19853 + ac_check_lib_save_LIBS=$LIBS
19854 LIBS="-lsasl $LIBS"
19855 -cat > conftest.$ac_ext <<EOF
19856 -#line 5580 "configure"
19857 +cat >conftest.$ac_ext <<_ACEOF
19858 +#line $LINENO "configure"
19859 #include "confdefs.h"
19861 /* Override any gcc2 internal prototype to avoid an error. */
19862 +#ifdef __cplusplus
19865 /* We use char because int might match the return type of a gcc2
19866 - builtin and then its argument prototype would still apply. */
19867 -char sasl_client_init();
19870 -sasl_client_init()
19873 -if { (eval echo configure:5591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19875 - eval "ac_cv_lib_$ac_lib_var=yes"
19877 - echo "configure: failed program was:" >&5
19878 - cat conftest.$ac_ext >&5
19880 - eval "ac_cv_lib_$ac_lib_var=no"
19883 -LIBS="$ac_save_LIBS"
19886 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19887 - echo "$ac_t""yes" 1>&6
19888 - ac_tr_lib=HAVE_LIB`echo sasl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
19889 - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19890 - cat >> confdefs.h <<EOF
19891 -#define $ac_tr_lib 1
19893 + builtin and then its argument prototype would still apply. */
19894 +char sasl_client_init ();
19895 +#ifdef F77_DUMMY_MAIN
19896 +# ifdef __cplusplus
19899 + int F77_DUMMY_MAIN() { return 1; }
19904 +sasl_client_init ();
19909 +rm -f conftest.$ac_objext conftest$ac_exeext
19910 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19911 + (eval $ac_link) 2>&5
19913 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 + (exit $ac_status); } &&
19915 + { ac_try='test -s conftest$ac_exeext'
19916 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 + (eval $ac_try) 2>&5
19919 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 + (exit $ac_status); }; }; then
19921 + ac_cv_lib_sasl_sasl_client_init=yes
19923 + echo "$as_me: failed program was:" >&5
19924 +cat conftest.$ac_ext >&5
19925 +ac_cv_lib_sasl_sasl_client_init=no
19927 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19928 +LIBS=$ac_check_lib_save_LIBS
19930 +echo "$as_me:$LINENO: result: $ac_cv_lib_sasl_sasl_client_init" >&5
19931 +echo "${ECHO_T}$ac_cv_lib_sasl_sasl_client_init" >&6
19932 +if test $ac_cv_lib_sasl_sasl_client_init = yes; then
19933 + cat >>confdefs.h <<_ACEOF
19934 +#define HAVE_LIBSASL 1
19937 LIBS="-lsasl $LIBS"
19940 - echo "$ac_t""no" 1>&6
19941 -{ echo "configure: error: could not find libsasl" 1>&2; exit 1; }
19942 + { { echo "$as_me:$LINENO: error: could not find libsasl" >&5
19943 +echo "$as_me: error: could not find libsasl" >&2;}
19944 + { (exit 1); exit 1; }; }
19948 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_sasl.o"
19949 MUTTLIBS="$MUTTLIBS -lsasl"
19951 - cat >> confdefs.h <<\EOF
19953 +cat >>confdefs.h <<\_ACEOF
19967 if test x$need_sasl = xyes; then
19968 @@ -5641,6 +10171,7 @@
19973 if test "$need_md5" = "yes"
19975 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS md5c.o"
19976 @@ -5651,39 +10182,39 @@
19977 if test "${enable_debug+set}" = set; then
19978 enableval="$enable_debug"
19979 if test x$enableval = xyes ; then
19980 - cat >> confdefs.h <<\EOF
19982 +cat >>confdefs.h <<\_ACEOF
19993 # Check whether --enable-flock or --disable-flock was given.
19994 if test "${enable_flock+set}" = set; then
19995 enableval="$enable_flock"
19996 if test $enableval = yes; then
19997 - cat >> confdefs.h <<\EOF
19999 +cat >>confdefs.h <<\_ACEOF
20000 #define USE_FLOCK 1
20010 # Check whether --enable-fcntl or --disable-fcntl was given.
20011 if test "${enable_fcntl+set}" = set; then
20012 enableval="$enable_fcntl"
20013 if test $enableval = no; then mutt_cv_fcntl=no; fi
20018 if test $mutt_cv_fcntl = yes; then
20019 - cat >> confdefs.h <<\EOF
20021 +cat >>confdefs.h <<\_ACEOF
20022 #define USE_FCNTL 1
20028 @@ -5694,8 +10225,7 @@
20029 if test $enableval = no; then
20030 mutt_cv_warnings=no
20036 if test x$GCC = xyes -a $mutt_cv_warnings = yes; then
20037 CFLAGS="-Wall -pedantic $CFLAGS"
20038 @@ -5705,84 +10235,83 @@
20039 if test "${enable_nfs_fix+set}" = set; then
20040 enableval="$enable_nfs_fix"
20041 if test x$enableval = xyes; then
20042 - cat >> confdefs.h <<\EOF
20043 + cat >>confdefs.h <<\_ACEOF
20044 #define NFS_ATTRIBUTE_HACK 1
20053 # Check whether --enable-buffy-size or --disable-buffy-size was given.
20054 if test "${enable_buffy_size+set}" = set; then
20055 enableval="$enable_buffy_size"
20056 if test x$enableval = xyes; then
20057 - cat >> confdefs.h <<\EOF
20059 +cat >>confdefs.h <<\_ACEOF
20060 #define BUFFY_SIZE 1
20069 # Check whether --enable-mailtool or --disable-mailtool was given.
20070 if test "${enable_mailtool+set}" = set; then
20071 enableval="$enable_mailtool"
20072 if test x$enableval = xyes; then
20073 - cat >> confdefs.h <<\EOF
20075 +cat >>confdefs.h <<\_ACEOF
20076 #define SUN_ATTACHMENT 1
20085 # Check whether --enable-locales-fix or --disable-locales-fix was given.
20086 if test "${enable_locales_fix+set}" = set; then
20087 enableval="$enable_locales_fix"
20088 if test x$enableval = xyes; then
20089 - cat >> confdefs.h <<\EOF
20091 +cat >>confdefs.h <<\_ACEOF
20092 #define LOCALES_HACK 1
20100 +# Check whether --enable-compressed or --disable-compressed was given.
20101 +if test "${enable_compressed+set}" = set; then
20102 + enableval="$enable_compressed"
20103 + if test x$enableval = xyes; then
20105 +cat >>confdefs.h <<\_ACEOF
20106 +#define USE_COMPRESSED 1
20113 # Check whether --with-exec-shell or --without-exec-shell was given.
20114 if test "${with_exec_shell+set}" = set; then
20115 withval="$with_exec_shell"
20116 if test $withval != yes; then
20117 - cat >> confdefs.h <<EOF
20118 + cat >>confdefs.h <<_ACEOF
20119 #define EXECSHELL "$withval"
20128 # Check whether --enable-exact-address or --disable-exact-address was given.
20129 if test "${enable_exact_address+set}" = set; then
20130 enableval="$enable_exact_address"
20131 if test $enableval = yes; then
20132 - cat >> confdefs.h <<\EOF
20133 + cat >>confdefs.h <<\_ACEOF
20134 #define EXACT_ADDRESS 1
20141 -# Check whether --enable-compressed or --disable-compressed was given.
20142 -if test "${enable_compressed+set}" = set; then
20143 - enableval="$enable_compressed"
20144 - if test x$enableval = xyes; then
20145 - cat >> confdefs.h <<\EOF
20146 -#define USE_COMPRESSED 1
20156 @@ -5790,117 +10319,185 @@
20161 -echo $ac_n "checking for off_t""... $ac_c" 1>&6
20162 -echo "configure:5782: checking for off_t" >&5
20163 -if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
20164 - echo $ac_n "(cached) $ac_c" 1>&6
20165 +echo "$as_me:$LINENO: checking for off_t" >&5
20166 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6
20167 +if test "${ac_cv_type_off_t+set}" = set; then
20168 + echo $ECHO_N "(cached) $ECHO_C" >&6
20170 - cat > conftest.$ac_ext <<EOF
20171 -#line 5787 "configure"
20172 + cat >conftest.$ac_ext <<_ACEOF
20173 +#line $LINENO "configure"
20174 #include "confdefs.h"
20175 -#include <sys/types.h>
20177 -#include <stdlib.h>
20178 -#include <stddef.h>
20179 +$ac_includes_default
20180 +#ifdef F77_DUMMY_MAIN
20181 +# ifdef __cplusplus
20184 + int F77_DUMMY_MAIN() { return 1; }
20187 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20188 - egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
20195 +if (sizeof (off_t))
20201 +rm -f conftest.$ac_objext
20202 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20203 + (eval $ac_compile) 2>&5
20205 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 + (exit $ac_status); } &&
20207 + { ac_try='test -s conftest.$ac_objext'
20208 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 + (eval $ac_try) 2>&5
20211 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 + (exit $ac_status); }; }; then
20213 ac_cv_type_off_t=yes
20216 - ac_cv_type_off_t=no
20219 + echo "$as_me: failed program was:" >&5
20220 +cat conftest.$ac_ext >&5
20221 +ac_cv_type_off_t=no
20223 +rm -f conftest.$ac_objext conftest.$ac_ext
20225 +echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
20226 +echo "${ECHO_T}$ac_cv_type_off_t" >&6
20227 +if test $ac_cv_type_off_t = yes; then
20232 -echo "$ac_t""$ac_cv_type_off_t" 1>&6
20233 -if test $ac_cv_type_off_t = no; then
20234 - cat >> confdefs.h <<\EOF
20235 +cat >>confdefs.h <<_ACEOF
20242 -echo $ac_n "checking for size_t""... $ac_c" 1>&6
20243 -echo "configure:5815: checking for size_t" >&5
20244 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
20245 - echo $ac_n "(cached) $ac_c" 1>&6
20246 +echo "$as_me:$LINENO: checking for size_t" >&5
20247 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20248 +if test "${ac_cv_type_size_t+set}" = set; then
20249 + echo $ECHO_N "(cached) $ECHO_C" >&6
20251 - cat > conftest.$ac_ext <<EOF
20252 -#line 5820 "configure"
20253 + cat >conftest.$ac_ext <<_ACEOF
20254 +#line $LINENO "configure"
20255 #include "confdefs.h"
20256 -#include <sys/types.h>
20258 -#include <stdlib.h>
20259 -#include <stddef.h>
20260 +$ac_includes_default
20261 +#ifdef F77_DUMMY_MAIN
20262 +# ifdef __cplusplus
20265 + int F77_DUMMY_MAIN() { return 1; }
20268 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20269 - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
20276 +if (sizeof (size_t))
20282 +rm -f conftest.$ac_objext
20283 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20284 + (eval $ac_compile) 2>&5
20286 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 + (exit $ac_status); } &&
20288 + { ac_try='test -s conftest.$ac_objext'
20289 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20290 + (eval $ac_try) 2>&5
20292 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 + (exit $ac_status); }; }; then
20294 ac_cv_type_size_t=yes
20297 - ac_cv_type_size_t=no
20300 + echo "$as_me: failed program was:" >&5
20301 +cat conftest.$ac_ext >&5
20302 +ac_cv_type_size_t=no
20304 +rm -f conftest.$ac_objext conftest.$ac_ext
20306 +echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20307 +echo "${ECHO_T}$ac_cv_type_size_t" >&6
20308 +if test $ac_cv_type_size_t = yes; then
20313 -echo "$ac_t""$ac_cv_type_size_t" 1>&6
20314 -if test $ac_cv_type_size_t = no; then
20315 - cat >> confdefs.h <<\EOF
20316 +cat >>confdefs.h <<_ACEOF
20317 #define size_t unsigned
20323 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20324 # for constant arguments. Useless!
20325 -echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
20326 -echo "configure:5850: checking for working alloca.h" >&5
20327 -if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
20328 - echo $ac_n "(cached) $ac_c" 1>&6
20329 +echo "$as_me:$LINENO: checking for working alloca.h" >&5
20330 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
20331 +if test "${ac_cv_working_alloca_h+set}" = set; then
20332 + echo $ECHO_N "(cached) $ECHO_C" >&6
20334 - cat > conftest.$ac_ext <<EOF
20335 -#line 5855 "configure"
20336 + cat >conftest.$ac_ext <<_ACEOF
20337 +#line $LINENO "configure"
20338 #include "confdefs.h"
20339 #include <alloca.h>
20341 -char *p = alloca(2 * sizeof(int));
20344 -if { (eval echo configure:5862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20346 - ac_cv_header_alloca_h=yes
20348 - echo "configure: failed program was:" >&5
20349 - cat conftest.$ac_ext >&5
20351 - ac_cv_header_alloca_h=no
20355 +#ifdef F77_DUMMY_MAIN
20356 +# ifdef __cplusplus
20359 + int F77_DUMMY_MAIN() { return 1; }
20364 +char *p = (char *) alloca (2 * sizeof (int));
20369 +rm -f conftest.$ac_objext conftest$ac_exeext
20370 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20371 + (eval $ac_link) 2>&5
20373 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 + (exit $ac_status); } &&
20375 + { ac_try='test -s conftest$ac_exeext'
20376 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 + (eval $ac_try) 2>&5
20379 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 + (exit $ac_status); }; }; then
20381 + ac_cv_working_alloca_h=yes
20383 + echo "$as_me: failed program was:" >&5
20384 +cat conftest.$ac_ext >&5
20385 +ac_cv_working_alloca_h=no
20387 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20389 +echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20390 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
20391 +if test $ac_cv_working_alloca_h = yes; then
20393 -echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
20394 -if test $ac_cv_header_alloca_h = yes; then
20395 - cat >> confdefs.h <<\EOF
20396 +cat >>confdefs.h <<\_ACEOF
20397 #define HAVE_ALLOCA_H 1
20403 -echo $ac_n "checking for alloca""... $ac_c" 1>&6
20404 -echo "configure:5883: checking for alloca" >&5
20405 -if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
20406 - echo $ac_n "(cached) $ac_c" 1>&6
20407 +echo "$as_me:$LINENO: checking for alloca" >&5
20408 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6
20409 +if test "${ac_cv_func_alloca_works+set}" = set; then
20410 + echo $ECHO_N "(cached) $ECHO_C" >&6
20412 - cat > conftest.$ac_ext <<EOF
20413 -#line 5888 "configure"
20414 + cat >conftest.$ac_ext <<_ACEOF
20415 +#line $LINENO "configure"
20416 #include "confdefs.h"
20419 # define alloca __builtin_alloca
20421 @@ -5922,48 +10519,69 @@
20426 -char *p = (char *) alloca(1);
20429 -if { (eval echo configure:5916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20431 +#ifdef F77_DUMMY_MAIN
20432 +# ifdef __cplusplus
20435 + int F77_DUMMY_MAIN() { return 1; }
20440 +char *p = (char *) alloca (1);
20445 +rm -f conftest.$ac_objext conftest$ac_exeext
20446 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20447 + (eval $ac_link) 2>&5
20449 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 + (exit $ac_status); } &&
20451 + { ac_try='test -s conftest$ac_exeext'
20452 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 + (eval $ac_try) 2>&5
20455 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 + (exit $ac_status); }; }; then
20457 ac_cv_func_alloca_works=yes
20459 - echo "configure: failed program was:" >&5
20460 - cat conftest.$ac_ext >&5
20462 - ac_cv_func_alloca_works=no
20463 + echo "$as_me: failed program was:" >&5
20464 +cat conftest.$ac_ext >&5
20465 +ac_cv_func_alloca_works=no
20468 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20470 +echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20471 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
20473 -echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
20474 if test $ac_cv_func_alloca_works = yes; then
20475 - cat >> confdefs.h <<\EOF
20476 -#define HAVE_ALLOCA 1
20480 +cat >>confdefs.h <<\_ACEOF
20481 +#define HAVE_ALLOCA 1
20484 -if test $ac_cv_func_alloca_works = no; then
20486 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20487 - # that cause trouble. Some versions do not even contain alloca or
20488 - # contain a buggy version. If you still want to use their alloca,
20489 - # use ar to extract alloca.o from them instead of compiling alloca.c.
20490 - ALLOCA=alloca.${ac_objext}
20491 - cat >> confdefs.h <<\EOF
20492 +# that cause trouble. Some versions do not even contain alloca or
20493 +# contain a buggy version. If you still want to use their alloca,
20494 +# use ar to extract alloca.o from them instead of compiling alloca.c.
20496 +ALLOCA=alloca.$ac_objext
20498 +cat >>confdefs.h <<\_ACEOF
20504 -echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
20505 -echo "configure:5948: checking whether alloca needs Cray hooks" >&5
20506 -if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
20507 - echo $ac_n "(cached) $ac_c" 1>&6
20508 +echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
20509 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
20510 +if test "${ac_cv_os_cray+set}" = set; then
20511 + echo $ECHO_N "(cached) $ECHO_C" >&6
20513 - cat > conftest.$ac_ext <<EOF
20514 -#line 5953 "configure"
20515 + cat >conftest.$ac_ext <<_ACEOF
20516 +#line $LINENO "configure"
20517 #include "confdefs.h"
20518 #if defined(CRAY) && ! defined(CRAY2)
20520 @@ -5971,88 +10589,109 @@
20526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20527 egrep "webecray" >/dev/null 2>&1; then
20538 -echo "$ac_t""$ac_cv_os_cray" 1>&6
20539 +echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
20540 +echo "${ECHO_T}$ac_cv_os_cray" >&6
20541 if test $ac_cv_os_cray = yes; then
20542 -for ac_func in _getb67 GETB67 getb67; do
20543 - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20544 -echo "configure:5978: checking for $ac_func" >&5
20545 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20546 - echo $ac_n "(cached) $ac_c" 1>&6
20547 + for ac_func in _getb67 GETB67 getb67; do
20548 + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20549 +echo "$as_me:$LINENO: checking for $ac_func" >&5
20550 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20551 +if eval "test \"\${$as_ac_var+set}\" = set"; then
20552 + echo $ECHO_N "(cached) $ECHO_C" >&6
20554 - cat > conftest.$ac_ext <<EOF
20555 -#line 5983 "configure"
20556 + cat >conftest.$ac_ext <<_ACEOF
20557 +#line $LINENO "configure"
20558 #include "confdefs.h"
20559 /* System header to define __stub macros and hopefully few prototypes,
20560 - which can conflict with char $ac_func(); below. */
20561 + which can conflict with char $ac_func (); below. */
20562 #include <assert.h>
20563 /* Override any gcc2 internal prototype to avoid an error. */
20564 +#ifdef __cplusplus
20567 /* We use char because int might match the return type of a gcc2
20568 - builtin and then its argument prototype would still apply. */
20572 + builtin and then its argument prototype would still apply. */
20576 +#ifdef F77_DUMMY_MAIN
20577 +# ifdef __cplusplus
20580 + int F77_DUMMY_MAIN() { return 1; }
20585 /* The GNU C library defines this for functions which it implements
20586 to always fail with ENOSYS. Some functions are actually named
20587 something starting with __ and the normal name is an alias. */
20588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20597 -if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20599 - eval "ac_cv_func_$ac_func=yes"
20601 - echo "configure: failed program was:" >&5
20602 - cat conftest.$ac_ext >&5
20604 - eval "ac_cv_func_$ac_func=no"
20612 +rm -f conftest.$ac_objext conftest$ac_exeext
20613 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20614 + (eval $ac_link) 2>&5
20616 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 + (exit $ac_status); } &&
20618 + { ac_try='test -s conftest$ac_exeext'
20619 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 + (eval $ac_try) 2>&5
20622 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 + (exit $ac_status); }; }; then
20624 + eval "$as_ac_var=yes"
20626 + echo "$as_me: failed program was:" >&5
20627 +cat conftest.$ac_ext >&5
20628 +eval "$as_ac_var=no"
20630 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20632 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20633 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20634 +if test `eval echo '${'$as_ac_var'}'` = yes; then
20636 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20637 - echo "$ac_t""yes" 1>&6
20638 - cat >> confdefs.h <<EOF
20639 +cat >>confdefs.h <<_ACEOF
20640 #define CRAY_STACKSEG_END $ac_func
20646 - echo "$ac_t""no" 1>&6
20654 -echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
20655 -echo "configure:6033: checking stack direction for C alloca" >&5
20656 -if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
20657 - echo $ac_n "(cached) $ac_c" 1>&6
20658 +echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
20659 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
20660 +if test "${ac_cv_c_stack_direction+set}" = set; then
20661 + echo $ECHO_N "(cached) $ECHO_C" >&6
20663 if test "$cross_compiling" = yes; then
20664 ac_cv_c_stack_direction=0
20666 - cat > conftest.$ac_ext <<EOF
20667 -#line 6041 "configure"
20668 + cat >conftest.$ac_ext <<_ACEOF
20669 +#line $LINENO "configure"
20670 #include "confdefs.h"
20672 find_stack_direction ()
20674 static char *addr = 0;
20675 @@ -6065,138 +10704,250 @@
20677 return (&dummy > addr) ? 1 : -1;
20683 - exit (find_stack_direction() < 0);
20684 + exit (find_stack_direction () < 0);
20687 -if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
20690 +rm -f conftest$ac_exeext
20691 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20692 + (eval $ac_link) 2>&5
20694 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20696 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 + (eval $ac_try) 2>&5
20699 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 + (exit $ac_status); }; }; then
20701 ac_cv_c_stack_direction=1
20703 - echo "configure: failed program was:" >&5
20704 - cat conftest.$ac_ext >&5
20706 - ac_cv_c_stack_direction=-1
20707 + echo "$as_me: program exited with status $ac_status" >&5
20708 +echo "$as_me: failed program was:" >&5
20709 +cat conftest.$ac_ext >&5
20710 +( exit $ac_status )
20711 +ac_cv_c_stack_direction=-1
20714 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20718 +echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
20719 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
20721 -echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
20722 -cat >> confdefs.h <<EOF
20723 +cat >>confdefs.h <<_ACEOF
20724 #define STACK_DIRECTION $ac_cv_c_stack_direction
20731 -for ac_hdr in unistd.h
20734 +for ac_header in stdlib.h unistd.h
20736 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20737 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20738 -echo "configure:6085: checking for $ac_hdr" >&5
20739 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20740 - echo $ac_n "(cached) $ac_c" 1>&6
20741 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20742 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
20743 + echo "$as_me:$LINENO: checking for $ac_header" >&5
20744 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20745 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
20746 + echo $ECHO_N "(cached) $ECHO_C" >&6
20748 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20749 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20751 + # Is the header compilable?
20752 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
20753 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20754 +cat >conftest.$ac_ext <<_ACEOF
20755 +#line $LINENO "configure"
20756 +#include "confdefs.h"
20757 +$ac_includes_default
20758 +#include <$ac_header>
20760 +rm -f conftest.$ac_objext
20761 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20762 + (eval $ac_compile) 2>&5
20764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 + (exit $ac_status); } &&
20766 + { ac_try='test -s conftest.$ac_objext'
20767 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 + (eval $ac_try) 2>&5
20770 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 + (exit $ac_status); }; }; then
20772 + ac_header_compiler=yes
20774 + echo "$as_me: failed program was:" >&5
20775 +cat conftest.$ac_ext >&5
20776 +ac_header_compiler=no
20778 +rm -f conftest.$ac_objext conftest.$ac_ext
20779 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20780 +echo "${ECHO_T}$ac_header_compiler" >&6
20782 +# Is the header present?
20783 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
20784 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20785 +cat >conftest.$ac_ext <<_ACEOF
20786 +#line $LINENO "configure"
20787 +#include "confdefs.h"
20788 +#include <$ac_header>
20790 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20791 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20793 + egrep -v '^ *\+' conftest.er1 >conftest.err
20794 + rm -f conftest.er1
20795 + cat conftest.err >&5
20796 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 + (exit $ac_status); } >/dev/null; then
20798 + if test -s conftest.err; then
20799 + ac_cpp_err=$ac_c_preproc_warn_flag
20804 - cat > conftest.$ac_ext <<EOF
20805 -#line 6090 "configure"
20806 -#include "confdefs.h"
20807 -#include <$ac_hdr>
20809 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20810 -{ (eval echo configure:6095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20811 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20812 -if test -z "$ac_err"; then
20814 - eval "ac_cv_header_$ac_safe=yes"
20817 +if test -z "$ac_cpp_err"; then
20818 + ac_header_preproc=yes
20820 - echo "$ac_err" >&5
20821 - echo "configure: failed program was:" >&5
20822 + echo "$as_me: failed program was:" >&5
20823 cat conftest.$ac_ext >&5
20825 - eval "ac_cv_header_$ac_safe=no"
20828 + ac_header_preproc=no
20830 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20831 - echo "$ac_t""yes" 1>&6
20832 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20833 - cat >> confdefs.h <<EOF
20834 -#define $ac_tr_hdr 1
20837 +rm -f conftest.err conftest.$ac_ext
20838 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20839 +echo "${ECHO_T}$ac_header_preproc" >&6
20841 +# So? What about this header?
20842 +case $ac_header_compiler:$ac_header_preproc in
20844 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20845 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20846 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20847 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20849 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20850 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20851 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20852 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20853 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20854 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
20856 +echo "$as_me:$LINENO: checking for $ac_header" >&5
20857 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20858 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
20859 + echo $ECHO_N "(cached) $ECHO_C" >&6
20861 - echo "$ac_t""no" 1>&6
20862 + eval "$as_ac_Header=$ac_header_preproc"
20864 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20865 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20868 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
20869 + cat >>confdefs.h <<_ACEOF
20870 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20878 for ac_func in getpagesize
20880 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20881 -echo "configure:6124: checking for $ac_func" >&5
20882 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20883 - echo $ac_n "(cached) $ac_c" 1>&6
20884 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20885 +echo "$as_me:$LINENO: checking for $ac_func" >&5
20886 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20887 +if eval "test \"\${$as_ac_var+set}\" = set"; then
20888 + echo $ECHO_N "(cached) $ECHO_C" >&6
20890 - cat > conftest.$ac_ext <<EOF
20891 -#line 6129 "configure"
20892 + cat >conftest.$ac_ext <<_ACEOF
20893 +#line $LINENO "configure"
20894 #include "confdefs.h"
20895 /* System header to define __stub macros and hopefully few prototypes,
20896 - which can conflict with char $ac_func(); below. */
20897 + which can conflict with char $ac_func (); below. */
20898 #include <assert.h>
20899 /* Override any gcc2 internal prototype to avoid an error. */
20900 +#ifdef __cplusplus
20903 /* We use char because int might match the return type of a gcc2
20904 - builtin and then its argument prototype would still apply. */
20908 + builtin and then its argument prototype would still apply. */
20912 +#ifdef F77_DUMMY_MAIN
20913 +# ifdef __cplusplus
20916 + int F77_DUMMY_MAIN() { return 1; }
20921 /* The GNU C library defines this for functions which it implements
20922 to always fail with ENOSYS. Some functions are actually named
20923 something starting with __ and the normal name is an alias. */
20924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20933 -if { (eval echo configure:6152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20935 - eval "ac_cv_func_$ac_func=yes"
20937 - echo "configure: failed program was:" >&5
20938 - cat conftest.$ac_ext >&5
20940 - eval "ac_cv_func_$ac_func=no"
20948 +rm -f conftest.$ac_objext conftest$ac_exeext
20949 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20950 + (eval $ac_link) 2>&5
20952 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 + (exit $ac_status); } &&
20954 + { ac_try='test -s conftest$ac_exeext'
20955 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20956 + (eval $ac_try) 2>&5
20958 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 + (exit $ac_status); }; }; then
20960 + eval "$as_ac_var=yes"
20962 + echo "$as_me: failed program was:" >&5
20963 +cat conftest.$ac_ext >&5
20964 +eval "$as_ac_var=no"
20966 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20968 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20969 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20970 +if test `eval echo '${'$as_ac_var'}'` = yes; then
20971 + cat >>confdefs.h <<_ACEOF
20972 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20975 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20976 - echo "$ac_t""yes" 1>&6
20977 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20978 - cat >> confdefs.h <<EOF
20979 -#define $ac_tr_func 1
20983 - echo "$ac_t""no" 1>&6
20987 -echo $ac_n "checking for working mmap""... $ac_c" 1>&6
20988 -echo "configure:6177: checking for working mmap" >&5
20989 -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
20990 - echo $ac_n "(cached) $ac_c" 1>&6
20991 +echo "$as_me:$LINENO: checking for working mmap" >&5
20992 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20993 +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20994 + echo $ECHO_N "(cached) $ECHO_C" >&6
20996 if test "$cross_compiling" = yes; then
20997 ac_cv_func_mmap_fixed_mapped=no
20999 - cat > conftest.$ac_ext <<EOF
21000 -#line 6185 "configure"
21001 + cat >conftest.$ac_ext <<_ACEOF
21002 +#line $LINENO "configure"
21003 #include "confdefs.h"
21004 +$ac_includes_default
21005 +/* malloc might have been renamed as rpl_malloc. */
21008 /* Thanks to Mike Haertel and Jim Avera for this test.
21009 Here is a matrix of mmap possibilities:
21010 @@ -6210,34 +10961,34 @@
21011 back from the file, nor mmap's back from the file at a different
21012 address. (There have been systems where private was not correctly
21013 implemented like the infamous i386 svr4.0, and systems where the
21014 - VM page cache was not coherent with the filesystem buffer cache
21015 + VM page cache was not coherent with the file system buffer cache
21016 like early versions of FreeBSD and possibly contemporary NetBSD.)
21017 For shared mappings, we should conversely verify that changes get
21018 - propogated back to all the places they're supposed to be.
21019 + propagated back to all the places they're supposed to be.
21021 Grep wants private fixed already mapped.
21022 The main things grep needs to know about mmap are:
21023 * does it exist and is it safe to write into the mmap'd area
21024 * how to use it (BSD variants) */
21025 -#include <sys/types.h>
21028 #include <sys/mman.h>
21030 -/* This mess was copied from the GNU getpagesize.h. */
21031 -#ifndef HAVE_GETPAGESIZE
21032 -# ifdef HAVE_UNISTD_H
21033 -# include <unistd.h>
21035 +#if !STDC_HEADERS && !HAVE_STDLIB_H
21039 +/* This mess was copied from the GNU getpagesize.h. */
21040 +#if !HAVE_GETPAGESIZE
21041 /* Assume that all systems that can run configure have sys/param.h. */
21042 -# ifndef HAVE_SYS_PARAM_H
21043 +# if !HAVE_SYS_PARAM_H
21044 # define HAVE_SYS_PARAM_H 1
21047 # ifdef _SC_PAGESIZE
21048 # define getpagesize() sysconf(_SC_PAGESIZE)
21049 # else /* no _SC_PAGESIZE */
21050 -# ifdef HAVE_SYS_PARAM_H
21051 +# if HAVE_SYS_PARAM_H
21052 # include <sys/param.h>
21053 # ifdef EXEC_PAGESIZE
21054 # define getpagesize() EXEC_PAGESIZE
21055 @@ -6264,107 +11015,104 @@
21057 #endif /* no HAVE_GETPAGESIZE */
21059 -#ifdef __cplusplus
21060 -extern "C" { void *malloc(unsigned); }
21069 - char *data, *data2, *data3;
21073 - pagesize = getpagesize();
21076 - * First, make a file with some known garbage in it.
21078 - data = malloc(pagesize);
21081 - for (i = 0; i < pagesize; ++i)
21082 - *(data + i) = rand();
21084 - fd = creat("conftestmmap", 0600);
21087 - if (write(fd, data, pagesize) != pagesize)
21092 - * Next, try to mmap the file at a fixed address which
21093 - * already has something else allocated at it. If we can,
21094 - * also make sure that we see the same garbage.
21096 - fd = open("conftestmmap", O_RDWR);
21099 - data2 = malloc(2 * pagesize);
21102 - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21103 - if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21104 - MAP_PRIVATE | MAP_FIXED, fd, 0L))
21106 - for (i = 0; i < pagesize; ++i)
21107 - if (*(data + i) != *(data2 + i))
21111 - * Finally, make sure that changes to the mapped area
21112 - * do not percolate back to the file as seen by read().
21113 - * (This is a bug on some variants of i386 svr4.0.)
21115 - for (i = 0; i < pagesize; ++i)
21116 - *(data2 + i) = *(data2 + i) + 1;
21117 - data3 = malloc(pagesize);
21120 - if (read(fd, data3, pagesize) != pagesize)
21122 - for (i = 0; i < pagesize; ++i)
21123 - if (*(data + i) != *(data3 + i))
21126 - unlink("conftestmmap");
21128 + char *data, *data2, *data3;
21132 + pagesize = getpagesize ();
21134 + /* First, make a file with some known garbage in it. */
21135 + data = (char *) malloc (pagesize);
21138 + for (i = 0; i < pagesize; ++i)
21139 + *(data + i) = rand ();
21141 + fd = creat ("conftest.mmap", 0600);
21144 + if (write (fd, data, pagesize) != pagesize)
21148 + /* Next, try to mmap the file at a fixed address which already has
21149 + something else allocated at it. If we can, also make sure that
21150 + we see the same garbage. */
21151 + fd = open ("conftest.mmap", O_RDWR);
21154 + data2 = (char *) malloc (2 * pagesize);
21157 + data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21158 + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
21159 + MAP_PRIVATE | MAP_FIXED, fd, 0L))
21161 + for (i = 0; i < pagesize; ++i)
21162 + if (*(data + i) != *(data2 + i))
21165 + /* Finally, make sure that changes to the mapped area do not
21166 + percolate back to the file as seen by read(). (This is a bug on
21167 + some variants of i386 svr4.0.) */
21168 + for (i = 0; i < pagesize; ++i)
21169 + *(data2 + i) = *(data2 + i) + 1;
21170 + data3 = (char *) malloc (pagesize);
21173 + if (read (fd, data3, pagesize) != pagesize)
21175 + for (i = 0; i < pagesize; ++i)
21176 + if (*(data + i) != *(data3 + i))
21183 -if { (eval echo configure:6325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21186 +rm -f conftest$ac_exeext
21187 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21188 + (eval $ac_link) 2>&5
21190 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21192 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 + (eval $ac_try) 2>&5
21195 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 + (exit $ac_status); }; }; then
21197 ac_cv_func_mmap_fixed_mapped=yes
21199 - echo "configure: failed program was:" >&5
21200 - cat conftest.$ac_ext >&5
21202 - ac_cv_func_mmap_fixed_mapped=no
21203 + echo "$as_me: program exited with status $ac_status" >&5
21204 +echo "$as_me: failed program was:" >&5
21205 +cat conftest.$ac_ext >&5
21206 +( exit $ac_status )
21207 +ac_cv_func_mmap_fixed_mapped=no
21210 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21215 -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21216 +echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
21217 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
21218 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21219 - cat >> confdefs.h <<\EOF
21221 +cat >>confdefs.h <<\_ACEOF
21222 #define HAVE_MMAP 1
21227 +rm -f conftest.mmap
21230 - echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6
21231 -echo "configure:6349: checking whether we are using the GNU C Library 2.1 or newer" >&5
21232 -if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then
21233 - echo $ac_n "(cached) $ac_c" 1>&6
21234 + echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
21235 +echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
21236 +if test "${ac_cv_gnu_library_2_1+set}" = set; then
21237 + echo $ECHO_N "(cached) $ECHO_C" >&6
21239 - cat > conftest.$ac_ext <<EOF
21240 -#line 6354 "configure"
21241 + cat >conftest.$ac_ext <<_ACEOF
21242 +#line $LINENO "configure"
21243 #include "confdefs.h"
21245 #include <features.h>
21246 @@ -6373,133 +11121,256 @@
21254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21255 egrep "Lucky GNU user" >/dev/null 2>&1; then
21257 ac_cv_gnu_library_2_1=yes
21260 ac_cv_gnu_library_2_1=no
21269 +echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
21270 +echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
21272 -echo "$ac_t""$ac_cv_gnu_library_2_1" 1>&6
21274 GLIBC21="$ac_cv_gnu_library_2_1"
21278 - for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
21291 +for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
21292 stdlib.h string.h unistd.h sys/param.h
21294 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21295 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21296 -echo "configure:6390: checking for $ac_hdr" >&5
21297 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21298 - echo $ac_n "(cached) $ac_c" 1>&6
21300 - cat > conftest.$ac_ext <<EOF
21301 -#line 6395 "configure"
21302 -#include "confdefs.h"
21303 -#include <$ac_hdr>
21305 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21306 -{ (eval echo configure:6400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21307 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21308 -if test -z "$ac_err"; then
21310 - eval "ac_cv_header_$ac_safe=yes"
21311 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21312 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
21313 + echo "$as_me:$LINENO: checking for $ac_header" >&5
21314 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21315 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
21316 + echo $ECHO_N "(cached) $ECHO_C" >&6
21318 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21319 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21321 + # Is the header compilable?
21322 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
21323 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21324 +cat >conftest.$ac_ext <<_ACEOF
21325 +#line $LINENO "configure"
21326 +#include "confdefs.h"
21327 +$ac_includes_default
21328 +#include <$ac_header>
21330 +rm -f conftest.$ac_objext
21331 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21332 + (eval $ac_compile) 2>&5
21334 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 + (exit $ac_status); } &&
21336 + { ac_try='test -s conftest.$ac_objext'
21337 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 + (eval $ac_try) 2>&5
21340 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 + (exit $ac_status); }; }; then
21342 + ac_header_compiler=yes
21344 + echo "$as_me: failed program was:" >&5
21345 +cat conftest.$ac_ext >&5
21346 +ac_header_compiler=no
21348 +rm -f conftest.$ac_objext conftest.$ac_ext
21349 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21350 +echo "${ECHO_T}$ac_header_compiler" >&6
21352 +# Is the header present?
21353 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
21354 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21355 +cat >conftest.$ac_ext <<_ACEOF
21356 +#line $LINENO "configure"
21357 +#include "confdefs.h"
21358 +#include <$ac_header>
21360 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21361 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21363 + egrep -v '^ *\+' conftest.er1 >conftest.err
21364 + rm -f conftest.er1
21365 + cat conftest.err >&5
21366 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 + (exit $ac_status); } >/dev/null; then
21368 + if test -s conftest.err; then
21369 + ac_cpp_err=$ac_c_preproc_warn_flag
21374 - echo "$ac_err" >&5
21375 - echo "configure: failed program was:" >&5
21376 - cat conftest.$ac_ext >&5
21378 - eval "ac_cv_header_$ac_safe=no"
21382 +if test -z "$ac_cpp_err"; then
21383 + ac_header_preproc=yes
21385 + echo "$as_me: failed program was:" >&5
21386 + cat conftest.$ac_ext >&5
21387 + ac_header_preproc=no
21389 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21390 - echo "$ac_t""yes" 1>&6
21391 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21392 - cat >> confdefs.h <<EOF
21393 -#define $ac_tr_hdr 1
21396 +rm -f conftest.err conftest.$ac_ext
21397 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21398 +echo "${ECHO_T}$ac_header_preproc" >&6
21400 +# So? What about this header?
21401 +case $ac_header_compiler:$ac_header_preproc in
21403 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21404 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21405 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21406 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
21408 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21409 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21410 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21411 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21412 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21413 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
21415 +echo "$as_me:$LINENO: checking for $ac_header" >&5
21416 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21417 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
21418 + echo $ECHO_N "(cached) $ECHO_C" >&6
21420 - echo "$ac_t""no" 1>&6
21421 + eval "$as_ac_Header=$ac_header_preproc"
21423 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21424 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21427 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
21428 + cat >>confdefs.h <<_ACEOF
21429 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21436 - for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
21458 +for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
21459 getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
21460 strdup strtoul tsearch __argz_count __argz_stringify __argz_next
21462 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21463 -echo "configure:6431: checking for $ac_func" >&5
21464 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21465 - echo $ac_n "(cached) $ac_c" 1>&6
21466 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21467 +echo "$as_me:$LINENO: checking for $ac_func" >&5
21468 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21469 +if eval "test \"\${$as_ac_var+set}\" = set"; then
21470 + echo $ECHO_N "(cached) $ECHO_C" >&6
21472 - cat > conftest.$ac_ext <<EOF
21473 -#line 6436 "configure"
21474 + cat >conftest.$ac_ext <<_ACEOF
21475 +#line $LINENO "configure"
21476 #include "confdefs.h"
21477 /* System header to define __stub macros and hopefully few prototypes,
21478 - which can conflict with char $ac_func(); below. */
21479 + which can conflict with char $ac_func (); below. */
21480 #include <assert.h>
21481 /* Override any gcc2 internal prototype to avoid an error. */
21482 +#ifdef __cplusplus
21485 /* We use char because int might match the return type of a gcc2
21486 - builtin and then its argument prototype would still apply. */
21490 + builtin and then its argument prototype would still apply. */
21494 +#ifdef F77_DUMMY_MAIN
21495 +# ifdef __cplusplus
21498 + int F77_DUMMY_MAIN() { return 1; }
21503 /* The GNU C library defines this for functions which it implements
21504 to always fail with ENOSYS. Some functions are actually named
21505 something starting with __ and the normal name is an alias. */
21506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21515 -if { (eval echo configure:6459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21517 - eval "ac_cv_func_$ac_func=yes"
21522 +rm -f conftest.$ac_objext conftest$ac_exeext
21523 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21524 + (eval $ac_link) 2>&5
21526 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 + (exit $ac_status); } &&
21528 + { ac_try='test -s conftest$ac_exeext'
21529 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 + (eval $ac_try) 2>&5
21532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 + (exit $ac_status); }; }; then
21534 + eval "$as_ac_var=yes"
21536 - echo "configure: failed program was:" >&5
21537 - cat conftest.$ac_ext >&5
21539 - eval "ac_cv_func_$ac_func=no"
21540 + echo "$as_me: failed program was:" >&5
21541 +cat conftest.$ac_ext >&5
21542 +eval "$as_ac_var=no"
21545 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21547 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21548 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21549 +if test `eval echo '${'$as_ac_var'}'` = yes; then
21550 + cat >>confdefs.h <<_ACEOF
21551 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21554 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21555 - echo "$ac_t""yes" 1>&6
21556 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21557 - cat >> confdefs.h <<EOF
21558 -#define $ac_tr_func 1
21562 - echo "$ac_t""no" 1>&6
21569 - # Check whether --with-iconv or --without-iconv was given.
21573 +# Check whether --with-iconv or --without-iconv was given.
21574 if test "${with_iconv+set}" = set; then
21575 withval="$with_iconv"
21578 if test "$withval" != no ; then
21579 for dir in `echo "$withval" | tr : ' '`; do
21580 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
21581 @@ -6508,82 +11379,122 @@
21593 if test "$use_iconv" = yes ; then
21594 - echo $ac_n "checking for iconv""... $ac_c" 1>&6
21595 -echo "configure:6506: checking for iconv" >&5
21596 -if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
21597 - echo $ac_n "(cached) $ac_c" 1>&6
21598 + echo "$as_me:$LINENO: checking for iconv" >&5
21599 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21600 +if test "${am_cv_func_iconv+set}" = set; then
21601 + echo $ECHO_N "(cached) $ECHO_C" >&6
21605 am_cv_func_iconv="no, consider installing GNU libiconv"
21607 - cat > conftest.$ac_ext <<EOF
21608 -#line 6514 "configure"
21609 + cat >conftest.$ac_ext <<_ACEOF
21610 +#line $LINENO "configure"
21611 #include "confdefs.h"
21612 #include <stdlib.h>
21615 +#ifdef F77_DUMMY_MAIN
21616 +# ifdef __cplusplus
21619 + int F77_DUMMY_MAIN() { return 1; }
21624 iconv_t cd = iconv_open("","");
21625 iconv(cd,NULL,NULL,NULL,NULL);
21629 -if { (eval echo configure:6524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21635 +rm -f conftest.$ac_objext conftest$ac_exeext
21636 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21637 + (eval $ac_link) 2>&5
21639 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 + (exit $ac_status); } &&
21641 + { ac_try='test -s conftest$ac_exeext'
21642 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 + (eval $ac_try) 2>&5
21645 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 + (exit $ac_status); }; }; then
21647 am_cv_func_iconv=yes
21649 - echo "configure: failed program was:" >&5
21650 - cat conftest.$ac_ext >&5
21651 + echo "$as_me: failed program was:" >&5
21652 +cat conftest.$ac_ext >&5
21655 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21656 if test "$am_cv_func_iconv" != yes; then
21657 am_save_LIBS="$LIBS"
21658 LIBS="$LIBS -liconv"
21659 - cat > conftest.$ac_ext <<EOF
21660 -#line 6536 "configure"
21661 + cat >conftest.$ac_ext <<_ACEOF
21662 +#line $LINENO "configure"
21663 #include "confdefs.h"
21664 #include <stdlib.h>
21667 +#ifdef F77_DUMMY_MAIN
21668 +# ifdef __cplusplus
21671 + int F77_DUMMY_MAIN() { return 1; }
21676 iconv_t cd = iconv_open("","");
21677 iconv(cd,NULL,NULL,NULL,NULL);
21681 -if { (eval echo configure:6546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21687 +rm -f conftest.$ac_objext conftest$ac_exeext
21688 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21689 + (eval $ac_link) 2>&5
21691 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 + (exit $ac_status); } &&
21693 + { ac_try='test -s conftest$ac_exeext'
21694 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21695 + (eval $ac_try) 2>&5
21697 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 + (exit $ac_status); }; }; then
21699 am_cv_lib_iconv=yes
21700 am_cv_func_iconv=yes
21702 - echo "configure: failed program was:" >&5
21703 - cat conftest.$ac_ext >&5
21704 + echo "$as_me: failed program was:" >&5
21705 +cat conftest.$ac_ext >&5
21708 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21709 LIBS="$am_save_LIBS"
21714 -echo "$ac_t""$am_cv_func_iconv" 1>&6
21716 +echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
21717 +echo "${ECHO_T}$am_cv_func_iconv" >&6
21718 if test "$am_cv_func_iconv" = yes; then
21719 - cat >> confdefs.h <<\EOF
21721 +cat >>confdefs.h <<\_ACEOF
21722 #define HAVE_ICONV 1
21726 + echo "$as_me:$LINENO: checking for iconv declaration" >&5
21727 +echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
21728 + if test "${am_cv_proto_iconv+set}" = set; then
21729 + echo $ECHO_N "(cached) $ECHO_C" >&6
21732 - echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
21733 -echo "configure:6567: checking for iconv declaration" >&5
21734 - if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
21735 - echo $ac_n "(cached) $ac_c" 1>&6
21738 - cat > conftest.$ac_ext <<EOF
21739 -#line 6573 "configure"
21740 + cat >conftest.$ac_ext <<_ACEOF
21741 +#line $LINENO "configure"
21742 #include "confdefs.h"
21744 #include <stdlib.h>
21745 @@ -6598,246 +11509,423 @@
21750 +#ifdef F77_DUMMY_MAIN
21751 +# ifdef __cplusplus
21754 + int F77_DUMMY_MAIN() { return 1; }
21762 -if { (eval echo configure:6592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21768 +rm -f conftest.$ac_objext
21769 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21770 + (eval $ac_compile) 2>&5
21772 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 + (exit $ac_status); } &&
21774 + { ac_try='test -s conftest.$ac_objext'
21775 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21776 + (eval $ac_try) 2>&5
21778 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 + (exit $ac_status); }; }; then
21780 am_cv_proto_iconv_arg1=""
21782 - echo "configure: failed program was:" >&5
21783 - cat conftest.$ac_ext >&5
21785 - am_cv_proto_iconv_arg1="const"
21786 + echo "$as_me: failed program was:" >&5
21787 +cat conftest.$ac_ext >&5
21788 +am_cv_proto_iconv_arg1="const"
21791 +rm -f conftest.$ac_objext conftest.$ac_ext
21792 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
21795 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21796 - echo "$ac_t""${ac_t:-
21797 - }$am_cv_proto_iconv" 1>&6
21798 - cat >> confdefs.h <<EOF
21799 + echo "$as_me:$LINENO: result: ${ac_t:-
21800 + }$am_cv_proto_iconv" >&5
21801 +echo "${ECHO_T}${ac_t:-
21802 + }$am_cv_proto_iconv" >&6
21804 +cat >>confdefs.h <<_ACEOF
21805 #define ICONV_CONST $am_cv_proto_iconv_arg1
21811 if test "$am_cv_lib_iconv" = yes; then
21820 - echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
21821 -echo "configure:6623: checking for nl_langinfo and CODESET" >&5
21822 -if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
21823 - echo $ac_n "(cached) $ac_c" 1>&6
21825 + echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
21826 +echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
21827 +if test "${am_cv_langinfo_codeset+set}" = set; then
21828 + echo $ECHO_N "(cached) $ECHO_C" >&6
21830 - cat > conftest.$ac_ext <<EOF
21831 -#line 6628 "configure"
21832 + cat >conftest.$ac_ext <<_ACEOF
21833 +#line $LINENO "configure"
21834 #include "confdefs.h"
21835 #include <langinfo.h>
21837 +#ifdef F77_DUMMY_MAIN
21838 +# ifdef __cplusplus
21841 + int F77_DUMMY_MAIN() { return 1; }
21846 char* cs = nl_langinfo(CODESET);
21849 -if { (eval echo configure:6635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21855 +rm -f conftest.$ac_objext conftest$ac_exeext
21856 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21857 + (eval $ac_link) 2>&5
21859 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 + (exit $ac_status); } &&
21861 + { ac_try='test -s conftest$ac_exeext'
21862 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21863 + (eval $ac_try) 2>&5
21865 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 + (exit $ac_status); }; }; then
21867 am_cv_langinfo_codeset=yes
21869 - echo "configure: failed program was:" >&5
21870 - cat conftest.$ac_ext >&5
21872 - am_cv_langinfo_codeset=no
21876 + echo "$as_me: failed program was:" >&5
21877 +cat conftest.$ac_ext >&5
21878 +am_cv_langinfo_codeset=no
21880 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21882 -echo "$ac_t""$am_cv_langinfo_codeset" 1>&6
21884 +echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
21885 +echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
21886 if test $am_cv_langinfo_codeset = yes; then
21887 - cat >> confdefs.h <<\EOF
21889 +cat >>confdefs.h <<\_ACEOF
21890 #define HAVE_LANGINFO_CODESET 1
21896 if test $ac_cv_header_locale_h = yes; then
21897 - echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
21898 -echo "configure:6658: checking for LC_MESSAGES" >&5
21899 -if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21900 - echo $ac_n "(cached) $ac_c" 1>&6
21901 + echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21902 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
21903 +if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21904 + echo $ECHO_N "(cached) $ECHO_C" >&6
21906 - cat > conftest.$ac_ext <<EOF
21907 -#line 6663 "configure"
21908 + cat >conftest.$ac_ext <<_ACEOF
21909 +#line $LINENO "configure"
21910 #include "confdefs.h"
21911 #include <locale.h>
21913 +#ifdef F77_DUMMY_MAIN
21914 +# ifdef __cplusplus
21917 + int F77_DUMMY_MAIN() { return 1; }
21925 -if { (eval echo configure:6670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21931 +rm -f conftest.$ac_objext conftest$ac_exeext
21932 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21933 + (eval $ac_link) 2>&5
21935 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 + (exit $ac_status); } &&
21937 + { ac_try='test -s conftest$ac_exeext'
21938 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 + (eval $ac_try) 2>&5
21941 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 + (exit $ac_status); }; }; then
21943 am_cv_val_LC_MESSAGES=yes
21945 - echo "configure: failed program was:" >&5
21946 - cat conftest.$ac_ext >&5
21948 - am_cv_val_LC_MESSAGES=no
21949 + echo "$as_me: failed program was:" >&5
21950 +cat conftest.$ac_ext >&5
21951 +am_cv_val_LC_MESSAGES=no
21954 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21957 -echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
21958 +echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21959 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
21960 if test $am_cv_val_LC_MESSAGES = yes; then
21961 - cat >> confdefs.h <<\EOF
21963 +cat >>confdefs.h <<\_ACEOF
21964 #define HAVE_LC_MESSAGES 1
21970 - echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
21971 -echo "configure:6691: checking whether NLS is requested" >&5
21972 + echo "$as_me:$LINENO: checking whether NLS is requested" >&5
21973 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
21974 # Check whether --enable-nls or --disable-nls was given.
21975 if test "${enable_nls+set}" = set; then
21976 enableval="$enable_nls"
21982 + echo "$as_me:$LINENO: result: $USE_NLS" >&5
21983 +echo "${ECHO_T}$USE_NLS" >&6
21985 - echo "$ac_t""$USE_NLS" 1>&6
21988 BUILD_INCLUDED_LIBINTL=no
21989 USE_INCLUDED_LIBINTL=no
21992 if test "$USE_NLS" = "yes"; then
21993 - cat >> confdefs.h <<\EOF
21995 +cat >>confdefs.h <<\_ACEOF
21996 #define ENABLE_NLS 1
22000 + echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
22001 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
22003 - echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
22004 -echo "configure:6713: checking whether included gettext is requested" >&5
22005 - # Check whether --with-included-gettext or --without-included-gettext was given.
22006 +# Check whether --with-included-gettext or --without-included-gettext was given.
22007 if test "${with_included_gettext+set}" = set; then
22008 withval="$with_included_gettext"
22009 nls_cv_force_use_gnu_gettext=$withval
22011 nls_cv_force_use_gnu_gettext=no
22014 - echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
22016 + echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
22017 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
22019 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
22020 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
22026 - ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
22027 -echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
22028 -echo "configure:6733: checking for libintl.h" >&5
22029 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22030 - echo $ac_n "(cached) $ac_c" 1>&6
22032 - cat > conftest.$ac_ext <<EOF
22033 -#line 6738 "configure"
22036 + if test "${ac_cv_header_libintl_h+set}" = set; then
22037 + echo "$as_me:$LINENO: checking for libintl.h" >&5
22038 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
22039 +if test "${ac_cv_header_libintl_h+set}" = set; then
22040 + echo $ECHO_N "(cached) $ECHO_C" >&6
22042 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
22043 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
22045 + # Is the header compilable?
22046 +echo "$as_me:$LINENO: checking libintl.h usability" >&5
22047 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
22048 +cat >conftest.$ac_ext <<_ACEOF
22049 +#line $LINENO "configure"
22050 +#include "confdefs.h"
22051 +$ac_includes_default
22052 +#include <libintl.h>
22054 +rm -f conftest.$ac_objext
22055 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22056 + (eval $ac_compile) 2>&5
22058 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 + (exit $ac_status); } &&
22060 + { ac_try='test -s conftest.$ac_objext'
22061 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 + (eval $ac_try) 2>&5
22064 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 + (exit $ac_status); }; }; then
22066 + ac_header_compiler=yes
22068 + echo "$as_me: failed program was:" >&5
22069 +cat conftest.$ac_ext >&5
22070 +ac_header_compiler=no
22072 +rm -f conftest.$ac_objext conftest.$ac_ext
22073 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22074 +echo "${ECHO_T}$ac_header_compiler" >&6
22076 +# Is the header present?
22077 +echo "$as_me:$LINENO: checking libintl.h presence" >&5
22078 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
22079 +cat >conftest.$ac_ext <<_ACEOF
22080 +#line $LINENO "configure"
22081 #include "confdefs.h"
22082 #include <libintl.h>
22084 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22085 -{ (eval echo configure:6743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22086 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22087 -if test -z "$ac_err"; then
22089 - eval "ac_cv_header_$ac_safe=yes"
22091 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22092 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22094 + egrep -v '^ *\+' conftest.er1 >conftest.err
22095 + rm -f conftest.er1
22096 + cat conftest.err >&5
22097 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 + (exit $ac_status); } >/dev/null; then
22099 + if test -s conftest.err; then
22100 + ac_cpp_err=$ac_c_preproc_warn_flag
22107 +if test -z "$ac_cpp_err"; then
22108 + ac_header_preproc=yes
22110 - echo "$ac_err" >&5
22111 - echo "configure: failed program was:" >&5
22112 + echo "$as_me: failed program was:" >&5
22113 cat conftest.$ac_ext >&5
22115 - eval "ac_cv_header_$ac_safe=no"
22116 + ac_header_preproc=no
22119 +rm -f conftest.err conftest.$ac_ext
22120 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22121 +echo "${ECHO_T}$ac_header_preproc" >&6
22123 +# So? What about this header?
22124 +case $ac_header_compiler:$ac_header_preproc in
22126 + { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
22127 +echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22128 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
22129 +echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
22131 + { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
22132 +echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
22133 + { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
22134 +echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
22135 + { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
22136 +echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
22138 +echo "$as_me:$LINENO: checking for libintl.h" >&5
22139 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
22140 +if test "${ac_cv_header_libintl_h+set}" = set; then
22141 + echo $ECHO_N "(cached) $ECHO_C" >&6
22143 + ac_cv_header_libintl_h=$ac_header_preproc
22145 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22146 - echo "$ac_t""yes" 1>&6
22147 - echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6
22148 -echo "configure:6760: checking for GNU gettext in libc" >&5
22149 -if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then
22150 - echo $ac_n "(cached) $ac_c" 1>&6
22151 +echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
22152 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
22155 +if test $ac_cv_header_libintl_h = yes; then
22156 + echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
22157 +echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
22158 +if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
22159 + echo $ECHO_N "(cached) $ECHO_C" >&6
22161 - cat > conftest.$ac_ext <<EOF
22162 -#line 6765 "configure"
22163 + cat >conftest.$ac_ext <<_ACEOF
22164 +#line $LINENO "configure"
22165 #include "confdefs.h"
22166 #include <libintl.h>
22167 extern int _nl_msg_cat_cntr;
22169 +#ifdef F77_DUMMY_MAIN
22170 +# ifdef __cplusplus
22173 + int F77_DUMMY_MAIN() { return 1; }
22178 bindtextdomain ("", "");
22179 return (int) gettext ("") + _nl_msg_cat_cntr
22182 -if { (eval echo configure:6774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22188 +rm -f conftest.$ac_objext conftest$ac_exeext
22189 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22190 + (eval $ac_link) 2>&5
22192 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 + (exit $ac_status); } &&
22194 + { ac_try='test -s conftest$ac_exeext'
22195 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 + (eval $ac_try) 2>&5
22198 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 + (exit $ac_status); }; }; then
22200 gt_cv_func_gnugettext1_libc=yes
22202 - echo "configure: failed program was:" >&5
22203 - cat conftest.$ac_ext >&5
22205 - gt_cv_func_gnugettext1_libc=no
22206 + echo "$as_me: failed program was:" >&5
22207 +cat conftest.$ac_ext >&5
22208 +gt_cv_func_gnugettext1_libc=no
22211 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22214 -echo "$ac_t""$gt_cv_func_gnugettext1_libc" 1>&6
22215 +echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
22216 +echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
22218 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
22219 - echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6
22220 -echo "configure:6790: checking for GNU gettext in libintl" >&5
22221 -if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then
22222 - echo $ac_n "(cached) $ac_c" 1>&6
22223 + echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
22224 +echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
22225 +if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
22226 + echo $ECHO_N "(cached) $ECHO_C" >&6
22228 gt_save_LIBS="$LIBS"
22229 LIBS="$LIBS -lintl $LIBICONV"
22230 - cat > conftest.$ac_ext <<EOF
22231 -#line 6797 "configure"
22232 + cat >conftest.$ac_ext <<_ACEOF
22233 +#line $LINENO "configure"
22234 #include "confdefs.h"
22235 #include <libintl.h>
22236 extern int _nl_msg_cat_cntr;
22238 +#ifdef F77_DUMMY_MAIN
22239 +# ifdef __cplusplus
22242 + int F77_DUMMY_MAIN() { return 1; }
22247 bindtextdomain ("", "");
22248 return (int) gettext ("") + _nl_msg_cat_cntr
22251 -if { (eval echo configure:6806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22257 +rm -f conftest.$ac_objext conftest$ac_exeext
22258 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22259 + (eval $ac_link) 2>&5
22261 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 + (exit $ac_status); } &&
22263 + { ac_try='test -s conftest$ac_exeext'
22264 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22265 + (eval $ac_try) 2>&5
22267 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 + (exit $ac_status); }; }; then
22269 gt_cv_func_gnugettext1_libintl=yes
22271 - echo "configure: failed program was:" >&5
22272 - cat conftest.$ac_ext >&5
22274 - gt_cv_func_gnugettext1_libintl=no
22275 + echo "$as_me: failed program was:" >&5
22276 +cat conftest.$ac_ext >&5
22277 +gt_cv_func_gnugettext1_libintl=no
22280 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22281 LIBS="$gt_save_LIBS"
22284 -echo "$ac_t""$gt_cv_func_gnugettext1_libintl" 1>&6
22285 +echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
22286 +echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
22289 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
22290 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
22291 && test "$PACKAGE" != gettext; }; then
22292 - cat >> confdefs.h <<\EOF
22294 +cat >>confdefs.h <<\_ACEOF
22295 #define HAVE_GETTEXT 1
22300 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
22301 @@ -6846,58 +11934,79 @@
22303 gt_save_LIBS="$LIBS"
22304 LIBS="$LIBS $INTLLIBS"
22305 - for ac_func in dcgettext
22307 +for ac_func in dcgettext
22309 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22310 -echo "configure:6839: checking for $ac_func" >&5
22311 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22312 - echo $ac_n "(cached) $ac_c" 1>&6
22313 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22314 +echo "$as_me:$LINENO: checking for $ac_func" >&5
22315 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22316 +if eval "test \"\${$as_ac_var+set}\" = set"; then
22317 + echo $ECHO_N "(cached) $ECHO_C" >&6
22319 - cat > conftest.$ac_ext <<EOF
22320 -#line 6844 "configure"
22321 + cat >conftest.$ac_ext <<_ACEOF
22322 +#line $LINENO "configure"
22323 #include "confdefs.h"
22324 /* System header to define __stub macros and hopefully few prototypes,
22325 - which can conflict with char $ac_func(); below. */
22326 + which can conflict with char $ac_func (); below. */
22327 #include <assert.h>
22328 /* Override any gcc2 internal prototype to avoid an error. */
22329 +#ifdef __cplusplus
22332 /* We use char because int might match the return type of a gcc2
22333 - builtin and then its argument prototype would still apply. */
22337 + builtin and then its argument prototype would still apply. */
22341 +#ifdef F77_DUMMY_MAIN
22342 +# ifdef __cplusplus
22345 + int F77_DUMMY_MAIN() { return 1; }
22350 /* The GNU C library defines this for functions which it implements
22351 to always fail with ENOSYS. Some functions are actually named
22352 something starting with __ and the normal name is an alias. */
22353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22362 -if { (eval echo configure:6867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22364 - eval "ac_cv_func_$ac_func=yes"
22366 - echo "configure: failed program was:" >&5
22367 - cat conftest.$ac_ext >&5
22369 - eval "ac_cv_func_$ac_func=no"
22377 +rm -f conftest.$ac_objext conftest$ac_exeext
22378 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22379 + (eval $ac_link) 2>&5
22381 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 + (exit $ac_status); } &&
22383 + { ac_try='test -s conftest$ac_exeext'
22384 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22385 + (eval $ac_try) 2>&5
22387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 + (exit $ac_status); }; }; then
22389 + eval "$as_ac_var=yes"
22391 + echo "$as_me: failed program was:" >&5
22392 +cat conftest.$ac_ext >&5
22393 +eval "$as_ac_var=no"
22395 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22397 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22398 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22399 +if test `eval echo '${'$as_ac_var'}'` = yes; then
22400 + cat >>confdefs.h <<_ACEOF
22401 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22404 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22405 - echo "$ac_t""yes" 1>&6
22406 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22407 - cat >> confdefs.h <<EOF
22408 -#define $ac_tr_func 1
22412 - echo "$ac_t""no" 1>&6
22416 @@ -6905,10 +12014,10 @@
22418 # Extract the first word of "msgfmt", so it can be a program name with args.
22419 set dummy msgfmt; ac_word=$2
22420 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22421 -echo "configure:6896: checking for $ac_word" >&5
22422 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
22423 - echo $ac_n "(cached) $ac_c" 1>&6
22424 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22425 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22426 +if test "${ac_cv_path_MSGFMT+set}" = set; then
22427 + echo $ECHO_N "(cached) $ECHO_C" >&6
22431 @@ -6932,54 +12041,60 @@
22433 MSGFMT="$ac_cv_path_MSGFMT"
22434 if test "$MSGFMT" != ":"; then
22435 - echo "$ac_t""$MSGFMT" 1>&6
22436 + echo "$as_me:$LINENO: result: $MSGFMT" >&5
22437 +echo "${ECHO_T}$MSGFMT" >&6
22439 - echo "$ac_t""no" 1>&6
22440 + echo "$as_me:$LINENO: result: no" >&5
22441 +echo "${ECHO_T}no" >&6
22444 # Extract the first word of "gmsgfmt", so it can be a program name with args.
22445 set dummy gmsgfmt; ac_word=$2
22446 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22447 -echo "configure:6930: checking for $ac_word" >&5
22448 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
22449 - echo $ac_n "(cached) $ac_c" 1>&6
22450 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22451 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22452 +if test "${ac_cv_path_GMSGFMT+set}" = set; then
22453 + echo $ECHO_N "(cached) $ECHO_C" >&6
22455 - case "$GMSGFMT" in
22458 + [\\/]* | ?:[\\/]*)
22459 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22462 - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
22465 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
22467 - for ac_dir in $ac_dummy; do
22468 - test -z "$ac_dir" && ac_dir=.
22469 - if test -f $ac_dir/$ac_word; then
22470 - ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
22474 - IFS="$ac_save_ifs"
22475 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22476 +for as_dir in $PATH
22479 + test -z "$as_dir" && as_dir=.
22480 + for ac_exec_ext in '' $ac_executable_extensions; do
22481 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22482 + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22483 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22489 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22493 -GMSGFMT="$ac_cv_path_GMSGFMT"
22494 +GMSGFMT=$ac_cv_path_GMSGFMT
22496 if test -n "$GMSGFMT"; then
22497 - echo "$ac_t""$GMSGFMT" 1>&6
22498 + echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22499 +echo "${ECHO_T}$GMSGFMT" >&6
22501 - echo "$ac_t""no" 1>&6
22502 + echo "$as_me:$LINENO: result: no" >&5
22503 +echo "${ECHO_T}no" >&6
22507 # Extract the first word of "xgettext", so it can be a program name with args.
22508 set dummy xgettext; ac_word=$2
22509 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22510 -echo "configure:6967: checking for $ac_word" >&5
22511 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
22512 - echo $ac_n "(cached) $ac_c" 1>&6
22513 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22514 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22515 +if test "${ac_cv_path_XGETTEXT+set}" = set; then
22516 + echo $ECHO_N "(cached) $ECHO_C" >&6
22518 case "$XGETTEXT" in
22520 @@ -7003,20 +12118,21 @@
22522 XGETTEXT="$ac_cv_path_XGETTEXT"
22523 if test "$XGETTEXT" != ":"; then
22524 - echo "$ac_t""$XGETTEXT" 1>&6
22525 + echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22526 +echo "${ECHO_T}$XGETTEXT" >&6
22528 - echo "$ac_t""no" 1>&6
22529 + echo "$as_me:$LINENO: result: no" >&5
22530 +echo "${ECHO_T}no" >&6
22538 - echo "$ac_t""no" 1>&6
22544 if test "$CATOBJEXT" = "NONE"; then
22545 nls_cv_use_gnu_gettext=yes
22547 @@ -7026,10 +12142,10 @@
22548 INTLOBJS="\$(GETTOBJS)"
22549 # Extract the first word of "msgfmt", so it can be a program name with args.
22550 set dummy msgfmt; ac_word=$2
22551 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22552 -echo "configure:7017: checking for $ac_word" >&5
22553 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
22554 - echo $ac_n "(cached) $ac_c" 1>&6
22555 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22556 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22557 +if test "${ac_cv_path_MSGFMT+set}" = set; then
22558 + echo $ECHO_N "(cached) $ECHO_C" >&6
22562 @@ -7053,53 +12169,59 @@
22564 MSGFMT="$ac_cv_path_MSGFMT"
22565 if test "$MSGFMT" != ":"; then
22566 - echo "$ac_t""$MSGFMT" 1>&6
22567 + echo "$as_me:$LINENO: result: $MSGFMT" >&5
22568 +echo "${ECHO_T}$MSGFMT" >&6
22570 - echo "$ac_t""no" 1>&6
22571 + echo "$as_me:$LINENO: result: no" >&5
22572 +echo "${ECHO_T}no" >&6
22575 # Extract the first word of "gmsgfmt", so it can be a program name with args.
22576 set dummy gmsgfmt; ac_word=$2
22577 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22578 -echo "configure:7051: checking for $ac_word" >&5
22579 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
22580 - echo $ac_n "(cached) $ac_c" 1>&6
22581 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22582 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22583 +if test "${ac_cv_path_GMSGFMT+set}" = set; then
22584 + echo $ECHO_N "(cached) $ECHO_C" >&6
22586 - case "$GMSGFMT" in
22589 + [\\/]* | ?:[\\/]*)
22590 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22593 - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
22596 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
22598 - for ac_dir in $ac_dummy; do
22599 - test -z "$ac_dir" && ac_dir=.
22600 - if test -f $ac_dir/$ac_word; then
22601 - ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
22605 - IFS="$ac_save_ifs"
22606 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22607 +for as_dir in $PATH
22610 + test -z "$as_dir" && as_dir=.
22611 + for ac_exec_ext in '' $ac_executable_extensions; do
22612 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22613 + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22614 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22620 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22624 -GMSGFMT="$ac_cv_path_GMSGFMT"
22625 +GMSGFMT=$ac_cv_path_GMSGFMT
22627 if test -n "$GMSGFMT"; then
22628 - echo "$ac_t""$GMSGFMT" 1>&6
22629 + echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22630 +echo "${ECHO_T}$GMSGFMT" >&6
22632 - echo "$ac_t""no" 1>&6
22633 + echo "$as_me:$LINENO: result: no" >&5
22634 +echo "${ECHO_T}no" >&6
22637 # Extract the first word of "xgettext", so it can be a program name with args.
22638 set dummy xgettext; ac_word=$2
22639 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22640 -echo "configure:7087: checking for $ac_word" >&5
22641 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
22642 - echo $ac_n "(cached) $ac_c" 1>&6
22643 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22644 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22645 +if test "${ac_cv_path_XGETTEXT+set}" = set; then
22646 + echo $ECHO_N "(cached) $ECHO_C" >&6
22648 case "$XGETTEXT" in
22650 @@ -7123,12 +12245,14 @@
22652 XGETTEXT="$ac_cv_path_XGETTEXT"
22653 if test "$XGETTEXT" != ":"; then
22654 - echo "$ac_t""$XGETTEXT" 1>&6
22655 + echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22656 +echo "${ECHO_T}$XGETTEXT" >&6
22658 - echo "$ac_t""no" 1>&6
22659 + echo "$as_me:$LINENO: result: no" >&5
22660 +echo "${ECHO_T}no" >&6
22665 BUILD_INCLUDED_LIBINTL=yes
22666 USE_INCLUDED_LIBINTL=yes
22668 @@ -7140,7 +12264,8 @@
22669 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
22672 - echo "$ac_t""found msgfmt program is not GNU msgfmt; ignore it" 1>&6
22673 + echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22674 +echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
22678 @@ -7149,14 +12274,16 @@
22679 if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
22682 - echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
22683 + echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22684 +echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
22692 + ac_config_commands="$ac_config_commands default-1"
22696 if test "$PACKAGE" = gettext; then
22697 @@ -7165,43 +12292,49 @@
22699 for ac_prog in bison
22701 -# Extract the first word of "$ac_prog", so it can be a program name with args.
22702 + # Extract the first word of "$ac_prog", so it can be a program name with args.
22703 set dummy $ac_prog; ac_word=$2
22704 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22705 -echo "configure:7158: checking for $ac_word" >&5
22706 -if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then
22707 - echo $ac_n "(cached) $ac_c" 1>&6
22708 +echo "$as_me:$LINENO: checking for $ac_word" >&5
22709 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22710 +if test "${ac_cv_prog_INTLBISON+set}" = set; then
22711 + echo $ECHO_N "(cached) $ECHO_C" >&6
22713 if test -n "$INTLBISON"; then
22714 ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
22716 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
22718 - for ac_dir in $ac_dummy; do
22719 - test -z "$ac_dir" && ac_dir=.
22720 - if test -f $ac_dir/$ac_word; then
22721 - ac_cv_prog_INTLBISON="$ac_prog"
22725 - IFS="$ac_save_ifs"
22726 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22727 +for as_dir in $PATH
22730 + test -z "$as_dir" && as_dir=.
22731 + for ac_exec_ext in '' $ac_executable_extensions; do
22732 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22733 + ac_cv_prog_INTLBISON="$ac_prog"
22734 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22742 -INTLBISON="$ac_cv_prog_INTLBISON"
22743 +INTLBISON=$ac_cv_prog_INTLBISON
22744 if test -n "$INTLBISON"; then
22745 - echo "$ac_t""$INTLBISON" 1>&6
22746 + echo "$as_me:$LINENO: result: $INTLBISON" >&5
22747 +echo "${ECHO_T}$INTLBISON" >&6
22749 - echo "$ac_t""no" 1>&6
22750 + echo "$as_me:$LINENO: result: no" >&5
22751 +echo "${ECHO_T}no" >&6
22754 -test -n "$INTLBISON" && break
22755 + test -n "$INTLBISON" && break
22758 if test -z "$INTLBISON"; then
22761 - echo $ac_n "checking version of bison""... $ac_c" 1>&6
22762 -echo "configure:7191: checking version of bison" >&5
22763 + echo "$as_me:$LINENO: checking version of bison" >&5
22764 +echo $ECHO_N "checking version of bison... $ECHO_C" >&6
22765 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
22766 case $ac_prog_version in
22767 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
22768 @@ -7209,7 +12342,8 @@
22769 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
22770 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
22772 - echo "$ac_t""$ac_prog_version" 1>&6
22773 + echo "$as_me:$LINENO: result: $ac_prog_version" >&5
22774 +echo "${ECHO_T}$ac_prog_version" >&6
22776 if test $ac_verc_fail = yes; then
22778 @@ -7220,35 +12354,35 @@
22779 POFILES="$POFILES $lang.po"
22801 nls_cv_header_intl=
22802 nls_cv_header_libgt=
22818 if test "x$CATOBJEXT" != "x"; then
22819 if test "x$ALL_LINGUAS" = "x"; then
22822 - echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
22823 -echo "configure:7238: checking for catalogs to be installed" >&5
22824 + echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22825 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
22827 for presentlang in $ALL_LINGUAS; do
22829 @@ -7267,7 +12401,8 @@
22832 LINGUAS=$NEW_LINGUAS
22833 - echo "$ac_t""$LINGUAS" 1>&6
22834 + echo "$as_me:$LINENO: result: $LINGUAS" >&5
22835 +echo "${ECHO_T}$LINGUAS" >&6
22838 if test -n "$LINGUAS"; then
22839 @@ -7282,90 +12417,167 @@
22840 if test -z "$MKINSTALLDIRS"; then
22841 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
22846 INTL_LIBTOOL_SUFFIX_PREFIX=
22849 -for ac_hdr in iconv.h
22851 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22852 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
22853 -echo "configure:7281: checking for $ac_hdr" >&5
22854 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22855 - echo $ac_n "(cached) $ac_c" 1>&6
22857 - cat > conftest.$ac_ext <<EOF
22858 -#line 7286 "configure"
22859 -#include "confdefs.h"
22860 -#include <$ac_hdr>
22862 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
22863 -{ (eval echo configure:7291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22864 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
22865 -if test -z "$ac_err"; then
22867 - eval "ac_cv_header_$ac_safe=yes"
22871 +for ac_header in iconv.h
22873 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22874 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
22875 + echo "$as_me:$LINENO: checking for $ac_header" >&5
22876 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22877 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
22878 + echo $ECHO_N "(cached) $ECHO_C" >&6
22880 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22881 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22883 + # Is the header compilable?
22884 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
22885 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22886 +cat >conftest.$ac_ext <<_ACEOF
22887 +#line $LINENO "configure"
22888 +#include "confdefs.h"
22889 +$ac_includes_default
22890 +#include <$ac_header>
22892 +rm -f conftest.$ac_objext
22893 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22894 + (eval $ac_compile) 2>&5
22896 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 + (exit $ac_status); } &&
22898 + { ac_try='test -s conftest.$ac_objext'
22899 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 + (eval $ac_try) 2>&5
22902 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 + (exit $ac_status); }; }; then
22904 + ac_header_compiler=yes
22906 + echo "$as_me: failed program was:" >&5
22907 +cat conftest.$ac_ext >&5
22908 +ac_header_compiler=no
22910 +rm -f conftest.$ac_objext conftest.$ac_ext
22911 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22912 +echo "${ECHO_T}$ac_header_compiler" >&6
22914 +# Is the header present?
22915 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
22916 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22917 +cat >conftest.$ac_ext <<_ACEOF
22918 +#line $LINENO "configure"
22919 +#include "confdefs.h"
22920 +#include <$ac_header>
22922 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22923 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22925 + egrep -v '^ *\+' conftest.er1 >conftest.err
22926 + rm -f conftest.er1
22927 + cat conftest.err >&5
22928 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 + (exit $ac_status); } >/dev/null; then
22930 + if test -s conftest.err; then
22931 + ac_cpp_err=$ac_c_preproc_warn_flag
22936 - echo "$ac_err" >&5
22937 - echo "configure: failed program was:" >&5
22938 - cat conftest.$ac_ext >&5
22940 - eval "ac_cv_header_$ac_safe=no"
22944 +if test -z "$ac_cpp_err"; then
22945 + ac_header_preproc=yes
22947 + echo "$as_me: failed program was:" >&5
22948 + cat conftest.$ac_ext >&5
22949 + ac_header_preproc=no
22951 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22952 - echo "$ac_t""yes" 1>&6
22953 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22954 - cat >> confdefs.h <<EOF
22955 -#define $ac_tr_hdr 1
22957 - echo $ac_n "checking whether iconv.h defines iconv_t""... $ac_c" 1>&6
22958 -echo "configure:7312: checking whether iconv.h defines iconv_t" >&5
22959 - cat > conftest.$ac_ext <<EOF
22960 -#line 7314 "configure"
22961 +rm -f conftest.err conftest.$ac_ext
22962 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22963 +echo "${ECHO_T}$ac_header_preproc" >&6
22965 +# So? What about this header?
22966 +case $ac_header_compiler:$ac_header_preproc in
22968 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22969 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22970 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22971 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
22973 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22974 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22975 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22976 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22977 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22978 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
22980 +echo "$as_me:$LINENO: checking for $ac_header" >&5
22981 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22982 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
22983 + echo $ECHO_N "(cached) $ECHO_C" >&6
22985 + eval "$as_ac_Header=$ac_header_preproc"
22987 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22988 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22991 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
22992 + cat >>confdefs.h <<_ACEOF
22993 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22995 + echo "$as_me:$LINENO: checking whether iconv.h defines iconv_t" >&5
22996 +echo $ECHO_N "checking whether iconv.h defines iconv_t... $ECHO_C" >&6
22997 + cat >conftest.$ac_ext <<_ACEOF
22998 +#line $LINENO "configure"
22999 #include "confdefs.h"
23004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23005 egrep "typedef.*iconv_t" >/dev/null 2>&1; then
23007 - echo "$ac_t""yes" 1>&6
23008 - cat >> confdefs.h <<\EOF
23009 + echo "$as_me:$LINENO: result: yes" >&5
23010 +echo "${ECHO_T}yes" >&6
23012 +cat >>confdefs.h <<\_ACEOF
23013 #define HAVE_ICONV_T_DEF 1
23019 - echo "$ac_t""no" 1>&6
23020 + echo "$as_me:$LINENO: result: no" >&5
23021 +echo "${ECHO_T}no" >&6
23026 - echo "$ac_t""no" 1>&6
23032 if test "$am_cv_func_iconv" != "yes"
23034 # AC_MSG_ERROR([Unable to find an iconv function. See INSTALL for help])
23035 - echo "configure: warning: Unable to find an iconv function. See INSTALL for help" 1>&2
23036 + { echo "$as_me:$LINENO: WARNING: Unable to find an iconv function. See INSTALL for help" >&5
23037 +echo "$as_me: WARNING: Unable to find an iconv function. See INSTALL for help" >&2;}
23040 -echo $ac_n "checking whether this iconv is good enough""... $ac_c" 1>&6
23041 -echo "configure:7345: checking whether this iconv is good enough" >&5
23042 -if eval "test \"`echo '$''{'mutt_cv_iconv_good'+set}'`\" = set"; then
23043 - echo $ac_n "(cached) $ac_c" 1>&6
23044 +echo "$as_me:$LINENO: checking whether this iconv is good enough" >&5
23045 +echo $ECHO_N "checking whether this iconv is good enough... $ECHO_C" >&6
23046 +if test "${mutt_cv_iconv_good+set}" = set; then
23047 + echo $ECHO_N "(cached) $ECHO_C" >&6
23049 mutt_save_LIBS="$LIBS"
23050 LIBS="$LIBS $LIBICONV"
23051 if test "$cross_compiling" = yes; then
23052 mutt_cv_iconv_good=yes
23054 - cat > conftest.$ac_ext <<EOF
23055 -#line 7355 "configure"
23056 + cat >conftest.$ac_ext <<_ACEOF
23057 +#line $LINENO "configure"
23058 #include "confdefs.h"
23061 @@ -7381,40 +12593,51 @@
23062 !(ob == buf && obl == sizeof(buf)) ||
23067 -if { (eval echo configure:7373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23071 +rm -f conftest$ac_exeext
23072 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23073 + (eval $ac_link) 2>&5
23075 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23077 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23078 + (eval $ac_try) 2>&5
23080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 + (exit $ac_status); }; }; then
23082 mutt_cv_iconv_good=yes
23084 - echo "configure: failed program was:" >&5
23085 - cat conftest.$ac_ext >&5
23087 - mutt_cv_iconv_good=no
23088 + echo "$as_me: program exited with status $ac_status" >&5
23089 +echo "$as_me: failed program was:" >&5
23090 +cat conftest.$ac_ext >&5
23091 +( exit $ac_status )
23092 +mutt_cv_iconv_good=no
23095 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23098 LIBS="$mutt_save_LIBS"
23101 -echo "$ac_t""$mutt_cv_iconv_good" 1>&6
23102 +echo "$as_me:$LINENO: result: $mutt_cv_iconv_good" >&5
23103 +echo "${ECHO_T}$mutt_cv_iconv_good" >&6
23104 if test "$mutt_cv_iconv_good" = no; then
23105 - { echo "configure: error: Try using libiconv instead" 1>&2; exit 1; }
23106 + { { echo "$as_me:$LINENO: error: Try using libiconv instead" >&5
23107 +echo "$as_me: error: Try using libiconv instead" >&2;}
23108 + { (exit 1); exit 1; }; }
23111 -echo $ac_n "checking whether iconv is non-transcribing""... $ac_c" 1>&6
23112 -echo "configure:7394: checking whether iconv is non-transcribing" >&5
23113 -if eval "test \"`echo '$''{'mutt_cv_iconv_nontrans'+set}'`\" = set"; then
23114 - echo $ac_n "(cached) $ac_c" 1>&6
23115 +echo "$as_me:$LINENO: checking whether iconv is non-transcribing" >&5
23116 +echo $ECHO_N "checking whether iconv is non-transcribing... $ECHO_C" >&6
23117 +if test "${mutt_cv_iconv_nontrans+set}" = set; then
23118 + echo $ECHO_N "(cached) $ECHO_C" >&6
23120 mutt_save_LIBS="$LIBS"
23121 LIBS="$LIBS $LIBICONV"
23122 if test "$cross_compiling" = yes; then
23123 mutt_cv_iconv_nontrans=no
23125 - cat > conftest.$ac_ext <<EOF
23126 -#line 7404 "configure"
23127 + cat >conftest.$ac_ext <<_ACEOF
23128 +#line $LINENO "configure"
23129 #include "confdefs.h"
23132 @@ -7431,33 +12654,42 @@
23133 return ((cd = iconv_open("UTF-8", "UTF-8")) == (iconv_t)(-1) ||
23134 iconv(cd, &ib, &ibl, &ob, &obl));
23138 -if { (eval echo configure:7423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23142 +rm -f conftest$ac_exeext
23143 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23144 + (eval $ac_link) 2>&5
23146 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23148 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23149 + (eval $ac_try) 2>&5
23151 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 + (exit $ac_status); }; }; then
23153 mutt_cv_iconv_nontrans=no
23155 - echo "configure: failed program was:" >&5
23156 - cat conftest.$ac_ext >&5
23158 - mutt_cv_iconv_nontrans=yes
23159 + echo "$as_me: program exited with status $ac_status" >&5
23160 +echo "$as_me: failed program was:" >&5
23161 +cat conftest.$ac_ext >&5
23162 +( exit $ac_status )
23163 +mutt_cv_iconv_nontrans=yes
23166 +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23169 LIBS="$mutt_save_LIBS"
23172 -echo "$ac_t""$mutt_cv_iconv_nontrans" 1>&6
23173 +echo "$as_me:$LINENO: result: $mutt_cv_iconv_nontrans" >&5
23174 +echo "${ECHO_T}$mutt_cv_iconv_nontrans" >&6
23175 if test "$mutt_cv_iconv_nontrans" = yes; then
23176 - cat >> confdefs.h <<\EOF
23177 + cat >>confdefs.h <<\_ACEOF
23178 #define ICONV_NONTRANS 1
23183 - cat >> confdefs.h <<\EOF
23184 + cat >>confdefs.h <<\_ACEOF
23185 #define ICONV_NONTRANS 0
23191 @@ -7466,117 +12698,213 @@
23192 CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/intl"
23194 if test "$BUILD_INCLUDED_LIBINTL" = "yes"; then
23195 - cat >> confdefs.h <<\EOF
23197 +cat >>confdefs.h <<\_ACEOF
23198 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
23203 - for ac_func in bind_textdomain_codeset
23205 +for ac_func in bind_textdomain_codeset
23207 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23208 -echo "configure:7464: checking for $ac_func" >&5
23209 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23210 - echo $ac_n "(cached) $ac_c" 1>&6
23211 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23212 +echo "$as_me:$LINENO: checking for $ac_func" >&5
23213 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23214 +if eval "test \"\${$as_ac_var+set}\" = set"; then
23215 + echo $ECHO_N "(cached) $ECHO_C" >&6
23217 - cat > conftest.$ac_ext <<EOF
23218 -#line 7469 "configure"
23219 + cat >conftest.$ac_ext <<_ACEOF
23220 +#line $LINENO "configure"
23221 #include "confdefs.h"
23222 /* System header to define __stub macros and hopefully few prototypes,
23223 - which can conflict with char $ac_func(); below. */
23224 + which can conflict with char $ac_func (); below. */
23225 #include <assert.h>
23226 /* Override any gcc2 internal prototype to avoid an error. */
23227 +#ifdef __cplusplus
23230 /* We use char because int might match the return type of a gcc2
23231 - builtin and then its argument prototype would still apply. */
23235 + builtin and then its argument prototype would still apply. */
23239 +#ifdef F77_DUMMY_MAIN
23240 +# ifdef __cplusplus
23243 + int F77_DUMMY_MAIN() { return 1; }
23248 /* The GNU C library defines this for functions which it implements
23249 to always fail with ENOSYS. Some functions are actually named
23250 something starting with __ and the normal name is an alias. */
23251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23260 -if { (eval echo configure:7492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23262 - eval "ac_cv_func_$ac_func=yes"
23267 +rm -f conftest.$ac_objext conftest$ac_exeext
23268 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 + (eval $ac_link) 2>&5
23271 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 + (exit $ac_status); } &&
23273 + { ac_try='test -s conftest$ac_exeext'
23274 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23275 + (eval $ac_try) 2>&5
23277 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 + (exit $ac_status); }; }; then
23279 + eval "$as_ac_var=yes"
23281 - echo "configure: failed program was:" >&5
23282 - cat conftest.$ac_ext >&5
23284 - eval "ac_cv_func_$ac_func=no"
23285 + echo "$as_me: failed program was:" >&5
23286 +cat conftest.$ac_ext >&5
23287 +eval "$as_ac_var=no"
23290 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23292 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23293 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23294 +if test `eval echo '${'$as_ac_var'}'` = yes; then
23295 + cat >>confdefs.h <<_ACEOF
23296 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23299 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23300 - echo "$ac_t""yes" 1>&6
23301 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23302 - cat >> confdefs.h <<EOF
23303 -#define $ac_tr_func 1
23307 - echo "$ac_t""no" 1>&6
23314 -for ac_hdr in wchar.h
23316 +for ac_header in wchar.h
23318 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23319 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23320 -echo "configure:7523: checking for $ac_hdr" >&5
23321 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23322 - echo $ac_n "(cached) $ac_c" 1>&6
23323 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23324 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
23325 + echo "$as_me:$LINENO: checking for $ac_header" >&5
23326 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23327 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
23328 + echo $ECHO_N "(cached) $ECHO_C" >&6
23330 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23331 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23333 + # Is the header compilable?
23334 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
23335 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23336 +cat >conftest.$ac_ext <<_ACEOF
23337 +#line $LINENO "configure"
23338 +#include "confdefs.h"
23339 +$ac_includes_default
23340 +#include <$ac_header>
23342 +rm -f conftest.$ac_objext
23343 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23344 + (eval $ac_compile) 2>&5
23346 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 + (exit $ac_status); } &&
23348 + { ac_try='test -s conftest.$ac_objext'
23349 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23350 + (eval $ac_try) 2>&5
23352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23353 + (exit $ac_status); }; }; then
23354 + ac_header_compiler=yes
23356 + echo "$as_me: failed program was:" >&5
23357 +cat conftest.$ac_ext >&5
23358 +ac_header_compiler=no
23360 +rm -f conftest.$ac_objext conftest.$ac_ext
23361 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23362 +echo "${ECHO_T}$ac_header_compiler" >&6
23364 +# Is the header present?
23365 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
23366 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23367 +cat >conftest.$ac_ext <<_ACEOF
23368 +#line $LINENO "configure"
23369 +#include "confdefs.h"
23370 +#include <$ac_header>
23372 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23373 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23375 + egrep -v '^ *\+' conftest.er1 >conftest.err
23376 + rm -f conftest.er1
23377 + cat conftest.err >&5
23378 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 + (exit $ac_status); } >/dev/null; then
23380 + if test -s conftest.err; then
23381 + ac_cpp_err=$ac_c_preproc_warn_flag
23386 - cat > conftest.$ac_ext <<EOF
23387 -#line 7528 "configure"
23388 -#include "confdefs.h"
23389 -#include <$ac_hdr>
23391 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23392 -{ (eval echo configure:7533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23393 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23394 -if test -z "$ac_err"; then
23396 - eval "ac_cv_header_$ac_safe=yes"
23399 +if test -z "$ac_cpp_err"; then
23400 + ac_header_preproc=yes
23402 - echo "$ac_err" >&5
23403 - echo "configure: failed program was:" >&5
23404 + echo "$as_me: failed program was:" >&5
23405 cat conftest.$ac_ext >&5
23407 - eval "ac_cv_header_$ac_safe=no"
23410 + ac_header_preproc=no
23412 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23413 - echo "$ac_t""yes" 1>&6
23414 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23415 - cat >> confdefs.h <<EOF
23416 -#define $ac_tr_hdr 1
23419 +rm -f conftest.err conftest.$ac_ext
23420 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23421 +echo "${ECHO_T}$ac_header_preproc" >&6
23423 +# So? What about this header?
23424 +case $ac_header_compiler:$ac_header_preproc in
23426 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23427 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23428 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23429 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
23431 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23432 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23433 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23434 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23435 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23436 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
23438 +echo "$as_me:$LINENO: checking for $ac_header" >&5
23439 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23440 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
23441 + echo $ECHO_N "(cached) $ECHO_C" >&6
23443 - echo "$ac_t""no" 1>&6
23444 + eval "$as_ac_Header=$ac_header_preproc"
23446 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23447 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23450 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
23451 + cat >>confdefs.h <<_ACEOF
23452 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23460 -echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
23461 -echo "configure:7561: checking for wchar_t" >&5
23462 -if eval "test \"`echo '$''{'mutt_cv_wchar_t'+set}'`\" = set"; then
23463 - echo $ac_n "(cached) $ac_c" 1>&6
23464 +echo "$as_me:$LINENO: checking for wchar_t" >&5
23465 +echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
23466 +if test "${mutt_cv_wchar_t+set}" = set; then
23467 + echo $ECHO_N "(cached) $ECHO_C" >&6
23469 - cat > conftest.$ac_ext <<EOF
23470 -#line 7566 "configure"
23471 + cat >conftest.$ac_ext <<_ACEOF
23472 +#line $LINENO "configure"
23473 #include "confdefs.h"
23475 #include <stddef.h>
23476 @@ -7584,39 +12912,59 @@
23477 #ifdef HAVE_WCHAR_H
23482 - wchar_t wc; return 0;
23485 -if { (eval echo configure:7579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23488 +#ifdef F77_DUMMY_MAIN
23489 +# ifdef __cplusplus
23492 + int F77_DUMMY_MAIN() { return 1; }
23497 + wchar_t wc; return 0;
23502 +rm -f conftest.$ac_objext
23503 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23504 + (eval $ac_compile) 2>&5
23506 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 + (exit $ac_status); } &&
23508 + { ac_try='test -s conftest.$ac_objext'
23509 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23510 + (eval $ac_try) 2>&5
23512 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 + (exit $ac_status); }; }; then
23514 mutt_cv_wchar_t=yes
23516 - echo "configure: failed program was:" >&5
23517 - cat conftest.$ac_ext >&5
23519 - mutt_cv_wchar_t=no
23520 + echo "$as_me: failed program was:" >&5
23521 +cat conftest.$ac_ext >&5
23522 +mutt_cv_wchar_t=no
23525 +rm -f conftest.$ac_objext conftest.$ac_ext
23528 -echo "$ac_t""$mutt_cv_wchar_t" 1>&6
23529 +echo "$as_me:$LINENO: result: $mutt_cv_wchar_t" >&5
23530 +echo "${ECHO_T}$mutt_cv_wchar_t" >&6
23532 if test "$mutt_cv_wchar_t" = no; then
23533 - cat >> confdefs.h <<\EOF
23535 +cat >>confdefs.h <<\_ACEOF
23536 #define wchar_t int
23542 -echo $ac_n "checking for wint_t""... $ac_c" 1>&6
23543 -echo "configure:7601: checking for wint_t" >&5
23544 -if eval "test \"`echo '$''{'mutt_cv_wint_t'+set}'`\" = set"; then
23545 - echo $ac_n "(cached) $ac_c" 1>&6
23546 +echo "$as_me:$LINENO: checking for wint_t" >&5
23547 +echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
23548 +if test "${mutt_cv_wint_t+set}" = set; then
23549 + echo $ECHO_N "(cached) $ECHO_C" >&6
23551 - cat > conftest.$ac_ext <<EOF
23552 -#line 7606 "configure"
23553 + cat >conftest.$ac_ext <<_ACEOF
23554 +#line $LINENO "configure"
23555 #include "confdefs.h"
23557 #include <stddef.h>
23558 @@ -7624,245 +12972,412 @@
23559 #ifdef HAVE_WCHAR_H
23564 - wint_t wc; return 0;
23567 -if { (eval echo configure:7619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23570 +#ifdef F77_DUMMY_MAIN
23571 +# ifdef __cplusplus
23574 + int F77_DUMMY_MAIN() { return 1; }
23579 + wint_t wc; return 0;
23584 +rm -f conftest.$ac_objext
23585 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23586 + (eval $ac_compile) 2>&5
23588 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 + (exit $ac_status); } &&
23590 + { ac_try='test -s conftest.$ac_objext'
23591 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 + (eval $ac_try) 2>&5
23594 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 + (exit $ac_status); }; }; then
23598 - echo "configure: failed program was:" >&5
23599 - cat conftest.$ac_ext >&5
23601 - mutt_cv_wint_t=no
23602 + echo "$as_me: failed program was:" >&5
23603 +cat conftest.$ac_ext >&5
23607 +rm -f conftest.$ac_objext conftest.$ac_ext
23610 -echo "$ac_t""$mutt_cv_wint_t" 1>&6
23611 +echo "$as_me:$LINENO: result: $mutt_cv_wint_t" >&5
23612 +echo "${ECHO_T}$mutt_cv_wint_t" >&6
23614 if test "$mutt_cv_wint_t" = no; then
23615 - cat >> confdefs.h <<\EOF
23617 +cat >>confdefs.h <<\_ACEOF
23624 -for ac_hdr in wctype.h
23626 +for ac_header in wctype.h
23628 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23629 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
23630 -echo "configure:7644: checking for $ac_hdr" >&5
23631 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23632 - echo $ac_n "(cached) $ac_c" 1>&6
23633 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23634 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
23635 + echo "$as_me:$LINENO: checking for $ac_header" >&5
23636 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23637 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
23638 + echo $ECHO_N "(cached) $ECHO_C" >&6
23640 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23641 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23643 + # Is the header compilable?
23644 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
23645 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23646 +cat >conftest.$ac_ext <<_ACEOF
23647 +#line $LINENO "configure"
23648 +#include "confdefs.h"
23649 +$ac_includes_default
23650 +#include <$ac_header>
23652 +rm -f conftest.$ac_objext
23653 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23654 + (eval $ac_compile) 2>&5
23656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 + (exit $ac_status); } &&
23658 + { ac_try='test -s conftest.$ac_objext'
23659 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 + (eval $ac_try) 2>&5
23662 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 + (exit $ac_status); }; }; then
23664 + ac_header_compiler=yes
23666 + echo "$as_me: failed program was:" >&5
23667 +cat conftest.$ac_ext >&5
23668 +ac_header_compiler=no
23670 +rm -f conftest.$ac_objext conftest.$ac_ext
23671 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23672 +echo "${ECHO_T}$ac_header_compiler" >&6
23674 +# Is the header present?
23675 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
23676 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23677 +cat >conftest.$ac_ext <<_ACEOF
23678 +#line $LINENO "configure"
23679 +#include "confdefs.h"
23680 +#include <$ac_header>
23682 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23683 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23685 + egrep -v '^ *\+' conftest.er1 >conftest.err
23686 + rm -f conftest.er1
23687 + cat conftest.err >&5
23688 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 + (exit $ac_status); } >/dev/null; then
23690 + if test -s conftest.err; then
23691 + ac_cpp_err=$ac_c_preproc_warn_flag
23696 - cat > conftest.$ac_ext <<EOF
23697 -#line 7649 "configure"
23698 -#include "confdefs.h"
23699 -#include <$ac_hdr>
23701 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
23702 -{ (eval echo configure:7654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23703 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
23704 -if test -z "$ac_err"; then
23706 - eval "ac_cv_header_$ac_safe=yes"
23709 +if test -z "$ac_cpp_err"; then
23710 + ac_header_preproc=yes
23712 - echo "$ac_err" >&5
23713 - echo "configure: failed program was:" >&5
23714 + echo "$as_me: failed program was:" >&5
23715 cat conftest.$ac_ext >&5
23717 - eval "ac_cv_header_$ac_safe=no"
23720 + ac_header_preproc=no
23722 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23723 - echo "$ac_t""yes" 1>&6
23724 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23725 - cat >> confdefs.h <<EOF
23726 -#define $ac_tr_hdr 1
23729 +rm -f conftest.err conftest.$ac_ext
23730 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23731 +echo "${ECHO_T}$ac_header_preproc" >&6
23733 +# So? What about this header?
23734 +case $ac_header_compiler:$ac_header_preproc in
23736 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23737 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23738 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23739 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
23741 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23742 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23743 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23744 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23745 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23746 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
23748 +echo "$as_me:$LINENO: checking for $ac_header" >&5
23749 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23750 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
23751 + echo $ECHO_N "(cached) $ECHO_C" >&6
23753 - echo "$ac_t""no" 1>&6
23754 + eval "$as_ac_Header=$ac_header_preproc"
23756 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23757 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23760 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
23761 + cat >>confdefs.h <<_ACEOF
23762 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23773 for ac_func in iswalnum iswalpha iswcntrl iswdigit
23775 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23776 -echo "configure:7683: checking for $ac_func" >&5
23777 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23778 - echo $ac_n "(cached) $ac_c" 1>&6
23779 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23780 +echo "$as_me:$LINENO: checking for $ac_func" >&5
23781 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23782 +if eval "test \"\${$as_ac_var+set}\" = set"; then
23783 + echo $ECHO_N "(cached) $ECHO_C" >&6
23785 - cat > conftest.$ac_ext <<EOF
23786 -#line 7688 "configure"
23787 + cat >conftest.$ac_ext <<_ACEOF
23788 +#line $LINENO "configure"
23789 #include "confdefs.h"
23790 /* System header to define __stub macros and hopefully few prototypes,
23791 - which can conflict with char $ac_func(); below. */
23792 + which can conflict with char $ac_func (); below. */
23793 #include <assert.h>
23794 /* Override any gcc2 internal prototype to avoid an error. */
23795 +#ifdef __cplusplus
23798 /* We use char because int might match the return type of a gcc2
23799 - builtin and then its argument prototype would still apply. */
23803 + builtin and then its argument prototype would still apply. */
23807 +#ifdef F77_DUMMY_MAIN
23808 +# ifdef __cplusplus
23811 + int F77_DUMMY_MAIN() { return 1; }
23816 /* The GNU C library defines this for functions which it implements
23817 to always fail with ENOSYS. Some functions are actually named
23818 something starting with __ and the normal name is an alias. */
23819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23828 -if { (eval echo configure:7711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23830 - eval "ac_cv_func_$ac_func=yes"
23832 - echo "configure: failed program was:" >&5
23833 - cat conftest.$ac_ext >&5
23835 - eval "ac_cv_func_$ac_func=no"
23843 +rm -f conftest.$ac_objext conftest$ac_exeext
23844 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23845 + (eval $ac_link) 2>&5
23847 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 + (exit $ac_status); } &&
23849 + { ac_try='test -s conftest$ac_exeext'
23850 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 + (eval $ac_try) 2>&5
23853 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 + (exit $ac_status); }; }; then
23855 + eval "$as_ac_var=yes"
23857 + echo "$as_me: failed program was:" >&5
23858 +cat conftest.$ac_ext >&5
23859 +eval "$as_ac_var=no"
23861 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23863 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23864 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23865 +if test `eval echo '${'$as_ac_var'}'` = yes; then
23866 + cat >>confdefs.h <<_ACEOF
23867 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23870 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23871 - echo "$ac_t""yes" 1>&6
23872 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23873 - cat >> confdefs.h <<EOF
23874 -#define $ac_tr_func 1
23878 - echo "$ac_t""no" 1>&6
23888 for ac_func in iswgraph iswlower iswprint iswpunct iswspace iswupper
23890 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
23891 -echo "configure:7738: checking for $ac_func" >&5
23892 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23893 - echo $ac_n "(cached) $ac_c" 1>&6
23894 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23895 +echo "$as_me:$LINENO: checking for $ac_func" >&5
23896 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23897 +if eval "test \"\${$as_ac_var+set}\" = set"; then
23898 + echo $ECHO_N "(cached) $ECHO_C" >&6
23900 - cat > conftest.$ac_ext <<EOF
23901 -#line 7743 "configure"
23902 + cat >conftest.$ac_ext <<_ACEOF
23903 +#line $LINENO "configure"
23904 #include "confdefs.h"
23905 /* System header to define __stub macros and hopefully few prototypes,
23906 - which can conflict with char $ac_func(); below. */
23907 + which can conflict with char $ac_func (); below. */
23908 #include <assert.h>
23909 /* Override any gcc2 internal prototype to avoid an error. */
23910 +#ifdef __cplusplus
23913 /* We use char because int might match the return type of a gcc2
23914 - builtin and then its argument prototype would still apply. */
23918 + builtin and then its argument prototype would still apply. */
23922 +#ifdef F77_DUMMY_MAIN
23923 +# ifdef __cplusplus
23926 + int F77_DUMMY_MAIN() { return 1; }
23931 /* The GNU C library defines this for functions which it implements
23932 to always fail with ENOSYS. Some functions are actually named
23933 something starting with __ and the normal name is an alias. */
23934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23943 -if { (eval echo configure:7766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23945 - eval "ac_cv_func_$ac_func=yes"
23947 - echo "configure: failed program was:" >&5
23948 - cat conftest.$ac_ext >&5
23950 - eval "ac_cv_func_$ac_func=no"
23958 +rm -f conftest.$ac_objext conftest$ac_exeext
23959 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23960 + (eval $ac_link) 2>&5
23962 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 + (exit $ac_status); } &&
23964 + { ac_try='test -s conftest$ac_exeext'
23965 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966 + (eval $ac_try) 2>&5
23968 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 + (exit $ac_status); }; }; then
23970 + eval "$as_ac_var=yes"
23972 + echo "$as_me: failed program was:" >&5
23973 +cat conftest.$ac_ext >&5
23974 +eval "$as_ac_var=no"
23976 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23978 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23979 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23980 +if test `eval echo '${'$as_ac_var'}'` = yes; then
23981 + cat >>confdefs.h <<_ACEOF
23982 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23985 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23986 - echo "$ac_t""yes" 1>&6
23987 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23988 - cat >> confdefs.h <<EOF
23989 -#define $ac_tr_func 1
23993 - echo "$ac_t""no" 1>&6
24000 for ac_func in iswxdigit towupper towlower
24002 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
24003 -echo "configure:7793: checking for $ac_func" >&5
24004 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
24005 - echo $ac_n "(cached) $ac_c" 1>&6
24006 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24007 +echo "$as_me:$LINENO: checking for $ac_func" >&5
24008 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24009 +if eval "test \"\${$as_ac_var+set}\" = set"; then
24010 + echo $ECHO_N "(cached) $ECHO_C" >&6
24012 - cat > conftest.$ac_ext <<EOF
24013 -#line 7798 "configure"
24014 + cat >conftest.$ac_ext <<_ACEOF
24015 +#line $LINENO "configure"
24016 #include "confdefs.h"
24017 /* System header to define __stub macros and hopefully few prototypes,
24018 - which can conflict with char $ac_func(); below. */
24019 + which can conflict with char $ac_func (); below. */
24020 #include <assert.h>
24021 /* Override any gcc2 internal prototype to avoid an error. */
24022 +#ifdef __cplusplus
24025 /* We use char because int might match the return type of a gcc2
24026 - builtin and then its argument prototype would still apply. */
24030 + builtin and then its argument prototype would still apply. */
24034 +#ifdef F77_DUMMY_MAIN
24035 +# ifdef __cplusplus
24038 + int F77_DUMMY_MAIN() { return 1; }
24043 /* The GNU C library defines this for functions which it implements
24044 to always fail with ENOSYS. Some functions are actually named
24045 something starting with __ and the normal name is an alias. */
24046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24055 -if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
24057 - eval "ac_cv_func_$ac_func=yes"
24059 - echo "configure: failed program was:" >&5
24060 - cat conftest.$ac_ext >&5
24062 - eval "ac_cv_func_$ac_func=no"
24070 +rm -f conftest.$ac_objext conftest$ac_exeext
24071 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24072 + (eval $ac_link) 2>&5
24074 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 + (exit $ac_status); } &&
24076 + { ac_try='test -s conftest$ac_exeext'
24077 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24078 + (eval $ac_try) 2>&5
24080 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 + (exit $ac_status); }; }; then
24082 + eval "$as_ac_var=yes"
24084 + echo "$as_me: failed program was:" >&5
24085 +cat conftest.$ac_ext >&5
24086 +eval "$as_ac_var=no"
24088 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24090 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24091 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24092 +if test `eval echo '${'$as_ac_var'}'` = yes; then
24093 + cat >>confdefs.h <<_ACEOF
24094 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24097 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
24098 - echo "$ac_t""yes" 1>&6
24099 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24100 - cat >> confdefs.h <<EOF
24101 -#define $ac_tr_func 1
24105 - echo "$ac_t""no" 1>&6
24110 -echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
24111 -echo "configure:7847: checking for mbstate_t" >&5
24112 -if eval "test \"`echo '$''{'mutt_cv_mbstate_t'+set}'`\" = set"; then
24113 - echo $ac_n "(cached) $ac_c" 1>&6
24114 +echo "$as_me:$LINENO: checking for mbstate_t" >&5
24115 +echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24116 +if test "${mutt_cv_mbstate_t+set}" = set; then
24117 + echo $ECHO_N "(cached) $ECHO_C" >&6
24119 - cat > conftest.$ac_ext <<EOF
24120 -#line 7852 "configure"
24121 + cat >conftest.$ac_ext <<_ACEOF
24122 +#line $LINENO "configure"
24123 #include "confdefs.h"
24125 #include <stddef.h>
24126 @@ -7870,49 +13385,69 @@
24127 #ifdef HAVE_WCHAR_H
24132 - mbstate_t s; return 0;
24135 -if { (eval echo configure:7865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
24138 +#ifdef F77_DUMMY_MAIN
24139 +# ifdef __cplusplus
24142 + int F77_DUMMY_MAIN() { return 1; }
24147 + mbstate_t s; return 0;
24152 +rm -f conftest.$ac_objext
24153 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24154 + (eval $ac_compile) 2>&5
24156 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 + (exit $ac_status); } &&
24158 + { ac_try='test -s conftest.$ac_objext'
24159 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24160 + (eval $ac_try) 2>&5
24162 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 + (exit $ac_status); }; }; then
24164 mutt_cv_mbstate_t=yes
24166 - echo "configure: failed program was:" >&5
24167 - cat conftest.$ac_ext >&5
24169 - mutt_cv_mbstate_t=no
24170 + echo "$as_me: failed program was:" >&5
24171 +cat conftest.$ac_ext >&5
24172 +mutt_cv_mbstate_t=no
24175 +rm -f conftest.$ac_objext conftest.$ac_ext
24178 -echo "$ac_t""$mutt_cv_mbstate_t" 1>&6
24179 +echo "$as_me:$LINENO: result: $mutt_cv_mbstate_t" >&5
24180 +echo "${ECHO_T}$mutt_cv_mbstate_t" >&6
24182 if test "$mutt_cv_mbstate_t" = no; then
24183 - cat >> confdefs.h <<\EOF
24185 +cat >>confdefs.h <<\_ACEOF
24186 #define mbstate_t int
24194 # Check whether --with-wc-funcs or --without-wc-funcs was given.
24195 if test "${with_wc_funcs+set}" = set; then
24196 withval="$with_wc_funcs"
24202 if test "$wc_funcs" != yes -a "$wc_funcs" != no; then
24203 - echo $ac_n "checking for wchar_t functions""... $ac_c" 1>&6
24204 -echo "configure:7896: checking for wchar_t functions" >&5
24205 -if eval "test \"`echo '$''{'mutt_cv_wc_funcs'+set}'`\" = set"; then
24206 - echo $ac_n "(cached) $ac_c" 1>&6
24207 + echo "$as_me:$LINENO: checking for wchar_t functions" >&5
24208 +echo $ECHO_N "checking for wchar_t functions... $ECHO_C" >&6
24209 +if test "${mutt_cv_wc_funcs+set}" = set; then
24210 + echo $ECHO_N "(cached) $ECHO_C" >&6
24212 mutt_cv_wc_funcs=no
24213 - cat > conftest.$ac_ext <<EOF
24214 -#line 7902 "configure"
24215 + cat >conftest.$ac_ext <<_ACEOF
24216 +#line $LINENO "configure"
24217 #include "confdefs.h"
24219 #define _XOPEN_SOURCE 1
24220 @@ -7924,533 +13459,1476 @@
24221 #ifdef HAVE_WCHAR_H
24225 +#ifdef F77_DUMMY_MAIN
24226 +# ifdef __cplusplus
24229 + int F77_DUMMY_MAIN() { return 1; }
24234 mbrtowc(0, 0, 0, 0); wctomb(0, 0); wcwidth(0);
24235 iswprint(0); iswspace(0); towlower(0); towupper(0); iswalnum(0)
24238 -if { (eval echo configure:7919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
24244 +rm -f conftest.$ac_objext conftest$ac_exeext
24245 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24246 + (eval $ac_link) 2>&5
24248 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 + (exit $ac_status); } &&
24250 + { ac_try='test -s conftest$ac_exeext'
24251 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24252 + (eval $ac_try) 2>&5
24254 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 + (exit $ac_status); }; }; then
24256 mutt_cv_wc_funcs=yes
24258 - echo "configure: failed program was:" >&5
24259 - cat conftest.$ac_ext >&5
24260 + echo "$as_me: failed program was:" >&5
24261 +cat conftest.$ac_ext >&5
24264 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24267 -echo "$ac_t""$mutt_cv_wc_funcs" 1>&6
24268 +echo "$as_me:$LINENO: result: $mutt_cv_wc_funcs" >&5
24269 +echo "${ECHO_T}$mutt_cv_wc_funcs" >&6
24270 wc_funcs=$mutt_cv_wc_funcs
24273 if test $wc_funcs = yes; then
24274 - cat >> confdefs.h <<\EOF
24276 +cat >>confdefs.h <<\_ACEOF
24277 #define HAVE_WC_FUNCS 1
24283 -echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
24284 -echo "configure:7941: checking for nl_langinfo and CODESET" >&5
24285 -if eval "test \"`echo '$''{'mutt_cv_langinfo_codeset'+set}'`\" = set"; then
24286 - echo $ac_n "(cached) $ac_c" 1>&6
24287 +echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
24288 +echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
24289 +if test "${mutt_cv_langinfo_codeset+set}" = set; then
24290 + echo $ECHO_N "(cached) $ECHO_C" >&6
24292 - cat > conftest.$ac_ext <<EOF
24293 -#line 7946 "configure"
24294 + cat >conftest.$ac_ext <<_ACEOF
24295 +#line $LINENO "configure"
24296 #include "confdefs.h"
24297 #include <langinfo.h>
24299 +#ifdef F77_DUMMY_MAIN
24300 +# ifdef __cplusplus
24303 + int F77_DUMMY_MAIN() { return 1; }
24308 char* cs = nl_langinfo(CODESET);
24311 -if { (eval echo configure:7953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
24317 +rm -f conftest.$ac_objext conftest$ac_exeext
24318 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24319 + (eval $ac_link) 2>&5
24321 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 + (exit $ac_status); } &&
24323 + { ac_try='test -s conftest$ac_exeext'
24324 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 + (eval $ac_try) 2>&5
24327 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 + (exit $ac_status); }; }; then
24329 mutt_cv_langinfo_codeset=yes
24331 - echo "configure: failed program was:" >&5
24332 - cat conftest.$ac_ext >&5
24334 - mutt_cv_langinfo_codeset=no
24335 + echo "$as_me: failed program was:" >&5
24336 +cat conftest.$ac_ext >&5
24337 +mutt_cv_langinfo_codeset=no
24340 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24343 -echo "$ac_t""$mutt_cv_langinfo_codeset" 1>&6
24344 +echo "$as_me:$LINENO: result: $mutt_cv_langinfo_codeset" >&5
24345 +echo "${ECHO_T}$mutt_cv_langinfo_codeset" >&6
24346 if test $mutt_cv_langinfo_codeset = yes; then
24347 - cat >> confdefs.h <<\EOF
24349 +cat >>confdefs.h <<\_ACEOF
24350 #define HAVE_LANGINFO_CODESET 1
24356 -echo $ac_n "checking for nl_langinfo and YESEXPR""... $ac_c" 1>&6
24357 -echo "configure:7974: checking for nl_langinfo and YESEXPR" >&5
24358 -if eval "test \"`echo '$''{'mutt_cv_langinfo_yesexpr'+set}'`\" = set"; then
24359 - echo $ac_n "(cached) $ac_c" 1>&6
24360 +echo "$as_me:$LINENO: checking for nl_langinfo and YESEXPR" >&5
24361 +echo $ECHO_N "checking for nl_langinfo and YESEXPR... $ECHO_C" >&6
24362 +if test "${mutt_cv_langinfo_yesexpr+set}" = set; then
24363 + echo $ECHO_N "(cached) $ECHO_C" >&6
24365 - cat > conftest.$ac_ext <<EOF
24366 -#line 7979 "configure"
24367 + cat >conftest.$ac_ext <<_ACEOF
24368 +#line $LINENO "configure"
24369 #include "confdefs.h"
24370 #include <langinfo.h>
24372 +#ifdef F77_DUMMY_MAIN
24373 +# ifdef __cplusplus
24376 + int F77_DUMMY_MAIN() { return 1; }
24381 char* cs = nl_langinfo(YESEXPR);
24384 -if { (eval echo configure:7986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
24390 +rm -f conftest.$ac_objext conftest$ac_exeext
24391 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24392 + (eval $ac_link) 2>&5
24394 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 + (exit $ac_status); } &&
24396 + { ac_try='test -s conftest$ac_exeext'
24397 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 + (eval $ac_try) 2>&5
24400 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 + (exit $ac_status); }; }; then
24402 mutt_cv_langinfo_yesexpr=yes
24404 - echo "configure: failed program was:" >&5
24405 - cat conftest.$ac_ext >&5
24407 - mutt_cv_langinfo_yesexpr=no
24408 + echo "$as_me: failed program was:" >&5
24409 +cat conftest.$ac_ext >&5
24410 +mutt_cv_langinfo_yesexpr=no
24413 +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24416 -echo "$ac_t""$mutt_cv_langinfo_yesexpr" 1>&6
24417 +echo "$as_me:$LINENO: result: $mutt_cv_langinfo_yesexpr" >&5
24418 +echo "${ECHO_T}$mutt_cv_langinfo_yesexpr" >&6
24419 if test $mutt_cv_langinfo_yesexpr = yes; then
24420 - cat >> confdefs.h <<\EOF
24422 +cat >>confdefs.h <<\_ACEOF
24423 #define HAVE_LANGINFO_YESEXPR 1
24430 -cat > confcache <<\EOF
24431 + ac_config_files="$ac_config_files Makefile intl/Makefile m4/Makefile po/Makefile.in doc/Makefile contrib/Makefile muttbug.sh imap/Makefile Muttrc.head doc/instdoc.sh"
24432 +cat >confcache <<\_ACEOF
24433 # This file is a shell script that caches the results of configure
24434 # tests run on this system so they can be shared between configure
24435 -# scripts and configure runs. It is not useful on other systems.
24436 -# If it contains results you don't want to keep, you may remove or edit it.
24437 +# scripts and configure runs, see configure's option --config-cache.
24438 +# It is not useful on other systems. If it contains results you don't
24439 +# want to keep, you may remove or edit it.
24441 -# By default, configure uses ./config.cache as the cache file,
24442 -# creating it if it does not exist already. You can give configure
24443 -# the --cache-file=FILE option to use a different cache file; that is
24444 -# what configure does when it calls configure scripts in
24445 -# subdirectories, so they share the cache.
24446 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
24447 -# config.status only pays attention to the cache file if you give it the
24448 -# --recheck option to rerun configure.
24449 +# config.status only pays attention to the cache file if you give it
24450 +# the --recheck option to rerun configure.
24453 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
24454 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
24455 +# following values.
24459 # The following way of writing the cache mishandles newlines in values,
24460 # but we know of no workaround that is simple, portable, and efficient.
24461 # So, don't put newlines in cache variables' values.
24462 # Ultrix sh set writes to stderr and can't be redirected directly,
24463 # and sets the high bit in the cache file unless we assign to the vars.
24465 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
24467 - # `set' does not quote correctly, so add quotes (double-quote substitution
24468 - # turns \\\\ into \\, and sed turns \\ into \).
24470 - -e "s/'/'\\\\''/g" \
24471 - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
24474 - # `set' quotes correctly as required by POSIX, so do not add quotes.
24475 - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
24477 - esac >> confcache
24478 -if cmp -s $cache_file confcache; then
24483 + case `(ac_space=' '; set | grep ac_space) 2>&1` in
24485 + # `set' does not quote correctly, so add quotes (double-quote
24486 + # substitution turns \\\\ into \\, and sed turns \\ into \).
24489 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24492 + # `set' quotes correctly as required by POSIX, so do not add quotes.
24494 + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24501 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24503 + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24504 + : end' >>confcache
24505 +if cmp -s $cache_file confcache; then :; else
24506 if test -w $cache_file; then
24507 - echo "updating cache $cache_file"
24508 - cat confcache > $cache_file
24509 + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24510 + cat confcache >$cache_file
24512 echo "not updating unwritable cache $cache_file"
24517 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24519 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24520 # Let make expand exec_prefix.
24521 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24523 -# Any assignment to VPATH causes Sun make to only execute
24524 -# the first set of double-colon rules, so remove it if not needed.
24525 -# If there is a colon in the path, we need to keep it.
24526 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
24527 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24528 +# trailing colons and then remove the whole line if VPATH becomes empty
24529 +# (actually we leave an empty line to preserve line numbers).
24530 if test "x$srcdir" = x.; then
24531 - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24532 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
24533 +s/:*\$(srcdir):*/:/;
24534 +s/:*\${srcdir}:*/:/;
24535 +s/:*@srcdir@:*/:/;
24536 +s/^\([^=]*=[ ]*\):*/\1/;
24542 -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24544 DEFS=-DHAVE_CONFIG_H
24546 -# Without the "./", some shells look in PATH for config.status.
24547 -: ${CONFIG_STATUS=./config.status}
24548 +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24549 + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24550 +Usually this means the macro was only invoked conditionally." >&5
24551 +echo "$as_me: error: conditional \"AMDEP\" was never defined.
24552 +Usually this means the macro was only invoked conditionally." >&2;}
24553 + { (exit 1); exit 1; }; }
24555 +if test -z "${BUILD_IMAP_TRUE}" && test -z "${BUILD_IMAP_FALSE}"; then
24556 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_IMAP\" was never defined.
24557 +Usually this means the macro was only invoked conditionally." >&5
24558 +echo "$as_me: error: conditional \"BUILD_IMAP\" was never defined.
24559 +Usually this means the macro was only invoked conditionally." >&2;}
24560 + { (exit 1); exit 1; }; }
24562 +if test -z "${USE_GSS_TRUE}" && test -z "${USE_GSS_FALSE}"; then
24563 + { { echo "$as_me:$LINENO: error: conditional \"USE_GSS\" was never defined.
24564 +Usually this means the macro was only invoked conditionally." >&5
24565 +echo "$as_me: error: conditional \"USE_GSS\" was never defined.
24566 +Usually this means the macro was only invoked conditionally." >&2;}
24567 + { (exit 1); exit 1; }; }
24569 +if test -z "${USE_SSL_TRUE}" && test -z "${USE_SSL_FALSE}"; then
24570 + { { echo "$as_me:$LINENO: error: conditional \"USE_SSL\" was never defined.
24571 +Usually this means the macro was only invoked conditionally." >&5
24572 +echo "$as_me: error: conditional \"USE_SSL\" was never defined.
24573 +Usually this means the macro was only invoked conditionally." >&2;}
24574 + { (exit 1); exit 1; }; }
24576 +if test -z "${USE_SASL_TRUE}" && test -z "${USE_SASL_FALSE}"; then
24577 + { { echo "$as_me:$LINENO: error: conditional \"USE_SASL\" was never defined.
24578 +Usually this means the macro was only invoked conditionally." >&5
24579 +echo "$as_me: error: conditional \"USE_SASL\" was never defined.
24580 +Usually this means the macro was only invoked conditionally." >&2;}
24581 + { (exit 1); exit 1; }; }
24584 -echo creating $CONFIG_STATUS
24585 -rm -f $CONFIG_STATUS
24586 -cat > $CONFIG_STATUS <<EOF
24588 -# Generated automatically by configure.
24589 +: ${CONFIG_STATUS=./config.status}
24590 +ac_clean_files_save=$ac_clean_files
24591 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24592 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24593 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
24594 +cat >$CONFIG_STATUS <<_ACEOF
24596 +# Generated by $as_me.
24597 # Run this file to recreate the current configuration.
24598 -# This directory was configured as follows,
24599 -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24601 -# $0 $ac_configure_args
24603 # Compiler output produced by configure, useful for debugging
24604 -# configure, is in ./config.log if it exists.
24605 +# configure, is in config.log if it exists.
24607 -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
24610 +SHELL=\${CONFIG_SHELL-$SHELL}
24613 +cat >>$CONFIG_STATUS <<\_ACEOF
24614 +## --------------------- ##
24615 +## M4sh Initialization. ##
24616 +## --------------------- ##
24618 +# Be Bourne compatible
24619 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24622 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24623 + # is contrary to our usage. Disable this feature.
24624 + alias -g '${1+"$@"}'='"$@"'
24625 +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24630 +# Support unset when possible.
24631 +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
24637 +(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
24638 + { $as_unset LANG || test "${LANG+set}" != set; } ||
24639 + { LANG=C; export LANG; }
24640 +(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
24641 + { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
24642 + { LC_ALL=C; export LC_ALL; }
24643 +(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
24644 + { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
24645 + { LC_TIME=C; export LC_TIME; }
24646 +(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
24647 + { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
24648 + { LC_CTYPE=C; export LC_CTYPE; }
24649 +(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
24650 + { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
24651 + { LANGUAGE=C; export LANGUAGE; }
24652 +(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
24653 + { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
24654 + { LC_COLLATE=C; export LC_COLLATE; }
24655 +(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
24656 + { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
24657 + { LC_NUMERIC=C; export LC_NUMERIC; }
24658 +(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
24659 + { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
24660 + { LC_MESSAGES=C; export LC_MESSAGES; }
24663 +# Required to use basename.
24664 +if expr a : '\(a\)' >/dev/null 2>&1; then
24670 +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24671 + as_basename=basename
24673 + as_basename=false
24677 +# Name of the executable.
24678 +as_me=`$as_basename "$0" ||
24679 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24680 + X"$0" : 'X\(//\)$' \| \
24681 + X"$0" : 'X\(/\)$' \| \
24682 + . : '\(.\)' 2>/dev/null ||
24684 + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24685 + /^X\/\(\/\/\)$/{ s//\1/; q; }
24686 + /^X\/\(\/\).*/{ s//\1/; q; }
24690 +# PATH needs CR, and LINENO needs CR and PATH.
24691 +# Avoid depending upon Character Ranges.
24692 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24693 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24694 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24695 +as_cr_digits='0123456789'
24696 +as_cr_alnum=$as_cr_Letters$as_cr_digits
24698 +# The user is always right.
24699 +if test "${PATH_SEPARATOR+set}" != set; then
24700 + echo "#! /bin/sh" >conftest.sh
24701 + echo "exit 0" >>conftest.sh
24702 + chmod +x conftest.sh
24703 + if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
24704 + PATH_SEPARATOR=';'
24708 + rm -f conftest.sh
24712 + as_lineno_1=$LINENO
24713 + as_lineno_2=$LINENO
24714 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24715 + test "x$as_lineno_1" != "x$as_lineno_2" &&
24716 + test "x$as_lineno_3" = "x$as_lineno_2" || {
24717 + # Find who we are. Look in the path if we contain no path at all
24718 + # relative or not.
24720 + *[\\/]* ) as_myself=$0 ;;
24721 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24722 +for as_dir in $PATH
24725 + test -z "$as_dir" && as_dir=.
24726 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24731 + # We did not find ourselves, most probably we were run as `sh COMMAND'
24732 + # in which case we are not to be found in the path.
24733 + if test "x$as_myself" = x; then
24736 + if test ! -f "$as_myself"; then
24737 + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24738 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24739 + { (exit 1); exit 1; }; }
24741 + case $CONFIG_SHELL in
24743 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24744 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24747 + test -z "$as_dir" && as_dir=.
24748 + for as_base in sh bash ksh sh5; do
24751 + if ("$as_dir/$as_base" -c '
24752 + as_lineno_1=$LINENO
24753 + as_lineno_2=$LINENO
24754 + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24755 + test "x$as_lineno_1" != "x$as_lineno_2" &&
24756 + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24757 + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24758 + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24759 + CONFIG_SHELL=$as_dir/$as_base
24760 + export CONFIG_SHELL
24761 + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24769 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24770 + # uniformly replaced by the line number. The first 'sed' inserts a
24771 + # line-number line before each line; the second 'sed' does the real
24772 + # work. The second script uses 'N' to pair each line-number line
24773 + # with the numbered line, and appends trailing '-' during
24774 + # substitution so that $LINENO is not a special case at line end.
24775 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24776 + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24777 + sed '=' <$as_myself |
24782 + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24785 + s,^['$as_cr_digits']*\n,,
24786 + ' >$as_me.lineno &&
24787 + chmod +x $as_me.lineno ||
24788 + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24789 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24790 + { (exit 1); exit 1; }; }
24792 + # Don't try to exec as it changes $[0], causing all sort of problems
24793 + # (the dirname of $[0] is not the place where we might find the
24794 + # original and so on. Autoconf is especially sensible to this).
24795 + . ./$as_me.lineno
24796 + # Exit status is that of the last command.
24801 +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24802 + *c*,-n*) ECHO_N= ECHO_C='
24804 + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24805 + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24808 +if expr a : '\(a\)' >/dev/null 2>&1; then
24814 +rm -f conf$$ conf$$.exe conf$$.file
24816 +if ln -s conf$$.file conf$$ 2>/dev/null; then
24817 + # We could just check for DJGPP; but this test a) works b) is more generic
24818 + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24819 + if test -f conf$$.exe; then
24820 + # Don't use ln at all; we don't have any links
24825 +elif ln conf$$.file conf$$ 2>/dev/null; then
24830 +rm -f conf$$ conf$$.exe conf$$.file
24832 +if mkdir -p . 2>/dev/null; then
24838 +as_executable_p="test -f"
24840 +# Sed expression to map a string onto a valid CPP name.
24841 +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
24843 +# Sed expression to map a string onto a valid variable name.
24844 +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
24848 +# We need space, tab and new line, in precisely that order.
24854 +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
24858 +# Open the log real soon, to keep \$[0] and so on meaningful, and to
24859 +# report actual input values of CONFIG_FILES etc. instead of their
24860 +# values after options handling. Logging --version etc. is OK.
24861 +exec 5>>config.log
24864 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24865 +## Running $as_me. ##
24870 +This file was extended by $as_me, which was
24871 +generated by GNU Autoconf 2.53a. Invocation command line was
24873 + CONFIG_FILES = $CONFIG_FILES
24874 + CONFIG_HEADERS = $CONFIG_HEADERS
24875 + CONFIG_LINKS = $CONFIG_LINKS
24876 + CONFIG_COMMANDS = $CONFIG_COMMANDS
24880 +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24884 +# Files that config.status was made for.
24885 +if test -n "$ac_config_files"; then
24886 + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
24889 +if test -n "$ac_config_headers"; then
24890 + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
24893 +if test -n "$ac_config_links"; then
24894 + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
24897 +if test -n "$ac_config_commands"; then
24898 + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
24901 +cat >>$CONFIG_STATUS <<\_ACEOF
24904 +\`$as_me' instantiates files from templates according to the
24905 +current configuration.
24907 +Usage: $0 [OPTIONS] [FILE]...
24909 + -h, --help print this help, then exit
24910 + -V, --version print version number, then exit
24911 + -d, --debug don't remove temporary files
24912 + --recheck update $as_me by reconfiguring in the same conditions
24913 + --file=FILE[:TEMPLATE]
24914 + instantiate the configuration file FILE
24915 + --header=FILE[:TEMPLATE]
24916 + instantiate the configuration header FILE
24918 +Configuration files:
24921 +Configuration headers:
24924 +Configuration commands:
24927 +Report bugs to <bug-autoconf@gnu.org>."
24930 +cat >>$CONFIG_STATUS <<_ACEOF
24933 +configured by $0, generated by GNU Autoconf 2.53a,
24934 + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
24936 +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
24937 +Free Software Foundation, Inc.
24938 +This config.status script is free software; the Free Software Foundation
24939 +gives unlimited permission to copy, distribute and modify it."
24941 +INSTALL="$INSTALL"
24944 +cat >>$CONFIG_STATUS <<\_ACEOF
24945 +# If no file are specified by the user, then we need to provide default
24946 +# value. By we need to know if files were specified by the user.
24947 +ac_need_defaults=:
24948 +while test $# != 0
24950 - case "\$ac_option" in
24953 + ac_option=`expr "x$1" : 'x\([^=]*\)='`
24954 + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
24962 + *) # This is not an option, so the user has probably given explicit
24965 + ac_need_defaults=false;;
24968 + case $ac_option in
24969 + # Handling of the options.
24971 +cat >>$CONFIG_STATUS <<_ACEOF
24972 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24973 - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24974 - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24975 - -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24976 - echo "$CONFIG_STATUS generated by autoconf version 2.13"
24978 - -help | --help | --hel | --he | --h)
24979 - echo "\$ac_cs_usage"; exit 0 ;;
24980 - *) echo "\$ac_cs_usage"; exit 1 ;;
24981 + echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
24982 + exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
24984 +cat >>$CONFIG_STATUS <<\_ACEOF
24985 + --version | --vers* | -V )
24986 + echo "$ac_cs_version"; exit 0 ;;
24988 + # Conflict between --help and --header
24989 + { { echo "$as_me:$LINENO: error: ambiguous option: $1
24990 +Try \`$0 --help' for more information." >&5
24991 +echo "$as_me: error: ambiguous option: $1
24992 +Try \`$0 --help' for more information." >&2;}
24993 + { (exit 1); exit 1; }; };;
24994 + --help | --hel | -h )
24995 + echo "$ac_cs_usage"; exit 0 ;;
24996 + --debug | --d* | -d )
24998 + --file | --fil | --fi | --f )
25000 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
25001 + ac_need_defaults=false;;
25002 + --header | --heade | --head | --hea )
25004 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25005 + ac_need_defaults=false;;
25007 + # This is an error.
25008 + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25009 +Try \`$0 --help' for more information." >&5
25010 +echo "$as_me: error: unrecognized option: $1
25011 +Try \`$0 --help' for more information." >&2;}
25012 + { (exit 1); exit 1; }; } ;;
25014 + *) ac_config_targets="$ac_config_targets $1" ;;
25020 -ac_given_srcdir=$srcdir
25021 -ac_given_INSTALL="$INSTALL"
25024 -trap 'rm -fr `echo "Makefile intl/Makefile m4/Makefile
25025 - po/Makefile.in doc/Makefile contrib/Makefile
25029 - doc/instdoc.sh config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
25031 -cat >> $CONFIG_STATUS <<EOF
25033 -# Protect against being on the right side of a sed subst in config.status.
25034 -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
25035 - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
25038 -s%@SHELL@%$SHELL%g
25039 -s%@CFLAGS@%$CFLAGS%g
25040 -s%@CPPFLAGS@%$CPPFLAGS%g
25041 -s%@CXXFLAGS@%$CXXFLAGS%g
25042 -s%@FFLAGS@%$FFLAGS%g
25044 -s%@LDFLAGS@%$LDFLAGS%g
25046 -s%@exec_prefix@%$exec_prefix%g
25047 -s%@prefix@%$prefix%g
25048 -s%@program_transform_name@%$program_transform_name%g
25049 -s%@bindir@%$bindir%g
25050 -s%@sbindir@%$sbindir%g
25051 -s%@libexecdir@%$libexecdir%g
25052 -s%@datadir@%$datadir%g
25053 -s%@sysconfdir@%$sysconfdir%g
25054 -s%@sharedstatedir@%$sharedstatedir%g
25055 -s%@localstatedir@%$localstatedir%g
25056 -s%@libdir@%$libdir%g
25057 -s%@includedir@%$includedir%g
25058 -s%@oldincludedir@%$oldincludedir%g
25059 -s%@infodir@%$infodir%g
25060 -s%@mandir@%$mandir%g
25061 -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
25062 -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
25063 -s%@INSTALL_DATA@%$INSTALL_DATA%g
25064 -s%@PACKAGE@%$PACKAGE%g
25065 -s%@VERSION@%$VERSION%g
25066 -s%@ACLOCAL@%$ACLOCAL%g
25067 -s%@AUTOCONF@%$AUTOCONF%g
25068 -s%@AUTOMAKE@%$AUTOMAKE%g
25069 -s%@AUTOHEADER@%$AUTOHEADER%g
25070 -s%@MAKEINFO@%$MAKEINFO%g
25071 -s%@SET_MAKE@%$SET_MAKE%g
25073 -s%@host_alias@%$host_alias%g
25074 -s%@host_cpu@%$host_cpu%g
25075 -s%@host_vendor@%$host_vendor%g
25076 -s%@host_os@%$host_os%g
25080 -s%@ANSI2KNR@%$ANSI2KNR%g
25081 -s%@RANLIB@%$RANLIB%g
25082 -s%@build@%$build%g
25083 -s%@build_alias@%$build_alias%g
25084 -s%@build_cpu@%$build_cpu%g
25085 -s%@build_vendor@%$build_vendor%g
25086 -s%@build_os@%$build_os%g
25091 -s%@DEBUGGER@%$DEBUGGER%g
25092 -s%@SENDMAIL@%$SENDMAIL%g
25094 -s%@PGPAUX_TARGET@%$PGPAUX_TARGET%g
25095 -s%@SUBVERSION@%$SUBVERSION%g
25096 -s%@ISPELL@%$ISPELL%g
25097 -s%@LIBOBJS@%$LIBOBJS%g
25098 -s%@DOTLOCK_TARGET@%$DOTLOCK_TARGET%g
25099 -s%@docdir@%$docdir%g
25100 -s%@DOTLOCK_GROUP@%$DOTLOCK_GROUP%g
25101 -s%@DOTLOCK_PERMISSION@%$DOTLOCK_PERMISSION%g
25102 -s%@BUILD_IMAP_TRUE@%$BUILD_IMAP_TRUE%g
25103 -s%@BUILD_IMAP_FALSE@%$BUILD_IMAP_FALSE%g
25104 -s%@KRB5CFGPATH@%$KRB5CFGPATH%g
25105 -s%@USE_GSS_TRUE@%$USE_GSS_TRUE%g
25106 -s%@USE_GSS_FALSE@%$USE_GSS_FALSE%g
25107 -s%@USE_SSL_TRUE@%$USE_SSL_TRUE%g
25108 -s%@USE_SSL_FALSE@%$USE_SSL_FALSE%g
25109 -s%@USE_SASL_TRUE@%$USE_SASL_TRUE%g
25110 -s%@USE_SASL_FALSE@%$USE_SASL_FALSE%g
25111 -s%@MUTTLIBS@%$MUTTLIBS%g
25112 -s%@MUTT_LIB_OBJECTS@%$MUTT_LIB_OBJECTS%g
25113 -s%@LIBIMAP@%$LIBIMAP%g
25114 -s%@LIBIMAPDEPS@%$LIBIMAPDEPS%g
25115 -s%@ALLOCA@%$ALLOCA%g
25116 -s%@GLIBC21@%$GLIBC21%g
25117 -s%@LIBICONV@%$LIBICONV%g
25118 -s%@USE_NLS@%$USE_NLS%g
25119 -s%@MSGFMT@%$MSGFMT%g
25120 -s%@GMSGFMT@%$GMSGFMT%g
25121 -s%@XGETTEXT@%$XGETTEXT%g
25122 -s%@INTLBISON@%$INTLBISON%g
25123 -s%@BUILD_INCLUDED_LIBINTL@%$BUILD_INCLUDED_LIBINTL%g
25124 -s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
25125 -s%@CATALOGS@%$CATALOGS%g
25126 -s%@CATOBJEXT@%$CATOBJEXT%g
25127 -s%@GMOFILES@%$GMOFILES%g
25128 -s%@INTLLIBS@%$INTLLIBS%g
25129 -s%@INTLOBJS@%$INTLOBJS%g
25130 -s%@POFILES@%$POFILES%g
25131 -s%@POSUB@%$POSUB%g
25132 -s%@DATADIRNAME@%$DATADIRNAME%g
25133 -s%@INSTOBJEXT@%$INSTOBJEXT%g
25134 -s%@GENCAT@%$GENCAT%g
25135 -s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
25136 -s%@INTL_LIBTOOL_SUFFIX_PREFIX@%$INTL_LIBTOOL_SUFFIX_PREFIX%g
25137 +cat >>$CONFIG_STATUS <<_ACEOF
25139 +# INIT-COMMANDS section.
25142 +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25149 +cat >>$CONFIG_STATUS <<\_ACEOF
25150 +for ac_config_target in $ac_config_targets
25152 + case "$ac_config_target" in
25153 + # Handling of arguments.
25154 + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25155 + "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
25156 + "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
25157 + "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
25158 + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
25159 + "contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
25160 + "muttbug.sh" ) CONFIG_FILES="$CONFIG_FILES muttbug.sh" ;;
25161 + "imap/Makefile" ) CONFIG_FILES="$CONFIG_FILES imap/Makefile" ;;
25162 + "Muttrc.head" ) CONFIG_FILES="$CONFIG_FILES Muttrc.head" ;;
25163 + "doc/instdoc.sh" ) CONFIG_FILES="$CONFIG_FILES doc/instdoc.sh" ;;
25164 + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25165 + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25166 + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25167 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25168 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25169 + { (exit 1); exit 1; }; };;
25173 +# If the user did not use the arguments to specify the items to instantiate,
25174 +# then the envvar interface is used. Set only those that are not.
25175 +# We use the long form for the default assignment because of an extremely
25176 +# bizarre bug on SunOS 4.1.3.
25177 +if $ac_need_defaults; then
25178 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25179 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25180 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25183 +# Create a temporary directory, and hook for its removal unless debugging.
25186 + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25187 + trap '{ (exit 1); exit 1; }' 1 2 13 15
25190 +# Create a (secure) tmp directory for tmp files.
25193 + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
25194 + test -n "$tmp" && test -d "$tmp"
25197 + tmp=$TMPDIR/cs$$-$RANDOM
25198 + (umask 077 && mkdir $tmp)
25201 + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
25202 + { (exit 1); exit 1; }
25207 +cat >>$CONFIG_STATUS <<_ACEOF
25210 +# CONFIG_FILES section.
25213 +# No need to generate the scripts if there are no CONFIG_FILES.
25214 +# This happens for instance when ./config.status config.h
25215 +if test -n "\$CONFIG_FILES"; then
25216 + # Protect against being on the right side of a sed subst in config.status.
25217 + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25218 + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25219 +s,@SHELL@,$SHELL,;t t
25220 +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25221 +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25222 +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25223 +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25224 +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25225 +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25226 +s,@exec_prefix@,$exec_prefix,;t t
25227 +s,@prefix@,$prefix,;t t
25228 +s,@program_transform_name@,$program_transform_name,;t t
25229 +s,@bindir@,$bindir,;t t
25230 +s,@sbindir@,$sbindir,;t t
25231 +s,@libexecdir@,$libexecdir,;t t
25232 +s,@datadir@,$datadir,;t t
25233 +s,@sysconfdir@,$sysconfdir,;t t
25234 +s,@sharedstatedir@,$sharedstatedir,;t t
25235 +s,@localstatedir@,$localstatedir,;t t
25236 +s,@libdir@,$libdir,;t t
25237 +s,@includedir@,$includedir,;t t
25238 +s,@oldincludedir@,$oldincludedir,;t t
25239 +s,@infodir@,$infodir,;t t
25240 +s,@mandir@,$mandir,;t t
25241 +s,@build_alias@,$build_alias,;t t
25242 +s,@host_alias@,$host_alias,;t t
25243 +s,@target_alias@,$target_alias,;t t
25244 +s,@DEFS@,$DEFS,;t t
25245 +s,@ECHO_C@,$ECHO_C,;t t
25246 +s,@ECHO_N@,$ECHO_N,;t t
25247 +s,@ECHO_T@,$ECHO_T,;t t
25248 +s,@LIBS@,$LIBS,;t t
25249 +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25250 +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25251 +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25252 +s,@PACKAGE@,$PACKAGE,;t t
25253 +s,@VERSION@,$VERSION,;t t
25254 +s,@ACLOCAL@,$ACLOCAL,;t t
25255 +s,@AUTOCONF@,$AUTOCONF,;t t
25256 +s,@AUTOMAKE@,$AUTOMAKE,;t t
25257 +s,@AUTOHEADER@,$AUTOHEADER,;t t
25258 +s,@MAKEINFO@,$MAKEINFO,;t t
25259 +s,@AMTAR@,$AMTAR,;t t
25260 +s,@install_sh@,$install_sh,;t t
25261 +s,@STRIP@,$STRIP,;t t
25262 +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25263 +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25265 +s,@SET_MAKE@,$SET_MAKE,;t t
25266 +s,@build@,$build,;t t
25267 +s,@build_cpu@,$build_cpu,;t t
25268 +s,@build_vendor@,$build_vendor,;t t
25269 +s,@build_os@,$build_os,;t t
25270 +s,@host@,$host,;t t
25271 +s,@host_cpu@,$host_cpu,;t t
25272 +s,@host_vendor@,$host_vendor,;t t
25273 +s,@host_os@,$host_os,;t t
25275 +s,@CFLAGS@,$CFLAGS,;t t
25276 +s,@LDFLAGS@,$LDFLAGS,;t t
25277 +s,@CPPFLAGS@,$CPPFLAGS,;t t
25278 +s,@ac_ct_CC@,$ac_ct_CC,;t t
25279 +s,@EXEEXT@,$EXEEXT,;t t
25280 +s,@OBJEXT@,$OBJEXT,;t t
25281 +s,@DEPDIR@,$DEPDIR,;t t
25282 +s,@am__include@,$am__include,;t t
25283 +s,@am__quote@,$am__quote,;t t
25284 +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25285 +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25286 +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25287 +s,@CCDEPMODE@,$CCDEPMODE,;t t
25290 +s,@ANSI2KNR@,$ANSI2KNR,;t t
25291 +s,@RANLIB@,$RANLIB,;t t
25292 +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25294 +s,@ac_ct_AR@,$ac_ct_AR,;t t
25298 +s,@DEBUGGER@,$DEBUGGER,;t t
25299 +s,@SENDMAIL@,$SENDMAIL,;t t
25301 +s,@PGPAUX_TARGET@,$PGPAUX_TARGET,;t t
25302 +s,@SUBVERSION@,$SUBVERSION,;t t
25303 +s,@ISPELL@,$ISPELL,;t t
25304 +s,@LIBOBJS@,$LIBOBJS,;t t
25305 +s,@DOTLOCK_TARGET@,$DOTLOCK_TARGET,;t t
25306 +s,@docdir@,$docdir,;t t
25307 +s,@DOTLOCK_GROUP@,$DOTLOCK_GROUP,;t t
25308 +s,@DOTLOCK_PERMISSION@,$DOTLOCK_PERMISSION,;t t
25309 +s,@BUILD_IMAP_TRUE@,$BUILD_IMAP_TRUE,;t t
25310 +s,@BUILD_IMAP_FALSE@,$BUILD_IMAP_FALSE,;t t
25311 +s,@KRB5CFGPATH@,$KRB5CFGPATH,;t t
25312 +s,@USE_GSS_TRUE@,$USE_GSS_TRUE,;t t
25313 +s,@USE_GSS_FALSE@,$USE_GSS_FALSE,;t t
25314 +s,@USE_SSL_TRUE@,$USE_SSL_TRUE,;t t
25315 +s,@USE_SSL_FALSE@,$USE_SSL_FALSE,;t t
25316 +s,@USE_SASL_TRUE@,$USE_SASL_TRUE,;t t
25317 +s,@USE_SASL_FALSE@,$USE_SASL_FALSE,;t t
25318 +s,@MUTTLIBS@,$MUTTLIBS,;t t
25319 +s,@MUTT_LIB_OBJECTS@,$MUTT_LIB_OBJECTS,;t t
25320 +s,@LIBIMAP@,$LIBIMAP,;t t
25321 +s,@LIBIMAPDEPS@,$LIBIMAPDEPS,;t t
25322 +s,@ALLOCA@,$ALLOCA,;t t
25323 +s,@GLIBC21@,$GLIBC21,;t t
25324 +s,@LIBICONV@,$LIBICONV,;t t
25325 +s,@USE_NLS@,$USE_NLS,;t t
25326 +s,@MSGFMT@,$MSGFMT,;t t
25327 +s,@GMSGFMT@,$GMSGFMT,;t t
25328 +s,@XGETTEXT@,$XGETTEXT,;t t
25329 +s,@INTLBISON@,$INTLBISON,;t t
25330 +s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
25331 +s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
25332 +s,@CATALOGS@,$CATALOGS,;t t
25333 +s,@CATOBJEXT@,$CATOBJEXT,;t t
25334 +s,@GMOFILES@,$GMOFILES,;t t
25335 +s,@INTLLIBS@,$INTLLIBS,;t t
25336 +s,@INTLOBJS@,$INTLOBJS,;t t
25337 +s,@POFILES@,$POFILES,;t t
25338 +s,@POSUB@,$POSUB,;t t
25339 +s,@DATADIRNAME@,$DATADIRNAME,;t t
25340 +s,@INSTOBJEXT@,$INSTOBJEXT,;t t
25341 +s,@GENCAT@,$GENCAT,;t t
25342 +s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
25343 +s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
25347 -cat >> $CONFIG_STATUS <<\EOF
25350 -# Split the substitutions into bite-sized pieces for seds with
25351 -# small command number limits, like on Digital OSF/1 and HP-UX.
25352 -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
25353 -ac_file=1 # Number of current file.
25354 -ac_beg=1 # First line for current file.
25355 -ac_end=$ac_max_sed_cmds # Line after last line for current file.
25358 -while $ac_more_lines; do
25359 - if test $ac_beg -gt 1; then
25360 - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
25362 - sed "${ac_end}q" conftest.subs > conftest.s$ac_file
25364 - if test ! -s conftest.s$ac_file; then
25365 - ac_more_lines=false
25366 - rm -f conftest.s$ac_file
25368 - if test -z "$ac_sed_cmds"; then
25369 - ac_sed_cmds="sed -f conftest.s$ac_file"
25370 + cat >>$CONFIG_STATUS <<\_ACEOF
25371 + # Split the substitutions into bite-sized pieces for seds with
25372 + # small command number limits, like on Digital OSF/1 and HP-UX.
25373 + ac_max_sed_lines=48
25374 + ac_sed_frag=1 # Number of current file.
25375 + ac_beg=1 # First line for current file.
25376 + ac_end=$ac_max_sed_lines # Line after last line for current file.
25379 + while $ac_more_lines; do
25380 + if test $ac_beg -gt 1; then
25381 + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25383 + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25385 + if test ! -s $tmp/subs.frag; then
25386 + ac_more_lines=false
25388 - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
25389 + # The purpose of the label and of the branching condition is to
25390 + # speed up the sed processing (if there are no `@' at all, there
25391 + # is no need to browse any of the substitutions).
25392 + # These are the two extra sed commands mentioned above.
25394 + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25395 + if test -z "$ac_sed_cmds"; then
25396 + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25398 + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25400 + ac_sed_frag=`expr $ac_sed_frag + 1`
25402 + ac_end=`expr $ac_end + $ac_max_sed_lines`
25404 - ac_file=`expr $ac_file + 1`
25406 - ac_end=`expr $ac_end + $ac_max_sed_cmds`
25409 -if test -z "$ac_sed_cmds"; then
25414 -cat >> $CONFIG_STATUS <<EOF
25416 -CONFIG_FILES=\${CONFIG_FILES-"Makefile intl/Makefile m4/Makefile
25417 - po/Makefile.in doc/Makefile contrib/Makefile
25423 -cat >> $CONFIG_STATUS <<\EOF
25424 -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
25426 + if test -z "$ac_sed_cmds"; then
25429 +fi # test -n "$CONFIG_FILES"
25432 +cat >>$CONFIG_STATUS <<\_ACEOF
25433 +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25434 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25435 - case "$ac_file" in
25436 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
25437 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
25438 - *) ac_file_in="${ac_file}.in" ;;
25440 + - | *:- | *:-:* ) # input from stdin
25442 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25443 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25444 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25445 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25446 + * ) ac_file_in=$ac_file.in ;;
25449 - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
25451 - # Remove last slash and all that follows it. Not all systems have dirname.
25452 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
25453 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
25454 - # The file is in a subdirectory.
25455 - test ! -d "$ac_dir" && mkdir "$ac_dir"
25456 - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
25457 - # A "../" for each directory in $ac_dir_suffix.
25458 - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
25460 - ac_dir_suffix= ac_dots=
25463 - case "$ac_given_srcdir" in
25465 - if test -z "$ac_dots"; then top_srcdir=.
25466 - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
25467 - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
25468 + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25469 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25470 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25471 + X"$ac_file" : 'X\(//\)[^/]' \| \
25472 + X"$ac_file" : 'X\(//\)$' \| \
25473 + X"$ac_file" : 'X\(/\)' \| \
25474 + . : '\(.\)' 2>/dev/null ||
25475 +echo X"$ac_file" |
25476 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25477 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25478 + /^X\(\/\/\)$/{ s//\1/; q; }
25479 + /^X\(\/\).*/{ s//\1/; q; }
25481 + { if $as_mkdir_p; then
25482 + mkdir -p "$ac_dir"
25486 + while test ! -d "$as_dir"; do
25487 + as_dirs="$as_dir $as_dirs"
25488 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
25489 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25490 + X"$as_dir" : 'X\(//\)[^/]' \| \
25491 + X"$as_dir" : 'X\(//\)$' \| \
25492 + X"$as_dir" : 'X\(/\)' \| \
25493 + . : '\(.\)' 2>/dev/null ||
25495 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25496 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25497 + /^X\(\/\/\)$/{ s//\1/; q; }
25498 + /^X\(\/\).*/{ s//\1/; q; }
25501 + test ! -n "$as_dirs" || mkdir $as_dirs
25502 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25503 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25504 + { (exit 1); exit 1; }; }; }
25508 +if test "$ac_dir" != .; then
25509 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25510 + # A "../" for each directory in $ac_dir_suffix.
25511 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25513 + ac_dir_suffix= ac_top_builddir=
25517 + .) # No --srcdir option. We are building in place.
25519 + if test -z "$ac_top_builddir"; then
25522 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25524 + [\\/]* | ?:[\\/]* ) # Absolute path.
25525 + ac_srcdir=$srcdir$ac_dir_suffix;
25526 + ac_top_srcdir=$srcdir ;;
25527 *) # Relative path.
25528 - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
25529 - top_srcdir="$ac_dots$ac_given_srcdir" ;;
25531 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25532 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
25534 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
25536 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
25537 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
25538 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
25539 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
25541 - case "$ac_given_INSTALL" in
25542 - [/$]*) INSTALL="$ac_given_INSTALL" ;;
25543 - *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
25546 - echo creating "$ac_file"
25548 - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
25549 - case "$ac_file" in
25550 - *Makefile*) ac_comsub="1i\\
25551 -# $configure_input" ;;
25554 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25555 + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25558 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
25559 - sed -e "$ac_comsub
25560 -s%@configure_input@%$configure_input%g
25561 -s%@srcdir@%$srcdir%g
25562 -s%@top_srcdir@%$top_srcdir%g
25563 -s%@INSTALL@%$INSTALL%g
25564 -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
25567 + if test x"$ac_file" != x-; then
25568 + { echo "$as_me:$LINENO: creating $ac_file" >&5
25569 +echo "$as_me: creating $ac_file" >&6;}
25572 + # Let's still pretend it is `configure' which instantiates (i.e., don't
25573 + # use $as_me), people would be surprised to read:
25574 + # /* config.h. Generated by config.status. */
25575 + if test x"$ac_file" = x-; then
25578 + configure_input="$ac_file. "
25580 + configure_input=$configure_input"Generated from `echo $ac_file_in |
25581 + sed 's,.*/,,'` by configure."
25583 + # First look for the input files in the build tree, otherwise in the
25585 + ac_file_inputs=`IFS=:
25586 + for f in $ac_file_in; do
25588 + -) echo $tmp/stdin ;;
25590 + # Absolute (can't be DOS-style, as IFS=:)
25591 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25592 +echo "$as_me: error: cannot find input file: $f" >&2;}
25593 + { (exit 1); exit 1; }; }
25596 + if test -f "$f"; then
25599 + elif test -f "$srcdir/$f"; then
25604 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25605 +echo "$as_me: error: cannot find input file: $f" >&2;}
25606 + { (exit 1); exit 1; }; }
25609 + done` || { (exit 1); exit 1; }
25611 +cat >>$CONFIG_STATUS <<_ACEOF
25615 +cat >>$CONFIG_STATUS <<\_ACEOF
25617 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25618 +s,@configure_input@,$configure_input,;t t
25619 +s,@srcdir@,$ac_srcdir,;t t
25620 +s,@abs_srcdir@,$ac_abs_srcdir,;t t
25621 +s,@top_srcdir@,$ac_top_srcdir,;t t
25622 +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25623 +s,@builddir@,$ac_builddir,;t t
25624 +s,@abs_builddir@,$ac_abs_builddir,;t t
25625 +s,@top_builddir@,$ac_top_builddir,;t t
25626 +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25627 +s,@INSTALL@,$ac_INSTALL,;t t
25628 +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25630 + if test x"$ac_file" != x-; then
25631 + mv $tmp/out $ac_file
25639 +cat >>$CONFIG_STATUS <<\_ACEOF
25642 +# CONFIG_HEADER section.
25645 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25646 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25648 # ac_d sets the value in "#define NAME VALUE" lines.
25649 -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25650 -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
25653 -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
25654 -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25655 -ac_uB='\([ ]\)%\1#\2define\3'
25656 +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25657 +ac_dB='[ ].*$,\1#\2'
25660 +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25661 +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25662 +ac_uB='$,\1#\2define\3'
25665 -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25666 -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25667 -ac_eB='$%\1#\2define\3'
25671 -if test "${CONFIG_HEADERS+set}" != set; then
25673 -cat >> $CONFIG_STATUS <<EOF
25674 - CONFIG_HEADERS="config.h"
25676 -cat >> $CONFIG_STATUS <<\EOF
25678 -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
25681 +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25682 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25683 - case "$ac_file" in
25684 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
25685 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
25686 - *) ac_file_in="${ac_file}.in" ;;
25688 + - | *:- | *:-:* ) # input from stdin
25690 + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25691 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25692 + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25693 + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25694 + * ) ac_file_in=$ac_file.in ;;
25697 - echo creating $ac_file
25698 + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25699 +echo "$as_me: creating $ac_file" >&6;}
25701 - rm -f conftest.frag conftest.in conftest.out
25702 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
25703 - cat $ac_file_inputs > conftest.in
25707 -# Transform confdefs.h into a sed script conftest.vals that substitutes
25708 -# the proper values into config.h.in to produce config.h. And first:
25709 -# Protect against being on the right side of a sed subst in config.status.
25710 -# Protect against being in an unquoted here document in config.status.
25711 -rm -f conftest.vals
25712 -cat > conftest.hdr <<\EOF
25715 -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
25719 -sed -n -f conftest.hdr confdefs.h > conftest.vals
25720 -rm -f conftest.hdr
25721 + # First look for the input files in the build tree, otherwise in the
25723 + ac_file_inputs=`IFS=:
25724 + for f in $ac_file_in; do
25726 + -) echo $tmp/stdin ;;
25728 + # Absolute (can't be DOS-style, as IFS=:)
25729 + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25730 +echo "$as_me: error: cannot find input file: $f" >&2;}
25731 + { (exit 1); exit 1; }; }
25734 + if test -f "$f"; then
25737 + elif test -f "$srcdir/$f"; then
25742 + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25743 +echo "$as_me: error: cannot find input file: $f" >&2;}
25744 + { (exit 1); exit 1; }; }
25747 + done` || { (exit 1); exit 1; }
25748 + # Remove the trailing spaces.
25749 + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25753 +# Transform confdefs.h into two sed scripts, `conftest.defines' and
25754 +# `conftest.undefs', that substitutes the proper values into
25755 +# config.h.in to produce config.h. The first handles `#define'
25756 +# templates, and the second `#undef' templates.
25757 +# And first: Protect against being on the right side of a sed subst in
25758 +# config.status. Protect against being in an unquoted here document
25759 +# in config.status.
25760 +rm -f conftest.defines conftest.undefs
25761 +# Using a here document instead of a string reduces the quoting nightmare.
25762 +# Putting comments in sed scripts is not portable.
25764 +# `end' is used to avoid that the second main sed command (meant for
25765 +# 0-ary CPP macros) applies to n-ary macro definitions.
25766 +# See the Autoconf documentation for `clear'.
25767 +cat >confdef2sed.sed <<\_ACEOF
25772 +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25774 +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25777 +# If some macros were called several times there might be several times
25778 +# the same #defines, which is useless. Nevertheless, we may not want to
25779 +# sort them, since we want the *last* AC-DEFINE to be honored.
25780 +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25781 +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25782 +rm -f confdef2sed.sed
25784 # This sed command replaces #undef with comments. This is necessary, for
25785 # example, in the case of _POSIX_SOURCE, which is predefined and required
25786 # on some systems where configure will not decide to define it.
25787 -cat >> conftest.vals <<\EOF
25788 -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
25791 -# Break up conftest.vals because some shells have a limit on
25792 -# the size of here documents, and old seds have small limits too.
25794 +cat >>conftest.undefs <<\_ACEOF
25795 +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
25798 +# Break up conftest.defines because some shells have a limit on the size
25799 +# of here documents, and old seds have small limits too (100 cmds).
25800 +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25801 +echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25802 +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25803 +echo ' :' >>$CONFIG_STATUS
25804 rm -f conftest.tail
25806 +while grep . conftest.defines >/dev/null
25808 - ac_lines=`grep -c . conftest.vals`
25809 - # grep -c gives empty output for an empty file on some AIX systems.
25810 - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
25811 - # Write a limited-size here document to conftest.frag.
25812 - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
25813 - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
25814 + # Write a limited-size here document to $tmp/defines.sed.
25815 + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25816 + # Speed up: don't consider the non `#define' lines.
25817 + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25818 + # Work around the forget-to-reset-the-flag bug.
25819 + echo 't clr' >>$CONFIG_STATUS
25820 + echo ': clr' >>$CONFIG_STATUS
25821 + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25823 - sed -f conftest.frag conftest.in > conftest.out
25824 - rm -f conftest.in
25825 - mv conftest.out conftest.in
25826 -' >> $CONFIG_STATUS
25827 - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
25828 - rm -f conftest.vals
25829 - mv conftest.tail conftest.vals
25831 -rm -f conftest.vals
25833 -cat >> $CONFIG_STATUS <<\EOF
25834 - rm -f conftest.frag conftest.h
25835 - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
25836 - cat conftest.in >> conftest.h
25837 - rm -f conftest.in
25838 - if cmp -s $ac_file conftest.h 2>/dev/null; then
25839 - echo "$ac_file is unchanged"
25842 - # Remove last slash and all that follows it. Not all systems have dirname.
25843 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
25844 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
25845 - # The file is in a subdirectory.
25846 - test ! -d "$ac_dir" && mkdir "$ac_dir"
25849 - mv conftest.h $ac_file
25850 + sed -f $tmp/defines.sed $tmp/in >$tmp/out
25852 + mv $tmp/out $tmp/in
25853 +' >>$CONFIG_STATUS
25854 + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
25855 + rm -f conftest.defines
25856 + mv conftest.tail conftest.defines
25858 +rm -f conftest.defines
25859 +echo ' fi # egrep' >>$CONFIG_STATUS
25860 +echo >>$CONFIG_STATUS
25862 +# Break up conftest.undefs because some shells have a limit on the size
25863 +# of here documents, and old seds have small limits too (100 cmds).
25864 +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25865 +rm -f conftest.tail
25866 +while grep . conftest.undefs >/dev/null
25868 + # Write a limited-size here document to $tmp/undefs.sed.
25869 + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25870 + # Speed up: don't consider the non `#undef'
25871 + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25872 + # Work around the forget-to-reset-the-flag bug.
25873 + echo 't clr' >>$CONFIG_STATUS
25874 + echo ': clr' >>$CONFIG_STATUS
25875 + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25877 + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25879 + mv $tmp/out $tmp/in
25880 +' >>$CONFIG_STATUS
25881 + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25882 + rm -f conftest.undefs
25883 + mv conftest.tail conftest.undefs
25885 +rm -f conftest.undefs
25887 +cat >>$CONFIG_STATUS <<\_ACEOF
25888 + # Let's still pretend it is `configure' which instantiates (i.e., don't
25889 + # use $as_me), people would be surprised to read:
25890 + # /* config.h. Generated by config.status. */
25891 + if test x"$ac_file" = x-; then
25892 + echo "/* Generated by configure. */" >$tmp/config.h
25894 + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25899 -cat >> $CONFIG_STATUS <<EOF
25900 + cat $tmp/in >>$tmp/config.h
25902 + if test x"$ac_file" != x-; then
25903 + if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
25904 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25905 +echo "$as_me: $ac_file is unchanged" >&6;}
25907 + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25908 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25909 + X"$ac_file" : 'X\(//\)[^/]' \| \
25910 + X"$ac_file" : 'X\(//\)$' \| \
25911 + X"$ac_file" : 'X\(/\)' \| \
25912 + . : '\(.\)' 2>/dev/null ||
25913 +echo X"$ac_file" |
25914 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25915 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25916 + /^X\(\/\/\)$/{ s//\1/; q; }
25917 + /^X\(\/\).*/{ s//\1/; q; }
25919 + { if $as_mkdir_p; then
25920 + mkdir -p "$ac_dir"
25924 + while test ! -d "$as_dir"; do
25925 + as_dirs="$as_dir $as_dirs"
25926 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
25927 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25928 + X"$as_dir" : 'X\(//\)[^/]' \| \
25929 + X"$as_dir" : 'X\(//\)$' \| \
25930 + X"$as_dir" : 'X\(/\)' \| \
25931 + . : '\(.\)' 2>/dev/null ||
25933 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25934 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25935 + /^X\(\/\/\)$/{ s//\1/; q; }
25936 + /^X\(\/\).*/{ s//\1/; q; }
25939 + test ! -n "$as_dirs" || mkdir $as_dirs
25940 + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25941 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25942 + { (exit 1); exit 1; }; }; }
25945 + mv $tmp/config.h $ac_file
25948 + cat $tmp/config.h
25949 + rm -f $tmp/config.h
25951 + # Run the commands associated with the file.
25953 + config.h ) # update the timestamp
25954 +echo 'timestamp for config.h' >"./stamp-h1"
25959 +cat >>$CONFIG_STATUS <<\_ACEOF
25962 +# CONFIG_COMMANDS section.
25964 +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
25965 + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
25966 + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
25967 + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
25968 +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25969 + X"$ac_dest" : 'X\(//\)[^/]' \| \
25970 + X"$ac_dest" : 'X\(//\)$' \| \
25971 + X"$ac_dest" : 'X\(/\)' \| \
25972 + . : '\(.\)' 2>/dev/null ||
25973 +echo X"$ac_dest" |
25974 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25975 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25976 + /^X\(\/\/\)$/{ s//\1/; q; }
25977 + /^X\(\/\).*/{ s//\1/; q; }
25981 +if test "$ac_dir" != .; then
25982 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25983 + # A "../" for each directory in $ac_dir_suffix.
25984 + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25986 + ac_dir_suffix= ac_top_builddir=
25990 + .) # No --srcdir option. We are building in place.
25992 + if test -z "$ac_top_builddir"; then
25995 + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25997 + [\\/]* | ?:[\\/]* ) # Absolute path.
25998 + ac_srcdir=$srcdir$ac_dir_suffix;
25999 + ac_top_srcdir=$srcdir ;;
26000 + *) # Relative path.
26001 + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26002 + ac_top_srcdir=$ac_top_builddir$srcdir ;;
26004 +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
26006 +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
26007 +ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
26008 +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
26009 +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
26012 + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26013 +echo "$as_me: executing $ac_dest commands" >&6;}
26015 + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26016 + # Strip MF so we end up with the name of the file.
26017 + mf=`echo "$mf" | sed -e 's/:.*$//'`
26018 + # Check whether this is an Automake generated Makefile or not.
26019 + # We used to match only the files named `Makefile.in', but
26020 + # some people rename them; so instead we look at the file content.
26021 + # Grep'ing the first line is not enough: some people post-process
26022 + # each Makefile.in and add a new line on top of each file to say so.
26023 + # So let's grep whole file.
26024 + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
26025 + dirpart=`(dirname "$mf") 2>/dev/null ||
26026 +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26027 + X"$mf" : 'X\(//\)[^/]' \| \
26028 + X"$mf" : 'X\(//\)$' \| \
26029 + X"$mf" : 'X\(/\)' \| \
26030 + . : '\(.\)' 2>/dev/null ||
26032 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26033 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26034 + /^X\(\/\/\)$/{ s//\1/; q; }
26035 + /^X\(\/\).*/{ s//\1/; q; }
26040 + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
26041 + # Extract the definition of DEP_FILES from the Makefile without
26042 + # running `make'.
26043 + DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
26044 + test -z "$DEPDIR" && continue
26045 + # When using ansi2knr, U may be empty or an underscore; expand it
26046 + U=`sed -n -e '/^U = / s///p' < "$mf"`
26047 + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
26048 + # We invoke sed twice because it is the simplest approach to
26049 + # changing $(DEPDIR) to its actual value in the expansion.
26050 + for file in `sed -n -e '
26051 + /^DEP_FILES = .*\\\\$/ {
26052 + s/^DEP_FILES = //
26060 + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
26061 + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26062 + # Make sure the directory exists.
26063 + test -f "$dirpart/$file" && continue
26064 + fdir=`(dirname "$file") 2>/dev/null ||
26065 +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26066 + X"$file" : 'X\(//\)[^/]' \| \
26067 + X"$file" : 'X\(//\)$' \| \
26068 + X"$file" : 'X\(/\)' \| \
26069 + . : '\(.\)' 2>/dev/null ||
26071 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26072 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26073 + /^X\(\/\/\)$/{ s//\1/; q; }
26074 + /^X\(\/\).*/{ s//\1/; q; }
26076 + { if $as_mkdir_p; then
26077 + mkdir -p $dirpart/$fdir
26079 + as_dir=$dirpart/$fdir
26081 + while test ! -d "$as_dir"; do
26082 + as_dirs="$as_dir $as_dirs"
26083 + as_dir=`(dirname "$as_dir") 2>/dev/null ||
26084 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26085 + X"$as_dir" : 'X\(//\)[^/]' \| \
26086 + X"$as_dir" : 'X\(//\)$' \| \
26087 + X"$as_dir" : 'X\(/\)' \| \
26088 + . : '\(.\)' 2>/dev/null ||
26090 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26091 + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26092 + /^X\(\/\/\)$/{ s//\1/; q; }
26093 + /^X\(\/\).*/{ s//\1/; q; }
26096 + test ! -n "$as_dirs" || mkdir $as_dirs
26097 + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
26098 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
26099 + { (exit 1); exit 1; }; }; }
26102 -cat >> $CONFIG_STATUS <<\EOF
26103 -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
26104 -for ac_file in $CONFIG_FILES; do
26105 + # echo "creating $dirpart/$file"
26106 + echo '# dummy' > "$dirpart/$file"
26110 + default-1 ) for ac_file in $CONFIG_FILES; do
26111 # Support "outfile[:infile[:infile...]]"
26113 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
26114 @@ -8478,11 +14956,34 @@
26126 +cat >>$CONFIG_STATUS <<\_ACEOF
26128 +{ (exit 0); exit 0; }
26130 chmod +x $CONFIG_STATUS
26131 -rm -fr confdefs* $ac_clean_files
26132 -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
26133 +ac_clean_files=$ac_clean_files_save
26136 +# configure is writing to config.log, and then calls config.status.
26137 +# config.status does its own redirection, appending to config.log.
26138 +# Unfortunately, on DOS this fails, as config.log is still kept open
26139 +# by configure, so config.status won't be able to write to it; its
26140 +# output is simply discarded. So we exec the FD to /dev/null,
26141 +# effectively closing config.log, so it can be properly (re)opened and
26142 +# appended to by config.status. When coming back to configure, we
26143 +# need to make the FD available again.
26144 +if test "$no_create" != yes; then
26147 + $SHELL $CONFIG_STATUS || ac_cs_success=false
26148 + exec 5>>config.log
26149 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26150 + # would make configure fail if this is the last instruction.
26151 + $ac_cs_success || { (exit 1); exit 1; }
26154 diff -uNr mutt-1.4.orig/configure.in mutt-1.4/configure.in
26155 --- mutt-1.4.orig/configure.in Sun Nov 3 21:42:52 2002
26156 +++ mutt-1.4/configure.in Sun Nov 3 21:57:20 2002
26157 @@ -457,6 +457,14 @@
26159 AM_CONDITIONAL(BUILD_IMAP, test x$need_imap = xyes)
26161 +AC_ARG_ENABLE(nntp, [ --enable-nntp Enable NNTP support],
26162 +[ if test x$enableval = xyes ; then
26163 + AC_DEFINE(USE_NNTP)
26164 + MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS nntp.o newsrc.o"
26165 + need_socket="yes"
26169 dnl -- end socket dependencies --
26171 if test "$need_socket" = "yes"
26172 diff -uNr mutt-1.4.orig/curs_main.c mutt-1.4/curs_main.c
26173 --- mutt-1.4.orig/curs_main.c Sun Nov 3 21:42:52 2002
26174 +++ mutt-1.4/curs_main.c Sun Nov 3 21:57:20 2002
26178 #include "mutt_curses.h"
26180 #include "mutt_menu.h"
26181 #include "mailbox.h"
26182 #include "mapping.h"
26194 @@ -405,12 +410,27 @@
26199 +struct mapping_t IndexNewsHelp[] = {
26200 + { N_("Quit"), OP_QUIT },
26201 + { N_("Del"), OP_DELETE },
26202 + { N_("Undel"), OP_UNDELETE },
26203 + { N_("Save"), OP_SAVE },
26204 + { N_("Post"), OP_POST },
26205 + { N_("Followup"), OP_FOLLOWUP },
26206 + { N_("Catchup"), OP_CATCHUP },
26207 + { N_("Help"), OP_HELP },
26212 /* This function handles the message index window as well as commands returned
26213 * from the pager (MENU_PAGER).
26215 int mutt_index_menu (void)
26217 char buf[LONG_STRING], helpstr[SHORT_STRING];
26220 int done = 0; /* controls when to exit the "event" loop */
26222 @@ -432,7 +452,11 @@
26223 menu->make_entry = index_make_entry;
26224 menu->color = index_color;
26225 menu->current = ci_first_message ();
26226 - menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_MAIN, IndexHelp);
26227 + menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_MAIN,
26229 + (Context && (Context->magic == M_NNTP)) ? IndexNewsHelp :
26234 mutt_buffy_check(1); /* force the buffy check after we enter the folder */
26235 @@ -633,6 +657,9 @@
26236 mutt_curs_set (1); /* fallback from the pager */
26240 + unset_option (OPTNEWS); /* for any case */
26245 @@ -683,6 +710,120 @@
26246 menu_current_bottom (menu);
26250 + case OP_GET_MESSAGE:
26251 + case OP_GET_PARENT:
26253 + if (Context->magic == M_NNTP)
26257 + if (op == OP_GET_MESSAGE)
26260 + if (mutt_get_field (_("Enter Message-Id: "), buf, sizeof (buf), 0) != 0
26266 + LIST *ref = CURHDR->env->references;
26269 + mutt_error _("Article has no parent reference!");
26272 + strfcpy (buf, ref->data, sizeof (buf));
26274 + if (!Context->id_hash)
26275 + Context->id_hash = mutt_make_id_hash (Context);
26276 + if ((h = hash_find (Context->id_hash, buf)))
26278 + if (h->virtual != -1)
26280 + menu->current = h->virtual;
26281 + menu->redraw = REDRAW_MOTION_RESYNCH;
26283 + else if (h->collapsed)
26285 + mutt_uncollapse_thread (Context, h);
26286 + mutt_set_virtual (Context);
26287 + menu->current = h->virtual;
26288 + menu->redraw = REDRAW_MOTION_RESYNCH;
26291 + mutt_error _("Message not visible in limited view.");
26295 + if (nntp_check_msgid (Context, buf) == 0)
26297 + h = Context->hdrs[Context->msgcount-1];
26298 + mutt_sort_headers (Context, 0);
26299 + menu->current = h->virtual;
26300 + menu->redraw = REDRAW_FULL;
26303 + mutt_error (_("Article %s not found on server"), buf);
26308 + case OP_GET_CHILDREN:
26309 + case OP_RECONSTRUCT_THREAD:
26311 + if (Context->magic == M_NNTP)
26314 + int old = CURHDR->index, i;
26316 + if (!CURHDR->env->message_id)
26318 + mutt_error _("No Message-Id. Unable to perform operation");
26322 + if (!Context->id_hash)
26323 + Context->id_hash = mutt_make_id_hash (Context);
26324 + strfcpy (buf, CURHDR->env->message_id, sizeof (buf));
26326 + if (op == OP_RECONSTRUCT_THREAD)
26328 + LIST *ref = CURHDR->env->references;
26331 + nntp_check_msgid (Context, ref->data);
26332 + /* the last msgid in References is the root message */
26334 + strfcpy (buf, ref->data, sizeof (buf));
26338 + mutt_message _("Check for children of message...");
26339 + if (nntp_check_children (Context, buf) == 0)
26341 + mutt_sort_headers (Context, (op == OP_RECONSTRUCT_THREAD));
26342 + h = hash_find (Context->id_hash, buf);
26343 + /* if the root message was retrieved, move to it */
26345 + menu->current = h->virtual;
26346 + else /* try to restore old position */
26347 + for (i = 0; i < Context->msgcount; i++)
26348 + if (Context->hdrs[i]->index == old)
26350 + menu->current = Context->hdrs[i]->virtual;
26351 + /* As an added courtesy, recenter the menu
26352 + * with the current entry at the middle of the screen */
26353 + menu_check_recenter (menu);
26354 + menu_current_middle (menu);
26357 + menu->redraw = REDRAW_FULL;
26358 + mutt_clear_error ();
26366 @@ -778,11 +919,33 @@
26369 case OP_MAIN_LIMIT:
26370 + case OP_TOGGLE_READ:
26373 menu->oldcurrent = (Context->vcount && menu->current >= 0 && menu->current < Context->vcount) ?
26374 CURHDR->index : -1;
26375 - if (mutt_pattern_func (M_LIMIT, _("Limit to messages matching: ")) == 0)
26376 + if (op == OP_TOGGLE_READ)
26378 + char buf[LONG_STRING];
26380 + if (!Context->pattern || strncmp (Context->pattern, "!~R!~D~s", 8) != 0)
26382 + snprintf (buf, sizeof (buf), "!~R!~D~s%s",
26383 + Context->pattern ? Context->pattern : ".*");
26384 + set_option (OPTHIDEREAD);
26388 + strfcpy (buf, Context->pattern + 8, sizeof(buf));
26389 + if (!*buf || strncmp (buf, ".*", 2) == 0)
26390 + snprintf (buf, sizeof(buf), "~A");
26391 + unset_option (OPTHIDEREAD);
26393 + FREE (&Context->pattern);
26394 + Context->pattern = safe_strdup (buf);
26396 + if ((op == OP_TOGGLE_READ && mutt_pattern_func (M_LIMIT, NULL) == 0) ||
26397 + mutt_pattern_func (M_LIMIT, _("Limit to messages matching: ")) == 0)
26399 if (menu->oldcurrent >= 0)
26401 @@ -980,20 +1143,43 @@
26404 case OP_MAIN_CHANGE_FOLDER:
26407 - op = OP_MAIN_CHANGE_FOLDER_READONLY;
26409 - /* fallback to the readonly case */
26411 case OP_MAIN_CHANGE_FOLDER_READONLY:
26413 + case OP_MAIN_CHANGE_GROUP:
26414 + case OP_MAIN_CHANGE_GROUP_READONLY:
26417 + if (attach_msg || option (OPTREADONLY) ||
26419 + op == OP_MAIN_CHANGE_GROUP_READONLY ||
26421 + op == OP_MAIN_CHANGE_FOLDER_READONLY)
26422 + flags = M_READONLY;
26426 - if ((op == OP_MAIN_CHANGE_FOLDER_READONLY) || option (OPTREADONLY))
26428 cp = _("Open mailbox in read-only mode");
26430 cp = _("Open mailbox");
26434 + unset_option (OPTNEWS);
26435 + if (op == OP_MAIN_CHANGE_GROUP ||
26436 + op == OP_MAIN_CHANGE_GROUP_READONLY)
26438 + set_option (OPTNEWS);
26439 + if (!(CurrentNewsSrv = mutt_select_newsserver (NewsServer)))
26442 + cp = _("Open newsgroup in read-only mode");
26444 + cp = _("Open newsgroup");
26445 + nntp_buffy (buf);
26449 mutt_buffy (buf, sizeof (buf));
26451 if (mutt_enter_fname (cp, buf, sizeof (buf), &menu->redraw, 1) == -1)
26452 @@ -1004,6 +1190,14 @@
26457 + if (option (OPTNEWS))
26459 + unset_option (OPTNEWS);
26460 + nntp_expand_path (buf, sizeof (buf), &CurrentNewsSrv->conn->account);
26464 mutt_expand_path (buf, sizeof (buf));
26465 if (mx_get_magic (buf) <= 0)
26467 @@ -1039,15 +1233,18 @@
26469 mutt_folder_hook (buf);
26471 - if ((Context = mx_open_mailbox (buf,
26472 - (option (OPTREADONLY) || op == OP_MAIN_CHANGE_FOLDER_READONLY) ?
26473 - M_READONLY : 0, NULL)) != NULL)
26474 + if ((Context = mx_open_mailbox (buf, flags, NULL)) != NULL)
26476 menu->current = ci_first_message ();
26482 + /* mutt_buffy_check() must be done with mail-reader mode! */
26483 + menu->help = mutt_compile_help (helpstr, sizeof (helpstr), MENU_MAIN,
26484 + (Context && (Context->magic == M_NNTP)) ? IndexNewsHelp : IndexHelp);
26486 mutt_clear_error ();
26487 mutt_buffy_check(1); /* force the buffy check after we have changed
26489 @@ -1422,6 +1619,15 @@
26494 + if (Context->magic == M_NNTP)
26496 + mutt_flushinp ();
26497 + mutt_error _("Can't change 'important' flag on NNTP server.");
26504 for (j = 0; j < Context->vcount; j++)
26505 @@ -1767,6 +1973,17 @@
26511 + if (Context && Context->magic == M_NNTP)
26513 + if (mutt_newsgroup_catchup (CurrentNewsSrv,
26514 + ((NNTP_DATA *)Context->data)->group))
26515 + menu->redraw = REDRAW_INDEX | REDRAW_STATUS;
26520 case OP_DISPLAY_ADDRESS:
26523 @@ -1801,6 +2018,15 @@
26528 + if (Context->magic == M_NNTP)
26530 + mutt_flushinp ();
26531 + mutt_error _("Can't edit message on newsserver.");
26536 mutt_edit_message (Context, tag ? NULL : CURHDR);
26537 menu->redraw = REDRAW_FULL;
26539 @@ -1955,6 +2181,37 @@
26541 menu->redraw = REDRAW_FULL;
26546 + case OP_FOLLOWUP:
26547 + case OP_FORWARD_TO_GROUP:
26550 + if (op != OP_FOLLOWUP || !CURHDR->env->followup_to ||
26551 + mutt_strcasecmp (CURHDR->env->followup_to, "poster") ||
26552 + query_quadoption (OPT_FOLLOWUPTOPOSTER,_("Reply by mail as poster prefers?")) != M_YES)
26554 + if (Context && Context->magic == M_NNTP &&
26555 + !((NNTP_DATA *)Context->data)->allowed &&
26556 + query_quadoption (OPT_TOMODERATED, _("Posting to this group not allowed, may be moderated. Continue?")) != M_YES)
26558 + if (op == OP_POST)
26559 + ci_send_message (SENDNEWS, NULL, NULL, Context, NULL);
26563 + if (op == OP_FOLLOWUP)
26564 + ci_send_message (SENDNEWS|SENDREPLY, NULL, NULL, Context,
26565 + tag ? NULL : CURHDR);
26567 + ci_send_message (SENDNEWS|SENDFORWARD, NULL, NULL, Context,
26568 + tag ? NULL : CURHDR);
26570 + menu->redraw = REDRAW_FULL;
26577 @@ -2081,6 +2338,12 @@
26579 imap_logout_all ();
26582 + /* Close all open NNTP connections */
26584 + nntp_logout_all ();
26588 mutt_menuDestroy (&menu);
26590 diff -uNr mutt-1.4.orig/depcomp mutt-1.4/depcomp
26591 --- mutt-1.4.orig/depcomp Tue Feb 27 17:59:45 2001
26592 +++ mutt-1.4/depcomp Sun Nov 3 21:57:30 2002
26594 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
26597 +# As a special exception to the GNU General Public License, if you
26598 +# distribute this file as part of a program that contains a
26599 +# configuration script generated by Autoconf, you may include it under
26600 +# the same distribution terms that you use for the rest of that program.
26602 # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
26604 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
26607 # `libtool' can also be set to `yes' or `no'.
26609 -depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
26610 +if test -z "$depfile"; then
26611 + base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
26612 + dir=`echo "$object" | sed 's,/.*$,/,'`
26613 + if test "$dir" = "$object"; then
26616 + # FIXME: should be _deps on DOS.
26617 + depfile="$dir.deps/$base"
26620 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
26622 rm -f "$tmpdepfile"
26623 @@ -50,10 +64,12 @@
26626 ## gcc 3 implements dependency tracking that does exactly what
26628 - if "$@" -MT "$object" -MF "$tmpdepfile" -MD -MP; then :
26629 +## we want. Yay! Note: for some reason libtool 1.4 doesn't like
26630 +## it if -MD -MP comes after the -MF stuff. Hmm.
26631 + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
26633 + if test $stat -eq 0; then :
26636 rm -f "$tmpdepfile"
26640 if test -z "$gccflag"; then
26643 - if "$@" -Wp,"$gccflag$tmpdepfile"; then :
26644 + "$@" -Wp,"$gccflag$tmpdepfile"
26646 + if test $stat -eq 0; then :
26649 rm -f "$tmpdepfile"
26652 @@ -126,19 +143,24 @@
26653 if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
26654 echo "$object : \\" > "$depfile"
26656 - # Clip off the initial element (the dependent). Don't try to be
26657 + # Clip off the initial element (the dependent). Don't try to be
26658 # clever and replace this with sed code, as IRIX sed won't handle
26659 # lines with more than a fixed number of characters (4096 in
26660 - # IRIX 6.2 sed, 8192 in IRIX 6.5).
26661 + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
26662 + # the IRIX cc adds comments like `#:fec' to the end of the
26663 + # dependency line.
26665 -' < "$tmpdepfile" | sed 's/^[^\.]*\.o://' | tr '
26666 +' < "$tmpdepfile" \
26667 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
26672 + # The second pass generates a dummy entry for each header file.
26674 -' < "$tmpdepfile" | \
26675 -## Some versions of the HPUX 10.20 sed can't process this invocation
26676 -## correctly. Breaking it into two sed invocations is a workaround.
26677 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
26678 +' < "$tmpdepfile" \
26679 + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
26682 # The sourcefile does not contain any dependencies, so just
26683 # store a dummy comment line, to avoid errors with the Makefile
26684 @@ -150,8 +172,12 @@
26687 # The C for AIX Compiler uses -M and outputs the dependencies
26689 - tmpdepfile=`echo "$object" | sed 's/\(.*\)\..*$/\1.u/'`
26690 + # in a .u file. This file always lives in the current directory.
26691 + # Also, the AIX compiler puts `$object:' at the start of each line;
26692 + # $object doesn't have directory information.
26693 + stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
26694 + tmpdepfile="$stripped.u"
26695 + outname="$stripped.o"
26696 if test "$libtool" = yes; then
26699 @@ -166,21 +192,11 @@
26702 if test -f "$tmpdepfile"; then
26703 - echo "$object : \\" > "$depfile"
26705 - # Clip off the initial element (the dependent). Don't try to be
26706 - # clever and replace this with sed code, as IRIX sed won't handle
26707 - # lines with more than a fixed number of characters (4096 in
26708 - # IRIX 6.2 sed, 8192 in IRIX 6.5).
26710 -' < "$tmpdepfile" | sed 's/^[^\.]*\.o://' | tr '
26714 -' < "$tmpdepfile" | \
26715 -## Some versions of the HPUX 10.20 sed can't process this invocation
26716 -## correctly. Breaking it into two sed invocations is a workaround.
26717 - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
26718 + # Each line is of the form `foo.o: dependent.h'.
26719 + # Do two passes, one to just change these to
26720 + # `$object: dependent.h' and one to simply `dependent.h:'.
26721 + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
26722 + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
26724 # The sourcefile does not contain any dependencies, so just
26725 # store a dummy comment line, to avoid errors with the Makefile
26726 @@ -190,40 +206,88 @@
26727 rm -f "$tmpdepfile"
26731 + # The Tru64 compiler uses -MD to generate dependencies as a side
26732 + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
26733 + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
26734 + # dependencies in `foo.d' instead, so we check for that too.
26735 + # Subdirectories are respected.
26736 + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
26737 + test "x$dir" = "x$object" && dir=
26738 + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
26740 + if test "$libtool" = yes; then
26741 + tmpdepfile1="$dir.libs/$base.lo.d"
26742 + tmpdepfile2="$dir.libs/$base.d"
26745 + tmpdepfile1="$dir$base.o.d"
26746 + tmpdepfile2="$dir$base.d"
26751 + if test $stat -eq 0; then :
26753 + rm -f "$tmpdepfile1" "$tmpdepfile2"
26757 + if test -f "$tmpdepfile1"; then
26758 + tmpdepfile="$tmpdepfile1"
26760 + tmpdepfile="$tmpdepfile2"
26762 + if test -f "$tmpdepfile"; then
26763 + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
26764 + # That's a space and a tab in the [].
26765 + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
26767 + echo "#dummy" > "$depfile"
26769 + rm -f "$tmpdepfile"
26773 # This comment above is used by automake to tell side-effect
26774 # dependency tracking mechanisms from slower ones.
26777 # Important note: in order to support this mode, a compiler *must*
26778 - # always write the proprocessed file to stdout, regardless of -o,
26779 - # because we must use -o when running libtool.
26780 - test -z "$dashmflag" && dashmflag=-M
26783 - *" --mode=compile "*) # this is libtool, let us make it quiet
26785 - do # cycle over the arguments
26787 - "--mode=compile")
26788 - # insert --quiet before "--mode=compile"
26789 - set fnord "$@" --quiet
26793 - set fnord "$@" "$arg"
26797 + # always write the proprocessed file to stdout, regardless of -o.
26800 + # Remove the call to Libtool.
26801 + if test "$libtool" = yes; then
26802 + while test $1 != '--mode=compile'; do
26808 + # Remove `-o $object'. We will use -o /dev/null later,
26809 + # however we can't do the remplacement now because
26810 + # `-o $object' might simply not be used
26822 + set fnord "$@" "$arg"
26827 - "$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
26833 - if test "$stat" != 0; then exit $stat; fi
26836 + test -z "$dashmflag" && dashmflag=-M
26837 + "$@" -o /dev/null $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
26839 cat < "$tmpdepfile" > "$depfile"
26841 @@ -241,36 +305,31 @@
26850 - for arg in "$@"; do
26851 - case $cleared in no)
26857 - set fnord "$@" "$arg"; shift;;
26861 - set fnord "$@" "$arg"; shift;;
26864 - obj_suffix="`echo $object | sed 's/^.*\././'`"
26865 - touch "$tmpdepfile"
26866 - ${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
26872 - if test "$stat" != 0; then exit $stat; fi
26875 + for arg in "$@"; do
26883 + set fnord "$@" "$arg"; shift ;;
26887 + set fnord "$@" "$arg"; shift ;;
26890 + obj_suffix="`echo $object | sed 's/^.*\././'`"
26891 + touch "$tmpdepfile"
26892 + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
26894 cat < "$tmpdepfile" > "$depfile"
26895 - tail +3 "$tmpdepfile" | tr ' ' '
26896 + sed '1,2d' "$tmpdepfile" | tr ' ' '
26898 ## Some versions of the HPUX 10.20 sed can't process this invocation
26899 ## correctly. Breaking it into two sed invocations is a workaround.
26900 @@ -280,35 +339,39 @@
26903 # Important note: in order to support this mode, a compiler *must*
26904 - # always write the proprocessed file to stdout, regardless of -o,
26905 - # because we must use -o when running libtool.
26908 - *" --mode=compile "*)
26910 - do # cycle over the arguments
26912 - "--mode=compile")
26913 - # insert --quiet before "--mode=compile"
26914 - set fnord "$@" --quiet
26918 - set fnord "$@" "$arg"
26922 + # always write the proprocessed file to stdout.
26925 + # Remove the call to Libtool.
26926 + if test "$libtool" = yes; then
26927 + while test $1 != '--mode=compile'; do
26933 + # Remove `-o $object'.
26945 + set fnord "$@" "$arg"
26954 sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
26955 sed '$ s: \\$::' > "$tmpdepfile"
26961 - if test "$stat" != 0; then exit $stat; fi
26963 echo "$object : \\" > "$depfile"
26964 cat < "$tmpdepfile" >> "$depfile"
26965 @@ -320,32 +383,25 @@
26966 # Important note: in order to support this mode, a compiler *must*
26967 # always write the proprocessed file to stdout, regardless of -o,
26968 # because we must use -o when running libtool.
26971 - *" --mode=compile "*)
26973 - do # cycle over the arguments
26975 - "--mode=compile")
26976 - # insert --quiet before "--mode=compile"
26977 - set fnord "$@" --quiet
26986 + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
26992 set fnord "$@" "$arg"
27002 - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
27008 - if test "$stat" != 0; then exit $stat; fi
27011 + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
27013 echo "$object : \\" > "$depfile"
27014 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
27015 diff -uNr mutt-1.4.orig/doc/manual-1.html mutt-1.4/doc/manual-1.html
27016 --- mutt-1.4.orig/doc/manual-1.html Wed May 29 11:29:54 2002
27017 +++ mutt-1.4/doc/manual-1.html Thu Jan 1 01:00:00 1970
27019 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
27022 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
27023 - <TITLE>The Mutt E-Mail Client: Introduction</TITLE>
27024 - <LINK HREF="manual-2.html" REL=next>
27026 - <LINK HREF="manual.html#toc1" REL=contents>
27029 -<A HREF="manual-2.html">Next</A>
27031 -<A HREF="manual.html#toc1">Contents</A>
27033 -<H2><A NAME="s1">1.</A> <A HREF="manual.html#toc1">Introduction</A></H2>
27035 -<P><B>Mutt</B> is a small but very powerful text-based MIME mail client. Mutt is
27036 -highly configurable, and is well suited to the mail power user with advanced
27037 -features like key bindings, keyboard macros, mail threading, regular
27038 -expression searches and a powerful pattern matching language for selecting
27039 -groups of messages.</P>
27041 -<H2><A NAME="ss1.1">1.1</A> <A HREF="manual.html#toc1.1">Mutt Home Page</A>
27045 -<A HREF="http://www.mutt.org/">http://www.mutt.org/</A></P>
27047 -<H2><A NAME="ss1.2">1.2</A> <A HREF="manual.html#toc1.2">Mailing Lists</A>
27050 -<P>To subscribe to one of the following mailing lists, send a message with the
27051 -word <EM>subscribe</EM> in the body to
27052 -<CODE>list-name</CODE><EM>-request</EM><CODE>@mutt.org</CODE>.</P>
27056 -<A HREF="mailto:mutt-announce-request@mutt.org">mutt-announce@mutt.org</A> -- low traffic list for announcements</LI>
27058 -<A HREF="mailto:mutt-users-request@mutt.org">mutt-users@mutt.org</A> -- help, bug reports and feature requests</LI>
27060 -<A HREF="mailto:mutt-dev-request@mutt.org">mutt-dev@mutt.org</A> -- development mailing list</LI>
27063 -<P><B>Note:</B> all messages posted to <EM>mutt-announce</EM> are automatically
27064 -forwarded to <EM>mutt-users</EM>, so you do not need to be subscribed to both
27067 -<H2><A NAME="ss1.3">1.3</A> <A HREF="manual.html#toc1.3">Software Distribution Sites</A>
27073 -<A HREF="ftp://ftp.mutt.org/pub/mutt/">ftp://ftp.mutt.org/pub/mutt/</A></LI>
27075 -<A HREF="ftp://ftp.guug.de/pub/mutt/">ftp://ftp.guug.de/pub/mutt/</A></LI>
27078 -<P>For a list of mirror sites, please refer to
27079 -<A HREF="http://www.mutt.org/download.html">http://www.mutt.org/download.html</A>.</P>
27081 -<H2><A NAME="ss1.4">1.4</A> <A HREF="manual.html#toc1.4">IRC</A>
27084 -<P>Visit channel <EM>#mutt</EM> on
27085 -<A HREF="http://www.openprojects.net">OpenProjects.Net (www.openprojects.net)</A> to chat with other people interested in Mutt.</P>
27087 -<H2><A NAME="ss1.5">1.5</A> <A HREF="manual.html#toc1.5">USENET</A>
27090 -<P>See the newsgroup
27091 -<A HREF="news:comp.mail.mutt">comp.mail.mutt</A>.</P>
27093 -<H2><A NAME="ss1.6">1.6</A> <A HREF="manual.html#toc1.6">Copyright</A>
27096 -<P>Mutt is Copyright (C) 1996-2000 Michael R. Elkins
27097 -<me@cs.hmc.edu> and others</P>
27098 -<P>This program is free software; you can redistribute it and/or modify
27099 -it under the terms of the GNU General Public License as published by
27100 -the Free Software Foundation; either version 2 of the License, or
27101 -(at your option) any later version.</P>
27102 -<P>This program is distributed in the hope that it will be useful,
27103 -but WITHOUT ANY WARRANTY; without even the implied warranty of
27104 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27105 -GNU General Public License for more details.</P>
27106 -<P>You should have received a copy of the GNU General Public License
27107 -along with this program; if not, write to the Free Software
27108 -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.</P>
27111 -<A HREF="manual-2.html">Next</A>
27113 -<A HREF="manual.html#toc1">Contents</A>
27116 diff -uNr mutt-1.4.orig/doc/manual-2.html mutt-1.4/doc/manual-2.html
27117 --- mutt-1.4.orig/doc/manual-2.html Wed May 29 11:29:54 2002
27118 +++ mutt-1.4/doc/manual-2.html Thu Jan 1 01:00:00 1970
27120 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
27123 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
27124 - <TITLE>The Mutt E-Mail Client: Getting Started</TITLE>
27125 - <LINK HREF="manual-3.html" REL=next>
27126 - <LINK HREF="manual-1.html" REL=previous>
27127 - <LINK HREF="manual.html#toc2" REL=contents>
27130 -<A HREF="manual-3.html">Next</A>
27131 -<A HREF="manual-1.html">Previous</A>
27132 -<A HREF="manual.html#toc2">Contents</A>
27134 -<H2><A NAME="s2">2.</A> <A HREF="manual.html#toc2">Getting Started</A></H2>
27137 -<P>This section is intended as a brief overview of how to use Mutt. There are
27138 -many other features which are described elsewhere in the manual. There
27139 -is even more information available in the Mutt FAQ and various web
27141 -<A HREF="http://www.mutt.org/mutt/">Mutt Page</A> for more details.</P>
27142 -<P>The keybindings described in this section are the defaults as distributed.
27143 -Your local system administrator may have altered the defaults for your site.
27144 -You can always type ``?'' in any menu to display the current bindings.</P>
27145 -<P>The first thing you need to do is invoke mutt, simply by typing mutt
27146 -at the command line. There are various command-line options, see
27147 -either the mutt man page or the
27148 -<A HREF="manual-6.html#commandline">reference</A>.</P>
27150 -<H2><A NAME="ss2.1">2.1</A> <A HREF="manual.html#toc2.1">Moving Around in Menus</A>
27154 -<P>Information is presented in menus, very similar to ELM. Here is a table
27155 -showing the common keys used to navigate menus in Mutt.</P>
27157 -<BLOCKQUOTE><CODE>
27159 -j or Down next-entry move to the next entry
27160 -k or Up previous-entry move to the previous entry
27161 -z or PageDn page-down go to the next page
27162 -Z or PageUp page-up go to the previous page
27163 -= or Home first-entry jump to the first entry
27164 -* or End last-entry jump to the last entry
27165 -q quit exit the current menu
27166 -? help list all keybindings for the current menu
27168 -</CODE></BLOCKQUOTE>
27171 -<H2><A NAME="editing"></A> <A NAME="ss2.2">2.2</A> <A HREF="manual.html#toc2.2">Editing Input Fields</A>
27174 -<P>Mutt has a builtin line editor which is used as the primary way to input
27175 -textual data such as email addresses or filenames. The keys used to move
27176 -around while editing are very similar to those of Emacs.</P>
27178 -<BLOCKQUOTE><CODE>
27180 -^A or <Home> bol move to the start of the line
27181 -^B or <Left> backward-char move back one char
27182 -Esc B backward-word move back one word
27183 -^D or <Delete> delete-char delete the char under the cursor
27184 -^E or <End> eol move to the end of the line
27185 -^F or <Right> forward-char move forward one char
27186 -Esc F forward-word move forward one word
27187 -<Tab> complete complete filename or alias
27188 -^T complete-query complete address with query
27189 -^K kill-eol delete to the end of the line
27190 -ESC d kill-eow delete to the end ot the word
27191 -^W kill-word kill the word in front of the cursor
27192 -^U kill-line delete entire line
27193 -^V quote-char quote the next typed key
27194 -<Up> history-up recall previous string from history
27195 -<Down> history-down recall next string from history
27196 -<BackSpace> backspace kill the char in front of the cursor
27197 -Esc u upcase-word convert word to upper case
27198 -Esc l downcase-word convert word to lower case
27199 -Esc c capitalize-word capitalize the word
27201 -<Return> n/a finish editing
27203 -</CODE></BLOCKQUOTE>
27205 -<P>You can remap the <EM>editor</EM> functions using the
27206 -<A HREF="manual-3.html#bind">bind</A>
27207 -command. For example, to make the <EM>Delete</EM> key delete the character in
27208 -front of the cursor rather than under, you could use</P>
27209 -<P><CODE>bind editor <delete> backspace</CODE></P>
27211 -<H2><A NAME="ss2.3">2.3</A> <A HREF="manual.html#toc2.3">Reading Mail - The Index and Pager</A>
27215 -<P>Similar to many other mail clients, there are two modes in which mail is
27216 -read in Mutt. The first is the index of messages in the mailbox, which is
27217 -called the ``index'' in Mutt. The second mode is the display of the
27218 -message contents. This is called the ``pager.''</P>
27219 -<P>The next few sections describe the functions provided in each of these
27222 -<H3>The Message Index</H3>
27226 -<BLOCKQUOTE><CODE>
27228 -c change to a different mailbox
27229 -ESC c change to a folder in read-only mode
27230 -C copy the current message to another mailbox
27231 -ESC C decode a message and copy it to a folder
27232 -ESC s decode a message and save it to a folder
27233 -D delete messages matching a pattern
27234 -d delete the current message
27235 -F mark as important
27236 -l show messages matching a pattern
27237 -N mark message as new
27238 -o change the current sort method
27239 -O reverse sort the mailbox
27240 -q save changes and exit
27242 -T tag messages matching a pattern
27243 -t toggle the tag on a message
27244 -ESC t toggle tag on entire message thread
27245 -U undelete messages matching a pattern
27246 -u undelete-message
27247 -v view-attachments
27248 -x abort changes and exit
27249 -<Return> display-message
27250 -<Tab> jump to the next new message
27251 -@ show the author's full e-mail address
27252 -$ save changes to mailbox
27254 -ESC / search-reverse
27255 -^L clear and redraw the screen
27256 -^T untag messages matching a pattern
27258 -</CODE></BLOCKQUOTE>
27261 -<H3>Status Flags</H3>
27264 -<P>In addition to who sent the message and the subject, a short summary of
27265 -the disposition of each message is printed beside the message number.
27266 -Zero or more of the following ``flags'' may appear, which mean:</P>
27270 -<DT><B>D</B><DD><P>message is deleted (is marked for deletion)</P>
27271 -<DT><B>d</B><DD><P>message have attachments marked for deletion</P>
27272 -<DT><B>K</B><DD><P>contains a PGP public key</P>
27273 -<DT><B>N</B><DD><P>message is new</P>
27274 -<DT><B>O</B><DD><P>message is old</P>
27275 -<DT><B>P</B><DD><P>message is PGP encrypted</P>
27276 -<DT><B>r</B><DD><P>message has been replied to</P>
27277 -<DT><B>S</B><DD><P>message is PGP signed, and the signature is succesfully verified</P>
27278 -<DT><B>s</B><DD><P>message is PGP signed</P>
27279 -<DT><B>!</B><DD><P>message is flagged</P>
27280 -<DT><B>*</B><DD><P>message is tagged</P>
27283 -<P>Some of the status flags can be turned on or off using
27285 -<LI><B>set-flag</B> (default: w)</LI>
27286 -<LI><B>clear-flag</B> (default: W)</LI>
27290 -<P>Furthermore, the following flags reflect who the message is addressed
27291 -to. They can be customized with the
27292 -<A HREF="manual-6.html#to_chars">$to_chars</A> variable.</P>
27295 -<BLOCKQUOTE><CODE>
27297 -+ message is to you and you only
27298 -T message is to you, but also to or cc'ed to others
27299 -C message is cc'ed to you
27300 -F message is from you
27301 -L message is sent to a subscribed mailing list
27303 -</CODE></BLOCKQUOTE>
27306 -<H3>The Pager</H3>
27309 -<P>By default, Mutt uses its builtin pager to display the body of messages.
27310 -The pager is very similar to the Unix program <EM>less</EM> though not nearly as
27313 -<BLOCKQUOTE><CODE>
27315 -<Return> go down one line
27316 -<Space> display the next page (or next message if at the end of a message)
27317 -- go back to the previous page
27318 -n search for next match
27319 -S skip beyond quoted text
27320 -T toggle display of quoted text
27321 -? show keybindings
27322 -/ search for a regular expression (pattern)
27323 -ESC / search backwards for a regular expression
27324 -\ toggle search pattern coloring
27325 -^ jump to the top of the message
27326 -$ jump to the bottom of the message
27328 -</CODE></BLOCKQUOTE>
27330 -<P>In addition, many of the functions from the <EM>index</EM> are available in
27331 -the pager, such as <EM>delete-message</EM> or <EM>copy-message</EM> (this is one
27332 -advantage over using an external pager to view messages).</P>
27333 -<P>Also, the internal pager supports a couple other advanced features. For
27334 -one, it will accept and translate the ``standard'' nroff sequences for
27335 -bold and underline. These sequences are a series of either the letter,
27336 -backspace (^H), the letter again for bold or the letter, backspace,
27337 -``_'' for denoting underline. Mutt will attempt to display these
27338 -in bold and underline respectively if your terminal supports them. If
27339 -not, you can use the bold and underline
27340 -<A HREF="manual-3.html#color">color</A>
27341 -objects to specify a color or mono attribute for them.</P>
27342 -<P>Additionally, the internal pager supports the ANSI escape sequences for
27343 -character attributes. Mutt translates them into the correct color and
27344 -character settings. The sequences Mutt supports are:</P>
27347 -<BLOCKQUOTE><CODE>
27349 -ESC [ Ps;Ps;Ps;...;Ps m
27351 -0 All Attributes Off
27355 -7 Reverse video on
27356 -3x Foreground color is x
27357 -4x Background color is x
27369 -</CODE></BLOCKQUOTE>
27371 -<P>Mutt uses these attributes for handling text/enriched messages, and they
27372 -can also be used by an external
27373 -<A HREF="manual-5.html#auto_view">autoview</A>
27374 -script for highlighting purposes. <B>Note:</B> If you change the colors for your
27375 -display, for example by changing the color associated with color2 for
27376 -your xterm, then that color will be used instead of green.</P>
27378 -<H3><A NAME="threads"></A> Threaded Mode</H3>
27380 -<P>When the mailbox is
27381 -<A HREF="manual-6.html#sort">sorted</A> by <EM>threads</EM>, there are
27382 -a few additional functions available in the <EM>index</EM> and <EM>pager</EM> modes.</P>
27384 -<BLOCKQUOTE><CODE>
27386 -^D delete-thread delete all messages in the current thread
27387 -^U undelete-thread undelete all messages in the current thread
27388 -^N next-thread jump to the start of the next thread
27389 -^P previous-thread jump to the start of the previous thread
27390 -^R read-thread mark the current thread as read
27391 -ESC d delete-subthread delete all messages in the current subthread
27392 -ESC u undelete-subthread undelete all messages in the current subthread
27393 -ESC n next-subthread jump to the start of the next subthread
27394 -ESC p previous-subthread jump to the start of the previous subthread
27395 -ESC r read-subthread mark the current subthread as read
27396 -ESC t tag-thread toggle the tag on the current thread
27397 -ESC v collapse-thread toggle collapse for the current thread
27398 -ESC V collapse-all toggle collapse for all threads
27399 -P parent-message jump to parent message in thread
27401 -</CODE></BLOCKQUOTE>
27403 -<P><B>Note:</B> Collapsing a thread displays only the first message
27404 -in the thread and hides the others. This is useful when threads
27405 -contain so many messages that you can only see a handful of threads on
27406 -the screen. See %M in
27407 -<A HREF="manual-6.html#index_format">$index_format</A>.
27408 -For example, you could use "%?M?(#%03M)&(%4l)?" in
27409 -<A HREF="manual-6.html#index_format">$index_format</A> to optionally
27410 -display the number of hidden messages if the thread is collapsed.</P>
27412 -<A HREF="manual-6.html#strict_threads">$strict_threads</A>.</P>
27414 -<H3>Miscellaneous Functions</H3>
27416 -<P><B>create-alias</B>
27417 -<A NAME="create-alias"></A> (default: a)<BR></P>
27418 -<P>Creates a new alias based upon the current message (or prompts for a
27419 -new one). Once editing is complete, an
27420 -<A HREF="manual-3.html#alias">alias</A>
27421 -command is added to the file specified by the
27422 -<A HREF="manual-6.html#alias_file">$alias_file</A> variable for future use. <B>Note:</B>
27424 -<A HREF="manual-6.html#alias_file">$alias_file</A>
27425 -does not add the aliases specified there-in, you must also
27426 -<A HREF="manual-3.html#source">source</A> the file.</P>
27428 -<P><B>check-traditional-pgp</B>
27429 -<A NAME="check-traditional-pgp"></A> (default: ESC P)<BR></P>
27430 -<P>This function will search the current message for content signed or
27431 -encrypted with PGP the "traditional" way, that is, without proper
27432 -MIME tagging. Technically, this function will temporarily change
27433 -the MIME content types of the body parts containing PGP data; this
27435 -<A HREF="#edit-type">edit-type</A> function's
27439 -<P><B>display-toggle-weed</B>
27440 -<A NAME="display-toggle-weed"></A> (default: h)<BR></P>
27441 -<P>Toggles the weeding of message header fields specified by
27442 -<A HREF="manual-3.html#ignore">ignore</A> commands.</P>
27445 -<A NAME="edit"></A> (default: e)<BR></P>
27446 -<P>This command (available in the ``index'' and ``pager'') allows you to
27447 -edit the raw current message as it's present in the mail folder.
27448 -After you have finished editing, the changed message will be
27449 -appended to the current folder, and the original message will be
27450 -marked for deletion.</P>
27452 -<P><B>edit-type</B>
27453 -<A NAME="edit-type"></A> <BR>
27454 -(default: ^E on the attachment menu, and in the pager and index menus; ^T on the
27456 -<P>This command is used to temporarily edit an attachment's content
27457 -type to fix, for instance, bogus character set parameters. When
27458 -invoked from the index or from the pager, you'll have the
27459 -opportunity to edit the top-level attachment's content type. On the
27460 -<A HREF="manual-5.html#attach_menu">attachment menu</A>, you can change any
27461 -attachment's content type. These changes are not persistent, and get
27462 -lost upon changing folders.</P>
27463 -<P>Note that this command is also available on the
27464 -<A HREF="manual-5.html#compose_menu">compose menu</A>. There, it's used to
27465 -fine-tune the properties of attachments you are going to send.</P>
27467 -<P><B>enter-command</B>
27468 -<A NAME="enter-command"></A> (default: ``:'')<BR></P>
27469 -<P>This command is used to execute any command you would normally put in a
27470 -configuration file. A common use is to check the settings of variables, or
27471 -in conjunction with
27472 -<A HREF="manual-3.html#macro">macros</A> to change settings on the
27475 -<P><B>extract-keys</B>
27476 -<A NAME="extract-keys"></A> (default: ^K)<BR></P>
27477 -<P>This command extracts PGP public keys from the current or tagged
27478 -message(s) and adds them to your PGP public key ring.</P>
27480 -<P><B>forget-passphrase</B>
27481 -<A NAME="forget-passphrase"></A> (default:
27483 -<P>This command wipes the PGP passphrase from memory. It is useful, if
27484 -you misspelled the passphrase.</P>
27486 -<P><B>list-reply</B>
27487 -<A NAME="list-reply"></A> (default: L)<BR></P>
27488 -<P>Reply to the current or tagged message(s) by extracting any addresses which
27489 -match the addresses given by the
27490 -<A HREF="manual-3.html#lists">lists or subscribe</A>
27491 -commands, but also honor any <CODE>Mail-Followup-To</CODE> header(s) if the
27492 -<A HREF="manual-6.html#honor_followup_to">$honor_followup_to</A>
27493 -configuration variable is set. Using this when replying to messages posted
27494 -to mailing lists helps avoid duplicate copies being sent to the author of
27495 -the message you are replying to.</P>
27496 -<P><B>pipe-message</B>
27497 -<A NAME="pipe-message"></A> (default: |)<BR></P>
27498 -<P>Asks for an external Unix command and pipes the current or
27499 -tagged message(s) to it. The variables
27500 -<A HREF="manual-6.html#pipe_decode">$pipe_decode</A>,
27501 -<A HREF="manual-6.html#pipe_split">$pipe_split</A>,
27502 -<A HREF="manual-6.html#pipe_sep">$pipe_sep</A> and
27503 -<A HREF="manual-6.html#wait_key">$wait_key</A> control the exact behaviour of this
27505 -<P><B>resend-message</B>
27506 -<A NAME="resend-message"></A> (default: ESC e)<BR></P>
27507 -<P>With resend-message, mutt takes the current message as a template for a
27508 -new message. This function is best described as "recall from arbitrary
27509 -folders". It can conveniently be used to forward MIME messages while
27510 -preserving the original mail structure. Note that the amount of headers
27511 -included here depends on the value of the
27512 -<A HREF="manual-6.html#weed">$weed</A>
27514 -<P>This function is also available from the attachment menu. You can use this
27515 -to easily resend a message which was included with a bounce message
27516 -as a message/rfc822 body part.</P>
27517 -<P><B>shell-escape</B>
27518 -<A NAME="shell-escape"></A> (default: !)<BR></P>
27519 -<P>Asks for an external Unix command and executes it. The
27520 -<A HREF="manual-6.html#wait_key">$wait_key</A> can be used to control
27521 -whether Mutt will wait for a key to be pressed when the command returns
27522 -(presumably to let the user read the output of the command), based on
27523 -the return status of the named command.</P>
27524 -<P><B>toggle-quoted</B>
27525 -<A NAME="toggle-quoted"></A> (default: T)<BR></P>
27526 -<P>The <EM>pager</EM> uses the
27527 -<A HREF="manual-6.html#quote_regexp">$quote_regexp</A> variable to detect quoted text when
27528 -displaying the body of the message. This function toggles the display
27529 -of the quoted material in the message. It is particularly useful when
27530 -are interested in just the response and there is a large amount of
27531 -quoted text in the way.</P>
27532 -<P><B>skip-quoted</B>
27533 -<A NAME="skip-quoted"></A> (default: S)<BR></P>
27534 -<P>This function will go to the next line of non-quoted text which come
27535 -after a line of quoted text in the internal pager.</P>
27537 -<H2><A NAME="ss2.4">2.4</A> <A HREF="manual.html#toc2.4">Sending Mail</A>
27541 -<P>The following bindings are available in the <EM>index</EM> for sending
27544 -<BLOCKQUOTE><CODE>
27546 -m compose compose a new message
27547 -r reply reply to sender
27548 -g group-reply reply to all recipients
27549 -L list-reply reply to mailing list address
27550 -f forward forward message
27551 -b bounce bounce (remail) message
27552 -ESC k mail-key mail a PGP public key to someone
27554 -</CODE></BLOCKQUOTE>
27556 -<P>Bouncing a message sends the message as is to the recipient you
27557 -specify. Forwarding a message allows you to add comments or
27558 -modify the message you are forwarding. These items are discussed
27559 -in greater detail in the next chapter
27560 -<A HREF="#forwarding_mail">``Forwarding and Bouncing Mail''</A>.</P>
27561 -<P>Mutt will then enter the <EM>compose</EM> menu and prompt you for the
27562 -recipients to place on the ``To:'' header field. Next, it will ask
27563 -you for the ``Subject:'' field for the message, providing a default if
27564 -you are replying to or forwarding a message. See also
27565 -<A HREF="manual-6.html#askcc">$askcc</A>,
27566 -<A HREF="manual-6.html#askbcc">$askbcc</A>,
27567 -<A HREF="manual-6.html#autoedit">$autoedit</A>, and
27568 -<A HREF="manual-6.html#fast_reply">$fast_reply</A> for changing how Mutt asks these
27570 -<P>Mutt will then automatically start your
27571 -<A HREF="manual-6.html#editor">$editor</A> on the message body. If the
27572 -<A HREF="manual-6.html#edit_headers">$edit_headers</A> variable is set, the headers will be at
27573 -the top of the message in your editor. Any messages you are replying
27574 -to will be added in sort order to the message, with appropriate
27575 -<A HREF="manual-6.html#attribution">$attribution</A>,
27576 -<A HREF="manual-6.html#indent_string">$indent_string</A> and
27577 -<A HREF="manual-6.html#post_indent_string">$post_indent_string</A>. When forwarding a
27579 -<A HREF="manual-6.html#mime_forward">$mime_forward</A>
27580 -variable is unset, a copy of the forwarded message will be included. If
27581 -you have specified a
27582 -<A HREF="manual-6.html#signature">$signature</A>, it
27583 -will be appended to the message.</P>
27584 -<P>Once you have finished editing the body of your mail message, you are
27585 -returned to the <EM>compose</EM> menu. The following options are available:</P>
27587 -<BLOCKQUOTE><CODE>
27589 -a attach-file attach a file
27590 -A attach-message attach message(s) to the message
27591 -ESC k attach-key attach a PGP public key
27592 -d edit-description edit description on attachment
27593 -D detach-file detach a file
27594 -t edit-to edit the To field
27595 -ESC f edit-from edit the From field
27596 -r edit-reply-to edit the Reply-To field
27597 -c edit-cc edit the Cc field
27598 -b edit-bcc edit the Bcc field
27599 -y send-message send the message
27600 -s edit-subject edit the Subject
27601 -f edit-fcc specify an ``Fcc'' mailbox
27602 -p pgp-menu select PGP options (``i'' version only)
27603 -P postpone-message postpone this message until later
27604 -q quit quit (abort) sending the message
27605 -w write-fcc write the message to a folder
27606 -i ispell check spelling (if available on your system)
27607 -^F forget-passphrase whipe PGP passphrase from memory
27609 -</CODE></BLOCKQUOTE>
27611 -<P><B>Note:</B> The attach-message function will prompt you for a folder to
27612 -attach messages from. You can now tag messages in that folder and they
27613 -will be attached to the message you are sending. Note that certain
27614 -operations like composing a new mail, replying, forwarding, etc. are
27615 -not permitted when you are in that folder. The %r in
27616 -<A HREF="manual-6.html#status_format">$status_format</A> will change to
27617 -a 'A' to indicate that you are in attach-message mode.</P>
27619 -<H3>Editing the message header</H3>
27621 -<P>When editing the header of your outgoing message, there are a couple of
27622 -special features available.</P>
27623 -<P>If you specify<BR>
27624 -<CODE>Fcc:</CODE> <EM>filename</EM><BR>
27625 -Mutt will pick up <EM>filename</EM>
27626 -just as if you had used the <EM>edit-fcc</EM> function in the <EM>compose</EM> menu.</P>
27627 -<P>You can also attach files to your message by specifying<BR>
27628 -<CODE>Attach:</CODE> <EM>filename</EM> [ <EM>description</EM> ]<BR>
27629 -where <EM>filename</EM> is the file to attach and <EM>description</EM> is an
27630 -optional string to use as the description of the attached file.</P>
27631 -<P>When replying to messages, if you remove the <EM>In-Reply-To:</EM> field from
27632 -the header field, Mutt will not generate a <EM>References:</EM> field, which
27633 -allows you to create a new message thread.</P>
27635 -<A HREF="manual-6.html#edit_headers">edit_headers</A>.</P>
27637 -<H3>Using Mutt with PGP</H3>
27639 -<P>If you want to use PGP, you can specify </P>
27640 -<P><CODE>Pgp:</CODE> [ <CODE>E</CODE> | <CODE>S</CODE> | <CODE>S<id</CODE>> ] <BR></P>
27641 -<P>``E'' encrypts, ``S'' signs and
27642 -``S<id>'' signs with the given key, setting
27643 -<A HREF="manual-6.html#pgp_sign_as">$pgp_sign_as</A> permanently.</P>
27644 -<P>If you have told mutt to PGP encrypt a message, it will guide you
27645 -through a key selection process when you try to send the message.
27646 -Mutt will not ask you any questions about keys which have a
27647 -certified user ID matching one of the message recipients' mail
27648 -addresses. However, there may be situations in which there are
27649 -several keys, weakly certified user ID fields, or where no matching
27650 -keys can be found.</P>
27651 -<P>In these cases, you are dropped into a menu with a list of keys from
27652 -which you can select one. When you quit this menu, or mutt can't
27653 -find any matching keys, you are prompted for a user ID. You can, as
27654 -usually, abort this prompt using <CODE>^G</CODE>. When you do so, mutt will
27655 -return to the compose screen.</P>
27656 -<P>Once you have successfully finished the key selection, the message
27657 -will be encrypted using the selected public keys, and sent out.</P>
27658 -<P>Most fields of the entries in the key selection menu (see also
27659 -<A HREF="manual-6.html#pgp_entry_format">$pgp_entry_format</A>)
27660 -have obvious meanings. But some explanations on the capabilities, flags,
27661 -and validity fields are in order.</P>
27662 -<P>The flags sequence (%f) will expand to one of the following flags:
27663 -<BLOCKQUOTE><CODE>
27665 -R The key has been revoked and can't be used.
27666 -X The key is expired and can't be used.
27667 -d You have marked the key as disabled.
27668 -c There are unknown critical self-signature
27671 -</CODE></BLOCKQUOTE>
27673 -<P>The capabilities field (%c) expands to a two-character sequence
27674 -representing a key's capabilities. The first character gives
27675 -the key's encryption capabilities: A minus sign (<B>-</B>) means
27676 -that the key cannot be used for encryption. A dot (<B>.</B>) means that
27677 -it's marked as a signature key in one of the user IDs, but may
27678 -also be used for encryption. The letter <B>e</B> indicates that
27679 -this key can be used for encryption.</P>
27680 -<P>The second character indicates the key's signing capabilities. Once
27681 -again, a ``<B>-</B>'' implies ``not for signing'', ``<B>.</B>'' implies
27682 -that the key is marked as an encryption key in one of the user-ids, and
27683 -``<B>s</B>'' denotes a key which can be used for signing.</P>
27684 -<P>Finally, the validity field (%t) indicates how well-certified a user-id
27685 -is. A question mark (<B>?</B>) indicates undefined validity, a minus
27686 -character (<B>-</B>) marks an untrusted association, a space character
27687 -means a partially trusted association, and a plus character (<B>+</B>)
27688 -indicates complete validity.</P>
27690 -<H3>Sending anonymous messages via mixmaster.</H3>
27692 -<P>You may also have configured mutt to co-operate with Mixmaster, an
27693 -anonymous remailer. Mixmaster permits you to send your messages
27694 -anonymously using a chain of remailers. Mixmaster support in mutt is for
27695 -mixmaster version 2.04 (beta 45 appears to be the latest) and 2.03.
27696 -It does not support earlier versions or the later so-called version 3 betas,
27697 -of which the latest appears to be called 2.9b23.</P>
27698 -<P>To use it, you'll have to obey certain restrictions. Most
27699 -important, you cannot use the <CODE>Cc</CODE> and <CODE>Bcc</CODE> headers. To tell
27700 -Mutt to use mixmaster, you have to select a remailer chain, using
27701 -the mix function on the compose menu. </P>
27702 -<P>The chain selection screen is divided into two parts. In the
27703 -(larger) upper part, you get a list of remailers you may use. In
27704 -the lower part, you see the currently selected chain of remailers.</P>
27705 -<P>You can navigate in the chain using the <CODE>chain-prev</CODE> and
27706 -<CODE>chain-next</CODE> functions, which are by default bound to the left
27707 -and right arrows and to the <CODE>h</CODE> and <CODE>l</CODE> keys (think vi
27708 -keyboard bindings). To insert a remailer at the current chain
27709 -position, use the <CODE>insert</CODE> function. To append a remailer behind
27710 -the current chain position, use <CODE>select-entry</CODE> or <CODE>append</CODE>.
27711 -You can also delete entries from the chain, using the corresponding
27712 -function. Finally, to abandon your changes, leave the menu, or
27713 -<CODE>accept</CODE> them pressing (by default) the <CODE>Return</CODE> key.</P>
27714 -<P>Note that different remailers do have different capabilities,
27715 -indicated in the %c entry of the remailer menu lines (see
27716 -<A HREF="manual-6.html#mix_entry_format">$mix_entry_format</A>). Most important is
27717 -the ``middleman'' capability, indicated by a capital ``M'': This
27718 -means that the remailer in question cannot be used as the final
27719 -element of a chain, but will only forward messages to other
27720 -mixmaster remailers. For details on the other capabilities, please
27721 -have a look at the mixmaster documentation.</P>
27723 -<H2><A NAME="forwarding_mail"></A> <A NAME="ss2.5">2.5</A> <A HREF="manual.html#toc2.5">Forwarding and Bouncing Mail</A>
27727 -<P>Bouncing and forwarding let you send an existing message to recipients
27728 -that you specify. Bouncing a message uses the
27729 -<A HREF="manual-6.html#sendmail">sendmail</A> command to send a copy to alternative addresses as if
27730 -they were the message's original recipients. Forwarding a message, on
27731 -the other hand, allows you to modify the message before it is resent
27732 -(for example, by adding your own comments).</P>
27733 -<P>The following keys are bound by default:</P>
27735 -<BLOCKQUOTE><CODE>
27737 -f forward forward message
27738 -b bounce bounce (remail) message
27740 -</CODE></BLOCKQUOTE>
27742 -<P>Forwarding can be done by including the original message in the new
27743 -message's body (surrounded by indicating lines) or including it as a MIME
27744 -attachment, depending on the value of the
27745 -<A HREF="manual-6.html#mime_forward">$mime_forward</A> variable. Decoding of attachments,
27746 -like in the pager, can be controlled by the
27747 -<A HREF="manual-6.html#forward_decode">$forward_decode</A> and
27748 -<A HREF="manual-6.html#mime_forward_decode">$mime_forward_decode</A> variables,
27749 -respectively. The desired forwarding format may depend on the content,
27750 -therefore <EM>$mime_forward</EM> is a quadoption which, for
27751 -example, can be set to ``ask-no''.</P>
27752 -<P>The inclusion of headers is controlled by the current setting of the
27753 -<A HREF="manual-6.html#weed">$weed</A> variable, unless
27754 -<A HREF="manual-6.html#mime_forward">mime_forward</A> is set.</P>
27755 -<P>Editing the message to forward follows the same procedure as sending or
27756 -replying to a message does.</P>
27758 -<H2><A NAME="postponing_mail"></A> <A NAME="ss2.6">2.6</A> <A HREF="manual.html#toc2.6">Postponing Mail</A>
27762 -<P>At times it is desirable to delay sending a message that you have
27763 -already begun to compose. When the <EM>postpone-message</EM> function is
27764 -used in the <EM>compose</EM> menu, the body of your message and attachments
27765 -are stored in the mailbox specified by the
27766 -<A HREF="manual-6.html#postponed">$postponed</A> variable. This means that you can recall the
27767 -message even if you exit Mutt and then restart it at a later time.</P>
27768 -<P>Once a message is postponed, there are several ways to resume it. From the
27769 -command line you can use the ``-p'' option, or if you <EM>compose</EM> a new
27770 -message from the <EM>index</EM> or <EM>pager</EM> you will be prompted if postponed
27771 -messages exist. If multiple messages are currently postponed, the
27772 -<EM>postponed</EM> menu will pop up and you can select which message you would
27773 -like to resume.</P>
27774 -<P><B>Note:</B> If you postpone a reply to a message, the reply setting of
27775 -the message is only updated when you actually finish the message and
27776 -send it. Also, you must be in the same folder with the message you
27777 -replied to for the status of the message to be updated.</P>
27779 -<A HREF="manual-6.html#postpone">$postpone</A> quad-option.</P>
27782 -<A HREF="manual-3.html">Next</A>
27783 -<A HREF="manual-1.html">Previous</A>
27784 -<A HREF="manual.html#toc2">Contents</A>
27787 diff -uNr mutt-1.4.orig/doc/manual-3.html mutt-1.4/doc/manual-3.html
27788 --- mutt-1.4.orig/doc/manual-3.html Wed May 29 11:29:55 2002
27789 +++ mutt-1.4/doc/manual-3.html Thu Jan 1 01:00:00 1970
27791 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
27794 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
27795 - <TITLE>The Mutt E-Mail Client: Configuration</TITLE>
27796 - <LINK HREF="manual-4.html" REL=next>
27797 - <LINK HREF="manual-2.html" REL=previous>
27798 - <LINK HREF="manual.html#toc3" REL=contents>
27801 -<A HREF="manual-4.html">Next</A>
27802 -<A HREF="manual-2.html">Previous</A>
27803 -<A HREF="manual.html#toc3">Contents</A>
27805 -<H2><A NAME="s3">3.</A> <A HREF="manual.html#toc3">Configuration</A></H2>
27808 -<P>While the default configuration (or ``preferences'') make Mutt
27809 -usable right out of the box, it is often desirable to tailor Mutt to
27810 -suit your own tastes. When Mutt is first invoked, it will attempt to
27811 -read the ``system'' configuration file (defaults set by your local
27812 -system administrator), unless the ``-n''
27813 -<A HREF="manual-6.html#commandline">command line</A> option is specified. This file is typically
27814 -<CODE>/usr/local/share/mutt/Muttrc</CODE> or <CODE>/etc/Muttrc</CODE>. Mutt
27815 -will next look for a file named <CODE>.muttrc</CODE> in your home
27816 -directory. If this file does not exist and your home directory has
27817 -a subdirectory named <CODE>.mutt</CODE>, mutt try to load a file named
27818 -<CODE>.mutt/muttrc</CODE>. </P>
27819 -<P><CODE>.muttrc</CODE> is the file where you will usually place your
27820 -<A HREF="manual-6.html#commands">commands</A> to configure Mutt.</P>
27821 -<P>In addition, mutt supports version specific configuration files that are
27822 -parsed instead of the default files as explained above. For instance, if
27823 -your system has a <CODE>Muttrc-0.88</CODE> file in the system configuration
27824 -directory, and you are running version 0.88 of mutt, this file will be
27825 -sourced instead of the <CODE>Muttrc</CODE> file. The same is true of the user
27826 -configuration file, if you have a file <CODE>.muttrc-0.88.6</CODE> in your home
27827 -directory, when you run mutt version 0.88.6, it will source this file
27828 -instead of the default <CODE>.muttrc</CODE> file. The version number is the
27829 -same which is visible using the ``-v''
27830 -<A HREF="manual-6.html#commandline">command line</A> switch or using the <CODE>show-version</CODE> key (default:
27831 -V) from the index menu.</P>
27833 -<H2><A NAME="muttrc-syntax"></A> <A NAME="ss3.1">3.1</A> <A HREF="manual.html#toc3.1">Syntax of Initialization Files</A>
27837 -<P>An initialization file consists of a series of
27838 -<A HREF="manual-6.html#commands">commands</A>. Each line of the file may contain one or more commands.
27839 -When multiple commands are used, they must be separated by a semicolon (;).
27840 -<BLOCKQUOTE><CODE>
27842 -set realname='Mutt user' ; ignore x-
27844 -</CODE></BLOCKQUOTE>
27846 -The hash mark, or pound sign
27847 -(``#''), is used as a ``comment'' character. You can use it to
27848 -annotate your initialization file. All text after the comment character
27849 -to the end of the line is ignored. For example,</P>
27851 -<BLOCKQUOTE><CODE>
27853 -my_hdr X-Disclaimer: Why are you listening to me? # This is a comment
27855 -</CODE></BLOCKQUOTE>
27857 -<P>Single quotes (') and double quotes (") can be used to quote strings
27858 -which contain spaces or other special characters. The difference between
27859 -the two types of quotes is similar to that of many popular shell programs,
27860 -namely that a single quote is used to specify a literal string (one that is
27861 -not interpreted for shell variables or quoting with a backslash [see
27862 -next paragraph]), while double quotes indicate a string for which
27863 -should be evaluated. For example, backtics are evaluated inside of double
27864 -quotes, but <B>not</B> for single quotes.</P>
27865 -<P>\ quotes the next character, just as in shells such as bash and zsh.
27866 -For example, if want to put quotes ``"'' inside of a string, you can use
27867 -``\'' to force the next character to be a literal instead of interpreted
27869 -<BLOCKQUOTE><CODE>
27871 -set realname="Michael \"MuttDude\" Elkins"
27873 -</CODE></BLOCKQUOTE>
27875 -<P>``\\'' means to insert a literal ``\'' into the line.
27876 -``\n'' and ``\r'' have their usual C meanings of linefeed and
27877 -carriage-return, respectively.</P>
27878 -<P>A \ at the end of a line can be used to split commands over
27879 -multiple lines, provided that the split points don't appear in the
27880 -middle of command names.</P>
27881 -<P>It is also possible to substitute the output of a Unix command in an
27882 -initialization file. This is accomplished by enclosing the command in
27883 -backquotes (``). For example,
27884 -<BLOCKQUOTE><CODE>
27886 -my_hdr X-Operating-System: `uname -a`
27888 -</CODE></BLOCKQUOTE>
27890 -The output of the Unix command ``uname -a'' will be substituted before the
27891 -line is parsed. Note that since initialization files are line oriented, only
27892 -the first line of output from the Unix command will be substituted.</P>
27893 -<P>UNIX environments can be accessed like the way it is done in shells like
27894 -sh and bash: Prepend the name of the environment by a ``$''. For
27896 -<BLOCKQUOTE><CODE>
27898 -set record=+sent_on_$HOSTNAME
27900 -</CODE></BLOCKQUOTE>
27902 -<P>The commands understood by mutt are explained in the next paragraphs.
27903 -For a complete list, see the
27904 -<A HREF="manual-6.html#commands">command reference</A>.</P>
27906 -<H2><A NAME="alias"></A> <A NAME="ss3.2">3.2</A> <A HREF="manual.html#toc3.2">Defining/Using aliases</A>
27910 -<P>Usage: <CODE>alias</CODE> <EM>key</EM> <EM>address</EM> [ , <EM>address</EM>, ... ]</P>
27911 -<P>It's usually very cumbersome to remember or type out the address of someone
27912 -you are communicating with. Mutt allows you to create ``aliases'' which map
27913 -a short string to a full address.</P>
27914 -<P><B>Note:</B> if you want to create an alias for a group (by specifying more than
27915 -one address), you <B>must</B> separate the addresses with a comma (``,'').</P>
27916 -<P>To remove an alias or aliases (``*'' means all aliases):</P>
27917 -<P><CODE>unalias</CODE> [ * | <EM>key</EM> <EM>...</EM> ]</P>
27919 -<BLOCKQUOTE><CODE>
27921 -alias muttdude me@cs.hmc.edu (Michael Elkins)
27922 -alias theguys manny, moe, jack
27924 -</CODE></BLOCKQUOTE>
27926 -<P>Unlike other mailers, Mutt doesn't require aliases to be defined
27927 -in a special file. The <CODE>alias</CODE> command can appear anywhere in
27928 -a configuration file, as long as this file is
27929 -<A HREF="#source">sourced</A>. Consequently, you can have multiple alias files, or
27930 -you can have all aliases defined in your muttrc.</P>
27931 -<P>On the other hand, the
27932 -<A HREF="manual-2.html#create-alias">create-alias</A>
27933 -function can use only one file, the one pointed to by the
27934 -<A HREF="manual-6.html#alias_file">$alias_file</A> variable (which is
27935 -<CODE>~/.muttrc</CODE> by default). This file is not special either,
27936 -in the sense that Mutt will happily append aliases to any file, but in
27937 -order for the new aliases to take effect you need to explicitly
27938 -<A HREF="#source">source</A> this file too.</P>
27939 -<P>For example:</P>
27941 -<BLOCKQUOTE><CODE>
27943 -source /usr/local/share/Mutt.aliases
27944 -source ~/.mail_aliases
27945 -set alias_file=~/.mail_aliases
27947 -</CODE></BLOCKQUOTE>
27949 -<P>To use aliases, you merely use the alias at any place in mutt where mutt
27950 -prompts for addresses, such as the <EM>To:</EM> or <EM>Cc:</EM> prompt. You can
27951 -also enter aliases in your editor at the appropriate headers if you have the
27952 -<A HREF="manual-6.html#edit_headers">$edit_headers</A> variable set.</P>
27953 -<P>In addition, at the various address prompts, you can use the tab character
27954 -to expand a partial alias to the full alias. If there are multiple matches,
27955 -mutt will bring up a menu with the matching aliases. In order to be
27956 -presented with the full list of aliases, you must hit tab with out a partial
27957 -alias, such as at the beginning of the prompt or after a comma denoting
27958 -multiple addresses.</P>
27959 -<P>In the alias menu, you can select as many aliases as you want with the
27960 -<EM>select-entry</EM> key (default: RET), and use the <EM>exit</EM> key
27961 -(default: q) to return to the address prompt.</P>
27963 -<H2><A NAME="bind"></A> <A NAME="ss3.3">3.3</A> <A HREF="manual.html#toc3.3">Changing the default key bindings</A>
27966 -<P>Usage: <CODE>bind</CODE> <EM>map</EM> <EM>key</EM> <EM>function</EM></P>
27967 -<P>This command allows you to change the default key bindings (operation
27968 -invoked when pressing a key).</P>
27969 -<P><EM>map</EM> specifies in which menu the binding belongs. The currently
27970 -defined maps are:</P>
27985 -<P><EM>key</EM> is the key (or key sequence) you wish to bind. To specify a
27986 -control character, use the sequence <EM>\Cx</EM>, where <EM>x</EM> is the
27987 -letter of the control character (for example, to specify control-A use
27988 -``\Ca''). Note that the case of <EM>x</EM> as well as <EM>\C</EM> is
27989 -ignored, so that <EM>\CA, \Ca, \cA</EM> and <EM>\ca</EM> are all
27990 -equivalent. An alternative form is to specify the key as a three digit
27991 -octal number prefixed with a ``\'' (for example <EM>\177</EM> is
27992 -equivalent to <EM>\c?</EM>).</P>
27993 -<P>In addition, <EM>key</EM> may consist of:</P>
27995 -<BLOCKQUOTE><CODE>
27999 -\r carriage return
28004 -<down> down arrow
28005 -<left> left arrow
28006 -<right> right arrow
28007 -<pageup> Page Up
28008 -<pagedown> Page Down
28009 -<backspace> Backspace
28010 -<delete> Delete
28011 -<insert> Insert
28013 -<return> Return
28016 -<space> Space bar
28017 -<f1> function key 1
28018 -<f10> function key 10
28020 -</CODE></BLOCKQUOTE>
28022 -<P><EM>key</EM> does not need to be enclosed in quotes unless it contains a
28023 -space (`` '').</P>
28024 -<P><EM>function</EM> specifies which action to take when <EM>key</EM> is pressed.
28025 -For a complete list of functions, see the
28026 -<A HREF="manual-6.html#functions">reference</A>. The special function <CODE>noop</CODE> unbinds the specify key
28029 -<H2><A NAME="charset-hook"></A> <A NAME="ss3.4">3.4</A> <A HREF="manual.html#toc3.4">Defining aliases for character sets </A>
28032 -<P>Usage: <CODE>charset-hook</CODE> <EM>alias</EM> <EM>charset</EM><BR>
28033 -Usage: <CODE>iconv-hook</CODE> <EM>charset</EM> <EM>local-charset</EM></P>
28034 -<P>The <CODE>charset-hook</CODE> command defines an alias for a character set.
28035 -This is useful to properly display messages which are tagged with a
28036 -character set name not known to mutt.</P>
28037 -<P>The <CODE>iconv-hook</CODE> command defines a system-specific name for a
28038 -character set. This is helpful when your systems character
28039 -conversion library insists on using strange, system-specific names
28040 -for character sets.</P>
28043 -<H2><A NAME="folder-hook"></A> <A NAME="ss3.5">3.5</A> <A HREF="manual.html#toc3.5">Setting variables based upon mailbox</A>
28046 -<P>Usage: <CODE>folder-hook</CODE> [!]<EM>regexp</EM> <EM>command</EM></P>
28047 -<P>It is often desirable to change settings based on which mailbox you are
28048 -reading. The folder-hook command provides a method by which you can execute
28049 -any configuration command. <EM>pattern</EM> is a regular expression specifying
28050 -in which mailboxes to execute <EM>command</EM> before loading. If a mailbox
28051 -matches multiple folder-hook's, they are executed in the order given in the
28053 -<P><B>Note:</B> if you use the ``!'' shortcut for
28054 -<A HREF="manual-6.html#spoolfile">$spoolfile</A> at the beginning of the pattern, you must place it
28055 -inside of double or single quotes in order to distinguish it from the
28056 -logical <EM>not</EM> operator for the expression.</P>
28057 -<P>Note that the settings are <EM>not</EM> restored when you leave the mailbox.
28058 -For example, a command action to perform is to change the sorting method
28059 -based upon the mailbox being read:</P>
28061 -<BLOCKQUOTE><CODE>
28063 -folder-hook mutt set sort=threads
28065 -</CODE></BLOCKQUOTE>
28067 -<P>However, the sorting method is not restored to its previous value when
28068 -reading a different mailbox. To specify a <EM>default</EM> command, use the
28069 -pattern ``.'':</P>
28072 -<BLOCKQUOTE><CODE>
28074 -folder-hook . set sort=date-sent
28076 -</CODE></BLOCKQUOTE>
28079 -<H2><A NAME="macro"></A> <A NAME="ss3.6">3.6</A> <A HREF="manual.html#toc3.6">Keyboard macros</A>
28082 -<P>Usage: <CODE>macro</CODE> <EM>menu</EM> <EM>key</EM> <EM>sequence</EM> [ <EM>description</EM> ]</P>
28083 -<P>Macros are useful when you would like a single key to perform a series of
28084 -actions. When you press <EM>key</EM> in menu <EM>menu</EM>, Mutt will behave as if
28085 -you had typed <EM>sequence</EM>. So if you have a common sequence of commands
28086 -you type, you can create a macro to execute those commands with a single
28088 -<P><EM>key</EM> and <EM>sequence</EM> are expanded by the same rules as the
28089 -<A HREF="#bind">key bindings</A>. There are some additions however. The
28090 -first is that control characters in <EM>sequence</EM> can also be specified
28091 -as <EM>^x</EM>. In order to get a caret (`^'') you need to use
28092 -<EM>^^</EM>. Secondly, to specify a certain key such as <EM>up</EM>
28093 -or to invoke a function directly, you can use the format
28094 -<EM><key name></EM> and <EM><function name></EM>. For a listing of key
28095 -names see the section on
28096 -<A HREF="#bind">key bindings</A>. Functions
28098 -<A HREF="manual-6.html#functions">function reference</A>.</P>
28099 -<P>The advantage with using function names directly is that the macros will
28100 -work regardless of the current key bindings, so they are not dependent on
28101 -the user having particular key definitions. This makes them more robust
28102 -and portable, and also facilitates defining of macros in files used by more
28103 -than one user (eg. the system Muttrc).</P>
28104 -<P>Optionally you can specify a descriptive text after <EM>sequence</EM>,
28105 -which is shown in the help screens.</P>
28106 -<P><B>Note:</B> Macro definitions (if any) listed in the help screen(s), are
28107 -silently truncated at the screen width, and are not wrapped. </P>
28109 -<H2><A NAME="color"></A> <A NAME="ss3.7">3.7</A> <A HREF="manual.html#toc3.7">Using color and mono video attributes</A>
28112 -<P>Usage: <CODE>color</CODE> <EM>object</EM> <EM>foreground</EM> <EM>background</EM> [ <EM>regexp</EM> ]<BR>
28113 -Usage: <CODE>color</CODE> index <EM>foreground</EM> <EM>background</EM> <EM>pattern</EM><BR>
28114 -Usage: <CODE>uncolor</CODE> index <EM>pattern</EM> [ <EM>pattern</EM> ... ]<BR></P>
28115 -<P>If your terminal supports color, you can spice up Mutt by creating your own
28116 -color scheme. To define the color of an object (type of information), you
28117 -must specify both a foreground color <B>and</B> a background color (it is not
28118 -possible to only specify one or the other).</P>
28119 -<P><EM>object</EM> can be one of:</P>
28122 -<LI>attachment</LI>
28123 -<LI>body (match <EM>regexp</EM> in the body of messages)</LI>
28124 -<LI>bold (hiliting bold patterns in the body of messages)</LI>
28125 -<LI>error (error messages printed by Mutt)</LI>
28126 -<LI>header (match <EM>regexp</EM> in the message header)</LI>
28127 -<LI>hdrdefault (default color of the message header in the pager)</LI>
28128 -<LI>index (match <EM>pattern</EM> in the message index)</LI>
28129 -<LI>indicator (arrow or bar used to indicate the current item in a menu)</LI>
28130 -<LI>markers (the ``+'' markers at the beginning of wrapped lines in the pager)</LI>
28131 -<LI>message (informational messages)</LI>
28133 -<LI>quoted (text matching
28134 -<A HREF="manual-6.html#quote_regexp">$quote_regexp</A> in the body of a message)</LI>
28135 -<LI>quoted1, quoted2, ..., quoted<B>N</B> (higher levels of quoting)</LI>
28136 -<LI>search (hiliting of words in the pager)</LI>
28137 -<LI>signature</LI>
28138 -<LI>status (mode lines used to display info about the mailbox or message)</LI>
28139 -<LI>tilde (the ``~'' used to pad blank lines in the pager)</LI>
28140 -<LI>tree (thread tree drawn in the message index and attachment menu)</LI>
28141 -<LI>underline (hiliting underlined patterns in the body of messages)</LI>
28144 -<P><EM>foreground</EM> and <EM>background</EM> can be one of the following:</P>
28156 -<LI>color<EM>x</EM></LI>
28159 -<P><EM>foreground</EM> can optionally be prefixed with the keyword <CODE>bright</CODE> to make
28160 -the foreground color boldfaced (e.g., <CODE>brightred</CODE>).</P>
28161 -<P>If your terminal supports it, the special keyword <EM>default</EM> can be
28162 -used as a transparent color. The value <EM>brightdefault</EM> is also valid.
28163 -If Mutt is linked against the <EM>S-Lang</EM> library, you also need to set
28164 -the <EM>COLORFGBG</EM> environment variable to the default colors of your
28165 -terminal for this to work; for example (for Bourne-like shells):</P>
28167 -<BLOCKQUOTE><CODE>
28169 -set COLORFGBG="green;black"
28172 -</CODE></BLOCKQUOTE>
28174 -<P><B>Note:</B> The <EM>S-Lang</EM> library requires you to use the <EM>lightgray</EM>
28175 -and <EM>brown</EM> keywords instead of <EM>white</EM> and <EM>yellow</EM> when
28176 -setting this variable.</P>
28177 -<P><B>Note:</B> The uncolor command can be applied to the index object only. It
28178 -removes entries from the list. You <B>must</B> specify the same pattern
28179 -specified in the color command for it to be removed. The pattern ``*'' is
28180 -a special token which means to clear the color index list of all entries.</P>
28181 -<P>Mutt also recognizes the keywords <EM>color0</EM>, <EM>color1</EM>, ...,
28182 -<EM>color</EM><B>N-1</B> (<B>N</B> being the number of colors supported
28183 -by your terminal). This is useful when you remap the colors for your
28184 -display (for example by changing the color associated with <EM>color2</EM>
28185 -for your xterm), since color names may then lose their normal meaning.</P>
28186 -<P>If your terminal does not support color, it is still possible change the video
28187 -attributes through the use of the ``mono'' command:</P>
28188 -<P>Usage: <CODE>mono</CODE> <EM><object> <attribute></EM> [ <EM>regexp</EM> ]<BR>
28189 -Usage: <CODE>mono</CODE> index <EM>attribute</EM> <EM>pattern</EM><BR>
28190 -Usage: <CODE>unmono</CODE> index <EM>pattern</EM> [ <EM>pattern</EM> ... ]<BR></P>
28191 -<P>where <EM>attribute</EM> is one of the following:</P>
28196 -<LI>underline</LI>
28202 -<H2><A NAME="ignore"></A> <A NAME="ss3.8">3.8</A> <A HREF="manual.html#toc3.8">Ignoring (weeding) unwanted message headers</A>
28205 -<P>Usage: <CODE>[un]ignore</CODE> <EM>pattern</EM> [ <EM>pattern</EM> ... ]</P>
28206 -<P>Messages often have many header fields added by automatic processing systems,
28207 -or which may not seem useful to display on the screen. This command allows
28208 -you to specify header fields which you don't normally want to see.</P>
28209 -<P>You do not need to specify the full header field name. For example,
28210 -``ignore content-'' will ignore all header fields that begin with the pattern
28212 -<P>To remove a previously added token from the list, use the ``unignore'' command.
28213 -Note that if you do ``ignore x-'' it is not possible to ``unignore x-mailer,''
28214 -for example. The ``unignore'' command does <B>not</B> make Mutt display headers
28215 -with the given pattern.</P>
28216 -<P>``unignore *'' will remove all tokens from the ignore list.</P>
28218 -<BLOCKQUOTE><CODE>
28220 -# Sven's draconian header weeding
28222 -unignore from date subject to cc
28223 -unignore organization organisation x-mailer: x-newsreader: x-mailing-list:
28224 -unignore posted-to:
28226 -</CODE></BLOCKQUOTE>
28229 -<H2><A NAME="lists"></A> <A NAME="ss3.9">3.9</A> <A HREF="manual.html#toc3.9">Mailing lists</A>
28232 -<P>Usage: <CODE>[un]lists</CODE> <EM>address</EM> [ <EM>address</EM> ... ]<BR>
28233 -Usage: <CODE>[un]subscribe</CODE> <EM>address</EM> [ <EM>address</EM> ... ]</P>
28234 -<P>Mutt has a few nice features for
28235 -<A HREF="manual-4.html#using_lists">handling mailing lists</A>. In order to take advantage of them, you must
28236 -specify which addresses belong to mailing lists, and which mailing
28237 -lists you are subscribed to. Once you have done this, the
28238 -<A HREF="manual-2.html#list-reply">list-reply</A> function will work for all known lists.
28239 -Additionally, when you send a message to a subscribed list, mutt will
28240 -add a Mail-Followup-To header to tell other users' mail user agents
28241 -not to send copies of replies to your personal address. Note that
28242 -the Mail-Followup-To header is a non-standard extension which is not
28243 -supported by all mail user agents. Adding it is not bullet-proof against
28244 -receiving personal CCs of list messages. Also note that the generation
28245 -of the Mail-Followup-To header is controlled by the
28246 -<A HREF="manual-6.html#followup_to">followup_to</A> configuration variable.</P>
28247 -<P>More precisely, Mutt maintains lists of known and subscribed mailing
28248 -lists. Every subscribed mailing list is known. To mark
28249 -a mailing list as known, use the ``lists'' command. To mark it as
28250 -subscribed, use ``subscribe''.</P>
28251 -<P>Specify as much of the address as you need to to remove ambiguity. For
28252 -example, if you've subscribed to the Mutt mailing list, you will receive mail
28253 -addresssed to <EM>mutt-users@mutt.org</EM>. So, to tell Mutt that this is a
28254 -mailing list, you could add ``lists mutt-users'' to your
28255 -initialization file. To tell mutt that you are subscribed to it,
28256 -add ``subscribe mutt-users'' to your initialization file instead.
28257 -If you also happen to get mail from someone whose address is
28258 -<EM>mutt-users@example.com</EM>, you could use ``lists mutt-users@mutt.org''
28259 -or ``subscribe mutt-users@mutt.org'' to
28260 -match only mail from the actual list.</P>
28261 -<P>The ``unlists'' command is used to remove a token from the list of
28262 -known and subscribed mailing-lists. Use ``unlists *'' to remove all
28264 -<P>To remove a mailing list from the list of subscribed mailing lists,
28265 -but keep it on the list of known mailing lists, use ``unsubscribe''.</P>
28268 -<H2><A NAME="mbox-hook"></A> <A NAME="ss3.10">3.10</A> <A HREF="manual.html#toc3.10">Using Multiple spool mailboxes</A>
28271 -<P>Usage: <CODE>mbox-hook</CODE> [!]<EM>pattern</EM> <EM>mailbox</EM></P>
28272 -<P>This command is used to move read messages from a specified mailbox to a
28273 -different mailbox automatically when you quit or change folders.
28274 -<EM>pattern</EM> is a regular expression specifying the mailbox to treat as a
28275 -``spool'' mailbox and <EM>mailbox</EM> specifies where mail should be saved when
28277 -<P>Unlike some of the other <EM>hook</EM> commands, only the <EM>first</EM> matching
28278 -pattern is used (it is not possible to save read mail in more than a single
28281 -<H2><A NAME="mailboxes"></A> <A NAME="ss3.11">3.11</A> <A HREF="manual.html#toc3.11">Defining mailboxes which receive mail</A>
28284 -<P>Usage: <CODE>mailboxes</CODE> [!]<EM>filename</EM> [ <EM>filename</EM> ... ]</P>
28285 -<P>This command specifies folders which can receive mail and
28286 -which will be checked for new messages. By default, the
28287 -main menu status bar displays how many of these folders have
28289 -<P>When changing folders, pressing <EM>space</EM> will cycle
28290 -through folders with new mail.</P>
28291 -<P>Pressing TAB in the directory browser will bring up a menu showing the files
28292 -specified by the <CODE>mailboxes</CODE> command, and indicate which contain new
28293 -messages. Mutt will automatically enter this mode when invoked from the
28294 -command line with the <CODE>-y</CODE> option.</P>
28295 -<P><B>Note:</B> new mail is detected by comparing the last modification time to
28296 -the last access time. Utilities like <CODE>biff</CODE> or <CODE>frm</CODE> or any other
28297 -program which accesses the mailbox might cause Mutt to never detect new mail
28298 -for that mailbox if they do not properly reset the access time. Backup
28299 -tools are another common reason for updated access times.</P>
28301 -<P><B>Note:</B> the filenames in the <CODE>mailboxes</CODE> command are resolved when
28302 -the command is executed, so if these names contain
28303 -<A HREF="manual-4.html#shortcuts">shortcut characters</A> (such as ``='' and ``!''), any variable
28304 -definition that affect these characters (like
28305 -<A HREF="manual-6.html#folder">$folder</A> and
28306 -<A HREF="manual-6.html#spoolfile">$spoolfile</A>)
28307 -should be executed before the <CODE>mailboxes</CODE> command.</P>
28309 -<H2><A NAME="my_hdr"></A> <A NAME="ss3.12">3.12</A> <A HREF="manual.html#toc3.12">User defined headers</A>
28313 -<CODE>my_hdr</CODE> <EM>string</EM><BR>
28314 -<CODE>unmy_hdr</CODE> <EM>field</EM> [ <EM>field</EM> ... ]</P>
28315 -<P>The ``my_hdr'' command allows you to create your own header
28316 -fields which will be added to every message you send.</P>
28317 -<P>For example, if you would like to add an ``Organization:'' header field to
28318 -all of your outgoing messages, you can put the command</P>
28321 -my_hdr Organization: A Really Big Company, Anytown, USA
28324 -<P>in your <CODE>.muttrc</CODE>.</P>
28325 -<P><B>Note:</B> space characters are <EM>not</EM> allowed between the keyword and
28326 -the colon (``:''). The standard for electronic mail (RFC822) says that
28327 -space is illegal there, so Mutt enforces the rule.</P>
28328 -<P>If you would like to add a header field to a single message, you should
28330 -<A HREF="manual-6.html#edit_headers">edit_headers</A> variable,
28331 -or use the <EM>edit-headers</EM> function (default: ``E'') in the send-menu so
28332 -that you can edit the header of your message along with the body.</P>
28333 -<P>To remove user defined header fields, use the ``unmy_hdr''
28334 -command. You may specify an asterisk (``*'') to remove all header
28335 -fields, or the fields to remove. For example, to remove all ``To'' and
28336 -``Cc'' header fields, you could use:</P>
28343 -<H2><A NAME="hdr_order"></A> <A NAME="ss3.13">3.13</A> <A HREF="manual.html#toc3.13">Defining the order of headers when viewing messages</A>
28346 -<P>Usage: <CODE>hdr_order</CODE> <EM>header1</EM> <EM>header2</EM> <EM>header3</EM></P>
28347 -<P>With this command, you can specify an order in which mutt will attempt
28348 -to present headers to you when viewing messages.</P>
28349 -<P>``unhdr_order *'' will clear all previous headers from the order list,
28350 -thus removing the header order effects set by the system-wide startup
28353 -<BLOCKQUOTE><CODE>
28355 -hdr_order From Date: From: To: Cc: Subject:
28357 -</CODE></BLOCKQUOTE>
28360 -<H2><A NAME="save-hook"></A> <A NAME="ss3.14">3.14</A> <A HREF="manual.html#toc3.14">Specify default save filename</A>
28363 -<P>Usage: <CODE>save-hook</CODE> [!]<EM>pattern</EM> <EM>filename</EM></P>
28364 -<P>This command is used to override the default filename used when saving
28365 -messages. <EM>filename</EM> will be used as the default filename if the message is
28366 -<EM>From:</EM> an address matching <EM>regexp</EM> or if you are the author and the
28367 -message is addressed <EM>to:</EM> something matching <EM>regexp</EM>.</P>
28369 -<A HREF="manual-4.html#pattern_hook">Message Matching in Hooks</A> for information on the exact format of <EM>pattern</EM>.</P>
28372 -<BLOCKQUOTE><CODE>
28374 -save-hook me@(turing\\.)?cs\\.hmc\\.edu$ +elkins
28375 -save-hook aol\\.com$ +spam
28377 -</CODE></BLOCKQUOTE>
28380 -<A HREF="#fcc-save-hook">fcc-save-hook</A> command.</P>
28382 -<H2><A NAME="fcc-hook"></A> <A NAME="ss3.15">3.15</A> <A HREF="manual.html#toc3.15">Specify default Fcc: mailbox when composing</A>
28385 -<P>Usage: <CODE>fcc-hook</CODE> [!]<EM>pattern</EM> <EM>mailbox</EM></P>
28386 -<P>This command is used to save outgoing mail in a mailbox other than
28387 -<A HREF="manual-6.html#record">$record</A>. Mutt searches the initial list of
28388 -message recipients for the first matching <EM>regexp</EM> and uses <EM>mailbox</EM>
28389 -as the default Fcc: mailbox. If no match is found the message will be saved
28391 -<A HREF="manual-6.html#record">$record</A> mailbox.</P>
28393 -<A HREF="manual-4.html#pattern_hook">Message Matching in Hooks</A> for information on the exact format of <EM>pattern</EM>.</P>
28394 -<P>Example: <CODE>fcc-hook aol.com$ +spammers</CODE></P>
28395 -<P>The above will save a copy of all messages going to the aol.com domain to
28396 -the `+spammers' mailbox by default. Also see the
28397 -<A HREF="#fcc-save-hook">fcc-save-hook</A> command.</P>
28399 -<H2><A NAME="fcc-save-hook"></A> <A NAME="ss3.16">3.16</A> <A HREF="manual.html#toc3.16">Specify default save filename and default Fcc: mailbox at once</A>
28402 -<P>Usage: <CODE>fcc-save-hook</CODE> [!]<EM>pattern</EM> <EM>mailbox</EM></P>
28403 -<P>This command is a shortcut, equivalent to doing both a
28404 -<A HREF="#fcc-hook">fcc-hook</A>
28406 -<A HREF="#save-hook">save-hook</A> with its arguments.</P>
28408 -<H2><A NAME="send-hook"></A> <A NAME="ss3.17">3.17</A> <A HREF="manual.html#toc3.17">Change settings based upon message recipients</A>
28411 -<P>Usage: <CODE>send-hook</CODE> [!]<EM>pattern</EM> <EM>command</EM></P>
28412 -<P>This command can be used to execute arbitrary configuration commands based
28413 -upon recipients of the message. <EM>pattern</EM> is a regular expression
28414 -matching the desired address. <EM>command</EM> is executed when <EM>regexp</EM>
28415 -matches recipients of the message. When multiple matches occur, commands are
28416 -executed in the order they are specified in the muttrc.</P>
28418 -<A HREF="manual-4.html#pattern_hook">Message Matching in Hooks</A> for information on the exact format of <EM>pattern</EM>.</P>
28419 -<P>Example: <CODE>send-hook mutt "set mime_forward signature=''"</CODE></P>
28420 -<P>Another typical use for this command is to change the values of the
28421 -<A HREF="manual-6.html#attribution">$attribution</A>,
28422 -<A HREF="manual-6.html#signature">$signature</A> and
28423 -<A HREF="manual-6.html#locale">$locale</A>
28424 -variables in order to change the language of the attributions and
28425 -signatures based upon the recipients.</P>
28426 -<P><B>Note:</B> the send-hook's are only executed ONCE after getting the initial
28427 -list of recipients. Adding a recipient after replying or editing the
28428 -message will NOT cause any send-hook to be executed. Also note that
28429 -my_hdr commands which modify recipient headers, or the message's
28430 -subject, don't have any effect on the current message when executed
28431 -from a send-hook.</P>
28433 -<H2><A NAME="message-hook"></A> <A NAME="ss3.18">3.18</A> <A HREF="manual.html#toc3.18">Change settings before formatting a message</A>
28436 -<P>Usage: <CODE>message-hook</CODE> [!]<EM>pattern</EM> <EM>command</EM></P>
28437 -<P>This command can be used to execute arbitrary configuration commands
28438 -before viewing or formatting a message based upon information about the message.
28439 -<EM>command</EM> is executed if the <EM>pattern</EM> matches the message to be
28440 -displayed. When multiple matches occur, commands are executed in the order
28441 -they are specified in the muttrc.</P>
28443 -<A HREF="manual-4.html#pattern_hook">Message Matching in Hooks</A> for
28444 -information on the exact format of <EM>pattern</EM>.</P>
28446 -<BLOCKQUOTE><CODE>
28448 -message-hook ~A 'set pager=builtin'
28449 -message-hook '~f freshmeat-news' 'set pager="less \"+/^ subject: .*\""'
28451 -</CODE></BLOCKQUOTE>
28454 -<H2><A NAME="pgp-hook"></A> <A NAME="ss3.19">3.19</A> <A HREF="manual.html#toc3.19">Choosing the PGP key of the recipient</A>
28457 -<P>Usage: <CODE>pgp-hook</CODE> <EM>pattern</EM> <EM>keyid</EM></P>
28458 -<P>When encrypting messages with PGP, you may want to associate a certain
28459 -PGP key with a given e-mail address automatically, either because the
28460 -recipient's public key can't be deduced from the destination address,
28461 -or because, for some reasons, you need to override the key Mutt would
28462 -normally use. The pgp-hook command provides a method by which you can
28463 -specify the ID of the public key to be used when encrypting messages to
28464 -a certain recipient.</P>
28466 -<H2><A NAME="push"></A> <A NAME="ss3.20">3.20</A> <A HREF="manual.html#toc3.20">Adding key sequences to the keyboard buffer</A>
28469 -<P>Usage: <CODE>push</CODE> <EM>string</EM></P>
28470 -<P>This command adds the named string to the keyboard buffer. The string may
28471 -contain control characters, key names and function names like the sequence
28473 -<A HREF="#macro">macro</A> command. You may use it to
28474 -automatically run a sequence of commands at startup, or when entering
28475 -certain folders.</P>
28477 -<H2><A NAME="exec"></A> <A NAME="ss3.21">3.21</A> <A HREF="manual.html#toc3.21">Executing functions</A>
28480 -<P>Usage: <CODE>exec</CODE> <EM>function</EM> [ <EM>function</EM> ... ]</P>
28481 -<P>This command can be used to execute any function. Functions are
28483 -<A HREF="manual-6.html#functions">function reference</A>.
28484 -``exec function'' is equivalent to ``push <function>''.</P>
28486 -<H2><A NAME="score-command"></A> <A NAME="ss3.22">3.22</A> <A HREF="manual.html#toc3.22">Message Scoring</A>
28489 -<P>Usage: <CODE>score</CODE> <EM>pattern</EM> <EM>value</EM><BR>
28490 -Usage: <CODE>unscore</CODE> <EM>pattern</EM> [ <EM>pattern</EM> ... ]</P>
28491 -<P>The <CODE>score</CODE> commands adds <EM>value</EM> to a message's score if <EM>pattern</EM>
28492 -matches it. <EM>pattern</EM> is a string in the format described in the
28493 -<A HREF="manual-4.html#patterns">patterns</A> section (note: For efficiency reasons, patterns
28494 -which scan information not available in the index, such as <CODE>~b</CODE>,
28495 -<CODE>~B</CODE> or <CODE>~h</CODE>, may not be used). <EM>value</EM> is a
28496 -positive or negative integer. A message's final score is the sum total of all
28497 -matching <CODE>score</CODE> entries. However, you may optionally prefix <EM>value</EM> with
28498 -an equal sign (=) to cause evaluation to stop at a particular entry if there is
28499 -a match. Negative final scores are rounded up to 0.</P>
28500 -<P>The <CODE>unscore</CODE> command removes score entries from the list. You <B>must</B>
28501 -specify the same pattern specified in the <CODE>score</CODE> command for it to be
28502 -removed. The pattern ``*'' is a special token which means to clear the list
28503 -of all score entries.</P>
28505 -<H2><A NAME="set"></A> <A NAME="ss3.23">3.23</A> <A HREF="manual.html#toc3.23">Setting variables</A>
28508 -<P>Usage: <CODE>set</CODE> [no|inv]<EM>variable</EM>[=<EM>value</EM>] [ <EM>variable</EM> ... ]<BR>
28509 -Usage: <CODE>toggle</CODE> <EM>variable</EM> [<EM>variable</EM> ... ]<BR>
28510 -Usage: <CODE>unset</CODE> <EM>variable</EM> [<EM>variable</EM> ... ]<BR>
28511 -Usage: <CODE>reset</CODE> <EM>variable</EM> [<EM>variable</EM> ... ]</P>
28512 -<P>This command is used to set (and unset)
28513 -<A HREF="manual-6.html#variables">configuration variables</A>. There are four basic types of variables:
28514 -boolean, number, string and quadoption. <EM>boolean</EM> variables can be
28515 -<EM>set</EM> (true) or <EM>unset</EM> (false). <EM>number</EM> variables can be
28516 -assigned a positive integer value.</P>
28517 -<P><EM>string</EM> variables consist of any number of printable characters.
28518 -<EM>strings</EM> must be enclosed in quotes if they contain spaces or tabs. You
28519 -may also use the ``C'' escape sequences <B>\n</B> and <B>\t</B> for
28520 -newline and tab, respectively.</P>
28521 -<P><EM>quadoption</EM> variables are used to control whether or not to be prompted
28522 -for certain actions, or to specify a default action. A value of <EM>yes</EM>
28523 -will cause the action to be carried out automatically as if you had answered
28524 -yes to the question. Similarly, a value of <EM>no</EM> will cause the the
28525 -action to be carried out as if you had answered ``no.'' A value of
28526 -<EM>ask-yes</EM> will cause a prompt with a default answer of ``yes'' and
28527 -<EM>ask-no</EM> will provide a default answer of ``no.''</P>
28528 -<P>Prefixing a variable with ``no'' will unset it. Example: <CODE>set noaskbcc</CODE>.</P>
28529 -<P>For <EM>boolean</EM> variables, you may optionally prefix the variable name with
28530 -<CODE>inv</CODE> to toggle the value (on or off). This is useful when writing
28531 -macros. Example: <CODE>set invsmart_wrap</CODE>.</P>
28532 -<P>The <CODE>toggle</CODE> command automatically prepends the <CODE>inv</CODE> prefix to all
28533 -specified variables.</P>
28534 -<P>The <CODE>unset</CODE> command automatically prepends the <CODE>no</CODE> prefix to all
28535 -specified variables.</P>
28536 -<P>Using the enter-command function in the <EM>index</EM> menu, you can query the
28537 -value of a variable by prefixing the name of the variable with a question
28540 -<BLOCKQUOTE><CODE>
28544 -</CODE></BLOCKQUOTE>
28546 -<P>The question mark is actually only required for boolean and quadoption
28548 -<P>The <CODE>reset</CODE> command resets all given variables to the compile time
28549 -defaults (hopefully mentioned in this manual). If you use the command
28550 -<CODE>set</CODE> and prefix the variable with ``&'' this has the same
28551 -behavior as the reset command.</P>
28552 -<P>With the <CODE>reset</CODE> command there exists the special variable ``all'',
28553 -which allows you to reset all variables to their system defaults.</P>
28555 -<H2><A NAME="source"></A> <A NAME="ss3.24">3.24</A> <A HREF="manual.html#toc3.24">Reading initialization commands from another file</A>
28558 -<P>Usage: <CODE>source</CODE> <EM>filename</EM></P>
28559 -<P>This command allows the inclusion of initialization commands
28560 -from other files. For example, I place all of my aliases in
28561 -<CODE>~/.mail_aliases</CODE> so that I can make my
28562 -<CODE>~/.muttrc</CODE> readable and keep my aliases private.</P>
28563 -<P>If the filename begins with a tilde (``~''), it will be expanded to the
28564 -path of your home directory.</P>
28565 -<P>If the filename ends with a vertical bar (|), then <EM>filename</EM> is
28566 -considered to be an executable program from which to read input (eg.
28567 -<CODE>source ~</CODE>bin/myscript|/).</P>
28569 -<H2><A NAME="unhook"></A> <A NAME="ss3.25">3.25</A> <A HREF="manual.html#toc3.25">Removing hooks</A>
28572 -<P>Usage: <CODE>unhook</CODE> [ * | <EM>hook-type</EM> ]</P>
28573 -<P>This command permits you to flush hooks you have previously defined.
28574 -You can either remove all hooks by giving the ``*'' character as an
28575 -argument, or you can remove all hooks of a specific type by saying
28576 -something like <CODE>unhook send-hook</CODE>.</P>
28579 -<A HREF="manual-4.html">Next</A>
28580 -<A HREF="manual-2.html">Previous</A>
28581 -<A HREF="manual.html#toc3">Contents</A>
28584 diff -uNr mutt-1.4.orig/doc/manual-4.html mutt-1.4/doc/manual-4.html
28585 --- mutt-1.4.orig/doc/manual-4.html Sun Nov 3 21:42:51 2002
28586 +++ mutt-1.4/doc/manual-4.html Thu Jan 1 01:00:00 1970
28588 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
28591 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
28592 - <TITLE>The Mutt E-Mail Client: Advanced Usage</TITLE>
28593 - <LINK HREF="manual-5.html" REL=next>
28594 - <LINK HREF="manual-3.html" REL=previous>
28595 - <LINK HREF="manual.html#toc4" REL=contents>
28598 -<A HREF="manual-5.html">Next</A>
28599 -<A HREF="manual-3.html">Previous</A>
28600 -<A HREF="manual.html#toc4">Contents</A>
28602 -<H2><A NAME="s4">4.</A> <A HREF="manual.html#toc4">Advanced Usage</A></H2>
28604 -<H2><A NAME="regexp"></A> <A NAME="ss4.1">4.1</A> <A HREF="manual.html#toc4.1">Regular Expressions</A>
28607 -<P>All string patterns in Mutt including those in more complex
28608 -<A HREF="#patterns">patterns</A> must be specified
28609 -using regular expressions (regexp) in the ``POSIX extended'' syntax (which
28610 -is more or less the syntax used by egrep and GNU awk). For your
28611 -convenience, we have included below a brief description of this syntax.</P>
28612 -<P>The search is case sensitive if the pattern contains at least one upper
28613 -case letter, and case insensitive otherwise. Note that ``\''
28614 -must be quoted if used for a regular expression in an initialization
28615 -command: ``\\''.</P>
28616 -<P>A regular expression is a pattern that describes a set of strings.
28617 -Regular expressions are constructed analogously to arithmetic
28618 -expressions, by using various operators to combine smaller expressions.</P>
28619 -<P>Note that the regular expression can be enclosed/delimited by either "
28620 -or ' which is useful if the regular expression includes a white-space
28622 -<A HREF="manual-3.html#muttrc-syntax">Syntax of Initialization Files</A>
28623 -for more information on " and ' delimiter processing. To match a
28624 -literal " or ' you must preface it with \ (backslash).</P>
28625 -<P>The fundamental building blocks are the regular expressions that match
28626 -a single character. Most characters, including all letters and digits,
28627 -are regular expressions that match themselves. Any metacharacter with
28628 -special meaning may be quoted by preceding it with a backslash.</P>
28629 -<P>The period ``.'' matches any single character. The caret ``^'' and
28630 -the dollar sign ``$'' are metacharacters that respectively match
28631 -the empty string at the beginning and end of a line.</P>
28632 -<P>A list of characters enclosed by ``['' and ``]'' matches any
28633 -single character in that list; if the first character of the list
28634 -is a caret ``^'' then it matches any character <B>not</B> in the
28635 -list. For example, the regular expression <B>[0123456789]</B>
28636 -matches any single digit. A range of ASCII characters may be specified
28637 -by giving the first and last characters, separated by a hyphen
28638 -``‐''. Most metacharacters lose their special meaning inside
28639 -lists. To include a literal ``]'' place it first in the list.
28640 -Similarly, to include a literal ``^'' place it anywhere but first.
28641 -Finally, to include a literal hyphen ``‐'' place it last.</P>
28642 -<P>Certain named classes of characters are predefined. Character classes
28643 -consist of ``[:'', a keyword denoting the class, and ``:]''.
28644 -The following classes are defined by the POSIX standard:</P>
28647 -<DT><B>[:alnum:]</B><DD><P>Alphanumeric characters.</P>
28648 -<DT><B>[:alpha:]</B><DD><P>Alphabetic characters.</P>
28649 -<DT><B>[:blank:]</B><DD><P>Space or tab characters.</P>
28650 -<DT><B>[:cntrl:]</B><DD><P>Control characters.</P>
28651 -<DT><B>[:digit:]</B><DD><P>Numeric characters.</P>
28652 -<DT><B>[:graph:]</B><DD><P>Characters that are both printable and visible. (A space is printable,
28653 -but not visible, while an ``a'' is both.)</P>
28654 -<DT><B>[:lower:]</B><DD><P>Lower-case alphabetic characters.</P>
28655 -<DT><B>[:print:]</B><DD><P>Printable characters (characters that are not control characters.)</P>
28656 -<DT><B>[:punct:]</B><DD><P>Punctuation characters (characters that are not letter, digits, control
28657 -characters, or space characters).</P>
28658 -<DT><B>[:space:]</B><DD><P>Space characters (such as space, tab and formfeed, to name a few).</P>
28659 -<DT><B>[:upper:]</B><DD><P>Upper-case alphabetic characters.</P>
28660 -<DT><B>[:xdigit:]</B><DD><P>Characters that are hexadecimal digits.</P>
28663 -<P>A character class is only valid in a regular expression inside the
28664 -brackets of a character list. Note that the brackets in these
28665 -class names are part of the symbolic names, and must be included
28666 -in addition to the brackets delimiting the bracket list. For
28667 -example, <B>[[:digit:]]</B> is equivalent to
28669 -<P>Two additional special sequences can appear in character lists. These
28670 -apply to non-ASCII character sets, which can have single symbols (called
28671 -collating elements) that are represented with more than one character,
28672 -as well as several characters that are equivalent for collating or
28673 -sorting purposes:</P>
28676 -<DT><B>Collating Symbols</B><DD><P>A collating symbols is a multi-character collating element enclosed in
28677 -``[.'' and ``.]''. For example, if ``ch'' is a collating
28678 -element, then <B>[[.ch.]]</B> is a regexp that matches
28679 -this collating element, while <B>[ch]</B> is a regexp that
28680 -matches either ``c'' or ``h''.</P>
28681 -<DT><B>Equivalence Classes</B><DD><P>An equivalence class is a locale-specific name for a list of
28682 -characters that are equivalent. The name is enclosed in ``[=''
28683 -and ``=]''. For example, the name ``e'' might be used to
28684 -represent all of ``è'' ``é'' and ``e''. In this case,
28685 -<B>[[=e=]]</B> is a regexp that matches any of
28686 -``è'', ``é'' and ``e''.</P>
28689 -<P>A regular expression matching a single character may be followed by one
28690 -of several repetition operators:</P>
28693 -<DT><B>?</B><DD><P>The preceding item is optional and matched at most once.</P>
28694 -<DT><B>*</B><DD><P>The preceding item will be matched zero or more times.</P>
28695 -<DT><B>+</B><DD><P>The preceding item will be matched one or more times.</P>
28696 -<DT><B>{n}</B><DD><P>The preceding item is matched exactly <EM>n</EM> times.</P>
28697 -<DT><B>{n,}</B><DD><P>The preceding item is matched <EM>n</EM> or more times.</P>
28698 -<DT><B>{,m}</B><DD><P>The preceding item is matched at most <EM>m</EM> times.</P>
28699 -<DT><B>{n,m}</B><DD><P>The preceding item is matched at least <EM>n</EM> times, but no more than
28700 -<EM>m</EM> times.</P>
28703 -<P>Two regular expressions may be concatenated; the resulting regular
28704 -expression matches any string formed by concatenating two substrings
28705 -that respectively match the concatenated subexpressions.</P>
28706 -<P>Two regular expressions may be joined by the infix operator ``|'';
28707 -the resulting regular expression matches any string matching either
28708 -subexpression.</P>
28709 -<P>Repetition takes precedence over concatenation, which in turn takes
28710 -precedence over alternation. A whole subexpression may be enclosed in
28711 -parentheses to override these precedence rules.</P>
28712 -<P><B>Note:</B> If you compile Mutt with the GNU <EM>rx</EM> package, the
28713 -following operators may also be used in regular expressions:</P>
28716 -<DT><B>\\y</B><DD><P>Matches the empty string at either the beginning or the end of a word.</P>
28717 -<DT><B>\\B</B><DD><P>Matches the empty string within a word.</P>
28718 -<DT><B>\\<</B><DD><P>Matches the empty string at the beginning of a word.</P>
28719 -<DT><B>\\></B><DD><P>Matches the empty string at the end of a word.</P>
28720 -<DT><B>\\w</B><DD><P>Matches any word-constituent character (letter, digit, or underscore).</P>
28721 -<DT><B>\\W</B><DD><P>Matches any character that is not word-constituent.</P>
28722 -<DT><B>\\`</B><DD><P>Matches the empty string at the beginning of a buffer (string).</P>
28723 -<DT><B>\\'</B><DD><P>Matches the empty string at the end of a buffer.</P>
28726 -<P>Please note however that these operators are not defined by POSIX, so
28727 -they may or may not be available in stock libraries on various systems.</P>
28729 -<H2><A NAME="patterns"></A> <A NAME="ss4.2">4.2</A> <A HREF="manual.html#toc4.2">Patterns</A>
28732 -<P>Many of Mutt's commands allow you to specify a pattern to match
28733 -(limit, tag-pattern, delete-pattern, etc.). There are several ways to select
28736 -<BLOCKQUOTE><CODE>
28739 -~b EXPR messages which contain EXPR in the message body
28740 -~B EXPR messages which contain EXPR in the whole message
28741 -~c USER messages carbon-copied to USER
28742 -~C EXPR message is either to: or cc: EXPR
28743 -~D deleted messages
28744 -~d [MIN]-[MAX] messages with ``date-sent'' in a Date range
28745 -~E expired messages
28746 -~e EXPR message which contains EXPR in the ``Sender'' field
28747 -~F flagged messages
28748 -~f USER messages originating from USER
28749 -~g PGP signed messages
28750 -~G PGP encrypted messages
28751 -~h EXPR messages which contain EXPR in the message header
28752 -~k message contains PGP key material
28753 -~i ID message which match ID in the ``Message-ID'' field
28754 -~L EXPR message is either originated or received by EXPR
28755 -~l message is addressed to a known mailing list
28756 -~m [MIN]-[MAX] message in the range MIN to MAX *)
28757 -~n [MIN]-[MAX] messages with a score in the range MIN to MAX *)
28760 -~p message is addressed to you (consults $alternates)
28761 -~P message is from you (consults $alternates)
28762 -~Q messages which have been replied to
28764 -~r [MIN]-[MAX] messages with ``date-received'' in a Date range
28765 -~S superseded messages
28766 -~s SUBJECT messages having SUBJECT in the ``Subject'' field.
28767 -~T tagged messages
28768 -~t USER messages addressed to USER
28769 -~U unread messages
28770 -~v message is part of a collapsed thread.
28771 -~x EXPR messages which contain EXPR in the `References' field
28772 -~y EXPR messages which contain EXPR in the `X-Label' field
28773 -~z [MIN]-[MAX] messages with a size in the range MIN to MAX *)
28774 -~= duplicated messages (see $duplicate_threads)
28776 -</CODE></BLOCKQUOTE>
28778 -<P>Where EXPR, USER, ID, and SUBJECT are
28779 -<A HREF="#regexp">regular expressions</A>.</P>
28780 -<P>*) The forms <CODE><[MAX]</CODE>, <CODE>>[MIN]</CODE>,
28781 -<CODE>[MIN]-</CODE> and <CODE>-[MAX]</CODE>
28782 -are allowed, too.</P>
28784 -<H3>Pattern Modifier</H3>
28787 -<P>Note that patterns matching 'lists' of addresses (notably c,C,p,P and t)
28788 -match if there is at least one match in the whole list. If you want to
28789 -make sure that all elements of that list match, you need to prefix your
28791 -This example matches all mails which only has recipients from Germany.</P>
28793 -<BLOCKQUOTE><CODE>
28797 -</CODE></BLOCKQUOTE>
28800 -<H3>Complex Patterns</H3>
28803 -<P>Logical AND is performed by specifying more than one criterion. For
28806 -<BLOCKQUOTE><CODE>
28810 -</CODE></BLOCKQUOTE>
28812 -<P>would select messages which contain the word ``mutt'' in the list of
28813 -recipients <B>and</B> that have the word ``elkins'' in the ``From'' header
28815 -<P>Mutt also recognizes the following operators to create more complex search
28819 -<LI>! -- logical NOT operator</LI>
28820 -<LI>| -- logical OR operator</LI>
28821 -<LI>() -- logical grouping operator</LI>
28824 -<P>Here is an example illustrating a complex search pattern. This pattern will
28825 -select all messages which do not contain ``mutt'' in the ``To'' or ``Cc''
28826 -field and which are from ``elkins''.</P>
28828 -<BLOCKQUOTE><CODE>
28830 -!(~t mutt|~c mutt) ~f elkins
28832 -</CODE></BLOCKQUOTE>
28834 -<P>Here is an example using white space in the regular expression (note
28835 -the ' and " delimiters). For this to match, the mail's subject must
28836 -match the ``^Junk +From +Me$'' and it must be from either ``Jim +Somebody''
28837 -or ``Ed +SomeoneElse'':</P>
28839 -<BLOCKQUOTE><CODE>
28841 - '~s "^Junk +From +Me$" ~f ("Jim +Somebody"|"Ed +SomeoneElse")'
28843 -</CODE></BLOCKQUOTE>
28846 -<H3>Searching by Date</H3>
28848 -<P>Mutt supports two types of dates, <EM>absolute</EM> and <EM>relative</EM>.</P>
28849 -<P><B>Absolute</B>. Dates <B>must</B> be in DD/MM/YY format (month and year are
28850 -optional, defaulting to the current month and year). An example of a valid
28851 -range of dates is:</P>
28853 -<BLOCKQUOTE><CODE>
28855 -Limit to messages matching: ~d 20/1/95-31/10
28857 -</CODE></BLOCKQUOTE>
28859 -<P>If you omit the minimum (first) date, and just specify ``-DD/MM/YY'', all
28860 -messages <EM>before</EM> the given date will be selected. If you omit the maximum
28861 -(second) date, and specify ``DD/MM/YY-'', all messages <EM>after</EM> the given
28862 -date will be selected. If you specify a single date with no dash (``-''),
28863 -only messages sent on the given date will be selected. </P>
28864 -<P><B>Error Margins</B>. You can add error margins to absolute dates.
28865 -An error margin is a sign (+ or -), followed by a digit, followed by
28866 -one of the following units:
28874 -As a special case, you can replace the sign by a ``*'' character,
28875 -which is equivalent to giving identical plus and minus error margins.</P>
28876 -<P>Example: To select any messages two weeks around January 15, 2001,
28877 -you'd use the following pattern:
28878 -<BLOCKQUOTE><CODE>
28881 -Limit to messages matching: ~d 15/1/2001*2w
28883 -</CODE></BLOCKQUOTE>
28886 -<P><B>Relative</B>. This type of date is relative to the current date, and may
28889 -<LI>><EM>offset</EM> (messages older than <EM>offset</EM> units)</LI>
28890 -<LI><<EM>offset</EM> (messages newer than <EM>offset</EM> units)</LI>
28891 -<LI>=<EM>offset</EM> (messages exactly <EM>offset</EM> units old)</LI>
28894 -<P><EM>offset</EM> is specified as a positive number with one of the following
28903 -<P>Example: to select messages less than 1 month old, you would use
28904 -<BLOCKQUOTE><CODE>
28906 -Limit to messages matching: ~d <1m
28908 -</CODE></BLOCKQUOTE>
28912 -<P><B>Note:</B> all dates used when searching are relative to the
28913 -<B>local</B> time zone, so unless you change the setting of your
28914 -<A HREF="manual-6.html#index_format">$index_format</A> to include a
28915 -<CODE>%[...]</CODE> format, these are <B>not</B> the dates shown
28916 -in the main index.</P>
28918 -<H2><A NAME="ss4.3">4.3</A> <A HREF="manual.html#toc4.3">Using Tags</A>
28922 -<P>Sometimes it is desirable to perform an operation on a group of
28923 -messages all at once rather than one at a time. An example might be
28924 -to save messages to a mailing list to a separate folder, or to
28925 -delete all messages with a given subject. To tag all messages
28926 -matching a pattern, use the tag-pattern function, which is bound to
28927 -``shift-T'' by default. Or you can select individual messages by
28928 -hand using the ``tag-message'' function, which is bound to ``t'' by
28930 -<A HREF="#patterns">patterns</A> for Mutt's pattern
28931 -matching syntax.</P>
28932 -<P>Once you have tagged the desired messages, you can use the
28933 -``tag-prefix'' operator, which is the ``;'' (semicolon) key by default.
28934 -When the ``tag-prefix'' operator is used, the <B>next</B> operation will
28935 -be applied to all tagged messages if that operation can be used in that
28937 -<A HREF="manual-6.html#auto_tag">$auto_tag</A>
28938 -variable is set, the next operation applies to the tagged messages
28939 -automatically, without requiring the ``tag-prefix''.</P>
28941 -<H2><A NAME="hooks"></A> <A NAME="ss4.4">4.4</A> <A HREF="manual.html#toc4.4">Using Hooks</A>
28944 -<P>A <EM>hook</EM> is a concept borrowed from the EMACS editor which allows you to
28945 -execute arbitrary commands before performing some operation. For example,
28946 -you may wish to tailor your configuration based upon which mailbox you are
28947 -reading, or to whom you are sending mail. In the Mutt world, a <EM>hook</EM>
28949 -<A HREF="#regexp">regular expression</A> or
28950 -<A HREF="#patterns">pattern</A> along with a
28951 -configuration option/command. See
28954 -<A HREF="manual-3.html#folder-hook">folder-hook</A></LI>
28956 -<A HREF="manual-3.html#send-hook">send-hook</A></LI>
28958 -<A HREF="manual-3.html#message-hook">message-hook</A></LI>
28960 -<A HREF="manual-3.html#save-hook">save-hook</A></LI>
28962 -<A HREF="manual-3.html#mbox-hook">mbox-hook</A></LI>
28964 -<A HREF="manual-3.html#fcc-hook">fcc-hook</A></LI>
28966 -<A HREF="manual-3.html#fcc-save-hook">fcc-save-hook</A></LI>
28969 -for specific details on each type of <EM>hook</EM> available.</P>
28970 -<P><B>Note:</B> if a hook changes configuration settings, these changes remain
28971 -effective until the end of the current mutt session. As this is generally
28972 -not desired, a default hook needs to be added before all other hooks to
28973 -restore configuration defaults. Here is an example with send-hook and the
28974 -my_hdr directive:</P>
28976 -<BLOCKQUOTE><CODE>
28978 -send-hook . 'unmy_hdr From:'
28979 -send-hook ~Cb@b.b my_hdr from: c@c.c
28981 -</CODE></BLOCKQUOTE>
28984 -<H3><A NAME="pattern_hook"></A> Message Matching in Hooks</H3>
28986 -<P>Hooks that act upon messages (<CODE>send-hook, save-hook, fcc-hook,
28987 -message-hook</CODE>) are evaluated in a slightly different manner. For the other
28989 -<A HREF="#regexp">regular expression</A> is
28990 -sufficient. But in dealing with messages a finer grain of control is
28991 -needed for matching since for different purposes you want to match
28992 -different criteria.</P>
28993 -<P>Mutt allows the use of the
28994 -<A HREF="#patterns">search pattern</A>
28995 -language for matching messages in hook commands. This works in
28996 -exactly the same way as it would when <EM>limiting</EM> or
28997 -<EM>searching</EM> the mailbox, except that you are restricted to those
28998 -operators which match information mutt extracts from the header of
28999 -the message (i.e. from, to, cc, date, subject, etc.).</P>
29000 -<P>For example, if you wanted to set your return address based upon sending
29001 -mail to a specific address, you could do something like:
29002 -<BLOCKQUOTE><CODE>
29004 -send-hook '~t ^me@cs\.hmc\.edu$' 'my_hdr From: Mutt User <user@host>'
29006 -</CODE></BLOCKQUOTE>
29008 -which would execute the given command when sending mail to
29009 -<EM>me@cs.hmc.edu</EM>.</P>
29010 -<P>However, it is not required that you write the pattern to match using the
29011 -full searching language. You can still specify a simple <EM>regular
29012 -expression</EM> like the other hooks, in which case Mutt will translate your
29013 -pattern into the full language, using the translation specified by the
29014 -<A HREF="manual-6.html#default_hook">$default_hook</A> variable. The
29015 -pattern is translated at the time the hook is declared, so the value of
29016 -<A HREF="manual-6.html#default_hook">$default_hook</A> that is in effect
29017 -at that time will be used.</P>
29019 -<H2><A NAME="query"></A> <A NAME="ss4.5">4.5</A> <A HREF="manual.html#toc4.5">External Address Queries</A>
29022 -<P>Mutt supports connecting to external directory databases such as LDAP,
29023 -ph/qi, bbdb, or NIS through a wrapper script which connects to mutt
29024 -using a simple interface. Using the
29025 -<A HREF="manual-6.html#query_command">$query_command</A> variable, you specify the wrapper
29026 -command to use. For example:</P>
29028 -<BLOCKQUOTE><CODE>
29030 -set query_command = "mutt_ldap_query.pl '%s'"
29032 -</CODE></BLOCKQUOTE>
29034 -<P>The wrapper script should accept the query on the command-line. It
29035 -should return a one line message, then each matching response on a
29036 -single line, each line containing a tab separated address then name then
29037 -some other optional information. On error, or if there are no matching
29038 -addresses, return a non-zero exit code and a one line error message.</P>
29039 -<P>An example multiple response output:
29040 -<BLOCKQUOTE><CODE>
29042 -Searching database ... 20 entries ... 3 matching:
29043 -me@cs.hmc.edu Michael Elkins mutt dude
29044 -blong@fiction.net Brandon Long mutt and more
29045 -roessler@guug.de Thomas Roessler mutt pgp
29047 -</CODE></BLOCKQUOTE>
29049 -<P>There are two mechanisms for accessing the query function of mutt. One
29050 -is to do a query from the index menu using the query function (default: Q).
29051 -This will prompt for a query, then bring up the query menu which will
29052 -list the matching responses. From the query menu, you can select
29053 -addresses to create aliases, or to mail. You can tag multiple messages
29054 -to mail, start a new query, or have a new query appended to the current
29056 -<P>The other mechanism for accessing the query function is for address
29057 -completion, similar to the alias completion. In any prompt for address
29058 -entry, you can use the complete-query function (default: ^T) to run a
29059 -query based on the current address you have typed. Like aliases, mutt
29060 -will look for what you have typed back to the last space or comma. If
29061 -there is a single response for that query, mutt will expand the address
29062 -in place. If there are multiple responses, mutt will activate the query
29063 -menu. At the query menu, you can select one or more addresses to be
29064 -added to the prompt.</P>
29066 -<H2><A NAME="ss4.6">4.6</A> <A HREF="manual.html#toc4.6">Mailbox Formats</A>
29069 -<P>Mutt supports reading and writing of four different mailbox formats:
29070 -mbox, MMDF, MH and Maildir. The mailbox type is autodetected, so there
29071 -is no need to use a flag for different mailbox types. When creating new
29072 -mailboxes, Mutt uses the default specified with the
29073 -<A HREF="manual-6.html#mbox_type">$mbox_type</A> variable.</P>
29074 -<P><B>mbox</B>. This is the most widely used mailbox format for UNIX. All
29075 -messages are stored in a single file. Each message has a line of the form:</P>
29077 -<BLOCKQUOTE><CODE>
29079 -From me@cs.hmc.edu Fri, 11 Apr 1997 11:44:56 PST
29081 -</CODE></BLOCKQUOTE>
29083 -<P>to denote the start of a new message (this is often referred to as the
29084 -``From_'' line).</P>
29085 -<P><B>MMDF</B>. This is a variant of the <EM>mbox</EM> format. Each message is
29086 -surrounded by lines containing ``^A^A^A^A'' (four control-A's).</P>
29087 -<P><B>MH</B>. A radical departure from <EM>mbox</EM> and <EM>MMDF</EM>, a mailbox
29088 -consists of a directory and each message is stored in a separate file.
29089 -The filename indicates the message number (however, this is may not
29090 -correspond to the message number Mutt displays). Deleted messages are
29091 -renamed with a comma (,) prepended to the filename. <B>Note:</B> Mutt
29092 -detects this type of mailbox by looking for either <CODE>.mh_sequences</CODE>
29093 -or <CODE>.xmhcache</CODE> (needed to distinguish normal directories from MH
29095 -<P><B>Maildir</B>. The newest of the mailbox formats, used by the Qmail MTA (a
29096 -replacement for sendmail). Similar to <EM>MH</EM>, except that it adds three
29097 -subdirectories of the mailbox: <EM>tmp</EM>, <EM>new</EM> and <EM>cur</EM>. Filenames
29098 -for the messages are chosen in such a way they are unique, even when two
29099 -programs are writing the mailbox over NFS, which means that no file locking
29102 -<H2><A NAME="shortcuts"></A> <A NAME="ss4.7">4.7</A> <A HREF="manual.html#toc4.7">Mailbox Shortcuts</A>
29105 -<P>There are a number of built in shortcuts which refer to specific mailboxes.
29106 -These shortcuts can be used anywhere you are prompted for a file or mailbox
29110 -<LI>! -- refers to your
29111 -<A HREF="manual-6.html#spoolfile">$spoolfile</A> (incoming) mailbox</LI>
29112 -<LI>> -- refers to your
29113 -<A HREF="manual-6.html#mbox">$mbox</A> file</LI>
29114 -<LI>< -- refers to your
29115 -<A HREF="manual-6.html#record">$record</A> file</LI>
29116 -<LI>- or !! -- refers to the file you've last visited</LI>
29117 -<LI>~ -- refers to your home directory</LI>
29118 -<LI>= or + -- refers to your
29119 -<A HREF="manual-6.html#folder">$folder</A> directory</LI>
29120 -<LI>@<EM>alias</EM> -- refers to the
29121 -<A HREF="manual-3.html#save-hook">default save folder</A> as determined by the address of the alias</LI>
29125 -<H2><A NAME="using_lists"></A> <A NAME="ss4.8">4.8</A> <A HREF="manual.html#toc4.8">Handling Mailing Lists</A>
29129 -<P>Mutt has a few configuration options that make dealing with large
29130 -amounts of mail easier. The first thing you must do is to let Mutt
29131 -know what addresses you consider to be mailing lists (technically
29132 -this does not have to be a mailing list, but that is what it is most
29133 -often used for), and what lists you are subscribed to. This is
29134 -accomplished through the use of the
29135 -<A HREF="manual-3.html#lists">lists and subscribe</A> commands in your muttrc.</P>
29136 -<P>Now that Mutt knows what your mailing lists are, it can do several
29137 -things, the first of which is the ability to show the name of a list
29138 -through which you received a message (i.e., of a subscribed list) in
29139 -the <EM>index</EM> menu display. This is useful to distinguish between
29140 -personal and list mail in the same mailbox. In the
29141 -<A HREF="manual-6.html#index_format">$index_format</A> variable, the escape ``%L''
29142 -will return the string ``To <list>'' when ``list'' appears in the
29143 -``To'' field, and ``Cc <list>'' when it appears in the ``Cc''
29144 -field (otherwise it returns the name of the author).</P>
29145 -<P>Often times the ``To'' and ``Cc'' fields in mailing list messages
29146 -tend to get quite large. Most people do not bother to remove the
29147 -author of the message they are reply to from the list, resulting in
29148 -two or more copies being sent to that person. The ``list-reply''
29149 -function, which by default is bound to ``L'' in the <EM>index</EM> menu
29150 -and <EM>pager</EM>, helps reduce the clutter by only replying to the
29151 -known mailing list addresses instead of all recipients (except as
29152 -specified by <CODE>Mail-Followup-To</CODE>, see below).</P>
29153 -<P>Mutt also supports the <CODE>Mail-Followup-To</CODE> header. When you send
29154 -a message to a list of recipients which includes one or several
29155 -subscribed mailing lists, and if the
29156 -<A HREF="manual-6.html#followup_to">$followup_to</A> option is set, mutt will generate
29157 -a Mail-Followup-To header which contains all the recipients to whom
29158 -you send this message, but not your address. This indicates that
29159 -group-replies or list-replies (also known as ``followups'') to this
29160 -message should only be sent to the original recipients of the
29161 -message, and not separately to you - you'll receive your copy through
29162 -one of the mailing lists you are subscribed to.</P>
29163 -<P>Conversely, when group-replying or list-replying to a message which
29164 -has a <CODE>Mail-Followup-To</CODE> header, mutt will respect this header if
29166 -<A HREF="manual-6.html#honor_followup_to">$honor_followup_to</A> configuration
29167 -variable is set. Using list-reply will in this case also make sure
29168 -that the reply goes to the mailing list, even if it's not specified
29169 -in the list of recipients in the <CODE>Mail-Followup-To</CODE>.</P>
29170 -<P>Note that, when header editing is enabled, you can create a
29171 -<CODE>Mail-Followup-To</CODE> header manually. Mutt will only auto-generate
29172 -this header if it doesn't exist when you send the message.</P>
29174 -<P>The other method some mailing list admins use is to generate a
29175 -``Reply-To'' field which points back to the mailing list address rather
29176 -than the author of the message. This can create problems when trying
29177 -to reply directly to the author in private, since most mail clients
29178 -will automatically reply to the address given in the ``Reply-To''
29179 -field. Mutt uses the
29180 -<A HREF="manual-6.html#reply_to">$reply_to</A>
29181 -variable to help decide which address to use. If set, you will be
29182 -prompted as to whether or not you would like to use the address given in
29183 -the ``Reply-To'' field, or reply directly to the address given in the
29184 -``From'' field. When unset, the ``Reply-To'' field will be used when
29186 -<P>The ``X-Label:'' header field can be used to further identify mailing
29187 -lists or list subject matter (or just to annotate messages
29188 -individually). The
29189 -<A HREF="manual-6.html#index_format">$index_format</A> variable's ``%y'' and
29190 -``%Y'' escapes can be used to expand ``X-Label:'' fields in the
29191 -index, and Mutt's pattern-matcher can match regular expressions to
29192 -``X-Label:'' fields with the `` y'' selector. ``X-Label:'' is not a
29193 -standard message header field, but it can easily be inserted by procmail
29194 -and other mail filtering agents.</P>
29195 -<P>Lastly, Mutt has the ability to
29196 -<A HREF="manual-6.html#sort">sort</A> the mailbox into
29197 -<A HREF="manual-2.html#threads">threads</A>. A thread is a group of messages which all relate to the same
29198 -subject. This is usually organized into a tree-like structure where a
29199 -message and all of its replies are represented graphically. If you've ever
29200 -used a threaded news client, this is the same concept. It makes dealing
29201 -with large volume mailing lists easier because you can easily delete
29202 -uninteresting threads and quickly find topics of value.</P>
29204 -<H2><A NAME="ss4.9">4.9</A> <A HREF="manual.html#toc4.9">Delivery Status Notification (DSN) Support</A>
29207 -<P>RFC1894 defines a set of MIME content types for relaying information
29208 -about the status of electronic mail messages. These can be thought of as
29209 -``return receipts.'' Berkeley sendmail 8.8.x currently has some command
29210 -line options in which the mail client can make requests as to what type
29211 -of status messages should be returned.</P>
29212 -<P>To support this, there are two variables.
29213 -<A HREF="manual-6.html#dsn_notify">$dsn_notify</A> is used to request receipts for
29214 -different results (such as failed message, message delivered, etc.).
29215 -<A HREF="manual-6.html#dsn_return">$dsn_return</A> requests how much
29216 -of your message should be returned with the receipt (headers or full
29217 -message). Refer to the man page on sendmail for more details on DSN.</P>
29219 -<H2><A NAME="ss4.10">4.10</A> <A HREF="manual.html#toc4.10">POP3 Support (OPTIONAL)</A>
29223 -<P>If Mutt was compiled with POP3 support (by running the <EM>configure</EM>
29224 -script with the <EM>--enable-pop</EM> flag), it has the ability to work
29225 -with mailboxes located on a remote POP3 server and fetch mail for local
29227 -<P>You can access the remote POP3 mailbox by selecting the folder
29228 -<CODE>pop://popserver/</CODE>.</P>
29229 -<P>You can select an alternative port by specifying it with the server, ie:
29230 -<CODE>pop://popserver:port/</CODE>.</P>
29231 -<P>You can also specify different username for each folder, ie:
29232 -<CODE>pop://username@popserver[:port]/</CODE>.</P>
29233 -<P>Polling for new mail is more expensive over POP3 than locally. For this
29234 -reason the frequency at which Mutt will check for mail remotely can be
29236 -<A HREF="manual-6.html#pop_checkinterval">$pop_checkinterval</A>
29237 -variable, which defaults to every 60 seconds.</P>
29238 -<P>If Mutt was compiled with SSL support (by running the <EM>configure</EM>
29239 -script with the <EM>--with-ssl</EM> flag), connections to POP3 servers
29240 -can be encrypted. This naturally requires that the server supports
29241 -SSL encrypted connections. To access a folder with POP3/SSL, you should
29242 -use pops: prefix, ie:
29243 -<CODE>pops://[username@]popserver[:port]/</CODE>.</P>
29244 -<P>Another way to access your POP3 mail is the <EM>fetch-mail</EM> function
29245 -(default: G). It allows to connect to
29246 -<A HREF="manual-6.html#pop_host">pop_host</A>, fetch all your new mail and place it in the
29248 -<A HREF="manual-6.html#spoolfile">spoolfile</A>. After this
29249 -point, Mutt runs exactly as if the mail had always been local.</P>
29250 -<P><B>Note:</B> If you only need to fetch all messages to local mailbox
29251 -you should consider using a specialized program, such as
29252 -<A HREF="http://www.ccil.org/~esr/fetchmail">fetchmail</A></P>
29254 -<H2><A NAME="ss4.11">4.11</A> <A HREF="manual.html#toc4.11">IMAP Support (OPTIONAL)</A>
29258 -<P>If Mutt was compiled with IMAP support (by running the <EM>configure</EM>
29259 -script with the <EM>--enable-imap</EM> flag), it has the ability to work
29260 -with folders located on a remote IMAP server.</P>
29261 -<P>You can access the remote inbox by selecting the folder
29262 -<CODE>imap://imapserver/INBOX</CODE>, where <CODE>imapserver</CODE> is the name of the
29263 -IMAP server and <CODE>INBOX</CODE> is the special name for your spool mailbox on
29264 -the IMAP server. If you want to access another mail folder at the IMAP
29265 -server, you should use <CODE>imap://imapserver/path/to/folder</CODE> where
29266 -<CODE>path/to/folder</CODE> is the path of the folder you want to access.</P>
29267 -<P>You can select an alternative port by specifying it with the server, ie:
29268 -<CODE>imap://imapserver:port/INBOX</CODE>.</P>
29269 -<P>You can also specify different username for each folder, ie:
29270 -<CODE>imap://username@imapserver[:port]/INBOX</CODE>.</P>
29271 -<P>If Mutt was compiled with SSL support (by running the <EM>configure</EM>
29272 -script with the <EM>--with-ssl</EM> flag), connections to IMAP servers
29273 -can be encrypted. This naturally requires that the server supports
29274 -SSL encrypted connections. To access a folder with IMAP/SSL, you should
29275 -use <CODE>imaps://[username@]imapserver[:port]/path/to/folder</CODE> as your
29277 -<P>Pine-compatible notation is also supported, ie
29278 -<CODE>{[username@]imapserver[:port][/ssl]}path/to/folder</CODE></P>
29279 -<P>Note that not all servers use / as the hierarchy separator. Mutt should
29280 -correctly notice which separator is being used by the server and convert
29281 -paths accordingly.</P>
29282 -<P>When browsing folders on an IMAP server, you can toggle whether to look
29283 -at only the folders you are subscribed to, or all folders with the
29284 -<EM>toggle-subscribed</EM> command. See also the
29285 -<A HREF="manual-6.html#imap_list_subscribed">$imap_list_subscribed</A> variable.</P>
29286 -<P>Polling for new mail on an IMAP server can cause noticeable delays. So, you'll
29287 -want to carefully tune the
29288 -<A HREF="manual-6.html#mail_check">$mail_check</A>
29290 -<A HREF="manual-6.html#timeout">$timeout</A>
29291 -variables. Personally I use
29292 -<BLOCKQUOTE><CODE>
29297 -</CODE></BLOCKQUOTE>
29299 -with relatively good results over my slow modem line.</P>
29300 -<P>Note that if you are using mbox as the mail store on UW servers prior to
29301 -v12.250, the server has been reported to disconnect a client if another client
29302 -selects the same folder.</P>
29304 -<H3>The Folder Browser</H3>
29307 -<P>As of version 1.2, mutt supports browsing mailboxes on an IMAP
29308 -server. This is mostly the same as the local file browser, with the
29309 -following differences:
29311 -<LI>In lieu of file permissions, mutt displays the string "IMAP",
29312 -possibly followed by the symbol "+", indicating
29313 -that the entry contains both messages and subfolders. On
29314 -Cyrus-like servers folders will often contain both messages and
29316 -<LI>For the case where an entry can contain both messages and
29317 -subfolders, the selection key (bound to <CODE>enter</CODE> by default)
29318 -will choose to descend into the subfolder view. If you wish to view
29319 -the messages in that folder, you must use <CODE>view-file</CODE> instead
29320 -(bound to <CODE>space</CODE> by default).</LI>
29321 -<LI>You can delete mailboxes with the <CODE>delete-mailbox</CODE>
29322 -command (bound to <CODE>d</CODE> by default. You may also
29323 -<CODE>subscribe</CODE> and <CODE>unsubscribe</CODE> to mailboxes (normally
29324 -these are bound to <CODE>s</CODE> and <CODE>u</CODE>, respectively).</LI>
29328 -<H3>Authentication</H3>
29331 -<P>Mutt supports four authentication methods with IMAP servers: SASL,
29332 -GSSAPI, CRAM-MD5, and LOGIN (there is a patch by Grant Edwards to add
29333 -NTLM authentication for you poor exchange users out there, but it has
29334 -yet to be integrated into the main tree). There is also support for
29335 -the pseudo-protocol ANONYMOUS, which allows you to log in to a public
29336 -IMAP server without having an account. To use ANONYMOUS, simply make
29337 -your username blank or "anonymous".</P>
29338 -<P>SASL is a special super-authenticator, which selects among several protocols
29339 -(including GSSAPI, CRAM-MD5, ANONYMOUS, and DIGEST-MD5) the most secure
29340 -method available on your host and the server. Using some of these methods
29341 -(including DIGEST-MD5 and possibly GSSAPI), your entire session will be
29342 -encrypted and invisible to those teeming network snoops. It is the best
29343 -option if you have it. To use it, you must have the Cyrus SASL library
29344 -installed on your system and compile mutt with the <EM>--with-sasl</EM> flag.</P>
29345 -<P>Mutt will try whichever methods are compiled in and available on the server,
29346 -in the following order: SASL, ANONYMOUS, GSSAPI, CRAM-MD5, LOGIN.</P>
29347 -<P>There are a few variables which control authentication:
29350 -<A HREF="manual-6.html#imap_user">$imap_user</A> - controls
29351 -the username under which you request authentication on the IMAP server,
29352 -for all authenticators. This is overridden by an explicit username in
29353 -the mailbox path (ie by using a mailbox name of the form
29354 -<CODE>{user@host}</CODE>).</LI>
29356 -<A HREF="manual-6.html#imap_pass">$imap_pass</A> - a
29357 -password which you may preset, used by all authentication methods where
29358 -a password is needed.</LI>
29360 -<A HREF="manual-6.html#imap_authenticators">$imap_authenticators</A> - a colon-delimited list of IMAP
29361 -authentication methods to try, in the order you wish to try them. If
29362 -specified, this overrides mutt's default (attempt everything, in the order
29363 -listed above).</LI>
29367 -<H2><A NAME="account-hook"></A> <A NAME="ss4.12">4.12</A> <A HREF="manual.html#toc4.12">Managing multiple IMAP/POP accounts (OPTIONAL)</A>
29371 -<P>If you happen to have accounts on multiple IMAP and/or POP servers,
29372 -you may find managing all the authentication settings inconvenient and
29373 -error-prone. The account-hook command may help. This hook works like
29374 -folder-hook but is invoked whenever you access a remote mailbox
29375 -(including inside the folder browser), not just when you open the
29377 -<P>Some examples:</P>
29379 -<BLOCKQUOTE><CODE>
29381 -account-hook . 'unset imap_user; unset imap_pass; unset tunnel'
29382 -account-hook imap://host1/ 'set imap_user=me1 imap_pass=foo'
29383 -account-hook imap://host2/ 'set tunnel="ssh host2 /usr/libexec/imapd"'
29385 -</CODE></BLOCKQUOTE>
29388 -<H2><A NAME="urlview"></A> <A NAME="ss4.13">4.13</A> <A HREF="manual.html#toc4.13">Start a WWW Browser on URLs (EXTERNAL)</A>
29391 -<P>If a message contains URLs (<EM>unified ressource locator</EM> = address in the
29392 -WWW space like <EM>http://www.mutt.org/</EM>), it is efficient to get
29393 -a menu with all the URLs and start a WWW browser on one of them. This
29394 -functionality is provided by the external urlview program which can be
29396 -<A HREF="ftp://ftp.guug.de/pub/mutt/contrib/">ftp://ftp.guug.de/pub/mutt/contrib/</A> and the configuration commands:
29397 -<BLOCKQUOTE><CODE>
29399 -macro index \cb |urlview\n
29400 -macro pager \cb |urlview\n
29402 -</CODE></BLOCKQUOTE>
29405 -<H2><A NAME="ss4.14">4.14 Compressed folders Support (OPTIONAL)</A>
29409 -<P>If Mutt was compiled with compressed folders support (by running the
29410 -<EM>configure</EM> script with the <EM>--enable-compressed</EM> flag), Mutt
29411 -can open folders stored in an arbitrary format, provided that the user
29412 -has a script to convert from/to this format to one of the accepted.</P>
29413 -<P>The most common use is to open compressed archived folders e.g. with
29415 -<P>In addition, the user can provide a script that gets a folder in an
29416 -accepted format and appends its context to the folder in the
29417 -user-defined format, which may be faster than converting the entire
29418 -folder to the accepted format, appending to it and converting back to
29419 -the user-defined format.</P>
29420 -<P>There are three hooks defined (
29421 -<A HREF="#open-hook">open-hook</A>,
29422 -<A HREF="#close-hook">close-hook</A> and
29423 -<A HREF="#append-hook">append-hook</A>) which define commands to uncompress and compress
29424 -a folder and to append messages to an existing compressed folder
29426 -<P>For example:</P>
29428 -<BLOCKQUOTE><CODE>
29430 -open-hook \\.gz$ "gzip -cd %f > %t"
29431 -close-hook \\.gz$ "gzip -c %t > %f"
29432 -append-hook \\.gz$ "gzip -c %t >> %f"
29434 -</CODE></BLOCKQUOTE>
29436 -<P>You do not have to specify all of the commands. If you omit
29437 -<A HREF="#append-hook">append-hook</A>, the folder will be open and
29438 -closed again each time you will add to it. If you omit
29439 -<A HREF="#close-hook">close-hook</A> (or give empty command) , the
29440 -folder will be open in the mode. If you specify
29441 -<A HREF="#append-hook">append-hook</A> though you'll be able to append
29442 -to the folder.</P>
29443 -<P>Note that Mutt will only try to use hooks if the file is not in one of
29444 -the accepted formats. In particular, if the file is empty, mutt
29445 -supposes it is not compressed. This is important because it allows the
29446 -use of programs that do not have well defined extensions. Just use
29447 -"." as a regexp. But this may be surprising if your
29448 -compressing script produces empty files. In this situation, unset
29449 -<A HREF="manual-6.html#save_empty">$save_empty</A>, so that the compressed file
29450 -will be removed if you delete all of the messages.</P>
29452 -<H3><A NAME="open-hook"></A> Open a compressed mailbox for reading</H3>
29454 -<P>Usage: <CODE>open-hook</CODE> <EM>regexp</EM> "<EM>command</EM>"</P><HR>
29456 -<A HREF="manual-5.html">Next</A>
29457 -<A HREF="manual-3.html">Previous</A>
29458 -<A HREF="manual.html#toc4">Contents</A>
29461 diff -uNr mutt-1.4.orig/doc/manual-5.html mutt-1.4/doc/manual-5.html
29462 --- mutt-1.4.orig/doc/manual-5.html Wed May 29 11:29:56 2002
29463 +++ mutt-1.4/doc/manual-5.html Thu Jan 1 01:00:00 1970
29465 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
29468 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
29469 - <TITLE>The Mutt E-Mail Client: Mutt's MIME Support</TITLE>
29470 - <LINK HREF="manual-6.html" REL=next>
29471 - <LINK HREF="manual-4.html" REL=previous>
29472 - <LINK HREF="manual.html#toc5" REL=contents>
29475 -<A HREF="manual-6.html">Next</A>
29476 -<A HREF="manual-4.html">Previous</A>
29477 -<A HREF="manual.html#toc5">Contents</A>
29479 -<H2><A NAME="s5">5.</A> <A HREF="manual.html#toc5">Mutt's MIME Support</A></H2>
29481 -<P>Quite a bit of effort has been made to make Mutt the premier text-mode
29482 -MIME MUA. Every effort has been made to provide the functionality that
29483 -the discerning MIME user requires, and the conformance to the standards
29484 -wherever possible. When configuring Mutt for MIME, there are two extra
29485 -types of configuration files which Mutt uses. One is the
29486 -<CODE>mime.types</CODE> file, which contains the mapping of file extensions to
29487 -IANA MIME types. The other is the <CODE>mailcap</CODE> file, which specifies
29488 -the external commands to use for handling specific MIME types.</P>
29490 -<H2><A NAME="ss5.1">5.1</A> <A HREF="manual.html#toc5.1">Using MIME in Mutt</A>
29493 -<P>There are three areas/menus in Mutt which deal with MIME, they are the
29494 -pager (while viewing a message), the attachment menu and the compose
29497 -<H3>Viewing MIME messages in the pager</H3>
29499 -<P>When you select a message from the index and view it in the pager, Mutt
29500 -decodes the message to a text representation. Mutt internally supports
29501 -a number of MIME types, including <CODE>text/plain, text/enriched,
29502 -message/rfc822, and message/news</CODE>. In addition, the export
29503 -controlled version of Mutt recognizes a variety of PGP MIME types,
29504 -including PGP/MIME and application/pgp.</P>
29505 -<P>Mutt will denote attachments with a couple lines describing them.
29506 -These lines are of the form:
29507 -<BLOCKQUOTE><CODE>
29509 -[-- Attachment #1: Description --]
29510 -[-- Type: text/plain, Encoding: 7bit, Size: 10000 --]
29512 -</CODE></BLOCKQUOTE>
29514 -Where the <CODE>Description</CODE> is the description or filename given for the
29515 -attachment, and the <CODE>Encoding</CODE> is one of
29516 -<CODE>7bit/8bit/quoted-printable/base64/binary</CODE>.</P>
29517 -<P>If Mutt cannot deal with a MIME type, it will display a message like:
29518 -<BLOCKQUOTE><CODE>
29520 -[-- image/gif is unsupported (use 'v' to view this part) --]
29522 -</CODE></BLOCKQUOTE>
29525 -<H3><A NAME="attach_menu"></A> The Attachment Menu</H3>
29527 -<P>The default binding for <CODE>view-attachments</CODE> is `v', which displays the
29528 -attachment menu for a message. The attachment menu displays a list of
29529 -the attachments in a message. From the attachment menu, you can save,
29530 -print, pipe, delete, and view attachments. You can apply these
29531 -operations to a group of attachments at once, by tagging the attachments
29532 -and by using the ``tag-prefix'' operator. You can also reply to the
29533 -current message from this menu, and only the current attachment (or the
29534 -attachments tagged) will be quoted in your reply. You can view
29535 -attachments as text, or view them using the mailcap viewer definition.</P>
29536 -<P>Finally, you can apply the usual message-related functions (like
29537 -<A HREF="manual-2.html#resend-message">resend-message</A>, and the reply
29538 -and forward functions) to attachments of type <CODE>message/rfc822</CODE>.</P>
29539 -<P>See the help on the attachment menu for more information.</P>
29541 -<H3><A NAME="compose_menu"></A> The Compose Menu</H3>
29543 -<P>The compose menu is the menu you see before you send a message. It
29544 -allows you to edit the recipient list, the subject, and other aspects
29545 -of your message. It also contains a list of the attachments of your
29546 -message, including the main body. From this menu, you can print, copy,
29547 -filter, pipe, edit, compose, review, and rename an attachment or a
29548 -list of tagged attachments. You can also modifying the attachment
29549 -information, notably the type, encoding and description.</P>
29550 -<P>Attachments appear as follows:
29552 -- 1 [text/plain, 7bit, 1K] /tmp/mutt-euler-8082-0 <no description>
29553 - 2 [applica/x-gunzip, base64, 422K] ~/src/mutt-0.85.tar.gz <no description>
29556 -<P>The '-' denotes that Mutt will delete the file after sending (or
29557 -postponing, or cancelling) the message. It can be toggled with the
29558 -<CODE>toggle-unlink</CODE> command (default: u). The next field is the MIME
29559 -content-type, and can be changed with the <CODE>edit-type</CODE> command
29560 -(default: ^T). The next field is the encoding for the attachment,
29561 -which allows a binary message to be encoded for transmission on 7bit
29562 -links. It can be changed with the <CODE>edit-encoding</CODE> command
29563 -(default: ^E). The next field is the size of the attachment,
29564 -rounded to kilobytes or megabytes. The next field is the filename,
29565 -which can be changed with the <CODE>rename-file</CODE> command (default: R).
29566 -The final field is the description of the attachment, and can be
29567 -changed with the <CODE>edit-description</CODE> command (default: d).</P>
29569 -<H2><A NAME="ss5.2">5.2</A> <A HREF="manual.html#toc5.2">MIME Type configuration with <CODE>mime.types</CODE></A>
29572 -<P>When you add an attachment to your mail message, Mutt searches your
29573 -personal mime.types file at <CODE>${HOME}/.mime.types</CODE>, and then
29574 -the system mime.types file at <CODE>/usr/local/share/mutt/mime.types</CODE> or
29575 -<CODE>/etc/mime.types</CODE></P>
29576 -<P>The mime.types file consist of lines containing a MIME type and a space
29577 -separated list of extensions. For example:
29578 -<BLOCKQUOTE><CODE>
29580 -application/postscript ps eps
29581 -application/pgp pgp
29582 -audio/x-aiff aif aifc aiff
29584 -</CODE></BLOCKQUOTE>
29586 -A sample <CODE>mime.types</CODE> file comes with the Mutt distribution, and
29587 -should contain most of the MIME types you are likely to use. </P>
29588 -<P>If Mutt can not determine the mime type by the extension of the file you
29589 -attach, it will look at the file. If the file is free of binary
29590 -information, Mutt will assume that the file is plain text, and mark it
29591 -as <CODE>text/plain</CODE>. If the file contains binary information, then Mutt will
29592 -mark it as <CODE>application/octet-stream</CODE>. You can change the MIME
29593 -type that Mutt assigns to an attachment by using the <CODE>edit-type</CODE>
29594 -command from the compose menu (default: ^T). The MIME type is actually a
29595 -major mime type followed by the sub-type, separated by a '/'. 6 major
29596 -types: application, text, image, video, audio, and model have been approved
29597 -after various internet discussions. Mutt recognises all of these if the
29598 -appropriate entry is found in the mime.types file. It also recognises other
29599 -major mime types, such as the chemical type that is widely used in the
29600 -molecular modelling community to pass molecular data in various forms to
29601 -various molecular viewers. Non-recognised mime types should only be used
29602 -if the recipient of the message is likely to be expecting such attachments.</P>
29604 -<H2><A NAME="ss5.3">5.3</A> <A HREF="manual.html#toc5.3">MIME Viewer configuration with <CODE>mailcap</CODE></A>
29607 -<P>Mutt supports RFC 1524 MIME Configuration, in particular the Unix
29608 -specific format specified in Appendix A of RFC 1524. This file format
29609 -is commonly referred to as the mailcap format. Many MIME compliant
29610 -programs utilize the mailcap format, allowing you to specify handling
29611 -for all MIME types in one place for all programs. Programs known to
29612 -use this format include Netscape, XMosaic, lynx and metamail.</P>
29613 -<P>In order to handle various MIME types that Mutt can not handle
29614 -internally, Mutt parses a series of external configuration files to
29615 -find an external handler. The default search string for these files
29616 -is a colon delimited list set to
29617 -<BLOCKQUOTE><CODE>
29619 -${HOME}/.mailcap:/usr/local/share/mutt/mailcap:/etc/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
29621 -</CODE></BLOCKQUOTE>
29623 -where <CODE>$HOME</CODE> is your home directory.</P>
29624 -<P>In particular, the metamail distribution will install a mailcap file,
29625 -usually as <CODE>/usr/local/etc/mailcap</CODE>, which contains some baseline
29628 -<H3>The Basics of the mailcap file</H3>
29630 -<P>A mailcap file consists of a series of lines which are comments, blank,
29631 -or definitions.</P>
29632 -<P>A comment line consists of a # character followed by anything you want.</P>
29633 -<P>A blank line is blank.</P>
29634 -<P>A definition line consists of a content type, a view command, and any
29635 -number of optional fields. Each field of a definition line is divided
29636 -by a semicolon ';' character.</P>
29637 -<P>The content type is specified in the MIME standard type/subtype method.
29639 -<CODE>text/plain, text/html, image/gif, </CODE>
29640 -etc. In addition, the mailcap format includes two formats for
29641 -wildcards, one using the special '*' subtype, the other is the implicit
29642 -wild, where you only include the major type. For example, <CODE>image/*</CODE>, or
29643 -<CODE>video,</CODE> will match all image types and video types,
29645 -<P>The view command is a Unix command for viewing the type specified. There
29646 -are two different types of commands supported. The default is to send
29647 -the body of the MIME message to the command on stdin. You can change
29648 -this behaviour by using %s as a parameter to your view command.
29649 -This will cause Mutt to save the body of the MIME message to a temporary
29650 -file, and then call the view command with the %s replaced by
29651 -the name of the temporary file. In both cases, Mutt will turn over the
29652 -terminal to the view program until the program quits, at which time Mutt
29653 -will remove the temporary file if it exists.</P>
29654 -<P>So, in the simplest form, you can send a text/plain message to the
29655 -external pager more on stdin:
29656 -<BLOCKQUOTE><CODE>
29660 -</CODE></BLOCKQUOTE>
29662 -Or, you could send the message as a file:
29663 -<BLOCKQUOTE><CODE>
29665 -text/plain; more %s
29667 -</CODE></BLOCKQUOTE>
29669 -Perhaps you would like to use lynx to interactively view a text/html
29671 -<BLOCKQUOTE><CODE>
29673 -text/html; lynx %s
29675 -</CODE></BLOCKQUOTE>
29677 -In this case, lynx does not support viewing a file from stdin, so you
29678 -must use the %s syntax.
29679 -<B>Note:</B> <EM>Some older versions of lynx contain a bug where they
29680 -will check the mailcap file for a viewer for text/html. They will find
29681 -the line which calls lynx, and run it. This causes lynx to continuously
29682 -spawn itself to view the object.</EM></P>
29683 -<P>On the other hand, maybe you don't want to use lynx interactively, you
29684 -just want to have it convert the text/html to text/plain, then you can
29686 -<BLOCKQUOTE><CODE>
29688 -text/html; lynx -dump %s | more
29690 -</CODE></BLOCKQUOTE>
29692 -<P>Perhaps you wish to use lynx to view text/html files, and a pager on
29693 -all other text formats, then you would use the following:
29694 -<BLOCKQUOTE><CODE>
29696 -text/html; lynx %s
29699 -</CODE></BLOCKQUOTE>
29701 -This is the simplest form of a mailcap file.</P>
29703 -<H3>Secure use of mailcap</H3>
29705 -<P>The interpretion of shell meta-characters embedded in MIME parameters
29706 -can lead to security problems in general. Mutt tries to quote parameters
29707 -in expansion of %s syntaxes properly, and avoids risky characters by
29708 -substituting them, see the
29709 -<A HREF="manual-6.html#mailcap_sanitize">mailcap_sanitize</A> variable.</P>
29710 -<P>Although mutt's procedures to invoke programs with mailcap seem to be
29711 -safe, there are other applications parsing mailcap, maybe taking less care
29712 -of it. Therefore you should pay attention to the following rules:</P>
29713 -<P><EM>Keep the %-expandos away from shell quoting.</EM>
29714 -Don't quote them with single or double quotes. Mutt does this for
29715 -you, the right way, as should any other program which interprets
29716 -mailcap. Don't put them into backtick expansions. Be highly careful
29717 -with eval statements, and avoid them if possible at all. Trying to fix
29718 -broken behaviour with quotes introduces new leaks - there is no
29719 -alternative to correct quoting in the first place.</P>
29720 -<P>If you have to use the %-expandos' values in context where you need
29721 -quoting or backtick expansions, put that value into a shell variable
29722 -and reference the shell variable where necessary, as in the following
29723 -example (using <CODE>$charset</CODE> inside the backtick expansion is safe,
29724 -since it is not itself subject to any further expansion):</P>
29726 -<BLOCKQUOTE><CODE>
29728 -text/test-mailcap-bug; cat %s; copiousoutput; test=charset=%{charset} \
29729 - && test "`echo $charset | tr '[A-Z]' '[a-z]'`" != iso-8859-1
29731 -</CODE></BLOCKQUOTE>
29734 -<H3>Advanced mailcap Usage</H3>
29738 -<H3>Optional Fields</H3>
29740 -<P>In addition to the required content-type and view command fields, you
29741 -can add semi-colon ';' separated fields to set flags and other options.
29742 -Mutt recognizes the following optional fields:
29744 -<DT><B>copiousoutput</B><DD><P>This flag tells Mutt that the command passes possibly large amounts of
29745 -text on stdout. This causes Mutt to invoke a pager (either the internal
29746 -pager or the external pager defined by the pager variable) on the output
29747 -of the view command. Without this flag, Mutt assumes that the command
29748 -is interactive. One could use this to replace the pipe to <CODE>more</CODE>
29749 -in the <CODE>lynx -dump</CODE> example in the Basic section:
29750 -<BLOCKQUOTE><CODE>
29752 -text/html; lynx -dump %s ; copiousoutput
29754 -</CODE></BLOCKQUOTE>
29756 -This will cause lynx to format the text/html output as text/plain
29757 -and Mutt will use your standard pager to display the results.</P>
29758 -<DT><B>needsterminal</B><DD><P>Mutt uses this flag when viewing attachments with
29759 -<A HREF="#auto_view">autoview</A>, in order to decide whether it should honor the setting
29761 -<A HREF="manual-6.html#wait_key">$wait_key</A> variable or
29762 -not. When an attachment is viewed using an interactive program, and the
29763 -corresponding mailcap entry has a <EM>needsterminal</EM> flag, Mutt will use
29764 -<A HREF="manual-6.html#wait_key">$wait_key</A> and the exit status
29765 -of the program to decide if it will ask you to press a key after the
29766 -external program has exited. In all other situations it will not prompt
29767 -you for a key.</P>
29768 -<DT><B>compose=<command></B><DD><P>This flag specifies the command to use to create a new attachment of a
29769 -specific MIME type. Mutt supports this from the compose menu.</P>
29770 -<DT><B>composetyped=<command></B><DD><P>This flag specifies the command to use to create a new attachment of a
29771 -specific MIME type. This command differs from the compose command in
29772 -that mutt will expect standard MIME headers on the data. This can be
29773 -used to specify parameters, filename, description, etc. for a new
29774 -attachment. Mutt supports this from the compose menu.</P>
29775 -<DT><B>print=<command></B><DD><P>This flag specifies the command to use to print a specific MIME type.
29776 -Mutt supports this from the attachment and compose menus.</P>
29777 -<DT><B>edit=<command></B><DD><P>This flag specifies the command to use to edit a specific MIME type.
29778 -Mutt supports this from the compose menu, and also uses it to compose
29779 -new attachments. Mutt will default to the defined editor for text
29781 -<DT><B>nametemplate=<template></B><DD><P>This field specifies the format for the file denoted by %s in the
29782 -command fields. Certain programs will require a certain file extension,
29783 -for instance, to correctly view a file. For instance, lynx will only
29784 -interpret a file as <CODE>text/html</CODE> if the file ends in <CODE>.html</CODE>.
29785 -So, you would specify lynx as a <CODE>text/html</CODE> viewer with a line in
29786 -the mailcap file like:
29787 -<BLOCKQUOTE><CODE>
29789 -text/html; lynx %s; nametemplate=%s.html
29791 -</CODE></BLOCKQUOTE>
29793 -<DT><B>test=<command></B><DD><P>This field specifies a command to run to test whether this mailcap
29794 -entry should be used. The command is defined with the command expansion
29795 -rules defined in the next section. If the command returns 0, then the
29796 -test passed, and Mutt uses this entry. If the command returns non-zero,
29797 -then the test failed, and Mutt continues searching for the right entry.
29798 -<B>Note:</B> <EM>the content-type must match before Mutt performs the test.</EM>
29800 -<BLOCKQUOTE><CODE>
29802 -text/html; netscape -remote 'openURL(%s)' ; test=RunningX
29803 -text/html; lynx %s
29805 -</CODE></BLOCKQUOTE>
29807 -In this example, Mutt will run the program RunningX which will return 0
29808 -if the X Window manager is running, and non-zero if it isn't. If
29809 -RunningX returns 0, then Mutt will call netscape to display the
29810 -text/html object. If RunningX doesn't return 0, then Mutt will go on
29811 -to the next entry and use lynx to display the text/html object.</P>
29815 -<H3>Search Order</H3>
29817 -<P>When searching for an entry in the mailcap file, Mutt will search for
29818 -the most useful entry for its purpose. For instance, if you are
29819 -attempting to print an <CODE>image/gif</CODE>, and you have the following
29820 -entries in your mailcap file, Mutt will search for an entry with the
29822 -<BLOCKQUOTE><CODE>
29825 -image/gif; ; print= anytopnm %s | pnmtops | lpr; \
29826 - nametemplate=%s.gif
29828 -</CODE></BLOCKQUOTE>
29830 -Mutt will skip the <CODE>image/*</CODE> entry and use the <CODE>image/gif</CODE>
29831 -entry with the print command.</P>
29832 -<P>In addition, you can use this with
29833 -<A HREF="#auto_view">Autoview</A>
29834 -to denote two commands for viewing an attachment, one to be viewed
29835 -automatically, the other to be viewed interactively from the attachment
29836 -menu. In addition, you can then use the test feature to determine which
29837 -viewer to use interactively depending on your environment.
29838 -<BLOCKQUOTE><CODE>
29840 -text/html; netscape -remote 'openURL(%s)' ; test=RunningX
29841 -text/html; lynx %s; nametemplate=%s.html
29842 -text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
29844 -</CODE></BLOCKQUOTE>
29847 -<A HREF="#auto_view">Autoview</A>, Mutt will choose the third
29848 -entry because of the copiousoutput tag. For interactive viewing, Mutt
29849 -will run the program RunningX to determine if it should use the first
29850 -entry. If the program returns non-zero, Mutt will use the second entry
29851 -for interactive viewing.</P>
29853 -<H3>Command Expansion</H3>
29855 -<P>The various commands defined in the mailcap files are passed to the
29856 -<CODE>/bin/sh</CODE> shell using the system() function. Before the
29857 -command is passed to <CODE>/bin/sh -c</CODE>, it is parsed to expand
29858 -various special parameters with information from Mutt. The keywords
29861 -<DT><B>%s</B><DD><P>As seen in the basic mailcap section, this variable is expanded
29862 -to a filename specified by the calling program. This file contains
29863 -the body of the message to view/print/edit or where the composing
29864 -program should place the results of composition. In addition, the
29865 -use of this keyword causes Mutt to not pass the body of the message
29866 -to the view/print/edit program on stdin.</P>
29867 -<DT><B>%t</B><DD><P>Mutt will expand %t to the text representation of the content
29868 -type of the message in the same form as the first parameter of the
29869 -mailcap definition line, ie <CODE>text/html</CODE> or
29870 -<CODE>image/gif</CODE>.</P>
29871 -<DT><B>%{<parameter>}</B><DD><P>Mutt will expand this to the value of the specified parameter
29872 -from the Content-Type: line of the mail message. For instance, if
29873 -Your mail message contains:
29874 -<BLOCKQUOTE><CODE>
29876 -Content-Type: text/plain; charset=iso-8859-1
29878 -</CODE></BLOCKQUOTE>
29880 -then Mutt will expand %{charset} to iso-8859-1. The default metamail
29881 -mailcap file uses this feature to test the charset to spawn an xterm
29882 -using the right charset to view the message.</P>
29883 -<DT><B>\%</B><DD><P>This will be replaced by a %</P>
29886 -Mutt does not currently support the %F and %n keywords
29887 -specified in RFC 1524. The main purpose of these parameters is for
29888 -multipart messages, which is handled internally by Mutt.</P>
29890 -<H3>Example mailcap files</H3>
29892 -<P>This mailcap file is fairly simple and standard:
29895 -# I'm always running X :)
29896 -video/*; xanim %s > /dev/null
29897 -image/*; xv %s > /dev/null
29899 -# I'm always running netscape (if my computer had more memory, maybe)
29900 -text/html; netscape -remote 'openURL(%s)'
29904 -<P>This mailcap file shows quite a number of examples:</P>
29908 -# Use xanim to view all videos Xanim produces a header on startup,
29909 -# send that to /dev/null so I don't see it
29910 -video/*; xanim %s > /dev/null
29912 -# Send html to a running netscape by remote
29913 -text/html; netscape -remote 'openURL(%s)'; test=RunningNetscape
29915 -# If I'm not running netscape but I am running X, start netscape on the
29917 -text/html; netscape %s; test=RunningX
29919 -# Else use lynx to view it as text
29920 -text/html; lynx %s
29922 -# This version would convert the text/html to text/plain
29923 -text/html; lynx -dump %s; copiousoutput
29925 -# enriched.sh converts text/enriched to text/html and then uses
29926 -# lynx -dump to convert it to text/plain
29927 -text/enriched; enriched.sh ; copiousoutput
29929 -# I use enscript to print text in two columns to a page
29930 -text/*; more %s; print=enscript -2Gr %s
29932 -# Netscape adds a flag to tell itself to view jpegs internally
29933 -image/jpeg;xv %s; x-mozilla-flags=internal
29935 -# Use xv to view images if I'm running X
29936 -# In addition, this uses the \ to extend the line and set my editor
29938 -image/*;xv %s; test=RunningX; \
29941 -# Convert images to text using the netpbm tools
29942 -image/*; (anytopnm %s | pnmscale -xysize 80 46 | ppmtopgm | pgmtopbm |
29943 -pbmtoascii -1x2 ) 2>&1 ; copiousoutput
29945 -# Send excel spreadsheets to my NT box
29946 -application/ms-excel; open.pl %s
29951 -<H2><A NAME="auto_view"></A> <A NAME="ss5.4">5.4</A> <A HREF="manual.html#toc5.4">MIME Autoview</A>
29954 -<P>In addition to explicitly telling Mutt to view an attachment with the
29955 -MIME viewer defined in the mailcap file, Mutt has support for
29956 -automatically viewing MIME attachments while in the pager.</P>
29957 -<P>To work, you must define a viewer in the mailcap file which uses the
29958 -<CODE>copiousoutput</CODE> option to denote that it is non-interactive.
29959 -Usually, you also use the entry to convert the attachment to a text
29960 -representation which you can view in the pager.</P>
29961 -<P>You then use the <CODE>auto_view</CODE> muttrc command to list the
29962 -content-types that you wish to view automatically.</P>
29963 -<P>For instance, if you set auto_view to:
29964 -<BLOCKQUOTE><CODE>
29966 -auto_view text/html text/enriched application/x-gunzip application/postscript image/gif application/x-tar-gz
29968 -</CODE></BLOCKQUOTE>
29970 -<P>Mutt could use the following mailcap entries to automatically view
29971 -attachments of these types.
29972 -<BLOCKQUOTE><CODE>
29974 -text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
29975 -text/enriched; enriched.sh ; copiousoutput
29976 -image/*; anytopnm %s | pnmscale -xsize 80 -ysize 50 | ppmtopgm | pgmtopbm | pbmtoascii ; copiousoutput
29977 -application/x-gunzip; gzcat; copiousoutput
29978 -application/x-tar-gz; gunzip -c %s | tar -tf - ; copiousoutput
29979 -application/postscript; ps2ascii %s; copiousoutput
29981 -</CODE></BLOCKQUOTE>
29984 -<H2><A NAME="alternative_order"></A> <A NAME="ss5.5">5.5</A> <A HREF="manual.html#toc5.5">MIME Multipart/Alternative</A>
29987 -<P>Mutt has some heuristics for determining which attachment of a
29988 -multipart/alternative type to display. First, mutt will check the
29989 -alternative_order list to determine if one of the available types
29990 -is preferred. The alternative_order list consists of a number of
29991 -mimetypes in order, including support for implicit and explicit
29992 -wildcards, for example:
29993 -<BLOCKQUOTE><CODE>
29995 -alternative_order text/enriched text/plain text application/postscript image/*
29997 -</CODE></BLOCKQUOTE>
29999 -<P>Next, mutt will check if any of the types have a defined
30000 -<A HREF="#auto_view">auto_view</A>, and use that. Failing
30001 -that, Mutt will look for any text type. As a last attempt, mutt will
30002 -look for any type it knows how to handle.</P>
30005 -<A HREF="manual-6.html">Next</A>
30006 -<A HREF="manual-4.html">Previous</A>
30007 -<A HREF="manual.html#toc5">Contents</A>
30010 diff -uNr mutt-1.4.orig/doc/manual-6.html mutt-1.4/doc/manual-6.html
30011 --- mutt-1.4.orig/doc/manual-6.html Sun Nov 3 21:42:51 2002
30012 +++ mutt-1.4/doc/manual-6.html Thu Jan 1 01:00:00 1970
30014 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
30017 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
30018 - <TITLE>The Mutt E-Mail Client: Reference</TITLE>
30019 - <LINK HREF="manual-7.html" REL=next>
30020 - <LINK HREF="manual-5.html" REL=previous>
30021 - <LINK HREF="manual.html#toc6" REL=contents>
30024 -<A HREF="manual-7.html">Next</A>
30025 -<A HREF="manual-5.html">Previous</A>
30026 -<A HREF="manual.html#toc6">Contents</A>
30028 -<H2><A NAME="s6">6.</A> <A HREF="manual.html#toc6">Reference</A></H2>
30030 -<H2><A NAME="commandline"></A> <A NAME="ss6.1">6.1</A> <A HREF="manual.html#toc6.1">Command line options</A>
30033 -<P>Running <CODE>mutt</CODE> with no arguments will make Mutt attempt to read your spool
30034 -mailbox. However, it is possible to read other mailboxes and
30035 -to send messages from the command line as well.</P>
30037 -<BLOCKQUOTE><CODE>
30039 --a attach a file to a message
30040 --b specify a blind carbon-copy (BCC) address
30041 --c specify a carbon-copy (Cc) address
30042 --e specify a config command to be run after initilization files are read
30043 --f specify a mailbox to load
30044 --F specify an alternate file to read initialization commands
30045 --h print help on command line options
30046 --H specify a draft file from which to read a header and body
30047 --i specify a file to include in a message composition
30048 --m specify a default mailbox type
30049 --n do not read the system Muttrc
30050 --p recall a postponed message
30051 --R open mailbox in read-only mode
30052 --s specify a subject (enclose in quotes if it contains spaces)
30053 --v show version number and compile-time definitions
30054 --x simulate the mailx(1) compose mode
30055 --y show a menu containing the files specified by the mailboxes command
30056 --z exit immediately if there are no messages in the mailbox
30057 --Z open the first folder with new message,exit immediately if none
30059 -</CODE></BLOCKQUOTE>
30061 -<P>To read messages in a mailbox</P>
30062 -<P><CODE>mutt</CODE> [ -nz ] [ -F <EM>muttrc</EM> ] [ -m <EM>type</EM> ] [ -f <EM>mailbox</EM> ] </P>
30063 -<P>To compose a new message</P>
30064 -<P><CODE>mutt</CODE> [ -n ] [ -F <EM>muttrc</EM> ] [ -a <EM>file</EM> ] [ -c <EM>address</EM> ] [ -i <EM>filename</EM> ] [ -s <EM>subject</EM> ] <EM>address</EM> [ <EM>address</EM> ... ] </P>
30065 -<P>Mutt also supports a ``batch'' mode to send prepared messages. Simply redirect
30066 -input from the file you wish to send. For example,</P>
30067 -<P><CODE>mutt -s "data set for run #2" professor@bigschool.edu
30068 -< ~/run2.dat</CODE></P>
30069 -<P>This command will send a message to ``professor@bigschool.edu'' with a subject
30070 -of ``data set for run #2''. In the body of the message will be the contents
30071 -of the file ``~/run2.dat''.</P>
30073 -<H2><A NAME="commands"></A> <A NAME="ss6.2">6.2</A> <A HREF="manual.html#toc6.2">Configuration Commands</A>
30076 -<P>The following are the commands understood by mutt.</P>
30080 -<A HREF="manual-4.html#account-hook">account-hook</A></CODE> <EM>pattern</EM> <EM>command</EM></LI>
30082 -<A HREF="manual-3.html#alias">alias</A></CODE> <EM>key</EM> <EM>address</EM> [ , <EM>address</EM>, ... ]</LI>
30084 -<A HREF="manual-3.html#alias">unalias</A></CODE> [ * | <EM>key</EM> ... ]</LI>
30086 -<A HREF="manual-5.html#alternative_order">alternative_order</A></CODE> <EM>mimetype</EM> [ <EM>mimetype</EM> ... ]</LI>
30088 -<A HREF="manual-4.html#append-hook">append-hook</A></CODE> <EM>regexp</EM> "<EM>command</EM>"</LI>
30090 -<A HREF="manual-5.html#auto_view">auto_view</A></CODE> <EM>mimetype</EM> [ <EM>mimetype</EM> ... ]</LI>
30092 -<A HREF="manual-3.html#bind">bind</A></CODE> <EM>map</EM> <EM>key</EM> <EM>function</EM></LI>
30094 -<A HREF="manual-3.html#charset-hook">charset-hook</A></CODE> <EM>alias</EM> <EM>charset</EM></LI>
30096 -<A HREF="manual-4.html#close-hook">close-hook</A></CODE> <EM>regexp</EM> "<EM>command</EM>"</LI>
30098 -<A HREF="manual-3.html#color">color</A></CODE> <EM>object</EM> <EM>foreground</EM> <EM>background</EM> [ <EM>regexp</EM> ]</LI>
30100 -<A HREF="manual-3.html#color">uncolor</A></CODE> <EM>index</EM> <EM>pattern</EM> [ <EM>pattern</EM> ... ]</LI>
30102 -<A HREF="manual-3.html#exec">exec</A></CODE> <EM>function</EM> [ <EM>function</EM> ... ]</LI>
30104 -<A HREF="manual-3.html#fcc-hook">fcc-hook</A></CODE> <EM>pattern</EM> <EM>mailbox</EM></LI>
30106 -<A HREF="manual-3.html#fcc-save-hook">fcc-save-hook</A></CODE> <EM>pattern</EM> <EM>mailbox</EM></LI>
30108 -<A HREF="manual-3.html#folder-hook">folder-hook</A></CODE> <EM>pattern</EM> <EM>command</EM></LI>
30110 -<A HREF="manual-3.html#hdr_order">hdr_order</A></CODE> <EM>header</EM> [ <EM>header</EM> ... ]</LI>
30112 -<A HREF="manual-3.html#hdr_order">unhdr_order</A></CODE> <EM>header</EM> [ <EM>header</EM> ... ]</LI>
30114 -<A HREF="manual-3.html#charset-hook">iconv-hook</A></CODE> <EM>charset</EM> <EM>local-charset</EM></LI>
30116 -<A HREF="manual-3.html#ignore">ignore</A></CODE> <EM>pattern</EM> [ <EM>pattern</EM> ... ]</LI>
30118 -<A HREF="manual-3.html#ignore">unignore</A></CODE> <EM>pattern</EM> [ <EM>pattern</EM> ... ]</LI>
30120 -<A HREF="manual-3.html#lists">lists</A></CODE> <EM>address</EM> [ <EM>address</EM> ... ] </LI>
30122 -<A HREF="manual-3.html#lists">unlists</A></CODE> <EM>address</EM> [ <EM>address</EM> ... ] </LI>
30124 -<A HREF="manual-3.html#macro">macro</A></CODE> <EM>menu</EM> <EM>key</EM> <EM>sequence</EM> [ <EM>description</EM> ] </LI>
30126 -<A HREF="manual-3.html#mailboxes">mailboxes</A></CODE> <EM>filename</EM> [ <EM>filename</EM> ... ]</LI>
30128 -<A HREF="manual-3.html#mbox-hook">mbox-hook</A></CODE> <EM>pattern</EM> <EM>mailbox</EM></LI>
30130 -<A HREF="manual-3.html#message-hook">message-hook</A></CODE> <EM>pattern</EM> <EM>command</EM></LI>
30132 -<A HREF="manual-3.html#color">mono</A></CODE> <EM>object attribute</EM> [ <EM>regexp</EM> ]</LI>
30134 -<A HREF="manual-3.html#color">unmono</A></CODE> <EM>index</EM> <EM>pattern</EM> [ <EM>pattern</EM> ... ]</LI>
30136 -<A HREF="manual-3.html#my_hdr">my_hdr</A></CODE> <EM>string</EM></LI>
30138 -<A HREF="manual-3.html#my_hdr">unmy_hdr</A></CODE> <EM>field</EM> [ <EM>field</EM> ... ]</LI>
30140 -<A HREF="manual-4.html#open-hook">open-hook</A></CODE> <EM>regexp</EM> "<EM>command</EM>"</LI>
30142 -<A HREF="manual-3.html#pgp-hook">pgp-hook</A></CODE> <EM>pattern</EM> <EM>key-id</EM></LI>
30144 -<A HREF="manual-3.html#push">push</A></CODE> <EM>string</EM></LI>
30146 -<A HREF="manual-3.html#set">reset</A></CODE> <EM>variable</EM> [<EM>variable</EM> ... ]</LI>
30148 -<A HREF="manual-3.html#save-hook">save-hook</A></CODE> <EM>regexp</EM> <EM>filename</EM></LI>
30150 -<A HREF="manual-3.html#score-command">score</A></CODE> <EM>pattern</EM> <EM>value</EM></LI>
30152 -<A HREF="manual-3.html#score-command">unscore</A></CODE> <EM>pattern</EM> [ <EM>pattern</EM> ... ]</LI>
30154 -<A HREF="manual-3.html#send-hook">send-hook</A></CODE> <EM>regexp</EM> <EM>command</EM></LI>
30156 -<A HREF="manual-3.html#set">set</A></CODE> [no|inv]<EM>variable</EM>[=<EM>value</EM>] [ <EM>variable</EM> ... ]</LI>
30158 -<A HREF="manual-3.html#set">unset</A></CODE> <EM>variable</EM> [<EM>variable</EM> ... ]</LI>
30160 -<A HREF="manual-3.html#source">source</A></CODE> <EM>filename</EM></LI>
30162 -<A HREF="manual-3.html#lists">subscribe</A></CODE> <EM>address</EM> [ <EM>address</EM> ... ] </LI>
30164 -<A HREF="manual-3.html#lists">unsubscribe</A></CODE> <EM>address</EM> [ <EM>address</EM> ... ] </LI>
30166 -<A HREF="manual-3.html#set">toggle</A></CODE> <EM>variable</EM> [<EM>variable</EM> ... ]</LI>
30168 -<A HREF="manual-3.html#unhook">unhook</A></CODE> <EM>hook-type</EM></LI>
30172 -<H2><A NAME="variables"></A> <A NAME="ss6.3">6.3</A> <A HREF="manual.html#toc6.3">Configuration variables</A>
30178 -<H3><A NAME="abort_nosubject"></A> abort_nosubject</H3>
30180 -<P>Type: quadoption<BR>
30181 -Default: ask-yes</P>
30183 -<P>If set to <EM>yes</EM>, when composing messages and no subject is given
30184 -at the subject prompt, composition will be aborted. If set to
30185 -<EM>no</EM>, composing messages with no subject given at the subject
30186 -prompt will never be aborted.</P>
30189 -<H3><A NAME="abort_unmodified"></A> abort_unmodified</H3>
30191 -<P>Type: quadoption<BR>
30194 -<P>If set to <EM>yes</EM>, composition will automatically abort after
30195 -editing the message body if no changes are made to the file (this
30196 -check only happens after the <EM>first</EM> edit of the file). When set
30197 -to <EM>no</EM>, composition will never be aborted.</P>
30200 -<H3><A NAME="alias_file"></A> alias_file</H3>
30203 -Default: "~/.muttrc"</P>
30205 -<P>The default file in which to save aliases created by the
30207 -<A HREF="manual-2.html#create-alias">create-alias</A>'' function.</P>
30208 -<P><B>Note:</B> Mutt will not automatically source this file; you must
30209 -explicitly use the ``
30210 -<A HREF="manual-3.html#source">source</A>'' command for it to be executed.</P>
30213 -<H3><A NAME="alias_format"></A> alias_format</H3>
30215 -<P>Type: string<BR>
30216 -Default: "%4n %2f %t %-10a %r"</P>
30218 -<P>Specifies the format of the data displayed for the `alias' menu. The
30219 -following printf(3)-style sequences are available:</P>
30223 -<DT><B>%a </B><DD><P>alias name</P>
30224 -<DT><B>%f </B><DD><P>flags - currently, a "d" for an alias marked for deletion</P>
30225 -<DT><B>%n </B><DD><P>index number</P>
30226 -<DT><B>%r </B><DD><P>address which alias expands to</P>
30227 -<DT><B>%t </B><DD><P>character which indicates if the alias is tagged for inclusion</P>
30232 -<H3><A NAME="allow_8bit"></A> allow_8bit</H3>
30234 -<P>Type: boolean<BR>
30237 -<P>Controls whether 8-bit data is converted to 7-bit using either Quoted-
30238 -Printable or Base64 encoding when sending mail.</P>
30241 -<H3><A NAME="allow_ansi"></A> allow_ansi</H3>
30243 -<P>Type: boolean<BR>
30246 -<P>Controls whether ANSI color codes in messages (and color tags in
30247 -rich text messages) are to be interpreted.
30248 -Messages containing these codes are rare, but if this option is set,
30249 -their text will be colored accordingly. Note that this may override
30250 -your color choices, and even present a security problem, since a
30251 -message could include a line like "[-- PGP output follows ..." and
30252 -give it the same color as your attachment color.</P>
30255 -<H3><A NAME="alternates"></A> alternates</H3>
30257 -<P>Type: regular expression<BR>
30258 -Default: ""</P>
30260 -<P>A regexp that allows you to specify <EM>alternate</EM> addresses where
30261 -you receive mail. This affects Mutt's idea about messages from you
30262 -and addressed to you.</P>
30265 -<H3><A NAME="arrow_cursor"></A> arrow_cursor</H3>
30267 -<P>Type: boolean<BR>
30270 -<P>When set, an arrow (``->'') will be used to indicate the current entry
30271 -in menus instead of hiliting the whole line. On slow network or modem
30272 -links this will make response faster because there is less that has to
30273 -be redrawn on the screen when moving to the next or previous entries
30277 -<H3><A NAME="ascii_chars"></A> ascii_chars</H3>
30279 -<P>Type: boolean<BR>
30282 -<P>If set, Mutt will use plain ASCII characters when displaying thread
30283 -and attachment trees, instead of the default <EM>ACS</EM> characters.</P>
30286 -<H3><A NAME="askbcc"></A> askbcc</H3>
30288 -<P>Type: boolean<BR>
30291 -<P>If set, Mutt will prompt you for blind-carbon-copy (Bcc) recipients
30292 -before editing an outgoing message.</P>
30295 -<H3><A NAME="askcc"></A> askcc</H3>
30297 -<P>Type: boolean<BR>
30300 -<P>If set, Mutt will prompt you for carbon-copy (Cc) recipients before
30301 -editing the body of an outgoing message.</P>
30304 -<H3><A NAME="attach_format"></A> attach_format</H3>
30306 -<P>Type: string<BR>
30307 -Default: "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "</P>
30309 -<P>This variable describes the format of the `attachment' menu. The
30310 -following printf-style sequences are understood:</P>
30314 -<DT><B>%D </B><DD><P>deleted flag</P>
30315 -<DT><B>%d </B><DD><P>description</P>
30316 -<DT><B>%e </B><DD><P>MIME content-transfer-encoding</P>
30317 -<DT><B>%f </B><DD><P>filename</P>
30318 -<DT><B>%I </B><DD><P>disposition (I=inline, A=attachment)</P>
30319 -<DT><B>%m </B><DD><P>major MIME type</P>
30320 -<DT><B>%M </B><DD><P>MIME subtype</P>
30321 -<DT><B>%n </B><DD><P>attachment number</P>
30322 -<DT><B>%s </B><DD><P>size</P>
30323 -<DT><B>%t </B><DD><P>tagged flag</P>
30324 -<DT><B>%u </B><DD><P>unlink (=to delete) flag</P>
30325 -<DT><B>%>X </B><DD><P>right justify the rest of the string and pad with character "X"</P>
30326 -<DT><B>%|X </B><DD><P>pad to the end of the line with character "X"</P>
30331 -<H3><A NAME="attach_sep"></A> attach_sep</H3>
30333 -<P>Type: string<BR>
30334 -Default: "\n"</P>
30336 -<P>The separator to add between attachments when operating (saving,
30337 -printing, piping, etc) on a list of tagged attachments.</P>
30340 -<H3><A NAME="attach_split"></A> attach_split</H3>
30342 -<P>Type: boolean<BR>
30345 -<P>If this variable is unset, when operating (saving, printing, piping,
30346 -etc) on a list of tagged attachments, Mutt will concatenate the
30347 -attachments and will operate on them as a single attachment. The
30349 -<A HREF="#attach_sep">$attach_sep</A>'' separator is added after each attachment. When set,
30350 -Mutt will operate on the attachments one by one.</P>
30353 -<H3><A NAME="attribution"></A> attribution</H3>
30355 -<P>Type: string<BR>
30356 -Default: "On %d, %n wrote:"</P>
30358 -<P>This is the string that will precede a message which has been included
30359 -in a reply. For a full listing of defined printf()-like sequences see
30361 -<A HREF="#index_format">$index_format</A>''.</P>
30364 -<H3><A NAME="autoedit"></A> autoedit</H3>
30366 -<P>Type: boolean<BR>
30369 -<P>When set along with ``
30370 -<A HREF="#edit_headers">$edit_headers</A>'', Mutt will skip the initial
30371 -send-menu and allow you to immediately begin editing the body of your
30372 -message. The send-menu may still be accessed once you have finished
30373 -editing the body of your message.</P>
30375 -<A HREF="#fast_reply">$fast_reply</A>''.</P>
30378 -<H3><A NAME="auto_tag"></A> auto_tag</H3>
30380 -<P>Type: boolean<BR>
30383 -<P>When set, functions in the <EM>index</EM> menu which affect a message
30384 -will be applied to all tagged messages (if there are any). When
30385 -unset, you must first use the tag-prefix function (default: ";") to
30386 -make the next function apply to all tagged messages.</P>
30389 -<H3><A NAME="beep"></A> beep</H3>
30391 -<P>Type: boolean<BR>
30394 -<P>When this variable is set, mutt will beep when an error occurs.</P>
30397 -<H3><A NAME="beep_new"></A> beep_new</H3>
30399 -<P>Type: boolean<BR>
30402 -<P>When this variable is set, mutt will beep whenever it prints a message
30403 -notifying you of new mail. This is independent of the setting of the
30405 -<A HREF="#beep">$beep</A>'' variable.</P>
30408 -<H3><A NAME="bounce_delivered"></A> bounce_delivered</H3>
30410 -<P>Type: boolean<BR>
30413 -<P>When this variable is set, mutt will include Delivered-To headers when
30414 -bouncing messages. Postfix users may wish to unset this variable.</P>
30417 -<H3><A NAME="charset"></A> charset</H3>
30419 -<P>Type: string<BR>
30420 -Default: ""</P>
30422 -<P>Character set your terminal uses to display and enter textual data.</P>
30425 -<H3><A NAME="check_new"></A> check_new</H3>
30427 -<P>Type: boolean<BR>
30430 -<P><B>Note:</B> this option only affects <EM>maildir</EM> and <EM>MH</EM> style
30432 -<P>When <EM>set</EM>, Mutt will check for new mail delivered while the
30433 -mailbox is open. Especially with MH mailboxes, this operation can
30434 -take quite some time since it involves scanning the directory and
30435 -checking each file to see if it has already been looked at. If
30436 -<EM>check_new</EM> is <EM>unset</EM>, no check for new mail is performed
30437 -while the mailbox is open.</P>
30440 -<H3><A NAME="collapse_unread"></A> collapse_unread</H3>
30442 -<P>Type: boolean<BR>
30445 -<P>When <EM>unset</EM>, Mutt will not collapse a thread if it contains any
30446 -unread messages.</P>
30449 -<H3><A NAME="uncollapse_jump"></A> uncollapse_jump</H3>
30451 -<P>Type: boolean<BR>
30454 -<P>When <EM>set</EM>, Mutt will jump to the next unread message, if any,
30455 -when the current thread is <EM>un</EM>collapsed.</P>
30458 -<H3><A NAME="compose_format"></A> compose_format</H3>
30460 -<P>Type: string<BR>
30461 -Default: "-- Mutt: Compose [Approx. msg size: %l Atts: %a]%>-"</P>
30463 -<P>Controls the format of the status line displayed in the \fCompose
30464 -menu. This string is similar to ``
30465 -<A HREF="#status_format">$status_format</A>'', but has its own
30466 -set of printf()-like sequences:</P>
30470 -<DT><B>%a </B><DD><P>total number of attachments </P>
30471 -<DT><B>%h </B><DD><P>local hostname</P>
30472 -<DT><B>%l </B><DD><P>approximate size (in bytes) of the current message</P>
30473 -<DT><B>%v </B><DD><P>Mutt version string</P>
30477 -<P>See the text describing the ``
30478 -<A HREF="#status_format">$status_format</A>'' option for more
30479 -information on how to set ``
30480 -<A HREF="#compose_format">$compose_format</A>''.</P>
30483 -<H3><A NAME="confirmappend"></A> confirmappend</H3>
30485 -<P>Type: boolean<BR>
30488 -<P>When set, Mutt will prompt for confirmation when appending messages to
30489 -an existing mailbox.</P>
30492 -<H3><A NAME="confirmcreate"></A> confirmcreate</H3>
30494 -<P>Type: boolean<BR>
30497 -<P>When set, Mutt will prompt for confirmation when saving messages to a
30498 -mailbox which does not yet exist before creating it.</P>
30501 -<H3><A NAME="connect_timeout"></A> connect_timeout</H3>
30503 -<P>Type: number<BR>
30506 -<P>Causes Mutt to timeout a network connection (for IMAP or POP) after this
30507 -many seconds if the connection is not able to be established. A negative
30508 -value causes Mutt to wait indefinitely for the connection to succeed.</P>
30511 -<H3><A NAME="copy"></A> copy</H3>
30513 -<P>Type: quadoption<BR>
30516 -<P>This variable controls whether or not copies of your outgoing messages
30517 -will be saved for later references. Also see ``
30518 -<A HREF="#record">$record</A>'',
30520 -<A HREF="#save_name">$save_name</A>'', ``
30521 -<A HREF="#force_name">$force_name</A>'' and ``
30522 -<A HREF="manual-3.html#fcc-hook">fcc-hook</A>''.</P>
30525 -<H3><A NAME="date_format"></A> date_format</H3>
30527 -<P>Type: string<BR>
30528 -Default: "!%a, %b %d, %Y at %I:%M:%S%p %Z"</P>
30530 -<P>This variable controls the format of the date printed by the ``%d''
30532 -<A HREF="#index_format">$index_format</A>''. This is passed to the <EM>strftime</EM>
30533 -call to process the date. See the man page for <EM>strftime(3)</EM> for
30534 -the proper syntax.</P>
30535 -<P>Unless the first character in the string is a bang (``!''), the month
30536 -and week day names are expanded according to the locale specified in
30538 -<A HREF="#locale">$locale</A>''. If the first character in the string is a
30539 -bang, the bang is discarded, and the month and week day names in the
30540 -rest of the string are expanded in the <EM>C</EM> locale (that is in US
30544 -<H3><A NAME="default_hook"></A> default_hook</H3>
30546 -<P>Type: string<BR>
30547 -Default: "~f %s !~P | (~P ~C %s)"</P>
30549 -<P>This variable controls how send-hooks, message-hooks, save-hooks,
30550 -and fcc-hooks will
30551 -be interpreted if they are specified with only a simple regexp,
30552 -instead of a matching pattern. The hooks are expanded when they are
30553 -declared, so a hook will be interpreted according to the value of this
30554 -variable at the time the hook is declared. The default value matches
30555 -if the message is either from a user matching the regular expression
30556 -given, or if it is from you (if the from address matches
30558 -<A HREF="#alternates">$alternates</A>'') and is to or cc'ed to a user matching the given
30559 -regular expression.</P>
30562 -<H3><A NAME="delete"></A> delete</H3>
30564 -<P>Type: quadoption<BR>
30565 -Default: ask-yes</P>
30567 -<P>Controls whether or not messages are really deleted when closing or
30568 -synchronizing a mailbox. If set to <EM>yes</EM>, messages marked for
30569 -deleting will automatically be purged without prompting. If set to
30570 -<EM>no</EM>, messages marked for deletion will be kept in the mailbox.</P>
30573 -<H3><A NAME="delete_untag"></A> delete_untag</H3>
30575 -<P>Type: boolean<BR>
30578 -<P>If this option is <EM>set</EM>, mutt will untag messages when marking them
30579 -for deletion. This applies when you either explicitly delete a message,
30580 -or when you save it to another folder.</P>
30583 -<H3><A NAME="digest_collapse"></A> digest_collapse</H3>
30585 -<P>Type: boolean<BR>
30588 -<P>If this option is <EM>set</EM>, mutt's revattach menu will not show the subparts of
30589 -individual messages in a digest. To see these subparts, press 'v' on that menu.</P>
30592 -<H3><A NAME="display_filter"></A> display_filter</H3>
30595 -Default: ""</P>
30597 -<P>When set, specifies a command used to filter messages. When a message
30598 -is viewed it is passed as standard input to
30599 -<A HREF="#display_filter">$display_filter</A>, and the
30600 -filtered message is read from the standard output.</P>
30603 -<H3><A NAME="dotlock_program"></A> dotlock_program</H3>
30606 -Default: "/usr/local/bin/mutt_dotlock"</P>
30608 -<P>Contains the path of the mutt_dotlock (8) binary to be used by
30612 -<H3><A NAME="dsn_notify"></A> dsn_notify</H3>
30614 -<P>Type: string<BR>
30615 -Default: ""</P>
30617 -<P><B>Note:</B> you should not enable this unless you are using Sendmail
30618 -8.8.x or greater.</P>
30619 -<P>This variable sets the request for when notification is returned. The
30620 -string consists of a comma separated list (no spaces!) of one or more
30621 -of the following: <EM>never</EM>, to never request notification,
30622 -<EM>failure</EM>, to request notification on transmission failure,
30623 -<EM>delay</EM>, to be notified of message delays, <EM>success</EM>, to be
30624 -notified of successful transmission.</P>
30625 -<P>Example: set dsn_notify="failure,delay"</P>
30628 -<H3><A NAME="dsn_return"></A> dsn_return</H3>
30630 -<P>Type: string<BR>
30631 -Default: ""</P>
30633 -<P><B>Note:</B> you should not enable this unless you are using Sendmail
30634 -8.8.x or greater.</P>
30635 -<P>This variable controls how much of your message is returned in DSN
30636 -messages. It may be set to either <EM>hdrs</EM> to return just the
30637 -message header, or <EM>full</EM> to return the full message.</P>
30638 -<P>Example: set dsn_return=hdrs</P>
30641 -<H3><A NAME="duplicate_threads"></A> duplicate_threads</H3>
30643 -<P>Type: boolean<BR>
30646 -<P>This variable controls whether mutt, when sorting by threads, threads
30647 -messages with the same message-id together. If it is set, it will indicate
30648 -that it thinks they are duplicates of each other with an equals sign
30649 -in the thread diagram.</P>
30652 -<H3><A NAME="edit_headers"></A> edit_headers</H3>
30654 -<P>Type: boolean<BR>
30657 -<P>This option allows you to edit the header of your outgoing messages
30658 -along with the body of your message.</P>
30661 -<H3><A NAME="editor"></A> editor</H3>
30664 -Default: ""</P>
30666 -<P>This variable specifies which editor is used by mutt.
30667 -It defaults to the value of the EDITOR or VISUAL environment
30668 -variable, or to the string "vi".</P>
30671 -<H3><A NAME="encode_from"></A> encode_from</H3>
30673 -<P>Type: boolean<BR>
30676 -<P>When <EM>set</EM>, mutt will quoted-printable encode messages when
30677 -they contain the string "From " in the beginning of a line.
30678 -Useful to avoid the tampering certain mail delivery and transport
30679 -agents tend to do with messages.</P>
30682 -<H3><A NAME="envelope_from"></A> envelope_from</H3>
30684 -<P>Type: boolean<BR>
30687 -<P>When <EM>set</EM>, mutt will try to derive the message's <EM>envelope</EM>
30688 -sender from the "From:" header. Note that this information is passed
30689 -to sendmail command using the "-f" command line switch, so don't set this
30690 -option if you are using that switch in
30691 -<A HREF="#sendmail">$sendmail</A> yourself,
30692 -or if the sendmail on your machine doesn't support that command
30696 -<H3><A NAME="escape"></A> escape</H3>
30698 -<P>Type: string<BR>
30699 -Default: "~"</P>
30701 -<P>Escape character to use for functions in the builtin editor.</P>
30704 -<H3><A NAME="fast_reply"></A> fast_reply</H3>
30706 -<P>Type: boolean<BR>
30709 -<P>When set, the initial prompt for recipients and subject are skipped
30710 -when replying to messages, and the initial prompt for subject is
30711 -skipped when forwarding messages.</P>
30712 -<P><B>Note:</B> this variable has no effect when the ``
30713 -<A HREF="#autoedit">$autoedit</A>''
30714 -variable is set.</P>
30717 -<H3><A NAME="fcc_attach"></A> fcc_attach</H3>
30719 -<P>Type: boolean<BR>
30722 -<P>This variable controls whether or not attachments on outgoing messages
30723 -are saved along with the main body of your message.</P>
30726 -<H3><A NAME="fcc_clear"></A> fcc_clear</H3>
30728 -<P>Type: boolean<BR>
30731 -<P>When this variable is <EM>set</EM>, FCCs will be stored unencrypted and
30732 -unsigned, even when the actual message is encrypted and/or signed.</P>
30735 -<H3><A NAME="folder"></A> folder</H3>
30738 -Default: "~/Mail"</P>
30740 -<P>Specifies the default location of your mailboxes. A `+' or `=' at the
30741 -beginning of a pathname will be expanded to the value of this
30742 -variable. Note that if you change this variable from the default
30743 -value you need to make sure that the assignment occurs <EM>before</EM>
30744 -you use `+' or `=' for any other variables since expansion takes place
30745 -during the `set' command.</P>
30748 -<H3><A NAME="folder_format"></A> folder_format</H3>
30750 -<P>Type: string<BR>
30751 -Default: "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"</P>
30753 -<P>This variable allows you to customize the file browser display to your
30754 -personal taste. This string is similar to ``
30755 -<A HREF="#index_format">$index_format</A>'', but has
30756 -its own set of printf()-like sequences:</P>
30760 -<DT><B>%C </B><DD><P>current file number</P>
30761 -<DT><B>%d </B><DD><P>date/time folder was last modified</P>
30762 -<DT><B>%f </B><DD><P>filename</P>
30763 -<DT><B>%F </B><DD><P>file permissions</P>
30764 -<DT><B>%g </B><DD><P>group name (or numeric gid, if missing)</P>
30765 -<DT><B>%l </B><DD><P>number of hard links</P>
30766 -<DT><B>%N </B><DD><P>N if folder has new mail, blank otherwise</P>
30767 -<DT><B>%s </B><DD><P>size in bytes</P>
30768 -<DT><B>%t </B><DD><P>* if the file is tagged, blank otherwise</P>
30769 -<DT><B>%u </B><DD><P>owner name (or numeric uid, if missing)</P>
30770 -<DT><B>%>X </B><DD><P>right justify the rest of the string and pad with character "X"</P>
30771 -<DT><B>%|X </B><DD><P>pad to the end of the line with character "X"</P>
30776 -<H3><A NAME="followup_to"></A> followup_to</H3>
30778 -<P>Type: boolean<BR>
30781 -<P>Controls whether or not the <EM>Mail-Followup-To</EM> header field is
30782 -generated when sending mail. When <EM>set</EM>, Mutt will generate this
30783 -field when you are replying to a known mailing list, specified with
30784 -the ``subscribe'' or ``
30785 -<A HREF="manual-3.html#lists">lists</A>'' commands.</P>
30786 -<P>This field has two purposes. First, preventing you from receiving
30787 -duplicate copies of replies to messages which you send to mailing
30788 -lists. Second, ensuring that you do get a reply separately for any
30789 -messages sent to known lists to which you are not subscribed. The
30790 -header will contain only the list's address for subscribed lists,
30791 -and both the list address and your own email address for unsubscribed
30792 -lists. Without this header, a group reply to your message sent to a
30793 -subscribed list will be sent to both the list and your address,
30794 -resulting in two copies of the same email for you.</P>
30797 -<H3><A NAME="force_name"></A> force_name</H3>
30799 -<P>Type: boolean<BR>
30802 -<P>This variable is similar to ``
30803 -<A HREF="#save_name">$save_name</A>'', except that Mutt will
30804 -store a copy of your outgoing message by the username of the address
30805 -you are sending to even if that mailbox does not exist.</P>
30806 -<P>Also see the ``
30807 -<A HREF="#record">$record</A>'' variable.</P>
30810 -<H3><A NAME="forward_decode"></A> forward_decode</H3>
30812 -<P>Type: boolean<BR>
30815 -<P>Controls the decoding of complex MIME messages into text/plain when
30816 -forwarding a message. The message header is also RFC2047 decoded.
30817 -This variable is only used, if ``
30818 -<A HREF="#mime_forward">$mime_forward</A>'' is <EM>unset</EM>,
30820 -<A HREF="#mime_forward_decode">$mime_forward_decode</A>'' is used instead.</P>
30823 -<H3><A NAME="forward_format"></A> forward_format</H3>
30825 -<P>Type: string<BR>
30826 -Default: "[%a: %s]"</P>
30828 -<P>This variable controls the default subject when forwarding a message.
30829 -It uses the same format sequences as the ``
30830 -<A HREF="#index_format">$index_format</A>'' variable.</P>
30833 -<H3><A NAME="forward_quote"></A> forward_quote</H3>
30835 -<P>Type: boolean<BR>
30838 -<P>When <EM>set</EM> forwarded messages included in the main body of the
30840 -<A HREF="#mime_forward">$mime_forward</A>'' is <EM>unset</EM>) will be quoted using
30842 -<A HREF="#indent_string">$indent_string</A>''.</P>
30845 -<H3><A NAME="from"></A> from</H3>
30847 -<P>Type: e-mail address<BR>
30848 -Default: ""</P>
30850 -<P>When set, this variable contains a default from address. It
30851 -can be overridden using my_hdr (including from send-hooks) and
30853 -<A HREF="#reverse_name">$reverse_name</A>''.</P>
30854 -<P>Defaults to the EMAIL environment variable's content.</P>
30857 -<H3><A NAME="gecos_mask"></A> gecos_mask</H3>
30859 -<P>Type: regular expression<BR>
30860 -Default: "^[^,]*"</P>
30862 -<P>A regular expression used by mutt to parse the GECOS field of a password
30863 -entry when expanding the alias. By default the regular expression is set
30864 -to "^[^,]*" which will return the string up to the first "," encountered.
30865 -If the GECOS field contains a string like "lastname, firstname" then you
30866 -should set the gecos_mask=".*".</P>
30867 -<P>This can be useful if you see the following behavior: you address a e-mail
30868 -to user ID stevef whose full name is Steve Franklin. If mutt expands
30869 -stevef to "Franklin" stevef@foo.bar then you should set the gecos_mask to
30870 -a regular expression that will match the whole name so mutt will expand
30871 -"Franklin" to "Franklin, Steve".</P>
30874 -<H3><A NAME="hdrs"></A> hdrs</H3>
30876 -<P>Type: boolean<BR>
30879 -<P>When unset, the header fields normally added by the ``
30880 -<A HREF="manual-3.html#my_hdr">my_hdr</A>''
30881 -command are not created. This variable <EM>must</EM> be unset before
30882 -composing a new message or replying in order to take effect. If set,
30883 -the user defined header fields are added to every new message.</P>
30886 -<H3><A NAME="header"></A> header</H3>
30888 -<P>Type: boolean<BR>
30891 -<P>When set, this variable causes Mutt to include the header
30892 -of the message you are replying to into the edit buffer.
30894 -<A HREF="#weed">$weed</A>'' setting applies.</P>
30897 -<H3><A NAME="help"></A> help</H3>
30899 -<P>Type: boolean<BR>
30902 -<P>When set, help lines describing the bindings for the major functions
30903 -provided by each menu are displayed on the first line of the screen.</P>
30904 -<P><B>Note:</B> The binding will not be displayed correctly if the
30905 -function is bound to a sequence rather than a single keystroke. Also,
30906 -the help line may not be updated if a binding is changed while Mutt is
30907 -running. Since this variable is primarily aimed at new users, neither
30908 -of these should present a major problem.</P>
30911 -<H3><A NAME="hidden_host"></A> hidden_host</H3>
30913 -<P>Type: boolean<BR>
30916 -<P>When set, mutt will skip the host name part of ``
30917 -<A HREF="#hostname">$hostname</A>'' variable
30918 -when adding the domain part to addresses. This variable does not
30919 -affect the generation of Message-IDs, and it will not lead to the
30920 -cut-off of first-level domains.</P>
30923 -<H3><A NAME="hide_limited"></A> hide_limited</H3>
30925 -<P>Type: boolean<BR>
30928 -<P>When set, mutt will not show the presence of missing messages in the
30932 -<H3><A NAME="hide_missing"></A> hide_missing</H3>
30934 -<P>Type: boolean<BR>
30937 -<P>When set, mutt will not show the presence of messages that are hidden
30938 -by limiting, in the thread tree.</P>
30941 -<H3><A NAME="hide_top_limited"></A> hide_top_limited</H3>
30943 -<P>Type: boolean<BR>
30946 -<P>When set, mutt will not show the presence of missing messages at the
30947 -top of threads in the thread tree. Note that when
30948 -<A HREF="#hide_limited">$hide_limited</A> is
30949 -set, this option will have no effect.</P>
30952 -<H3><A NAME="hide_top_missing"></A> hide_top_missing</H3>
30954 -<P>Type: boolean<BR>
30957 -<P>When set, mutt will not show the presence of messages that are hidden
30958 -by limiting, at the top of threads in the thread tree.Note that when
30959 -<A HREF="#hide_missing">$hide_missing</A> is set, this option will have no effect.</P>
30962 -<H3><A NAME="history"></A> history</H3>
30964 -<P>Type: number<BR>
30967 -<P>This variable controls the size (in number of strings remembered) of
30968 -the string history buffer. The buffer is cleared each time the
30969 -variable is set.</P>
30972 -<H3><A NAME="honor_followup_to"></A> honor_followup_to</H3>
30974 -<P>Type: quadoption<BR>
30977 -<P>This variable controls whether or not a Mail-Followup-To header is
30978 -honored when group-replying to a message.</P>
30981 -<H3><A NAME="hostname"></A> hostname</H3>
30983 -<P>Type: string<BR>
30984 -Default: ""</P>
30986 -<P>Specifies the hostname to use after the ``@'' in local e-mail
30987 -addresses. This overrides the compile time definition obtained from
30988 -/etc/resolv.conf.</P>
30991 -<H3><A NAME="ignore_list_reply_to"></A> ignore_list_reply_to</H3>
30993 -<P>Type: boolean<BR>
30996 -<P>Affects the behaviour of the <EM>reply</EM> function when replying to
30997 -messages from mailing lists. When set, if the ``Reply-To:'' field is
30998 -set to the same value as the ``To:'' field, Mutt assumes that the
30999 -``Reply-To:'' field was set by the mailing list to automate responses
31000 -to the list, and will ignore this field. To direct a response to the
31001 -mailing list when this option is set, use the <EM>list-reply</EM>
31002 -function; <EM>group-reply</EM> will reply to both the sender and the
31006 -<H3><A NAME="imap_authenticators"></A> imap_authenticators</H3>
31008 -<P>Type: string<BR>
31009 -Default: ""</P>
31011 -<P>This is a colon-delimited list of authentication methods mutt may
31012 -attempt to use to log in to an IMAP server, in the order mutt should
31013 -try them. Authentication methods are either 'login' or the right
31014 -side of an IMAP 'AUTH=xxx' capability string, eg 'digest-md5',
31015 -'gssapi' or 'cram-md5'. This parameter is case-insensitive. If this
31016 -parameter is unset (the default) mutt will try all available methods,
31017 -in order from most-secure to least-secure.</P>
31018 -<P>Example: set imap_authenticators="gssapi:cram-md5:login"</P>
31019 -<P><B>Note:</B> Mutt will only fall back to other authentication methods if
31020 -the previous methods are unavailable. If a method is available but
31021 -authentication fails, mutt will not connect to the IMAP server.</P>
31024 -<H3><A NAME="imap_delim_chars"></A> imap_delim_chars</H3>
31026 -<P>Type: string<BR>
31027 -Default: "/."</P>
31029 -<P>This contains the list of characters which you would like to treat
31030 -as folder separators for displaying IMAP paths. In particular it
31031 -helps in using the '=' shortcut for your <EM>folder</EM> variable.</P>
31034 -<H3><A NAME="imap_force_ssl"></A> imap_force_ssl</H3>
31036 -<P>Type: boolean<BR>
31039 -<P>If this variable is set, Mutt will always use SSL when
31040 -connecting to IMAP servers.</P>
31043 -<H3><A NAME="imap_home_namespace"></A> imap_home_namespace</H3>
31045 -<P>Type: string<BR>
31046 -Default: ""</P>
31048 -<P>You normally want to see your personal folders alongside
31049 -your INBOX in the IMAP browser. If you see something else, you may set
31050 -this variable to the IMAP path to your folders.</P>
31053 -<H3><A NAME="imap_keepalive"></A> imap_keepalive</H3>
31055 -<P>Type: number<BR>
31058 -<P>This variable specifies the maximum amount of time in seconds that mutt
31059 -will wait before polling open IMAP connections, to prevent the server
31060 -from closing them before mutt has finished with them. The default is
31061 -well within the RFC-specified minimum amount of time (30 minutes) before
31062 -a server is allowed to do this, but in practice the RFC does get
31063 -violated every now and then. Reduce this number if you find yourself
31064 -getting disconnected from your IMAP server due to inactivity.</P>
31067 -<H3><A NAME="imap_list_subscribed"></A> imap_list_subscribed</H3>
31069 -<P>Type: boolean<BR>
31072 -<P>This variable configures whether IMAP folder browsing will look for
31073 -only subscribed folders or all folders. This can be toggled in the
31074 -IMAP browser with the <EM>toggle-subscribed</EM> command.</P>
31077 -<H3><A NAME="imap_pass"></A> imap_pass</H3>
31079 -<P>Type: string<BR>
31080 -Default: ""</P>
31082 -<P>Specifies the password for your IMAP account. If unset, Mutt will
31083 -prompt you for your password when you invoke the fetch-mail function.
31084 -<B>Warning</B>: you should only use this option when you are on a
31085 -fairly secure machine, because the superuser can read your muttrc even
31086 -if you are the only one who can read the file.</P>
31089 -<H3><A NAME="imap_passive"></A> imap_passive</H3>
31091 -<P>Type: boolean<BR>
31094 -<P>When set, mutt will not open new IMAP connections to check for new
31095 -mail. Mutt will only check for new mail over existing IMAP
31096 -connections. This is useful if you don't want to be prompted to
31097 -user/password pairs on mutt invocation, or if opening the connection
31101 -<H3><A NAME="imap_peek"></A> imap_peek</H3>
31103 -<P>Type: boolean<BR>
31106 -<P>If set, mutt will avoid implicitly marking your mail as read whenever
31107 -you fetch a message from the server. This is generally a good thing,
31108 -but can make closing an IMAP folder somewhat slower. This option
31109 -exists to appease spead freaks.</P>
31112 -<H3><A NAME="imap_servernoise"></A> imap_servernoise</H3>
31114 -<P>Type: boolean<BR>
31117 -<P>When set, mutt will display warning messages from the IMAP
31118 -server as error messages. Since these messages are often
31119 -harmless, or generated due to configuration problems on the
31120 -server which are out of the users' hands, you may wish to suppress
31121 -them at some point.</P>
31124 -<H3><A NAME="imap_user"></A> imap_user</H3>
31126 -<P>Type: string<BR>
31127 -Default: ""</P>
31129 -<P>Your login name on the IMAP server.</P>
31130 -<P>This variable defaults to your user name on the local machine.</P>
31133 -<H3><A NAME="implicit_autoview"></A> implicit_autoview</H3>
31135 -<P>Type: boolean<BR>
31138 -<P>If set to ``yes'', mutt will look for a mailcap entry with the
31139 -copiousoutput flag set for <EM>every</EM> MIME attachment it doesn't have
31140 -an internal viewer defined for. If such an entry is found, mutt will
31141 -use the viewer defined in that entry to convert the body part to text
31145 -<H3><A NAME="include"></A> include</H3>
31147 -<P>Type: quadoption<BR>
31148 -Default: ask-yes</P>
31150 -<P>Controls whether or not a copy of the message(s) you are replying to
31151 -is included in your reply.</P>
31154 -<H3><A NAME="indent_string"></A> indent_string</H3>
31156 -<P>Type: string<BR>
31157 -Default: "> "</P>
31159 -<P>Specifies the string to prepend to each line of text quoted in a
31160 -message to which you are replying. You are strongly encouraged not to
31161 -change this value, as it tends to agitate the more fanatical netizens.</P>
31164 -<H3><A NAME="index_format"></A> index_format</H3>
31166 -<P>Type: string<BR>
31167 -Default: "%4C %Z %{%b %d} %-15.15L (%4l) %s"</P>
31169 -<P>This variable allows you to customize the message index display to
31170 -your personal taste.</P>
31171 -<P>``Format strings'' are similar to the strings used in the ``C''
31172 -function printf to format output (see the man page for more detail).
31173 -The following sequences are defined in Mutt:</P>
31177 -<DT><B>%a </B><DD><P>address of the author</P>
31178 -<DT><B>%b </B><DD><P>filename of the original message folder (think mailBox)</P>
31179 -<DT><B>%B </B><DD><P>the list to which the letter was sent, or else the folder name (%b).</P>
31180 -<DT><B>%c </B><DD><P>number of characters (bytes) in the message</P>
31181 -<DT><B>%C </B><DD><P>current message number</P>
31182 -<DT><B>%d </B><DD><P>date and time of the message in the format specified by
31183 -``date_format'' converted to sender's time zone</P>
31184 -<DT><B>%D </B><DD><P>date and time of the message in the format specified by
31185 -``date_format'' converted to the local time zone</P>
31186 -<DT><B>%e </B><DD><P>current message number in thread</P>
31187 -<DT><B>%E </B><DD><P>number of messages in current thread</P>
31188 -<DT><B>%f </B><DD><P>entire From: line (address + real name)</P>
31189 -<DT><B>%F </B><DD><P>author name, or recipient name if the message is from you</P>
31190 -<DT><B>%i </B><DD><P>message-id of the current message</P>
31191 -<DT><B>%l </B><DD><P>number of lines in the message</P>
31192 -<DT><B>%L </B><DD><P>If an address in the To or CC header field matches an address
31193 -defined by the users ``lists'' command, this displays
31194 -"To <list-name>", otherwise the same as %F.</P>
31195 -<DT><B>%m </B><DD><P>total number of message in the mailbox</P>
31196 -<DT><B>%M </B><DD><P>number of hidden messages if the thread is collapsed.</P>
31197 -<DT><B>%N </B><DD><P>message score</P>
31198 -<DT><B>%n </B><DD><P>author's real name (or address if missing)</P>
31199 -<DT><B>%O </B><DD><P>(_O_riginal save folder) Where mutt would formerly have
31200 -stashed the message: list name or recipient name if no list</P>
31201 -<DT><B>%s </B><DD><P>subject of the message</P>
31202 -<DT><B>%S </B><DD><P>status of the message (N/D/d/!/r/*)</P>
31203 -<DT><B>%t </B><DD><P>`to:' field (recipients)</P>
31204 -<DT><B>%T </B><DD><P>the appropriate character from the
31205 -<A HREF="#to_chars">$to_chars</A> string</P>
31206 -<DT><B>%u </B><DD><P>user (login) name of the author</P>
31207 -<DT><B>%v </B><DD><P>first name of the author, or the recipient if the message is from you</P>
31208 -<DT><B>%y </B><DD><P>`x-label:' field, if present</P>
31209 -<DT><B>%Y </B><DD><P>`x-label' field, if present, and (1) not at part of a thread tree,
31210 -(2) at the top of a thread, or (3) `x-label' is different from
31211 -preceding message's `x-label'.</P>
31212 -<DT><B>%Z </B><DD><P>message status flags</P>
31213 -<DT><B>%{fmt} </B><DD><P>the date and time of the message is converted to sender's
31214 -time zone, and ``fmt'' is expanded by the library function
31215 -``strftime''; a leading bang disables locales</P>
31216 -<DT><B>%[fmt] </B><DD><P>the date and time of the message is converted to the local
31217 -time zone, and ``fmt'' is expanded by the library function
31218 -``strftime''; a leading bang disables locales</P>
31219 -<DT><B>%(fmt) </B><DD><P>the local date and time when the message was received.
31220 -``fmt'' is expanded by the library function ``strftime'';
31221 -a leading bang disables locales</P>
31222 -<DT><B>%<fmt> </B><DD><P>the current local time. ``fmt'' is expanded by the library
31223 -function ``strftime''; a leading bang disables locales.</P>
31224 -<DT><B>%>X </B><DD><P>right justify the rest of the string and pad with character "X"</P>
31225 -<DT><B>%|X </B><DD><P>pad to the end of the line with character "X"</P>
31230 -<A HREF="#to_chars">$to_chars</A>''.</P>
31233 -<H3><A NAME="ispell"></A> ispell</H3>
31236 -Default: "/usr/bin/ispell"</P>
31238 -<P>How to invoke ispell (GNU's spell-checking software).</P>
31241 -<H3><A NAME="keep_flagged"></A> keep_flagged</H3>
31243 -<P>Type: boolean<BR>
31246 -<P>If set, read messages marked as flagged will not be moved
31247 -from your spool mailbox to your ``
31248 -<A HREF="#mbox">$mbox</A>'' mailbox, or as a result of
31250 -<A HREF="manual-3.html#mbox-hook">mbox-hook</A>'' command.</P>
31253 -<H3><A NAME="locale"></A> locale</H3>
31255 -<P>Type: string<BR>
31256 -Default: "C"</P>
31258 -<P>The locale used by <EM>strftime(3)</EM> to format dates. Legal values are
31259 -the strings your system accepts for the locale variable <EM>LC_TIME</EM>.</P>
31262 -<H3><A NAME="mail_check"></A> mail_check</H3>
31264 -<P>Type: number<BR>
31267 -<P>This variable configures how often (in seconds) mutt should look for
31271 -<H3><A NAME="mailcap_path"></A> mailcap_path</H3>
31273 -<P>Type: string<BR>
31274 -Default: ""</P>
31276 -<P>This variable specifies which files to consult when attempting to
31277 -display MIME bodies not directly supported by Mutt.</P>
31280 -<H3><A NAME="mailcap_sanitize"></A> mailcap_sanitize</H3>
31282 -<P>Type: boolean<BR>
31285 -<P>If set, mutt will restrict possible characters in mailcap % expandos
31286 -to a well-defined set of safe characters. This is the safe setting,
31287 -but we are not sure it doesn't break some more advanced MIME stuff.</P>
31288 -<P><B>DON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE
31292 -<H3><A NAME="maildir_trash"></A> maildir_trash</H3>
31294 -<P>Type: boolean<BR>
31297 -<P>If set, messages marked as deleted will be saved with the maildir
31298 -(T)rashed flag instead of unlinked. <B>NOTE:</B> this only applies
31299 -to maildir-style mailboxes. Setting it will have no effect on other
31300 -mailbox types.</P>
31303 -<H3><A NAME="mark_old"></A> mark_old</H3>
31305 -<P>Type: boolean<BR>
31308 -<P>Controls whether or not Mutt makes the distinction between <EM>new</EM>
31309 -messages and <EM>old</EM> <B>unread</B> messages. By default, Mutt will
31310 -mark new messages as old if you exit a mailbox without reading them.
31311 -The next time you start Mutt, the messages will show up with an "O"
31312 -next to them in the index menu, indicating that they are old. In
31313 -order to make Mutt treat all unread messages as new only, you can
31314 -unset this variable.</P>
31317 -<H3><A NAME="markers"></A> markers</H3>
31319 -<P>Type: boolean<BR>
31322 -<P>Controls the display of wrapped lines in the internal pager. If set, a
31323 -``+'' marker is displayed at the beginning of wrapped lines. Also see
31325 -<A HREF="#smart_wrap">$smart_wrap</A>'' variable.</P>
31328 -<H3><A NAME="mask"></A> mask</H3>
31330 -<P>Type: regular expression<BR>
31331 -Default: "!^\.[^.]"</P>
31333 -<P>A regular expression used in the file browser, optionally preceded by
31334 -the <EM>not</EM> operator ``!''. Only files whose names match this mask
31335 -will be shown. The match is always case-sensitive.</P>
31338 -<H3><A NAME="mbox"></A> mbox</H3>
31341 -Default: "~/mbox"</P>
31343 -<P>This specifies the folder into which read mail in your ``
31344 -<A HREF="#spoolfile">$spoolfile</A>''
31345 -folder will be appended.</P>
31348 -<H3><A NAME="mbox_type"></A> mbox_type</H3>
31350 -<P>Type: folder magic<BR>
31353 -<P>The default mailbox type used when creating new folders. May be any of
31354 -mbox, MMDF, MH and Maildir.</P>
31357 -<H3><A NAME="metoo"></A> metoo</H3>
31359 -<P>Type: boolean<BR>
31362 -<P>If unset, Mutt will remove your address from the list of recipients
31363 -when replying to a message.</P>
31366 -<H3><A NAME="menu_scroll"></A> menu_scroll</H3>
31368 -<P>Type: boolean<BR>
31371 -<P>When <EM>set</EM>, menus will be scrolled up or down one line when you
31372 -attempt to move across a screen boundary. If <EM>unset</EM>, the screen
31373 -is cleared and the next or previous page of the menu is displayed
31374 -(useful for slow links to avoid many redraws).</P>
31377 -<H3><A NAME="meta_key"></A> meta_key</H3>
31379 -<P>Type: boolean<BR>
31382 -<P>If set, forces Mutt to interpret keystrokes with the high bit (bit 8)
31383 -set as if the user had pressed the ESC key and whatever key remains
31384 -after having the high bit removed. For example, if the key pressed
31385 -has an ASCII value of 0xf4, then this is treated as if the user had
31386 -pressed ESC then ``x''. This is because the result of removing the
31387 -high bit from ``0xf4'' is ``0x74'', which is the ASCII character
31391 -<H3><A NAME="mh_purge"></A> mh_purge</H3>
31393 -<P>Type: boolean<BR>
31396 -<P>When unset, mutt will mimic mh's behaviour and rename deleted messages
31397 -to <EM>,<old file name></EM> in mh folders instead of really deleting
31398 -them. If the variable is set, the message files will simply be
31402 -<H3><A NAME="mh_seq_flagged"></A> mh_seq_flagged</H3>
31404 -<P>Type: string<BR>
31405 -Default: "flagged"</P>
31407 -<P>The name of the MH sequence used for flagged messages.</P>
31410 -<H3><A NAME="mh_seq_replied"></A> mh_seq_replied</H3>
31412 -<P>Type: string<BR>
31413 -Default: "replied"</P>
31415 -<P>The name of the MH sequence used to tag replied messages.</P>
31418 -<H3><A NAME="mh_seq_unseen"></A> mh_seq_unseen</H3>
31420 -<P>Type: string<BR>
31421 -Default: "unseen"</P>
31423 -<P>The name of the MH sequence used for unseen messages.</P>
31426 -<H3><A NAME="mime_forward"></A> mime_forward</H3>
31428 -<P>Type: quadoption<BR>
31431 -<P>When set, the message you are forwarding will be attached as a
31432 -separate MIME part instead of included in the main body of the
31433 -message. This is useful for forwarding MIME messages so the receiver
31434 -can properly view the message as it was delivered to you. If you like
31435 -to switch between MIME and not MIME from mail to mail, set this
31436 -variable to ask-no or ask-yes.</P>
31438 -<A HREF="#forward_decode">$forward_decode</A>'' and ``
31439 -<A HREF="#mime_forward_decode">$mime_forward_decode</A>''.</P>
31442 -<H3><A NAME="mime_forward_decode"></A> mime_forward_decode</H3>
31444 -<P>Type: boolean<BR>
31447 -<P>Controls the decoding of complex MIME messages into text/plain when
31448 -forwarding a message while ``
31449 -<A HREF="#mime_forward">$mime_forward</A>'' is <EM>set</EM>. Otherwise
31451 -<A HREF="#forward_decode">$forward_decode</A>'' is used instead.</P>
31454 -<H3><A NAME="mime_forward_rest"></A> mime_forward_rest</H3>
31456 -<P>Type: quadoption<BR>
31459 -<P>When forwarding multiple attachments of a MIME message from the recvattach
31460 -menu, attachments which cannot be decoded in a reasonable manner will
31461 -be attached to the newly composed message if this option is set.</P>
31464 -<H3><A NAME="mix_entry_format"></A> mix_entry_format</H3>
31466 -<P>Type: string<BR>
31467 -Default: "%4n %c %-16s %a"</P>
31469 -<P>This variable describes the format of a remailer line on the mixmaster
31470 -chain selection screen. The following printf-like sequences are
31475 -<DT><B>%n </B><DD><P>The running number on the menu.</P>
31476 -<DT><B>%c </B><DD><P>Remailer capabilities.</P>
31477 -<DT><B>%s </B><DD><P>The remailer's short name.</P>
31478 -<DT><B>%a </B><DD><P>The remailer's e-mail address.</P>
31483 -<H3><A NAME="mixmaster"></A> mixmaster</H3>
31486 -Default: "mixmaster"</P>
31488 -<P>This variable contains the path to the Mixmaster binary on your
31489 -system. It is used with various sets of parameters to gather the
31490 -list of known remailers, and to finally send a message through the
31491 -mixmaster chain.</P>
31494 -<H3><A NAME="move"></A> move</H3>
31496 -<P>Type: quadoption<BR>
31497 -Default: ask-no</P>
31499 -<P>Controls whether you will be asked to confirm moving read messages
31500 -from your spool mailbox to your ``
31501 -<A HREF="#mbox">$mbox</A>'' mailbox, or as a result of
31503 -<A HREF="manual-3.html#mbox-hook">mbox-hook</A>'' command.</P>
31506 -<H3><A NAME="message_format"></A> message_format</H3>
31508 -<P>Type: string<BR>
31509 -Default: "%s"</P>
31511 -<P>This is the string displayed in the ``attachment'' menu for
31512 -attachments of type message/rfc822. For a full listing of defined
31513 -escape sequences see the section on ``
31514 -<A HREF="#index_format">$index_format</A>''.</P>
31517 -<H3><A NAME="pager"></A> pager</H3>
31520 -Default: "builtin"</P>
31522 -<P>This variable specifies which pager you would like to use to view
31523 -messages. builtin means to use the builtin pager, otherwise this
31524 -variable should specify the pathname of the external pager you would
31526 -<P>Using an external pager may have some disadvantages: Additional
31527 -keystrokes are necessary because you can't call mutt functions
31528 -directly from the pager, and screen resizes cause lines longer than
31529 -the screen width to be badly formatted in the help menu.</P>
31532 -<H3><A NAME="pager_context"></A> pager_context</H3>
31534 -<P>Type: number<BR>
31537 -<P>This variable controls the number of lines of context that are given
31538 -when displaying the next or previous page in the internal pager. By
31539 -default, Mutt will display the line after the last one on the screen
31540 -at the top of the next page (0 lines of context).</P>
31543 -<H3><A NAME="pager_format"></A> pager_format</H3>
31545 -<P>Type: string<BR>
31546 -Default: "-%Z- %C/%m: %-20.20n %s"</P>
31548 -<P>This variable controls the format of the one-line message ``status''
31549 -displayed before each message in either the internal or an external
31550 -pager. The valid sequences are listed in the ``
31551 -<A HREF="#index_format">$index_format</A>''
31555 -<H3><A NAME="pager_index_lines"></A> pager_index_lines</H3>
31557 -<P>Type: number<BR>
31560 -<P>Determines the number of lines of a mini-index which is shown when in
31561 -the pager. The current message, unless near the top or bottom of the
31562 -folder, will be roughly one third of the way down this mini-index,
31563 -giving the reader the context of a few messages before and after the
31564 -message. This is useful, for example, to determine how many messages
31565 -remain to be read in the current thread. One of the lines is reserved
31566 -for the status bar from the index, so a <EM>pager_index_lines</EM> of 6
31567 -will only show 5 lines of the actual index. A value of 0 results in
31568 -no index being shown. If the number of messages in the current folder
31569 -is less than <EM>pager_index_lines</EM>, then the index will only use as
31570 -many lines as it needs.</P>
31573 -<H3><A NAME="pager_stop"></A> pager_stop</H3>
31575 -<P>Type: boolean<BR>
31578 -<P>When set, the internal-pager will <B>not</B> move to the next message
31579 -when you are at the end of a message and invoke the <EM>next-page</EM>
31583 -<H3><A NAME="pgp_autosign"></A> pgp_autosign</H3>
31585 -<P>Type: boolean<BR>
31588 -<P>Setting this variable will cause Mutt to always attempt to PGP/MIME
31589 -sign outgoing messages. This can be overridden by use of the <EM>pgp-
31590 -menu</EM>, when signing is not required or encryption is requested as
31594 -<H3><A NAME="pgp_autoencrypt"></A> pgp_autoencrypt</H3>
31596 -<P>Type: boolean<BR>
31599 -<P>Setting this variable will cause Mutt to always attempt to PGP/MIME
31600 -encrypt outgoing messages. This is probably only useful in connection
31601 -to the <EM>send-hook</EM> command. It can be overridden by use of the
31602 -<EM>pgp-menu</EM>, when encryption is not required or signing is
31603 -requested as well.</P>
31606 -<H3><A NAME="pgp_ignore_subkeys"></A> pgp_ignore_subkeys</H3>
31608 -<P>Type: boolean<BR>
31611 -<P>Setting this variable will cause Mutt to ignore OpenPGP subkeys. Instead,
31612 -the principal key will inherit the subkeys' capabilities. Unset this
31613 -if you want to play interesting key selection games.</P>
31616 -<H3><A NAME="pgp_entry_format"></A> pgp_entry_format</H3>
31618 -<P>Type: string<BR>
31619 -Default: "%4n %t%f %4l/0x%k %-4a %2c %u"</P>
31621 -<P>This variable allows you to customize the PGP key selection menu to
31622 -your personal taste. This string is similar to ``
31623 -<A HREF="#index_format">$index_format</A>'', but
31624 -has its own set of printf()-like sequences:</P>
31628 -<DT><B>%n </B><DD><P>number</P>
31629 -<DT><B>%k </B><DD><P>key id</P>
31630 -<DT><B>%u </B><DD><P>user id</P>
31631 -<DT><B>%a </B><DD><P>algorithm</P>
31632 -<DT><B>%l </B><DD><P>key length</P>
31633 -<DT><B>%f </B><DD><P>flags</P>
31634 -<DT><B>%c </B><DD><P>capabilities</P>
31635 -<DT><B>%t </B><DD><P>trust/validity of the key-uid association</P>
31636 -<DT><B>%[<s>] </B><DD><P>date of the key where <s> is an strftime(3) expression</P>
31641 -<H3><A NAME="pgp_good_sign"></A> pgp_good_sign</H3>
31643 -<P>Type: regular expression<BR>
31644 -Default: ""</P>
31646 -<P>If you assign a text to this variable, then a PGP signature is only
31647 -considered verified if the output from
31648 -<A HREF="#pgp_verify_command">$pgp_verify_command</A> contains
31649 -the text. Use this variable if the exit code from the command is 0
31650 -even for bad signatures.</P>
31653 -<H3><A NAME="pgp_long_ids"></A> pgp_long_ids</H3>
31655 -<P>Type: boolean<BR>
31658 -<P>If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs.</P>
31661 -<H3><A NAME="pgp_replyencrypt"></A> pgp_replyencrypt</H3>
31663 -<P>Type: boolean<BR>
31666 -<P>If set, automatically PGP encrypt replies to messages which are
31670 -<H3><A NAME="pgp_replysign"></A> pgp_replysign</H3>
31672 -<P>Type: boolean<BR>
31675 -<P>If set, automatically PGP sign replies to messages which are signed.</P>
31676 -<P><B>Note:</B> this does not work on messages that are encrypted
31677 -<B>and</B> signed!</P>
31680 -<H3><A NAME="pgp_replysignencrypted"></A> pgp_replysignencrypted</H3>
31682 -<P>Type: boolean<BR>
31685 -<P>If set, automatically PGP sign replies to messages which are
31686 -encrypted. This makes sense in combination with
31688 -<A HREF="#pgp_replyencrypt">$pgp_replyencrypt</A>'', because it allows you to sign all messages
31689 -which are automatically encrypted. This works around the problem
31691 -<A HREF="#pgp_replysign">$pgp_replysign</A>'', that mutt is not able to find out
31692 -whether an encrypted message is also signed.</P>
31695 -<H3><A NAME="pgp_retainable_sigs"></A> pgp_retainable_sigs</H3>
31697 -<P>Type: boolean<BR>
31700 -<P>If set, signed and encrypted messages will consist of nested
31701 -multipart/signed and multipart/encrypted body parts.</P>
31702 -<P>This is useful for applications like encrypted and signed mailing
31703 -lists, where the outer layer (multipart/encrypted) can be easily
31704 -removed, while the inner multipart/signed part is retained.</P>
31707 -<H3><A NAME="pgp_show_unusable"></A> pgp_show_unusable</H3>
31709 -<P>Type: boolean<BR>
31712 -<P>If set, mutt will display non-usable keys on the PGP key selection
31713 -menu. This includes keys which have been revoked, have expired, or
31714 -have been marked as ``disabled'' by the user.</P>
31717 -<H3><A NAME="pgp_sign_as"></A> pgp_sign_as</H3>
31719 -<P>Type: string<BR>
31720 -Default: ""</P>
31722 -<P>If you have more than one key pair, this option allows you to specify
31723 -which of your private keys to use. It is recommended that you use the
31724 -keyid form to specify your key (e.g., ``0x00112233'').</P>
31727 -<H3><A NAME="pgp_strict_enc"></A> pgp_strict_enc</H3>
31729 -<P>Type: boolean<BR>
31732 -<P>If set, Mutt will automatically encode PGP/MIME signed messages as
31733 -<EM>quoted-printable</EM>. Please note that unsetting this variable may
31734 -lead to problems with non-verifyable PGP signatures, so only change
31735 -this if you know what you are doing.</P>
31738 -<H3><A NAME="pgp_timeout"></A> pgp_timeout</H3>
31740 -<P>Type: number<BR>
31743 -<P>The number of seconds after which a cached passphrase will expire if
31747 -<H3><A NAME="pgp_verify_sig"></A> pgp_verify_sig</H3>
31749 -<P>Type: quadoption<BR>
31752 -<P>If ``yes'', always attempt to verify PGP/MIME signatures. If ``ask-yes''
31754 -ask whether or not to verify the signature. If ``no'', never attempt
31755 -to verify PGP/MIME signatures.</P>
31758 -<H3><A NAME="pgp_sort_keys"></A> pgp_sort_keys</H3>
31760 -<P>Type: sort order<BR>
31761 -Default: address</P>
31763 -<P>Specifies how the entries in the `pgp keys' menu are sorted. The
31764 -following are legal values:</P>
31768 -<DT><B>address </B><DD><P>sort alphabetically by user id</P>
31769 -<DT><B>keyid </B><DD><P>sort alphabetically by key id</P>
31770 -<DT><B>date </B><DD><P>sort by key creation date</P>
31771 -<DT><B>trust </B><DD><P>sort by the trust of the key</P>
31775 -<P>If you prefer reverse order of the above values, prefix it with
31779 -<H3><A NAME="pgp_create_traditional"></A> pgp_create_traditional</H3>
31781 -<P>Type: quadoption<BR>
31784 -<P>This option controls whether Mutt generates old-style PGP encrypted
31785 -or signed messages under certain circumstances.</P>
31786 -<P>Note that PGP/MIME will be used automatically for messages which have
31787 -a character set different from us-ascii, or which consist of more than
31788 -a single MIME part.</P>
31789 -<P>Also note that using the old-style PGP message format is <B>strongly</B>
31790 -<B>deprecated</B>.</P>
31793 -<H3><A NAME="pgp_decode_command"></A> pgp_decode_command</H3>
31795 -<P>Type: string<BR>
31796 -Default: ""</P>
31798 -<P>This format strings specifies a command which is used to decode
31799 -application/pgp attachments.</P>
31800 -<P>The PGP command formats have their own set of printf-like sequences:</P>
31804 -<DT><B>%p </B><DD><P>Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty
31805 -string otherwise. Note: This may be used with a %? construct.</P>
31806 -<DT><B>%f </B><DD><P>Expands to the name of a file containing a message.</P>
31807 -<DT><B>%s </B><DD><P>Expands to the name of a file containing the signature part
31808 -of a multipart/signed attachment when verifying it.</P>
31809 -<DT><B>%a </B><DD><P>The value of
31810 -<A HREF="#pgp_sign_as">$pgp_sign_as</A>.</P>
31811 -<DT><B>%r </B><DD><P>One or more key IDs.</P>
31815 -<P>For examples on how to configure these formats for the various versions
31816 -of PGP which are floating around, see the pgp*.rc and gpg.rc files in
31817 -the samples/ subdirectory which has been installed on your system
31818 -alongside the documentation.</P>
31821 -<H3><A NAME="pgp_getkeys_command"></A> pgp_getkeys_command</H3>
31823 -<P>Type: string<BR>
31824 -Default: ""</P>
31826 -<P>This command is invoked whenever mutt will need public key information.
31827 -%r is the only printf-like sequence used with this format.</P>
31830 -<H3><A NAME="pgp_verify_command"></A> pgp_verify_command</H3>
31832 -<P>Type: string<BR>
31833 -Default: ""</P>
31835 -<P>This command is used to verify PGP/MIME signatures.</P>
31838 -<H3><A NAME="pgp_decrypt_command"></A> pgp_decrypt_command</H3>
31840 -<P>Type: string<BR>
31841 -Default: ""</P>
31843 -<P>This command is used to decrypt a PGP/MIME encrypted message.</P>
31846 -<H3><A NAME="pgp_clearsign_command"></A> pgp_clearsign_command</H3>
31848 -<P>Type: string<BR>
31849 -Default: ""</P>
31851 -<P>This format is used to create a "clearsigned" old-style PGP attachment.
31852 -Note that the use of this format is <B>strongly</B> <B>deprecated</B>.</P>
31855 -<H3><A NAME="pgp_sign_command"></A> pgp_sign_command</H3>
31857 -<P>Type: string<BR>
31858 -Default: ""</P>
31860 -<P>This command is used to create the detached PGP signature for a
31861 -multipart/signed PGP/MIME body part.</P>
31864 -<H3><A NAME="pgp_encrypt_sign_command"></A> pgp_encrypt_sign_command</H3>
31866 -<P>Type: string<BR>
31867 -Default: ""</P>
31869 -<P>This command is used to combinedly sign/encrypt a body part.</P>
31872 -<H3><A NAME="pgp_encrypt_only_command"></A> pgp_encrypt_only_command</H3>
31874 -<P>Type: string<BR>
31875 -Default: ""</P>
31877 -<P>This command is used to encrypt a body part without signing it.</P>
31880 -<H3><A NAME="pgp_import_command"></A> pgp_import_command</H3>
31882 -<P>Type: string<BR>
31883 -Default: ""</P>
31885 -<P>This command is used to import a key from a message into
31886 -the user's public key ring.</P>
31889 -<H3><A NAME="pgp_export_command"></A> pgp_export_command</H3>
31891 -<P>Type: string<BR>
31892 -Default: ""</P>
31894 -<P>This command is used to export a public key from the user's
31898 -<H3><A NAME="pgp_verify_key_command"></A> pgp_verify_key_command</H3>
31900 -<P>Type: string<BR>
31901 -Default: ""</P>
31903 -<P>This command is used to verify key information from the key selection
31907 -<H3><A NAME="pgp_list_secring_command"></A> pgp_list_secring_command</H3>
31909 -<P>Type: string<BR>
31910 -Default: ""</P>
31912 -<P>This command is used to list the secret key ring's contents. The
31913 -output format must be analogous to the one used by
31914 -gpg --list-keys --with-colons.</P>
31915 -<P>This format is also generated by the pgpring utility which comes
31919 -<H3><A NAME="pgp_list_pubring_command"></A> pgp_list_pubring_command</H3>
31921 -<P>Type: string<BR>
31922 -Default: ""</P>
31924 -<P>This command is used to list the public key ring's contents. The
31925 -output format must be analogous to the one used by
31926 -gpg --list-keys --with-colons.</P>
31927 -<P>This format is also generated by the pgpring utility which comes
31931 -<H3><A NAME="forward_decrypt"></A> forward_decrypt</H3>
31933 -<P>Type: boolean<BR>
31936 -<P>Controls the handling of encrypted messages when forwarding a message.
31937 -When set, the outer layer of encryption is stripped off. This
31938 -variable is only used if ``
31939 -<A HREF="#mime_forward">$mime_forward</A>'' is <EM>set</EM> and
31941 -<A HREF="#mime_forward_decode">$mime_forward_decode</A>'' is <EM>unset</EM>.</P>
31944 -<H3><A NAME="ssl_starttls"></A> ssl_starttls</H3>
31946 -<P>Type: quadoption<BR>
31949 -<P>If set (the default), mutt will attempt to use STARTTLS on servers
31950 -advertising the capability. When unset, mutt will not attempt to
31951 -use STARTTLS regardless of the server's capabilities.</P>
31954 -<H3><A NAME="certificate_file"></A> certificate_file</H3>
31957 -Default: ""</P>
31959 -<P>This variable specifies the file where the certificates you trust
31960 -are saved. When an unknown certificate is encountered, you are asked
31961 -if you accept it or not. If you accept it, the certificate can also
31962 -be saved in this file and further connections are automatically
31964 -<P>You can also manually add CA certificates in this file. Any server
31965 -certificate that is signed with one of these CA certificates are
31966 -also automatically accepted.</P>
31967 -<P>Example: set certificate_file=~/.mutt/certificates</P>
31970 -<H3><A NAME="ssl_usesystemcerts"></A> ssl_usesystemcerts</H3>
31972 -<P>Type: boolean<BR>
31975 -<P>If set to <EM>yes</EM>, mutt will use CA certificates in the
31976 -system-wide certificate store when checking if server certificate
31977 -is signed by a trusted CA.</P>
31980 -<H3><A NAME="entropy_file"></A> entropy_file</H3>
31983 -Default: ""</P>
31985 -<P>The file which includes random data that is used to initalize SSL
31986 -library functions.</P>
31989 -<H3><A NAME="ssl_use_sslv2"></A> ssl_use_sslv2</H3>
31991 -<P>Type: boolean<BR>
31994 -<P>This variables specifies whether to attempt to use SSLv2 in the
31995 -SSL authentication process.</P>
31998 -<H3><A NAME="ssl_use_sslv3"></A> ssl_use_sslv3</H3>
32000 -<P>Type: boolean<BR>
32003 -<P>This variables specifies whether to attempt to use SSLv3 in the
32004 -SSL authentication process.</P>
32007 -<H3><A NAME="ssl_use_tlsv1"></A> ssl_use_tlsv1</H3>
32009 -<P>Type: boolean<BR>
32012 -<P>This variables specifies whether to attempt to use TLSv1 in the
32013 -SSL authentication process.</P>
32016 -<H3><A NAME="pipe_split"></A> pipe_split</H3>
32018 -<P>Type: boolean<BR>
32021 -<P>Used in connection with the <EM>pipe-message</EM> command and the ``tag-
32022 -prefix'' operator. If this variable is unset, when piping a list of
32023 -tagged messages Mutt will concatenate the messages and will pipe them
32024 -as a single folder. When set, Mutt will pipe the messages one by one.
32025 -In both cases the messages are piped in the current sorted order,
32027 -<A HREF="#pipe_sep">$pipe_sep</A>'' separator is added after each message.</P>
32030 -<H3><A NAME="pipe_decode"></A> pipe_decode</H3>
32032 -<P>Type: boolean<BR>
32035 -<P>Used in connection with the <EM>pipe-message</EM> command. When unset,
32036 -Mutt will pipe the messages without any preprocessing. When set, Mutt
32037 -will weed headers and will attempt to PGP/MIME decode the messages
32041 -<H3><A NAME="pipe_sep"></A> pipe_sep</H3>
32043 -<P>Type: string<BR>
32044 -Default: "\n"</P>
32046 -<P>The separator to add between messages when piping a list of tagged
32047 -messages to an external Unix command.</P>
32050 -<H3><A NAME="pop_authenticators"></A> pop_authenticators</H3>
32052 -<P>Type: string<BR>
32053 -Default: ""</P>
32055 -<P>This is a colon-delimited list of authentication methods mutt may
32056 -attempt to use to log in to an POP server, in the order mutt should
32057 -try them. Authentication methods are either 'user', 'apop' or any
32058 -SASL mechanism, eg 'digest-md5', 'gssapi' or 'cram-md5'.
32059 -This parameter is case-insensitive. If this parameter is unset
32060 -(the default) mutt will try all available methods, in order from
32061 -most-secure to least-secure.</P>
32062 -<P>Example: set pop_authenticators="digest-md5:apop:user"</P>
32065 -<H3><A NAME="pop_auth_try_all"></A> pop_auth_try_all</H3>
32067 -<P>Type: boolean<BR>
32070 -<P>If set, Mutt will try all available methods. When unset, Mutt will
32071 -only fall back to other authentication methods if the previous
32072 -methods are unavailable. If a method is available but authentication
32073 -fails, Mutt will not connect to the POP server.</P>
32076 -<H3><A NAME="pop_checkinterval"></A> pop_checkinterval</H3>
32078 -<P>Type: number<BR>
32081 -<P>This variable configures how often (in seconds) POP should look for
32085 -<H3><A NAME="pop_delete"></A> pop_delete</H3>
32087 -<P>Type: quadoption<BR>
32088 -Default: ask-no</P>
32090 -<P>If set, Mutt will delete successfully downloaded messages from the POP
32091 -server when using the fetch-mail function. When unset, Mutt will
32092 -download messages but also leave them on the POP server.</P>
32095 -<H3><A NAME="pop_host"></A> pop_host</H3>
32097 -<P>Type: string<BR>
32098 -Default: ""</P>
32100 -<P>The name of your POP server for the fetch-mail function. You
32101 -can also specify an alternative port, username and password, ie:</P>
32102 -<P>[pop[s]://][username[:password]@]popserver[:port]</P>
32105 -<H3><A NAME="pop_last"></A> pop_last</H3>
32107 -<P>Type: boolean<BR>
32110 -<P>If this variable is set, mutt will try to use the "LAST" POP command
32111 -for retrieving only unread messages from the POP server when using
32112 -the fetch-mail function.</P>
32115 -<H3><A NAME="pop_reconnect"></A> pop_reconnect</H3>
32117 -<P>Type: quadoption<BR>
32118 -Default: ask-yes</P>
32120 -<P>Controls whether or not Mutt will try to reconnect to POP server when
32121 -connection lost.</P>
32124 -<H3><A NAME="pop_user"></A> pop_user</H3>
32126 -<P>Type: string<BR>
32127 -Default: ""</P>
32129 -<P>Your login name on the POP server.</P>
32130 -<P>This variable defaults to your user name on the local machine.</P>
32133 -<H3><A NAME="pop_pass"></A> pop_pass</H3>
32135 -<P>Type: string<BR>
32136 -Default: ""</P>
32138 -<P>Specifies the password for your POP account. If unset, Mutt will
32139 -prompt you for your password when you open POP mailbox.
32140 -<B>Warning</B>: you should only use this option when you are on a
32141 -fairly secure machine, because the superuser can read your muttrc
32142 -even if you are the only one who can read the file.</P>
32145 -<H3><A NAME="post_indent_string"></A> post_indent_string</H3>
32147 -<P>Type: string<BR>
32148 -Default: ""</P>
32150 -<P>Similar to the ``
32151 -<A HREF="#attribution">$attribution</A>'' variable, Mutt will append this
32152 -string after the inclusion of a message which is being replied to.</P>
32155 -<H3><A NAME="postpone"></A> postpone</H3>
32157 -<P>Type: quadoption<BR>
32158 -Default: ask-yes</P>
32160 -<P>Controls whether or not messages are saved in the ``
32161 -<A HREF="#postponed">$postponed</A>''
32162 -mailbox when you elect not to send immediately.</P>
32165 -<H3><A NAME="postponed"></A> postponed</H3>
32168 -Default: "~/postponed"</P>
32170 -<P>Mutt allows you to indefinitely ``
32171 -<A HREF="#postpone">postpone</A> sending a message'' which
32172 -you are editing. When you choose to postpone a message, Mutt saves it
32173 -in the mailbox specified by this variable. Also see the ``
32174 -<A HREF="#postpone">$postpone</A>''
32178 -<H3><A NAME="preconnect"></A> preconnect</H3>
32180 -<P>Type: string<BR>
32181 -Default: ""</P>
32183 -<P>If set, a shell command to be executed if mutt fails to establish
32184 -a connection to the server. This is useful for setting up secure
32185 -connections, e.g. with ssh(1). If the command returns a nonzero
32186 -status, mutt gives up opening the server. Example:</P>
32187 -<P>preconnect="ssh -f -q -L 1234:mailhost.net:143 mailhost.net
32188 -sleep 20 < /dev/null > /dev/null"</P>
32189 -<P>Mailbox 'foo' on mailhost.net can now be reached
32190 -as '{localhost:1234}foo'.</P>
32191 -<P>NOTE: For this example to work, you must be able to log in to the
32192 -remote machine without having to enter a password.</P>
32195 -<H3><A NAME="print"></A> print</H3>
32197 -<P>Type: quadoption<BR>
32198 -Default: ask-no</P>
32200 -<P>Controls whether or not Mutt asks for confirmation before printing.
32201 -This is useful for people (like me) who accidentally hit ``p'' often.</P>
32204 -<H3><A NAME="print_command"></A> print_command</H3>
32207 -Default: "lpr"</P>
32209 -<P>This specifies the command pipe that should be used to print messages.</P>
32212 -<H3><A NAME="print_decode"></A> print_decode</H3>
32214 -<P>Type: boolean<BR>
32217 -<P>Used in connection with the print-message command. If this
32218 -option is set, the message is decoded before it is passed to the
32219 -external command specified by
32220 -<A HREF="#print_command">$print_command</A>. If this option
32221 -is unset, no processing will be applied to the message when
32222 -printing it. The latter setting may be useful if you are using
32223 -some advanced printer filter which is able to properly format
32224 -e-mail messages for printing.</P>
32227 -<H3><A NAME="print_split"></A> print_split</H3>
32229 -<P>Type: boolean<BR>
32232 -<P>Used in connection with the print-message command. If this option
32233 -is set, the command sepcified by
32234 -<A HREF="#print_command">$print_command</A> is executed once for
32235 -each message which is to be printed. If this option is unset,
32236 -the command specified by
32237 -<A HREF="#print_command">$print_command</A> is executed only once, and
32238 -all the messages are concatenated, with a form feed as the message
32240 -<P>Those who use the <B>enscript</B>(1) program's mail-printing mode will
32241 -most likely want to set this option.</P>
32244 -<H3><A NAME="prompt_after"></A> prompt_after</H3>
32246 -<P>Type: boolean<BR>
32249 -<P>If you use an <EM>external</EM> ``
32250 -<A HREF="#pager">$pager</A>'', setting this variable will
32251 -cause Mutt to prompt you for a command when the pager exits rather
32252 -than returning to the index menu. If unset, Mutt will return to the
32253 -index menu when the external pager exits.</P>
32256 -<H3><A NAME="query_command"></A> query_command</H3>
32259 -Default: ""</P>
32261 -<P>This specifies the command that mutt will use to make external address
32262 -queries. The string should contain a %s, which will be substituted
32263 -with the query string the user types. See ``
32264 -<A HREF="manual-4.html#query">query</A>'' for more
32268 -<H3><A NAME="quit"></A> quit</H3>
32270 -<P>Type: quadoption<BR>
32273 -<P>This variable controls whether ``quit'' and ``exit'' actually quit
32274 -from mutt. If it set to yes, they do quit, if it is set to no, they
32275 -have no effect, and if it is set to ask-yes or ask-no, you are
32276 -prompted for confirmation when you try to quit.</P>
32279 -<H3><A NAME="quote_regexp"></A> quote_regexp</H3>
32281 -<P>Type: regular expression<BR>
32282 -Default: "^([ \t]*[|>:}#])+"</P>
32284 -<P>A regular expression used in the internal-pager to determine quoted
32285 -sections of text in the body of a message.</P>
32286 -<P><B>Note:</B> In order to use the <EM>quoted</EM><B>x</B> patterns in the
32287 -internal pager, you need to set this to a regular expression that
32288 -matches <EM>exactly</EM> the quote characters at the beginning of quoted
32292 -<H3><A NAME="read_inc"></A> read_inc</H3>
32294 -<P>Type: number<BR>
32297 -<P>If set to a value greater than 0, Mutt will display which message it
32298 -is currently on when reading a mailbox. The message is printed after
32299 -<EM>read_inc</EM> messages have been read (e.g., if set to 25, Mutt will
32300 -print a message when it reads message 25, and then again when it gets
32301 -to message 50). This variable is meant to indicate progress when
32302 -reading large mailboxes which may take some time.
32303 -When set to 0, only a single message will appear before the reading
32305 -<P>Also see the ``
32306 -<A HREF="#write_inc">$write_inc</A>'' variable.</P>
32309 -<H3><A NAME="read_only"></A> read_only</H3>
32311 -<P>Type: boolean<BR>
32314 -<P>If set, all folders are opened in read-only mode.</P>
32317 -<H3><A NAME="realname"></A> realname</H3>
32319 -<P>Type: string<BR>
32320 -Default: ""</P>
32322 -<P>This variable specifies what "real" or "personal" name should be used
32323 -when sending messages.</P>
32324 -<P>By default, this is the GCOS field from /etc/passwd. Note that this
32325 -variable will <EM>not</EM> be used when the user has set a real name
32327 -<A HREF="#from">$from</A> variable.</P>
32330 -<H3><A NAME="recall"></A> recall</H3>
32332 -<P>Type: quadoption<BR>
32333 -Default: ask-yes</P>
32335 -<P>Controls whether or not you are prompted to recall postponed messages
32336 -when composing a new message. Also see ``
32337 -<A HREF="#postponed">$postponed</A>''.</P>
32338 -<P>Setting this variable to ``yes'' is not generally useful, and thus not
32342 -<H3><A NAME="record"></A> record</H3>
32345 -Default: ""</P>
32347 -<P>This specifies the file into which your outgoing messages should be
32348 -appended. (This is meant as the primary method for saving a copy of
32349 -your messages, but another way to do this is using the ``
32350 -<A HREF="manual-3.html#my_hdr">my_hdr</A>''
32351 -command to create a <EM>Bcc:</EM> field with your email address in it.)</P>
32352 -<P>The value of <EM>
32353 -<A HREF="#record">$record</A></EM> is overridden by the ``
32354 -<A HREF="#force_name">$force_name</A>'' and
32356 -<A HREF="#save_name">$save_name</A>'' variables, and the ``
32357 -<A HREF="manual-3.html#fcc-hook">fcc-hook</A>'' command.</P>
32360 -<H3><A NAME="reply_regexp"></A> reply_regexp</H3>
32362 -<P>Type: regular expression<BR>
32363 -Default: "^(re([\[0-9\]+])*|aw):[ \t]*"</P>
32365 -<P>A regular expression used to recognize reply messages when threading
32366 -and replying. The default value corresponds to the English "Re:" and
32367 -the German "Aw:".</P>
32370 -<H3><A NAME="reply_self"></A> reply_self</H3>
32372 -<P>Type: boolean<BR>
32375 -<P>If unset and you are replying to a message sent by you, Mutt will
32376 -assume that you want to reply to the recipients of that message rather
32377 -than to yourself.</P>
32380 -<H3><A NAME="reply_to"></A> reply_to</H3>
32382 -<P>Type: quadoption<BR>
32383 -Default: ask-yes</P>
32385 -<P>If set, Mutt will ask you if you want to use the address listed in the
32386 -Reply-To: header field when replying to a message. If you answer no,
32387 -it will use the address in the From: header field instead. This
32388 -option is useful for reading a mailing list that sets the Reply-To:
32389 -header field to the list address and you want to send a private
32390 -message to the author of a message.</P>
32393 -<H3><A NAME="resolve"></A> resolve</H3>
32395 -<P>Type: boolean<BR>
32398 -<P>When set, the cursor will be automatically advanced to the next
32399 -(possibly undeleted) message whenever a command that modifies the
32400 -current message is executed.</P>
32403 -<H3><A NAME="reverse_alias"></A> reverse_alias</H3>
32405 -<P>Type: boolean<BR>
32408 -<P>This variable controls whether or not Mutt will display the "personal"
32409 -name from your aliases in the index menu if it finds an alias that
32410 -matches the message's sender. For example, if you have the following
32414 -<BLOCKQUOTE><CODE>
32416 -alias juser abd30425@somewhere.net (Joe User)
32418 -</CODE></BLOCKQUOTE>
32420 -<P>and then you receive mail which contains the following header:</P>
32423 -<BLOCKQUOTE><CODE>
32425 -From: abd30425@somewhere.net
32427 -</CODE></BLOCKQUOTE>
32429 -<P>It would be displayed in the index menu as ``Joe User'' instead of
32430 -``abd30425@somewhere.net.'' This is useful when the person's e-mail
32431 -address is not human friendly (like CompuServe addresses).</P>
32434 -<H3><A NAME="reverse_name"></A> reverse_name</H3>
32436 -<P>Type: boolean<BR>
32439 -<P>It may sometimes arrive that you receive mail to a certain machine,
32440 -move the messages to another machine, and reply to some the messages
32441 -from there. If this variable is set, the default <EM>From:</EM> line of
32442 -the reply messages is built using the address where you received the
32443 -messages you are replying to. If the variable is unset, the
32444 -<EM>From:</EM> line will use your address on the current machine.</P>
32447 -<H3><A NAME="reverse_realname"></A> reverse_realname</H3>
32449 -<P>Type: boolean<BR>
32452 -<P>This variable fine-tunes the behaviour of the
32453 -<A HREF="#reverse_name">reverse_name</A> feature.
32454 -When it is set, mutt will use the address from incoming messages as-is,
32455 -possibly including eventual real names. When it is unset, mutt will
32456 -override any such realnames with the setting of the
32457 -<A HREF="#realname">realname</A> variable.</P>
32460 -<H3><A NAME="rfc2047_parameters"></A> rfc2047_parameters</H3>
32462 -<P>Type: boolean<BR>
32465 -<P>When this variable is set, Mutt will decode RFC-2047-encoded MIME
32466 -parameters. You want to set this variable when mutt suggests you
32467 -to save attachments to files named like this:
32468 -=?iso-8859-1?Q?file=5F=E4=5F991116=2Ezip?=</P>
32469 -<P>When this variable is set interactively, the change doesn't have
32470 -the desired effect before you have changed folders.</P>
32471 -<P>Note that this use of RFC 2047's encoding is explicitly,
32472 -prohibited by the standard, but nevertheless encountered in the
32474 -Also note that setting this parameter will <EM>not</EM> have the effect
32475 -that mutt <EM>generates</EM> this kind of encoding. Instead, mutt will
32476 -unconditionally use the encoding specified in RFC 2231.</P>
32479 -<H3><A NAME="save_address"></A> save_address</H3>
32481 -<P>Type: boolean<BR>
32484 -<P>If set, mutt will take the sender's full address when choosing a
32485 -default folder for saving a mail. If ``
32486 -<A HREF="#save_name">$save_name</A>'' or ``
32487 -<A HREF="#force_name">$force_name</A>''
32488 -is set too, the selection of the fcc folder will be changed as well.</P>
32491 -<H3><A NAME="save_empty"></A> save_empty</H3>
32493 -<P>Type: boolean<BR>
32496 -<P>When unset, mailboxes which contain no saved messages will be removed
32497 -when closed (the exception is ``
32498 -<A HREF="#spoolfile">$spoolfile</A>'' which is never removed).
32499 -If set, mailboxes are never removed.</P>
32500 -<P><B>Note:</B> This only applies to mbox and MMDF folders, Mutt does not
32501 -delete MH and Maildir directories.</P>
32504 -<H3><A NAME="save_name"></A> save_name</H3>
32506 -<P>Type: boolean<BR>
32509 -<P>This variable controls how copies of outgoing messages are saved.
32510 -When set, a check is made to see if a mailbox specified by the
32511 -recipient address exists (this is done by searching for a mailbox in
32513 -<A HREF="#folder">$folder</A>'' directory with the <EM>username</EM> part of the
32514 -recipient address). If the mailbox exists, the outgoing message will
32515 -be saved to that mailbox, otherwise the message is saved to the
32517 -<A HREF="#record">$record</A>'' mailbox.</P>
32518 -<P>Also see the ``
32519 -<A HREF="#force_name">$force_name</A>'' variable.</P>
32522 -<H3><A NAME="score"></A> score</H3>
32524 -<P>Type: boolean<BR>
32527 -<P>When this variable is <EM>unset</EM>, scoring is turned off. This can
32528 -be useful to selectively disable scoring for certain folders when the
32530 -<A HREF="#score_threshold_delete">$score_threshold_delete</A>'' variable and friends are used.</P>
32533 -<H3><A NAME="score_threshold_delete"></A> score_threshold_delete</H3>
32535 -<P>Type: number<BR>
32538 -<P>Messages which have been assigned a score equal to or lower than the value
32539 -of this variable are automatically marked for deletion by mutt. Since
32540 -mutt scores are always greater than or equal to zero, the default setting
32541 -of this variable will never mark a message for deletion.</P>
32544 -<H3><A NAME="score_threshold_flag"></A> score_threshold_flag</H3>
32546 -<P>Type: number<BR>
32549 -<P>Messages wich have been assigned a score greater than or equal to this
32550 -variable's value are automatically marked "flagged".</P>
32553 -<H3><A NAME="score_threshold_read"></A> score_threshold_read</H3>
32555 -<P>Type: number<BR>
32558 -<P>Messages which have been assigned a score equal to or lower than the value
32559 -of this variable are automatically marked as read by mutt. Since
32560 -mutt scores are always greater than or equal to zero, the default setting
32561 -of this variable will never mark a message read.</P>
32564 -<H3><A NAME="send_charset"></A> send_charset</H3>
32566 -<P>Type: string<BR>
32567 -Default: "us-ascii:iso-8859-1:utf-8"</P>
32569 -<P>A list of character sets for outgoing messages. Mutt will use the
32570 -first character set into which the text can be converted exactly.
32572 -<A HREF="#charset">$charset</A>'' is not iso-8859-1 and recipients may not
32573 -understand UTF-8, it is advisable to include in the list an
32574 -appropriate widely used standard character set (such as
32575 -iso-8859-2, koi8-r or iso-2022-jp) either instead of or after
32576 -"iso-8859-1".</P>
32579 -<H3><A NAME="sendmail"></A> sendmail</H3>
32582 -Default: "/usr/sbin/sendmail -oem -oi"</P>
32584 -<P>Specifies the program and arguments used to deliver mail sent by Mutt.
32585 -Mutt expects that the specified program interprets additional
32586 -arguments as recipient addresses.</P>
32589 -<H3><A NAME="sendmail_wait"></A> sendmail_wait</H3>
32591 -<P>Type: number<BR>
32594 -<P>Specifies the number of seconds to wait for the ``
32595 -<A HREF="#sendmail">$sendmail</A>'' process
32596 -to finish before giving up and putting delivery in the background.</P>
32597 -<P>Mutt interprets the value of this variable as follows:</P>
32600 -<DT><B>>0 </B><DD><P>number of seconds to wait for sendmail to finish before continuing</P>
32601 -<DT><B>0 </B><DD><P>wait forever for sendmail to finish</P>
32602 -<DT><B><0 </B><DD><P>always put sendmail in the background without waiting</P>
32606 -<P>Note that if you specify a value other than 0, the output of the child
32607 -process will be put in a temporary file. If there is some error, you
32608 -will be informed as to where to find the output.</P>
32611 -<H3><A NAME="shell"></A> shell</H3>
32614 -Default: ""</P>
32616 -<P>Command to use when spawning a subshell. By default, the user's login
32617 -shell from /etc/passwd is used.</P>
32620 -<H3><A NAME="sig_dashes"></A> sig_dashes</H3>
32622 -<P>Type: boolean<BR>
32625 -<P>If set, a line containing ``-- '' will be inserted before your
32627 -<A HREF="#signature">$signature</A>''. It is <B>strongly</B> recommended that you not unset
32628 -this variable unless your ``signature'' contains just your name. The
32629 -reason for this is because many software packages use ``-- \n'' to
32630 -detect your signature. For example, Mutt has the ability to highlight
32631 -the signature in a different color in the builtin pager.</P>
32634 -<H3><A NAME="sig_on_top"></A> sig_on_top</H3>
32636 -<P>Type: boolean<BR>
32639 -<P>If set, the signature will be included before any quoted or forwarded
32640 -text. It is <B>strongly</B> recommended that you do not set this variable
32641 -unless you really know what you are doing, and are prepared to take
32642 -some heat from netiquette guardians.</P>
32645 -<H3><A NAME="signature"></A> signature</H3>
32648 -Default: "~/.signature"</P>
32650 -<P>Specifies the filename of your signature, which is appended to all
32651 -outgoing messages. If the filename ends with a pipe (``|''), it is
32652 -assumed that filename is a shell command and input should be read from
32656 -<H3><A NAME="simple_search"></A> simple_search</H3>
32658 -<P>Type: string<BR>
32659 -Default: "~f %s | ~s %s"</P>
32661 -<P>Specifies how Mutt should expand a simple search into a real search
32662 -pattern. A simple search is one that does not contain any of the ~
32664 -<A HREF="manual-4.html#patterns">patterns</A>'' for more information on search patterns.</P>
32665 -<P>For example, if you simply type joe at a search or limit prompt, Mutt
32666 -will automatically expand it to the value specified by this variable.
32667 -For the default value it would be:</P>
32668 -<P>~f joe | ~s joe</P>
32671 -<H3><A NAME="smart_wrap"></A> smart_wrap</H3>
32673 -<P>Type: boolean<BR>
32676 -<P>Controls the display of lines longer then the screen width in the
32677 -internal pager. If set, long lines are wrapped at a word boundary. If
32678 -unset, lines are simply wrapped at the screen edge. Also see the
32680 -<A HREF="#markers">$markers</A>'' variable.</P>
32683 -<H3><A NAME="smileys"></A> smileys</H3>
32685 -<P>Type: regular expression<BR>
32686 -Default: "(>From )|(:[-^]?[][)(><}{|/DP])"</P>
32688 -<P>The <EM>pager</EM> uses this variable to catch some common false
32690 -<A HREF="#quote_regexp">$quote_regexp</A>'', most notably smileys in the beginning
32694 -<H3><A NAME="sleep_time"></A> sleep_time</H3>
32696 -<P>Type: number<BR>
32699 -<P>Specifies time, in seconds, to pause while displaying certain informational
32700 -messages, while moving from folder to folder and after expunging
32701 -messages from the current folder. The default is to pause one second, so
32702 -a value of zero for this option suppresses the pause.</P>
32705 -<H3><A NAME="sort"></A> sort</H3>
32707 -<P>Type: sort order<BR>
32710 -<P>Specifies how to sort messages in the <EM>index</EM> menu. Valid values
32714 -<BLOCKQUOTE><CODE>
32716 - date or date-sent
32719 - mailbox-order (unsorted)
32726 -</CODE></BLOCKQUOTE>
32728 -<P>You may optionally use the reverse- prefix to specify reverse sorting
32729 -order (example: set sort=reverse-date-sent).</P>
32732 -<H3><A NAME="sort_alias"></A> sort_alias</H3>
32734 -<P>Type: sort order<BR>
32735 -Default: alias</P>
32737 -<P>Specifies how the entries in the `alias' menu are sorted. The
32738 -following are legal values:</P>
32741 -<BLOCKQUOTE><CODE>
32743 - address (sort alphabetically by email address)
32744 - alias (sort alphabetically by alias name)
32745 - unsorted (leave in order specified in .muttrc)
32747 -</CODE></BLOCKQUOTE>
32750 -<H3><A NAME="sort_aux"></A> sort_aux</H3>
32752 -<P>Type: sort order<BR>
32755 -<P>When sorting by threads, this variable controls how threads are sorted
32756 -in relation to other threads, and how the branches of the thread trees
32757 -are sorted. This can be set to any value that ``
32758 -<A HREF="#sort">$sort</A>'' can, except
32759 -threads (in that case, mutt will just use date-sent). You can also
32760 -specify the last- prefix in addition to the reverse- prefix, but last-
32761 -must come after reverse-. The last- prefix causes messages to be
32762 -sorted against its siblings by which has the last descendant, using
32763 -the rest of sort_aux as an ordering. For instance, set sort_aux=last-
32764 -date-received would mean that if a new message is received in a
32765 -thread, that thread becomes the last one displayed (or the first, if
32766 -you have set sort=reverse-threads.) Note: For reversed ``
32767 -<A HREF="#sort">$sort</A>''
32769 -<A HREF="#sort_aux">$sort_aux</A> is reversed again (which is not the right thing to do,
32770 -but kept to not break any existing configuration setting).</P>
32773 -<H3><A NAME="sort_browser"></A> sort_browser</H3>
32775 -<P>Type: sort order<BR>
32776 -Default: subject</P>
32778 -<P>Specifies how to sort entries in the file browser. By default, the
32779 -entries are sorted alphabetically. Valid values:</P>
32782 -<BLOCKQUOTE><CODE>
32784 - alpha (alphabetically)
32789 -</CODE></BLOCKQUOTE>
32791 -<P>You may optionally use the reverse- prefix to specify reverse sorting
32792 -order (example: set sort_browser=reverse-date).</P>
32795 -<H3><A NAME="sort_re"></A> sort_re</H3>
32797 -<P>Type: boolean<BR>
32800 -<P>This variable is only useful when sorting by threads with
32802 -<A HREF="#strict_threads">$strict_threads</A>'' unset. In that case, it changes the heuristic
32803 -mutt uses to thread messages by subject. With sort_re set, mutt will
32804 -only attach a message as the child of another message by subject if
32805 -the subject of the child message starts with a substring matching the
32807 -<A HREF="#reply_regexp">$reply_regexp</A>''. With sort_re unset, mutt will attach
32808 -the message whether or not this is the case, as long as the
32810 -<A HREF="#reply_regexp">$reply_regexp</A>'' parts of both messages are identical.</P>
32813 -<H3><A NAME="spoolfile"></A> spoolfile</H3>
32816 -Default: ""</P>
32818 -<P>If your spool mailbox is in a non-default place where Mutt cannot find
32819 -it, you can specify its location with this variable. Mutt will
32820 -automatically set this variable to the value of the environment
32821 -variable $MAIL if it is not set.</P>
32824 -<H3><A NAME="status_chars"></A> status_chars</H3>
32826 -<P>Type: string<BR>
32827 -Default: "-*%A"</P>
32829 -<P>Controls the characters used by the "%r" indicator in
32831 -<A HREF="#status_format">$status_format</A>''. The first character is used when the mailbox is
32832 -unchanged. The second is used when the mailbox has been changed, and
32833 -it needs to be resynchronized. The third is used if the mailbox is in
32834 -read-only mode, or if the mailbox will not be written when exiting
32835 -that mailbox (You can toggle whether to write changes to a mailbox
32836 -with the toggle-write operation, bound by default to "%"). The fourth
32837 -is used to indicate that the current folder has been opened in attach-
32838 -message mode (Certain operations like composing a new mail, replying,
32839 -forwarding, etc. are not permitted in this mode).</P>
32842 -<H3><A NAME="status_format"></A> status_format</H3>
32844 -<P>Type: string<BR>
32845 -Default: "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"</P>
32847 -<P>Controls the format of the status line displayed in the <EM>index</EM>
32848 -menu. This string is similar to ``
32849 -<A HREF="#index_format">$index_format</A>'', but has its own
32850 -set of printf()-like sequences:</P>
32854 -<DT><B>%b </B><DD><P>number of mailboxes with new mail *</P>
32855 -<DT><B>%d </B><DD><P>number of deleted messages *</P>
32856 -<DT><B>%h </B><DD><P>local hostname</P>
32857 -<DT><B>%f </B><DD><P>the full pathname of the current mailbox</P>
32858 -<DT><B>%F </B><DD><P>number of flagged messages *</P>
32859 -<DT><B>%l </B><DD><P>size (in bytes) of the current mailbox *</P>
32860 -<DT><B>%L </B><DD><P>size (in bytes) of the messages shown
32861 -(i.e., which match the current limit) *</P>
32862 -<DT><B>%m </B><DD><P>the number of messages in the mailbox *</P>
32863 -<DT><B>%M </B><DD><P>the number of messages shown (i.e., which match the current limit) *</P>
32864 -<DT><B>%n </B><DD><P>number of new messages in the mailbox *</P>
32865 -<DT><B>%o </B><DD><P>number of old unread messages</P>
32866 -<DT><B>%p </B><DD><P>number of postponed messages *</P>
32867 -<DT><B>%P </B><DD><P>percentage of the way through the index</P>
32868 -<DT><B>%r </B><DD><P>modified/read-only/won't-write/attach-message indicator,
32870 -<A HREF="#status_chars">$status_chars</A></P>
32871 -<DT><B>%s </B><DD><P>current sorting mode (
32872 -<A HREF="#sort">$sort</A>)</P>
32873 -<DT><B>%S </B><DD><P>current aux sorting method (
32874 -<A HREF="#sort_aux">$sort_aux</A>)</P>
32875 -<DT><B>%t </B><DD><P>number of tagged messages *</P>
32876 -<DT><B>%u </B><DD><P>number of unread messages *</P>
32877 -<DT><B>%v </B><DD><P>Mutt version string</P>
32878 -<DT><B>%V </B><DD><P>currently active limit pattern, if any *</P>
32879 -<DT><B>%>X </B><DD><P>right justify the rest of the string and pad with "X"</P>
32880 -<DT><B>%|X </B><DD><P>pad to the end of the line with "X"</P>
32884 -<P>* = can be optionally printed if nonzero</P>
32885 -<P>Some of the above sequences can be used to optionally print a string
32886 -if their value is nonzero. For example, you may only want to see the
32887 -number of flagged messages if such messages exist, since zero is not
32888 -particularly meaningful. To optionally print a string based upon one
32889 -of the above sequences, the following construct is used</P>
32890 -<P>%?<sequence_char>?<optional_string>?</P>
32891 -<P>where <EM>sequence_char</EM> is a character from the table above, and
32892 -<EM>optional_string</EM> is the string you would like printed if
32893 -<EM>status_char</EM> is nonzero. <EM>optional_string</EM> <B>may</B> contain
32894 -other sequence as well as normal text, but you may <B>not</B> nest
32895 -optional strings.</P>
32896 -<P>Here is an example illustrating how to optionally print the number of
32897 -new messages in a mailbox:
32898 -%?n?%n new messages.?</P>
32899 -<P>Additionally you can switch between two strings, the first one, if a
32900 -value is zero, the second one, if the value is nonzero, by using the
32901 -following construct:
32902 -%?<sequence_char>?<if_string>&<else_string>?</P>
32903 -<P>You can additionally force the result of any printf-like sequence to
32904 -be lowercase by prefixing the sequence character with an underscore
32905 -(_) sign. For example, if you want to display the local hostname in
32906 -lowercase, you would use:
32910 -<H3><A NAME="status_on_top"></A> status_on_top</H3>
32912 -<P>Type: boolean<BR>
32915 -<P>Setting this variable causes the ``status bar'' to be displayed on
32916 -the first line of the screen rather than near the bottom.</P>
32919 -<H3><A NAME="strict_threads"></A> strict_threads</H3>
32921 -<P>Type: boolean<BR>
32924 -<P>If set, threading will only make use of the ``In-Reply-To'' and
32925 -``References'' fields when you ``
32926 -<A HREF="#sort">$sort</A>'' by message threads. By
32927 -default, messages with the same subject are grouped together in
32928 -``pseudo threads.'' This may not always be desirable, such as in a
32929 -personal mailbox where you might have several unrelated messages with
32930 -the subject ``hi'' which will get grouped together.</P>
32933 -<H3><A NAME="suspend"></A> suspend</H3>
32935 -<P>Type: boolean<BR>
32938 -<P>When <EM>unset</EM>, mutt won't stop when the user presses the terminal's
32939 -<EM>susp</EM> key, usually ``control-Z''. This is useful if you run mutt
32940 -inside an xterm using a command like xterm -e mutt.</P>
32943 -<H3><A NAME="text_flowed"></A> text_flowed</H3>
32945 -<P>Type: boolean<BR>
32948 -<P>When set, mutt will generate text/plain; format=flowed attachments.
32949 -This format is easier to handle for some mailing software, and generally
32950 -just looks like ordinary text. To actually make use of this format's
32951 -features, you'll need support in your editor.</P>
32953 -<A HREF="#indent_string">$indent_string</A> is ignored when this option is set.</P>
32956 -<H3><A NAME="thread_received"></A> thread_received</H3>
32958 -<P>Type: boolean<BR>
32961 -<P>When set, mutt uses the date received rather than the date sent
32962 -to thread messages by subject.</P>
32965 -<H3><A NAME="thorough_search"></A> thorough_search</H3>
32967 -<P>Type: boolean<BR>
32970 -<P>Affects the <EM>~b</EM> and <EM>~h</EM> search operations described in
32972 -<A HREF="manual-4.html#patterns">patterns</A>'' above. If set, the headers and attachments of
32973 -messages to be searched are decoded before searching. If unset,
32974 -messages are searched as they appear in the folder.</P>
32977 -<H3><A NAME="tilde"></A> tilde</H3>
32979 -<P>Type: boolean<BR>
32982 -<P>When set, the internal-pager will pad blank lines to the bottom of the
32983 -screen with a tilde (~).</P>
32986 -<H3><A NAME="timeout"></A> timeout</H3>
32988 -<P>Type: number<BR>
32991 -<P>This variable controls the <EM>number of seconds</EM> Mutt will wait for
32992 -a key to be pressed in the main menu before timing out and checking
32993 -for new mail. A value of zero or less will cause Mutt not to ever
32997 -<H3><A NAME="tmpdir"></A> tmpdir</H3>
33000 -Default: ""</P>
33002 -<P>This variable allows you to specify where Mutt will place its
33003 -temporary files needed for displaying and composing messages.</P>
33006 -<H3><A NAME="to_chars"></A> to_chars</H3>
33008 -<P>Type: string<BR>
33009 -Default: " +TCFL"</P>
33011 -<P>Controls the character used to indicate mail addressed to you. The
33012 -first character is the one used when the mail is NOT addressed to your
33013 -address (default: space). The second is used when you are the only
33014 -recipient of the message (default: +). The third is when your address
33015 -appears in the TO header field, but you are not the only recipient of
33016 -the message (default: T). The fourth character is used when your
33017 -address is specified in the CC header field, but you are not the only
33018 -recipient. The fifth character is used to indicate mail that was sent
33019 -by <EM>you</EM>. The sixth character is used to indicate when a mail
33020 -was sent to a mailing-list you subscribe to (default: L).</P>
33023 -<H3><A NAME="tunnel"></A> tunnel</H3>
33025 -<P>Type: string<BR>
33026 -Default: ""</P>
33028 -<P>Setting this variable will cause mutt to open a pipe to a command
33029 -instead of a raw socket. You may be able to use this to set up
33030 -preauthenticated connections to your IMAP/POP3 server. Example:</P>
33031 -<P>tunnel="ssh -q mailhost.net /usr/local/libexec/imapd"</P>
33032 -<P>NOTE: For this example to work you must be able to log in to the remote
33033 -machine without having to enter a password.</P>
33036 -<H3><A NAME="use_8bitmime"></A> use_8bitmime</H3>
33038 -<P>Type: boolean<BR>
33041 -<P><B>Warning:</B> do not set this variable unless you are using a version
33042 -of sendmail which supports the -B8BITMIME flag (such as sendmail
33043 -8.8.x) or you may not be able to send mail.</P>
33044 -<P>When <EM>set</EM>, Mutt will invoke ``
33045 -<A HREF="#sendmail">$sendmail</A>'' with the -B8BITMIME
33046 -flag when sending 8-bit messages to enable ESMTP negotiation.</P>
33049 -<H3><A NAME="use_domain"></A> use_domain</H3>
33051 -<P>Type: boolean<BR>
33054 -<P>When set, Mutt will qualify all local addresses (ones without the
33055 -@host portion) with the value of ``
33056 -<A HREF="#hostname">$hostname</A>''. If <EM>unset</EM>, no
33057 -addresses will be qualified.</P>
33060 -<H3><A NAME="use_from"></A> use_from</H3>
33062 -<P>Type: boolean<BR>
33065 -<P>When <EM>set</EM>, Mutt will generate the `From:' header field when
33066 -sending messages. If <EM>unset</EM>, no `From:' header field will be
33067 -generated unless the user explicitly sets one using the ``
33068 -<A HREF="manual-3.html#my_hdr">my_hdr</A>''
33072 -<H3><A NAME="user_agent"></A> user_agent</H3>
33074 -<P>Type: boolean<BR>
33077 -<P>When <EM>set</EM>, mutt will add a "User-Agent" header to outgoing
33078 -messages, indicating which version of mutt was used for composing
33082 -<H3><A NAME="visual"></A> visual</H3>
33085 -Default: ""</P>
33087 -<P>Specifies the visual editor to invoke when the <EM>~v</EM> command is
33088 -given in the builtin editor.</P>
33091 -<H3><A NAME="wait_key"></A> wait_key</H3>
33093 -<P>Type: boolean<BR>
33096 -<P>Controls whether Mutt will ask you to press a key after <EM>shell-
33097 -escape</EM>, <EM>pipe-message</EM>, <EM>pipe-entry</EM>, <EM>print-message</EM>,
33098 -and <EM>print-entry</EM> commands.</P>
33099 -<P>It is also used when viewing attachments with ``
33100 -<A HREF="manual-5.html#auto_view">auto_view</A>'', provided
33101 -that the corresponding mailcap entry has a <EM>needsterminal</EM> flag,
33102 -and the external program is interactive.</P>
33103 -<P>When set, Mutt will always ask for a key. When unset, Mutt will wait
33104 -for a key only if the external command returned a non-zero status.</P>
33107 -<H3><A NAME="weed"></A> weed</H3>
33109 -<P>Type: boolean<BR>
33112 -<P>When set, mutt will weed headers when when displaying, forwarding,
33113 -printing, or replying to messages.</P>
33116 -<H3><A NAME="wrap_search"></A> wrap_search</H3>
33118 -<P>Type: boolean<BR>
33121 -<P>Controls whether searches wrap around the end of the mailbox.</P>
33122 -<P>When set, searches will wrap around the first (or last) message. When
33123 -unset, searches will not wrap.</P>
33126 -<H3><A NAME="wrapmargin"></A> wrapmargin</H3>
33128 -<P>Type: number<BR>
33131 -<P>Controls the margin left at the right side of the terminal when mutt's
33132 -pager does smart wrapping.</P>
33135 -<H3><A NAME="write_inc"></A> write_inc</H3>
33137 -<P>Type: number<BR>
33140 -<P>When writing a mailbox, a message will be printed every
33141 -<EM>write_inc</EM> messages to indicate progress. If set to 0, only a
33142 -single message will be displayed before writing a mailbox.</P>
33143 -<P>Also see the ``
33144 -<A HREF="#read_inc">$read_inc</A>'' variable.</P>
33147 -<H3><A NAME="write_bcc"></A> write_bcc</H3>
33149 -<P>Type: boolean<BR>
33152 -<P>Controls whether mutt writes out the Bcc header when preparing
33153 -messages to be sent. Exim users may wish to use this.</P>
33156 -<H2><A NAME="functions"></A> <A NAME="ss6.4">6.4</A> <A HREF="manual.html#toc6.4">Functions</A>
33159 -<P>The following is the list of available functions listed by the mapping
33160 -in which they are available. The default key setting is given, and an
33161 -explanation of what the function does. The key bindings of these
33162 -functions can be changed with the
33163 -<A HREF="manual-3.html#bind">bind</A>
33169 -<P>The <EM>generic</EM> menu is not a real menu, but specifies common functions
33170 -(such as movement) available in all menus except for <EM>pager</EM> and
33171 -<EM>editor</EM>. Changing settings for this menu will affect the default
33172 -bindings for all menus (except as noted).</P>
33175 -bottom-page L move to the bottom of the page
33176 -current-bottom not bound move current entry to bottom of page
33177 -current-middle not bound move current entry to middle of page
33178 -current-top not bound move current entry to top of page
33179 -enter-command : enter a muttrc command
33180 -exit q exit this menu
33181 -first-entry = move to the first entry
33182 -half-down ] scroll down 1/2 page
33183 -half-up [ scroll up 1/2 page
33184 -help ? this screen
33185 -jump number jump to an index number
33186 -last-entry * move to the last entry
33187 -middle-page M move to the middle of the page
33188 -next-entry j move to the next entry
33189 -next-line > scroll down one line
33190 -next-page z move to the next page
33191 -previous-entry k move to the previous entry
33192 -previous-line < scroll up one line
33193 -previous-page Z move to the previous page
33194 -refresh ^L clear and redraw the screen
33195 -search / search for a regular expression
33196 -search-next n search for next match
33197 -search-opposite not bound search for next match in opposite direction
33198 -search-reverse ESC / search backwards for a regular expression
33199 -select-entry RET select the current entry
33200 -shell-escape ! run a program in a subshell
33201 -tag-entry t toggle the tag on the current entry
33202 -tag-prefix ; apply next command to tagged entries
33203 -top-page H move to the top of the page
33210 -bounce-message b remail a message to another user
33211 -change-folder c open a different folder
33212 -change-folder-readonly ESC c open a different folder in read only mode
33213 -check-traditional-pgp ESC P check for classic pgp
33214 -clear-flag W clear a status flag from a message
33215 -copy-message C copy a message to a file/mailbox
33216 -create-alias a create an alias from a message sender
33217 -decode-copy ESC C decode a message and copy it to a file/mailbox
33218 -decode-save ESC s decode a message and save it to a file/mailbox
33219 -delete-message d delete the current entry
33220 -delete-pattern D delete messages matching a pattern
33221 -delete-subthread ESC d delete all messages in subthread
33222 -delete-thread ^D delete all messages in thread
33223 -display-address @ display full address of sender
33224 -display-toggle-weed h display message and toggle header weeding
33225 -display-message RET display a message
33226 -edit e edit the current message
33227 -edit-type ^E edit the current message's Content-Type
33228 -exit x exit without saving changes
33229 -extract-keys ^K extract PGP public keys
33230 -fetch-mail G retrieve mail from POP server
33231 -flag-message F toggle a message's 'important' flag
33232 -forget-passphrase ^F wipe PGP passphrase from memory
33233 -forward-message f forward a message with comments
33234 -group-reply g reply to all recipients
33235 -limit l show only messages matching a pattern
33236 -list-reply L reply to specified mailing list
33237 -mail m compose a new mail message
33238 -mail-key ESC k mail a PGP public key
33239 -next-new TAB jump to the next new message
33240 -next-subthread ESC n jump to the next subthread
33241 -next-thread ^N jump to the next thread
33242 -next-undeleted j move to the next undeleted message
33243 -next-unread not bound jump to the next unread message
33244 -parent-message P jump to parent message in thread
33245 -pipe-message | pipe message/attachment to a shell command
33246 -previous-new ESC TAB jump to the previous new message
33247 -previous-page Z move to the previous page
33248 -previous-subthread ESC p jump to previous subthread
33249 -previous-thread ^P jump to previous thread
33250 -previous-undeleted k move to the last undelete message
33251 -previous-unread not bound jump to the previous unread message
33252 -print-message p print the current entry
33253 -query Q query external program for addresses
33254 -quit q save changes to mailbox and quit
33255 -read-subthread ESC r mark the current subthread as read
33256 -read-thread ^R mark the current thread as read
33257 -recall-message R recall a postponed message
33258 -reply r reply to a message
33259 -resend-message ESC e resend message and preserve MIME structure
33260 -save-message s save message/attachment to a file
33261 -set-flag w set a status flag on a message
33262 -show-version V show the Mutt version number and date
33263 -show-limit ESC l show currently active limit pattern, if any
33264 -sort-mailbox o sort messages
33265 -sort-reverse O sort messages in reverse order
33266 -sync-mailbox $ save changes to mailbox
33267 -tag-pattern T tag messages matching a pattern
33268 -tag-thread ESC t tag/untag all messages in the current thread
33269 -toggle-new N toggle a message's 'new' flag
33270 -toggle-write % toggle whether the mailbox will be rewritten
33271 -undelete-message u undelete the current entry
33272 -undelete-pattern U undelete messages matching a pattern
33273 -undelete-subthread ESC u undelete all messages in subthread
33274 -undelete-thread ^U undelete all messages in thread
33275 -untag-pattern ^T untag messages matching a pattern
33276 -view-attachments v show MIME attachments
33283 -bottom not bound jump to the bottom of the message
33284 -bounce-message b remail a message to another user
33285 -change-folder c open a different folder
33286 -change-folder-readonly ESC c open a different folder in read only mode
33287 -check-traditional-pgp ESC P check for classic pgp
33288 -copy-message C copy a message to a file/mailbox
33289 -create-alias a create an alias from a message sender
33290 -decode-copy ESC C decode a message and copy it to a file/mailbox
33291 -decode-save ESC s decode a message and save it to a file/mailbox
33292 -delete-message d delete the current entry
33293 -delete-subthread ESC d delete all messages in subthread
33294 -delete-thread ^D delete all messages in thread
33295 -display-address @ display full address of sender
33296 -display-toggle-weed h display message and toggle header weeding
33297 -edit e edit the current message
33298 -edit-type ^E edit the current message's Content-Type
33299 -enter-command : enter a muttrc command
33300 -exit i return to the main-menu
33301 -extract-keys ^K extract PGP public keys
33302 -flag-message F toggle a message's 'important' flag
33303 -forget-passphrase ^F wipe PGP passphrase from memory
33304 -forward-message f forward a message with comments
33305 -group-reply g reply to all recipients
33306 -half-up not bound move up one-half page
33307 -half-down not bound move down one-half page
33308 -help ? this screen
33309 -list-reply L reply to specified mailing list
33310 -mail m compose a new mail message
33311 -mail-key ESC k mail a PGP public key
33312 -mark-as-new N toggle a message's 'new' flag
33313 -next-line RET scroll down one line
33314 -next-entry J move to the next entry
33315 -next-new TAB jump to the next new message
33316 -next-page move to the next page
33317 -next-subthread ESC n jump to the next subthread
33318 -next-thread ^N jump to the next thread
33319 -next-undeleted j move to the next undeleted message
33320 -next-unread not bound jump to the next unread message
33321 -parent-message P jump to parent message in thread
33322 -pipe-message | pipe message/attachment to a shell command
33323 -previous-line BackSpace scroll up one line
33324 -previous-entry K move to the previous entry
33325 -previous-new not bound jump to the previous new message
33326 -previous-page - move to the previous page
33327 -previous-subthread ESC p jump to previous subthread
33328 -previous-thread ^P jump to previous thread
33329 -previous-undeleted k move to the last undelete message
33330 -previous-unread not bound jump to the previous unread message
33331 -print-message p print the current entry
33332 -quit Q save changes to mailbox and quit
33333 -read-subthread ESC r mark the current subthread as read
33334 -read-thread ^R mark the current thread as read
33335 -recall-message R recall a postponed message
33336 -redraw-screen ^L clear and redraw the screen
33337 -reply r reply to a message
33338 -save-message s save message/attachment to a file
33339 -search / search for a regular expression
33340 -search-next n search for next match
33341 -search-opposite not bound search for next match in opposite direction
33342 -search-reverse ESC / search backwards for a regular expression
33343 -search-toggle \ toggle search pattern coloring
33344 -shell-escape ! invoke a command in a subshell
33345 -show-version V show the Mutt version number and date
33346 -skip-quoted S skip beyond quoted text
33347 -sync-mailbox $ save changes to mailbox
33348 -tag-message t tag a message
33349 -toggle-quoted T toggle display of quoted text
33350 -top ^ jump to the top of the message
33351 -undelete-message u undelete the current entry
33352 -undelete-subthread ESC u undelete all messages in subthread
33353 -undelete-thread ^U undelete all messages in thread
33354 -view-attachments v show MIME attachments
33361 -search / search for a regular expression
33362 -search-next n search for next match
33363 -search-reverse ESC / search backwards for a regular expression
33370 -create-alias a create an alias from a message sender
33371 -mail m compose a new mail message
33372 -query Q query external program for addresses
33373 -query-append A append new query results to current results
33374 -search / search for a regular expression
33375 -search-next n search for next match
33376 -search-opposite not bound search for next match in opposite direction
33377 -search-reverse ESC / search backwards for a regular expression
33384 -bounce-message b remail a message to another user
33385 -collapse-parts v toggle display of subparts
33386 -delete-entry d delete the current entry
33387 -display-toggle-weed h display message and toggle header weeding
33388 -edit-type ^E edit the current entry's Content-Type
33389 -extract-keys ^K extract PGP public keys
33390 -forward-message f forward a message with comments
33391 -group-reply g reply to all recipients
33392 -list-reply L reply to specified mailing list
33393 -pipe-entry | pipe message/attachment to a shell command
33394 -print-entry p print the current entry
33395 -reply r reply to a message
33396 -resend-message ESC e resend message and preserve MIME structure
33397 -save-entry s save message/attachment to a file
33398 -undelete-entry u undelete the current entry
33399 -view-attach RET view attachment using mailcap entry if necessary
33400 -view-mailcap m force viewing of attachment using mailcap
33401 -view-text T view attachment as text
33408 -attach-file a attach a file(s) to this message
33409 -attach-message A attach message(s) to this message
33410 -attach-key ESC k attach a PGP public key
33411 -copy-file C save message/attachment to a file
33412 -detach-file D delete the current entry
33413 -display-toggle-weed h display message and toggle header weeding
33414 -edit-bcc b edit the BCC list
33415 -edit-cc c edit the CC list
33416 -edit-description d edit attachment description
33417 -edit-encoding ^E edit attachment transfer-encoding
33418 -edit-fcc f enter a file to save a copy of this message in
33419 -edit-from ESC f edit the from: field
33420 -edit-file ^X e edit the file to be attached
33421 -edit-headers E edit the message with headers
33422 -edit e edit the message
33423 -edit-mime m edit attachment using mailcap entry
33424 -edit-reply-to r edit the Reply-To field
33425 -edit-subject s edit the subject of this message
33426 -edit-to t edit the TO list
33427 -edit-type ^T edit attachment type
33428 -filter-entry F filter attachment through a shell command
33429 -forget-passphrase ^F wipe PGP passphrase from memory
33430 -ispell i run ispell on the message
33431 -new-mime n compose new attachment using mailcap entry
33432 -pgp-menu p show PGP options
33433 -pipe-entry | pipe message/attachment to a shell command
33434 -postpone-message P save this message to send later
33435 -print-entry l print the current entry
33436 -rename-file R rename/move an attached file
33437 -send-message y send the message
33438 -toggle-unlink u toggle whether to delete file after sending it
33439 -view-attach RET view attachment using mailcap entry if necessary
33440 -write-fcc w write the message to a folder
33447 -delete-entry d delete the current entry
33448 -undelete-entry u undelete the current entry
33455 -change-dir c change directories
33456 -check-new TAB check mailboxes for new mail
33457 -enter-mask m enter a file mask
33458 -search / search for a regular expression
33459 -search-next n search for next match
33460 -search-reverse ESC / search backwards for a regular expression
33461 -select-new N select a new file in this directory
33462 -sort o sort messages
33463 -sort-reverse O sort messages in reverse order
33464 -toggle-mailboxes TAB toggle whether to browse mailboxes or all files
33465 -view-file SPACE view file
33466 -subscribe s subscribe to current mailbox (IMAP Only)
33467 -unsubscribe u unsubscribe to current mailbox (IMAP Only)
33468 -toggle-subscribed T toggle view all/subscribed mailboxes (IMAP Only)
33475 -view-name % view the key's user id
33476 -verify-key c verify a PGP public key
33483 -backspace BackSpace delete the char in front of the cursor
33484 -backward-char ^B move the cursor one character to the left
33485 -backward-word ESC b move the cursor to the previous word
33486 -bol ^A jump to the beginning of the line
33487 -buffy-cycle Space cycle among incoming mailboxes
33488 -capitalize-word ESC c uppercase the first character in the word
33489 -complete TAB complete filename or alias
33490 -complete-query ^T complete address with query
33491 -delete-char ^D delete the char under the cursor
33492 -downcase-word ESC l lowercase all characters in current word
33493 -eol ^E jump to the end of the line
33494 -forward-char ^F move the cursor one character to the right
33495 -forward-word ESC f move the cursor to the next word
33496 -history-down not bound scroll down through the history list
33497 -history-up not bound scroll up through the history list
33498 -kill-eol ^K delete chars from cursor to end of line
33499 -kill-eow ESC d delete chars from cursor to end of word
33500 -kill-line ^U delete all chars on the line
33501 -kill-word ^W delete the word in front of the cursor
33502 -quote-char ^V quote the next typed key
33503 -transpose-chars not bound transpose character under cursor with previous
33504 -upcase-word ESC u uppercase all characters in current word
33509 -<A HREF="manual-7.html">Next</A>
33510 -<A HREF="manual-5.html">Previous</A>
33511 -<A HREF="manual.html#toc6">Contents</A>
33514 diff -uNr mutt-1.4.orig/doc/manual-7.html mutt-1.4/doc/manual-7.html
33515 --- mutt-1.4.orig/doc/manual-7.html Wed May 29 11:29:58 2002
33516 +++ mutt-1.4/doc/manual-7.html Thu Jan 1 01:00:00 1970
33518 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
33521 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
33522 - <TITLE>The Mutt E-Mail Client: Miscellany</TITLE>
33523 - <LINK HREF="manual-6.html" REL=previous>
33524 - <LINK HREF="manual.html#toc7" REL=contents>
33528 -<A HREF="manual-6.html">Previous</A>
33529 -<A HREF="manual.html#toc7">Contents</A>
33531 -<H2><A NAME="s7">7.</A> <A HREF="manual.html#toc7">Miscellany</A></H2>
33535 -<H2><A NAME="ss7.1">7.1</A> <A HREF="manual.html#toc7.1">Acknowledgements</A>
33539 -<A HREF="mailto:kari.hurtta@fmi.fi"><kari.hurtta@fmi.fi></A>
33540 -co-developed the original MIME parsing code back in the ELM-ME days.</P>
33541 -<P>The following people have been very helpful to the development of Mutt:</P>
33542 -<P>Vikas Agnihotri
33543 -<A HREF="mailto:vikasa@writeme.com"><vikasa@writeme.com></A>,<BR>
33545 -<A HREF="mailto:Francois.Berjon@aar.alcatel-alsthom.fr"><Francois.Berjon@aar.alcatel-alsthom.fr></A>,<BR>
33547 -<A HREF="mailto:aric@fore.com"><aric@fore.com></A>,<BR>
33549 -<A HREF="mailto:jc@irbs.com"><jc@irbs.com></A>,<BR>
33551 -<A HREF="mailto:dgc@uchicago.edu"><dgc@uchicago.edu</A>,<BR>
33553 -<A HREF="mailto:brendan@kublai.com"><brendan@kublai.com></A>,<BR>
33555 -<A HREF="mailto:daia@stoilow.imar.ro"><daia@stoilow.imar.ro></A>,<BR>
33557 -<A HREF="mailto:dickey@herndon4.his.com"><dickey@herndon4.his.com></A>,<BR>
33559 -<A HREF="mailto:fox@convex.hp.com"><fox@convex.hp.com></A>,<BR>
33560 -Nickolay N. Dudorov
33561 -<A HREF="mailto:nnd@wint.itfs.nsk.su"><nnd@wint.itfs.nsk.su></A>,<BR>
33563 -<A HREF="mailto:ru@freebsd.org"><ru@freebsd.org></A>,<BR>
33564 -Edmund Grimley Evans
33565 -<A HREF="mailto:edmundo@rano.org"><edmundo@rano.org</A>,<BR>
33567 -<A HREF="mailto:finken@conware.de"><finken@conware.de></A>,<BR>
33569 -<A HREF="mailto:guckes@math.fu-berlin.de"><guckes@math.fu-berlin.de></A>,<BR>
33571 -<A HREF="mailto:lhecking@nmrc.ie"><lhecking@nmrc.ie></A>,<BR>
33573 -<A HREF="mailto:holloman@nando.net"><holloman@nando.net></A>,<BR>
33575 -<A HREF="mailto:holzmann@fmi.uni-passau.de"><holzmann@fmi.uni-passau.de></A>,<BR>
33577 -<A HREF="mailto:md@linux.it"><md@linux.it></A>,<BR>
33579 -<A HREF="mailto:bjacke@suse.com"><bjacke@suse.com></A>,<BR>
33581 -<A HREF="mailto:byrial@image.dk"><byrial@image.dk></A>,<BR>
33583 -<A HREF="mailto:jeske@igcom.net"><jeske@igcom.net></A>,<BR>
33585 -<A HREF="mailto:kalt@hugo.int-evry.fr"><kalt@hugo.int-evry.fr></A>,<BR>
33587 -<A HREF="mailto:Tommi.Komulainen@iki.fi"><Tommi.Komulainen@iki.fi></A>,<BR>
33588 -Felix von Leitner (a.k.a ``Fefe'')
33589 -<A HREF="mailto:leitner@math.fu-berlin.de"><leitner@math.fu-berlin.de></A>,<BR>
33591 -<A HREF="mailto:blong@fiction.net"><blong@fiction.net></A>,<BR>
33593 -<A HREF="mailto:jmy@flashback.net"><jmy@flashback.net></A>,<BR>
33594 -Lars Marowsky-Bree
33595 -<A HREF="mailto:lmb@pointer.in-minden.de"><lmb@pointer.in-minden.de></A>,<BR>
33596 -Thomas ``Mike'' Michlmayr
33597 -<A HREF="mailto:mike@cosy.sbg.ac.at"><mike@cosy.sbg.ac.at></A>,<BR>
33599 -<A HREF="mailto:awn@bcs.zp.ua"><awn@bcs.zp.ua></A>,<BR>
33601 -<A HREF="mailto:obrien@Nuxi.cs.ucdavis.edu"><obrien@Nuxi.cs.ucdavis.edu></A>,<BR>
33603 -<A HREF="mailto:olsenc@ichips.intel.com"><olsenc@ichips.intel.com></A>,<BR>
33605 -<A HREF="mailto:pms@romance.kaist.ac.kr"><pms@romance.kaist.ac.kr></A>,<BR>
33607 -<A HREF="mailto:tom@ankh.fr.eu.org"><tom@ankh.fr.eu.org></A>,<BR>
33609 -<A HREF="mailto:roberto@keltia.freenix.fr"><roberto@keltia.freenix.fr></A>,<BR>
33611 -<A HREF="mailto:roessler@does-not-exist.org"><roessler@does-not-exist.org></A>,<BR>
33613 -<A HREF="roland@spinnaker.de"><roland@spinnaker.de></A>,<BR>
33615 -<A HREF="taki@luna.email.ne.jp"><taki@luna.email.ne.jp></A>,<BR>
33617 -<A HREF="mailto:Allain.Thivillon@alma.fr"><Allain.Thivillon@alma.fr></A>,<BR>
33619 -<A HREF="mailto:gero@faveve.uni-stuttgart.de"><gero@faveve.uni-stuttgart.de></A>,<BR>
33621 -<A HREF="mailto:vvv@lucky.net"><vvv@lucky.net></A>,<BR>
33623 -<A HREF="mailto:kenw@ihs.com"><kenw@ihs.com></A></P>
33625 -<H2><A NAME="ss7.2">7.2</A> <A HREF="manual.html#toc7.2">About this document</A>
33628 -<P>This document was written in SGML, and then rendered using the
33629 -<A HREF="http://www.sgmltools.org/">sgml-tools</A> package.</P>
33633 -<A HREF="manual-6.html">Previous</A>
33634 -<A HREF="manual.html#toc7">Contents</A>
33637 diff -uNr mutt-1.4.orig/doc/manual.html mutt-1.4/doc/manual.html
33638 --- mutt-1.4.orig/doc/manual.html Wed May 29 11:29:58 2002
33639 +++ mutt-1.4/doc/manual.html Thu Jan 1 01:00:00 1970
33641 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
33644 - <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
33645 - <TITLE>The Mutt E-Mail Client</TITLE>
33646 - <LINK HREF="manual-1.html" REL=next>
33651 -<A HREF="manual-1.html">Next</A>
33655 -<H1>The Mutt E-Mail Client</H1>
33657 -<H2>by Michael Elkins
33658 -<A HREF="mailto:me@cs.hmc.edu"><me@cs.hmc.edu></A></H2>version 1.4
33660 -<EM>``All mail clients suck. This one just sucks less.'' -me, circa 1995</EM>
33663 -<H2><A NAME="toc1">1.</A> <A HREF="manual-1.html">Introduction</A></H2>
33666 -<LI><A NAME="toc1.1">1.1</A> <A HREF="manual-1.html#ss1.1">Mutt Home Page</A>
33667 -<LI><A NAME="toc1.2">1.2</A> <A HREF="manual-1.html#ss1.2">Mailing Lists</A>
33668 -<LI><A NAME="toc1.3">1.3</A> <A HREF="manual-1.html#ss1.3">Software Distribution Sites</A>
33669 -<LI><A NAME="toc1.4">1.4</A> <A HREF="manual-1.html#ss1.4">IRC</A>
33670 -<LI><A NAME="toc1.5">1.5</A> <A HREF="manual-1.html#ss1.5">USENET</A>
33671 -<LI><A NAME="toc1.6">1.6</A> <A HREF="manual-1.html#ss1.6">Copyright</A>
33674 -<H2><A NAME="toc2">2.</A> <A HREF="manual-2.html">Getting Started</A></H2>
33677 -<LI><A NAME="toc2.1">2.1</A> <A HREF="manual-2.html#ss2.1">Moving Around in Menus</A>
33678 -<LI><A NAME="toc2.2">2.2</A> <A HREF="manual-2.html#ss2.2">Editing Input Fields</A>
33679 -<LI><A NAME="toc2.3">2.3</A> <A HREF="manual-2.html#ss2.3">Reading Mail - The Index and Pager</A>
33680 -<LI><A NAME="toc2.4">2.4</A> <A HREF="manual-2.html#ss2.4">Sending Mail</A>
33681 -<LI><A NAME="toc2.5">2.5</A> <A HREF="manual-2.html#ss2.5">Forwarding and Bouncing Mail</A>
33682 -<LI><A NAME="toc2.6">2.6</A> <A HREF="manual-2.html#ss2.6">Postponing Mail</A>
33685 -<H2><A NAME="toc3">3.</A> <A HREF="manual-3.html">Configuration</A></H2>
33688 -<LI><A NAME="toc3.1">3.1</A> <A HREF="manual-3.html#ss3.1">Syntax of Initialization Files</A>
33689 -<LI><A NAME="toc3.2">3.2</A> <A HREF="manual-3.html#ss3.2">Defining/Using aliases</A>
33690 -<LI><A NAME="toc3.3">3.3</A> <A HREF="manual-3.html#ss3.3">Changing the default key bindings</A>
33691 -<LI><A NAME="toc3.4">3.4</A> <A HREF="manual-3.html#ss3.4">Defining aliases for character sets </A>
33692 -<LI><A NAME="toc3.5">3.5</A> <A HREF="manual-3.html#ss3.5">Setting variables based upon mailbox</A>
33693 -<LI><A NAME="toc3.6">3.6</A> <A HREF="manual-3.html#ss3.6">Keyboard macros</A>
33694 -<LI><A NAME="toc3.7">3.7</A> <A HREF="manual-3.html#ss3.7">Using color and mono video attributes</A>
33695 -<LI><A NAME="toc3.8">3.8</A> <A HREF="manual-3.html#ss3.8">Ignoring (weeding) unwanted message headers</A>
33696 -<LI><A NAME="toc3.9">3.9</A> <A HREF="manual-3.html#ss3.9">Mailing lists</A>
33697 -<LI><A NAME="toc3.10">3.10</A> <A HREF="manual-3.html#ss3.10">Using Multiple spool mailboxes</A>
33698 -<LI><A NAME="toc3.11">3.11</A> <A HREF="manual-3.html#ss3.11">Defining mailboxes which receive mail</A>
33699 -<LI><A NAME="toc3.12">3.12</A> <A HREF="manual-3.html#ss3.12">User defined headers</A>
33700 -<LI><A NAME="toc3.13">3.13</A> <A HREF="manual-3.html#ss3.13">Defining the order of headers when viewing messages</A>
33701 -<LI><A NAME="toc3.14">3.14</A> <A HREF="manual-3.html#ss3.14">Specify default save filename</A>
33702 -<LI><A NAME="toc3.15">3.15</A> <A HREF="manual-3.html#ss3.15">Specify default Fcc: mailbox when composing</A>
33703 -<LI><A NAME="toc3.16">3.16</A> <A HREF="manual-3.html#ss3.16">Specify default save filename and default Fcc: mailbox at once</A>
33704 -<LI><A NAME="toc3.17">3.17</A> <A HREF="manual-3.html#ss3.17">Change settings based upon message recipients</A>
33705 -<LI><A NAME="toc3.18">3.18</A> <A HREF="manual-3.html#ss3.18">Change settings before formatting a message</A>
33706 -<LI><A NAME="toc3.19">3.19</A> <A HREF="manual-3.html#ss3.19">Choosing the PGP key of the recipient</A>
33707 -<LI><A NAME="toc3.20">3.20</A> <A HREF="manual-3.html#ss3.20">Adding key sequences to the keyboard buffer</A>
33708 -<LI><A NAME="toc3.21">3.21</A> <A HREF="manual-3.html#ss3.21">Executing functions</A>
33709 -<LI><A NAME="toc3.22">3.22</A> <A HREF="manual-3.html#ss3.22">Message Scoring</A>
33710 -<LI><A NAME="toc3.23">3.23</A> <A HREF="manual-3.html#ss3.23">Setting variables</A>
33711 -<LI><A NAME="toc3.24">3.24</A> <A HREF="manual-3.html#ss3.24">Reading initialization commands from another file</A>
33712 -<LI><A NAME="toc3.25">3.25</A> <A HREF="manual-3.html#ss3.25">Removing hooks</A>
33715 -<H2><A NAME="toc4">4.</A> <A HREF="manual-4.html">Advanced Usage</A></H2>
33718 -<LI><A NAME="toc4.1">4.1</A> <A HREF="manual-4.html#ss4.1">Regular Expressions</A>
33719 -<LI><A NAME="toc4.2">4.2</A> <A HREF="manual-4.html#ss4.2">Patterns</A>
33720 -<LI><A NAME="toc4.3">4.3</A> <A HREF="manual-4.html#ss4.3">Using Tags</A>
33721 -<LI><A NAME="toc4.4">4.4</A> <A HREF="manual-4.html#ss4.4">Using Hooks</A>
33722 -<LI><A NAME="toc4.5">4.5</A> <A HREF="manual-4.html#ss4.5">External Address Queries</A>
33723 -<LI><A NAME="toc4.6">4.6</A> <A HREF="manual-4.html#ss4.6">Mailbox Formats</A>
33724 -<LI><A NAME="toc4.7">4.7</A> <A HREF="manual-4.html#ss4.7">Mailbox Shortcuts</A>
33725 -<LI><A NAME="toc4.8">4.8</A> <A HREF="manual-4.html#ss4.8">Handling Mailing Lists</A>
33726 -<LI><A NAME="toc4.9">4.9</A> <A HREF="manual-4.html#ss4.9">Delivery Status Notification (DSN) Support</A>
33727 -<LI><A NAME="toc4.10">4.10</A> <A HREF="manual-4.html#ss4.10">POP3 Support (OPTIONAL)</A>
33728 -<LI><A NAME="toc4.11">4.11</A> <A HREF="manual-4.html#ss4.11">IMAP Support (OPTIONAL)</A>
33729 -<LI><A NAME="toc4.12">4.12</A> <A HREF="manual-4.html#ss4.12">Managing multiple IMAP/POP accounts (OPTIONAL)</A>
33730 -<LI><A NAME="toc4.13">4.13</A> <A HREF="manual-4.html#ss4.13">Start a WWW Browser on URLs (EXTERNAL)</A>
33733 -<H2><A NAME="toc5">5.</A> <A HREF="manual-5.html">Mutt's MIME Support</A></H2>
33736 -<LI><A NAME="toc5.1">5.1</A> <A HREF="manual-5.html#ss5.1">Using MIME in Mutt</A>
33737 -<LI><A NAME="toc5.2">5.2</A> <A HREF="manual-5.html#ss5.2">MIME Type configuration with <CODE>mime.types</CODE></A>
33738 -<LI><A NAME="toc5.3">5.3</A> <A HREF="manual-5.html#ss5.3">MIME Viewer configuration with <CODE>mailcap</CODE></A>
33739 -<LI><A NAME="toc5.4">5.4</A> <A HREF="manual-5.html#ss5.4">MIME Autoview</A>
33740 -<LI><A NAME="toc5.5">5.5</A> <A HREF="manual-5.html#ss5.5">MIME Multipart/Alternative</A>
33743 -<H2><A NAME="toc6">6.</A> <A HREF="manual-6.html">Reference</A></H2>
33746 -<LI><A NAME="toc6.1">6.1</A> <A HREF="manual-6.html#ss6.1">Command line options</A>
33747 -<LI><A NAME="toc6.2">6.2</A> <A HREF="manual-6.html#ss6.2">Configuration Commands</A>
33748 -<LI><A NAME="toc6.3">6.3</A> <A HREF="manual-6.html#ss6.3">Configuration variables</A>
33749 -<LI><A NAME="toc6.4">6.4</A> <A HREF="manual-6.html#ss6.4">Functions</A>
33752 -<H2><A NAME="toc7">7.</A> <A HREF="manual-7.html">Miscellany</A></H2>
33755 -<LI><A NAME="toc7.1">7.1</A> <A HREF="manual-7.html#ss7.1">Acknowledgements</A>
33756 -<LI><A NAME="toc7.2">7.2</A> <A HREF="manual-7.html#ss7.2">About this document</A>
33759 -<A HREF="manual-1.html">Next</A>
33764 diff -uNr mutt-1.4.orig/doc/manual.sgml mutt-1.4/doc/manual.sgml
33765 --- mutt-1.4.orig/doc/manual.sgml Sun Nov 3 21:42:51 2002
33766 +++ mutt-1.4/doc/manual.sgml Sun Nov 3 21:57:20 2002
33767 @@ -723,6 +723,17 @@
33769 See also the <ref id="postpone" name="$postpone"> quad-option.
33771 +<sect1>Reading news via NNTP<label id="reading_news">
33774 +If compiled with ``--enable-nntp'' option, Mutt can read news from newsserver
33775 +via NNTP. You can open a newsgroup with function ``change-newsgroup''
33776 +(default: i). Default newsserver can be obtained from <em/NNTPSERVER/
33777 +environment variable. Like other news readers, info about subscribed
33778 +newsgroups is saved in file by <ref id="newsrc" name="$newsrc">
33779 +variable. Article headers are cached and can be loaded from file when
33780 +newsgroup entered instead loading from newsserver.
33782 <sect>Configuration
33785 @@ -3262,6 +3273,26 @@
33786 editing the body of an outgoing message.
33789 +<sect2>ask_follow_up<label id="ask_follow_up">
33791 +Type: boolean<newline>
33795 +If set, Mutt will prompt you for follow-up groups before editing
33796 +the body of an outgoing message.
33799 +<sect2>ask_x_comment_to<label id="ask_x_comment_to">
33801 +Type: boolean<newline>
33805 +If set, Mutt will prompt you for x-comment-to field before editing
33806 +the body of an outgoing message.
33809 <sect2>attach_format<label id="attach_format">
33811 Type: string<newline>
33812 @@ -3379,6 +3410,16 @@
33813 bouncing messages. Postfix users may wish to unset this variable.
33816 +<sect2>catchup_newsgroup<label id="catchup_newsgroup">
33818 +Type: quadoption<newline>
33822 +If this variable is <em>set</em>, Mutt will mark all articles in newsgroup
33823 +as read when you quit the newsgroup (catchup newsgroup).
33826 <sect2>charset<label id="charset">
33828 Type: string<newline>
33829 @@ -3781,6 +3822,18 @@
33830 resulting in two copies of the same email for you.
33833 +<sect2>followup_to_poster<label id="followup_to_poster">
33835 +Type: quadoption<newline>
33839 +If this variable is <em>set</em> and the keyword &dquot;poster&dquot; is present in
33840 +<em>Followup-To</em> header, follow-up to newsgroup function is not
33841 +permitted. The message will be mailed to the submitter of the
33845 <sect2>force_name<label id="force_name">
33847 Type: boolean<newline>
33848 @@ -3859,6 +3912,30 @@
33849 &dquot;Franklin&dquot; to &dquot;Franklin, Steve&dquot;.
33852 +<sect2>group_index_format<label id="group_index_format">
33854 +Type: string<newline>
33855 +Default: &dquot;%4C %M%N %5s %-45.45f %d&dquot;
33858 +This variable allows you to customize the newsgroup browser display to
33859 +your personal taste. This string is similar to ``<ref id="index_format" name="index_format">'', but
33860 +has its own set of printf()-like sequences:
33864 +%C current newsgroup number
33865 +%d description of newsgroup (becomes from server)
33867 +%M - if newsgroup not allowed for direct post (moderated for example)
33868 +%N N if newsgroup is new, u if unsubscribed, blank otherwise
33869 +%n number of new articles in newsgroup
33870 +%s number of unread articles in newsgroup
33871 +%>X right justify the rest of the string and pad with character "X"
33872 +%|X pad to the end of the line with character "X"
33876 <sect2>hdrs<label id="hdrs">
33878 Type: boolean<newline>
33879 @@ -4203,6 +4280,7 @@
33880 <tag>%E </tag>number of messages in current thread
33881 <tag>%f </tag>entire From: line (address + real name)
33882 <tag>%F </tag>author name, or recipient name if the message is from you
33883 +<tag>%g </tag>newsgroup name (if compiled with nntp support)
33884 <tag>%i </tag>message-id of the current message
33885 <tag>%l </tag>number of lines in the message
33886 <tag>%L </tag>If an address in the To or CC header field matches an address
33887 @@ -4220,6 +4298,7 @@
33888 <tag>%T </tag>the appropriate character from the <ref id="to_chars" name="$to_chars"> string
33889 <tag>%u </tag>user (login) name of the author
33890 <tag>%v </tag>first name of the author, or the recipient if the message is from you
33891 +<tag>%W </tag>name of organization of author (`organization:' field)
33892 <tag>%y </tag>`x-label:' field, if present
33893 <tag>%Y </tag>`x-label' field, if present, and (1) not at part of a thread tree,
33894 (2) at the top of a thread, or (3) `x-label' is different from
33895 @@ -4244,6 +4323,24 @@
33896 See also: ``<ref id="to_chars" name="$to_chars">''.
33899 +<sect2>inews<label id="inews">
33901 +Type: path<newline>
33902 +Default: &dquot;&dquot;
33905 +If set, specifies the program and arguments used to deliver news posted
33906 +by Mutt. Otherwise, mutt posts article using current connection to
33907 +news server. The following printf-style sequence is understood:
33911 +%s newsserver name
33913 +</verb></tscreen><p>
33914 +Example: set inews=&dquot;/usr/local/bin/inews -hS&dquot;
33917 <sect2>ispell<label id="ispell">
33919 Type: path<newline>
33920 @@ -4491,6 +4588,17 @@
33921 be attached to the newly composed message if this option is set.
33924 +<sect2>mime_subject<label id="mime_subject">
33926 +Type: boolean<newline>
33930 +If <em>unset</em>, 8-bit ``subject:'' line in article header will not be
33931 +encoded according to RFC2047 to base64. This is useful when message
33932 +is Usenet article, because MIME for news is nonstandard feature.
33935 <sect2>mix_entry_format<label id="mix_entry_format">
33937 Type: string<newline>
33938 @@ -4544,6 +4652,112 @@
33939 escape sequences see the section on ``<ref id="index_format" name="$index_format">''.
33942 +<sect2>news_cache_dir<label id="news_cache_dir">
33944 +Type: path<newline>
33945 +Default: &dquot;˜/.mutt&dquot;
33948 +This variable pointing to directory where Mutt will save cached news
33949 +articles headers in. If <em>unset</em>, headers will not be saved at all
33950 +and will be reloaded each time when you enter to newsgroup.
33953 +<sect2>news_server<label id="news_server">
33955 +Type: string<newline>
33956 +Default: &dquot;&dquot;
33959 +This variable specifies domain name or address of NNTP server. It
33960 +defaults to the newsserver specified in the environment variable
33961 +$NNTPSERVER or contained in the file /etc/nntpserver. You can also
33962 +specify username and an alternative port for each newsserver, ie:
33964 +[nntp[s]://][username[:password]@]newsserver[:port]
33967 +<sect2>newsrc<label id="newsrc">
33969 +Type: path<newline>
33970 +Default: &dquot;˜/.newsrc&dquot;
33973 +The file, containing info about subscribed newsgroups - names and
33974 +indexes of read articles. The following printf-style sequence
33979 +%s newsserver name
33983 +<sect2>nntp_context<label id="nntp_context">
33985 +Type: number<newline>
33989 +This variable defines number of articles which will be in index when
33990 +newsgroup entered. If active newsgroup have more articles than this
33991 +number, oldest articles will be ignored. Also controls how many
33992 +articles headers will be saved in cache when you quit newsgroup.
33995 +<sect2>nntp_load_description<label id="nntp_load_description">
33997 +Type: boolean<newline>
34001 +This variable controls whether or not descriptions for each newsgroup
34002 +must be loaded when newsgroup is added to list (first time list
34003 +loading or new newsgroup adding).
34006 +<sect2>nntp_user<label id="nntp_user">
34008 +Type: string<newline>
34009 +Default: &dquot;&dquot;
34012 +Your login name on the NNTP server. If <em>unset</em> and NNTP server requires
34013 +authentification, Mutt will prompt you for your account name when you
34014 +connect to newsserver.
34017 +<sect2>nntp_pass<label id="nntp_pass">
34019 +Type: string<newline>
34020 +Default: &dquot;&dquot;
34023 +Your password for NNTP account.
34026 +<sect2>nntp_poll<label id="nntp_poll">
34028 +Type: number<newline>
34032 +The time in seconds until any operations on newsgroup except post new
34033 +article will cause recheck for new news. If set to 0, Mutt will
34034 +recheck newsgroup on each operation in index (stepping, read article,
34038 +<sect2>nntp_reconnect<label id="nntp_reconnect">
34040 +Type: quadoption<newline>
34044 +Controls whether or not Mutt will try to reconnect to newsserver when
34048 <sect2>pager<label id="pager">
34050 Type: path<newline>
34051 @@ -5240,6 +5454,18 @@
34052 string after the inclusion of a message which is being replied to.
34055 +<sect2>post_moderated<label id="post_moderated">
34057 +Type: quadoption<newline>
34061 +If set to <em>yes</em>, Mutt will post article to newsgroup that have
34062 +not permissions to posting (e.g. moderated). <bf>Note:</bf> if newsserver
34063 +does not support posting to that newsgroup or totally read-only, that
34064 +posting will not have an effect.
34067 <sect2>postpone<label id="postpone">
34069 Type: quadoption<newline>
34070 @@ -5723,6 +5949,38 @@
34071 shell from /etc/passwd is used.
34074 +<sect2>save_unsubscribed<label id="save_unsubscribed">
34076 +Type: boolean<newline>
34080 +When <em>set</em>, info about unsubscribed newsgroups will be saved into
34081 +``newsrc'' file and into cache.
34084 +<sect2>show_new_news<label id="show_new_news">
34086 +Type: boolean<newline>
34090 +If <em>set</em>, newsserver will be asked for new newsgroups on entering
34091 +the browser. Otherwise, it will be done only once for a newsserver.
34092 +Also controls whether or not number of new articles of subscribed
34093 +newsgroups will be then checked.
34096 +<sect2>show_only_unread<label id="show_only_unread">
34098 +Type: boolean<newline>
34102 +If <em>set</em>, only subscribed newsgroups that contain unread articles
34103 +will be displayed in browser.
34106 <sect2>sig_dashes<label id="sig_dashes">
34108 Type: boolean<newline>
34109 @@ -6189,6 +6447,17 @@
34113 +<sect2>use_ipv6<label id="use_ipv6">
34115 +Type: boolean<newline>
34119 +When <em>set</em>, Mutt will look for IPv6 addresses of hosts it tries to
34120 +contact. If this option is unset, Mutt will restrict itself to IPv4 addresses.
34121 +Normally, the default should work.
34124 <sect2>user_agent<label id="user_agent">
34126 Type: boolean<newline>
34127 @@ -6283,6 +6552,16 @@
34128 messages to be sent. Exim users may wish to use this.
34131 +<sect2>x_comment_to<label id="x_comment_to">
34133 +Type: boolean<newline>
34137 +If <em>set</em>, Mutt will add ``X-Comment-To:'' field (that contains full
34138 +name of original article author) to article that followuped to newsgroup.
34141 <sect1>Functions<label id="functions">
34143 The following is the list of available functions listed by the mapping
34144 diff -uNr mutt-1.4.orig/doc/manual.sgml.head mutt-1.4/doc/manual.sgml.head
34145 --- mutt-1.4.orig/doc/manual.sgml.head Sun Nov 3 21:42:52 2002
34146 +++ mutt-1.4/doc/manual.sgml.head Sun Nov 3 21:57:20 2002
34147 @@ -724,6 +724,17 @@
34149 See also the <ref id="postpone" name="$postpone"> quad-option.
34151 +<sect1>Reading news via NNTP<label id="reading_news">
34154 +If compiled with ``--enable-nntp'' option, Mutt can read news from newsserver
34155 +via NNTP. You can open a newsgroup with function ``change-newsgroup''
34156 +(default: i). Default newsserver can be obtained from <em/NNTPSERVER/
34157 +environment variable. Like other news readers, info about subscribed
34158 +newsgroups is saved in file by <ref id="newsrc" name="$newsrc">
34159 +variable. Article headers are cached and can be loaded from file when
34160 +newsgroup entered instead loading from newsserver.
34162 <sect>Configuration
34165 diff -uNr mutt-1.4.orig/doc/manual.txt mutt-1.4/doc/manual.txt
34166 --- mutt-1.4.orig/doc/manual.txt Sun Nov 3 21:42:51 2002
34167 +++ mutt-1.4/doc/manual.txt Sun Nov 3 21:57:20 2002
34175 1.3 Software Distribution Sites
34181 2.1 Moving Around in Menus
34182 2.2 Editing Input Fields
34183 2.3 Reading Mail - The Index and Pager
34185 2.4.3 Sending anonymous messages via mixmaster.
34186 2.5 Forwarding and Bouncing Mail
34187 2.6 Postponing Mail
34188 + 2.7 Reading news via NNTP
34192 3.1 Syntax of Initialization Files
34193 3.2 Defining/Using aliases
34194 3.3 Changing the default key bindings
34196 3.25 Removing hooks
34200 4.1 Regular Expressions
34202 4.2.1 Pattern Modifier
34203 @@ -85,12 +90,13 @@
34204 4.14.4 Encrypted folders
34206 5. Mutt's MIME Support
34208 5.1 Using MIME in Mutt
34209 5.1.1 Viewing MIME messages in the pager
34210 5.1.2 The Attachment Menu
34211 5.1.3 The Compose Menu
34212 - 5.2 MIME Type configuration with mime.types
34213 - 5.3 MIME Viewer configuration with mailcap
34214 + 5.2 MIME Type configuration with
34215 + 5.3 MIME Viewer configuration with
34216 5.3.1 The Basics of the mailcap file
34217 5.3.2 Secure use of mailcap
34218 5.3.3 Advanced mailcap Usage
34219 @@ -102,6 +108,7 @@
34220 5.5 MIME Multipart/Alternative
34224 6.1 Command line options
34225 6.2 Configuration Commands
34226 6.3 Configuration variables
34227 @@ -116,232 +123,254 @@
34231 - 6.3.12 attach_format
34232 - 6.3.13 attach_sep
34233 - 6.3.14 attach_split
34234 - 6.3.15 attribution
34239 - 6.3.20 bounce_delivered
34242 - 6.3.23 collapse_unread
34243 - 6.3.24 uncollapse_jump
34244 - 6.3.25 compose_format
34245 - 6.3.26 confirmappend
34246 - 6.3.27 confirmcreate
34247 - 6.3.28 connect_timeout
34249 - 6.3.30 date_format
34250 - 6.3.31 default_hook
34252 - 6.3.33 delete_untag
34253 - 6.3.34 digest_collapse
34254 - 6.3.35 display_filter
34255 - 6.3.36 dotlock_program
34256 - 6.3.37 dsn_notify
34257 - 6.3.38 dsn_return
34258 - 6.3.39 duplicate_threads
34259 - 6.3.40 edit_headers
34261 - 6.3.42 encode_from
34262 - 6.3.43 envelope_from
34264 - 6.3.45 fast_reply
34265 - 6.3.46 fcc_attach
34268 - 6.3.49 folder_format
34269 - 6.3.50 followup_to
34270 - 6.3.51 force_name
34271 - 6.3.52 forward_decode
34272 - 6.3.53 forward_format
34273 - 6.3.54 forward_quote
34275 - 6.3.56 gecos_mask
34279 - 6.3.60 hidden_host
34280 - 6.3.61 hide_limited
34281 - 6.3.62 hide_missing
34282 - 6.3.63 hide_top_limited
34283 - 6.3.64 hide_top_missing
34285 - 6.3.66 honor_followup_to
34287 - 6.3.68 ignore_list_reply_to
34288 - 6.3.69 imap_authenticators
34289 - 6.3.70 imap_delim_chars
34290 - 6.3.71 imap_force_ssl
34291 - 6.3.72 imap_home_namespace
34292 - 6.3.73 imap_keepalive
34293 - 6.3.74 imap_list_subscribed
34295 - 6.3.76 imap_passive
34297 - 6.3.78 imap_servernoise
34299 - 6.3.80 implicit_autoview
34301 - 6.3.82 indent_string
34302 - 6.3.83 index_format
34304 - 6.3.85 keep_flagged
34306 - 6.3.87 mail_check
34307 - 6.3.88 mailcap_path
34308 - 6.3.89 mailcap_sanitize
34309 - 6.3.90 maildir_trash
34316 - 6.3.97 menu_scroll
34319 - 6.3.100 mh_seq_flagged
34320 - 6.3.101 mh_seq_replied
34321 - 6.3.102 mh_seq_unseen
34322 - 6.3.103 mime_forward
34323 - 6.3.104 mime_forward_decode
34324 - 6.3.105 mime_forward_rest
34325 - 6.3.106 mix_entry_format
34326 - 6.3.107 mixmaster
34328 - 6.3.109 message_format
34330 - 6.3.111 pager_context
34331 - 6.3.112 pager_format
34332 - 6.3.113 pager_index_lines
34333 - 6.3.114 pager_stop
34334 - 6.3.115 pgp_autosign
34335 - 6.3.116 pgp_autoencrypt
34336 - 6.3.117 pgp_ignore_subkeys
34337 - 6.3.118 pgp_entry_format
34338 - 6.3.119 pgp_good_sign
34339 - 6.3.120 pgp_long_ids
34340 - 6.3.121 pgp_replyencrypt
34341 - 6.3.122 pgp_replysign
34342 - 6.3.123 pgp_replysignencrypted
34343 - 6.3.124 pgp_retainable_sigs
34344 - 6.3.125 pgp_show_unusable
34345 - 6.3.126 pgp_sign_as
34346 - 6.3.127 pgp_strict_enc
34347 - 6.3.128 pgp_timeout
34348 - 6.3.129 pgp_verify_sig
34349 - 6.3.130 pgp_sort_keys
34350 - 6.3.131 pgp_create_traditional
34351 - 6.3.132 pgp_decode_command
34352 - 6.3.133 pgp_getkeys_command
34353 - 6.3.134 pgp_verify_command
34354 - 6.3.135 pgp_decrypt_command
34355 - 6.3.136 pgp_clearsign_command
34356 - 6.3.137 pgp_sign_command
34357 - 6.3.138 pgp_encrypt_sign_command
34358 - 6.3.139 pgp_encrypt_only_command
34359 - 6.3.140 pgp_import_command
34360 - 6.3.141 pgp_export_command
34361 - 6.3.142 pgp_verify_key_command
34362 - 6.3.143 pgp_list_secring_command
34363 - 6.3.144 pgp_list_pubring_command
34364 - 6.3.145 forward_decrypt
34365 - 6.3.146 ssl_starttls
34366 - 6.3.147 certificate_file
34367 - 6.3.148 ssl_usesystemcerts
34368 - 6.3.149 entropy_file
34369 - 6.3.150 ssl_use_sslv2
34370 - 6.3.151 ssl_use_sslv3
34371 - 6.3.152 ssl_use_tlsv1
34372 - 6.3.153 pipe_split
34373 - 6.3.154 pipe_decode
34375 - 6.3.156 pop_authenticators
34376 - 6.3.157 pop_auth_try_all
34377 - 6.3.158 pop_checkinterval
34378 - 6.3.159 pop_delete
34381 - 6.3.162 pop_reconnect
34384 - 6.3.165 post_indent_string
34386 - 6.3.167 postponed
34387 - 6.3.168 preconnect
34389 - 6.3.170 print_command
34390 - 6.3.171 print_decode
34391 - 6.3.172 print_split
34392 - 6.3.173 prompt_after
34393 - 6.3.174 query_command
34395 - 6.3.176 quote_regexp
34397 - 6.3.178 read_only
34401 - 6.3.182 reply_regexp
34402 - 6.3.183 reply_self
34405 - 6.3.186 reverse_alias
34406 - 6.3.187 reverse_name
34407 - 6.3.188 reverse_realname
34408 - 6.3.189 rfc2047_parameters
34409 - 6.3.190 save_address
34410 - 6.3.191 save_empty
34411 - 6.3.192 save_name
34413 - 6.3.194 score_threshold_delete
34414 - 6.3.195 score_threshold_flag
34415 - 6.3.196 score_threshold_read
34416 - 6.3.197 send_charset
34418 - 6.3.199 sendmail_wait
34420 - 6.3.201 sig_dashes
34421 - 6.3.202 sig_on_top
34422 - 6.3.203 signature
34423 - 6.3.204 simple_search
34424 - 6.3.205 smart_wrap
34426 - 6.3.207 sleep_time
34428 - 6.3.209 sort_alias
34430 - 6.3.211 sort_browser
34432 - 6.3.213 spoolfile
34433 - 6.3.214 status_chars
34434 - 6.3.215 status_format
34435 - 6.3.216 status_on_top
34436 - 6.3.217 strict_threads
34438 - 6.3.219 text_flowed
34439 - 6.3.220 thread_received
34440 - 6.3.221 thorough_search
34446 - 6.3.227 use_8bitmime
34447 - 6.3.228 use_domain
34449 - 6.3.230 user_agent
34453 - 6.3.234 wrap_search
34454 - 6.3.235 wrapmargin
34455 - 6.3.236 write_inc
34456 - 6.3.237 write_bcc
34457 + 6.3.12 ask_follow_up
34458 + 6.3.13 ask_x_comment_to
34459 + 6.3.14 attach_format
34460 + 6.3.15 attach_sep
34461 + 6.3.16 attach_split
34462 + 6.3.17 attribution
34467 + 6.3.22 bounce_delivered
34468 + 6.3.23 catchup_newsgroup
34471 + 6.3.26 collapse_unread
34472 + 6.3.27 uncollapse_jump
34473 + 6.3.28 compose_format
34474 + 6.3.29 confirmappend
34475 + 6.3.30 confirmcreate
34476 + 6.3.31 connect_timeout
34478 + 6.3.33 date_format
34479 + 6.3.34 default_hook
34481 + 6.3.36 delete_untag
34482 + 6.3.37 digest_collapse
34483 + 6.3.38 display_filter
34484 + 6.3.39 dotlock_program
34485 + 6.3.40 dsn_notify
34486 + 6.3.41 dsn_return
34487 + 6.3.42 duplicate_threads
34488 + 6.3.43 edit_headers
34490 + 6.3.45 encode_from
34491 + 6.3.46 envelope_from
34493 + 6.3.48 fast_reply
34494 + 6.3.49 fcc_attach
34497 + 6.3.52 folder_format
34498 + 6.3.53 followup_to
34499 + 6.3.54 followup_to_poster
34500 + 6.3.55 force_name
34501 + 6.3.56 forward_decode
34502 + 6.3.57 forward_format
34503 + 6.3.58 forward_quote
34505 + 6.3.60 gecos_mask
34506 + 6.3.61 group_index_format
34510 + 6.3.65 hidden_host
34511 + 6.3.66 hide_limited
34512 + 6.3.67 hide_missing
34513 + 6.3.68 hide_top_limited
34514 + 6.3.69 hide_top_missing
34516 + 6.3.71 honor_followup_to
34518 + 6.3.73 ignore_list_reply_to
34519 + 6.3.74 imap_authenticators
34520 + 6.3.75 imap_delim_chars
34521 + 6.3.76 imap_force_ssl
34522 + 6.3.77 imap_home_namespace
34523 + 6.3.78 imap_keepalive
34524 + 6.3.79 imap_list_subscribed
34526 + 6.3.81 imap_passive
34528 + 6.3.83 imap_servernoise
34530 + 6.3.85 implicit_autoview
34532 + 6.3.87 indent_string
34533 + 6.3.88 index_format
34536 + 6.3.91 keep_flagged
34538 + 6.3.93 mail_check
34539 + 6.3.94 mailcap_path
34540 + 6.3.95 mailcap_sanitize
34541 + 6.3.96 maildir_trash
34546 + 6.3.101 mbox_type
34548 + 6.3.103 menu_scroll
34551 + 6.3.106 mh_seq_flagged
34552 + 6.3.107 mh_seq_replied
34553 + 6.3.108 mh_seq_unseen
34554 + 6.3.109 mime_forward
34555 + 6.3.110 mime_forward_decode
34556 + 6.3.111 mime_forward_rest
34557 + 6.3.112 mime_subject
34558 + 6.3.113 mix_entry_format
34559 + 6.3.114 mixmaster
34561 + 6.3.116 message_format
34562 + 6.3.117 news_cache_dir
34563 + 6.3.118 news_server
34565 + 6.3.120 nntp_context
34566 + 6.3.121 nntp_load_description
34567 + 6.3.122 nntp_user
34568 + 6.3.123 nntp_pass
34569 + 6.3.124 nntp_poll
34570 + 6.3.125 nntp_reconnect
34572 + 6.3.127 pager_context
34573 + 6.3.128 pager_format
34574 + 6.3.129 pager_index_lines
34575 + 6.3.130 pager_stop
34576 + 6.3.131 pgp_autosign
34577 + 6.3.132 pgp_autoencrypt
34578 + 6.3.133 pgp_ignore_subkeys
34579 + 6.3.134 pgp_entry_format
34580 + 6.3.135 pgp_good_sign
34581 + 6.3.136 pgp_long_ids
34582 + 6.3.137 pgp_replyencrypt
34583 + 6.3.138 pgp_replysign
34584 + 6.3.139 pgp_replysignencrypted
34585 + 6.3.140 pgp_retainable_sigs
34586 + 6.3.141 pgp_show_unusable
34587 + 6.3.142 pgp_sign_as
34588 + 6.3.143 pgp_strict_enc
34589 + 6.3.144 pgp_timeout
34590 + 6.3.145 pgp_verify_sig
34591 + 6.3.146 pgp_sort_keys
34592 + 6.3.147 pgp_create_traditional
34593 + 6.3.148 pgp_decode_command
34594 + 6.3.149 pgp_getkeys_command
34595 + 6.3.150 pgp_verify_command
34596 + 6.3.151 pgp_decrypt_command
34597 + 6.3.152 pgp_clearsign_command
34598 + 6.3.153 pgp_sign_command
34599 + 6.3.154 pgp_encrypt_sign_command
34600 + 6.3.155 pgp_encrypt_only_command
34601 + 6.3.156 pgp_import_command
34602 + 6.3.157 pgp_export_command
34603 + 6.3.158 pgp_verify_key_command
34604 + 6.3.159 pgp_list_secring_command
34605 + 6.3.160 pgp_list_pubring_command
34606 + 6.3.161 forward_decrypt
34607 + 6.3.162 ssl_starttls
34608 + 6.3.163 certificate_file
34609 + 6.3.164 ssl_usesystemcerts
34610 + 6.3.165 entropy_file
34611 + 6.3.166 ssl_use_sslv2
34612 + 6.3.167 ssl_use_sslv3
34613 + 6.3.168 ssl_use_tlsv1
34614 + 6.3.169 pipe_split
34615 + 6.3.170 pipe_decode
34617 + 6.3.172 pop_authenticators
34618 + 6.3.173 pop_auth_try_all
34619 + 6.3.174 pop_checkinterval
34620 + 6.3.175 pop_delete
34623 + 6.3.178 pop_reconnect
34626 + 6.3.181 post_indent_string
34627 + 6.3.182 post_moderated
34629 + 6.3.184 postponed
34630 + 6.3.185 preconnect
34632 + 6.3.187 print_command
34633 + 6.3.188 print_decode
34634 + 6.3.189 print_split
34635 + 6.3.190 prompt_after
34636 + 6.3.191 query_command
34638 + 6.3.193 quote_regexp
34640 + 6.3.195 read_only
34644 + 6.3.199 reply_regexp
34645 + 6.3.200 reply_self
34648 + 6.3.203 reverse_alias
34649 + 6.3.204 reverse_name
34650 + 6.3.205 reverse_realname
34651 + 6.3.206 rfc2047_parameters
34652 + 6.3.207 save_address
34653 + 6.3.208 save_empty
34654 + 6.3.209 save_name
34656 + 6.3.211 score_threshold_delete
34657 + 6.3.212 score_threshold_flag
34658 + 6.3.213 score_threshold_read
34659 + 6.3.214 send_charset
34661 + 6.3.216 sendmail_wait
34663 + 6.3.218 save_unsubscribed
34664 + 6.3.219 show_new_news
34665 + 6.3.220 show_only_unread
34666 + 6.3.221 sig_dashes
34667 + 6.3.222 sig_on_top
34668 + 6.3.223 signature
34669 + 6.3.224 simple_search
34670 + 6.3.225 smart_wrap
34672 + 6.3.227 sleep_time
34674 + 6.3.229 sort_alias
34676 + 6.3.231 sort_browser
34678 + 6.3.233 spoolfile
34679 + 6.3.234 status_chars
34680 + 6.3.235 status_format
34681 + 6.3.236 status_on_top
34682 + 6.3.237 strict_threads
34684 + 6.3.239 text_flowed
34685 + 6.3.240 thread_received
34686 + 6.3.241 thorough_search
34692 + 6.3.247 use_8bitmime
34693 + 6.3.248 use_domain
34696 + 6.3.251 user_agent
34700 + 6.3.255 wrap_search
34701 + 6.3.256 wrapmargin
34702 + 6.3.257 write_inc
34703 + 6.3.258 write_bcc
34704 + 6.3.259 x_comment_to
34708 @@ -356,6 +385,7 @@
34713 7.1 Acknowledgements
34714 7.2 About this document
34716 @@ -501,35 +531,35 @@
34718 2
\b2.
\b.3
\b3.
\b.1
\b1.
\b. T
\bTh
\bhe
\be M
\bMe
\bes
\bss
\bsa
\bag
\bge
\be I
\bIn
\bnd
\bde
\bex
\bx
34720 - c change to a different mailbox
34721 - ESC c change to a folder in read-only mode
34722 - C copy the current message to another mailbox
34723 - ESC C decode a message and copy it to a folder
34724 - ESC s decode a message and save it to a folder
34725 - D delete messages matching a pattern
34726 - d delete the current message
34727 - F mark as important
34728 - l show messages matching a pattern
34729 - N mark message as new
34730 - o change the current sort method
34731 - O reverse sort the mailbox
34732 - q save changes and exit
34734 - T tag messages matching a pattern
34735 - t toggle the tag on a message
34736 - ESC t toggle tag on entire message thread
34737 - U undelete messages matching a pattern
34738 - u undelete-message
34739 - v view-attachments
34740 - x abort changes and exit
34741 - <Return> display-message
34742 - <Tab> jump to the next new message
34743 - @ show the author's full e-mail address
34744 - $ save changes to mailbox
34746 - ESC / search-reverse
34747 - ^L clear and redraw the screen
34748 - ^T untag messages matching a pattern
34749 + c change to a different mailbox
34750 + ESC c change to a folder in read-only mode
34751 + C copy the current message to another mailbox
34752 + ESC C decode a message and copy it to a folder
34753 + ESC s decode a message and save it to a folder
34754 + D delete messages matching a pattern
34755 + d delete the current message
34756 + F mark as important
34757 + l show messages matching a pattern
34758 + N mark message as new
34759 + o change the current sort method
34760 + O reverse sort the mailbox
34761 + q save changes and exit
34763 + T tag messages matching a pattern
34764 + t toggle the tag on a message
34765 + ESC t toggle tag on entire message thread
34766 + U undelete messages matching a pattern
34767 + u undelete-message
34768 + v view-attachments
34769 + x abort changes and exit
34770 + <Return> display-message
34771 + <Tab> jump to the next new message
34772 + @ show the author's full e-mail address
34773 + $ save changes to mailbox
34775 + ESC / search-reverse
34776 + ^L clear and redraw the screen
34777 + ^T untag messages matching a pattern
34779 2
\b2.
\b.3
\b3.
\b.1
\b1.
\b.1
\b1.
\b. S
\bSt
\bta
\bat
\btu
\bus
\bs F
\bFl
\bla
\bag
\bgs
\bs
34781 @@ -581,18 +611,18 @@
34782 messages. The pager is very similar to the Unix program _
\bl_
\be_
\bs_
\bs though
34783 not nearly as featureful.
34785 - <Return> go down one line
34786 - <Space> display the next page (or next message if at the end of a message)
34787 - - go back to the previous page
34788 - n search for next match
34789 - S skip beyond quoted text
34790 - T toggle display of quoted text
34791 - ? show keybindings
34792 - / search for a regular expression (pattern)
34793 - ESC / search backwards for a regular expression
34794 - \ toggle search pattern coloring
34795 - ^ jump to the top of the message
34796 - $ jump to the bottom of the message
34797 + <Return> go down one line
34798 + <Space> display the next page (or next message if at the end of a message)
34799 + - go back to the previous page
34800 + n search for next match
34801 + S skip beyond quoted text
34802 + T toggle display of quoted text
34803 + ? show keybindings
34804 + / search for a regular expression (pattern)
34805 + ESC / search backwards for a regular expression
34806 + \ toggle search pattern coloring
34807 + ^ jump to the top of the message
34808 + $ jump to the bottom of the message
34810 In addition, many of the functions from the _
\bi_
\bn_
\bd_
\be_
\bx are available in the
34811 pager, such as _
\bd_
\be_
\bl_
\be_
\bt_
\be_
\b-_
\bm_
\be_
\bs_
\bs_
\ba_
\bg_
\be or _
\bc_
\bo_
\bp_
\by_
\b-_
\bm_
\be_
\bs_
\bs_
\ba_
\bg_
\be (this is one advantage
34812 @@ -783,13 +813,13 @@
34813 The following bindings are available in the _
\bi_
\bn_
\bd_
\be_
\bx for sending
34816 - m compose compose a new message
34817 - r reply reply to sender
34818 - g group-reply reply to all recipients
34819 - L list-reply reply to mailing list address
34820 - f forward forward message
34821 - b bounce bounce (remail) message
34822 - ESC k mail-key mail a PGP public key to someone
34823 + m compose compose a new message
34824 + r reply reply to sender
34825 + g group-reply reply to all recipients
34826 + L list-reply reply to mailing list address
34827 + f forward forward message
34828 + b bounce bounce (remail) message
34829 + ESC k mail-key mail a PGP public key to someone
34831 Bouncing a message sends the message as is to the recipient you
34832 specify. Forwarding a message allows you to add comments or modify
34833 @@ -966,6 +996,7 @@
34834 original recipients. Forwarding a message, on the other hand, allows
34835 you to modify the message before it is resent (for example, by adding
34836 your own comments).
34838 The following keys are bound by default:
34840 f forward forward message
34841 @@ -1009,6 +1040,16 @@
34843 See also the ``$postpone'' quad-option.
34845 + 2
\b2.
\b.7
\b7.
\b. R
\bRe
\bea
\bad
\bdi
\bin
\bng
\bg n
\bne
\bew
\bws
\bs v
\bvi
\bia
\ba N
\bNN
\bNT
\bTP
\bP
34847 + If compiled with ``--enable-nntp'' option, Mutt can read news from
34848 + newsserver via NNTP. You can open a newsgroup with function ``change-
34849 + newsgroup'' (default: i). Default newsserver can be obtained from
34850 + _
\bN_
\bN_
\bT_
\bP_
\bS_
\bE_
\bR_
\bV_
\bE_
\bR environment variable. Like other news readers, info about
34851 + subscribed newsgroups is saved in file by ``$newsrc'' variable.
34852 + Article headers are cached and can be loaded from file when newsgroup
34853 + entered instead loading from newsserver.
34855 3
\b3.
\b. C
\bCo
\bon
\bnf
\bfi
\big
\bgu
\bur
\bra
\bat
\bti
\bio
\bon
\bn
34857 While the default configuration (or ``preferences'') make Mutt usable
34858 @@ -1023,6 +1064,7 @@
34860 .muttrc is the file where you will usually place your ``commands'' to
34863 In addition, mutt supports version specific configuration files that
34864 are parsed instead of the default files as explained above. For
34865 instance, if your system has a Muttrc-0.88 file in the system
34866 @@ -1125,6 +1167,7 @@
34867 that Mutt will happily append aliases to any file, but in order for
34868 the new aliases to take effect you need to explicitly ``source'' this
34873 source /usr/local/share/Mutt.aliases
34874 @@ -1184,30 +1227,31 @@
34875 _
\b\_
\bc_
\bA and _
\b\_
\bc_
\ba are all equivalent. An alternative form is to specify the
34876 key as a three digit octal number prefixed with a ``\'' (for example
34877 _
\b\_
\b1_
\b7_
\b7 is equivalent to _
\b\_
\bc_
\b?).
34879 In addition, _
\bk_
\be_
\by may consist of:
34883 - \r carriage return
34888 - <down> down arrow
34889 - <left> left arrow
34890 - <right> right arrow
34892 - <pagedown> Page Down
34893 - <backspace> Backspace
34900 - <space> Space bar
34901 - <f1> function key 1
34902 - <f10> function key 10
34905 + \r carriage return
34910 + <down> down arrow
34911 + <left> left arrow
34912 + <right> right arrow
34914 + <pagedown> Page Down
34915 + <backspace> Backspace
34922 + <space> Space bar
34923 + <f1> function key 1
34924 + <f10> function key 10
34926 _
\bk_
\be_
\by does not need to be enclosed in quotes unless it contains a space
34928 @@ -1476,6 +1520,7 @@
34929 The ``unlists'' command is used to remove a token from the list of
34930 known and subscribed mailing-lists. Use ``unlists *'' to remove all
34933 To remove a mailing list from the list of subscribed mailing lists,
34934 but keep it on the list of known mailing lists, use ``unsubscribe''.
34936 @@ -1540,7 +1585,6 @@
34937 N
\bNo
\bot
\bte
\be:
\b: space characters are _
\bn_
\bo_
\bt allowed between the keyword and the
34938 colon (``:''). The standard for electronic mail (RFC822) says that
34939 space is illegal there, so Mutt enforces the rule.
34941 If you would like to add a header field to a single message, you
34942 should either set the ``edit_headers'' variable, or use the _
\be_
\bd_
\bi_
\bt_
\b-
34943 _
\bh_
\be_
\ba_
\bd_
\be_
\br_
\bs function (default: ``E'') in the send-menu so that you can
34944 @@ -1653,8 +1697,8 @@
34948 - message-hook ~A 'set pager=builtin'
34949 - message-hook '~f freshmeat-news' 'set pager="less \"+/^ subject: .*\""'
34950 + message-hook ~A 'set pager=builtin'
34951 + message-hook '~f freshmeat-news' 'set pager="less \"+/^ subject: .*\""'
34953 3
\b3.
\b.1
\b19
\b9.
\b. C
\bCh
\bho
\boo
\bos
\bsi
\bin
\bng
\bg t
\bth
\bhe
\be P
\bPG
\bGP
\bP k
\bke
\bey
\by o
\bof
\bf t
\bth
\bhe
\be r
\bre
\bec
\bci
\bip
\bpi
\bie
\ben
\bnt
\bt
34955 @@ -2059,7 +2103,7 @@
34956 match the ``^Junk +From +Me$'' and it must be from either ``Jim
34957 +Somebody'' or ``Ed +SomeoneElse'':
34959 - '~s "^Junk +From +Me$" ~f ("Jim +Somebody"|"Ed +SomeoneElse")'
34960 + '~s "^Junk +From +Me$" ~f ("Jim +Somebody"|"Ed +SomeoneElse")'
34962 4
\b4.
\b.2
\b2.
\b.3
\b3.
\b. S
\bSe
\bea
\bar
\brc
\bch
\bhi
\bin
\bng
\bg b
\bby
\by D
\bDa
\bat
\bte
\be
34964 @@ -2113,7 +2157,7 @@
34966 Example: to select messages less than 1 month old, you would use
34968 - Limit to messages matching: ~d <1m
34969 + Limit to messages matching: ~d <1m
34971 N
\bNo
\bot
\bte
\be:
\b: all dates used when searching are relative to the l
\blo
\boc
\bca
\bal
\bl time
34972 zone, so unless you change the setting of your ``$index_format'' to
34973 @@ -2222,10 +2266,10 @@
34975 An example multiple response output:
34977 - Searching database ... 20 entries ... 3 matching:
34978 - me@cs.hmc.edu Michael Elkins mutt dude
34979 - blong@fiction.net Brandon Long mutt and more
34980 - roessler@guug.de Thomas Roessler mutt pgp
34981 + Searching database ... 20 entries ... 3 matching:
34982 + me@cs.hmc.edu Michael Elkins mutt dude
34983 + blong@fiction.net Brandon Long mutt and more
34984 + roessler@guug.de Thomas Roessler mutt pgp
34986 There are two mechanisms for accessing the query function of mutt.
34987 One is to do a query from the index menu using the query function
34988 @@ -2279,7 +2323,6 @@
34989 messages are chosen in such a way they are unique, even when two
34990 programs are writing the mailbox over NFS, which means that no file
34993 4
\b4.
\b.7
\b7.
\b. M
\bMa
\bai
\bil
\blb
\bbo
\box
\bx S
\bSh
\bho
\bor
\brt
\btc
\bcu
\but
\bts
\bs
34995 There are a number of built in shortcuts which refer to specific
34996 @@ -2405,7 +2448,6 @@
34998 You can select an alternative port by specifying it with the server,
34999 ie: pop://popserver:port/.
35001 You can also specify different username for each folder, ie:
35002 pop://username@popserver[:port]/.
35004 @@ -2456,6 +2498,7 @@
35006 Pine-compatible notation is also supported, ie
35007 {[username@]imapserver[:port][/ssl]}path/to/folder
35009 Note that not all servers use / as the hierarchy separator. Mutt
35010 should correctly notice which separator is being used by the server
35011 and convert paths accordingly.
35012 @@ -2469,8 +2512,8 @@
35013 So, you'll want to carefully tune the ``$mail_check'' and ``$timeout''
35014 variables. Personally I use
35016 - set mail_check=90
35018 + set mail_check=90
35021 with relatively good results over my slow modem line.
35023 @@ -2528,7 +2571,6 @@
35024 authentication on the IMAP server, for all authenticators. This is
35025 overridden by an explicit username in the mailbox path (ie by using
35026 a mailbox name of the form {user@host}).
35028 · ``$imap_pass'' - a password which you may preset, used by all
35029 authentication methods where a password is needed.
35031 @@ -3043,6 +3085,7 @@
35032 attempting to print an image/gif, and you have the following entries
35033 in your mailcap file, Mutt will search for an entry with the print
35037 image/gif; ; print= anytopnm %s | pnmtops | lpr; \
35038 nametemplate=%s.gif
35039 @@ -3056,9 +3099,9 @@
35040 can then use the test feature to determine which viewer to use
35041 interactively depending on your environment.
35043 - text/html; netscape -remote 'openURL(%s)' ; test=RunningX
35044 - text/html; lynx %s; nametemplate=%s.html
35045 - text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
35046 + text/html; netscape -remote 'openURL(%s)' ; test=RunningX
35047 + text/html; lynx %s; nametemplate=%s.html
35048 + text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
35050 For ``Autoview'', Mutt will choose the third entry because of the
35051 copiousoutput tag. For interactive viewing, Mutt will run the program
35052 @@ -3210,25 +3253,25 @@
35053 spool mailbox. However, it is possible to read other mailboxes and to
35054 send messages from the command line as well.
35056 - -a attach a file to a message
35057 - -b specify a blind carbon-copy (BCC) address
35058 - -c specify a carbon-copy (Cc) address
35059 - -e specify a config command to be run after initilization files are read
35060 - -f specify a mailbox to load
35061 - -F specify an alternate file to read initialization commands
35062 - -h print help on command line options
35063 - -H specify a draft file from which to read a header and body
35064 - -i specify a file to include in a message composition
35065 - -m specify a default mailbox type
35066 - -n do not read the system Muttrc
35067 - -p recall a postponed message
35068 - -R open mailbox in read-only mode
35069 - -s specify a subject (enclose in quotes if it contains spaces)
35070 - -v show version number and compile-time definitions
35071 - -x simulate the mailx(1) compose mode
35072 - -y show a menu containing the files specified by the mailboxes command
35073 - -z exit immediately if there are no messages in the mailbox
35074 - -Z open the first folder with new message,exit immediately if none
35075 + -a attach a file to a message
35076 + -b specify a blind carbon-copy (BCC) address
35077 + -c specify a carbon-copy (Cc) address
35078 + -e specify a config command to be run after initilization files are read
35079 + -f specify a mailbox to load
35080 + -F specify an alternate file to read initialization commands
35081 + -h print help on command line options
35082 + -H specify a draft file from which to read a header and body
35083 + -i specify a file to include in a message composition
35084 + -m specify a default mailbox type
35085 + -n do not read the system Muttrc
35086 + -p recall a postponed message
35087 + -R open mailbox in read-only mode
35088 + -s specify a subject (enclose in quotes if it contains spaces)
35089 + -v show version number and compile-time definitions
35090 + -x simulate the mailx(1) compose mode
35091 + -y show a menu containing the files specified by the mailboxes command
35092 + -z exit immediately if there are no messages in the mailbox
35093 + -Z open the first folder with new message,exit immediately if none
35095 To read messages in a mailbox
35097 @@ -3454,7 +3497,23 @@
35098 If set, Mutt will prompt you for carbon-copy (Cc) recipients before
35099 editing the body of an outgoing message.
35101 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b2.
\b. a
\bat
\btt
\bta
\bac
\bch
\bh_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35102 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b2.
\b. a
\bas
\bsk
\bk_
\b_f
\bfo
\bol
\bll
\blo
\bow
\bw_
\b_u
\bup
\bp
35107 + If set, Mutt will prompt you for follow-up groups before editing the
35108 + body of an outgoing message.
35110 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b3.
\b. a
\bas
\bsk
\bk_
\b_x
\bx_
\b_c
\bco
\bom
\bmm
\bme
\ben
\bnt
\bt_
\b_t
\bto
\bo
35115 + If set, Mutt will prompt you for x-comment-to field before editing the
35116 + body of an outgoing message.
35118 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b4.
\b. a
\bat
\btt
\bta
\bac
\bch
\bh_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35121 Default: "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
35122 @@ -3490,7 +3549,7 @@
35124 pad to the end of the line with character "X"
35126 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b3.
\b. a
\bat
\btt
\bta
\bac
\bch
\bh_
\b_s
\bse
\bep
\bp
35127 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b5.
\b. a
\bat
\btt
\bta
\bac
\bch
\bh_
\b_s
\bse
\bep
\bp
35131 @@ -3498,7 +3557,7 @@
35132 The separator to add between attachments when operating (saving,
35133 printing, piping, etc) on a list of tagged attachments.
35135 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b4.
\b. a
\bat
\btt
\bta
\bac
\bch
\bh_
\b_s
\bsp
\bpl
\bli
\bit
\bt
35136 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b6.
\b. a
\bat
\btt
\bta
\bac
\bch
\bh_
\b_s
\bsp
\bpl
\bli
\bit
\bt
35140 @@ -3509,7 +3568,7 @@
35141 ````$attach_sep'''' separator is added after each attachment. When
35142 set, Mutt will operate on the attachments one by one.
35144 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b5.
\b. a
\bat
\btt
\btr
\bri
\bib
\bbu
\but
\bti
\bio
\bon
\bn
35145 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b7.
\b. a
\bat
\btt
\btr
\bri
\bib
\bbu
\but
\bti
\bio
\bon
\bn
35148 Default: "On %d, %n wrote:"
35149 @@ -3518,7 +3577,7 @@
35150 in a reply. For a full listing of defined printf()-like sequences see
35151 the section on ````$index_format''''.
35153 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b6.
\b. a
\bau
\but
\bto
\boe
\bed
\bdi
\bit
\bt
35154 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b8.
\b. a
\bau
\but
\bto
\boe
\bed
\bdi
\bit
\bt
35158 @@ -3530,7 +3589,7 @@
35160 Also see ````$fast_reply''''.
35162 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b7.
\b. a
\bau
\but
\bto
\bo_
\b_t
\bta
\bag
\bg
35163 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b9.
\b. a
\bau
\but
\bto
\bo_
\b_t
\bta
\bag
\bg
35167 @@ -3540,14 +3599,14 @@
35168 must first use the tag-prefix function (default: ";") to make the next
35169 function apply to all tagged messages.
35171 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b8.
\b. b
\bbe
\bee
\bep
\bp
35172 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b0.
\b. b
\bbe
\bee
\bep
\bp
35177 When this variable is set, mutt will beep when an error occurs.
35179 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b9.
\b. b
\bbe
\bee
\bep
\bp_
\b_n
\bne
\bew
\bw
35180 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b1.
\b. b
\bbe
\bee
\bep
\bp_
\b_n
\bne
\bew
\bw
35184 @@ -3556,7 +3615,7 @@
35185 notifying you of new mail. This is independent of the setting of the
35186 ````$beep'''' variable.
35188 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b0.
\b. b
\bbo
\bou
\bun
\bnc
\bce
\be_
\b_d
\bde
\bel
\bli
\biv
\bve
\ber
\bre
\bed
\bd
35189 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b2.
\b. b
\bbo
\bou
\bun
\bnc
\bce
\be_
\b_d
\bde
\bel
\bli
\biv
\bve
\ber
\bre
\bed
\bd
35193 @@ -3564,14 +3623,22 @@
35194 When this variable is set, mutt will include Delivered-To headers when
35195 bouncing messages. Postfix users may wish to unset this variable.
35197 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b1.
\b. c
\bch
\bha
\bar
\brs
\bse
\bet
\bt
35198 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b3.
\b. c
\bca
\bat
\btc
\bch
\bhu
\bup
\bp_
\b_n
\bne
\bew
\bws
\bsg
\bgr
\bro
\bou
\bup
\bp
35203 + If this variable is _
\bs_
\be_
\bt, Mutt will mark all articles in newsgroup as
35204 + read when you quit the newsgroup (catchup newsgroup).
35206 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b4.
\b. c
\bch
\bha
\bar
\brs
\bse
\bet
\bt
35211 Character set your terminal uses to display and enter textual data.
35213 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b2.
\b. c
\bch
\bhe
\bec
\bck
\bk_
\b_n
\bne
\bew
\bw
35214 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b5.
\b. c
\bch
\bhe
\bec
\bck
\bk_
\b_n
\bne
\bew
\bw
35218 @@ -3584,7 +3651,7 @@
35219 file to see if it has already been looked at. If _
\bc_
\bh_
\be_
\bc_
\bk_
\b__
\bn_
\be_
\bw is _
\bu_
\bn_
\bs_
\be_
\bt,
35220 no check for new mail is performed while the mailbox is open.
35222 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b3.
\b. c
\bco
\bol
\bll
\bla
\bap
\bps
\bse
\be_
\b_u
\bun
\bnr
\bre
\bea
\bad
\bd
35223 + 6
\b6.
\b.3
\b3.
\b.2
\b26
\b6.
\b. c
\bco
\bol
\bll
\bla
\bap
\bps
\bse
\be_
\b_u
\bun
\bnr
\bre
\bea
\bad
\bd
35227 @@ -3592,7 +3659,7 @@
35228 When _
\bu_
\bn_
\bs_
\be_
\bt, Mutt will not collapse a thread if it contains any unread
35231 - 6
\b6.
\b.3
\b3.
\b.2
\b24
\b4.
\b. u
\bun
\bnc
\bco
\bol
\bll
\bla
\bap
\bps
\bse
\be_
\b_j
\bju
\bum
\bmp
\bp
35232 + 6
\b6.
\b.3
\b3.
\b.2
\b27
\b7.
\b. u
\bun
\bnc
\bco
\bol
\bll
\bla
\bap
\bps
\bse
\be_
\b_j
\bju
\bum
\bmp
\bp
35236 @@ -3600,7 +3667,7 @@
35237 When _
\bs_
\be_
\bt, Mutt will jump to the next unread message, if any, when the
35238 current thread is _
\bu_
\bncollapsed.
35240 - 6
\b6.
\b.3
\b3.
\b.2
\b25
\b5.
\b. c
\bco
\bom
\bmp
\bpo
\bos
\bse
\be_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35241 + 6
\b6.
\b.3
\b3.
\b.2
\b28
\b8.
\b. c
\bco
\bom
\bmp
\bpo
\bos
\bse
\be_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35244 Default: "-- Mutt: Compose [Approx. msg size: %l Atts: %a]%>-"
35245 @@ -3620,7 +3687,7 @@
35246 See the text describing the ````$status_format'''' option for more
35247 information on how to set ````$compose_format''''.
35249 - 6
\b6.
\b.3
\b3.
\b.2
\b26
\b6.
\b. c
\bco
\bon
\bnf
\bfi
\bir
\brm
\bma
\bap
\bpp
\bpe
\ben
\bnd
\bd
35250 + 6
\b6.
\b.3
\b3.
\b.2
\b29
\b9.
\b. c
\bco
\bon
\bnf
\bfi
\bir
\brm
\bma
\bap
\bpp
\bpe
\ben
\bnd
\bd
35254 @@ -3628,7 +3695,7 @@
35255 When set, Mutt will prompt for confirmation when appending messages to
35256 an existing mailbox.
35258 - 6
\b6.
\b.3
\b3.
\b.2
\b27
\b7.
\b. c
\bco
\bon
\bnf
\bfi
\bir
\brm
\bmc
\bcr
\bre
\bea
\bat
\bte
\be
35259 + 6
\b6.
\b.3
\b3.
\b.3
\b30
\b0.
\b. c
\bco
\bon
\bnf
\bfi
\bir
\brm
\bmc
\bcr
\bre
\bea
\bat
\bte
\be
35263 @@ -3636,7 +3703,7 @@
35264 When set, Mutt will prompt for confirmation when saving messages to a
35265 mailbox which does not yet exist before creating it.
35267 - 6
\b6.
\b.3
\b3.
\b.2
\b28
\b8.
\b. c
\bco
\bon
\bnn
\bne
\bec
\bct
\bt_
\b_t
\bti
\bim
\bme
\beo
\bou
\but
\bt
35268 + 6
\b6.
\b.3
\b3.
\b.3
\b31
\b1.
\b. c
\bco
\bon
\bnn
\bne
\bec
\bct
\bt_
\b_t
\bti
\bim
\bme
\beo
\bou
\but
\bt
35272 @@ -3646,7 +3713,7 @@
35273 negative value causes Mutt to wait indefinitely for the connection to
35276 - 6
\b6.
\b.3
\b3.
\b.2
\b29
\b9.
\b. c
\bco
\bop
\bpy
\by
35277 + 6
\b6.
\b.3
\b3.
\b.3
\b32
\b2.
\b. c
\bco
\bop
\bpy
\by
35281 @@ -3655,7 +3722,7 @@
35282 will be saved for later references. Also see ````$record'''',
35283 ````$save_name'''', ````$force_name'''' and ````fcc-hook''''.
35285 - 6
\b6.
\b.3
\b3.
\b.3
\b30
\b0.
\b. d
\bda
\bat
\bte
\be_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35286 + 6
\b6.
\b.3
\b3.
\b.3
\b33
\b3.
\b. d
\bda
\bat
\bte
\be_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35289 Default: "!%a, %b %d, %Y at %I:%M:%S%p %Z"
35290 @@ -3672,7 +3739,7 @@
35291 rest of the string are expanded in the _
\bC locale (that is in US
35294 - 6
\b6.
\b.3
\b3.
\b.3
\b31
\b1.
\b. d
\bde
\bef
\bfa
\bau
\bul
\blt
\bt_
\b_h
\bho
\boo
\bok
\bk
35295 + 6
\b6.
\b.3
\b3.
\b.3
\b34
\b4.
\b. d
\bde
\bef
\bfa
\bau
\bul
\blt
\bt_
\b_h
\bho
\boo
\bok
\bk
35298 Default: "~f %s !~P | (~P ~C %s)"
35299 @@ -3687,7 +3754,7 @@
35300 matches ````$alternates'''') and is to or cc'ed to a user matching the
35301 given regular expression.
35303 - 6
\b6.
\b.3
\b3.
\b.3
\b32
\b2.
\b. d
\bde
\bel
\ble
\bet
\bte
\be
35304 + 6
\b6.
\b.3
\b3.
\b.3
\b35
\b5.
\b. d
\bde
\bel
\ble
\bet
\bte
\be
35308 @@ -3697,7 +3764,7 @@
35309 will automatically be purged without prompting. If set to _
\bn_
\bo,
35310 messages marked for deletion will be kept in the mailbox.
35312 - 6
\b6.
\b.3
\b3.
\b.3
\b33
\b3.
\b. d
\bde
\bel
\ble
\bet
\bte
\be_
\b_u
\bun
\bnt
\bta
\bag
\bg
35313 + 6
\b6.
\b.3
\b3.
\b.3
\b36
\b6.
\b. d
\bde
\bel
\ble
\bet
\bte
\be_
\b_u
\bun
\bnt
\bta
\bag
\bg
35317 @@ -3706,7 +3773,7 @@
35318 deletion. This applies when you either explicitly delete a message,
35319 or when you save it to another folder.
35321 - 6
\b6.
\b.3
\b3.
\b.3
\b34
\b4.
\b. d
\bdi
\big
\bge
\bes
\bst
\bt_
\b_c
\bco
\bol
\bll
\bla
\bap
\bps
\bse
\be
35322 + 6
\b6.
\b.3
\b3.
\b.3
\b37
\b7.
\b. d
\bdi
\big
\bge
\bes
\bst
\bt_
\b_c
\bco
\bol
\bll
\bla
\bap
\bps
\bse
\be
35326 @@ -3715,7 +3782,7 @@
35327 subparts of individual messages in a digest. To see these subparts,
35328 press 'v' on that menu.
35330 - 6
\b6.
\b.3
\b3.
\b.3
\b35
\b5.
\b. d
\bdi
\bis
\bsp
\bpl
\bla
\bay
\by_
\b_f
\bfi
\bil
\blt
\bte
\ber
\br
35331 + 6
\b6.
\b.3
\b3.
\b.3
\b38
\b8.
\b. d
\bdi
\bis
\bsp
\bpl
\bla
\bay
\by_
\b_f
\bfi
\bil
\blt
\bte
\ber
\br
35335 @@ -3724,14 +3791,14 @@
35336 is viewed it is passed as standard input to ``$display_filter'', and
35337 the filtered message is read from the standard output.
35339 - 6
\b6.
\b.3
\b3.
\b.3
\b36
\b6.
\b. d
\bdo
\bot
\btl
\blo
\boc
\bck
\bk_
\b_p
\bpr
\bro
\bog
\bgr
\bra
\bam
\bm
35340 + 6
\b6.
\b.3
\b3.
\b.3
\b39
\b9.
\b. d
\bdo
\bot
\btl
\blo
\boc
\bck
\bk_
\b_p
\bpr
\bro
\bog
\bgr
\bra
\bam
\bm
35343 Default: "/usr/local/bin/mutt_dotlock"
35345 Contains the path of the mutt_dotlock (8) binary to be used by mutt.
35347 - 6
\b6.
\b.3
\b3.
\b.3
\b37
\b7.
\b. d
\bds
\bsn
\bn_
\b_n
\bno
\bot
\bti
\bif
\bfy
\by
35348 + 6
\b6.
\b.3
\b3.
\b.4
\b40
\b0.
\b. d
\bds
\bsn
\bn_
\b_n
\bno
\bot
\bti
\bif
\bfy
\by
35352 @@ -3747,7 +3814,7 @@
35354 Example: set dsn_notify="failure,delay"
35356 - 6
\b6.
\b.3
\b3.
\b.3
\b38
\b8.
\b. d
\bds
\bsn
\bn_
\b_r
\bre
\bet
\btu
\bur
\brn
\bn
35357 + 6
\b6.
\b.3
\b3.
\b.4
\b41
\b1.
\b. d
\bds
\bsn
\bn_
\b_r
\bre
\bet
\btu
\bur
\brn
\bn
35361 @@ -3761,7 +3828,7 @@
35363 Example: set dsn_return=hdrs
35365 - 6
\b6.
\b.3
\b3.
\b.3
\b39
\b9.
\b. d
\bdu
\bup
\bpl
\bli
\bic
\bca
\bat
\bte
\be_
\b_t
\bth
\bhr
\bre
\bea
\bad
\bds
\bs
35366 + 6
\b6.
\b.3
\b3.
\b.4
\b42
\b2.
\b. d
\bdu
\bup
\bpl
\bli
\bic
\bca
\bat
\bte
\be_
\b_t
\bth
\bhr
\bre
\bea
\bad
\bds
\bs
35370 @@ -3771,7 +3838,7 @@
35371 indicate that it thinks they are duplicates of each other with an
35372 equals sign in the thread diagram.
35374 - 6
\b6.
\b.3
\b3.
\b.4
\b40
\b0.
\b. e
\bed
\bdi
\bit
\bt_
\b_h
\bhe
\bea
\bad
\bde
\ber
\brs
\bs
35375 + 6
\b6.
\b.3
\b3.
\b.4
\b43
\b3.
\b. e
\bed
\bdi
\bit
\bt_
\b_h
\bhe
\bea
\bad
\bde
\ber
\brs
\bs
35379 @@ -3779,7 +3846,7 @@
35380 This option allows you to edit the header of your outgoing messages
35381 along with the body of your message.
35383 - 6
\b6.
\b.3
\b3.
\b.4
\b41
\b1.
\b. e
\bed
\bdi
\bit
\bto
\bor
\br
35384 + 6
\b6.
\b.3
\b3.
\b.4
\b44
\b4.
\b. e
\bed
\bdi
\bit
\bto
\bor
\br
35388 @@ -3788,7 +3855,7 @@
35389 the value of the EDITOR or VISUAL environment variable, or to the
35392 - 6
\b6.
\b.3
\b3.
\b.4
\b42
\b2.
\b. e
\ben
\bnc
\bco
\bod
\bde
\be_
\b_f
\bfr
\bro
\bom
\bm
35393 + 6
\b6.
\b.3
\b3.
\b.4
\b45
\b5.
\b. e
\ben
\bnc
\bco
\bod
\bde
\be_
\b_f
\bfr
\bro
\bom
\bm
35397 @@ -3798,7 +3865,7 @@
35398 tampering certain mail delivery and transport agents tend to do with
35401 - 6
\b6.
\b.3
\b3.
\b.4
\b43
\b3.
\b. e
\ben
\bnv
\bve
\bel
\blo
\bop
\bpe
\be_
\b_f
\bfr
\bro
\bom
\bm
35402 + 6
\b6.
\b.3
\b3.
\b.4
\b46
\b6.
\b. e
\ben
\bnv
\bve
\bel
\blo
\bop
\bpe
\be_
\b_f
\bfr
\bro
\bom
\bm
35406 @@ -3809,14 +3876,14 @@
35407 if you are using that switch in ``$sendmail'' yourself, or if the
35408 sendmail on your machine doesn't support that command line switch.
35410 - 6
\b6.
\b.3
\b3.
\b.4
\b44
\b4.
\b. e
\bes
\bsc
\bca
\bap
\bpe
\be
35411 + 6
\b6.
\b.3
\b3.
\b.4
\b47
\b7.
\b. e
\bes
\bsc
\bca
\bap
\bpe
\be
35416 Escape character to use for functions in the builtin editor.
35418 - 6
\b6.
\b.3
\b3.
\b.4
\b45
\b5.
\b. f
\bfa
\bas
\bst
\bt_
\b_r
\bre
\bep
\bpl
\bly
\by
35419 + 6
\b6.
\b.3
\b3.
\b.4
\b48
\b8.
\b. f
\bfa
\bas
\bst
\bt_
\b_r
\bre
\bep
\bpl
\bly
\by
35423 @@ -3828,7 +3895,7 @@
35424 N
\bNo
\bot
\bte
\be:
\b: this variable has no effect when the ````$autoedit'''' variable
35427 - 6
\b6.
\b.3
\b3.
\b.4
\b46
\b6.
\b. f
\bfc
\bcc
\bc_
\b_a
\bat
\btt
\bta
\bac
\bch
\bh
35428 + 6
\b6.
\b.3
\b3.
\b.4
\b49
\b9.
\b. f
\bfc
\bcc
\bc_
\b_a
\bat
\btt
\bta
\bac
\bch
\bh
35432 @@ -3836,7 +3903,7 @@
35433 This variable controls whether or not attachments on outgoing messages
35434 are saved along with the main body of your message.
35436 - 6
\b6.
\b.3
\b3.
\b.4
\b47
\b7.
\b. f
\bfc
\bcc
\bc_
\b_c
\bcl
\ble
\bea
\bar
\br
35437 + 6
\b6.
\b.3
\b3.
\b.5
\b50
\b0.
\b. f
\bfc
\bcc
\bc_
\b_c
\bcl
\ble
\bea
\bar
\br
35441 @@ -3844,7 +3911,7 @@
35442 When this variable is _
\bs_
\be_
\bt, FCCs will be stored unencrypted and
35443 unsigned, even when the actual message is encrypted and/or signed.
35445 - 6
\b6.
\b.3
\b3.
\b.4
\b48
\b8.
\b. f
\bfo
\bol
\bld
\bde
\ber
\br
35446 + 6
\b6.
\b.3
\b3.
\b.5
\b51
\b1.
\b. f
\bfo
\bol
\bld
\bde
\ber
\br
35450 @@ -3856,7 +3923,7 @@
35451 `+' or `=' for any other variables since expansion takes place during
35454 - 6
\b6.
\b.3
\b3.
\b.4
\b49
\b9.
\b. f
\bfo
\bol
\bld
\bde
\ber
\br_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35455 + 6
\b6.
\b.3
\b3.
\b.5
\b52
\b2.
\b. f
\bfo
\bol
\bld
\bde
\ber
\br_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35458 Default: "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f"
35459 @@ -3891,7 +3958,7 @@
35461 pad to the end of the line with character "X"
35463 - 6
\b6.
\b.3
\b3.
\b.5
\b50
\b0.
\b. f
\bfo
\bol
\bll
\blo
\bow
\bwu
\bup
\bp_
\b_t
\bto
\bo
35464 + 6
\b6.
\b.3
\b3.
\b.5
\b53
\b3.
\b. f
\bfo
\bol
\bll
\blo
\bow
\bwu
\bup
\bp_
\b_t
\bto
\bo
35468 @@ -3911,7 +3978,16 @@
35469 subscribed list will be sent to both the list and your address,
35470 resulting in two copies of the same email for you.
35472 - 6
\b6.
\b.3
\b3.
\b.5
\b51
\b1.
\b. f
\bfo
\bor
\brc
\bce
\be_
\b_n
\bna
\bam
\bme
\be
35473 + 6
\b6.
\b.3
\b3.
\b.5
\b54
\b4.
\b. f
\bfo
\bol
\bll
\blo
\bow
\bwu
\bup
\bp_
\b_t
\bto
\bo_
\b_p
\bpo
\bos
\bst
\bte
\ber
\br
35478 + If this variable is _
\bs_
\be_
\bt and the keyword "poster" is present in
35479 + _
\bF_
\bo_
\bl_
\bl_
\bo_
\bw_
\bu_
\bp_
\b-_
\bT_
\bo header, follow-up to newsgroup function is not permitted.
35480 + The message will be mailed to the submitter of the message via mail.
35482 + 6
\b6.
\b.3
\b3.
\b.5
\b55
\b5.
\b. f
\bfo
\bor
\brc
\bce
\be_
\b_n
\bna
\bam
\bme
\be
35486 @@ -3922,7 +3998,7 @@
35488 Also see the ````$record'''' variable.
35490 - 6
\b6.
\b.3
\b3.
\b.5
\b52
\b2.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
35491 + 6
\b6.
\b.3
\b3.
\b.5
\b56
\b6.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
35495 @@ -3932,7 +4008,7 @@
35496 This variable is only used, if ````$mime_forward'''' is _
\bu_
\bn_
\bs_
\be_
\bt,
35497 otherwise ````$mime_forward_decode'''' is used instead.
35499 - 6
\b6.
\b.3
\b3.
\b.5
\b53
\b3.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35500 + 6
\b6.
\b.3
\b3.
\b.5
\b57
\b7.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35503 Default: "[%a: %s]"
35504 @@ -3941,15 +4017,16 @@
35505 It uses the same format sequences as the ````$index_format''''
35508 - 6
\b6.
\b.3
\b3.
\b.5
\b54
\b4.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_q
\bqu
\buo
\bot
\bte
\be
35509 + 6
\b6.
\b.3
\b3.
\b.5
\b58
\b8.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_q
\bqu
\buo
\bot
\bte
\be
35514 When _
\bs_
\be_
\bt forwarded messages included in the main body of the message
35515 (when ````$mime_forward'''' is _
\bu_
\bn_
\bs_
\be_
\bt) will be quoted using
35516 ````$indent_string''''.
35518 - 6
\b6.
\b.3
\b3.
\b.5
\b55
\b5.
\b. f
\bfr
\bro
\bom
\bm
35519 + 6
\b6.
\b.3
\b3.
\b.5
\b59
\b9.
\b. f
\bfr
\bro
\bom
\bm
35521 Type: e-mail address
35523 @@ -3960,7 +4037,7 @@
35525 Defaults to the EMAIL environment variable's content.
35527 - 6
\b6.
\b.3
\b3.
\b.5
\b56
\b6.
\b. g
\bge
\bec
\bco
\bos
\bs_
\b_m
\bma
\bas
\bsk
\bk
35528 + 6
\b6.
\b.3
\b3.
\b.6
\b60
\b0.
\b. g
\bge
\bec
\bco
\bos
\bs_
\b_m
\bma
\bas
\bsk
\bk
35530 Type: regular expression
35532 @@ -3977,7 +4054,26 @@
35533 gecos_mask to a regular expression that will match the whole name so
35534 mutt will expand "Franklin" to "Franklin, Steve".
35536 - 6
\b6.
\b.3
\b3.
\b.5
\b57
\b7.
\b. h
\bhd
\bdr
\brs
\bs
35537 + 6
\b6.
\b.3
\b3.
\b.6
\b61
\b1.
\b. g
\bgr
\bro
\bou
\bup
\bp_
\b_i
\bin
\bnd
\bde
\bex
\bx_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35540 + Default: "%4C %M%N %5s %-45.45f %d"
35542 + This variable allows you to customize the newsgroup browser display to
35543 + your personal taste. This string is similar to ````index_format'''',
35544 + but has its own set of printf()-like sequences:
35546 + %C current newsgroup number
35547 + %d description of newsgroup (becomes from server)
35548 + %f newsgroup name
35549 + %M - if newsgroup not allowed for direct post (moderated for example)
35550 + %N N if newsgroup is new, u if unsubscribed, blank otherwise
35551 + %n number of new articles in newsgroup
35552 + %s number of unread articles in newsgroup
35553 + %>X right justify the rest of the string and pad with character "X"
35554 + %|X pad to the end of the line with character "X"
35556 + 6
\b6.
\b.3
\b3.
\b.6
\b62
\b2.
\b. h
\bhd
\bdr
\brs
\bs
35560 @@ -3987,7 +4083,7 @@
35561 a new message or replying in order to take effect. If set, the user
35562 defined header fields are added to every new message.
35564 - 6
\b6.
\b.3
\b3.
\b.5
\b58
\b8.
\b. h
\bhe
\bea
\bad
\bde
\ber
\br
35565 + 6
\b6.
\b.3
\b3.
\b.6
\b63
\b3.
\b. h
\bhe
\bea
\bad
\bde
\ber
\br
35569 @@ -3996,7 +4092,7 @@
35570 message you are replying to into the edit buffer. The ````$weed''''
35573 - 6
\b6.
\b.3
\b3.
\b.5
\b59
\b9.
\b. h
\bhe
\bel
\blp
\bp
35574 + 6
\b6.
\b.3
\b3.
\b.6
\b64
\b4.
\b. h
\bhe
\bel
\blp
\bp
35578 @@ -4010,7 +4106,7 @@
35579 Since this variable is primarily aimed at new users, neither of these
35580 should present a major problem.
35582 - 6
\b6.
\b.3
\b3.
\b.6
\b60
\b0.
\b. h
\bhi
\bid
\bdd
\bde
\ben
\bn_
\b_h
\bho
\bos
\bst
\bt
35583 + 6
\b6.
\b.3
\b3.
\b.6
\b65
\b5.
\b. h
\bhi
\bid
\bdd
\bde
\ben
\bn_
\b_h
\bho
\bos
\bst
\bt
35587 @@ -4020,7 +4116,7 @@
35588 not affect the generation of Message-IDs, and it will not lead to the
35589 cut-off of first-level domains.
35591 - 6
\b6.
\b.3
\b3.
\b.6
\b61
\b1.
\b. h
\bhi
\bid
\bde
\be_
\b_l
\bli
\bim
\bmi
\bit
\bte
\bed
\bd
35592 + 6
\b6.
\b.3
\b3.
\b.6
\b66
\b6.
\b. h
\bhi
\bid
\bde
\be_
\b_l
\bli
\bim
\bmi
\bit
\bte
\bed
\bd
35596 @@ -4028,7 +4124,7 @@
35597 When set, mutt will not show the presence of missing messages in the
35600 - 6
\b6.
\b.3
\b3.
\b.6
\b62
\b2.
\b. h
\bhi
\bid
\bde
\be_
\b_m
\bmi
\bis
\bss
\bsi
\bin
\bng
\bg
35601 + 6
\b6.
\b.3
\b3.
\b.6
\b67
\b7.
\b. h
\bhi
\bid
\bde
\be_
\b_m
\bmi
\bis
\bss
\bsi
\bin
\bng
\bg
35605 @@ -4036,7 +4132,7 @@
35606 When set, mutt will not show the presence of messages that are hidden
35607 by limiting, in the thread tree.
35609 - 6
\b6.
\b.3
\b3.
\b.6
\b63
\b3.
\b. h
\bhi
\bid
\bde
\be_
\b_t
\bto
\bop
\bp_
\b_l
\bli
\bim
\bmi
\bit
\bte
\bed
\bd
35610 + 6
\b6.
\b.3
\b3.
\b.6
\b68
\b8.
\b. h
\bhi
\bid
\bde
\be_
\b_t
\bto
\bop
\bp_
\b_l
\bli
\bim
\bmi
\bit
\bte
\bed
\bd
35614 @@ -4045,7 +4141,7 @@
35615 top of threads in the thread tree. Note that when ``$hide_limited''
35616 is set, this option will have no effect.
35618 - 6
\b6.
\b.3
\b3.
\b.6
\b64
\b4.
\b. h
\bhi
\bid
\bde
\be_
\b_t
\bto
\bop
\bp_
\b_m
\bmi
\bis
\bss
\bsi
\bin
\bng
\bg
35619 + 6
\b6.
\b.3
\b3.
\b.6
\b69
\b9.
\b. h
\bhi
\bid
\bde
\be_
\b_t
\bto
\bop
\bp_
\b_m
\bmi
\bis
\bss
\bsi
\bin
\bng
\bg
35623 @@ -4054,7 +4150,7 @@
35624 by limiting, at the top of threads in the thread tree.Note that when
35625 ``$hide_missing'' is set, this option will have no effect.
35627 - 6
\b6.
\b.3
\b3.
\b.6
\b65
\b5.
\b. h
\bhi
\bis
\bst
\bto
\bor
\bry
\by
35628 + 6
\b6.
\b.3
\b3.
\b.7
\b70
\b0.
\b. h
\bhi
\bis
\bst
\bto
\bor
\bry
\by
35632 @@ -4063,7 +4159,7 @@
35633 the string history buffer. The buffer is cleared each time the
35636 - 6
\b6.
\b.3
\b3.
\b.6
\b66
\b6.
\b. h
\bho
\bon
\bno
\bor
\br_
\b_f
\bfo
\bol
\bll
\blo
\bow
\bwu
\bup
\bp_
\b_t
\bto
\bo
35637 + 6
\b6.
\b.3
\b3.
\b.7
\b71
\b1.
\b. h
\bho
\bon
\bno
\bor
\br_
\b_f
\bfo
\bol
\bll
\blo
\bow
\bwu
\bup
\bp_
\b_t
\bto
\bo
35641 @@ -4071,7 +4167,7 @@
35642 This variable controls whether or not a Mail-Followup-To header is
35643 honored when group-replying to a message.
35645 - 6
\b6.
\b.3
\b3.
\b.6
\b67
\b7.
\b. h
\bho
\bos
\bst
\btn
\bna
\bam
\bme
\be
35646 + 6
\b6.
\b.3
\b3.
\b.7
\b72
\b2.
\b. h
\bho
\bos
\bst
\btn
\bna
\bam
\bme
\be
35650 @@ -4080,7 +4176,7 @@
35651 addresses. This overrides the compile time definition obtained from
35654 - 6
\b6.
\b.3
\b3.
\b.6
\b68
\b8.
\b. i
\big
\bgn
\bno
\bor
\bre
\be_
\b_l
\bli
\bis
\bst
\bt_
\b_r
\bre
\bep
\bpl
\bly
\by_
\b_t
\bto
\bo
35655 + 6
\b6.
\b.3
\b3.
\b.7
\b73
\b3.
\b. i
\big
\bgn
\bno
\bor
\bre
\be_
\b_l
\bli
\bis
\bst
\bt_
\b_r
\bre
\bep
\bpl
\bly
\by_
\b_t
\bto
\bo
35659 @@ -4093,7 +4189,7 @@
35660 list when this option is set, use the _
\bl_
\bi_
\bs_
\bt_
\b-_
\br_
\be_
\bp_
\bl_
\by function; _
\bg_
\br_
\bo_
\bu_
\bp_
\b-_
\br_
\be_
\bp_
\bl_
\by
35661 will reply to both the sender and the list.
35663 - 6
\b6.
\b.3
\b3.
\b.6
\b69
\b9.
\b. i
\bim
\bma
\bap
\bp_
\b_a
\bau
\but
\bth
\bhe
\ben
\bnt
\bti
\bic
\bca
\bat
\bto
\bor
\brs
\bs
35664 + 6
\b6.
\b.3
\b3.
\b.7
\b74
\b4.
\b. i
\bim
\bma
\bap
\bp_
\b_a
\bau
\but
\bth
\bhe
\ben
\bnt
\bti
\bic
\bca
\bat
\bto
\bor
\brs
\bs
35668 @@ -4111,7 +4207,7 @@
35669 previous methods are unavailable. If a method is available but
35670 authentication fails, mutt will not connect to the IMAP server.
35672 - 6
\b6.
\b.3
\b3.
\b.7
\b70
\b0.
\b. i
\bim
\bma
\bap
\bp_
\b_d
\bde
\bel
\bli
\bim
\bm_
\b_c
\bch
\bha
\bar
\brs
\bs
35673 + 6
\b6.
\b.3
\b3.
\b.7
\b75
\b5.
\b. i
\bim
\bma
\bap
\bp_
\b_d
\bde
\bel
\bli
\bim
\bm_
\b_c
\bch
\bha
\bar
\brs
\bs
35677 @@ -4120,7 +4216,7 @@
35678 folder separators for displaying IMAP paths. In particular it helps in
35679 using the '=' shortcut for your _
\bf_
\bo_
\bl_
\bd_
\be_
\br variable.
35681 - 6
\b6.
\b.3
\b3.
\b.7
\b71
\b1.
\b. i
\bim
\bma
\bap
\bp_
\b_f
\bfo
\bor
\brc
\bce
\be_
\b_s
\bss
\bsl
\bl
35682 + 6
\b6.
\b.3
\b3.
\b.7
\b76
\b6.
\b. i
\bim
\bma
\bap
\bp_
\b_f
\bfo
\bor
\brc
\bce
\be_
\b_s
\bss
\bsl
\bl
35686 @@ -4128,7 +4224,7 @@
35687 If this variable is set, Mutt will always use SSL when connecting to
35690 - 6
\b6.
\b.3
\b3.
\b.7
\b72
\b2.
\b. i
\bim
\bma
\bap
\bp_
\b_h
\bho
\bom
\bme
\be_
\b_n
\bna
\bam
\bme
\bes
\bsp
\bpa
\bac
\bce
\be
35691 + 6
\b6.
\b.3
\b3.
\b.7
\b77
\b7.
\b. i
\bim
\bma
\bap
\bp_
\b_h
\bho
\bom
\bme
\be_
\b_n
\bna
\bam
\bme
\bes
\bsp
\bpa
\bac
\bce
\be
35695 @@ -4137,7 +4233,7 @@
35696 the IMAP browser. If you see something else, you may set this variable
35697 to the IMAP path to your folders.
35699 - 6
\b6.
\b.3
\b3.
\b.7
\b73
\b3.
\b. i
\bim
\bma
\bap
\bp_
\b_k
\bke
\bee
\bep
\bpa
\bal
\bli
\biv
\bve
\be
35700 + 6
\b6.
\b.3
\b3.
\b.7
\b78
\b8.
\b. i
\bim
\bma
\bap
\bp_
\b_k
\bke
\bee
\bep
\bpa
\bal
\bli
\biv
\bve
\be
35704 @@ -4151,7 +4247,7 @@
35705 find yourself getting disconnected from your IMAP server due to
35708 - 6
\b6.
\b.3
\b3.
\b.7
\b74
\b4.
\b. i
\bim
\bma
\bap
\bp_
\b_l
\bli
\bis
\bst
\bt_
\b_s
\bsu
\bub
\bbs
\bsc
\bcr
\bri
\bib
\bbe
\bed
\bd
35709 + 6
\b6.
\b.3
\b3.
\b.7
\b79
\b9.
\b. i
\bim
\bma
\bap
\bp_
\b_l
\bli
\bis
\bst
\bt_
\b_s
\bsu
\bub
\bbs
\bsc
\bcr
\bri
\bib
\bbe
\bed
\bd
35713 @@ -4160,7 +4256,7 @@
35714 only subscribed folders or all folders. This can be toggled in the
35715 IMAP browser with the _
\bt_
\bo_
\bg_
\bg_
\bl_
\be_
\b-_
\bs_
\bu_
\bb_
\bs_
\bc_
\br_
\bi_
\bb_
\be_
\bd command.
35717 - 6
\b6.
\b.3
\b3.
\b.7
\b75
\b5.
\b. i
\bim
\bma
\bap
\bp_
\b_p
\bpa
\bas
\bss
\bs
35718 + 6
\b6.
\b.3
\b3.
\b.8
\b80
\b0.
\b. i
\bim
\bma
\bap
\bp_
\b_p
\bpa
\bas
\bss
\bs
35722 @@ -4171,7 +4267,7 @@
35723 secure machine, because the superuser can read your muttrc even if you
35724 are the only one who can read the file.
35726 - 6
\b6.
\b.3
\b3.
\b.7
\b76
\b6.
\b. i
\bim
\bma
\bap
\bp_
\b_p
\bpa
\bas
\bss
\bsi
\biv
\bve
\be
35727 + 6
\b6.
\b.3
\b3.
\b.8
\b81
\b1.
\b. i
\bim
\bma
\bap
\bp_
\b_p
\bpa
\bas
\bss
\bsi
\biv
\bve
\be
35731 @@ -4182,7 +4278,7 @@
35732 user/password pairs on mutt invocation, or if opening the connection
35735 - 6
\b6.
\b.3
\b3.
\b.7
\b77
\b7.
\b. i
\bim
\bma
\bap
\bp_
\b_p
\bpe
\bee
\bek
\bk
35736 + 6
\b6.
\b.3
\b3.
\b.8
\b82
\b2.
\b. i
\bim
\bma
\bap
\bp_
\b_p
\bpe
\bee
\bek
\bk
35740 @@ -4192,7 +4288,7 @@
35741 but can make closing an IMAP folder somewhat slower. This option
35742 exists to appease spead freaks.
35744 - 6
\b6.
\b.3
\b3.
\b.7
\b78
\b8.
\b. i
\bim
\bma
\bap
\bp_
\b_s
\bse
\ber
\brv
\bve
\ber
\brn
\bno
\boi
\bis
\bse
\be
35745 + 6
\b6.
\b.3
\b3.
\b.8
\b83
\b3.
\b. i
\bim
\bma
\bap
\bp_
\b_s
\bse
\ber
\brv
\bve
\ber
\brn
\bno
\boi
\bis
\bse
\be
35749 @@ -4202,7 +4298,7 @@
35750 due to configuration problems on the server which are out of the
35751 users' hands, you may wish to suppress them at some point.
35753 - 6
\b6.
\b.3
\b3.
\b.7
\b79
\b9.
\b. i
\bim
\bma
\bap
\bp_
\b_u
\bus
\bse
\ber
\br
35754 + 6
\b6.
\b.3
\b3.
\b.8
\b84
\b4.
\b. i
\bim
\bma
\bap
\bp_
\b_u
\bus
\bse
\ber
\br
35758 @@ -4211,7 +4307,7 @@
35760 This variable defaults to your user name on the local machine.
35762 - 6
\b6.
\b.3
\b3.
\b.8
\b80
\b0.
\b. i
\bim
\bmp
\bpl
\bli
\bic
\bci
\bit
\bt_
\b_a
\bau
\but
\bto
\bov
\bvi
\bie
\bew
\bw
35763 + 6
\b6.
\b.3
\b3.
\b.8
\b85
\b5.
\b. i
\bim
\bmp
\bpl
\bli
\bic
\bci
\bit
\bt_
\b_a
\bau
\but
\bto
\bov
\bvi
\bie
\bew
\bw
35767 @@ -4222,7 +4318,7 @@
35768 the viewer defined in that entry to convert the body part to text
35771 - 6
\b6.
\b.3
\b3.
\b.8
\b81
\b1.
\b. i
\bin
\bnc
\bcl
\blu
\bud
\bde
\be
35772 + 6
\b6.
\b.3
\b3.
\b.8
\b86
\b6.
\b. i
\bin
\bnc
\bcl
\blu
\bud
\bde
\be
35776 @@ -4230,7 +4326,7 @@
35777 Controls whether or not a copy of the message(s) you are replying to
35778 is included in your reply.
35780 - 6
\b6.
\b.3
\b3.
\b.8
\b82
\b2.
\b. i
\bin
\bnd
\bde
\ben
\bnt
\bt_
\b_s
\bst
\btr
\bri
\bin
\bng
\bg
35781 + 6
\b6.
\b.3
\b3.
\b.8
\b87
\b7.
\b. i
\bin
\bnd
\bde
\ben
\bnt
\bt_
\b_s
\bst
\btr
\bri
\bin
\bng
\bg
35785 @@ -4239,7 +4335,7 @@
35786 message to which you are replying. You are strongly encouraged not to
35787 change this value, as it tends to agitate the more fanatical netizens.
35789 - 6
\b6.
\b.3
\b3.
\b.8
\b83
\b3.
\b. i
\bin
\bnd
\bde
\bex
\bx_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35790 + 6
\b6.
\b.3
\b3.
\b.8
\b88
\b8.
\b. i
\bin
\bnd
\bde
\bex
\bx_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
35793 Default: "%4C %Z %{%b %d} %-15.15L (%4l) %s"
35794 @@ -4276,6 +4372,8 @@
35796 %
\b%F
\bF author name, or recipient name if the message is from you
35798 + %
\b%g
\bg newsgroup name (if compiled with nntp support)
35800 %
\b%i
\bi message-id of the current message
35802 %
\b%l
\bl number of lines in the message
35803 @@ -4308,6 +4406,8 @@
35804 %
\b%v
\bv first name of the author, or the recipient if the message is
35807 + %
\b%W
\bW name of organization of author (`organization:' field)
35809 %
\b%y
\by `x-label:' field, if present
35811 %
\b%Y
\bY `x-label' field, if present, and (1) not at part of a thread
35812 @@ -4343,14 +4443,28 @@
35814 See also: ````$to_chars''''.
35816 - 6
\b6.
\b.3
\b3.
\b.8
\b84
\b4.
\b. i
\bis
\bsp
\bpe
\bel
\bll
\bl
35817 + 6
\b6.
\b.3
\b3.
\b.8
\b89
\b9.
\b. i
\bin
\bne
\bew
\bws
\bs
35822 + If set, specifies the program and arguments used to deliver news
35823 + posted by Mutt. Otherwise, mutt posts article using current
35824 + connection to news server. The following printf-style sequence is
35827 + %s newsserver name
35829 + Example: set inews="/usr/local/bin/inews -hS"
35831 + 6
\b6.
\b.3
\b3.
\b.9
\b90
\b0.
\b. i
\bis
\bsp
\bpe
\bel
\bll
\bl
35834 Default: "/usr/bin/ispell"
35836 How to invoke ispell (GNU's spell-checking software).
35838 - 6
\b6.
\b.3
\b3.
\b.8
\b85
\b5.
\b. k
\bke
\bee
\bep
\bp_
\b_f
\bfl
\bla
\bag
\bgg
\bge
\bed
\bd
35839 + 6
\b6.
\b.3
\b3.
\b.9
\b91
\b1.
\b. k
\bke
\bee
\bep
\bp_
\b_f
\bfl
\bla
\bag
\bgg
\bge
\bed
\bd
35843 @@ -4359,14 +4473,15 @@
35844 spool mailbox to your ````$mbox'''' mailbox, or as a result of a
35845 ````mbox-hook'''' command.
35847 - 6
\b6.
\b.3
\b3.
\b.8
\b86
\b6.
\b. l
\blo
\boc
\bca
\bal
\ble
\be
35848 + 6
\b6.
\b.3
\b3.
\b.9
\b92
\b2.
\b. l
\blo
\boc
\bca
\bal
\ble
\be
35853 The locale used by _
\bs_
\bt_
\br_
\bf_
\bt_
\bi_
\bm_
\be_
\b(_
\b3_
\b) to format dates. Legal values are the
35854 strings your system accepts for the locale variable _
\bL_
\bC_
\b__
\bT_
\bI_
\bM_
\bE.
35855 - 6
\b6.
\b.3
\b3.
\b.8
\b87
\b7.
\b. m
\bma
\bai
\bil
\bl_
\b_c
\bch
\bhe
\bec
\bck
\bk
35857 + 6
\b6.
\b.3
\b3.
\b.9
\b93
\b3.
\b. m
\bma
\bai
\bil
\bl_
\b_c
\bch
\bhe
\bec
\bck
\bk
35861 @@ -4374,7 +4489,7 @@
35862 This variable configures how often (in seconds) mutt should look for
35865 - 6
\b6.
\b.3
\b3.
\b.8
\b88
\b8.
\b. m
\bma
\bai
\bil
\blc
\bca
\bap
\bp_
\b_p
\bpa
\bat
\bth
\bh
35866 + 6
\b6.
\b.3
\b3.
\b.9
\b94
\b4.
\b. m
\bma
\bai
\bil
\blc
\bca
\bap
\bp_
\b_p
\bpa
\bat
\bth
\bh
35870 @@ -4382,7 +4497,7 @@
35871 This variable specifies which files to consult when attempting to
35872 display MIME bodies not directly supported by Mutt.
35874 - 6
\b6.
\b.3
\b3.
\b.8
\b89
\b9.
\b. m
\bma
\bai
\bil
\blc
\bca
\bap
\bp_
\b_s
\bsa
\ban
\bni
\bit
\bti
\biz
\bze
\be
35875 + 6
\b6.
\b.3
\b3.
\b.9
\b95
\b5.
\b. m
\bma
\bai
\bil
\blc
\bca
\bap
\bp_
\b_s
\bsa
\ban
\bni
\bit
\bti
\biz
\bze
\be
35879 @@ -4394,7 +4509,7 @@
35880 D
\bDO
\bON
\bN'
\b'T
\bT C
\bCH
\bHA
\bAN
\bNG
\bGE
\bE T
\bTH
\bHI
\bIS
\bS S
\bSE
\bET
\bTT
\bTI
\bIN
\bNG
\bG U
\bUN
\bNL
\bLE
\bES
\bSS
\bS Y
\bYO
\bOU
\bU A
\bAR
\bRE
\bE R
\bRE
\bEA
\bAL
\bLL
\bLY
\bY S
\bSU
\bUR
\bRE
\bE W
\bWH
\bHA
\bAT
\bT Y
\bYO
\bOU
\bU A
\bAR
\bRE
\bE
35881 D
\bDO
\bOI
\bIN
\bNG
\bG!
\b!
35883 - 6
\b6.
\b.3
\b3.
\b.9
\b90
\b0.
\b. m
\bma
\bai
\bil
\bld
\bdi
\bir
\br_
\b_t
\btr
\bra
\bas
\bsh
\bh
35884 + 6
\b6.
\b.3
\b3.
\b.9
\b96
\b6.
\b. m
\bma
\bai
\bil
\bld
\bdi
\bir
\br_
\b_t
\btr
\bra
\bas
\bsh
\bh
35888 @@ -4404,7 +4519,7 @@
35889 maildir-style mailboxes. Setting it will have no effect on other
35892 - 6
\b6.
\b.3
\b3.
\b.9
\b91
\b1.
\b. m
\bma
\bar
\brk
\bk_
\b_o
\bol
\bld
\bd
35893 + 6
\b6.
\b.3
\b3.
\b.9
\b97
\b7.
\b. m
\bma
\bar
\brk
\bk_
\b_o
\bol
\bld
\bd
35897 @@ -4417,7 +4532,7 @@
35898 make Mutt treat all unread messages as new only, you can unset this
35901 - 6
\b6.
\b.3
\b3.
\b.9
\b92
\b2.
\b. m
\bma
\bar
\brk
\bke
\ber
\brs
\bs
35902 + 6
\b6.
\b.3
\b3.
\b.9
\b98
\b8.
\b. m
\bma
\bar
\brk
\bke
\ber
\brs
\bs
35906 @@ -4426,7 +4541,7 @@
35907 ``+'' marker is displayed at the beginning of wrapped lines. Also see
35908 the ````$smart_wrap'''' variable.
35910 - 6
\b6.
\b.3
\b3.
\b.9
\b93
\b3.
\b. m
\bma
\bas
\bsk
\bk
35911 + 6
\b6.
\b.3
\b3.
\b.9
\b99
\b9.
\b. m
\bma
\bas
\bsk
\bk
35913 Type: regular expression
35914 Default: "!^\.[^.]"
35915 @@ -4435,15 +4550,14 @@
35916 the _
\bn_
\bo_
\bt operator ``!''. Only files whose names match this mask will
35917 be shown. The match is always case-sensitive.
35919 - 6
\b6.
\b.3
\b3.
\b.9
\b94
\b4.
\b. m
\bmb
\bbo
\box
\bx
35920 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b00
\b0.
\b. m
\bmb
\bbo
\box
\bx
35925 This specifies the folder into which read mail in your
35926 ````$spoolfile'''' folder will be appended.
35928 - 6
\b6.
\b.3
\b3.
\b.9
\b95
\b5.
\b. m
\bmb
\bbo
\box
\bx_
\b_t
\bty
\byp
\bpe
\be
35929 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b01
\b1.
\b. m
\bmb
\bbo
\box
\bx_
\b_t
\bty
\byp
\bpe
\be
35933 @@ -4451,7 +4565,7 @@
35934 The default mailbox type used when creating new folders. May be any of
35935 mbox, MMDF, MH and Maildir.
35937 - 6
\b6.
\b.3
\b3.
\b.9
\b96
\b6.
\b. m
\bme
\bet
\bto
\boo
\bo
35938 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b02
\b2.
\b. m
\bme
\bet
\bto
\boo
\bo
35942 @@ -4459,7 +4573,7 @@
35943 If unset, Mutt will remove your address from the list of recipients
35944 when replying to a message.
35946 - 6
\b6.
\b.3
\b3.
\b.9
\b97
\b7.
\b. m
\bme
\ben
\bnu
\bu_
\b_s
\bsc
\bcr
\bro
\bol
\bll
\bl
35947 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b03
\b3.
\b. m
\bme
\ben
\bnu
\bu_
\b_s
\bsc
\bcr
\bro
\bol
\bll
\bl
35951 @@ -4469,7 +4583,7 @@
35952 the next or previous page of the menu is displayed (useful for slow
35953 links to avoid many redraws).
35955 - 6
\b6.
\b.3
\b3.
\b.9
\b98
\b8.
\b. m
\bme
\bet
\bta
\ba_
\b_k
\bke
\bey
\by
35956 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b04
\b4.
\b. m
\bme
\bet
\bta
\ba_
\b_k
\bke
\bey
\by
35960 @@ -4482,7 +4596,7 @@
35961 high bit from ``0xf4'' is ``0x74'', which is the ASCII character
35964 - 6
\b6.
\b.3
\b3.
\b.9
\b99
\b9.
\b. m
\bmh
\bh_
\b_p
\bpu
\bur
\brg
\bge
\be
35965 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b05
\b5.
\b. m
\bmh
\bh_
\b_p
\bpu
\bur
\brg
\bge
\be
35969 @@ -4491,31 +4605,32 @@
35970 to _
\b,_
\b<_
\bo_
\bl_
\bd _
\bf_
\bi_
\bl_
\be _
\bn_
\ba_
\bm_
\be_
\b> in mh folders instead of really deleting them. If
35971 the variable is set, the message files will simply be deleted.
35973 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b00
\b0.
\b. m
\bmh
\bh_
\b_s
\bse
\beq
\bq_
\b_f
\bfl
\bla
\bag
\bgg
\bge
\bed
\bd
35974 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b06
\b6.
\b. m
\bmh
\bh_
\b_s
\bse
\beq
\bq_
\b_f
\bfl
\bla
\bag
\bgg
\bge
\bed
\bd
35979 The name of the MH sequence used for flagged messages.
35981 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b01
\b1.
\b. m
\bmh
\bh_
\b_s
\bse
\beq
\bq_
\b_r
\bre
\bep
\bpl
\bli
\bie
\bed
\bd
35982 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b07
\b7.
\b. m
\bmh
\bh_
\b_s
\bse
\beq
\bq_
\b_r
\bre
\bep
\bpl
\bli
\bie
\bed
\bd
35987 The name of the MH sequence used to tag replied messages.
35989 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b02
\b2.
\b. m
\bmh
\bh_
\b_s
\bse
\beq
\bq_
\b_u
\bun
\bns
\bse
\bee
\ben
\bn
35990 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b08
\b8.
\b. m
\bmh
\bh_
\b_s
\bse
\beq
\bq_
\b_u
\bun
\bns
\bse
\bee
\ben
\bn
35995 The name of the MH sequence used for unseen messages.
35997 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b03
\b3.
\b. m
\bmi
\bim
\bme
\be_
\b_f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd
35998 + 6
\b6.
\b.3
\b3.
\b.1
\b10
\b09
\b9.
\b. m
\bmi
\bim
\bme
\be_
\b_f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd
36003 When set, the message you are forwarding will be attached as a
36004 separate MIME part instead of included in the main body of the
36005 message. This is useful for forwarding MIME messages so the receiver
36006 @@ -4525,7 +4640,7 @@
36008 Also see ````$forward_decode'''' and ````$mime_forward_decode''''.
36010 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b04
\b4.
\b. m
\bmi
\bim
\bme
\be_
\b_f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
36011 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b10
\b0.
\b. m
\bmi
\bim
\bme
\be_
\b_f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
36015 @@ -4534,7 +4649,7 @@
36016 forwarding a message while ````$mime_forward'''' is _
\bs_
\be_
\bt. Otherwise
36017 ````$forward_decode'''' is used instead.
36019 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b05
\b5.
\b. m
\bmi
\bim
\bme
\be_
\b_f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_r
\bre
\bes
\bst
\bt
36020 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b11
\b1.
\b. m
\bmi
\bim
\bme
\be_
\b_f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_r
\bre
\bes
\bst
\bt
36024 @@ -4544,7 +4659,16 @@
36025 manner will be attached to the newly composed message if this option
36028 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b06
\b6.
\b. m
\bmi
\bix
\bx_
\b_e
\ben
\bnt
\btr
\bry
\by_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36029 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b12
\b2.
\b. m
\bmi
\bim
\bme
\be_
\b_s
\bsu
\bub
\bbj
\bje
\bec
\bct
\bt
36034 + If _
\bu_
\bn_
\bs_
\be_
\bt, 8-bit ``subject:'' line in article header will not be
36035 + encoded according to RFC2047 to base64. This is useful when message
36036 + is Usenet article, because MIME for news is nonstandard feature.
36038 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b13
\b3.
\b. m
\bmi
\bix
\bx_
\b_e
\ben
\bnt
\btr
\bry
\by_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36041 Default: "%4n %c %-16s %a"
36042 @@ -4561,7 +4685,7 @@
36044 %
\b%a
\ba The remailer's e-mail address.
36046 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b07
\b7.
\b. m
\bmi
\bix
\bxm
\bma
\bas
\bst
\bte
\ber
\br
36047 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b14
\b4.
\b. m
\bmi
\bix
\bxm
\bma
\bas
\bst
\bte
\ber
\br
36050 Default: "mixmaster"
36051 @@ -4571,7 +4695,7 @@
36052 of known remailers, and to finally send a message through the
36055 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b08
\b8.
\b. m
\bmo
\bov
\bve
\be
36056 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b15
\b5.
\b. m
\bmo
\bov
\bve
\be
36060 @@ -4580,7 +4704,7 @@
36061 from your spool mailbox to your ````$mbox'''' mailbox, or as a result
36062 of a ````mbox-hook'''' command.
36064 - 6
\b6.
\b.3
\b3.
\b.1
\b10
\b09
\b9.
\b. m
\bme
\bes
\bss
\bsa
\bag
\bge
\be_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36065 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b16
\b6.
\b. m
\bme
\bes
\bss
\bsa
\bag
\bge
\be_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36069 @@ -4589,7 +4713,92 @@
36070 attachments of type message/rfc822. For a full listing of defined
36071 escape sequences see the section on ````$index_format''''.
36073 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b10
\b0.
\b. p
\bpa
\bag
\bge
\ber
\br
36074 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b17
\b7.
\b. n
\bne
\bew
\bws
\bs_
\b_c
\bca
\bac
\bch
\bhe
\be_
\b_d
\bdi
\bir
\br
36077 + Default: "~/.mutt"
36079 + This variable pointing to directory where Mutt will save cached news
36080 + articles headers in. If _
\bu_
\bn_
\bs_
\be_
\bt, headers will not be saved at all and
36081 + will be reloaded each time when you enter to newsgroup.
36083 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b18
\b8.
\b. n
\bne
\bew
\bws
\bs_
\b_s
\bse
\ber
\brv
\bve
\ber
\br
36088 + This variable specifies domain name or address of NNTP server. It
36089 + defaults to the newsserver specified in the environment variable
36090 + $NNTPSERVER or contained in the file /etc/nntpserver. You can also
36091 + specify username and an alternative port for each newsserver, ie:
36093 + [nntp[s]://][username[:password]@]newsserver[:port]
36095 + 6
\b6.
\b.3
\b3.
\b.1
\b11
\b19
\b9.
\b. n
\bne
\bew
\bws
\bsr
\brc
\bc
36098 + Default: "~/.newsrc"
36100 + The file, containing info about subscribed newsgroups - names and
36101 + indexes of read articles. The following printf-style sequence is
36104 + %s newsserver name
36106 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b20
\b0.
\b. n
\bnn
\bnt
\btp
\bp_
\b_c
\bco
\bon
\bnt
\bte
\bex
\bxt
\bt
36111 + This variable defines number of articles which will be in index when
36112 + newsgroup entered. If active newsgroup have more articles than this
36113 + number, oldest articles will be ignored. Also controls how many
36114 + articles headers will be saved in cache when you quit newsgroup.
36116 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b21
\b1.
\b. n
\bnn
\bnt
\btp
\bp_
\b_l
\blo
\boa
\bad
\bd_
\b_d
\bde
\bes
\bsc
\bcr
\bri
\bip
\bpt
\bti
\bio
\bon
\bn
36121 + This variable controls whether or not descriptions for each newsgroup
36122 + must be loaded when newsgroup is added to list (first time list
36123 + loading or new newsgroup adding).
36125 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b22
\b2.
\b. n
\bnn
\bnt
\btp
\bp_
\b_u
\bus
\bse
\ber
\br
36130 + Your login name on the NNTP server. If _
\bu_
\bn_
\bs_
\be_
\bt and NNTP server requires
36131 + authentification, Mutt will prompt you for your account name when you
36132 + connect to newsserver.
36134 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b23
\b3.
\b. n
\bnn
\bnt
\btp
\bp_
\b_p
\bpa
\bas
\bss
\bs
36139 + Your password for NNTP account.
36141 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b24
\b4.
\b. n
\bnn
\bnt
\btp
\bp_
\b_p
\bpo
\bol
\bll
\bl
36146 + The time in seconds until any operations on newsgroup except post new
36147 + article will cause recheck for new news. If set to 0, Mutt will
36148 + recheck newsgroup on each operation in index (stepping, read article,
36151 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b25
\b5.
\b. n
\bnn
\bnt
\btp
\bp_
\b_r
\bre
\bec
\bco
\bon
\bnn
\bne
\bec
\bct
\bt
36156 + Controls whether or not Mutt will try to reconnect to newsserver when
36159 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b26
\b6.
\b. p
\bpa
\bag
\bge
\ber
\br
36163 @@ -4604,7 +4813,7 @@
36164 directly from the pager, and screen resizes cause lines longer than
36165 the screen width to be badly formatted in the help menu.
36167 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b11
\b1.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_c
\bco
\bon
\bnt
\bte
\bex
\bxt
\bt
36168 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b27
\b7.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_c
\bco
\bon
\bnt
\bte
\bex
\bxt
\bt
36172 @@ -4614,7 +4823,7 @@
36173 default, Mutt will display the line after the last one on the screen
36174 at the top of the next page (0 lines of context).
36176 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b12
\b2.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36177 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b28
\b8.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36180 Default: "-%Z- %C/%m: %-20.20n %s"
36181 @@ -4624,7 +4833,7 @@
36182 pager. The valid sequences are listed in the ````$index_format''''
36185 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b13
\b3.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_i
\bin
\bnd
\bde
\bex
\bx_
\b_l
\bli
\bin
\bne
\bes
\bs
36186 + 6
\b6.
\b.3
\b3.
\b.1
\b12
\b29
\b9.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_i
\bin
\bnd
\bde
\bex
\bx_
\b_l
\bli
\bin
\bne
\bes
\bs
36190 @@ -4641,7 +4850,7 @@
36191 less than _
\bp_
\ba_
\bg_
\be_
\br_
\b__
\bi_
\bn_
\bd_
\be_
\bx_
\b__
\bl_
\bi_
\bn_
\be_
\bs, then the index will only use as many
36194 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b14
\b4.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_s
\bst
\bto
\bop
\bp
36195 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b30
\b0.
\b. p
\bpa
\bag
\bge
\ber
\br_
\b_s
\bst
\bto
\bop
\bp
36199 @@ -4649,7 +4858,7 @@
36200 When set, the internal-pager will n
\bno
\bot
\bt move to the next message when
36201 you are at the end of a message and invoke the _
\bn_
\be_
\bx_
\bt_
\b-_
\bp_
\ba_
\bg_
\be function.
36203 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b15
\b5.
\b. p
\bpg
\bgp
\bp_
\b_a
\bau
\but
\bto
\bos
\bsi
\big
\bgn
\bn
36204 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b31
\b1.
\b. p
\bpg
\bgp
\bp_
\b_a
\bau
\but
\bto
\bos
\bsi
\big
\bgn
\bn
36208 @@ -4658,7 +4867,7 @@
36209 sign outgoing messages. This can be overridden by use of the _
\bp_
\bg_
\bp_
\b-
36210 _
\bm_
\be_
\bn_
\bu, when signing is not required or encryption is requested as well.
36212 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b16
\b6.
\b. p
\bpg
\bgp
\bp_
\b_a
\bau
\but
\bto
\boe
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt
36213 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b32
\b2.
\b. p
\bpg
\bgp
\bp_
\b_a
\bau
\but
\bto
\boe
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt
36217 @@ -4668,7 +4877,7 @@
36218 to the _
\bs_
\be_
\bn_
\bd_
\b-_
\bh_
\bo_
\bo_
\bk command. It can be overridden by use of the _
\bp_
\bg_
\bp_
\b-
36219 _
\bm_
\be_
\bn_
\bu, when encryption is not required or signing is requested as well.
36221 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b17
\b7.
\b. p
\bpg
\bgp
\bp_
\b_i
\big
\bgn
\bno
\bor
\bre
\be_
\b_s
\bsu
\bub
\bbk
\bke
\bey
\bys
\bs
36222 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b33
\b3.
\b. p
\bpg
\bgp
\bp_
\b_i
\big
\bgn
\bno
\bor
\bre
\be_
\b_s
\bsu
\bub
\bbk
\bke
\bey
\bys
\bs
36226 @@ -4677,7 +4886,7 @@
36227 Instead, the principal key will inherit the subkeys' capabilities.
36228 Unset this if you want to play interesting key selection games.
36230 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b18
\b8.
\b. p
\bpg
\bgp
\bp_
\b_e
\ben
\bnt
\btr
\bry
\by_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36231 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b34
\b4.
\b. p
\bpg
\bgp
\bp_
\b_e
\ben
\bnt
\btr
\bry
\by_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
36234 Default: "%4n %t%f %4l/0x%k %-4a %2c %u"
36235 @@ -4705,7 +4914,7 @@
36236 %
\b%[
\b[<
\b<s
\bs>
\b>]
\b]
36237 date of the key where <s> is an strftime(3) expression
36239 - 6
\b6.
\b.3
\b3.
\b.1
\b11
\b19
\b9.
\b. p
\bpg
\bgp
\bp_
\b_g
\bgo
\boo
\bod
\bd_
\b_s
\bsi
\big
\bgn
\bn
36240 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b35
\b5.
\b. p
\bpg
\bgp
\bp_
\b_g
\bgo
\boo
\bod
\bd_
\b_s
\bsi
\big
\bgn
\bn
36242 Type: regular expression
36244 @@ -4715,14 +4924,14 @@
36245 contains the text. Use this variable if the exit code from the command
36246 is 0 even for bad signatures.
36248 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b20
\b0.
\b. p
\bpg
\bgp
\bp_
\b_l
\blo
\bon
\bng
\bg_
\b_i
\bid
\bds
\bs
36249 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b36
\b6.
\b. p
\bpg
\bgp
\bp_
\b_l
\blo
\bon
\bng
\bg_
\b_i
\bid
\bds
\bs
36254 If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs.
36256 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b21
\b1.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bep
\bpl
\bly
\bye
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt
36257 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b37
\b7.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bep
\bpl
\bly
\bye
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt
36261 @@ -4730,7 +4939,7 @@
36262 If set, automatically PGP encrypt replies to messages which are
36265 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b22
\b2.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bep
\bpl
\bly
\bys
\bsi
\big
\bgn
\bn
36266 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b38
\b8.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bep
\bpl
\bly
\bys
\bsi
\big
\bgn
\bn
36270 @@ -4739,7 +4948,7 @@
36272 N
\bNo
\bot
\bte
\be:
\b: this does not work on messages that are encrypted a
\ban
\bnd
\bd signed!
36274 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b23
\b3.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bep
\bpl
\bly
\bys
\bsi
\big
\bgn
\bne
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bte
\bed
\bd
36275 + 6
\b6.
\b.3
\b3.
\b.1
\b13
\b39
\b9.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bep
\bpl
\bly
\bys
\bsi
\big
\bgn
\bne
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bte
\bed
\bd
36279 @@ -4751,7 +4960,7 @@
36280 noted in ````$pgp_replysign'''', that mutt is not able to find out
36281 whether an encrypted message is also signed.
36283 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b24
\b4.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bet
\bta
\bai
\bin
\bna
\bab
\bbl
\ble
\be_
\b_s
\bsi
\big
\bgs
\bs
36284 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b40
\b0.
\b. p
\bpg
\bgp
\bp_
\b_r
\bre
\bet
\bta
\bai
\bin
\bna
\bab
\bbl
\ble
\be_
\b_s
\bsi
\big
\bgs
\bs
36288 @@ -4763,7 +4972,7 @@
36289 lists, where the outer layer (multipart/encrypted) can be easily
36290 removed, while the inner multipart/signed part is retained.
36292 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b25
\b5.
\b. p
\bpg
\bgp
\bp_
\b_s
\bsh
\bho
\bow
\bw_
\b_u
\bun
\bnu
\bus
\bsa
\bab
\bbl
\ble
\be
36293 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b41
\b1.
\b. p
\bpg
\bgp
\bp_
\b_s
\bsh
\bho
\bow
\bw_
\b_u
\bun
\bnu
\bus
\bsa
\bab
\bbl
\ble
\be
36297 @@ -4772,7 +4981,7 @@
36298 menu. This includes keys which have been revoked, have expired, or
36299 have been marked as ``disabled'' by the user.
36301 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b26
\b6.
\b. p
\bpg
\bgp
\bp_
\b_s
\bsi
\big
\bgn
\bn_
\b_a
\bas
\bs
36302 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b42
\b2.
\b. p
\bpg
\bgp
\bp_
\b_s
\bsi
\big
\bgn
\bn_
\b_a
\bas
\bs
36306 @@ -4781,7 +4990,7 @@
36307 which of your private keys to use. It is recommended that you use the
36308 keyid form to specify your key (e.g., ``0x00112233'').
36310 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b27
\b7.
\b. p
\bpg
\bgp
\bp_
\b_s
\bst
\btr
\bri
\bic
\bct
\bt_
\b_e
\ben
\bnc
\bc
36311 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b43
\b3.
\b. p
\bpg
\bgp
\bp_
\b_s
\bst
\btr
\bri
\bic
\bct
\bt_
\b_e
\ben
\bnc
\bc
36315 @@ -4791,7 +5000,7 @@
36316 to problems with non-verifyable PGP signatures, so only change this if
36317 you know what you are doing.
36319 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b28
\b8.
\b. p
\bpg
\bgp
\bp_
\b_t
\bti
\bim
\bme
\beo
\bou
\but
\bt
36320 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b44
\b4.
\b. p
\bpg
\bgp
\bp_
\b_t
\bti
\bim
\bme
\beo
\bou
\but
\bt
36324 @@ -4799,7 +5008,7 @@
36325 The number of seconds after which a cached passphrase will expire if
36328 - 6
\b6.
\b.3
\b3.
\b.1
\b12
\b29
\b9.
\b. p
\bpg
\bgp
\bp_
\b_v
\bve
\ber
\bri
\bif
\bfy
\by_
\b_s
\bsi
\big
\bg
36329 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b45
\b5.
\b. p
\bpg
\bgp
\bp_
\b_v
\bve
\ber
\bri
\bif
\bfy
\by_
\b_s
\bsi
\big
\bg
36333 @@ -4808,7 +5017,7 @@
36334 yes'' or ``ask-no'', ask whether or not to verify the signature. If
36335 ``no'', never attempt to verify PGP/MIME signatures.
36337 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b30
\b0.
\b. p
\bpg
\bgp
\bp_
\b_s
\bso
\bor
\brt
\bt_
\b_k
\bke
\bey
\bys
\bs
36338 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b46
\b6.
\b. p
\bpg
\bgp
\bp_
\b_s
\bso
\bor
\brt
\bt_
\b_k
\bke
\bey
\bys
\bs
36342 @@ -4831,7 +5040,7 @@
36343 If you prefer reverse order of the above values, prefix it with
36346 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b31
\b1.
\b. p
\bpg
\bgp
\bp_
\b_c
\bcr
\bre
\bea
\bat
\bte
\be_
\b_t
\btr
\bra
\bad
\bdi
\bit
\bti
\bio
\bon
\bna
\bal
\bl
36347 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b47
\b7.
\b. p
\bpg
\bgp
\bp_
\b_c
\bcr
\bre
\bea
\bat
\bte
\be_
\b_t
\btr
\bra
\bad
\bdi
\bit
\bti
\bio
\bon
\bna
\bal
\bl
36351 @@ -4846,7 +5055,7 @@
36352 Also note that using the old-style PGP message format is s
\bst
\btr
\bro
\bon
\bng
\bgl
\bly
\by
36353 d
\bde
\bep
\bpr
\bre
\bec
\bca
\bat
\bte
\bed
\bd.
36355 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b32
\b2.
\b. p
\bpg
\bgp
\bp_
\b_d
\bde
\bec
\bco
\bod
\bde
\be_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36356 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b48
\b8.
\b. p
\bpg
\bgp
\bp_
\b_d
\bde
\bec
\bco
\bod
\bde
\be_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36360 @@ -4873,7 +5082,7 @@
36361 files in the samples/ subdirectory which has been installed on your
36362 system alongside the documentation.
36364 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b33
\b3.
\b. p
\bpg
\bgp
\bp_
\b_g
\bge
\bet
\btk
\bke
\bey
\bys
\bs_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36365 + 6
\b6.
\b.3
\b3.
\b.1
\b14
\b49
\b9.
\b. p
\bpg
\bgp
\bp_
\b_g
\bge
\bet
\btk
\bke
\bey
\bys
\bs_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36369 @@ -4882,21 +5091,21 @@
36370 information. %r is the only printf-like sequence used with this
36373 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b34
\b4.
\b. p
\bpg
\bgp
\bp_
\b_v
\bve
\ber
\bri
\bif
\bfy
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36374 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b50
\b0.
\b. p
\bpg
\bgp
\bp_
\b_v
\bve
\ber
\bri
\bif
\bfy
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36379 This command is used to verify PGP/MIME signatures.
36381 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b35
\b5.
\b. p
\bpg
\bgp
\bp_
\b_d
\bde
\bec
\bcr
\bry
\byp
\bpt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36382 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b51
\b1.
\b. p
\bpg
\bgp
\bp_
\b_d
\bde
\bec
\bcr
\bry
\byp
\bpt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36387 This command is used to decrypt a PGP/MIME encrypted message.
36389 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b36
\b6.
\b. p
\bpg
\bgp
\bp_
\b_c
\bcl
\ble
\bea
\bar
\brs
\bsi
\big
\bgn
\bn_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36390 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b52
\b2.
\b. p
\bpg
\bgp
\bp_
\b_c
\bcl
\ble
\bea
\bar
\brs
\bsi
\big
\bgn
\bn_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36394 @@ -4904,7 +5113,7 @@
36395 This format is used to create a "clearsigned" old-style PGP
36396 attachment. Note that the use of this format is s
\bst
\btr
\bro
\bon
\bng
\bgl
\bly
\by d
\bde
\bep
\bpr
\bre
\bec
\bca
\bat
\bte
\bed
\bd.
36398 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b37
\b7.
\b. p
\bpg
\bgp
\bp_
\b_s
\bsi
\big
\bgn
\bn_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36399 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b53
\b3.
\b. p
\bpg
\bgp
\bp_
\b_s
\bsi
\big
\bgn
\bn_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36403 @@ -4912,21 +5121,21 @@
36404 This command is used to create the detached PGP signature for a
36405 multipart/signed PGP/MIME body part.
36407 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b38
\b8.
\b. p
\bpg
\bgp
\bp_
\b_e
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt_
\b_s
\bsi
\big
\bgn
\bn_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36408 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b54
\b4.
\b. p
\bpg
\bgp
\bp_
\b_e
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt_
\b_s
\bsi
\big
\bgn
\bn_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36413 This command is used to combinedly sign/encrypt a body part.
36415 - 6
\b6.
\b.3
\b3.
\b.1
\b13
\b39
\b9.
\b. p
\bpg
\bgp
\bp_
\b_e
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt_
\b_o
\bon
\bnl
\bly
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36416 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b55
\b5.
\b. p
\bpg
\bgp
\bp_
\b_e
\ben
\bnc
\bcr
\bry
\byp
\bpt
\bt_
\b_o
\bon
\bnl
\bly
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36421 This command is used to encrypt a body part without signing it.
36423 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b40
\b0.
\b. p
\bpg
\bgp
\bp_
\b_i
\bim
\bmp
\bpo
\bor
\brt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36424 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b56
\b6.
\b. p
\bpg
\bgp
\bp_
\b_i
\bim
\bmp
\bpo
\bor
\brt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36428 @@ -4934,14 +5143,14 @@
36429 This command is used to import a key from a message into the user's
36432 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b41
\b1.
\b. p
\bpg
\bgp
\bp_
\b_e
\bex
\bxp
\bpo
\bor
\brt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36433 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b57
\b7.
\b. p
\bpg
\bgp
\bp_
\b_e
\bex
\bxp
\bpo
\bor
\brt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36438 This command is used to export a public key from the user's key ring.
36440 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b42
\b2.
\b. p
\bpg
\bgp
\bp_
\b_v
\bve
\ber
\bri
\bif
\bfy
\by_
\b_k
\bke
\bey
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36441 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b58
\b8.
\b. p
\bpg
\bgp
\bp_
\b_v
\bve
\ber
\bri
\bif
\bfy
\by_
\b_k
\bke
\bey
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36445 @@ -4949,7 +5158,7 @@
36446 This command is used to verify key information from the key selection
36449 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b43
\b3.
\b. p
\bpg
\bgp
\bp_
\b_l
\bli
\bis
\bst
\bt_
\b_s
\bse
\bec
\bcr
\bri
\bin
\bng
\bg_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36450 + 6
\b6.
\b.3
\b3.
\b.1
\b15
\b59
\b9.
\b. p
\bpg
\bgp
\bp_
\b_l
\bli
\bis
\bst
\bt_
\b_s
\bse
\bec
\bcr
\bri
\bin
\bng
\bg_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36454 @@ -4961,7 +5170,7 @@
36455 This format is also generated by the pgpring utility which comes with
36458 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b44
\b4.
\b. p
\bpg
\bgp
\bp_
\b_l
\bli
\bis
\bst
\bt_
\b_p
\bpu
\bub
\bbr
\bri
\bin
\bng
\bg_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36459 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b60
\b0.
\b. p
\bpg
\bgp
\bp_
\b_l
\bli
\bis
\bst
\bt_
\b_p
\bpu
\bub
\bbr
\bri
\bin
\bng
\bg_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36463 @@ -4969,10 +5178,11 @@
36464 This command is used to list the public key ring's contents. The
36465 output format must be analogous to the one used by gpg --list-keys
36468 This format is also generated by the pgpring utility which comes with
36471 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b45
\b5.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_d
\bde
\bec
\bcr
\bry
\byp
\bpt
\bt
36472 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b61
\b1.
\b. f
\bfo
\bor
\brw
\bwa
\bar
\brd
\bd_
\b_d
\bde
\bec
\bcr
\bry
\byp
\bpt
\bt
36476 @@ -4982,7 +5192,7 @@
36477 variable is only used if ````$mime_forward'''' is _
\bs_
\be_
\bt and
36478 ````$mime_forward_decode'''' is _
\bu_
\bn_
\bs_
\be_
\bt.
36480 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b46
\b6.
\b. s
\bss
\bsl
\bl_
\b_s
\bst
\bta
\bar
\brt
\btt
\btl
\bls
\bs
36481 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b62
\b2.
\b. s
\bss
\bsl
\bl_
\b_s
\bst
\bta
\bar
\brt
\btt
\btl
\bls
\bs
36485 @@ -4991,7 +5201,7 @@
36486 advertising the capability. When unset, mutt will not attempt to use
36487 STARTTLS regardless of the server's capabilities.
36489 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b47
\b7.
\b. c
\bce
\ber
\brt
\bti
\bif
\bfi
\bic
\bca
\bat
\bte
\be_
\b_f
\bfi
\bil
\ble
\be
36490 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b63
\b3.
\b. c
\bce
\ber
\brt
\bti
\bif
\bfi
\bic
\bca
\bat
\bte
\be_
\b_f
\bfi
\bil
\ble
\be
36494 @@ -5007,7 +5217,7 @@
36496 Example: set certificate_file=~/.mutt/certificates
36498 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b48
\b8.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\bes
\bsy
\bys
\bst
\bte
\bem
\bmc
\bce
\ber
\brt
\bts
\bs
36499 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b64
\b4.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\bes
\bsy
\bys
\bst
\bte
\bem
\bmc
\bce
\ber
\brt
\bts
\bs
36503 @@ -5016,7 +5226,7 @@
36504 certificate store when checking if server certificate is signed by a
36507 - 6
\b6.
\b.3
\b3.
\b.1
\b14
\b49
\b9.
\b. e
\ben
\bnt
\btr
\bro
\bop
\bpy
\by_
\b_f
\bfi
\bil
\ble
\be
36508 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b65
\b5.
\b. e
\ben
\bnt
\btr
\bro
\bop
\bpy
\by_
\b_f
\bfi
\bil
\ble
\be
36512 @@ -5024,7 +5234,7 @@
36513 The file which includes random data that is used to initalize SSL
36516 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b50
\b0.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\be_
\b_s
\bss
\bsl
\blv
\bv2
\b2
36517 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b66
\b6.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\be_
\b_s
\bss
\bsl
\blv
\bv2
\b2
36521 @@ -5032,7 +5242,7 @@
36522 This variables specifies whether to attempt to use SSLv2 in the SSL
36523 authentication process.
36525 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b51
\b1.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\be_
\b_s
\bss
\bsl
\blv
\bv3
\b3
36526 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b67
\b7.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\be_
\b_s
\bss
\bsl
\blv
\bv3
\b3
36530 @@ -5040,7 +5250,7 @@
36531 This variables specifies whether to attempt to use SSLv3 in the SSL
36532 authentication process.
36534 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b52
\b2.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\be_
\b_t
\btl
\bls
\bsv
\bv1
\b1
36535 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b68
\b8.
\b. s
\bss
\bsl
\bl_
\b_u
\bus
\bse
\be_
\b_t
\btl
\bls
\bsv
\bv1
\b1
36539 @@ -5048,7 +5258,7 @@
36540 This variables specifies whether to attempt to use TLSv1 in the SSL
36541 authentication process.
36543 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b53
\b3.
\b. p
\bpi
\bip
\bpe
\be_
\b_s
\bsp
\bpl
\bli
\bit
\bt
36544 + 6
\b6.
\b.3
\b3.
\b.1
\b16
\b69
\b9.
\b. p
\bpi
\bip
\bpe
\be_
\b_s
\bsp
\bpl
\bli
\bit
\bt
36548 @@ -5060,7 +5270,7 @@
36549 In both cases the messages are piped in the current sorted order, and
36550 the ````$pipe_sep'''' separator is added after each message.
36552 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b54
\b4.
\b. p
\bpi
\bip
\bpe
\be_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
36553 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b70
\b0.
\b. p
\bpi
\bip
\bpe
\be_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
36557 @@ -5069,7 +5279,7 @@
36558 will pipe the messages without any preprocessing. When set, Mutt will
36559 weed headers and will attempt to PGP/MIME decode the messages first.
36561 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b55
\b5.
\b. p
\bpi
\bip
\bpe
\be_
\b_s
\bse
\bep
\bp
36562 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b71
\b1.
\b. p
\bpi
\bip
\bpe
\be_
\b_s
\bse
\bep
\bp
36566 @@ -5077,7 +5287,7 @@
36567 The separator to add between messages when piping a list of tagged
36568 messages to an external Unix command.
36570 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b56
\b6.
\b. p
\bpo
\bop
\bp_
\b_a
\bau
\but
\bth
\bhe
\ben
\bnt
\bti
\bic
\bca
\bat
\bto
\bor
\brs
\bs
36571 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b72
\b2.
\b. p
\bpo
\bop
\bp_
\b_a
\bau
\but
\bth
\bhe
\ben
\bnt
\bti
\bic
\bca
\bat
\bto
\bor
\brs
\bs
36575 @@ -5092,7 +5302,7 @@
36577 Example: set pop_authenticators="digest-md5:apop:user"
36579 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b57
\b7.
\b. p
\bpo
\bop
\bp_
\b_a
\bau
\but
\bth
\bh_
\b_t
\btr
\bry
\by_
\b_a
\bal
\bll
\bl
36580 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b73
\b3.
\b. p
\bpo
\bop
\bp_
\b_a
\bau
\but
\bth
\bh_
\b_t
\btr
\bry
\by_
\b_a
\bal
\bll
\bl
36584 @@ -5102,7 +5312,7 @@
36585 are unavailable. If a method is available but authentication fails,
36586 Mutt will not connect to the POP server.
36588 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b58
\b8.
\b. p
\bpo
\bop
\bp_
\b_c
\bch
\bhe
\bec
\bck
\bki
\bin
\bnt
\bte
\ber
\brv
\bva
\bal
\bl
36589 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b74
\b4.
\b. p
\bpo
\bop
\bp_
\b_c
\bch
\bhe
\bec
\bck
\bki
\bin
\bnt
\bte
\ber
\brv
\bva
\bal
\bl
36593 @@ -5110,7 +5320,7 @@
36594 This variable configures how often (in seconds) POP should look for
36597 - 6
\b6.
\b.3
\b3.
\b.1
\b15
\b59
\b9.
\b. p
\bpo
\bop
\bp_
\b_d
\bde
\bel
\ble
\bet
\bte
\be
36598 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b75
\b5.
\b. p
\bpo
\bop
\bp_
\b_d
\bde
\bel
\ble
\bet
\bte
\be
36602 @@ -5119,7 +5329,7 @@
36603 server when using the fetch-mail function. When unset, Mutt will
36604 download messages but also leave them on the POP server.
36606 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b60
\b0.
\b. p
\bpo
\bop
\bp_
\b_h
\bho
\bos
\bst
\bt
36607 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b76
\b6.
\b. p
\bpo
\bop
\bp_
\b_h
\bho
\bos
\bst
\bt
36611 @@ -5129,7 +5339,7 @@
36613 [pop[s]://][username[:password]@]popserver[:port]
36615 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b61
\b1.
\b. p
\bpo
\bop
\bp_
\b_l
\bla
\bas
\bst
\bt
36616 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b77
\b7.
\b. p
\bpo
\bop
\bp_
\b_l
\bla
\bas
\bst
\bt
36620 @@ -5138,7 +5348,7 @@
36621 for retrieving only unread messages from the POP server when using the
36622 fetch-mail function.
36624 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b62
\b2.
\b. p
\bpo
\bop
\bp_
\b_r
\bre
\bec
\bco
\bon
\bnn
\bne
\bec
\bct
\bt
36625 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b78
\b8.
\b. p
\bpo
\bop
\bp_
\b_r
\bre
\bec
\bco
\bon
\bnn
\bne
\bec
\bct
\bt
36629 @@ -5146,7 +5356,7 @@
36630 Controls whether or not Mutt will try to reconnect to POP server when
36633 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b63
\b3.
\b. p
\bpo
\bop
\bp_
\b_u
\bus
\bse
\ber
\br
36634 + 6
\b6.
\b.3
\b3.
\b.1
\b17
\b79
\b9.
\b. p
\bpo
\bop
\bp_
\b_u
\bus
\bse
\ber
\br
36638 @@ -5155,7 +5365,7 @@
36640 This variable defaults to your user name on the local machine.
36642 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b64
\b4.
\b. p
\bpo
\bop
\bp_
\b_p
\bpa
\bas
\bss
\bs
36643 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b80
\b0.
\b. p
\bpo
\bop
\bp_
\b_p
\bpa
\bas
\bss
\bs
36647 @@ -5166,14 +5376,25 @@
36648 because the superuser can read your muttrc even if you are the only
36649 one who can read the file.
36651 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b65
\b5.
\b. p
\bpo
\bos
\bst
\bt_
\b_i
\bin
\bnd
\bde
\ben
\bnt
\bt_
\b_s
\bst
\btr
\bri
\bin
\bng
\bg
36652 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b81
\b1.
\b. p
\bpo
\bos
\bst
\bt_
\b_i
\bin
\bnd
\bde
\ben
\bnt
\bt_
\b_s
\bst
\btr
\bri
\bin
\bng
\bg
36657 Similar to the ````$attribution'''' variable, Mutt will append this
36658 string after the inclusion of a message which is being replied to.
36660 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b66
\b6.
\b. p
\bpo
\bos
\bst
\btp
\bpo
\bon
\bne
\be
36661 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b82
\b2.
\b. p
\bpo
\bos
\bst
\bt_
\b_m
\bmo
\bod
\bde
\ber
\bra
\bat
\bte
\bed
\bd
36666 + If set to _
\by_
\be_
\bs, Mutt will post article to newsgroup that have not
36667 + permissions to posting (e.g. moderated). N
\bNo
\bot
\bte
\be:
\b: if newsserver does not
36668 + support posting to that newsgroup or totally read-only, that posting
36669 + will not have an effect.
36671 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b83
\b3.
\b. p
\bpo
\bos
\bst
\btp
\bpo
\bon
\bne
\be
36675 @@ -5181,7 +5402,7 @@
36676 Controls whether or not messages are saved in the ````$postponed''''
36677 mailbox when you elect not to send immediately.
36679 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b67
\b7.
\b. p
\bpo
\bos
\bst
\btp
\bpo
\bon
\bne
\bed
\bd
36680 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b84
\b4.
\b. p
\bpo
\bos
\bst
\btp
\bpo
\bon
\bne
\bed
\bd
36683 Default: "~/postponed"
36684 @@ -5191,7 +5412,7 @@
36685 saves it in the mailbox specified by this variable. Also see the
36686 ````$postpone'''' variable.
36688 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b68
\b8.
\b. p
\bpr
\bre
\bec
\bco
\bon
\bnn
\bne
\bec
\bct
\bt
36689 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b85
\b5.
\b. p
\bpr
\bre
\bec
\bco
\bon
\bnn
\bne
\bec
\bct
\bt
36693 @@ -5210,7 +5431,7 @@
36694 NOTE: For this example to work, you must be able to log in to the
36695 remote machine without having to enter a password.
36697 - 6
\b6.
\b.3
\b3.
\b.1
\b16
\b69
\b9.
\b. p
\bpr
\bri
\bin
\bnt
\bt
36698 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b86
\b6.
\b. p
\bpr
\bri
\bin
\bnt
\bt
36702 @@ -5218,13 +5439,14 @@
36703 Controls whether or not Mutt asks for confirmation before printing.
36704 This is useful for people (like me) who accidentally hit ``p'' often.
36706 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b70
\b0.
\b. p
\bpr
\bri
\bin
\bnt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36707 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b87
\b7.
\b. p
\bpr
\bri
\bin
\bnt
\bt_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36712 This specifies the command pipe that should be used to print messages.
36714 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b71
\b1.
\b. p
\bpr
\bri
\bin
\bnt
\bt_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
36715 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b88
\b8.
\b. p
\bpr
\bri
\bin
\bnt
\bt_
\b_d
\bde
\bec
\bco
\bod
\bde
\be
36719 @@ -5236,7 +5458,7 @@
36720 latter setting may be useful if you are using some advanced printer
36721 filter which is able to properly format e-mail messages for printing.
36723 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b72
\b2.
\b. p
\bpr
\bri
\bin
\bnt
\bt_
\b_s
\bsp
\bpl
\bli
\bit
\bt
36724 + 6
\b6.
\b.3
\b3.
\b.1
\b18
\b89
\b9.
\b. p
\bpr
\bri
\bin
\bnt
\bt_
\b_s
\bsp
\bpl
\bli
\bit
\bt
36728 @@ -5251,7 +5473,7 @@
36729 Those who use the e
\ben
\bns
\bsc
\bcr
\bri
\bip
\bpt
\bt(1) program's mail-printing mode will most
36730 likely want to set this option.
36732 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b73
\b3.
\b. p
\bpr
\bro
\bom
\bmp
\bpt
\bt_
\b_a
\baf
\bft
\bte
\ber
\br
36733 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b90
\b0.
\b. p
\bpr
\bro
\bom
\bmp
\bpt
\bt_
\b_a
\baf
\bft
\bte
\ber
\br
36737 @@ -5261,7 +5483,7 @@
36738 than returning to the index menu. If unset, Mutt will return to the
36739 index menu when the external pager exits.
36741 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b74
\b4.
\b. q
\bqu
\bue
\ber
\bry
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36742 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b91
\b1.
\b. q
\bqu
\bue
\ber
\bry
\by_
\b_c
\bco
\bom
\bmm
\bma
\ban
\bnd
\bd
36746 @@ -5271,7 +5493,7 @@
36747 with the query string the user types. See ````query'''' for more
36750 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b75
\b5.
\b. q
\bqu
\bui
\bit
\bt
36751 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b92
\b2.
\b. q
\bqu
\bui
\bit
\bt
36755 @@ -5281,11 +5503,10 @@
36756 have no effect, and if it is set to ask-yes or ask-no, you are
36757 prompted for confirmation when you try to quit.
36759 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b76
\b6.
\b. q
\bqu
\buo
\bot
\bte
\be_
\b_r
\bre
\beg
\bge
\bex
\bxp
\bp
36760 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b93
\b3.
\b. q
\bqu
\buo
\bot
\bte
\be_
\b_r
\bre
\beg
\bge
\bex
\bxp
\bp
36762 Type: regular expression
36763 Default: "^([ \t]*[|>:}#])+"
36765 A regular expression used in the internal-pager to determine quoted
36766 sections of text in the body of a message.
36768 @@ -5293,7 +5514,7 @@
36769 need to set this to a regular expression that matches _
\be_
\bx_
\ba_
\bc_
\bt_
\bl_
\by the
36770 quote characters at the beginning of quoted lines.
36772 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b77
\b7.
\b. r
\bre
\bea
\bad
\bd_
\b_i
\bin
\bnc
\bc
36773 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b94
\b4.
\b. r
\bre
\bea
\bad
\bd_
\b_i
\bin
\bnc
\bc
36777 @@ -5308,14 +5529,14 @@
36779 Also see the ````$write_inc'''' variable.
36781 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b78
\b8.
\b. r
\bre
\bea
\bad
\bd_
\b_o
\bon
\bnl
\bly
\by
36782 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b95
\b5.
\b. r
\bre
\bea
\bad
\bd_
\b_o
\bon
\bnl
\bly
\by
36787 If set, all folders are opened in read-only mode.
36789 - 6
\b6.
\b.3
\b3.
\b.1
\b17
\b79
\b9.
\b. r
\bre
\bea
\bal
\bln
\bna
\bam
\bme
\be
36790 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b96
\b6.
\b. r
\bre
\bea
\bal
\bln
\bna
\bam
\bme
\be
36794 @@ -5327,7 +5548,7 @@
36795 variable will _
\bn_
\bo_
\bt be used when the user has set a real name in the
36796 ``$from'' variable.
36798 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b80
\b0.
\b. r
\bre
\bec
\bca
\bal
\bll
\bl
36799 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b97
\b7.
\b. r
\bre
\bec
\bca
\bal
\bll
\bl
36803 @@ -5338,7 +5559,7 @@
36804 Setting this variable to ``yes'' is not generally useful, and thus not
36807 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b81
\b1.
\b. r
\bre
\bec
\bco
\bor
\brd
\bd
36808 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b98
\b8.
\b. r
\bre
\bec
\bco
\bor
\brd
\bd
36812 @@ -5351,7 +5572,7 @@
36813 The value of _
\b`_
\b`_
\b$_
\br_
\be_
\bc_
\bo_
\br_
\bd_
\b'_
\b' is overridden by the ````$force_name'''' and
36814 ````$save_name'''' variables, and the ````fcc-hook'''' command.
36816 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b82
\b2.
\b. r
\bre
\bep
\bpl
\bly
\by_
\b_r
\bre
\beg
\bge
\bex
\bxp
\bp
36817 + 6
\b6.
\b.3
\b3.
\b.1
\b19
\b99
\b9.
\b. r
\bre
\bep
\bpl
\bly
\by_
\b_r
\bre
\beg
\bge
\bex
\bxp
\bp
36819 Type: regular expression
36820 Default: "^(re([\[0-9\]+])*|aw):[ \t]*"
36821 @@ -5360,7 +5581,7 @@
36822 and replying. The default value corresponds to the English "Re:" and
36825 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b83
\b3.
\b. r
\bre
\bep
\bpl
\bly
\by_
\b_s
\bse
\bel
\blf
\bf
36826 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b00
\b0.
\b. r
\bre
\bep
\bpl
\bly
\by_
\b_s
\bse
\bel
\blf
\bf
36830 @@ -5369,7 +5590,7 @@
36831 assume that you want to reply to the recipients of that message rather
36834 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b84
\b4.
\b. r
\bre
\bep
\bpl
\bly
\by_
\b_t
\bto
\bo
36835 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b01
\b1.
\b. r
\bre
\bep
\bpl
\bly
\by_
\b_t
\bto
\bo
36839 @@ -5381,7 +5602,7 @@
36840 header field to the list address and you want to send a private
36841 message to the author of a message.
36843 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b85
\b5.
\b. r
\bre
\bes
\bso
\bol
\blv
\bve
\be
36844 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b02
\b2.
\b. r
\bre
\bes
\bso
\bol
\blv
\bve
\be
36848 @@ -5390,7 +5611,7 @@
36849 (possibly undeleted) message whenever a command that modifies the
36850 current message is executed.
36852 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b86
\b6.
\b. r
\bre
\bev
\bve
\ber
\brs
\bse
\be_
\b_a
\bal
\bli
\bia
\bas
\bs
36853 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b03
\b3.
\b. r
\bre
\bev
\bve
\ber
\brs
\bse
\be_
\b_a
\bal
\bli
\bia
\bas
\bs
36857 @@ -5410,7 +5631,7 @@
36858 ``abd30425@somewhere.net.'' This is useful when the person's e-mail
36859 address is not human friendly (like CompuServe addresses).
36861 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b87
\b7.
\b. r
\bre
\bev
\bve
\ber
\brs
\bse
\be_
\b_n
\bna
\bam
\bme
\be
36862 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b04
\b4.
\b. r
\bre
\bev
\bve
\ber
\brs
\bse
\be_
\b_n
\bna
\bam
\bme
\be
36866 @@ -5422,7 +5643,7 @@
36867 messages you are replying to. If the variable is unset, the _
\bF_
\br_
\bo_
\bm_
\b:
36868 line will use your address on the current machine.
36870 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b88
\b8.
\b. r
\bre
\bev
\bve
\ber
\brs
\bse
\be_
\b_r
\bre
\bea
\bal
\bln
\bna
\bam
\bme
\be
36871 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b05
\b5.
\b. r
\bre
\bev
\bve
\ber
\brs
\bse
\be_
\b_r
\bre
\bea
\bal
\bln
\bna
\bam
\bme
\be
36875 @@ -5433,7 +5654,7 @@
36876 unset, mutt will override any such realnames with the setting of the
36877 ``realname'' variable.
36879 - 6
\b6.
\b.3
\b3.
\b.1
\b18
\b89
\b9.
\b. r
\brf
\bfc
\bc2
\b20
\b04
\b47
\b7_
\b_p
\bpa
\bar
\bra
\bam
\bme
\bet
\bte
\ber
\brs
\bs
36880 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b06
\b6.
\b. r
\brf
\bfc
\bc2
\b20
\b04
\b47
\b7_
\b_p
\bpa
\bar
\bra
\bam
\bme
\bet
\bte
\ber
\brs
\bs
36884 @@ -5452,7 +5673,7 @@
36885 _
\bg_
\be_
\bn_
\be_
\br_
\ba_
\bt_
\be_
\bs this kind of encoding. Instead, mutt will unconditionally
36886 use the encoding specified in RFC 2231.
36888 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b90
\b0.
\b. s
\bsa
\bav
\bve
\be_
\b_a
\bad
\bdd
\bdr
\bre
\bes
\bss
\bs
36889 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b07
\b7.
\b. s
\bsa
\bav
\bve
\be_
\b_a
\bad
\bdd
\bdr
\bre
\bes
\bss
\bs
36893 @@ -5462,7 +5683,7 @@
36894 ````$force_name'''' is set too, the selection of the fcc folder will
36895 be changed as well.
36897 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b91
\b1.
\b. s
\bsa
\bav
\bve
\be_
\b_e
\bem
\bmp
\bpt
\bty
\by
36898 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b08
\b8.
\b. s
\bsa
\bav
\bve
\be_
\b_e
\bem
\bmp
\bpt
\bty
\by
36902 @@ -5473,7 +5694,8 @@
36904 N
\bNo
\bot
\bte
\be:
\b: This only applies to mbox and MMDF folders, Mutt does not delete
36905 MH and Maildir directories.
36906 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b92
\b2.
\b. s
\bsa
\bav
\bve
\be_
\b_n
\bna
\bam
\bme
\be
36908 + 6
\b6.
\b.3
\b3.
\b.2
\b20
\b09
\b9.
\b. s
\bsa
\bav
\bve
\be_
\b_n
\bna
\bam
\bme
\be
36912 @@ -5488,7 +5710,7 @@
36914 Also see the ````$force_name'''' variable.
36916 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b93
\b3.
\b. s
\bsc
\bco
\bor
\bre
\be
36917 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b10
\b0.
\b. s
\bsc
\bco
\bor
\bre
\be
36921 @@ -5497,7 +5719,7 @@
36922 useful to selectively disable scoring for certain folders when the
36923 ````$score_threshold_delete'''' variable and friends are used.
36925 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b94
\b4.
\b. s
\bsc
\bco
\bor
\bre
\be_
\b_t
\bth
\bhr
\bre
\bes
\bsh
\bho
\bol
\bld
\bd_
\b_d
\bde
\bel
\ble
\bet
\bte
\be
36926 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b11
\b1.
\b. s
\bsc
\bco
\bor
\bre
\be_
\b_t
\bth
\bhr
\bre
\bes
\bsh
\bho
\bol
\bld
\bd_
\b_d
\bde
\bel
\ble
\bet
\bte
\be
36930 @@ -5508,7 +5730,7 @@
36931 default setting of this variable will never mark a message for
36934 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b95
\b5.
\b. s
\bsc
\bco
\bor
\bre
\be_
\b_t
\bth
\bhr
\bre
\bes
\bsh
\bho
\bol
\bld
\bd_
\b_f
\bfl
\bla
\bag
\bg
36935 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b12
\b2.
\b. s
\bsc
\bco
\bor
\bre
\be_
\b_t
\bth
\bhr
\bre
\bes
\bsh
\bho
\bol
\bld
\bd_
\b_f
\bfl
\bla
\bag
\bg
36939 @@ -5516,7 +5738,7 @@
36940 Messages wich have been assigned a score greater than or equal to this
36941 variable's value are automatically marked "flagged".
36943 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b96
\b6.
\b. s
\bsc
\bco
\bor
\bre
\be_
\b_t
\bth
\bhr
\bre
\bes
\bsh
\bho
\bol
\bld
\bd_
\b_r
\bre
\bea
\bad
\bd
36944 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b13
\b3.
\b. s
\bsc
\bco
\bor
\bre
\be_
\b_t
\bth
\bhr
\bre
\bes
\bsh
\bho
\bol
\bld
\bd_
\b_r
\bre
\bea
\bad
\bd
36948 @@ -5526,7 +5748,7 @@
36949 Since mutt scores are always greater than or equal to zero, the
36950 default setting of this variable will never mark a message read.
36952 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b97
\b7.
\b. s
\bse
\ben
\bnd
\bd_
\b_c
\bch
\bha
\bar
\brs
\bse
\bet
\bt
36953 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b14
\b4.
\b. s
\bse
\ben
\bnd
\bd_
\b_c
\bch
\bha
\bar
\brs
\bse
\bet
\bt
36956 Default: "us-ascii:iso-8859-1:utf-8"
36957 @@ -5538,7 +5760,7 @@
36958 appropriate widely used standard character set (such as iso-8859-2,
36959 koi8-r or iso-2022-jp) either instead of or after "iso-8859-1".
36961 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b98
\b8.
\b. s
\bse
\ben
\bnd
\bdm
\bma
\bai
\bil
\bl
36962 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b15
\b5.
\b. s
\bse
\ben
\bnd
\bdm
\bma
\bai
\bil
\bl
36965 Default: "/usr/sbin/sendmail -oem -oi"
36966 @@ -5547,7 +5769,7 @@
36967 Mutt expects that the specified program interprets additional
36968 arguments as recipient addresses.
36970 - 6
\b6.
\b.3
\b3.
\b.1
\b19
\b99
\b9.
\b. s
\bse
\ben
\bnd
\bdm
\bma
\bai
\bil
\bl_
\b_w
\bwa
\bai
\bit
\bt
36971 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b16
\b6.
\b. s
\bse
\ben
\bnd
\bdm
\bma
\bai
\bil
\bl_
\b_w
\bwa
\bai
\bit
\bt
36975 @@ -5569,7 +5791,7 @@
36976 process will be put in a temporary file. If there is some error, you
36977 will be informed as to where to find the output.
36979 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b00
\b0.
\b. s
\bsh
\bhe
\bel
\bll
\bl
36980 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b17
\b7.
\b. s
\bsh
\bhe
\bel
\bll
\bl
36984 @@ -5577,7 +5799,33 @@
36985 Command to use when spawning a subshell. By default, the user's login
36986 shell from /etc/passwd is used.
36988 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b01
\b1.
\b. s
\bsi
\big
\bg_
\b_d
\bda
\bas
\bsh
\bhe
\bes
\bs
36989 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b18
\b8.
\b. s
\bsa
\bav
\bve
\be_
\b_u
\bun
\bns
\bsu
\bub
\bbs
\bsc
\bcr
\bri
\bib
\bbe
\bed
\bd
36994 + When _
\bs_
\be_
\bt, info about unsubscribed newsgroups will be saved into
36995 + ``newsrc'' file and into cache.
36997 + 6
\b6.
\b.3
\b3.
\b.2
\b21
\b19
\b9.
\b. s
\bsh
\bho
\bow
\bw_
\b_n
\bne
\bew
\bw_
\b_n
\bne
\bew
\bws
\bs
37002 + If _
\bs_
\be_
\bt, newsserver will be asked for new newsgroups on entering the
37003 + browser. Otherwise, it will be done only once for a newsserver. Also
37004 + controls whether or not number of new articles of subscribed
37005 + newsgroups will be then checked.
37007 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b20
\b0.
\b. s
\bsh
\bho
\bow
\bw_
\b_o
\bon
\bnl
\bly
\by_
\b_u
\bun
\bnr
\bre
\bea
\bad
\bd
37012 + If _
\bs_
\be_
\bt, only subscribed newsgroups that contain unread articles will
37013 + be displayed in browser.
37015 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b21
\b1.
\b. s
\bsi
\big
\bg_
\b_d
\bda
\bas
\bsh
\bhe
\bes
\bs
37019 @@ -5589,7 +5837,7 @@
37020 detect your signature. For example, Mutt has the ability to highlight
37021 the signature in a different color in the builtin pager.
37023 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b02
\b2.
\b. s
\bsi
\big
\bg_
\b_o
\bon
\bn_
\b_t
\bto
\bop
\bp
37024 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b22
\b2.
\b. s
\bsi
\big
\bg_
\b_o
\bon
\bn_
\b_t
\bto
\bop
\bp
37028 @@ -5599,7 +5847,7 @@
37029 unless you really know what you are doing, and are prepared to take
37030 some heat from netiquette guardians.
37032 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b03
\b3.
\b. s
\bsi
\big
\bgn
\bna
\bat
\btu
\bur
\bre
\be
37033 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b23
\b3.
\b. s
\bsi
\big
\bgn
\bna
\bat
\btu
\bur
\bre
\be
37036 Default: "~/.signature"
37037 @@ -5609,7 +5857,7 @@
37038 assumed that filename is a shell command and input should be read from
37041 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b04
\b4.
\b. s
\bsi
\bim
\bmp
\bpl
\ble
\be_
\b_s
\bse
\bea
\bar
\brc
\bch
\bh
37042 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b24
\b4.
\b. s
\bsi
\bim
\bmp
\bpl
\ble
\be_
\b_s
\bse
\bea
\bar
\brc
\bch
\bh
37045 Default: "~f %s | ~s %s"
37046 @@ -5625,7 +5873,7 @@
37050 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b05
\b5.
\b. s
\bsm
\bma
\bar
\brt
\bt_
\b_w
\bwr
\bra
\bap
\bp
37051 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b25
\b5.
\b. s
\bsm
\bma
\bar
\brt
\bt_
\b_w
\bwr
\bra
\bap
\bp
37055 @@ -5635,7 +5883,7 @@
37056 unset, lines are simply wrapped at the screen edge. Also see the
37057 ````$markers'''' variable.
37059 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b06
\b6.
\b. s
\bsm
\bmi
\bil
\ble
\bey
\bys
\bs
37060 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b26
\b6.
\b. s
\bsm
\bmi
\bil
\ble
\bey
\bys
\bs
37062 Type: regular expression
37063 Default: "(>From )|(:[-^]?[][)(><}{|/DP])"
37064 @@ -5643,7 +5891,7 @@
37065 The _
\bp_
\ba_
\bg_
\be_
\br uses this variable to catch some common false positives of
37066 ````$quote_regexp'''', most notably smileys in the beginning of a line
37068 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b07
\b7.
\b. s
\bsl
\ble
\bee
\bep
\bp_
\b_t
\bti
\bim
\bme
\be
37069 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b27
\b7.
\b. s
\bsl
\ble
\bee
\bep
\bp_
\b_t
\bti
\bim
\bme
\be
37073 @@ -5653,27 +5901,27 @@
37074 expunging messages from the current folder. The default is to pause
37075 one second, so a value of zero for this option suppresses the pause.
37077 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b08
\b8.
\b. s
\bso
\bor
\brt
\bt
37078 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b28
\b8.
\b. s
\bso
\bor
\brt
\bt
37083 Specifies how to sort messages in the _
\bi_
\bn_
\bd_
\be_
\bx menu. Valid values are:
37085 - date or date-sent
37088 - mailbox-order (unsorted)
37094 + date or date-sent
37097 + mailbox-order (unsorted)
37104 You may optionally use the reverse- prefix to specify reverse sorting
37105 order (example: set sort=reverse-date-sent).
37107 - 6
\b6.
\b.3
\b3.
\b.2
\b20
\b09
\b9.
\b. s
\bso
\bor
\brt
\bt_
\b_a
\bal
\bli
\bia
\bas
\bs
37108 + 6
\b6.
\b.3
\b3.
\b.2
\b22
\b29
\b9.
\b. s
\bso
\bor
\brt
\bt_
\b_a
\bal
\bli
\bia
\bas
\bs
37112 @@ -5685,7 +5933,7 @@
37113 alias (sort alphabetically by alias name)
37114 unsorted (leave in order specified in .muttrc)
37116 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b10
\b0.
\b. s
\bso
\bor
\brt
\bt_
\b_a
\bau
\bux
\bx
37117 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b30
\b0.
\b. s
\bso
\bor
\brt
\bt_
\b_a
\bau
\bux
\bx
37121 @@ -5704,7 +5952,7 @@
37122 order ``$sort_aux'' is reversed again (which is not the right thing to
37123 do, but kept to not break any existing configuration setting).
37125 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b11
\b1.
\b. s
\bso
\bor
\brt
\bt_
\b_b
\bbr
\bro
\bow
\bws
\bse
\ber
\br
37126 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b31
\b1.
\b. s
\bso
\bor
\brt
\bt_
\b_b
\bbr
\bro
\bow
\bws
\bse
\ber
\br
37130 @@ -5720,7 +5968,7 @@
37131 You may optionally use the reverse- prefix to specify reverse sorting
37132 order (example: set sort_browser=reverse-date).
37134 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b12
\b2.
\b. s
\bso
\bor
\brt
\bt_
\b_r
\bre
\be
37135 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b32
\b2.
\b. s
\bso
\bor
\brt
\bt_
\b_r
\bre
\be
37139 @@ -5734,7 +5982,7 @@
37140 attach the message whether or not this is the case, as long as the
37141 non-````$reply_regexp'''' parts of both messages are identical.
37143 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b13
\b3.
\b. s
\bsp
\bpo
\boo
\bol
\blf
\bfi
\bil
\ble
\be
37144 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b33
\b3.
\b. s
\bsp
\bpo
\boo
\bol
\blf
\bfi
\bil
\ble
\be
37148 @@ -5744,7 +5992,7 @@
37149 automatically set this variable to the value of the environment
37150 variable $MAIL if it is not set.
37152 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b14
\b4.
\b. s
\bst
\bta
\bat
\btu
\bus
\bs_
\b_c
\bch
\bha
\bar
\brs
\bs
37153 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b34
\b4.
\b. s
\bst
\bta
\bat
\btu
\bus
\bs_
\b_c
\bch
\bha
\bar
\brs
\bs
37157 @@ -5760,7 +6008,7 @@
37158 message mode (Certain operations like composing a new mail, replying,
37159 forwarding, etc. are not permitted in this mode).
37161 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b15
\b5.
\b. s
\bst
\bta
\bat
\btu
\bus
\bs_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
37162 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b35
\b5.
\b. s
\bst
\bta
\bat
\btu
\bus
\bs_
\b_f
\bfo
\bor
\brm
\bma
\bat
\bt
37165 Default: "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d?
37166 @@ -5847,7 +6095,7 @@
37167 (_) sign. For example, if you want to display the local hostname in
37168 lowercase, you would use: %_h
37170 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b16
\b6.
\b. s
\bst
\bta
\bat
\btu
\bus
\bs_
\b_o
\bon
\bn_
\b_t
\bto
\bop
\bp
37171 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b36
\b6.
\b. s
\bst
\bta
\bat
\btu
\bus
\bs_
\b_o
\bon
\bn_
\b_t
\bto
\bop
\bp
37175 @@ -5855,7 +6103,7 @@
37176 Setting this variable causes the ``status bar'' to be displayed on the
37177 first line of the screen rather than near the bottom.
37179 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b17
\b7.
\b. s
\bst
\btr
\bri
\bic
\bct
\bt_
\b_t
\bth
\bhr
\bre
\bea
\bad
\bds
\bs
37180 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b37
\b7.
\b. s
\bst
\btr
\bri
\bic
\bct
\bt_
\b_t
\bth
\bhr
\bre
\bea
\bad
\bds
\bs
37184 @@ -5867,7 +6115,7 @@
37185 personal mailbox where you might have several unrelated messages with
37186 the subject ``hi'' which will get grouped together.
37188 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b18
\b8.
\b. s
\bsu
\bus
\bsp
\bpe
\ben
\bnd
\bd
37189 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b38
\b8.
\b. s
\bsu
\bus
\bsp
\bpe
\ben
\bnd
\bd
37193 @@ -5876,7 +6124,7 @@
37194 key, usually ``control-Z''. This is useful if you run mutt inside an
37195 xterm using a command like xterm -e mutt.
37197 - 6
\b6.
\b.3
\b3.
\b.2
\b21
\b19
\b9.
\b. t
\bte
\bex
\bxt
\bt_
\b_f
\bfl
\blo
\bow
\bwe
\bed
\bd
37198 + 6
\b6.
\b.3
\b3.
\b.2
\b23
\b39
\b9.
\b. t
\bte
\bex
\bxt
\bt_
\b_f
\bfl
\blo
\bow
\bwe
\bed
\bd
37202 @@ -5888,14 +6136,15 @@
37204 Note that ``$indent_string'' is ignored when this option is set.
37206 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b20
\b0.
\b. t
\bth
\bhr
\bre
\bea
\bad
\bd_
\b_r
\bre
\bec
\bce
\bei
\biv
\bve
\bed
\bd
37207 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b40
\b0.
\b. t
\bth
\bhr
\bre
\bea
\bad
\bd_
\b_r
\bre
\bec
\bce
\bei
\biv
\bve
\bed
\bd
37212 When set, mutt uses the date received rather than the date sent to
37213 thread messages by subject.
37214 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b21
\b1.
\b. t
\bth
\bho
\bor
\bro
\bou
\bug
\bgh
\bh_
\b_s
\bse
\bea
\bar
\brc
\bch
\bh
37216 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b41
\b1.
\b. t
\bth
\bho
\bor
\bro
\bou
\bug
\bgh
\bh_
\b_s
\bse
\bea
\bar
\brc
\bch
\bh
37220 @@ -5905,7 +6154,7 @@
37221 messages to be searched are decoded before searching. If unset,
37222 messages are searched as they appear in the folder.
37224 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b22
\b2.
\b. t
\bti
\bil
\bld
\bde
\be
37225 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b42
\b2.
\b. t
\bti
\bil
\bld
\bde
\be
37229 @@ -5913,7 +6162,7 @@
37230 When set, the internal-pager will pad blank lines to the bottom of the
37231 screen with a tilde (~).
37233 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b23
\b3.
\b. t
\bti
\bim
\bme
\beo
\bou
\but
\bt
37234 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b43
\b3.
\b. t
\bti
\bim
\bme
\beo
\bou
\but
\bt
37238 @@ -5922,15 +6171,14 @@
37239 to be pressed in the main menu before timing out and checking for new
37240 mail. A value of zero or less will cause Mutt not to ever time out.
37242 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b24
\b4.
\b. t
\btm
\bmp
\bpd
\bdi
\bir
\br
37243 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b44
\b4.
\b. t
\btm
\bmp
\bpd
\bdi
\bir
\br
37248 This variable allows you to specify where Mutt will place its
37249 temporary files needed for displaying and composing messages.
37251 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b25
\b5.
\b. t
\bto
\bo_
\b_c
\bch
\bha
\bar
\brs
\bs
37252 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b45
\b5.
\b. t
\bto
\bo_
\b_c
\bch
\bha
\bar
\brs
\bs
37256 @@ -5946,7 +6194,7 @@
37257 by _
\by_
\bo_
\bu. The sixth character is used to indicate when a mail was sent
37258 to a mailing-list you subscribe to (default: L).
37260 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b26
\b6.
\b. t
\btu
\bun
\bnn
\bne
\bel
\bl
37261 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b46
\b6.
\b. t
\btu
\bun
\bnn
\bne
\bel
\bl
37265 @@ -5960,7 +6208,7 @@
37266 NOTE: For this example to work you must be able to log in to the
37267 remote machine without having to enter a password.
37269 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b27
\b7.
\b. u
\bus
\bse
\be_
\b_8
\b8b
\bbi
\bit
\btm
\bmi
\bim
\bme
\be
37270 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b47
\b7.
\b. u
\bus
\bse
\be_
\b_8
\b8b
\bbi
\bit
\btm
\bmi
\bim
\bme
\be
37274 @@ -5972,7 +6220,7 @@
37275 When _
\bs_
\be_
\bt, Mutt will invoke ````$sendmail'''' with the -B8BITMIME flag
37276 when sending 8-bit messages to enable ESMTP negotiation.
37278 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b28
\b8.
\b. u
\bus
\bse
\be_
\b_d
\bdo
\bom
\bma
\bai
\bin
\bn
37279 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b48
\b8.
\b. u
\bus
\bse
\be_
\b_d
\bdo
\bom
\bma
\bai
\bin
\bn
37283 @@ -5981,7 +6229,7 @@
37284 @host portion) with the value of ````$hostname''''. If _
\bu_
\bn_
\bs_
\be_
\bt, no
37285 addresses will be qualified.
37287 - 6
\b6.
\b.3
\b3.
\b.2
\b22
\b29
\b9.
\b. u
\bus
\bse
\be_
\b_f
\bfr
\bro
\bom
\bm
37288 + 6
\b6.
\b.3
\b3.
\b.2
\b24
\b49
\b9.
\b. u
\bus
\bse
\be_
\b_f
\bfr
\bro
\bom
\bm
37292 @@ -5990,7 +6238,16 @@
37293 messages. If _
\bu_
\bn_
\bs_
\be_
\bt, no `From:' header field will be generated unless
37294 the user explicitly sets one using the ````my_hdr'''' command.
37296 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b30
\b0.
\b. u
\bus
\bse
\ber
\br_
\b_a
\bag
\bge
\ben
\bnt
\bt
37297 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b50
\b0.
\b. u
\bus
\bse
\be_
\b_i
\bip
\bpv
\bv6
\b6
37302 + When _
\bs_
\be_
\bt, Mutt will look for IPv6 addresses of hosts it tries to
37303 + contact. If this option is unset, Mutt will restrict itself to IPv4
37304 + addresses. Normally, the default should work.
37306 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b51
\b1.
\b. u
\bus
\bse
\ber
\br_
\b_a
\bag
\bge
\ben
\bnt
\bt
37310 @@ -5998,7 +6255,7 @@
37311 When _
\bs_
\be_
\bt, mutt will add a "User-Agent" header to outgoing messages,
37312 indicating which version of mutt was used for composing them.
37314 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b31
\b1.
\b. v
\bvi
\bis
\bsu
\bua
\bal
\bl
37315 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b52
\b2.
\b. v
\bvi
\bis
\bsu
\bua
\bal
\bl
37319 @@ -6006,7 +6263,7 @@
37320 Specifies the visual editor to invoke when the _
\b~_
\bv command is given in
37321 the builtin editor.
37323 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b32
\b2.
\b. w
\bwa
\bai
\bit
\bt_
\b_k
\bke
\bey
\by
37324 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b53
\b3.
\b. w
\bwa
\bai
\bit
\bt_
\b_k
\bke
\bey
\by
37328 @@ -6021,7 +6278,7 @@
37329 When set, Mutt will always ask for a key. When unset, Mutt will wait
37330 for a key only if the external command returned a non-zero status.
37332 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b33
\b3.
\b. w
\bwe
\bee
\bed
\bd
37333 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b54
\b4.
\b. w
\bwe
\bee
\bed
\bd
37337 @@ -6029,7 +6286,7 @@
37338 When set, mutt will weed headers when when displaying, forwarding,
37339 printing, or replying to messages.
37341 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b34
\b4.
\b. w
\bwr
\bra
\bap
\bp_
\b_s
\bse
\bea
\bar
\brc
\bch
\bh
37342 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b55
\b5.
\b. w
\bwr
\bra
\bap
\bp_
\b_s
\bse
\bea
\bar
\brc
\bch
\bh
37346 @@ -6039,7 +6296,7 @@
37347 When set, searches will wrap around the first (or last) message. When
37348 unset, searches will not wrap.
37350 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b35
\b5.
\b. w
\bwr
\bra
\bap
\bpm
\bma
\bar
\brg
\bgi
\bin
\bn
37351 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b56
\b6.
\b. w
\bwr
\bra
\bap
\bpm
\bma
\bar
\brg
\bgi
\bin
\bn
37355 @@ -6047,7 +6304,7 @@
37356 Controls the margin left at the right side of the terminal when mutt's
37357 pager does smart wrapping.
37359 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b36
\b6.
\b. w
\bwr
\bri
\bit
\bte
\be_
\b_i
\bin
\bnc
\bc
37360 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b57
\b7.
\b. w
\bwr
\bri
\bit
\bte
\be_
\b_i
\bin
\bnc
\bc
37364 @@ -6058,7 +6315,7 @@
37366 Also see the ````$read_inc'''' variable.
37368 - 6
\b6.
\b.3
\b3.
\b.2
\b23
\b37
\b7.
\b. w
\bwr
\bri
\bit
\bte
\be_
\b_b
\bbc
\bcc
\bc
37369 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b58
\b8.
\b. w
\bwr
\bri
\bit
\bte
\be_
\b_b
\bbc
\bcc
\bc
37373 @@ -6066,6 +6323,14 @@
37374 Controls whether mutt writes out the Bcc header when preparing
37375 messages to be sent. Exim users may wish to use this.
37377 + 6
\b6.
\b.3
\b3.
\b.2
\b25
\b59
\b9.
\b. x
\bx_
\b_c
\bco
\bom
\bmm
\bme
\ben
\bnt
\bt_
\b_t
\bto
\bo
37382 + If _
\bs_
\be_
\bt, Mutt will add ``X-Comment-To:'' field (that contains full name
37383 + of original article author) to article that followuped to newsgroup.
37385 6
\b6.
\b.4
\b4.
\b. F
\bFu
\bun
\bnc
\bct
\bti
\bio
\bon
\bns
\bs
37387 The following is the list of available functions listed by the mapping
37388 diff -uNr mutt-1.4.orig/doc/mutt.man mutt-1.4/doc/mutt.man
37389 --- mutt-1.4.orig/doc/mutt.man Thu Aug 30 14:55:37 2001
37390 +++ mutt-1.4/doc/mutt.man Sun Nov 3 21:57:20 2002
37396 -[-e \fIcmd\fP] [-F \fIfile\fP] [-m \fItype\fP] [-f \fIfile\fP]
37398 +[-e \fIcmd\fP] [-F \fIfile\fP] [-g \fIserver\fP] [-m \fItype\fP] [-f \fIfile\fP]
37403 Specify which mailbox to load.
37404 .IP "-F \fImuttrc\fP"
37405 Specify an initialization file to read instead of ~/.muttrc
37406 +.IP "-g \fIserver\fP"
37407 +Start Mutt with a listing of subscribed newsgroups at specified newsserver.
37409 +Start Mutt with a listing of subscribed newsgroups.
37412 .IP "-H \fIdraft\fP"
37413 diff -uNr mutt-1.4.orig/doc/muttrc.man mutt-1.4/doc/muttrc.man
37414 --- mutt-1.4.orig/doc/muttrc.man Sun Nov 3 21:42:51 2002
37415 +++ mutt-1.4/doc/muttrc.man Sun Nov 3 21:57:47 2002
37416 @@ -257,7 +257,9 @@
37417 \fBpgp-hook\fP \fIpattern\fP \fIkey-id\fP
37418 The pgp-hook command provides a method by which you can
37419 specify the ID of the public key to be used when encrypting messages
37420 -to a certain recipient.
37421 +to a certain recipient. You may use multiple \fBpgp-hook\fPs with the
37422 +same \fIpattern\fP; multiple matching \fBpgp-hook\fPs result in the use
37423 +of multiple \fIkey-id\fPs for recipient.
37426 \fBopen-hook\fP \fIregexp\fP "\fIcommand\fP"
37427 @@ -622,6 +624,28 @@
37437 +If set, Mutt will prompt you for follow-up groups before editing
37438 +the body of an outgoing message.
37442 +.B ask_x_comment_to
37448 +If set, Mutt will prompt you for x-comment-to field before editing
37449 +the body of an outgoing message.
37456 @@ -773,6 +797,17 @@
37460 +.B catchup_newsgroup
37466 +If this variable is \fIset\fP, Mutt will mark all articles in newsgroup
37467 +as read when you quit the newsgroup (catchup newsgroup).
37474 @@ -990,7 +1025,7 @@
37478 -Default: \(lq/usr/local/bin/mutt_dotlock\(rq
37479 +Default: \(lq/usr/bin/mutt_dotlock\(rq
37482 Contains the path of the mutt_dotlock (8) binary to be used by
37483 @@ -1161,6 +1196,16 @@
37493 +Specifies the number of folder columns in folder browser.
37500 @@ -1235,6 +1280,19 @@
37504 +.B followup_to_poster
37510 +If this variable is \fIset\fP and the keyword \(rqposter\(rq is present in
37511 +\fIFollowup-To\fP header, follow-up to newsgroup function is not
37512 +permitted. The message will be mailed to the submitter of the
37520 @@ -1319,6 +1377,39 @@
37524 +.B group_index_format
37527 +Default: \(lq%4C %M%N %5s %-45.45f %d\(rq
37530 +This variable allows you to customize the newsgroup browser display to
37531 +your personal taste. This string is similar to \(lqindex_format\(rq, but
37532 +has its own set of printf()-like sequences:
37540 +%C current newsgroup number
37541 +%d description of newsgroup (becomes from server)
37543 +%M - if newsgroup not allowed for direct post (moderated for example)
37544 +%N N if newsgroup is new, u if unsubscribed, blank otherwise
37545 +%n number of new articles in newsgroup
37546 +%s number of unread articles in newsgroup
37547 +%>X right justify the rest of the string and pad with character \(rqX\(rq
37548 +%|X pad to the end of the line with character \(rqX\(rq
37560 @@ -1711,6 +1802,9 @@
37562 author name, or recipient name if the message is from you
37565 +newsgroup name (if compiled with nntp support)
37568 message-id of the current message
37570 @@ -1756,6 +1850,9 @@
37572 first name of the author, or the recipient if the message is from you
37575 +name of organization of author (`organization:' field)
37578 `x-label:' field, if present
37580 @@ -1798,10 +1895,37 @@
37590 +If set, specifies the program and arguments used to deliver news posted
37591 +by Mutt. Otherwise, mutt posts article using current connection to
37592 +news server. The following printf-style sequence is understood:
37600 +%s newsserver name
37607 +Example: set inews=\(rq/usr/local/bin/inews -hS\(rq
37614 -Default: \(lq/usr/bin/ispell\(rq
37615 +Default: \(lqispell\(rq
37618 How to invoke ispell (GNU's spell-checking software).
37619 @@ -2067,6 +2191,18 @@
37629 +If \fIunset\fP, 8-bit \(lqsubject:\(rq line in article header will not be
37630 +encoded according to RFC2047 to base64. This is useful when message
37631 +is Usenet article, because MIME for news is nonstandard feature.
37635 .B mix_entry_format
37638 @@ -2131,6 +2267,142 @@
37648 +This variable controls the width of the thread tree when sorting by
37649 +threads. When set, it makes the tree approximately twice as narrow,
37650 +to allow more room the tree and message subjects. This is useful on
37658 +Default: \(lq~/.mutt\(rq
37661 +This variable pointing to directory where Mutt will save cached news
37662 +articles headers in. If \fIunset\fP, headers will not be saved at all
37663 +and will be reloaded each time when you enter to newsgroup.
37673 +This variable specifies domain name or address of NNTP server. It
37674 +defaults to the newsserver specified in the environment variable
37675 +$NNTPSERVER or contained in the file /etc/nntpserver. You can also
37676 +specify username and an alternative port for each newsserver, ie:
37678 +[nntp[s]://][username[:password]@]newsserver[:port]
37685 +Default: \(lq~/.newsrc\(rq
37688 +The file, containing info about subscribed newsgroups - names and
37689 +indexes of read articles. The following printf-style sequence
37698 +%s newsserver name
37713 +This variable defines number of articles which will be in index when
37714 +newsgroup entered. If active newsgroup have more articles than this
37715 +number, oldest articles will be ignored. Also controls how many
37716 +articles headers will be saved in cache when you quit newsgroup.
37720 +.B nntp_load_description
37726 +This variable controls whether or not descriptions for each newsgroup
37727 +must be loaded when newsgroup is added to list (first time list
37728 +loading or new newsgroup adding).
37738 +Your login name on the NNTP server. If \fIunset\fP and NNTP server requires
37739 +authentification, Mutt will prompt you for your account name when you
37740 +connect to newsserver.
37750 +Your password for NNTP account.
37760 +The time in seconds until any operations on newsgroup except post new
37761 +article will cause recheck for new news. If set to 0, Mutt will
37762 +recheck newsgroup on each operation in index (stepping, read article,
37773 +Controls whether or not Mutt will try to reconnect to newsserver when
37781 @@ -2207,6 +2479,19 @@
37785 +.B pgp_autoselectkey
37791 +If set, then a list of keys is not presented for selection when only
37792 +one matching key is available. This may be useful in conjunction with
37793 +the \fIpgp-hook\fP command (with \(lq$pgp_confirmhook\(rq set) and the
37794 +\(lq$pgp_ignore_subkeys\(rq variable.
37801 @@ -2234,6 +2519,19 @@
37805 +.B pgp_confirmhook
37811 +If set, then you will be prompted for confirmation of keys when using
37812 +the \fIpgp-hook\fP command. If unset, no such confirmation prompt will
37813 +be presented. This is generally considered unsafe, especially where
37814 +typos are concerned.
37818 .B pgp_ignore_subkeys
37821 @@ -2916,6 +3214,19 @@
37831 +If set to \fIyes\fP, Mutt will post article to newsgroup that have
37832 +not permissions to posting (e.g. moderated). \fBNote:\fP if newsserver
37833 +does not support posting to that newsgroup or totally read-only, that
37834 +posting will not have an effect.
37841 @@ -3056,6 +3367,29 @@
37851 +Controls whether or not empty lines will be quoted using
37852 +\(lqindent_string\(rq.
37862 +Controls how quoted lines will be quoted. If set, one quote
37863 +character will be added to the end of existing prefix. Otherwise,
37864 +quoted lines will be prepended by \(lqindent_string\(rq.
37870 Type: regular expression
37871 @@ -3455,6 +3789,41 @@
37875 +.B save_unsubscribed
37881 +When \fIset\fP, info about unsubscribed newsgroups will be saved into
37882 +\(lqnewsrc\(rq file and into cache.
37892 +If \fIset\fP, newsserver will be asked for new newsgroups on entering
37893 +the browser. Otherwise, it will be done only once for a newsserver.
37894 +Also controls whether or not number of new articles of subscribed
37895 +newsgroups will be then checked.
37899 +.B show_only_unread
37905 +If \fIset\fP, only subscribed newsgroups that contain unread articles
37906 +will be displayed in browser.
37913 @@ -3496,6 +3865,19 @@
37917 +.B signatures_directory
37923 +Specifies the path where your signatures are located. In the files of
37924 +this directory, the signatures are separated by blank lines and/or
37925 +sig_dashes (\(lq-- \(rq).
37926 +You can choose between these signatures from the compose menu.
37933 @@ -3788,6 +4170,11 @@
37935 currently active limit pattern, if any *
37938 +the current date and time. \(lqfmt\(rq is
37939 +expanded by the system call \(lqstrftime\(rq;
37940 +a leading bang disables locales
37943 right justify the rest of the string and pad with \(rqX\(rq
37945 @@ -3840,6 +4227,21 @@
37955 +This variable controls, if positive, the maximum interval in seconds
37956 +before the time in the status line is updated. It is checked at
37957 +every key press and after a keyboard $timeout.
37958 +If the value is zero, the status line will be updated at every check.
37959 +If it is negative, the status time will only be updated
37960 +if it necessary to update to the status line for some other reason.
37967 @@ -3960,6 +4362,18 @@
37977 +If set, this variable specifies the path of the trash folder where the
37978 +mails marked for deletion will be moved, instead of being irremediably
37986 @@ -4017,6 +4431,18 @@
37996 +When \fIset\fP, Mutt will look for IPv6 addresses of hosts it tries to
37997 +contact. If this option is unset, Mutt will restrict itself to IPv4 addresses.
37998 +Normally, the default should work.
38005 @@ -4118,6 +4544,17 @@
38006 messages to be sent. Exim users may wish to use this.
38016 +If \fIset\fP, Mutt will add \(lqX-Comment-To:\(rq field (that contains full
38017 +name of original article author) to article that followuped to newsgroup.
38023 diff -uNr mutt-1.4.orig/functions.h mutt-1.4/functions.h
38024 --- mutt-1.4.orig/functions.h Sun Nov 3 21:42:52 2002
38025 +++ mutt-1.4/functions.h Sun Nov 3 21:57:20 2002
38027 { "break-thread", OP_MAIN_BREAK_THREAD, "#" },
38028 { "change-folder", OP_MAIN_CHANGE_FOLDER, "c" },
38029 { "change-folder-readonly", OP_MAIN_CHANGE_FOLDER_READONLY, "\033c" },
38031 + { "change-newsgroup", OP_MAIN_CHANGE_GROUP, NULL },
38032 + { "change-newsgroup-readonly",OP_MAIN_CHANGE_GROUP_READONLY, NULL },
38034 { "collapse-thread", OP_MAIN_COLLAPSE_THREAD, "\033v" },
38035 { "collapse-all", OP_MAIN_COLLAPSE_ALL, "\033V" },
38036 { "copy-message", OP_COPY_MESSAGE, "C" },
38038 { "edit", OP_EDIT_MESSAGE, "e" },
38039 { "edit-type", OP_EDIT_TYPE, "\005" },
38040 { "forward-message", OP_FORWARD_MESSAGE, "f" },
38041 - { "flag-message", OP_FLAG_MESSAGE, "F" },
38043 + { "forward-to-group", OP_FORWARD_TO_GROUP, NULL },
38044 + { "followup-message", OP_FOLLOWUP, NULL },
38045 + { "get-children", OP_GET_CHILDREN, NULL },
38046 + { "get-message", OP_GET_MESSAGE, NULL },
38047 + { "get-parent", OP_GET_PARENT, NULL },
38048 + { "reconstruct-thread", OP_RECONSTRUCT_THREAD, NULL },
38050 + { "flag-message", OP_FLAG_MESSAGE, "F" },
38051 { "group-reply", OP_GROUP_REPLY, "g" },
38053 { "fetch-mail", OP_MAIN_FETCH_MAIL, "G" },
38054 @@ -108,6 +120,9 @@
38055 { "sort-mailbox", OP_SORT, "o" },
38056 { "sort-reverse", OP_SORT_REVERSE, "O" },
38057 { "print-message", OP_PRINT, "p" },
38059 + { "post-message", OP_POST, NULL },
38061 { "previous-thread", OP_MAIN_PREV_THREAD, "\020" },
38062 { "previous-subthread", OP_MAIN_PREV_SUBTHREAD, "\033p" },
38063 { "recall-message", OP_RECALL_MESSAGE, "R" },
38064 @@ -127,6 +142,10 @@
38065 { "show-version", OP_VERSION, "V" },
38066 { "set-flag", OP_MAIN_SET_FLAG, "w" },
38067 { "clear-flag", OP_MAIN_CLEAR_FLAG, "W" },
38068 + { "toggle-read", OP_TOGGLE_READ, NULL },
38070 + { "catchup", OP_CATCHUP, NULL },
38072 { "display-message", OP_DISPLAY_MESSAGE, M_ENTER_S },
38073 { "sync-mailbox", OP_MAIN_SYNC_FOLDER, "$" },
38074 { "display-address", OP_DISPLAY_ADDRESS, "@" },
38075 @@ -158,6 +177,10 @@
38076 { "bounce-message", OP_BOUNCE_MESSAGE, "b" },
38077 { "change-folder", OP_MAIN_CHANGE_FOLDER, "c" },
38078 { "change-folder-readonly", OP_MAIN_CHANGE_FOLDER_READONLY, "\033c" },
38080 + { "change-newsgroup", OP_MAIN_CHANGE_GROUP, NULL },
38081 + { "change-newsgroup-readonly",OP_MAIN_CHANGE_GROUP_READONLY, NULL },
38083 { "copy-message", OP_COPY_MESSAGE, "C" },
38084 { "decode-copy", OP_DECODE_COPY, "\033C" },
38085 { "delete-message", OP_DELETE, "d" },
38086 @@ -165,8 +188,12 @@
38087 { "delete-subthread", OP_DELETE_SUBTHREAD, "\033d" },
38088 { "edit", OP_EDIT_MESSAGE, "e" },
38089 { "edit-type", OP_EDIT_TYPE, "\005" },
38091 + { "followup-message", OP_FOLLOWUP, NULL },
38092 + { "forward-to-group", OP_FORWARD_TO_GROUP, NULL },
38094 { "forward-message", OP_FORWARD_MESSAGE, "f" },
38095 - { "flag-message", OP_FLAG_MESSAGE, "F" },
38096 + { "flag-message", OP_FLAG_MESSAGE, "F" },
38097 { "group-reply", OP_GROUP_REPLY, "g" },
38099 { "imap-fetch-mail", OP_MAIN_IMAP_FETCH, NULL },
38100 @@ -185,6 +212,9 @@
38101 { "next-thread", OP_MAIN_NEXT_THREAD, "\016" },
38102 { "next-subthread", OP_MAIN_NEXT_SUBTHREAD, "\033n" },
38103 { "print-message", OP_PRINT, "p" },
38105 + { "post-message", OP_POST, NULL },
38107 { "previous-thread", OP_MAIN_PREV_THREAD, "\020" },
38108 { "previous-subthread",OP_MAIN_PREV_SUBTHREAD, "\033p" },
38109 { "purge-message", OP_PURGE_MESSAGE, NULL },
38110 @@ -252,6 +282,10 @@
38111 { "bounce-message", OP_BOUNCE_MESSAGE, "b" },
38112 { "display-toggle-weed", OP_DISPLAY_HEADERS, "h" },
38113 { "edit-type", OP_EDIT_TYPE, "\005" },
38115 + { "followup-message", OP_FOLLOWUP, NULL },
38116 + { "forward-to-group", OP_FORWARD_TO_GROUP, NULL },
38118 { "print-entry", OP_PRINT, "p" },
38119 { "save-entry", OP_SAVE, "s" },
38120 { "pipe-entry", OP_PIPE, "|" },
38121 @@ -282,6 +316,7 @@
38122 struct binding_t OpCompose[] = {
38123 { "attach-file", OP_COMPOSE_ATTACH_FILE, "a" },
38124 { "attach-message", OP_COMPOSE_ATTACH_MESSAGE, "A" },
38125 + { "attach-news-message",OP_COMPOSE_ATTACH_NEWS_MESSAGE,NULL },
38126 { "edit-bcc", OP_COMPOSE_EDIT_BCC, "b" },
38127 { "edit-cc", OP_COMPOSE_EDIT_CC, "c" },
38128 { "copy-file", OP_SAVE, "C" },
38129 @@ -301,6 +336,11 @@
38130 { "print-entry", OP_PRINT, "l" },
38131 { "edit-mime", OP_COMPOSE_EDIT_MIME, "m" },
38132 { "new-mime", OP_COMPOSE_NEW_MIME, "n" },
38134 + { "edit-newsgroups", OP_COMPOSE_EDIT_NEWSGROUPS, NULL },
38135 + { "edit-followup-to", OP_COMPOSE_EDIT_FOLLOWUP_TO, NULL },
38136 + { "edit-x-comment-to",OP_COMPOSE_EDIT_X_COMMENT_TO, NULL },
38138 { "postpone-message", OP_COMPOSE_POSTPONE_MESSAGE, "P" },
38139 { "edit-reply-to", OP_COMPOSE_EDIT_REPLY_TO, "r" },
38140 { "rename-file", OP_COMPOSE_RENAME_FILE, "R" },
38141 @@ -352,12 +392,23 @@
38142 { "select-new", OP_BROWSER_NEW_FILE, "N" },
38143 { "check-new", OP_CHECK_NEW, NULL },
38144 { "toggle-mailboxes", OP_TOGGLE_MAILBOXES, "\t" },
38146 + { "reload-active", OP_LOAD_ACTIVE, NULL},
38147 + { "subscribe-pattern", OP_SUBSCRIBE_PATTERN, NULL },
38148 + { "unsubscribe-pattern", OP_UNSUBSCRIBE_PATTERN, NULL },
38149 + { "catchup", OP_CATCHUP, NULL },
38150 + { "uncatchup", OP_UNCATCHUP, NULL },
38152 { "view-file", OP_BROWSER_VIEW_FILE, " " },
38154 { "create-mailbox", OP_CREATE_MAILBOX, "C" },
38155 { "delete-mailbox", OP_DELETE_MAILBOX, "d" },
38157 +#if defined USE_IMAP || defined USE_NNTP
38158 { "subscribe", OP_BROWSER_SUBSCRIBE, "s" },
38159 { "unsubscribe", OP_BROWSER_UNSUBSCRIBE, "u" },
38162 { "toggle-subscribed", OP_BROWSER_TOGGLE_LSUB, "T" },
38165 diff -uNr mutt-1.4.orig/globals.h mutt-1.4/globals.h
38166 --- mutt-1.4.orig/globals.h Sun Nov 3 21:42:52 2002
38167 +++ mutt-1.4/globals.h Sun Nov 3 21:57:20 2002
38171 WHERE char *Muttrc INITVAL (NULL);
38173 +WHERE char *NewsCacheDir;
38174 +WHERE char *GroupFormat;
38175 +WHERE char *Inews;
38176 +WHERE char *NewsServer;
38177 +WHERE char *NntpUser;
38178 +WHERE char *NntpPass;
38179 +WHERE char *NewsRc;
38181 WHERE char *Outbox;
38183 WHERE char *PagerFmt;
38184 @@ -146,6 +155,11 @@
38186 WHERE unsigned short Counter INITVAL (0);
38189 +WHERE short NewsPollTimeout;
38190 +WHERE short NntpContext;
38193 WHERE short ConnectTimeout;
38194 WHERE short FolderColumns;
38195 WHERE short HistSize;
38196 diff -uNr mutt-1.4.orig/hash.c mutt-1.4/hash.c
38197 --- mutt-1.4.orig/hash.c Mon Nov 19 11:41:32 2001
38198 +++ mutt-1.4/hash.c Sun Nov 3 21:57:20 2002
38199 @@ -47,10 +47,35 @@
38202 table->nelem = nelem;
38203 + table->curnelem = 0;
38204 table->table = safe_calloc (nelem, sizeof (struct hash_elem *));
38208 +HASH *hash_resize (HASH *ptr, int nelem)
38211 + struct hash_elem *elem, *tmp;
38214 + table = hash_create (nelem);
38216 + for (i = 0; i < ptr->nelem; i++)
38218 + for (elem = ptr->table[i]; elem; )
38221 + elem = elem->next;
38222 + hash_insert (table, tmp->key, tmp->data, 1);
38223 + safe_free ((void **) &tmp);
38226 + safe_free ((void **) &ptr->table);
38227 + safe_free ((void **) &ptr);
38232 /* table hash table to update
38233 * key key to hash on
38234 * data data to associate with `key'
38237 ptr->next = table->table[h];
38238 table->table[h] = ptr;
38239 + table->curnelem++;
38245 table->table[h] = ptr;
38247 + table->curnelem++;
38251 @@ -124,6 +151,7 @@
38253 if (destroy) destroy (ptr->data);
38255 + table->curnelem--;
38259 diff -uNr mutt-1.4.orig/hash.h mutt-1.4/hash.h
38260 --- mutt-1.4.orig/hash.h Fri Mar 3 11:10:08 2000
38261 +++ mutt-1.4/hash.h Sun Nov 3 21:57:20 2002
38267 + int nelem, curnelem;
38268 struct hash_elem **table;
38272 HASH *hash_create (int nelem);
38273 int hash_string (const unsigned char *s, int n);
38274 int hash_insert (HASH * table, const char *key, void *data, int allow_dup);
38275 +HASH *hash_resize (HASH * table, int nelem);
38276 void *hash_find_hash (const HASH * table, int hash, const char *key);
38277 void hash_delete_hash (HASH * table, int hash, const char *key, const void *data,
38278 void (*destroy) (void *));
38279 diff -uNr mutt-1.4.orig/hdrline.c mutt-1.4/hdrline.c
38280 --- mutt-1.4.orig/hdrline.c Sun Nov 3 21:42:52 2002
38281 +++ mutt-1.4/hdrline.c Sun Nov 3 21:57:20 2002
38282 @@ -255,6 +255,7 @@
38283 * %E = number of messages in current thread
38284 * %f = entire from line
38285 * %F = like %n, unless from self
38286 + * %g = newsgroup name (if compiled with nntp support)
38288 * %l = number of lines in the message
38289 * %L = like %F, except `lists' are displayed first
38290 @@ -268,6 +269,7 @@
38292 * %u = user (login) name of author
38293 * %v = first name of author, unless from self
38294 + * %W = where user is (organization)
38295 * %y = `x-label:' field (if present)
38296 * %Y = `x-label:' field (if present, tree unfolded, and != parent's x-label)
38297 * %Z = status flags */
38298 @@ -484,6 +486,12 @@
38304 + mutt_format_s (dest, destlen, prefix, hdr->env->newsgroups ? hdr->env->newsgroups : "");
38309 mutt_format_s (dest, destlen, prefix, hdr->env->message_id ? hdr->env->message_id : "<no.id>");
38311 @@ -655,6 +663,13 @@
38312 mutt_format_s (dest, destlen, prefix, buf2);
38317 + mutt_format_s (dest, destlen, prefix, hdr->env->organization ? hdr->env->organization : "");
38318 + else if (!hdr->env->organization)
38325 diff -uNr mutt-1.4.orig/headers.c mutt-1.4/headers.c
38326 --- mutt-1.4.orig/headers.c Mon Nov 5 22:19:33 2001
38327 +++ mutt-1.4/headers.c Sun Nov 3 21:57:20 2002
38328 @@ -115,6 +115,9 @@
38329 msg->env = n; n = NULL;
38331 if (!msg->env->in_reply_to)
38333 + if (!option (OPTNEWSSEND))
38335 mutt_free_list (&msg->env->references);
38337 mutt_expand_aliases_env (msg->env);
38338 diff -uNr mutt-1.4.orig/imap/Makefile.in mutt-1.4/imap/Makefile.in
38339 --- mutt-1.4.orig/imap/Makefile.in Wed May 29 11:31:24 2002
38340 +++ mutt-1.4/imap/Makefile.in Sun Nov 3 21:57:30 2002
38342 -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
38343 +# Makefile.in generated by automake 1.6.3 from Makefile.am.
38344 +# @configure_input@
38346 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
38347 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
38348 +# Free Software Foundation, Inc.
38349 # This Makefile.in is free software; the Free Software Foundation
38350 # gives unlimited permission to copy and/or distribute it,
38351 # with or without modifications, as long as this notice is preserved.
38353 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
38354 # PARTICULAR PURPOSE.
38363 includedir = @includedir@
38364 oldincludedir = /usr/include
38368 pkgdatadir = $(datadir)/@PACKAGE@
38369 pkglibdir = $(libdir)/@PACKAGE@
38370 pkgincludedir = $(includedir)/@PACKAGE@
38374 ACLOCAL = @ACLOCAL@
38375 @@ -45,12 +43,16 @@
38376 AUTOMAKE = @AUTOMAKE@
38377 AUTOHEADER = @AUTOHEADER@
38379 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
38380 INSTALL = @INSTALL@
38381 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
38382 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
38383 INSTALL_DATA = @INSTALL_DATA@
38384 +install_sh_DATA = $(install_sh) -c -m 644
38385 +install_sh_PROGRAM = $(install_sh) -c
38386 +install_sh_SCRIPT = $(install_sh) -c
38387 INSTALL_SCRIPT = @INSTALL_SCRIPT@
38388 +INSTALL_HEADER = $(INSTALL_DATA)
38389 transform = @program_transform_name@
38396 host_alias = @host_alias@
38397 host_triplet = @host@
38401 +PATH_SEPARATOR = @PATH_SEPARATOR@
38406 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
38407 CATALOGS = @CATALOGS@
38408 CATOBJEXT = @CATOBJEXT@
38410 DATADIRNAME = @DATADIRNAME@
38412 DEBUGGER = @DEBUGGER@
38414 DOTLOCK_GROUP = @DOTLOCK_GROUP@
38415 DOTLOCK_PERMISSION = @DOTLOCK_PERMISSION@
38416 DOTLOCK_TARGET = @DOTLOCK_TARGET@
38418 GLIBC21 = @GLIBC21@
38419 GMOFILES = @GMOFILES@
38420 GMSGFMT = @GMSGFMT@
38421 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
38422 INSTOBJEXT = @INSTOBJEXT@
38423 INTLBISON = @INTLBISON@
38424 INTLLIBS = @INTLLIBS@
38426 LIBICONV = @LIBICONV@
38427 LIBIMAP = @LIBIMAP@
38428 LIBIMAPDEPS = @LIBIMAPDEPS@
38429 -MAKEINFO = @MAKEINFO@
38430 MKINSTALLDIRS = @MKINSTALLDIRS@
38432 MUTTLIBS = @MUTTLIBS@
38433 @@ -98,18 +109,21 @@
38436 SENDMAIL = @SENDMAIL@
38438 SUBVERSION = @SUBVERSION@
38440 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
38441 USE_NLS = @USE_NLS@
38442 VERSION = @VERSION@
38443 +am__include = @am__include@
38444 +am__quote = @am__quote@
38448 +install_sh = @install_sh@
38450 AUTOMAKE_OPTIONS = foreign
38452 @USE_GSS_TRUE@GSSSOURCES = auth_gss.c
38454 @USE_SASL_TRUE@AUTHENTICATORS = auth_sasl.c
38455 @USE_SASL_FALSE@AUTHENTICATORS = auth_anon.c auth_cram.c
38457 @@ -120,206 +134,241 @@
38458 noinst_LIBRARIES = libimap.a
38459 noinst_HEADERS = auth.h imap_private.h message.h
38461 -libimap_a_SOURCES = auth.c auth_login.c browse.c command.c imap.c imap.h message.c utf7.c util.c $(AUTHENTICATORS) $(GSSSOURCES)
38462 +libimap_a_SOURCES = auth.c auth_login.c browse.c command.c imap.c imap.h \
38463 + message.c utf7.c util.c $(AUTHENTICATORS) $(GSSSOURCES)
38466 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
38467 -CONFIG_HEADER = ../config.h
38468 -CONFIG_CLEAN_FILES =
38469 -LIBRARIES = $(noinst_LIBRARIES)
38470 +CONFIG_HEADER = $(top_builddir)/config.h
38471 +CONFIG_CLEAN_FILES =
38472 +LIBRARIES = $(noinst_LIBRARIES)
38474 +libimap_a_AR = $(AR) cru
38475 +libimap_a_LIBADD =
38476 +@USE_SASL_TRUE@am__objects_1 = auth_sasl.$(OBJEXT)
38477 +@USE_SASL_FALSE@am__objects_1 = auth_anon.$(OBJEXT) auth_cram.$(OBJEXT)
38478 +@USE_GSS_TRUE@am__objects_2 = auth_gss.$(OBJEXT)
38479 +am_libimap_a_OBJECTS = auth.$(OBJEXT) auth_login.$(OBJEXT) \
38480 + browse.$(OBJEXT) command.$(OBJEXT) imap.$(OBJEXT) \
38481 + message.$(OBJEXT) utf7.$(OBJEXT) util.$(OBJEXT) \
38482 + $(am__objects_1) $(am__objects_2)
38483 +libimap_a_OBJECTS = $(am_libimap_a_OBJECTS)
38486 -DEFS = @DEFS@ -I. -I$(srcdir) -I..
38488 +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
38489 CPPFLAGS = @CPPFLAGS@
38490 LDFLAGS = @LDFLAGS@
38492 -libimap_a_LIBADD =
38493 -@USE_SASL_TRUE@@USE_GSS_TRUE@libimap_a_OBJECTS = auth.o auth_login.o \
38494 -@USE_SASL_TRUE@@USE_GSS_TRUE@browse.o command.o imap.o message.o utf7.o \
38495 -@USE_SASL_TRUE@@USE_GSS_TRUE@util.o auth_sasl.o auth_gss.o
38496 -@USE_SASL_FALSE@@USE_GSS_TRUE@libimap_a_OBJECTS = auth.o auth_login.o \
38497 -@USE_SASL_FALSE@@USE_GSS_TRUE@browse.o command.o imap.o message.o \
38498 -@USE_SASL_FALSE@@USE_GSS_TRUE@utf7.o util.o auth_anon.o auth_cram.o \
38499 -@USE_SASL_FALSE@@USE_GSS_TRUE@auth_gss.o
38500 -@USE_SASL_FALSE@@USE_GSS_FALSE@libimap_a_OBJECTS = auth.o auth_login.o \
38501 -@USE_SASL_FALSE@@USE_GSS_FALSE@browse.o command.o imap.o message.o \
38502 -@USE_SASL_FALSE@@USE_GSS_FALSE@utf7.o util.o auth_anon.o auth_cram.o
38503 -@USE_SASL_TRUE@@USE_GSS_FALSE@libimap_a_OBJECTS = auth.o auth_login.o \
38504 -@USE_SASL_TRUE@@USE_GSS_FALSE@browse.o command.o imap.o message.o \
38505 -@USE_SASL_TRUE@@USE_GSS_FALSE@utf7.o util.o auth_sasl.o
38507 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
38508 +depcomp = $(SHELL) $(top_srcdir)/depcomp
38509 +am__depfiles_maybe = depfiles
38510 +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/auth.Po ./$(DEPDIR)/auth_anon.Po \
38511 +@AMDEP_TRUE@ ./$(DEPDIR)/auth_cram.Po ./$(DEPDIR)/auth_gss.Po \
38512 +@AMDEP_TRUE@ ./$(DEPDIR)/auth_login.Po ./$(DEPDIR)/auth_sasl.Po \
38513 +@AMDEP_TRUE@ ./$(DEPDIR)/browse.Po ./$(DEPDIR)/command.Po \
38514 +@AMDEP_TRUE@ ./$(DEPDIR)/imap.Po ./$(DEPDIR)/message.Po \
38515 +@AMDEP_TRUE@ ./$(DEPDIR)/utf7.Po ./$(DEPDIR)/util.Po
38516 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
38517 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
38519 -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
38520 -HEADERS = $(noinst_HEADERS)
38522 -DIST_COMMON = README Makefile.am Makefile.in TODO
38525 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
38526 +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
38528 +DIST_SOURCES = $(libimap_a_SOURCES)
38529 +HEADERS = $(noinst_HEADERS)
38533 +DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in TODO
38534 SOURCES = $(libimap_a_SOURCES)
38535 -OBJECTS = $(libimap_a_OBJECTS)
38539 -.SUFFIXES: .S .c .o .s
38540 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
38541 - cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps imap/Makefile
38543 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
38544 - cd $(top_builddir) \
38545 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
38549 -mostlyclean-noinstLIBRARIES:
38551 +.SUFFIXES: .c .o .obj
38552 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
38553 + cd $(top_srcdir) && \
38554 + $(AUTOMAKE) --foreign imap/Makefile
38555 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
38556 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
38558 clean-noinstLIBRARIES:
38559 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
38561 -distclean-noinstLIBRARIES:
38563 -maintainer-clean-noinstLIBRARIES:
38573 +libimap.a: $(libimap_a_OBJECTS) $(libimap_a_DEPENDENCIES)
38575 + $(libimap_a_AR) libimap.a $(libimap_a_OBJECTS) $(libimap_a_LIBADD)
38576 + $(RANLIB) libimap.a
38578 mostlyclean-compile:
38579 - -rm -f *.o core *.core
38582 + -rm -f *.$(OBJEXT) core *.core
38587 -maintainer-clean-compile:
38588 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth.Po@am__quote@
38589 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth_anon.Po@am__quote@
38590 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth_cram.Po@am__quote@
38591 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth_gss.Po@am__quote@
38592 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth_login.Po@am__quote@
38593 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/auth_sasl.Po@am__quote@
38594 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/browse.Po@am__quote@
38595 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command.Po@am__quote@
38596 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/imap.Po@am__quote@
38597 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/message.Po@am__quote@
38598 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf7.Po@am__quote@
38599 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Po@am__quote@
38601 -libimap.a: $(libimap_a_OBJECTS) $(libimap_a_DEPENDENCIES)
38603 - $(AR) cru libimap.a $(libimap_a_OBJECTS) $(libimap_a_LIBADD)
38604 - $(RANLIB) libimap.a
38606 + -rm -rf ./$(DEPDIR)
38609 +@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
38610 +@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
38611 +@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
38612 + $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
38615 +@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
38616 +@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
38617 +@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
38618 + $(COMPILE) -c `cygpath -w $<`
38619 +CCDEPMODE = @CCDEPMODE@
38620 +uninstall-info-am:
38627 -ID: $(HEADERS) $(SOURCES) $(LISP)
38628 - list='$(SOURCES) $(HEADERS)'; \
38629 - unique=`for i in $$list; do echo $$i; done | \
38630 - awk ' { files[$$0] = 1; } \
38631 +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
38632 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
38633 + unique=`for i in $$list; do \
38634 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38636 + $(AWK) ' { files[$$0] = 1; } \
38637 END { for (i in files) print i; }'`; \
38638 - here=`pwd` && cd $(srcdir) \
38639 - && mkid -f$$here/ID $$unique $(LISP)
38640 + mkid -fID $$unique
38642 -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
38643 +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
38644 + $(TAGS_FILES) $(LISP)
38647 - list='$(SOURCES) $(HEADERS)'; \
38648 - unique=`for i in $$list; do echo $$i; done | \
38649 - awk ' { files[$$0] = 1; } \
38650 + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
38651 + unique=`for i in $$list; do \
38652 + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
38654 + $(AWK) ' { files[$$0] = 1; } \
38655 END { for (i in files) print i; }'`; \
38656 - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
38657 - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
38662 + test -z "$(ETAGS_ARGS)$$tags$$unique" \
38663 + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
38667 + here=`$(am__cd) $(top_builddir) && pwd` \
38668 + && cd $(top_srcdir) \
38669 + && gtags -i $(GTAGS_ARGS) $$here
38673 + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
38674 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
38676 -maintainer-clean-tags:
38678 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
38682 +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
38684 distdir: $(DISTFILES)
38685 - @for file in $(DISTFILES); do \
38687 + @list='$(DISTFILES)'; for file in $$list; do \
38688 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
38689 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
38690 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
38692 + $(mkinstalldirs) "$(distdir)$$dir"; \
38696 if test -d $$d/$$file; then \
38697 - cp -pr $$d/$$file $(distdir)/$$file; \
38698 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
38699 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
38701 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
38703 test -f $(distdir)/$$file \
38704 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
38705 - || cp -p $$d/$$file $(distdir)/$$file || :; \
38706 + || cp -p $$d/$$file $(distdir)/$$file \
38718 -installcheck: installcheck-am
38720 -install-exec: install-exec-am
38721 +all-am: Makefile $(LIBRARIES) $(HEADERS)
38724 -install-data: install-data-am
38727 -install-am: all-am
38728 - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38729 install: install-am
38731 +install-exec: install-exec-am
38732 +install-data: install-data-am
38733 uninstall: uninstall-am
38734 -all-am: Makefile $(LIBRARIES) $(HEADERS)
38735 -all-redirect: all-am
38737 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
38740 +install-am: all-am
38741 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
38743 +installcheck: installcheck-am
38745 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
38746 + INSTALL_STRIP_FLAG=-s \
38747 + `test -z '$(STRIP)' || \
38748 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
38749 mostlyclean-generic:
38754 -rm -f Makefile $(CONFIG_CLEAN_FILES)
38755 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
38757 maintainer-clean-generic:
38758 -mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
38759 - mostlyclean-tags mostlyclean-generic
38760 + @echo "This command is intended for maintainers to use"
38761 + @echo "it deletes files that may require special tools to rebuild."
38764 -mostlyclean: mostlyclean-am
38765 +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
38767 -clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
38769 +distclean: distclean-am
38772 +distclean-am: clean-am distclean-compile distclean-depend \
38773 + distclean-generic distclean-tags
38775 -distclean-am: distclean-noinstLIBRARIES distclean-compile \
38776 - distclean-tags distclean-generic clean-am
38779 -distclean: distclean-am
38782 -maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
38783 - maintainer-clean-compile maintainer-clean-tags \
38784 - maintainer-clean-generic distclean-am
38785 - @echo "This command is intended for maintainers to use;"
38786 - @echo "it deletes files that may require special tools to rebuild."
38795 +install-info: install-info-am
38801 maintainer-clean: maintainer-clean-am
38803 -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
38804 -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
38805 -mostlyclean-compile distclean-compile clean-compile \
38806 -maintainer-clean-compile tags mostlyclean-tags distclean-tags \
38807 -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
38808 -check-am installcheck-am installcheck install-exec-am install-exec \
38809 -install-data-am install-data install-am install uninstall-am uninstall \
38810 -all-redirect all-am all installdirs mostlyclean-generic \
38811 -distclean-generic clean-generic maintainer-clean-generic clean \
38812 -mostlyclean distclean maintainer-clean
38813 +maintainer-clean-am: distclean-am maintainer-clean-generic
38815 +mostlyclean: mostlyclean-am
38817 +mostlyclean-am: mostlyclean-compile mostlyclean-generic
38819 +uninstall-am: uninstall-info-am
38821 +.PHONY: GTAGS all all-am check check-am clean clean-generic \
38822 + clean-noinstLIBRARIES distclean distclean-compile \
38823 + distclean-depend distclean-generic distclean-tags distdir dvi \
38824 + dvi-am info info-am install install-am install-data \
38825 + install-data-am install-exec install-exec-am install-info \
38826 + install-info-am install-man install-strip installcheck \
38827 + installcheck-am installdirs maintainer-clean \
38828 + maintainer-clean-generic mostlyclean mostlyclean-compile \
38829 + mostlyclean-generic tags uninstall uninstall-am \
38830 + uninstall-info-am
38832 # Tell versions [3.59,3.63) of GNU make to not export all variables.
38833 # Otherwise a system limit (for SysV at least) may be exceeded.
38834 diff -uNr mutt-1.4.orig/init.c mutt-1.4/init.c
38835 --- mutt-1.4.orig/init.c Sun Nov 3 21:42:51 2002
38836 +++ mutt-1.4/init.c Sun Nov 3 21:57:20 2002
38837 @@ -1789,6 +1789,28 @@
38839 Fqdn = safe_strdup(NONULL(Hostname));
38846 + if ((f = safe_fopen (SYSCONFDIR "/nntpserver", "r")))
38848 + buffer[0] = '\0';
38849 + fgets (buffer, sizeof (buffer), f);
38853 + while (*i && (*i != ' ') && (*i != '\t') && (*i != '\r') && (*i != '\n')) i++;
38855 + NewsServer = safe_strdup (p);
38859 + if ((p = getenv ("NNTPSERVER")))
38860 + NewsServer = safe_strdup (p);
38863 if ((p = getenv ("MAIL")))
38864 Spoolfile = safe_strdup (p);
38865 else if ((p = getenv ("MAILDIR")))
38866 diff -uNr mutt-1.4.orig/init.h mutt-1.4/init.h
38867 --- mutt-1.4.orig/init.h Sun Nov 3 21:42:52 2002
38868 +++ mutt-1.4/init.h Sun Nov 3 21:57:20 2002
38869 @@ -193,6 +193,20 @@
38870 ** If set, Mutt will prompt you for carbon-copy (Cc) recipients before
38871 ** editing the body of an outgoing message.
38874 + { "ask_follow_up", DT_BOOL, R_NONE, OPTASKFOLLOWUP, 0 },
38877 + ** If set, Mutt will prompt you for follow-up groups before editing
38878 + ** the body of an outgoing message.
38880 + { "ask_x_comment_to", DT_BOOL, R_NONE, OPTASKXCOMMENTTO, 0 },
38883 + ** If set, Mutt will prompt you for x-comment-to field before editing
38884 + ** the body of an outgoing message.
38887 { "attach_format", DT_STR, R_NONE, UL &AttachFormat, UL "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " },
38890 @@ -273,6 +287,14 @@
38891 ** When this variable is set, mutt will include Delivered-To headers when
38892 ** bouncing messages. Postfix users may wish to unset this variable.
38895 + { "catchup_newsgroup", DT_QUAD, R_NONE, OPT_CATCHUP, M_ASKYES },
38898 + ** If this variable is \fIset\fP, Mutt will mark all articles in newsgroup
38899 + ** as read when you quit the newsgroup (catchup newsgroup).
38902 { "charset", DT_STR, R_NONE, UL &Charset, UL 0 },
38905 @@ -565,6 +587,16 @@
38906 ** subscribed list will be sent to both the list and your address,
38907 ** resulting in two copies of the same email for you.
38910 + { "followup_to_poster", DT_QUAD, R_NONE, OPT_FOLLOWUPTOPOSTER, M_ASKYES },
38913 + ** If this variable is \fIset\fP and the keyword "poster" is present in
38914 + ** \fIFollowup-To\fP header, follow-up to newsgroup function is not
38915 + ** permitted. The message will be mailed to the submitter of the
38916 + ** message via mail.
38919 { "force_name", DT_BOOL, R_NONE, OPTFORCENAME, 0 },
38922 @@ -628,6 +660,27 @@
38923 ** a regular expression that will match the whole name so mutt will expand
38924 ** "Franklin" to "Franklin, Steve".
38927 + { "group_index_format", DT_STR, R_BOTH, UL &GroupFormat, UL "%4C %M%N %5s %-45.45f %d" },
38930 + ** This variable allows you to customize the newsgroup browser display to
38931 + ** your personal taste. This string is similar to ``$index_format'', but
38932 + ** has its own set of printf()-like sequences:
38935 + ** %C current newsgroup number
38936 + ** %d description of newsgroup (becomes from server)
38937 + ** %f newsgroup name
38938 + ** %M - if newsgroup not allowed for direct post (moderated for example)
38939 + ** %N N if newsgroup is new, u if unsubscribed, blank otherwise
38940 + ** %n number of new articles in newsgroup
38941 + ** %s number of unread articles in newsgroup
38942 + ** %>X right justify the rest of the string and pad with character "X"
38943 + ** %|X pad to the end of the line with character "X"
38947 { "hdr_format", DT_SYN, R_NONE, UL "index_format", 0 },
38950 @@ -874,6 +927,7 @@
38951 ** .dt %E .dd number of messages in current thread
38952 ** .dt %f .dd entire From: line (address + real name)
38953 ** .dt %F .dd author name, or recipient name if the message is from you
38954 + ** .dt %g .dd newsgroup name (if compiled with nntp support)
38955 ** .dt %i .dd message-id of the current message
38956 ** .dt %l .dd number of lines in the message
38957 ** .dt %L .dd If an address in the To or CC header field matches an address
38958 @@ -891,6 +945,7 @@
38959 ** .dt %T .dd the appropriate character from the $$to_chars string
38960 ** .dt %u .dd user (login) name of the author
38961 ** .dt %v .dd first name of the author, or the recipient if the message is from you
38962 + ** .dt %W .dd name of organization of author (`organization:' field)
38963 ** .dt %y .dd `x-label:' field, if present
38964 ** .dt %Y .dd `x-label' field, if present, and (1) not at part of a thread tree,
38965 ** (2) at the top of a thread, or (3) `x-label' is different from
38966 @@ -913,6 +968,21 @@
38968 ** See also: ``$$to_chars''.
38971 + { "inews", DT_PATH, R_NONE, UL &Inews, UL "" },
38974 + ** If set, specifies the program and arguments used to deliver news posted
38975 + ** by Mutt. Otherwise, mutt posts article using current connection to
38976 + ** news server. The following printf-style sequence is understood:
38979 + ** %s newsserver name
38982 + ** Example: set inews="/usr/local/bin/inews -hS"
38985 { "ispell", DT_PATH, R_NONE, UL &Ispell, UL ISPELL },
38988 @@ -1077,6 +1147,16 @@
38989 ** be attached to the newly composed message if this option is set.
38993 + { "mime_subject", DT_BOOL, R_NONE, OPTMIMESUBJECT, 1 },
38996 + ** If \fIunset\fP, 8-bit ``subject:'' line in article header will not be
38997 + ** encoded according to RFC2047 to base64. This is useful when message
38998 + ** is Usenet article, because MIME for news is nonstandard feature.
39003 { "mix_entry_format", DT_STR, R_NONE, UL &MixEntryFormat, UL "%4n %c %-16s %a" },
39005 @@ -1128,6 +1208,77 @@
39006 ** to allow more room the tree and message subjects. This is useful on
39010 + { "news_cache_dir", DT_PATH, R_NONE, UL &NewsCacheDir, UL "~/.mutt" },
39013 + ** This variable pointing to directory where Mutt will save cached news
39014 + ** articles headers in. If \fIunset\fP, headers will not be saved at all
39015 + ** and will be reloaded each time when you enter to newsgroup.
39017 + { "news_server", DT_STR, R_NONE, UL &NewsServer, 0 },
39020 + ** This variable specifies domain name or address of NNTP server. It
39021 + ** defaults to the newsserver specified in the environment variable
39022 + ** $$$NNTPSERVER or contained in the file /etc/nntpserver. You can also
39023 + ** specify username and an alternative port for each newsserver, ie:
39025 + ** [nntp[s]://][username[:password]@]newsserver[:port]
39027 + { "newsrc", DT_PATH, R_NONE, UL &NewsRc, UL "~/.newsrc" },
39030 + ** The file, containing info about subscribed newsgroups - names and
39031 + ** indexes of read articles. The following printf-style sequence
39032 + ** is understood:
39035 + ** %s newsserver name
39038 + { "nntp_context", DT_NUM, R_NONE, UL &NntpContext, 1000 },
39041 + ** This variable defines number of articles which will be in index when
39042 + ** newsgroup entered. If active newsgroup have more articles than this
39043 + ** number, oldest articles will be ignored. Also controls how many
39044 + ** articles headers will be saved in cache when you quit newsgroup.
39046 + { "nntp_load_description", DT_BOOL, R_NONE, OPTLOADDESC, 1 },
39049 + ** This variable controls whether or not descriptions for each newsgroup
39050 + ** must be loaded when newsgroup is added to list (first time list
39051 + ** loading or new newsgroup adding).
39053 + { "nntp_user", DT_STR, R_NONE, UL &NntpUser, UL "" },
39056 + ** Your login name on the NNTP server. If \fIunset\fP and NNTP server requires
39057 + ** authentification, Mutt will prompt you for your account name when you
39058 + ** connect to newsserver.
39060 + { "nntp_pass", DT_STR, R_NONE, UL &NntpPass, UL "" },
39063 + ** Your password for NNTP account.
39065 + { "nntp_poll", DT_NUM, R_NONE, UL &NewsPollTimeout, 60 },
39068 + ** The time in seconds until any operations on newsgroup except post new
39069 + ** article will cause recheck for new news. If set to 0, Mutt will
39070 + ** recheck newsgroup on each operation in index (stepping, read article,
39073 + { "nntp_reconnect", DT_QUAD, R_NONE, OPT_NNTPRECONNECT, M_ASKYES },
39076 + ** Controls whether or not Mutt will try to reconnect to newsserver when
39077 + ** connection lost.
39080 { "pager", DT_PATH, R_NONE, UL &Pager, UL "builtin" },
39083 @@ -1633,6 +1784,16 @@
39084 { "post_indent_str", DT_SYN, R_NONE, UL "post_indent_string", 0 },
39088 + { "post_moderated", DT_QUAD, R_NONE, OPT_TOMODERATED, M_ASKYES },
39091 + ** If set to \fIyes\fP, Mutt will post article to newsgroup that have
39092 + ** not permissions to posting (e.g. moderated). \fBNote:\fP if newsserver
39093 + ** does not support posting to that newsgroup or totally read-only, that
39094 + ** posting will not have an effect.
39097 { "postpone", DT_QUAD, R_NONE, OPT_POSTPONE, M_ASKYES },
39100 @@ -1991,6 +2152,28 @@
39101 ** Command to use when spawning a subshell. By default, the user's login
39102 ** shell from /etc/passwd is used.
39105 + { "save_unsubscribed",DT_BOOL, R_NONE, OPTSAVEUNSUB, 0 },
39108 + ** When \fIset\fP, info about unsubscribed newsgroups will be saved into
39109 + ** ``newsrc'' file and into cache.
39111 + { "show_new_news", DT_BOOL, R_NONE, OPTSHOWNEWNEWS, 1 },
39114 + ** If \fIset\fP, newsserver will be asked for new newsgroups on entering
39115 + ** the browser. Otherwise, it will be done only once for a newsserver.
39116 + ** Also controls whether or not number of new articles of subscribed
39117 + ** newsgroups will be then checked.
39119 + { "show_only_unread", DT_BOOL, R_NONE, OPTSHOWONLYUNREAD, 0 },
39122 + ** If \fIset\fP, only subscribed newsgroups that contain unread articles
39123 + ** will be displayed in browser.
39126 { "sig_dashes", DT_BOOL, R_NONE, OPTSIGDASHES, 1 },
39129 @@ -2437,6 +2620,14 @@
39130 ** Controls whether mutt writes out the Bcc header when preparing
39131 ** messages to be sent. Exim users may wish to use this.
39134 + { "x_comment_to", DT_BOOL, R_NONE, OPTXCOMMENTTO, 0 },
39137 + ** If \fIset\fP, Mutt will add ``X-Comment-To:'' field (that contains full
39138 + ** name of original article author) to article that followuped to newsgroup.
39144 diff -uNr mutt-1.4.orig/install-sh mutt-1.4/install-sh
39145 --- mutt-1.4.orig/install-sh Tue Feb 26 11:37:41 2002
39146 +++ mutt-1.4/install-sh Sun Nov 3 21:57:29 2002
39151 # install - install a program, script, or datafile
39152 -# This comes from X11R5.
39153 +# This comes from X11R5 (mit/util/scripts/install.sh).
39155 +# Copyright 1991 by the Massachusetts Institute of Technology
39157 +# Permission to use, copy, modify, distribute, and sell this software and its
39158 +# documentation for any purpose is hereby granted without fee, provided that
39159 +# the above copyright notice appear in all copies and that both that
39160 +# copyright notice and this permission notice appear in supporting
39161 +# documentation, and that the name of M.I.T. not be used in advertising or
39162 +# publicity pertaining to distribution of the software without specific,
39163 +# written prior permission. M.I.T. makes no representations about the
39164 +# suitability of this software for any purpose. It is provided "as is"
39165 +# without express or implied warranty.
39167 # Calling this script install-sh is preferred over install.sh, to prevent
39168 # `make' implicit rules from creating a file called install from it
39169 # when there is no Makefile.
39171 # This script is compatible with the BSD install script, but was written
39174 +# from scratch. It can only install one file at a time, a restriction
39175 +# shared with many OS's install programs.
39178 # set DOITPROG to echo to test this script
39180 echo "install: no input file specified"
39187 if [ x"$dir_arg" != x ]; then
39188 @@ -106,8 +118,9 @@
39190 if [ -d $dst ]; then
39195 + instcmd=$mkdirprog
39199 @@ -115,9 +128,9 @@
39200 # might cause directories to be created, which would be especially bad
39201 # if $src (and thus $dsttmp) contains '*'.
39203 - if [ -f $src -o -d $src ]
39204 + if [ -f "$src" ] || [ -d "$src" ]
39209 echo "install: $src does not exist"
39211 @@ -128,7 +141,7 @@
39212 echo "install: no destination specified"
39219 # If destination is a directory, append the input filename; if your system
39220 @@ -138,7 +151,7 @@
39222 dst="$dst"/`basename $src`
39229 @@ -150,8 +163,8 @@
39231 # Skip lots of stat calls in the usual case.
39232 if [ ! -d "$dstdir" ]; then
39237 IFS="${IFS-${defaultIFS}}"
39240 @@ -170,7 +183,7 @@
39242 $mkdirprog "${pathcomp}"
39248 pathcomp="${pathcomp}/"
39249 @@ -181,10 +194,10 @@
39251 $doit $instcmd $dst &&
39253 - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
39254 - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
39255 - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
39256 - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
39257 + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
39258 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
39259 + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
39260 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
39263 # If we're going to rename the final executable, determine the name now.
39264 @@ -203,7 +216,7 @@
39266 dstfile=`basename $dst`
39272 # Make a temp file name in the proper directory.
39273 @@ -222,10 +235,10 @@
39274 # ignore errors from any of these, just make sure not to ignore
39275 # errors from the above "$doit $instcmd $src $dsttmp" command.
39277 - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
39278 - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
39279 - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
39280 - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
39281 + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
39282 + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
39283 + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
39284 + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
39286 # Now rename the file to the real destination.
39288 diff -uNr mutt-1.4.orig/keymap.c mutt-1.4/keymap.c
39289 --- mutt-1.4.orig/keymap.c Sun Nov 3 21:42:52 2002
39290 +++ mutt-1.4/keymap.c Sun Nov 3 21:57:20 2002
39291 @@ -593,7 +593,6 @@
39292 km_bindkey ("<enter>", MENU_MAIN, OP_DISPLAY_MESSAGE);
39294 km_bindkey ("x", MENU_PAGER, OP_EXIT);
39295 - km_bindkey ("i", MENU_PAGER, OP_EXIT);
39296 km_bindkey ("<backspace>", MENU_PAGER, OP_PREV_LINE);
39297 km_bindkey ("<pagedown>", MENU_PAGER, OP_NEXT_PAGE);
39298 km_bindkey ("<pageup>", MENU_PAGER, OP_PREV_PAGE);
39299 diff -uNr mutt-1.4.orig/m4/Makefile.in mutt-1.4/m4/Makefile.in
39300 --- mutt-1.4.orig/m4/Makefile.in Wed May 29 11:31:05 2002
39301 +++ mutt-1.4/m4/Makefile.in Sun Nov 3 21:57:30 2002
39303 -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
39304 +# Makefile.in generated by automake 1.6.3 from Makefile.am.
39305 +# @configure_input@
39307 -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
39308 +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
39309 +# Free Software Foundation, Inc.
39310 # This Makefile.in is free software; the Free Software Foundation
39311 # gives unlimited permission to copy and/or distribute it,
39312 # with or without modifications, as long as this notice is preserved.
39314 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
39315 # PARTICULAR PURPOSE.
39324 includedir = @includedir@
39325 oldincludedir = /usr/include
39329 pkgdatadir = $(datadir)/@PACKAGE@
39330 pkglibdir = $(libdir)/@PACKAGE@
39331 pkgincludedir = $(includedir)/@PACKAGE@
39335 ACLOCAL = @ACLOCAL@
39336 @@ -45,12 +43,16 @@
39337 AUTOMAKE = @AUTOMAKE@
39338 AUTOHEADER = @AUTOHEADER@
39340 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
39341 INSTALL = @INSTALL@
39342 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
39343 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
39344 INSTALL_DATA = @INSTALL_DATA@
39345 +install_sh_DATA = $(install_sh) -c -m 644
39346 +install_sh_PROGRAM = $(install_sh) -c
39347 +install_sh_SCRIPT = $(install_sh) -c
39348 INSTALL_SCRIPT = @INSTALL_SCRIPT@
39349 +INSTALL_HEADER = $(INSTALL_DATA)
39350 transform = @program_transform_name@
39357 host_alias = @host_alias@
39358 host_triplet = @host@
39362 +PATH_SEPARATOR = @PATH_SEPARATOR@
39366 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
39367 CATALOGS = @CATALOGS@
39368 CATOBJEXT = @CATOBJEXT@
39370 DATADIRNAME = @DATADIRNAME@
39372 DEBUGGER = @DEBUGGER@
39374 DOTLOCK_GROUP = @DOTLOCK_GROUP@
39375 DOTLOCK_PERMISSION = @DOTLOCK_PERMISSION@
39376 DOTLOCK_TARGET = @DOTLOCK_TARGET@
39378 GLIBC21 = @GLIBC21@
39379 GMOFILES = @GMOFILES@
39380 GMSGFMT = @GMSGFMT@
39381 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
39382 INSTOBJEXT = @INSTOBJEXT@
39383 INTLBISON = @INTLBISON@
39384 INTLLIBS = @INTLLIBS@
39386 LIBICONV = @LIBICONV@
39387 LIBIMAP = @LIBIMAP@
39388 LIBIMAPDEPS = @LIBIMAPDEPS@
39389 -MAKEINFO = @MAKEINFO@
39390 MKINSTALLDIRS = @MKINSTALLDIRS@
39392 MUTTLIBS = @MUTTLIBS@
39393 @@ -99,112 +108,145 @@
39396 SENDMAIL = @SENDMAIL@
39398 SUBVERSION = @SUBVERSION@
39400 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
39401 USE_NLS = @USE_NLS@
39402 VERSION = @VERSION@
39403 +am__include = @am__include@
39404 +am__quote = @am__quote@
39406 +install_sh = @install_sh@
39408 -EXTRA_DIST = README Makefile.am.in codeset.m4 curslib.m4 funcdecl.m4 gettext.m4 glibc21.m4 gssapi.m4 iconv.m4 lcmessage.m4 progtest.m4
39409 +EXTRA_DIST = README Makefile.am.in \
39421 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
39422 -CONFIG_HEADER = ../config.h
39423 -CONFIG_CLEAN_FILES =
39424 -DIST_COMMON = README Makefile.am Makefile.in
39426 +CONFIG_HEADER = $(top_builddir)/config.h
39427 +CONFIG_CLEAN_FILES =
39429 +DIST_COMMON = README Makefile.am Makefile.in
39432 -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
39438 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
39439 - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps m4/Makefile
39441 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
39442 - cd $(top_builddir) \
39443 - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
39445 +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
39446 + cd $(top_srcdir) && \
39447 + $(AUTOMAKE) --foreign m4/Makefile
39448 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
39449 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
39450 +uninstall-info-am:
39454 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
39456 -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
39460 +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
39462 distdir: $(DISTFILES)
39463 - @for file in $(DISTFILES); do \
39465 + @list='$(DISTFILES)'; for file in $$list; do \
39466 + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
39467 + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
39468 + if test "$$dir" != "$$file" && test "$$dir" != "."; then \
39470 + $(mkinstalldirs) "$(distdir)$$dir"; \
39474 if test -d $$d/$$file; then \
39475 - cp -pr $$d/$$file $(distdir)/$$file; \
39476 + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
39477 + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
39479 + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
39481 test -f $(distdir)/$$file \
39482 - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
39483 - || cp -p $$d/$$file $(distdir)/$$file || :; \
39484 + || cp -p $$d/$$file $(distdir)/$$file \
39495 -installcheck: installcheck-am
39497 -install-exec: install-exec-am
39501 -install-data: install-data-am
39504 -install-am: all-am
39505 - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
39506 install: install-am
39508 +install-exec: install-exec-am
39509 +install-data: install-data-am
39510 uninstall: uninstall-am
39512 -all-redirect: all-am
39514 - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
39517 +install-am: all-am
39518 + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
39520 +installcheck: installcheck-am
39522 + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
39523 + INSTALL_STRIP_FLAG=-s \
39524 + `test -z '$(STRIP)' || \
39525 + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
39526 mostlyclean-generic:
39531 -rm -f Makefile $(CONFIG_CLEAN_FILES)
39532 - -rm -f config.cache config.log stamp-h stamp-h[0-9]*
39534 maintainer-clean-generic:
39535 -mostlyclean-am: mostlyclean-generic
39536 + @echo "This command is intended for maintainers to use"
39537 + @echo "it deletes files that may require special tools to rebuild."
39540 -mostlyclean: mostlyclean-am
39541 +clean-am: clean-generic mostlyclean-am
39543 -clean-am: clean-generic mostlyclean-am
39544 +distclean: distclean-am
39547 +distclean-am: clean-am distclean-generic
39549 -distclean-am: distclean-generic clean-am
39552 -distclean: distclean-am
39555 -maintainer-clean-am: maintainer-clean-generic distclean-am
39556 - @echo "This command is intended for maintainers to use;"
39557 - @echo "it deletes files that may require special tools to rebuild."
39566 +install-info: install-info-am
39572 maintainer-clean: maintainer-clean-am
39574 -.PHONY: tags distdir info-am info dvi-am dvi check check-am \
39575 -installcheck-am installcheck install-exec-am install-exec \
39576 -install-data-am install-data install-am install uninstall-am uninstall \
39577 -all-redirect all-am all installdirs mostlyclean-generic \
39578 -distclean-generic clean-generic maintainer-clean-generic clean \
39579 -mostlyclean distclean maintainer-clean
39580 +maintainer-clean-am: distclean-am maintainer-clean-generic
39582 +mostlyclean: mostlyclean-am
39584 +mostlyclean-am: mostlyclean-generic
39586 +uninstall-am: uninstall-info-am
39588 +.PHONY: all all-am check check-am clean clean-generic distclean \
39589 + distclean-generic distdir dvi dvi-am info info-am install \
39590 + install-am install-data install-data-am install-exec \
39591 + install-exec-am install-info install-info-am install-man \
39592 + install-strip installcheck installcheck-am installdirs \
39593 + maintainer-clean maintainer-clean-generic mostlyclean \
39594 + mostlyclean-generic uninstall uninstall-am uninstall-info-am
39597 Makefile.am: Makefile.am.in
39598 @@ -217,7 +259,6 @@
39599 sed -n '/^##m4-files-end/,$$p' Makefile.am.in >> $@t
39603 # Tell versions [3.59,3.63) of GNU make to not export all variables.
39604 # Otherwise a system limit (for SysV at least) may be exceeded.
39606 diff -uNr mutt-1.4.orig/mailbox.h mutt-1.4/mailbox.h
39607 --- mutt-1.4.orig/mailbox.h Wed Mar 20 10:53:34 2002
39608 +++ mutt-1.4/mailbox.h Sun Nov 3 21:57:20 2002
39611 int mx_is_pop (const char *);
39614 +int mx_is_nntp (const char *);
39617 int mx_access (const char*, int);
39619 diff -uNr mutt-1.4.orig/main.c mutt-1.4/main.c
39620 --- mutt-1.4.orig/main.c Sun Nov 3 21:42:51 2002
39621 +++ mutt-1.4/main.c Sun Nov 3 21:57:20 2002
39623 #include <getopt.h>
39630 static const char *ReachingUs = N_("\
39631 To contact the developers, please mail to <mutt-dev@mutt.org>.\n\
39632 To report a bug, please use the flea(1) utility.\n");
39634 -e <command>\tspecify a command to be executed after initialization\n\
39635 -f <file>\tspecify which mailbox to read\n\
39636 -F <file>\tspecify an alternate muttrc file\n\
39637 + -g <server>\tspecify a newsserver (if compiled with NNTP)\n\
39638 + -G\t\tselect a newsgroup (if compiled with NNTP)\n\
39639 -H <file>\tspecify a draft file to read header from\n\
39640 -i <file>\tspecify a file which Mutt should include in the reply\n\
39641 -m <type>\tspecify a default mailbox type\n\
39642 @@ -202,6 +208,12 @@
39655 @@ -444,6 +456,9 @@
39656 #define M_NOSYSRC (1<<2) /* -n */
39657 #define M_RO (1<<3) /* -R */
39658 #define M_SELECT (1<<4) /* -y */
39660 +#define M_NEWS (1<<5) /* -g and -G */
39663 int main (int argc, char **argv)
39665 @@ -489,7 +504,11 @@
39666 memset (Options, 0, sizeof (Options));
39667 memset (QuadOptions, 0, sizeof (QuadOptions));
39670 + while ((i = getopt (argc, argv, "a:b:F:f:c:d:e:H:s:i:hm:npRvxyg:GzZ")) != EOF)
39672 while ((i = getopt (argc, argv, "a:b:F:f:c:d:e:H:s:i:hm:npRvxyzZ")) != EOF)
39677 @@ -571,6 +590,20 @@
39682 + case 'g': /* Specify a newsserver */
39684 + char buf[LONG_STRING];
39686 + snprintf (buf, sizeof (buf), "set news_server=%s", optarg);
39687 + commands = mutt_add_list (commands, buf);
39690 + case 'G': /* List of newsgroups */
39691 + flags |= M_SELECT | M_NEWS;
39698 @@ -802,6 +835,18 @@
39700 else if (flags & M_SELECT)
39703 + if (flags & M_NEWS)
39705 + set_option (OPTNEWS);
39706 + if(!(CurrentNewsSrv = mutt_select_newsserver (NewsServer)))
39708 + mutt_endwin (Errorbuf);
39715 mutt_endwin _("No incoming mailboxes defined.");
39717 @@ -817,6 +862,15 @@
39720 strfcpy (folder, NONULL(Spoolfile), sizeof (folder));
39723 + if (option (OPTNEWS))
39725 + unset_option (OPTNEWS);
39726 + nntp_expand_path (folder, sizeof (folder), &CurrentNewsSrv->conn->account);
39730 mutt_expand_path (folder, sizeof (folder));
39732 mutt_str_replace (&LastFolder, folder);
39733 diff -uNr mutt-1.4.orig/missing mutt-1.4/missing
39734 --- mutt-1.4.orig/missing Wed Jan 16 21:44:49 2002
39735 +++ mutt-1.4/missing Sun Nov 3 21:57:29 2002
39738 # Common stub for a few missing GNU programs while installing.
39739 -# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
39740 +# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
39741 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
39743 # This program is free software; you can redistribute it and/or modify
39750 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
39751 # We have it, but it failed.
39753 @@ -293,23 +293,23 @@
39754 # Look for gnutar/gtar before invocation to avoid ugly error
39756 if (gnutar --version > /dev/null 2>&1); then
39757 - gnutar ${1+"$@"} && exit 0
39758 + gnutar "$@" && exit 0
39760 if (gtar --version > /dev/null 2>&1); then
39761 - gtar ${1+"$@"} && exit 0
39762 + gtar "$@" && exit 0
39766 case "$firstarg" in
39768 firstarg=`echo "$firstarg" | sed s/o//`
39769 - tar "$firstarg" ${1+"$@"} && exit 0
39770 + tar "$firstarg" "$@" && exit 0
39773 case "$firstarg" in
39775 firstarg=`echo "$firstarg" | sed s/h//`
39776 - tar "$firstarg" ${1+"$@"} && exit 0
39777 + tar "$firstarg" "$@" && exit 0
39781 diff -uNr mutt-1.4.orig/mkinstalldirs mutt-1.4/mkinstalldirs
39782 --- mutt-1.4.orig/mkinstalldirs Wed Jan 16 21:44:49 2002
39783 +++ mutt-1.4/mkinstalldirs Sun Nov 3 21:57:29 2002
39785 # Created: 1993-05-16
39793 diff -uNr mutt-1.4.orig/mutt.h mutt-1.4/mutt.h
39794 --- mutt-1.4.orig/mutt.h Sun Nov 3 21:42:52 2002
39795 +++ mutt-1.4/mutt.h Sun Nov 3 21:57:20 2002
39796 @@ -231,6 +231,9 @@
39804 /* Options for Mailcap lookup */
39806 @@ -266,6 +269,12 @@
39807 OPT_VERIFYSIG, /* verify PGP signatures */
39808 OPT_PGPTRADITIONAL, /* create old-style PGP messages */
39812 + OPT_NNTPRECONNECT,
39814 + OPT_FOLLOWUPTOPOSTER,
39815 +#endif /* USE_NNTP */
39819 @@ -302,6 +311,7 @@
39820 #define SENDMAILX (1<<6)
39821 #define SENDKEY (1<<7)
39822 #define SENDRESEND (1<<8)
39823 +#define SENDNEWS (1<<9)
39825 /* flags to _mutt_select_file() */
39826 #define M_SEL_BUFFY (1<<0)
39827 @@ -318,6 +328,8 @@
39832 + OPTASKXCOMMENTTO,
39836 @@ -376,6 +388,9 @@
39841 + OPTMIMESUBJECT, /* encode subject line with RFC2047 */
39846 @@ -445,6 +460,16 @@
39847 OPTPGPSHOWUNUSABLE,
39850 + /* news options */
39854 + OPTSHOWONLYUNREAD,
39858 +#endif /* USE_NNTP */
39860 /* pseudo options */
39862 OPTAUXSORT, /* (pseudo) using auxillary sort function */
39863 @@ -465,6 +490,7 @@
39864 OPTSORTSUBTHREADS, /* (pseudo) used when $sort_aux changes */
39865 OPTNEEDRESCORE, /* (pseudo) set when the `score' command is used */
39866 OPTATTACHMSG, /* (pseudo) used by attach-message */
39867 + OPTHIDEREAD, /* (pseudo) whether or not hide read messages */
39868 OPTKEEPQUIET, /* (pseudo) shut up the message and refresh
39869 * functions while we are executing an
39870 * external program.
39871 @@ -475,6 +501,12 @@
39872 OPTDONTHANDLEPGPKEYS, /* (pseudo) used to extract PGP keys */
39876 + OPTNEWS, /* (pseudo) used to change reader mode */
39877 + OPTNEWSSEND, /* (pseudo) used to change behavior when posting */
39878 + OPTNEWSCACHE, /* (pseudo) used to indicate if news cache exist */
39884 @@ -538,6 +570,13 @@
39888 + char *organization;
39890 + char *newsgroups;
39892 + char *followup_to;
39893 + char *x_comment_to;
39895 LIST *references; /* message references (in reverse order) */
39896 LIST *in_reply_to; /* in-reply-to header content */
39897 LIST *userhdrs; /* user defined headers */
39898 @@ -685,6 +724,9 @@
39899 ENVELOPE *env; /* envelope information */
39900 BODY *content; /* list of MIME parts */
39906 char *tree; /* character string to print thread tree */
39907 struct thread *thread;
39908 @@ -697,7 +739,7 @@
39909 int refno; /* message number on server */
39912 -#if defined USE_POP || defined USE_IMAP
39913 +#if defined USE_POP || defined USE_IMAP || defined USE_NNTP
39914 void *data; /* driver-specific data */
39917 @@ -768,7 +810,7 @@
39918 int appended; /* how many saved messages? */
39919 int flagged; /* how many flagged messages */
39920 int msgnotreadyet; /* which msg "new" in pager, -1 if none */
39921 -#if defined USE_POP || defined USE_IMAP
39922 +#if defined USE_POP || defined USE_IMAP || defined USE_NNTP
39923 void *data; /* driver specific data */
39924 #endif /* USE_IMAP */
39926 diff -uNr mutt-1.4.orig/mutt_dotlock.c mutt-1.4/mutt_dotlock.c
39927 --- mutt-1.4.orig/mutt_dotlock.c Wed Mar 13 13:47:27 2002
39928 +++ mutt-1.4/mutt_dotlock.c Thu Jan 1 01:00:00 1970
39931 - * Copyright (C) 1996-2000 Michael R. Elkins <me@cs.hmc.edu>
39932 - * Copyright (C) 1998-2000 Thomas Roessler <roessler@guug.de>
39934 - * This program is free software; you can redistribute it and/or modify
39935 - * it under the terms of the GNU General Public License as published by
39936 - * the Free Software Foundation; either version 2 of the License, or
39937 - * (at your option) any later version.
39939 - * This program is distributed in the hope that it will be useful,
39940 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
39941 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39942 - * GNU General Public License for more details.
39944 - * You should have received a copy of the GNU General Public License
39945 - * along with this program; if not, write to the Free Software
39946 - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
39950 - * This module either be compiled into Mutt, or it can be
39951 - * built as a separate program. For building it
39952 - * separately, define the DL_STANDALONE preprocessor
39956 -#include <stdio.h>
39957 -#include <stdlib.h>
39958 -#include <string.h>
39960 -#include <unistd.h>
39961 -#include <dirent.h>
39962 -#include <sys/file.h>
39963 -#include <sys/stat.h>
39964 -#include <sys/utsname.h>
39965 -#include <errno.h>
39967 -#include <fcntl.h>
39968 -#include <limits.h>
39970 -#ifndef _POSIX_PATH_MAX
39971 -#include <posix1_lim.h>
39974 -#include "dotlock.h"
39975 -#include "config.h"
39977 -#ifdef HAVE_GETOPT_H
39978 -#include <getopt.h>
39981 -#ifdef DL_STANDALONE
39982 -# include "reldate.h"
39985 -#define MAXLINKS 1024 /* maximum link depth */
39987 -#ifdef DL_STANDALONE
39989 -# define LONG_STRING 1024
39990 -# define MAXLOCKATTEMPT 5
39992 -# define strfcpy(A,B,C) strncpy (A,B,C), *(A+(C)-1)=0
39994 -# ifdef USE_SETGID
39996 -# ifdef HAVE_SETEGID
39997 -# define SETEGID setegid
39999 -# define SETEGID setgid
40002 -# define S_ISLNK(x) (((x) & S_IFMT) == S_IFLNK ? 1 : 0)
40007 -# ifndef HAVE_SNPRINTF
40008 -extern int snprintf (char *, size_t, const char *, ...);
40011 -#else /* DL_STANDALONE */
40013 -# ifdef USE_SETGID
40014 -# error Do not try to compile dotlock as a mutt module when requiring egid switching!
40017 -# include "mutt.h"
40020 -#endif /* DL_STANDALONE */
40022 -static int DotlockFlags;
40023 -static int Retry = MAXLOCKATTEMPT;
40025 -#ifdef DL_STANDALONE
40026 -static char *Hostname;
40030 -static gid_t UserGid;
40031 -static gid_t MailGid;
40034 -static int dotlock_deference_symlink (char *, size_t, const char *);
40035 -static int dotlock_prepare (char *, size_t, const char *, int fd);
40036 -static int dotlock_check_stats (struct stat *, struct stat *);
40037 -static int dotlock_dispatch (const char *, int fd);
40039 -#ifdef DL_STANDALONE
40040 -static int dotlock_init_privs (void);
40041 -static void usage (const char *);
40044 -static void dotlock_expand_link (char *, const char *, const char *);
40045 -static void BEGIN_PRIVILEGED (void);
40046 -static void END_PRIVILEGED (void);
40048 -/* These functions work on the current directory.
40049 - * Invoke dotlock_prepare () before and check their
40053 -static int dotlock_try (void);
40054 -static int dotlock_unlock (const char *);
40055 -static int dotlock_unlink (const char *);
40056 -static int dotlock_lock (const char *);
40059 -#ifdef DL_STANDALONE
40061 -#define check_flags(a) if (a & DL_FL_ACTIONS) usage (argv[0])
40063 -int main (int argc, char **argv)
40067 - struct utsname utsname;
40069 - /* first, drop privileges */
40071 - if (dotlock_init_privs () == -1)
40072 - return DL_EX_ERROR;
40075 - /* determine the system's host name */
40077 - uname (&utsname);
40078 - if (!(Hostname = strdup (utsname.nodename))) /* __MEM_CHECKED__ */
40079 - return DL_EX_ERROR;
40080 - if ((p = strchr (Hostname, '.')))
40084 - /* parse the command line options. */
40085 - DotlockFlags = 0;
40087 - while ((i = getopt (argc, argv, "dtfupr:")) != EOF)
40091 - /* actions, mutually exclusive */
40092 - case 't': check_flags (DotlockFlags); DotlockFlags |= DL_FL_TRY; break;
40093 - case 'd': check_flags (DotlockFlags); DotlockFlags |= DL_FL_UNLINK; break;
40094 - case 'u': check_flags (DotlockFlags); DotlockFlags |= DL_FL_UNLOCK; break;
40096 - /* other flags */
40097 - case 'f': DotlockFlags |= DL_FL_FORCE; break;
40098 - case 'p': DotlockFlags |= DL_FL_USEPRIV; break;
40099 - case 'r': DotlockFlags |= DL_FL_RETRY; Retry = atoi (optarg); break;
40101 - default: usage (argv[0]);
40105 - if (optind == argc || Retry < 0)
40108 - return dotlock_dispatch (argv[optind], -1);
40113 - * Determine our effective group ID, and drop
40118 - * 0 - everything went fine
40119 - * -1 - we couldn't drop privileges.
40125 -dotlock_init_privs (void)
40128 -# ifdef USE_SETGID
40130 - UserGid = getgid ();
40131 - MailGid = getegid ();
40133 - if (SETEGID (UserGid) != 0)
40142 -#else /* DL_STANDALONE */
40145 - * This function is intended to be invoked from within
40146 - * mutt instead of mx.c's invoke_dotlock ().
40149 -int dotlock_invoke (const char *path, int fd, int flags, int retry)
40154 - DotlockFlags = flags;
40156 - if ((currdir = open (".", O_RDONLY)) == -1)
40157 - return DL_EX_ERROR;
40159 - if (!(DotlockFlags & DL_FL_RETRY) || retry)
40160 - Retry = MAXLOCKATTEMPT;
40164 - r = dotlock_dispatch (path, fd);
40166 - fchdir (currdir);
40172 -#endif /* DL_STANDALONE */
40175 -static int dotlock_dispatch (const char *f, int fd)
40177 - char realpath[_POSIX_PATH_MAX];
40179 - /* If dotlock_prepare () succeeds [return value == 0],
40180 - * realpath contains the basename of f, and we have
40181 - * successfully changed our working directory to
40182 - * `dirname $f`. Additionally, f has been opened for
40183 - * reading to verify that the user has at least read
40184 - * permissions on that file.
40186 - * For a more detailed explanation of all this, see the
40187 - * lengthy comment below.
40190 - if (dotlock_prepare (realpath, sizeof (realpath), f, fd) != 0)
40191 - return DL_EX_ERROR;
40193 - /* Actually perform the locking operation. */
40195 - if (DotlockFlags & DL_FL_TRY)
40196 - return dotlock_try ();
40197 - else if (DotlockFlags & DL_FL_UNLOCK)
40198 - return dotlock_unlock (realpath);
40199 - else if (DotlockFlags & DL_FL_UNLINK)
40200 - return dotlock_unlink (realpath);
40202 - return dotlock_lock (realpath);
40209 - * This function re-acquires the privileges we may have
40210 - * if the user told us to do so by giving the "-p"
40211 - * command line option.
40213 - * BEGIN_PRIVILEGES () won't return if an error occurs.
40218 -BEGIN_PRIVILEGED (void)
40221 - if (DotlockFlags & DL_FL_USEPRIV)
40223 - if (SETEGID (MailGid) != 0)
40225 - /* perror ("setegid"); */
40226 - exit (DL_EX_ERROR);
40233 - * Drop privileges
40235 - * This function drops the group privileges we may have.
40237 - * END_PRIVILEGED () won't return if an error occurs.
40242 -END_PRIVILEGED (void)
40245 - if (DotlockFlags & DL_FL_USEPRIV)
40247 - if (SETEGID (UserGid) != 0)
40249 - /* perror ("setegid"); */
40250 - exit (DL_EX_ERROR);
40256 -#ifdef DL_STANDALONE
40259 - * Usage information.
40261 - * This function doesn't return.
40266 -usage (const char *av0)
40268 - fprintf (stderr, "dotlock [Mutt %s (%s)]\n", VERSION, ReleaseDate);
40269 - fprintf (stderr, "usage: %s [-t|-f|-u|-d] [-p] [-r <retries>] file\n",
40272 - fputs ("\noptions:"
40275 - "\n -u\t\tunlock"
40276 - "\n -d\t\tunlink"
40277 - "\n -p\t\tprivileged"
40278 -#ifndef USE_SETGID
40281 - "\n -r <retries>\tRetry locking"
40284 - exit (DL_EX_ERROR);
40290 - * Access checking: Let's avoid to lock other users' mail
40291 - * spool files if we aren't permitted to read them.
40293 - * Some simple-minded access (2) checking isn't sufficient
40294 - * here: The problem is that the user may give us a
40295 - * deeply nested path to a file which has the same name
40296 - * as the file he wants to lock, but different
40297 - * permissions, say, e.g.
40298 - * /tmp/lots/of/subdirs/var/spool/mail/root.
40300 - * He may then try to replace /tmp/lots/of/subdirs by a
40301 - * symbolic link to / after we have invoked access () to
40302 - * check the file's permissions. The lockfile we'd
40303 - * create or remove would then actually be
40304 - * /var/spool/mail/root.
40306 - * To avoid this attack, we proceed as follows:
40308 - * - First, follow symbolic links a la
40309 - * dotlock_deference_symlink ().
40311 - * - get the result's dirname.
40313 - * - chdir to this directory. If you can't, bail out.
40315 - * - try to open the file in question, only using its
40316 - * basename. If you can't, bail out.
40318 - * - fstat that file and compare the result to a
40319 - * subsequent lstat (only using the basename). If
40320 - * the comparison fails, bail out.
40322 - * dotlock_prepare () is invoked from main () directly
40323 - * after the command line parsing has been done.
40327 - * 0 - Evereything's fine. The program's new current
40328 - * directory is the contains the file to be locked.
40329 - * The string pointed to by bn contains the name of
40330 - * the file to be locked.
40332 - * -1 - Something failed. Don't continue.
40334 - * tlr, Jul 15 1998
40338 -dotlock_check_stats (struct stat *fsb, struct stat *lsb)
40340 - /* S_ISLNK (fsb->st_mode) should actually be impossible,
40341 - * but we may have mixed up the parameters somewhere.
40345 - if (S_ISLNK (lsb->st_mode) || S_ISLNK (fsb->st_mode))
40348 - if ((lsb->st_dev != fsb->st_dev) ||
40349 - (lsb->st_ino != fsb->st_ino) ||
40350 - (lsb->st_mode != fsb->st_mode) ||
40351 - (lsb->st_nlink != fsb->st_nlink) ||
40352 - (lsb->st_uid != fsb->st_uid) ||
40353 - (lsb->st_gid != fsb->st_gid) ||
40354 - (lsb->st_rdev != fsb->st_rdev) ||
40355 - (lsb->st_size != fsb->st_size))
40357 - /* something's fishy */
40365 -dotlock_prepare (char *bn, size_t l, const char *f, int _fd)
40367 - struct stat fsb, lsb;
40368 - char realpath[_POSIX_PATH_MAX];
40369 - char *basename, *dirname;
40374 - if (dotlock_deference_symlink (realpath, sizeof (realpath), f) == -1)
40377 - if ((p = strrchr (realpath, '/')))
40380 - basename = p + 1;
40381 - dirname = realpath;
40385 - basename = realpath;
40389 - if (strlen (basename) + 1 > l)
40392 - strfcpy (bn, basename, l);
40394 - if (chdir (dirname) == -1)
40399 - else if ((fd = open (basename, O_RDONLY)) == -1)
40402 - r = fstat (fd, &fsb);
40410 - if (lstat (basename, &lsb) == -1)
40413 - if (dotlock_check_stats (&fsb, &lsb) == -1)
40420 - * Expand a symbolic link.
40422 - * This function expects newpath to have space for
40423 - * at least _POSIX_PATH_MAX characters.
40428 -dotlock_expand_link (char *newpath, const char *path, const char *link)
40430 - const char *lb = NULL;
40433 - /* link is full path */
40434 - if (*link == '/')
40436 - strfcpy (newpath, link, _POSIX_PATH_MAX);
40440 - if ((lb = strrchr (path, '/')) == NULL)
40442 - /* no path in link */
40443 - strfcpy (newpath, link, _POSIX_PATH_MAX);
40447 - len = lb - path + 1;
40448 - memcpy (newpath, path, len);
40449 - strfcpy (newpath + len, link, _POSIX_PATH_MAX - len);
40454 - * Deference a chain of symbolic links
40456 - * The final path is written to d.
40461 -dotlock_deference_symlink (char *d, size_t l, const char *path)
40464 - char realpath[_POSIX_PATH_MAX];
40465 - const char *pathptr = path;
40468 - while (count++ < MAXLINKS)
40470 - if (lstat (pathptr, &sb) == -1)
40472 - /* perror (pathptr); */
40476 - if (S_ISLNK (sb.st_mode))
40478 - char linkfile[_POSIX_PATH_MAX];
40479 - char linkpath[_POSIX_PATH_MAX];
40482 - if ((len = readlink (pathptr, linkfile, sizeof (linkfile))) == -1)
40484 - /* perror (pathptr); */
40488 - linkfile[len] = '\0';
40489 - dotlock_expand_link (linkpath, pathptr, linkfile);
40490 - strfcpy (realpath, linkpath, sizeof (realpath));
40491 - pathptr = realpath;
40497 - strfcpy (d, pathptr, l);
40502 - * Dotlock a file.
40504 - * realpath is assumed _not_ to be an absolute path to
40505 - * the file we are about to lock. Invoke
40506 - * dotlock_prepare () before using this function!
40510 -#define HARDMAXATTEMPTS 10
40513 -dotlock_lock (const char *realpath)
40515 - char lockfile[_POSIX_PATH_MAX + LONG_STRING];
40516 - char nfslockfile[_POSIX_PATH_MAX + LONG_STRING];
40517 - size_t prev_size = 0;
40520 - int hard_count = 0;
40524 - snprintf (nfslockfile, sizeof (nfslockfile), "%s.%s.%d",
40525 - realpath, Hostname, (int) getpid ());
40526 - snprintf (lockfile, sizeof (lockfile), "%s.lock", realpath);
40529 - BEGIN_PRIVILEGED ();
40531 - unlink (nfslockfile);
40533 - while ((fd = open (nfslockfile, O_WRONLY | O_EXCL | O_CREAT, 0)) < 0)
40535 - END_PRIVILEGED ();
40538 - if (errno != EAGAIN)
40540 - /* perror ("cannot open NFS lock file"); */
40541 - return DL_EX_ERROR;
40545 - BEGIN_PRIVILEGED ();
40548 - END_PRIVILEGED ();
40553 - while (hard_count++ < HARDMAXATTEMPTS)
40556 - BEGIN_PRIVILEGED ();
40557 - link (nfslockfile, lockfile);
40558 - END_PRIVILEGED ();
40560 - if (stat (nfslockfile, &sb) != 0)
40562 - /* perror ("stat"); */
40563 - return DL_EX_ERROR;
40566 - if (sb.st_nlink == 2)
40570 - prev_size = sb.st_size;
40572 - if (prev_size == sb.st_size && ++count > Retry)
40574 - if (DotlockFlags & DL_FL_FORCE)
40576 - BEGIN_PRIVILEGED ();
40577 - unlink (lockfile);
40578 - END_PRIVILEGED ();
40585 - BEGIN_PRIVILEGED ();
40586 - unlink (nfslockfile);
40587 - END_PRIVILEGED ();
40588 - return DL_EX_EXIST;
40592 - prev_size = sb.st_size;
40594 - /* don't trust sleep (3) as it may be interrupted
40595 - * by users sending signals.
40601 - } while (time (NULL) == t);
40604 - BEGIN_PRIVILEGED ();
40605 - unlink (nfslockfile);
40606 - END_PRIVILEGED ();
40615 - * The same comment as for dotlock_lock () applies here.
40620 -dotlock_unlock (const char *realpath)
40622 - char lockfile[_POSIX_PATH_MAX + LONG_STRING];
40625 - snprintf (lockfile, sizeof (lockfile), "%s.lock",
40628 - BEGIN_PRIVILEGED ();
40629 - i = unlink (lockfile);
40630 - END_PRIVILEGED ();
40633 - return DL_EX_ERROR;
40638 -/* remove an empty file */
40641 -dotlock_unlink (const char *realpath)
40646 - if (dotlock_lock (realpath) != DL_EX_OK)
40647 - return DL_EX_ERROR;
40649 - if ((i = lstat (realpath, &lsb)) == 0 && lsb.st_size == 0)
40650 - unlink (realpath);
40652 - dotlock_unlock (realpath);
40654 - return (i == 0) ? DL_EX_OK : DL_EX_ERROR;
40659 - * Check if a file can be locked at all.
40661 - * The same comment as for dotlock_lock () applies here.
40666 -dotlock_try (void)
40672 - if (access (".", W_OK) == 0)
40676 - if (stat (".", &sb) == 0)
40678 - if ((sb.st_mode & S_IWGRP) == S_IWGRP && sb.st_gid == MailGid)
40679 - return DL_EX_NEED_PRIVS;
40683 - return DL_EX_IMPOSSIBLE;
40685 diff -uNr mutt-1.4.orig/muttlib.c mutt-1.4/muttlib.c
40686 --- mutt-1.4.orig/muttlib.c Sun Nov 3 21:42:52 2002
40687 +++ mutt-1.4/muttlib.c Sun Nov 3 21:57:20 2002
40688 @@ -270,7 +270,7 @@
40690 mutt_free_list (&(*h)->chain);
40692 -#if defined USE_POP || defined USE_IMAP
40693 +#if defined USE_POP || defined USE_IMAP || defined USE_NNTP
40694 safe_free ((void**) &(*h)->data);
40696 safe_free ((void **) h);
40697 @@ -648,6 +648,13 @@
40698 safe_free ((void **) &(*p)->message_id);
40699 safe_free ((void **) &(*p)->supersedes);
40700 safe_free ((void **) &(*p)->date);
40701 + safe_free ((void **) &(*p)->organization);
40703 + safe_free ((void **) &(*p)->newsgroups);
40704 + safe_free ((void **) &(*p)->xref);
40705 + safe_free ((void **) &(*p)->followup_to);
40706 + safe_free ((void **) &(*p)->x_comment_to);
40708 mutt_free_list (&(*p)->references);
40709 mutt_free_list (&(*p)->in_reply_to);
40710 mutt_free_list (&(*p)->userhdrs);
40711 @@ -1143,6 +1150,14 @@
40717 + if (magic == M_NNTP)
40719 + mutt_error _("Can't save message to newsserver.");
40724 if (stat (s, st) != -1)
40726 diff -uNr mutt-1.4.orig/mx.c mutt-1.4/mx.c
40727 --- mutt-1.4.orig/mx.c Sun Nov 3 21:42:52 2002
40728 +++ mutt-1.4/mx.c Sun Nov 3 21:57:20 2002
40740 @@ -354,6 +358,22 @@
40745 +int mx_is_nntp (const char *p)
40747 + url_scheme_t scheme;
40752 + scheme = url_check_scheme (p);
40753 + if (scheme == U_NNTP || scheme == U_NNTPS)
40760 int mx_get_magic (const char *path)
40763 @@ -371,6 +391,11 @@
40765 #endif /* USE_POP */
40768 + if (mx_is_nntp (path))
40770 +#endif /* USE_NNTP */
40772 if (stat (path, &st) == -1)
40774 dprint (1, (debugfile, "mx_get_magic(): unable to stat %s: %s (errno %d).\n",
40775 @@ -721,6 +746,12 @@
40777 #endif /* USE_POP */
40781 + rc = nntp_open_mailbox (ctx);
40783 +#endif /* USE_NNTP */
40788 @@ -766,6 +797,10 @@
40789 if (ctx->magic == M_POP)
40790 pop_close_mailbox (ctx);
40791 #endif /* USE_POP */
40793 + if (ctx->magic == M_NNTP)
40794 + nntp_fastclose_mailbox (ctx);
40795 +#endif /* USE_NNTP */
40797 hash_destroy (&ctx->id_hash, NULL);
40798 mutt_clear_threads (ctx);
40799 @@ -823,6 +858,12 @@
40800 rc = pop_sync_mailbox (ctx, index_hint);
40802 #endif /* USE_POP */
40806 + rc = nntp_sync_mailbox (ctx);
40808 +#endif /* USE_NNTP */
40812 @@ -899,6 +940,16 @@
40817 + if (ctx->magic == M_NNTP)
40821 + ret = nntp_close_mailbox (ctx);
40822 + mx_fastclose_mailbox (ctx);
40826 if (ctx->readonly || ctx->dontwrite)
40828 /* mailbox is readonly or we don't want to write */
40829 @@ -1460,6 +1511,11 @@
40831 return (pop_check_mailbox (ctx, index_hint));
40832 #endif /* USE_POP */
40836 + return (nntp_check_mailbox (ctx));
40837 +#endif /* USE_NNTP */
40841 @@ -1520,6 +1576,15 @@
40843 #endif /* USE_POP */
40848 + if (nntp_fetch_message (msg, ctx, msgno) != 0)
40852 +#endif /* USE_NNTP */
40855 dprint (1, (debugfile, "mx_open_message(): function not implemented for mailbox type %d.\n", ctx->magic));
40857 @@ -1608,6 +1673,9 @@
40859 || (*msg)->magic == M_POP
40862 + || (*msg)->magic == M_NNTP
40866 r = safe_fclose (&(*msg)->fp);
40867 diff -uNr mutt-1.4.orig/mx.h mutt-1.4/mx.h
40868 --- mutt-1.4.orig/mx.h Sun Nov 3 21:42:51 2002
40869 +++ mutt-1.4/mx.h Sun Nov 3 21:57:20 2002
40871 #ifdef USE_COMPRESSED
40879 WHERE short DefaultMagic INITVAL (M_MBOX);
40880 diff -uNr mutt-1.4.orig/newsrc.c mutt-1.4/newsrc.c
40881 --- mutt-1.4.orig/newsrc.c Thu Jan 1 01:00:00 1970
40882 +++ mutt-1.4/newsrc.c Sun Nov 3 21:57:20 2002
40885 + * Copyright (C) 1998 Brandon Long <blong@fiction.net>
40886 + * Copyright (C) 1999 Andrej Gritsenko <andrej@lucky.net>
40887 + * Copyright (C) 2000-2001 Vsevolod Volkov <vvv@mutt.org.ua>
40889 + * This program is free software; you can redistribute it and/or modify
40890 + * it under the terms of the GNU General Public License as published by
40891 + * the Free Software Foundation; either version 2 of the License, or
40892 + * (at your option) any later version.
40894 + * This program is distributed in the hope that it will be useful,
40895 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
40896 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40897 + * GNU General Public License for more details.
40899 + * You should have received a copy of the GNU General Public License
40900 + * along with this program; if not, write to the Free Software
40901 + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
40905 +#include "mutt_curses.h"
40909 +#include "mailbox.h"
40911 +#include "rfc822.h"
40912 +#include "rfc1524.h"
40913 +#include "rfc2047.h"
40915 +#include <unistd.h>
40916 +#include <string.h>
40917 +#include <ctype.h>
40918 +#include <stdlib.h>
40919 +#include <sys/stat.h>
40921 +void nntp_add_to_list (NNTP_SERVER *s, NNTP_DATA *d)
40928 + l = safe_calloc (1, sizeof (LIST));
40930 + s->tail->next = l;
40934 + l->data = (void *) d;
40937 +static int nntp_parse_newsrc_line (NNTP_SERVER *news, char *line)
40940 + char group[LONG_STRING];
40942 + char *p = line, *b, *h;
40952 + while (*p && (*p != ':' && *p != '!')) p++;
40955 + len = p + 1 - line;
40956 + if (len > sizeof (group))
40957 + len = sizeof (group);
40958 + strfcpy (group, line, len);
40959 + if ((data = (NNTP_DATA *)hash_find (news->newsgroups, group)) == NULL)
40961 + data = (NNTP_DATA *) safe_calloc (1, sizeof (NNTP_DATA) + strlen (group) + 1);
40962 + data->group = (char *) data + sizeof (NNTP_DATA);
40963 + strcpy (data->group, group);
40964 + data->nserv = news;
40965 + data->deleted = 1;
40966 + if (news->newsgroups->nelem < news->newsgroups->curnelem * 2)
40967 + news->newsgroups = hash_resize (news->newsgroups, news->newsgroups->nelem * 2);
40968 + hash_insert (news->newsgroups, data->group, data, 0);
40969 + nntp_add_to_list (news, data);
40972 + FREE ((void **) &data->entries);
40975 + data->entries = safe_calloc (x*2, sizeof (NEWSRC_ENTRY));
40979 + data->subscribed = 1;
40981 + data->subscribed = 0;
40988 + while (*p && *p != ',' && *p != '\n') p++;
40994 + if ((h = strchr(b, '-')))
40998 + data->entries[x].first = atoi(b);
40999 + data->entries[x].last = atoi(h);
41003 + data->entries[x].first = atoi(b);
41004 + data->entries[x].last = data->entries[x].first;
41007 + if (data->entries[x].last != 0)
41010 + if (x && !data->lastMessage)
41011 + data->lastMessage = data->entries[x-1].last;
41013 + mutt_newsgroup_stat (data);
41014 + dprint (2, (debugfile, "parse_line: Newsgroup %s\n", data->group));
41019 +static int slurp_newsrc (NNTP_SERVER *news)
41025 + news->stat = stat (news->newsrc, &sb);
41026 + news->size = sb.st_size;
41027 + news->mtime = sb.st_mtime;
41029 + if ((fp = safe_fopen (news->newsrc, "r")) == NULL)
41031 + /* hmm, should we use dotlock? */
41032 + if (mx_lock_file (news->newsrc, fileno (fp), 0, 0, 1))
41038 + buf = safe_malloc (sb.st_size + 1);
41039 + while (fgets (buf, sb.st_size + 1, fp))
41040 + nntp_parse_newsrc_line (news, buf);
41043 + mx_unlock_file (news->newsrc, fileno (fp), 0);
41048 +void nntp_cache_expand (char *dst, const char *src)
41050 + snprintf (dst, _POSIX_PATH_MAX, "%s/%s", NewsCacheDir, src);
41051 + mutt_expand_path (dst, _POSIX_PATH_MAX);
41054 +/* Loads $news_cache_dir/.index into memory, loads newsserver data
41055 + * and newsgroup cache names */
41056 +static int nntp_parse_cacheindex (NNTP_SERVER *news)
41059 + char buf[HUGE_STRING], *cp;
41060 + char dir[_POSIX_PATH_MAX], file[_POSIX_PATH_MAX];
41065 + /* check is server name defined or not */
41066 + if (!news || !news->conn || !news->conn->account.host)
41068 + unset_option (OPTNEWSCACHE);
41069 + if (!NewsCacheDir || !*NewsCacheDir)
41072 + strfcpy (dir, NewsCacheDir, sizeof (dir));
41073 + mutt_expand_path (dir, sizeof(dir));
41075 + if (lstat (dir, &st) || (st.st_mode & S_IFDIR) == 0)
41077 + snprintf (buf, sizeof(buf), _("Directory %s not exist. Create it?"), dir);
41078 + if (mutt_yesorno (buf, M_YES) != M_YES || mkdir (dir, (S_IRWXU+S_IRWXG+
41081 + mutt_error _("Cache directory not created!");
41084 + mutt_clear_error();
41087 + set_option (OPTNEWSCACHE);
41089 + FREE (&news->cache);
41090 + snprintf (buf, sizeof(buf), "%s/.index", dir);
41091 + if (!(index = safe_fopen (buf, "a+")))
41094 + while (fgets (buf, sizeof(buf), index))
41096 + buf[strlen(buf) - 1] = 0; /* strip ending '\n' */
41097 + if (!mutt_strncmp (buf, "#: ", 3) &&
41098 + !mutt_strcasecmp (buf+3, news->conn->account.host))
41101 + while (fgets (buf, sizeof(buf), index))
41104 + while (*cp && *cp != ' ') cp++;
41105 + if (!*cp) continue;
41107 + if (!mutt_strcmp (buf, "#:"))
41109 + sscanf (cp + 1, "%s %d %d", file, &l, &m);
41110 + if (!mutt_strcmp (buf, "ALL"))
41112 + news->cache = safe_strdup (file);
41113 + news->newgroups_time = m;
41115 + else if (news->newsgroups)
41117 + if ((data = (NNTP_DATA *)hash_find (news->newsgroups, buf)) == NULL)
41119 + data = (NNTP_DATA *) safe_calloc (1, sizeof (NNTP_DATA) + strlen (buf) + 1);
41120 + data->group = (char *) data + sizeof (NNTP_DATA);
41121 + strcpy(data->group, buf);
41122 + data->nserv = news;
41123 + data->deleted = 1;
41124 + if (news->newsgroups->nelem < news->newsgroups->curnelem * 2)
41125 + news->newsgroups = hash_resize (news->newsgroups, news->newsgroups->nelem * 2);
41126 + hash_insert (news->newsgroups, data->group, data, 0);
41127 + nntp_add_to_list (news, data);
41129 + data->cache = safe_strdup (file);
41131 + if (!data->firstMessage || data->lastMessage < m)
41133 + if (!data->firstMessage)
41134 + data->firstMessage = l;
41135 + if (data->lastMessage < m)
41136 + data->lastMessage = m;
41137 + data->lastCached = m;
41138 + if (t || !data->unread)
41139 + mutt_newsgroup_stat (data);
41147 +nntp_format_str (char *dest, size_t destlen, char op, const char *src,
41148 + const char *fmt, const char *ifstring, const char *elsestring,
41149 + unsigned long data, format_flag flags)
41151 + char fn[SHORT_STRING], tmp[SHORT_STRING];
41156 + strncpy (fn, NewsServer, sizeof(fn) - 1);
41157 + mutt_strlower (fn);
41158 + snprintf (tmp, sizeof (tmp), "%%%ss", fmt);
41159 + snprintf (dest, destlen, tmp, fn);
41165 +/* nntp_parse_url: given an NNPT URL, return host, port,
41166 + * username, password and newsgroup will recognise. */
41167 +int nntp_parse_url (const char *server, ACCOUNT *acct,
41168 + char *group, size_t group_len)
41176 + acct->port = NNTP_PORT;
41177 + acct->type = M_ACCT_TYPE_NNTP;
41179 + c = safe_strdup (server);
41180 + url_parse_ciss (&url, c);
41182 + if (url.scheme == U_NNTP || url.scheme == U_NNTPS)
41184 + if (url.scheme == U_NNTPS)
41186 + acct->flags |= M_ACCT_SSL;
41187 + acct->port = NNTP_SSL_PORT;
41192 + strfcpy (group, url.path, group_len);
41194 + ret = mutt_account_fromurl (acct, &url);
41201 +void nntp_expand_path (char *line, size_t len, ACCOUNT *acct)
41205 + url.path = safe_strdup (line);
41206 + mutt_account_tourl (acct, &url);
41207 + url_ciss_tostring (&url, line, len, 0);
41208 + FREE (&url.path);
41212 + * Automatically loads a newsrc into memory, if necessary.
41213 + * Checks the size/mtime of a newsrc file, if it doesn't match, load
41214 + * again. Hmm, if a system has broken mtimes, this might mean the file
41215 + * is reloaded every time, which we'd have to fix.
41217 + * a newsrc file is a line per newsgroup, with the newsgroup, then a
41218 + * ':' denoting subscribed or '!' denoting unsubscribed, then a
41219 + * comma separated list of article numbers and ranges.
41221 +NNTP_SERVER *mutt_select_newsserver (char *server)
41223 + char file[_POSIX_PATH_MAX];
41227 + NNTP_SERVER *serv;
41228 + CONNECTION *conn;
41230 + if (!server || !*server)
41232 + mutt_error _("No newsserver defined!");
41236 + buf = p = safe_calloc (strlen (server) + 10, sizeof (char));
41237 + if (url_check_scheme (server) == U_UNKNOWN)
41239 + strcpy (buf, "nntp://");
41240 + p = strchr (buf, '\0');
41242 + strcpy (p, server);
41244 + if ((nntp_parse_url (buf, &acct, file, sizeof (file))) < 0 || *file)
41247 + mutt_error (_("%s is an invalid newsserver specification!"), server);
41252 + conn = mutt_conn_find (NULL, &acct);
41256 + mutt_FormatString (file, sizeof (file), NONULL (NewsRc), nntp_format_str, 0, 0);
41257 + mutt_expand_path (file, sizeof (file));
41259 + serv = (NNTP_SERVER *)conn->data;
41264 + /* externally modified? */
41265 + if (serv->stat != stat (file, &sb) || (!serv->stat &&
41266 + (serv->size != sb.st_size || serv->mtime != sb.st_mtime)))
41268 + for (list = serv->list; list; list = list->next)
41270 + NNTP_DATA *data = (NNTP_DATA *) list->data;
41274 + data->subscribed = 0;
41279 + slurp_newsrc (serv);
41280 + nntp_clear_cacheindex (serv);
41283 + if (serv->status == NNTP_BYE)
41284 + serv->status = NNTP_NONE;
41285 + nntp_check_newgroups (serv, 0);
41289 + /* New newsserver */
41290 + serv = safe_calloc (1, sizeof (NNTP_SERVER));
41291 + serv->conn = conn;
41292 + serv->newsrc = safe_strdup (file);
41293 + serv->newsgroups = hash_create (1009);
41294 + slurp_newsrc (serv); /* load .newsrc */
41295 + nntp_parse_cacheindex (serv); /* load .index */
41296 + if (option (OPTNEWSCACHE) && serv->cache && nntp_get_cache_all (serv) >= 0)
41297 + nntp_check_newgroups (serv, 1);
41298 + else if (nntp_get_active (serv) < 0)
41300 + hash_destroy (&serv->newsgroups, nntp_delete_data);
41301 + for (list = serv->list; list; list = list->next)
41302 + list->data = NULL;
41303 + mutt_free_list (&serv->list);
41304 + FREE (&serv->newsrc);
41305 + FREE (&serv->cache);
41309 + nntp_clear_cacheindex (serv);
41310 + conn->data = (void *)serv;
41316 + * full status flags are not supported by nntp, but we can fake some
41317 + * of them. This is how:
41318 + * Read = a read message number is in the .newsrc
41319 + * New = a message is new since we last read this newsgroup
41320 + * Old = anything else
41321 + * So, Read is marked as such in the newsrc, old is anything that is
41322 + * "skipped" in the newsrc, and new is anything not in the newsrc nor
41323 + * in the cache. By skipped, I mean before the last unread message
41325 +void nntp_get_status (CONTEXT *ctx, HEADER *h, char *group, int article)
41327 + NNTP_DATA *data = (NNTP_DATA *) ctx->data;
41331 + data = (NNTP_DATA *) hash_find (data->nserv->newsgroups, group);
41337 + dprint (3, (debugfile, "newsgroup %s not found\n", group));
41342 + for (x = 0; x < data->num; x++)
41344 + if ((article >= data->entries[x].first) &&
41345 + (article <= data->entries[x].last))
41347 + /* we cannot use mutt_set_flag() because mx_update_context()
41348 + didn't called yet */
41353 + /* If article was not cached yet, it is new! :) */
41354 + if (!data->cache || article > data->lastCached)
41356 + /* Old articles are articles which aren't read but an article after them
41357 + * has been cached */
41358 + if (option (OPTMARKOLD))
41362 +void mutt_newsgroup_stat (NNTP_DATA *data)
41365 + unsigned int first, last;
41367 + data->unread = 0;
41368 + if (data->lastMessage == 0 || data->firstMessage > data->lastMessage)
41371 + data->unread = data->lastMessage - data->firstMessage + 1;
41372 + for (i = 0; i < data->num; i++)
41374 + first = data->entries[i].first;
41375 + if (first < data->firstMessage)
41376 + first = data->firstMessage;
41377 + last = data->entries[i].last;
41378 + if (last > data->lastMessage)
41379 + last = data->lastMessage;
41380 + if (first <= last)
41381 + data->unread -= last - first + 1;
41385 +static int puti (char *line, int num)
41389 + for (p = s; num; )
41391 + *p++ = '0' + num % 10;
41395 + *line++ = *--p, num++;
41400 +static void nntp_create_newsrc_line (NNTP_DATA *data, char **buf, char **pline, size_t *buflen)
41402 + char *line = *pline;
41403 + size_t len = *buflen - (*pline - *buf);
41406 + if (len < LONG_STRING * 10)
41411 + safe_realloc ((void **) buf, *buflen);
41412 + line = *buf + (*pline - line);
41414 + strcpy (line, data->group);
41415 + len -= strlen (line) + 1;
41416 + line += strlen (line);
41417 + *line++ = data->subscribed ? ':' : '!';
41420 + for (x = 0; x < data->num; x++)
41422 + if (len < LONG_STRING)
41428 + safe_realloc ((void **) buf, *buflen);
41429 + line = *buf + (*pline - line);
41438 + if (data->entries[x].first == data->entries[x].last)
41439 + snprintf (line, len, "%d%n", data->entries[x].first, &i);
41441 + snprintf (line, len, "%d-%d%n",
41442 + data->entries[x].first, data->entries[x].last, &i);
41446 + i = puti (line, data->entries[x].first);
41447 + line +=i; len -= i;
41448 + if (data->entries[x].first != data->entries[x].last)
41452 + i = puti (line, data->entries[x].last);
41453 + line +=i; len -= i;
41462 +void newsrc_gen_entries (CONTEXT *ctx)
41464 + NNTP_DATA *data = (NNTP_DATA *)ctx->data;
41466 + unsigned int last = 0, first = 1;
41467 + int save_sort = SORT_ORDER;
41469 + if (Sort != SORT_ORDER)
41471 + save_sort = Sort;
41472 + Sort = SORT_ORDER;
41473 + mutt_sort_headers (ctx, 0);
41478 + data->entries = safe_calloc (5, sizeof (NEWSRC_ENTRY));
41483 + * Set up to fake initial sequence from 1 to the article before the
41484 + * first article in our list
41489 + for (x = 0; x < ctx->msgcount; x++)
41491 + if (series) /* search for first unread */
41494 + * We don't actually check sequential order, since we mark
41495 + * "missing" entries as read/deleted
41497 + last = ctx->hdrs[x]->article_num;
41498 + if (last >= data->firstMessage && !ctx->hdrs[x]->deleted &&
41499 + !ctx->hdrs[x]->read)
41501 + if (data->num >= data->max)
41503 + data->max = data->max * 2;
41504 + safe_realloc ((void **)&data->entries,
41505 + data->max * sizeof (NEWSRC_ENTRY));
41507 + data->entries[data->num].first = first;
41508 + data->entries[data->num].last = last - 1;
41513 + else /* search for first read */
41515 + if (ctx->hdrs[x]->deleted || ctx->hdrs[x]->read)
41517 + first = last + 1;
41520 + last = ctx->hdrs[x]->article_num;
41523 + if (series && first <= data->lastLoaded)
41525 + if (data->num >= data->max)
41527 + data->max = data->max * 2;
41528 + safe_realloc ((void **)&data->entries,
41529 + data->max * sizeof (NEWSRC_ENTRY));
41531 + data->entries[data->num].first = first;
41532 + data->entries[data->num].last = data->lastLoaded;
41536 + if (save_sort != Sort)
41538 + Sort = save_sort;
41539 + mutt_sort_headers (ctx, 0);
41543 +int mutt_newsrc_update (NNTP_SERVER *news)
41545 + char *buf, *line;
41549 + size_t len, llen;
41553 + llen = len = 10 * LONG_STRING;
41554 + line = buf = safe_calloc (1, len);
41555 + /* we will generate full newsrc here */
41556 + for (tmp = news->list; tmp; tmp = tmp->next)
41558 + data = (NNTP_DATA *) tmp->data;
41559 + if (!data || !data->rc)
41561 + nntp_create_newsrc_line (data, &buf, &line, &llen);
41562 + dprint (2, (debugfile, "Added to newsrc: %s", line));
41563 + line += strlen (line);
41565 + /* newrc being fully rewritten */
41566 + if (news->newsrc &&
41567 + (r = mutt_update_list_file (news->newsrc, NULL, "", buf)) == 0)
41571 + stat (news->newsrc, &st);
41572 + news->size = st.st_size;
41573 + news->mtime = st.st_mtime;
41579 +static FILE *mutt_mkname (char *s)
41581 + char buf[_POSIX_PATH_MAX], *pc;
41585 + nntp_cache_expand (buf, s);
41586 + if ((fp = safe_fopen (buf, "w")))
41589 + nntp_cache_expand (buf, "cache-XXXXXX");
41590 + pc = buf + strlen (buf) - 12; /* positioning to "cache-XXXXXX" */
41591 + if ((fd = mkstemp (buf)) == -1)
41593 + strcpy (s, pc); /* generated name */
41594 + return fdopen (fd, "w");
41597 +/* Updates info into .index file: ALL or about selected newsgroup */
41598 +static int nntp_update_cacheindex (NNTP_SERVER *serv, NNTP_DATA *data)
41600 + char buf[LONG_STRING], *key = "ALL";
41601 + char file[_POSIX_PATH_MAX];
41603 + if (!serv || !serv->conn || !serv->conn->account.host)
41606 + if (data && data->group)
41608 + key = data->group;
41609 + snprintf (buf, sizeof (buf), "%s %s %d %d", key, data->cache,
41610 + data->firstMessage, data->lastLoaded);
41614 + strfcpy (file, serv->cache, sizeof (file));
41615 + snprintf (buf, sizeof (buf), "ALL %s 0 %d", file, (int)serv->newgroups_time);
41617 + nntp_cache_expand (file, ".index");
41618 + return mutt_update_list_file (file, serv->conn->account.host, key, buf);
41621 +/* Remove cache files of unsubscribed newsgroups */
41622 +void nntp_clear_cacheindex (NNTP_SERVER *news)
41627 + if (option (OPTSAVEUNSUB) || !news)
41630 + for (tmp = news->list; tmp; tmp = tmp->next)
41632 + data = (NNTP_DATA *) tmp->data;
41633 + if (!data || data->subscribed || !data->cache)
41635 + nntp_delete_cache (data);
41636 + dprint (2, (debugfile, "Removed from .index: %s\n", data->group));
41641 +int nntp_save_cache_index (NNTP_SERVER *news)
41643 + char buf[HUGE_STRING];
41644 + char file[_POSIX_PATH_MAX];
41649 + if (!news || !news->newsgroups)
41651 + if (!option (OPTNEWSCACHE))
41656 + nntp_cache_expand (file, news->cache);
41658 + f = safe_fopen (file, "w");
41662 + strfcpy (buf, news->conn->account.host, sizeof(buf));
41663 + f = mutt_mkname (buf);
41664 + news->cache = safe_strdup (buf);
41665 + nntp_cache_expand (file, buf);
41670 + for (l = news->list; l; l = l->next)
41672 + if ((d = (NNTP_DATA *)l->data) && !d->deleted)
41675 + snprintf (buf, sizeof(buf), "%s %d %d %c %s\n", d->group,
41676 + d->lastMessage, d->firstMessage, d->allowed ? 'y' : 'n',
41679 + snprintf (buf, sizeof(buf), "%s %d %d %c\n", d->group,
41680 + d->lastMessage, d->firstMessage, d->allowed ? 'y' : 'n');
41681 + if (fputs (buf, f) == EOF)
41691 + if (nntp_update_cacheindex (news, NULL))
41699 +int nntp_save_cache_group (CONTEXT *ctx)
41701 + char buf[HUGE_STRING], addr[STRING];
41702 + char file[_POSIX_PATH_MAX];
41706 + int i = 0, save = SORT_ORDER;
41709 + if (!option (OPTNEWSCACHE))
41711 + if (!ctx || !ctx->data || ctx->magic != M_NNTP)
41714 + if (((NNTP_DATA *)ctx->data)->cache)
41716 + nntp_cache_expand (file, ((NNTP_DATA *)ctx->data)->cache);
41718 + f = safe_fopen (file, "w");
41722 + snprintf (buf, sizeof(buf), "%s-%s",
41723 + ((NNTP_DATA *)ctx->data)->nserv->conn->account.host,
41724 + ((NNTP_DATA *)ctx->data)->group);
41725 + f = mutt_mkname (buf);
41726 + ((NNTP_DATA *)ctx->data)->cache = safe_strdup (buf);
41727 + nntp_cache_expand (file, buf);
41732 + if (Sort != SORT_ORDER)
41735 + Sort = SORT_ORDER;
41736 + mutt_sort_headers (ctx, 0);
41739 + /* Save only $nntp_context messages... */
41740 + ((NNTP_DATA *)ctx->data)->lastCached = 0;
41741 + if (NntpContext && ctx->msgcount > NntpContext)
41742 + i = ctx->msgcount - NntpContext;
41743 + for (; i < ctx->msgcount; i++)
41745 + if (!ctx->hdrs[i]->deleted && ctx->hdrs[i]->article_num != prev)
41747 + h = ctx->hdrs[i];
41749 + rfc822_write_address (addr, sizeof(addr), h->env->from);
41750 + tm = gmtime (&h->date_sent);
41751 + snprintf (buf, sizeof(buf),
41752 + "%d\t%s\t%s\t%d %s %d %02d:%02d:%02d GMT\t%s\t",
41753 + h->article_num, h->env->subject, addr, tm->tm_mday,
41754 + Months[tm->tm_mon], tm->tm_year+1900, tm->tm_hour, tm->tm_min,
41755 + tm->tm_sec, h->env->message_id);
41757 + if (h->env->references)
41758 + mutt_write_references (h->env->references, f);
41759 + snprintf (buf, sizeof(buf), "\t%ld\t%d\tXref: %s\n", h->content->length,
41760 + h->lines, NONULL(h->env->xref));
41761 + if (fputs (buf, f) == EOF)
41768 + prev = ctx->hdrs[i]->article_num;
41771 + if (save != Sort)
41774 + mutt_sort_headers (ctx, 0);
41778 + if (nntp_update_cacheindex (((NNTP_DATA *)ctx->data)->nserv,
41779 + (NNTP_DATA *)ctx->data))
41784 + ((NNTP_DATA *)ctx->data)->lastCached = ((NNTP_DATA *)ctx->data)->lastLoaded;
41788 +void nntp_delete_cache (NNTP_DATA *data)
41790 + char buf[_POSIX_PATH_MAX];
41792 + if (!option (OPTNEWSCACHE) || !data || !data->cache || !data->nserv)
41795 + nntp_cache_expand (buf, data->cache);
41797 + FREE (&data->cache);
41798 + data->lastCached = 0;
41799 + nntp_cache_expand (buf, ".index");
41800 + mutt_update_list_file (buf, data->nserv->conn->account.host, data->group, NULL);
41803 +NNTP_DATA *mutt_newsgroup_subscribe (NNTP_SERVER *news, char *group)
41807 + if (!news || !news->newsgroups || !group || !*group)
41809 + if (!(data = (NNTP_DATA *)hash_find (news->newsgroups, group)))
41811 + data = (NNTP_DATA *) safe_calloc (1, sizeof (NNTP_DATA) + strlen (group) + 1);
41812 + data->group = (char *) data + sizeof (NNTP_DATA);
41813 + strcpy (data->group, group);
41814 + data->nserv = news;
41815 + data->deleted = 1;
41816 + if (news->newsgroups->nelem < news->newsgroups->curnelem * 2)
41817 + news->newsgroups = hash_resize (news->newsgroups, news->newsgroups->nelem * 2);
41818 + hash_insert (news->newsgroups, data->group, data, 0);
41819 + nntp_add_to_list (news, data);
41821 + if (!data->subscribed)
41823 + data->subscribed = 1;
41829 +NNTP_DATA *mutt_newsgroup_unsubscribe (NNTP_SERVER *news, char *group)
41833 + if (!news || !news->newsgroups || !group || !*group ||
41834 + !(data = (NNTP_DATA *)hash_find (news->newsgroups, group)))
41836 + if (data->subscribed)
41838 + data->subscribed = 0;
41839 + if (!option (OPTSAVEUNSUB))
41845 +NNTP_DATA *mutt_newsgroup_catchup (NNTP_SERVER *news, char *group)
41849 + if (!news || !news->newsgroups || !group || !*group ||
41850 + !(data = (NNTP_DATA *)hash_find (news->newsgroups, group)))
41854 + data->entries = safe_calloc (5, sizeof (NEWSRC_ENTRY));
41858 + data->entries[0].first = 1;
41859 + data->unread = 0;
41860 + data->entries[0].last = data->lastMessage;
41861 + if (Context && Context->data == data)
41865 + for (x = 0; x < Context->msgcount; x++)
41866 + mutt_set_flag (Context, Context->hdrs[x], M_READ, 1);
41871 +NNTP_DATA *mutt_newsgroup_uncatchup (NNTP_SERVER *news, char *group)
41875 + if (!news || !news->newsgroups || !group || !*group ||
41876 + !(data = (NNTP_DATA *)hash_find (news->newsgroups, group)))
41880 + data->entries = safe_calloc (5, sizeof (NEWSRC_ENTRY));
41884 + data->entries[0].first = 1;
41885 + data->entries[0].last = data->firstMessage - 1;
41886 + if (Context && Context->data == data)
41890 + data->unread = Context->msgcount;
41891 + for (x = 0; x < Context->msgcount; x++)
41892 + mutt_set_flag (Context, Context->hdrs[x], M_READ, 0);
41895 + data->unread = data->lastMessage - data->entries[0].last;
41899 +/* this routine gives the first newsgroup with new messages */
41900 +void nntp_buffy (char *s)
41904 + for (list = CurrentNewsSrv->list; list; list = list->next)
41906 + NNTP_DATA *data = (NNTP_DATA *) list->data;
41908 + if (data && data->subscribed && data->unread)
41910 + if (Context && Context->magic == M_NNTP &&
41911 + !mutt_strcmp (data->group, ((NNTP_DATA *) Context->data)->group))
41913 + unsigned int i, unread = 0;
41915 + for (i = 0; i < Context->msgcount; i++)
41916 + if (!Context->hdrs[i]->read && !Context->hdrs[i]->deleted)
41921 + strcpy (s, data->group);
41926 diff -uNr mutt-1.4.orig/nntp.c mutt-1.4/nntp.c
41927 --- mutt-1.4.orig/nntp.c Thu Jan 1 01:00:00 1970
41928 +++ mutt-1.4/nntp.c Sun Nov 3 21:57:20 2002
41931 + * Copyright (C) 1998 Brandon Long <blong@fiction.net>
41932 + * Copyright (C) 1999 Andrej Gritsenko <andrej@lucky.net>
41933 + * Copyright (C) 2000-2002 Vsevolod Volkov <vvv@mutt.org.ua>
41935 + * This program is free software; you can redistribute it and/or modify
41936 + * it under the terms of the GNU General Public License as published by
41937 + * the Free Software Foundation; either version 2 of the License, or
41938 + * (at your option) any later version.
41940 + * This program is distributed in the hope that it will be useful,
41941 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
41942 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41943 + * GNU General Public License for more details.
41945 + * You should have received a copy of the GNU General Public License
41946 + * along with this program; if not, write to the Free Software
41947 + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
41951 +#include "mutt_curses.h"
41955 +#include "rfc1524.h"
41956 +#include "rfc2047.h"
41957 +#include "mailbox.h"
41964 +#include <unistd.h>
41965 +#include <string.h>
41966 +#include <ctype.h>
41967 +#include <stdlib.h>
41969 +static unsigned int _checked = 0;
41972 +static void nntp_error (const char *where, const char *msg)
41974 + dprint (1, (debugfile, "nntp_error(): unexpected response in %s: %s\n", where, msg));
41976 +#endif /* DEBUG */
41978 +static int nntp_connect_error (NNTP_SERVER *serv)
41980 + serv->status = NNTP_NONE;
41981 + mutt_socket_close (serv->conn);
41982 + mutt_error _("Server closed connection!");
41987 +static int nntp_connect_and_auth (NNTP_SERVER *serv)
41989 + CONNECTION *conn = serv->conn;
41990 + char buf[STRING];
41991 + unsigned char flags = conn->account.flags;
41993 + serv->status = NNTP_NONE;
41995 + if (mutt_socket_open (conn) < 0)
41998 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
41999 + return nntp_connect_error (serv);
42001 + if (!mutt_strncmp ("200", buf, 3))
42002 + mutt_message (_("Connected to %s. Posting ok."), conn->account.host);
42003 + else if (!mutt_strncmp ("201", buf, 3))
42004 + mutt_message (_("Connected to %s. Posting NOT ok."), conn->account.host);
42007 + mutt_socket_close (conn);
42008 + mutt_remove_trailing_ws (buf);
42009 + mutt_error ("%s", buf);
42016 + /* Tell INN to switch to mode reader if it isn't so. Ignore all
42017 + returned codes and messages. */
42018 + mutt_socket_write (conn, "MODE READER\r\n");
42019 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42020 + return nntp_connect_error (serv);
42022 + mutt_socket_write (conn, "STAT\r\n");
42023 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42024 + return nntp_connect_error (serv);
42026 + if (!(conn->account.flags & M_ACCT_USER) && mutt_strncmp ("480", buf, 3))
42028 + serv->status = NNTP_OK;
42032 + if (mutt_account_getuser (&conn->account) || !conn->account.user[0] ||
42033 + mutt_account_getpass (&conn->account) || !conn->account.pass[0])
42035 + mutt_socket_close (conn);
42036 + serv->status = NNTP_BYE;
42037 + conn->account.flags = flags;
42041 + mutt_message _("Logging in...");
42043 + snprintf (buf, sizeof (buf), "AUTHINFO USER %s\r\n", conn->account.user);
42044 + mutt_socket_write (conn, buf);
42045 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42047 + conn->account.flags = flags;
42048 + return nntp_connect_error (serv);
42052 + /* don't print the password unless we're at the ungodly debugging level */
42053 + if (debuglevel < M_SOCK_LOG_FULL)
42054 + dprint (M_SOCK_LOG_CMD, (debugfile, "> AUTHINFO PASS *\n"));
42056 + snprintf (buf, sizeof (buf), "AUTHINFO PASS %s\r\n", conn->account.pass);
42057 + mutt_socket_write_d (conn, buf, M_SOCK_LOG_FULL);
42058 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42060 + conn->account.flags = flags;
42061 + return nntp_connect_error (serv);
42064 + if (!mutt_strncmp ("281", buf, 3))
42066 + serv->status = NNTP_OK;
42070 + mutt_socket_close (conn);
42071 + conn->account.flags = flags;
42072 + mutt_error _("Login failed.");
42077 +static int nntp_attempt_features (NNTP_SERVER *serv)
42079 + char buf[LONG_STRING];
42080 + CONNECTION *conn = serv->conn;
42082 + mutt_socket_write (conn, "XOVER\r\n");
42083 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42084 + return nntp_connect_error (serv);
42085 + if (mutt_strncmp ("500", buf, 3))
42086 + serv->hasXOVER = 1;
42088 + mutt_socket_write (conn, "XPAT\r\n");
42089 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42090 + return nntp_connect_error (serv);
42091 + if (mutt_strncmp ("500", buf, 3))
42092 + serv->hasXPAT = 1;
42094 + mutt_socket_write (conn, "XGTITLE +\r\n");
42095 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42096 + return nntp_connect_error (serv);
42097 + if (mutt_strncmp ("500", buf, 3))
42098 + serv->hasXGTITLE = 1;
42100 + if (!mutt_strncmp ("282", buf, 3))
42104 + if (mutt_socket_readln (buf, sizeof (buf), conn) < 0)
42105 + return nntp_connect_error (serv);
42106 + } while (!(buf[0] == '.' && buf[1] == '\0'));
42112 +static int nntp_open_connection (NNTP_SERVER *serv)
42114 + if (serv->status == NNTP_OK)
42116 + if (serv->status == NNTP_BYE)
42118 + if (nntp_connect_and_auth (serv) < 0)
42120 + if (nntp_attempt_features (serv) < 0)
42125 +static int nntp_reconnect (NNTP_SERVER *serv)
42127 + char buf[SHORT_STRING];
42129 + mutt_socket_close (serv->conn);
42133 + if (nntp_connect_and_auth (serv) == 0)
42136 + snprintf (buf, sizeof (buf), _("Connection to %s lost. Reconnect?"),
42137 + serv->conn->account.host);
42138 + if (query_quadoption (OPT_NNTPRECONNECT, buf) != M_YES)
42140 + serv->status = NNTP_BYE;
42146 +/* Send data from line[LONG_STRING] and receive answer to same line */
42147 +static int mutt_nntp_query (NNTP_DATA *data, char *line, size_t linelen)
42149 + char buf[LONG_STRING];
42152 + if (data->nserv->status == NNTP_BYE)
42157 + if (!*line && data->group)
42159 + snprintf (buf, sizeof (buf), "GROUP %s\r\n", data->group);
42160 + mutt_socket_write (data->nserv->conn, buf);
42163 + mutt_socket_write (data->nserv->conn, line);
42166 + if (mutt_socket_readln (buf, sizeof (buf), data->nserv->conn) < 0)
42168 + if (nntp_reconnect (data->nserv) < 0)
42173 + snprintf (buf, sizeof (buf), "GROUP %s\r\n", data->group);
42174 + mutt_socket_write (data->nserv->conn, buf);
42175 + if (mutt_socket_readln (buf, sizeof (buf), data->nserv->conn) < 0)
42178 + if (*line) done = FALSE;
42182 + strfcpy (line, buf, linelen);
42187 + * This function calls funct(*line, *data) for each received line,
42188 + * funct(NULL, *data) if rewind(*data) needs, exits when fail or done.
42189 + * Returned codes:
42190 + * 0 - successful,
42191 + * 1 - correct but not performed (may be, have to be continued),
42192 + * -1 - conection lost,
42193 + * -2 - invalid command or execution error,
42194 + * -3 - error in funct(*line, *data).
42196 +static int mutt_nntp_fetch (NNTP_DATA *nntp_data, char *query, char *msg,
42197 + int (*funct) (char *, void *), void *data, int tagged)
42199 + char buf[LONG_STRING];
42201 + int done = FALSE;
42203 + size_t lenbuf = 0;
42208 + strfcpy (buf, query, sizeof (buf));
42209 + if (mutt_nntp_query (nntp_data, buf, sizeof (buf)) < 0)
42211 + if (buf[0] == '5')
42213 + if (buf[0] != '2')
42218 + inbuf = safe_malloc (sizeof (buf));
42222 + chunk = mutt_socket_readln_d (buf, sizeof (buf), nntp_data->nserv->conn,
42228 + if (!lenbuf && buf[0] == '.')
42230 + if (buf[1] == '\0')
42235 + if (buf[1] == '.')
42239 + strfcpy (inbuf + lenbuf, p, sizeof (buf));
42241 + if (chunk >= sizeof (buf))
42243 + lenbuf += strlen (p);
42248 + if (msg && ReadInc && (line % ReadInc == 0)) {
42250 + mutt_message (_("%s (tagged: %d) %d"), msg, tagged, line);
42252 + mutt_message ("%s %d", msg, line);
42255 + if (ret == 0 && funct (inbuf, data) < 0)
42260 + safe_realloc ((void **) &inbuf, lenbuf + sizeof (buf));
42263 + funct (NULL, data);
42269 +static int nntp_read_tempfile (char *line, void *file)
42271 + FILE *f = (FILE *)file;
42278 + if (fputc ('\n', f) == EOF)
42284 +static void nntp_parse_xref (CONTEXT *ctx, char *group, char *xref, HEADER *h)
42286 + register char *p, *b;
42287 + register char *colon = NULL;
42292 + /* skip to next word */
42294 + while (*b && ((*b == ' ') || (*b == '\t'))) b++;
42297 + /* skip to end of word */
42298 + while (*p && (*p != ' ') && (*p != '\t'))
42313 + nntp_get_status (ctx, h, p, atoi(colon));
42314 + if (h && h->article_num == 0 && mutt_strcmp (group, b) == 0)
42315 + h->article_num = atoi(colon);
42323 + * 1 if article not found
42324 + * -1 if read or write error on tempfile or socket
42326 +static int nntp_read_header (CONTEXT *ctx, const char *msgid, int article_num)
42328 + NNTP_DATA *nntp_data = ((NNTP_DATA *)ctx->data);
42330 + char buf[LONG_STRING];
42331 + char tempfile[_POSIX_PATH_MAX];
42333 + HEADER *h = ctx->hdrs[ctx->msgcount];
42335 + mutt_mktemp (tempfile);
42336 + if (!(f = safe_fopen (tempfile, "w+")))
42340 + snprintf (buf, sizeof (buf), "HEAD %d\r\n", article_num);
42342 + snprintf (buf, sizeof (buf), "HEAD %s\r\n", msgid);
42344 + ret = mutt_nntp_fetch (nntp_data, buf, NULL, nntp_read_tempfile, f, 0);
42349 + dprint(1, (debugfile, "nntp_read_header: %s\n", buf));
42352 + unlink (tempfile);
42353 + return (ret == -1 ? -1 : 1);
42356 + h->article_num = article_num;
42357 + h->env = mutt_read_rfc822_header (f, h, 0, 0);
42359 + unlink (tempfile);
42361 + if (h->env->xref != NULL)
42362 + nntp_parse_xref (ctx, nntp_data->group, h->env->xref, h);
42363 + else if (h->article_num == 0 && msgid)
42365 + snprintf (buf, sizeof (buf), "STAT %s\r\n", msgid);
42366 + if (mutt_nntp_query (nntp_data, buf, sizeof (buf)) == 0)
42367 + h->article_num = atoi (buf + 4);
42373 +static int parse_description (char *line, void *n)
42375 +#define news ((NNTP_SERVER *) n)
42376 + register char *d = line;
42381 + while (*d && *d != '\t' && *d != ' ') d++;
42384 + while (*d && (*d == '\t' || *d == ' ')) d++;
42385 + dprint (2, (debugfile, "group: %s, desc: %s\n", line, d));
42386 + if ((data = (NNTP_DATA *) hash_find (news->newsgroups, line)) != NULL &&
42387 + mutt_strcmp (d, data->desc))
42389 + FREE (&data->desc);
42390 + data->desc = safe_strdup (d);
42396 +static void nntp_get_desc (NNTP_DATA *data, char *mask, char *msg)
42398 + char buf[STRING];
42400 + if (!option (OPTLOADDESC) || !data || !data->nserv)
42403 + /* Get newsgroup description, if we can */
42404 + if (data->nserv->hasXGTITLE)
42405 + snprintf (buf, sizeof (buf), "XGTITLE %s\r\n", mask);
42407 + snprintf (buf, sizeof (buf), "LIST NEWSGROUPS %s\r\n", mask);
42408 + if (mutt_nntp_fetch (data, buf, msg, parse_description, data->nserv, 0) != 0)
42411 + nntp_error ("nntp_get_desc()", buf);
42417 + * XOVER returns a tab separated list of:
42418 + * id|subject|from|date|Msgid|references|bytes|lines|xref
42420 + * This has to duplicate some of the functionality of
42421 + * mutt_read_rfc822_header(), since it replaces the call to that (albeit with
42422 + * a limited number of headers which are "parsed" by placement in the list)
42424 +static int nntp_parse_xover (CONTEXT *ctx, char *buf, HEADER *hdr)
42426 + NNTP_DATA *nntp_data = (NNTP_DATA *) ctx->data;
42430 + hdr->env = mutt_new_envelope();
42431 + hdr->env->newsgroups = safe_strdup (nntp_data->group);
42432 + hdr->content = mutt_new_body();
42433 + hdr->content->type = TYPETEXT;
42434 + hdr->content->subtype = safe_strdup ("plain");
42435 + hdr->content->encoding = ENC7BIT;
42436 + hdr->content->disposition = DISPINLINE;
42437 + hdr->content->length = -1;
42440 + for (x = 0; !done && x < 9; x++)
42442 + /* if from file, need to skip newline character */
42443 + while (*p && *p != '\n' && *p != '\t') p++;
42451 + hdr->article_num = atoi (b);
42452 + nntp_get_status (ctx, hdr, NULL, hdr->article_num);
42455 + hdr->env->subject = safe_strdup (b);
42456 + /* Now we need to do the things which would normally be done in
42457 + * mutt_read_rfc822_header() */
42458 + if (hdr->env->subject)
42460 + regmatch_t pmatch[1];
42462 + rfc2047_decode (&hdr->env->subject);
42464 + if (regexec (ReplyRegexp.rx, hdr->env->subject, 1, pmatch, 0) == 0)
42465 + hdr->env->real_subj = hdr->env->subject + pmatch[0].rm_eo;
42467 + hdr->env->real_subj = hdr->env->subject;
42471 + rfc822_free_address (&hdr->env->from);
42472 + hdr->env->from = rfc822_parse_adrlist (hdr->env->from, b);
42473 + rfc2047_decode_adrlist (hdr->env->from);
42476 + hdr->date_sent = mutt_parse_date (b, hdr);
42477 + hdr->received = hdr->date_sent;
42480 + FREE (&hdr->env->message_id);
42481 + hdr->env->message_id = safe_strdup (b);
42484 + mutt_free_list (&hdr->env->references);
42485 + hdr->env->references = mutt_parse_references (b, 0);
42488 + hdr->content->length = atoi (b);
42491 + hdr->lines = atoi (b);
42495 + FREE (&hdr->env->xref);
42496 + b = b + 6; /* skips the "Xref: " */
42497 + hdr->env->xref = safe_strdup (b);
42498 + nntp_parse_xref (ctx, nntp_data->group, b, hdr);
42510 + unsigned int base;
42511 + unsigned int first;
42512 + unsigned int last;
42513 + unsigned short *messages;
42517 +#define fc ((FETCH_CONTEXT *) c)
42518 +static int nntp_fetch_numbers (char *line, void *c)
42520 + unsigned int num;
42524 + num = atoi (line);
42525 + if (num < fc->base || num > fc->last)
42527 + fc->messages[num - fc->base] = 1;
42531 +static int add_xover_line (char *line, void *c)
42533 + unsigned int num, total;
42534 + CONTEXT *ctx = fc->ctx;
42535 + NNTP_DATA *data = (NNTP_DATA *)ctx->data;
42540 + if (ctx->msgcount >= ctx->hdrmax)
42541 + mx_alloc_memory (ctx);
42542 + ctx->hdrs[ctx->msgcount] = mutt_new_header ();
42543 + ctx->hdrs[ctx->msgcount]->index = ctx->msgcount;
42545 + nntp_parse_xover (ctx, line, ctx->hdrs[ctx->msgcount]);
42546 + num = ctx->hdrs[ctx->msgcount]->article_num;
42548 + if (num >= fc->first && num <= fc->last && fc->messages[num - fc->base])
42551 + if (num > data->lastLoaded)
42552 + data->lastLoaded = num;
42553 + num = num - fc->first + 1;
42554 + total = fc->last - fc->first + 1;
42555 + if (!ctx->quiet && fc->msg && ReadInc && (num % ReadInc == 0))
42556 + mutt_message ("%s %d/%d", fc->msg, num, total);
42559 + mutt_free_header (&ctx->hdrs[ctx->msgcount]); /* skip it */
42565 +static int nntp_fetch_headers (CONTEXT *ctx, unsigned int first,
42566 + unsigned int last)
42568 + char buf[HUGE_STRING];
42569 + char *msg = _("Fetching message headers...");
42570 + NNTP_DATA *nntp_data = ((NNTP_DATA *)ctx->data);
42574 + unsigned int current;
42576 + FETCH_CONTEXT fc;
42578 + /* if empty group or nothing to do */
42579 + if (!last || first > last)
42582 + /* fetch list of articles */
42583 + mutt_message _("Fetching list of articles...");
42587 + fc.messages = safe_calloc (last - first + 1, sizeof (unsigned short));
42588 + snprintf (buf, sizeof (buf), "LISTGROUP %s\r\n", nntp_data->group);
42589 + if (mutt_nntp_fetch (nntp_data, buf, NULL, nntp_fetch_numbers, &fc, 0) != 0)
42591 + mutt_error (_("LISTGROUP command failed: %s"), buf);
42593 + nntp_error ("nntp_fetch_headers()", buf);
42595 + FREE (&fc.messages);
42599 + /* CACHE: must be loaded xover cache here */
42600 + num = nntp_data->lastCached - first + 1;
42601 + if (option (OPTNEWSCACHE) && nntp_data->cache && num > 0)
42603 + nntp_cache_expand (buf, nntp_data->cache);
42604 + mutt_message _("Fetching headers from cache...");
42605 + if ((f = safe_fopen (buf, "r")))
42609 + /* counting number of lines */
42610 + while (fgets (buf, sizeof (buf), f) != NULL)
42613 + while (r > num && fgets (buf, sizeof (buf), f) != NULL)
42615 + oldmsgcount = ctx->msgcount;
42616 + fc.first = first;
42617 + fc.last = first + num - 1;
42619 + while (fgets (buf, sizeof (buf), f) != NULL)
42620 + add_xover_line (buf, &fc);
42622 + nntp_data->lastLoaded = fc.last;
42623 + first = fc.last + 1;
42624 + if (ctx->msgcount > oldmsgcount)
42625 + mx_update_context (ctx, ctx->msgcount - oldmsgcount);
42628 + nntp_delete_cache (nntp_data);
42630 + num = last - first + 1;
42633 + FREE (&fc.messages);
42638 + * Without XOVER, we have to fetch each article header and parse
42639 + * it. With XOVER, we ask for all of them
42641 + mutt_message (msg);
42642 + if (nntp_data->nserv->hasXOVER)
42644 + oldmsgcount = ctx->msgcount;
42645 + fc.first = first;
42648 + snprintf (buf, sizeof (buf), "XOVER %d-%d\r\n", first, last);
42649 + ret = mutt_nntp_fetch (nntp_data, buf, NULL, add_xover_line, &fc, 0);
42650 + if (ctx->msgcount > oldmsgcount)
42651 + mx_update_context (ctx, ctx->msgcount - oldmsgcount);
42654 + mutt_error (_("XOVER command failed: %s"), buf);
42656 + nntp_error ("nntp_fetch_headers()", buf);
42658 + FREE (&fc.messages);
42664 + for (current = first; current <= last; current++)
42668 + ret = current - first + 1;
42669 + mutt_message ("%s %d/%d", msg, ret, num);
42671 + if (!fc.messages[current - fc.base])
42674 + if (ctx->msgcount >= ctx->hdrmax)
42675 + mx_alloc_memory (ctx);
42676 + h = ctx->hdrs[ctx->msgcount] = mutt_new_header ();
42677 + h->index = ctx->msgcount;
42679 + ret = nntp_read_header (ctx, NULL, current);
42680 + if (ret == 0) /* Got article. Fetch next header */
42682 + nntp_get_status (ctx, h, NULL, h->article_num);
42684 + mx_update_context (ctx, 1);
42687 + mutt_free_header (&h); /* skip it */
42690 + FREE (&fc.messages);
42694 + if (current > nntp_data->lastLoaded)
42695 + nntp_data->lastLoaded = current;
42697 + FREE (&fc.messages);
42698 + nntp_data->lastLoaded = last;
42699 + mutt_clear_error ();
42704 + * currently, nntp "mailbox" is "newsgroup"
42706 +int nntp_open_mailbox (CONTEXT *ctx)
42708 + NNTP_DATA *nntp_data;
42709 + NNTP_SERVER *serv;
42710 + char buf[HUGE_STRING];
42711 + char server[LONG_STRING];
42713 + unsigned int first;
42716 + if (nntp_parse_url (ctx->path, &acct, buf, sizeof (buf)) < 0 || !*buf)
42718 + mutt_error (_("%s is an invalid newsgroup specification!"), ctx->path);
42723 + server[0] = '\0';
42724 + nntp_expand_path (server, sizeof (server), &acct);
42725 + if (!(serv = mutt_select_newsserver (server)) || serv->status != NNTP_OK)
42728 + CurrentNewsSrv = serv;
42730 + /* create NNTP-specific state struct if nof found in list */
42731 + if ((nntp_data = (NNTP_DATA *) hash_find (serv->newsgroups, buf)) == NULL)
42733 + nntp_data = safe_calloc (1, sizeof (NNTP_DATA) + strlen (buf) + 1);
42734 + nntp_data->group = (char *) nntp_data + sizeof (NNTP_DATA);
42735 + strcpy (nntp_data->group, buf);
42736 + hash_insert (serv->newsgroups, nntp_data->group, nntp_data, 0);
42737 + nntp_add_to_list (serv, nntp_data);
42739 + ctx->data = nntp_data;
42740 + nntp_data->nserv = serv;
42742 + mutt_message (_("Selecting %s..."), nntp_data->group);
42744 + if (!nntp_data->desc)
42746 + nntp_get_desc (nntp_data, nntp_data->group, NULL);
42747 + if (nntp_data->desc)
42748 + nntp_save_cache_index (serv);
42752 + if (mutt_nntp_query (nntp_data, buf, sizeof(buf)) < 0)
42755 + nntp_error ("nntp_open_mailbox()", buf);
42760 + if (mutt_strncmp ("211", buf, 3))
42762 + LIST *l = serv->list;
42764 + /* GROUP command failed */
42765 + if (!mutt_strncmp ("411", buf, 3))
42767 + mutt_error (_("Newsgroup %s not found on server %s"),
42768 + nntp_data->group, serv->conn->account.host);
42770 + /* CACHE: delete cache and line from .index */
42771 + nntp_delete_cache (nntp_data);
42772 + hash_delete (serv->newsgroups, nntp_data->group, NULL, nntp_delete_data);
42773 + while (l && l->data != (void *) nntp_data) l = l->next;
42783 + sscanf (buf + 4, "%d %u %u %s", &count, &nntp_data->firstMessage,
42784 + &nntp_data->lastMessage, buf);
42786 + nntp_data->deleted = 0;
42788 + time (&serv->check_time);
42791 + * Check for max adding context. If it is greater than $nntp_context,
42792 + * strip off extra articles
42794 + first = nntp_data->firstMessage;
42795 + if (NntpContext && nntp_data->lastMessage - first + 1 > NntpContext)
42796 + first = nntp_data->lastMessage - NntpContext + 1;
42798 + nntp_data->lastLoaded = first - 1;
42799 + return nntp_fetch_headers (ctx, first, nntp_data->lastMessage);
42802 +int nntp_fetch_message (MESSAGE *msg, CONTEXT *ctx, int msgno)
42804 + char buf[LONG_STRING];
42805 + char path[_POSIX_PATH_MAX];
42806 + NNTP_CACHE *cache;
42807 + char *m = _("Fetching message...");
42810 + /* see if we already have the message in our cache */
42811 + cache = &((NNTP_DATA *) ctx->data)->acache[ctx->hdrs[msgno]->index % NNTP_CACHE_LEN];
42813 + /* if everything is fine, assign msg->fp and return */
42814 + if (cache->path && cache->index == ctx->hdrs[msgno]->index &&
42815 + (msg->fp = fopen (cache->path, "r")))
42818 + /* clear the previous entry */
42819 + unlink (cache->path);
42820 + free (cache->path);
42822 + mutt_message (m);
42824 + cache->index = ctx->hdrs[msgno]->index;
42825 + mutt_mktemp (path);
42826 + cache->path = safe_strdup (path);
42827 + if (!(msg->fp = safe_fopen (path, "w+")))
42829 + FREE (&cache->path);
42833 + if (ctx->hdrs[msgno]->article_num == 0)
42834 + snprintf (buf, sizeof (buf), "ARTICLE %s\r\n",
42835 + ctx->hdrs[msgno]->env->message_id);
42837 + snprintf (buf, sizeof (buf), "ARTICLE %d\r\n",
42838 + ctx->hdrs[msgno]->article_num);
42840 + ret = mutt_nntp_fetch ((NNTP_DATA *)ctx->data, buf, m, nntp_read_tempfile,
42841 + msg->fp, ctx->tagged);
42844 + mutt_error (_("Article %d not found on server"),
42845 + ctx->hdrs[msgno]->article_num);
42846 + dprint (1, (debugfile, "nntp_fetch_message: %s\n", buf));
42851 + fclose (msg->fp);
42853 + FREE (&cache->path);
42857 + mutt_free_envelope (&ctx->hdrs[msgno]->env);
42858 + ctx->hdrs[msgno]->env = mutt_read_rfc822_header (msg->fp, ctx->hdrs[msgno], 0, 0);
42859 + /* fix content length */
42860 + fseek(msg->fp, 0, SEEK_END);
42861 + ctx->hdrs[msgno]->content->length = ftell (msg->fp) -
42862 + ctx->hdrs[msgno]->content->offset;
42864 + /* this is called in mutt before the open which fetches the message,
42865 + * which is probably wrong, but we just call it again here to handle
42866 + * the problem instead of fixing it.
42868 + mutt_parse_mime_message (ctx, ctx->hdrs[msgno]);
42870 + /* These would normally be updated in mx_update_context(), but the
42871 + * full headers aren't parsed with XOVER, so the information wasn't
42872 + * available then.
42875 + ctx->hdrs[msgno]->pgp = pgp_query (ctx->hdrs[msgno]->content);
42876 +#endif /* HAVE_PGP */
42878 + mutt_clear_error();
42879 + rewind (msg->fp);
42884 +/* Post article */
42885 +int nntp_post (const char *msg) {
42886 + char buf[LONG_STRING];
42889 + NNTP_DATA *nntp_data;
42891 + if (Context && Context->magic == M_NNTP)
42892 + nntp_data = (NNTP_DATA *)Context->data;
42895 + if (!(CurrentNewsSrv = mutt_select_newsserver (NewsServer)) ||
42896 + !CurrentNewsSrv->list || !CurrentNewsSrv->list->data)
42898 + mutt_error (_("Can't post article. No connection to news server."));
42901 + nntp_data = (NNTP_DATA *)CurrentNewsSrv->list->data;
42904 + if (!(f = safe_fopen (msg, "r")))
42906 + mutt_error (_("Can't post article. Unable to open %s"), msg);
42910 + strfcpy (buf, "POST\r\n", sizeof (buf));
42911 + if (mutt_nntp_query (nntp_data, buf, sizeof (buf)) < 0)
42913 + mutt_error (_("Can't post article. Connection to %s lost."),
42914 + nntp_data->nserv->conn->account.host);
42917 + if (buf[0] != '3')
42919 + mutt_error (_("Can't post article: %s"), buf);
42925 + while (fgets (buf + 1, sizeof (buf) - 2, f) != NULL)
42927 + len = strlen (buf);
42928 + if (buf[len - 1] == '\n')
42930 + buf[len - 1] = '\r';
42935 + if (buf[1] == '.')
42936 + mutt_socket_write_d (nntp_data->nserv->conn, buf, M_SOCK_LOG_HDR);
42938 + mutt_socket_write_d (nntp_data->nserv->conn, buf + 1, M_SOCK_LOG_HDR);
42942 + if (buf[strlen (buf) - 1] != '\n')
42943 + mutt_socket_write_d (nntp_data->nserv->conn, "\r\n", M_SOCK_LOG_HDR);
42944 + mutt_socket_write_d (nntp_data->nserv->conn, ".\r\n", M_SOCK_LOG_HDR);
42945 + if (mutt_socket_readln (buf, sizeof (buf), nntp_data->nserv->conn) < 0)
42947 + mutt_error (_("Can't post article. Connection to %s lost."),
42948 + nntp_data->nserv->conn->account.host);
42951 + if (buf[0] != '2')
42953 + mutt_error (_("Can't post article: %s"), buf);
42960 +/* nntp_logout_all: close all open connections. */
42961 +void nntp_logout_all (void)
42963 + char buf[LONG_STRING];
42964 + CONNECTION* conn;
42967 + conn = mutt_socket_head ();
42973 + if (conn->account.type == M_ACCT_TYPE_NNTP)
42975 + mutt_message (_("Closing connection to %s..."), conn->account.host);
42976 + mutt_socket_write (conn, "QUIT\r\n");
42977 + mutt_socket_readln (buf, sizeof (buf), conn);
42978 + mutt_clear_error ();
42979 + mutt_socket_close (conn);
42981 + mutt_socket_free (tmp);
42984 + conn = conn->next;
42988 +static void nntp_free_acache (NNTP_DATA *data)
42992 + for (i = 0; i < NNTP_CACHE_LEN; i++)
42994 + if (data->acache[i].path)
42996 + unlink (data->acache[i].path);
42997 + FREE (&data->acache[i].path);
43002 +void nntp_delete_data (void *p)
43004 + NNTP_DATA *data = (NNTP_DATA *)p;
43008 + FREE (&data->entries);
43009 + FREE (&data->desc);
43010 + FREE (&data->cache);
43011 + nntp_free_acache (data);
43015 +int nntp_sync_mailbox (CONTEXT *ctx)
43017 + NNTP_DATA *data = ctx->data;
43019 + /* CACHE: update cache and .index files */
43020 + if ((option (OPTSAVEUNSUB) || data->subscribed))
43021 + nntp_save_cache_group (ctx);
43022 + nntp_free_acache (data);
43024 + data->nserv->check_time = 0; /* next nntp_check_mailbox() will really check */
43028 +void nntp_fastclose_mailbox (CONTEXT *ctx)
43030 + NNTP_DATA *data = (NNTP_DATA *) ctx->data, *tmp;
43034 + nntp_free_acache (data);
43035 + if (!data->nserv || !data->nserv->newsgroups || !data->group)
43037 + nntp_save_cache_index (data->nserv);
43038 + if ((tmp = hash_find (data->nserv->newsgroups, data->group)) == NULL
43040 + nntp_delete_data (data);
43043 +/* commit changes and terminate connection */
43044 +int nntp_close_mailbox (CONTEXT *ctx)
43048 + mutt_message _("Quitting newsgroup...");
43051 + NNTP_DATA *data = (NNTP_DATA *) ctx->data;
43054 + if (data->nserv && data->nserv->conn && ctx->unread)
43056 + ret = query_quadoption (OPT_CATCHUP, _("Mark all articles read?"));
43057 + if (ret == M_YES)
43058 + mutt_newsgroup_catchup (data->nserv, data->group);
43059 + else if (ret < 0)
43063 + nntp_sync_mailbox (ctx);
43064 + if (ctx->data && ((NNTP_DATA *)ctx->data)->nserv)
43066 + NNTP_SERVER *news;
43068 + news = ((NNTP_DATA *)ctx->data)->nserv;
43069 + newsrc_gen_entries (ctx);
43070 + ((NNTP_DATA *)ctx->data)->unread = ctx->unread;
43071 + mutt_newsrc_update (news);
43073 + mutt_clear_error();
43077 +/* use the GROUP command to poll for new mail */
43078 +static int _nntp_check_mailbox (CONTEXT *ctx, NNTP_DATA *nntp_data)
43080 + char buf[LONG_STRING];
43083 + if (nntp_data->nserv->check_time + NewsPollTimeout > time (NULL))
43087 + if (mutt_nntp_query (nntp_data, buf, sizeof (buf)) < 0)
43090 + nntp_error ("nntp_check_mailbox()", buf);
43094 + if (mutt_strncmp ("211", buf, 3))
43097 + if (mutt_nntp_query (nntp_data, buf, sizeof (buf)) < 0)
43100 + nntp_error ("nntp_check_mailbox()", buf);
43105 + if (!mutt_strncmp ("211", buf, 3))
43110 + sscanf (buf + 4, "%d %d %d", &count, &first, &last);
43111 + nntp_data->firstMessage = first;
43112 + nntp_data->lastMessage = last;
43113 + if (ctx && last > nntp_data->lastLoaded)
43115 + nntp_fetch_headers (ctx, nntp_data->lastLoaded + 1, last);
43116 + time (&nntp_data->nserv->check_time);
43119 + if (!last || (!nntp_data->rc && !nntp_data->lastCached))
43120 + nntp_data->unread = count;
43122 + mutt_newsgroup_stat (nntp_data);
43123 + /* active was renumbered? */
43124 + if (last < nntp_data->lastLoaded)
43126 + if (!nntp_data->max)
43128 + nntp_data->entries = safe_calloc (5, sizeof (NEWSRC_ENTRY));
43129 + nntp_data->max = 5;
43131 + nntp_data->lastCached = 0;
43132 + nntp_data->num = 1;
43133 + nntp_data->entries[0].first = 1;
43134 + nntp_data->entries[0].last = 0;
43138 + time (&nntp_data->nserv->check_time);
43142 +int nntp_check_mailbox (CONTEXT *ctx)
43144 + return _nntp_check_mailbox (ctx, (NNTP_DATA *)ctx->data);
43147 +static int add_group (char *buf, void *serv)
43149 +#define s ((NNTP_SERVER *) serv)
43150 + char group[LONG_STRING], mod, desc[HUGE_STRING];
43152 + NNTP_DATA *nntp_data;
43153 + static int n = 0;
43155 + _checked = n; /* _checked have N, where N = number of groups */
43156 + if (!buf) /* at EOF must be zerouth */
43163 + sscanf (buf, "%s %d %d %c %[^\n]", group, &last, &first, &mod, desc);
43166 + if ((nntp_data = (NNTP_DATA *) hash_find (s->newsgroups, group)) == NULL)
43169 + nntp_data = safe_calloc (1, sizeof (NNTP_DATA) + strlen (group) + 1);
43170 + nntp_data->group = (char *) nntp_data + sizeof (NNTP_DATA);
43171 + strcpy (nntp_data->group, group);
43172 + nntp_data->nserv = s;
43173 + if (s->newsgroups->nelem < s->newsgroups->curnelem * 2)
43174 + s->newsgroups = hash_resize (s->newsgroups, s->newsgroups->nelem * 2);
43175 + hash_insert (s->newsgroups, nntp_data->group, nntp_data, 0);
43176 + nntp_add_to_list (s, nntp_data);
43178 + nntp_data->deleted = 0;
43179 + nntp_data->firstMessage = first;
43180 + nntp_data->lastMessage = last;
43182 + nntp_data->allowed = 1;
43184 + nntp_data->allowed = 0;
43185 + if (nntp_data->desc)
43186 + FREE (&nntp_data->desc);
43188 + nntp_data->desc = safe_strdup (desc);
43189 + if (nntp_data->rc || nntp_data->lastCached)
43190 + mutt_newsgroup_stat (nntp_data);
43191 + else if (nntp_data->lastMessage &&
43192 + nntp_data->firstMessage <= nntp_data->lastMessage)
43193 + nntp_data->unread = nntp_data->lastMessage - nntp_data->firstMessage + 1;
43195 + nntp_data->unread = 0;
43201 +int nntp_check_newgroups (NNTP_SERVER *serv, int force)
43203 + char buf[LONG_STRING];
43204 + NNTP_DATA nntp_data;
43210 + if (!serv || !serv->newgroups_time)
43213 + if (nntp_open_connection (serv) < 0)
43216 + /* check subscribed groups for new news */
43217 + if (option (OPTSHOWNEWNEWS))
43219 + mutt_message _("Checking for new messages...");
43220 + for (l = serv->list; l; l = l->next)
43222 + serv->check_time = 0; /* really check! */
43223 + if (l->data && ((NNTP_DATA *) l->data)->subscribed)
43224 + _nntp_check_mailbox (NULL, (NNTP_DATA *) l->data);
43230 + mutt_message _("Checking for new newsgroups...");
43231 + now = serv->newgroups_time;
43232 + time (&serv->newgroups_time);
43233 + t = gmtime (&now);
43234 + snprintf (buf, sizeof (buf), "NEWGROUPS %02d%02d%02d %02d%02d%02d GMT\r\n",
43235 + (t->tm_year % 100), t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min,
43237 + nntp_data.nserv = serv;
43238 + if (Context && Context->magic == M_NNTP)
43239 + nntp_data.group = ((NNTP_DATA *)Context->data)->group;
43241 + nntp_data.group = NULL;
43243 + if (mutt_nntp_fetch (&nntp_data, buf, _("Adding new newsgroups..."),
43244 + add_group, serv, 0) != 0)
43247 + nntp_error ("nntp_check_newgroups()", buf);
43252 + mutt_message _("Loading descriptions...");
43254 + emp.next = l->next;
43256 + emp.next = serv->list;
43261 + ((NNTP_DATA *) l->data)->new = 1;
43262 + nntp_get_desc ((NNTP_DATA *) l->data, ((NNTP_DATA *) l->data)->group, NULL);
43265 + nntp_save_cache_index (serv);
43266 + mutt_clear_error ();
43270 +/* Load list of all newsgroups from cache ALL */
43271 +int nntp_get_cache_all (NNTP_SERVER *serv)
43273 + char buf[HUGE_STRING];
43276 + nntp_cache_expand (buf, serv->cache);
43277 + if ((f = safe_fopen (buf, "r")))
43281 + while (fgets (buf, sizeof(buf), f) != NULL)
43283 + if (ReadInc && (i % ReadInc == 0))
43284 + mutt_message (_("Loading list from cache... %d"), i);
43285 + add_group (buf, serv);
43288 + add_group (NULL, NULL);
43290 + mutt_clear_error ();
43295 + FREE (&serv->cache);
43300 +/* Load list of all newsgroups from active */
43301 +int nntp_get_active (NNTP_SERVER *serv)
43303 + char msg[SHORT_STRING];
43304 + NNTP_DATA nntp_data;
43307 + if (nntp_open_connection (serv) < 0)
43310 + snprintf (msg, sizeof(msg), _("Loading list of all newsgroups on server %s..."),
43311 + serv->conn->account.host);
43312 + mutt_message (msg);
43313 + time (&serv->newgroups_time);
43314 + nntp_data.nserv = serv;
43315 + nntp_data.group = NULL;
43317 + if (mutt_nntp_fetch (&nntp_data, "LIST\r\n", msg, add_group, serv, 0) < 0)
43320 + nntp_error ("nntp_get_active()", "LIST\r\n");
43325 + strfcpy (msg, _("Loading descriptions..."), sizeof (msg));
43326 + mutt_message (msg);
43327 + nntp_get_desc (&nntp_data, "*", msg);
43329 + for (tmp = serv->list; tmp; tmp = tmp->next)
43331 + NNTP_DATA *data = (NNTP_DATA *)tmp->data;
43333 + if (data && data->deleted && !data->rc)
43335 + nntp_delete_cache (data);
43336 + hash_delete (serv->newsgroups, data->group, NULL, nntp_delete_data);
43337 + tmp->data = NULL;
43340 + nntp_save_cache_index (serv);
43342 + mutt_clear_error ();
43347 + * returns -1 if error ocurred while retrieving header,
43348 + * number of articles which ones exist in context on success.
43350 +int nntp_check_msgid (CONTEXT *ctx, const char *msgid)
43354 + /* if msgid is already in context, don't reload them */
43355 + if (hash_find (ctx->id_hash, msgid))
43357 + if (ctx->msgcount == ctx->hdrmax)
43358 + mx_alloc_memory (ctx);
43359 + ctx->hdrs[ctx->msgcount] = mutt_new_header ();
43360 + ctx->hdrs[ctx->msgcount]->index = ctx->msgcount;
43362 + mutt_message (_("Fetching %s from server..."), msgid);
43363 + ret = nntp_read_header (ctx, msgid, 0);
43364 + /* since nntp_read_header() may set read flag, we must reset it */
43365 + ctx->hdrs[ctx->msgcount]->read = 0;
43367 + mutt_free_header (&ctx->hdrs[ctx->msgcount]);
43371 + mx_update_context (ctx, 1);
43372 + ctx->changed = 1;
43380 + unsigned int num;
43381 + unsigned int max;
43382 + unsigned int *child;
43385 +static int check_children (char *s, void *c)
43387 +#define cc ((CHILD_CONTEXT *) c)
43388 + unsigned int i, n;
43390 + if (!s || (n = atoi (s)) == 0)
43392 + for (i = 0; i < cc->ctx->msgcount; i++)
43393 + if (cc->ctx->hdrs[i]->article_num == n)
43395 + if (cc->num >= cc->max)
43396 + safe_realloc ((void **) &cc->child, sizeof (unsigned int) * (cc->max += 25));
43397 + cc->child[cc->num++] = n;
43403 +int nntp_check_children (CONTEXT *ctx, const char *msgid)
43405 + NNTP_DATA *nntp_data = (NNTP_DATA *)ctx->data;
43406 + char buf[STRING];
43407 + int i, ret = 0, tmp = 0;
43408 + CHILD_CONTEXT cc;
43410 + if (!nntp_data || !nntp_data->nserv || !nntp_data->nserv->conn ||
43411 + !nntp_data->nserv->conn->account.host)
43413 + if (nntp_data->firstMessage > nntp_data->lastLoaded)
43415 + if (!nntp_data->nserv->hasXPAT)
43417 + mutt_error (_("Server %s does not support this operation!"),
43418 + nntp_data->nserv->conn->account.host);
43422 + snprintf (buf, sizeof (buf), "XPAT References %d-%d *%s*\r\n",
43423 + nntp_data->firstMessage, nntp_data->lastLoaded, msgid);
43428 + cc.child = safe_malloc (sizeof (unsigned int) * 25);
43429 + if (mutt_nntp_fetch (nntp_data, buf, NULL, check_children, &cc, 0))
43431 + safe_free ((void **) &cc.child);
43434 + /* dont try to read the xover cache. check_children() already
43435 + * made sure that we dont have the article, so we need to visit
43436 + * the server. Reading the cache at this point is also bad
43437 + * because it would duplicate messages */
43438 + if (option (OPTNEWSCACHE))
43441 + unset_option (OPTNEWSCACHE);
43443 + for (i = 0; i < cc.num; i++)
43445 + if ((ret = nntp_fetch_headers (ctx, cc.child[i], cc.child[i])))
43447 + if (ctx->msgcount &&
43448 + ctx->hdrs[ctx->msgcount - 1]->article_num == cc.child[i])
43449 + ctx->hdrs[ctx->msgcount - 1]->read = 0;
43452 + set_option (OPTNEWSCACHE);
43453 + safe_free ((void **) &cc.child);
43456 diff -uNr mutt-1.4.orig/nntp.h mutt-1.4/nntp.h
43457 --- mutt-1.4.orig/nntp.h Thu Jan 1 01:00:00 1970
43458 +++ mutt-1.4/nntp.h Sun Nov 3 21:57:20 2002
43461 + * Copyright (C) 1998 Brandon Long <blong@fiction.net>
43462 + * Copyright (C) 1999 Andrej Gritsenko <andrej@lucky.net>
43463 + * Copyright (C) 2000-2002 Vsevolod Volkov <vvv@mutt.org.ua>
43465 + * This program is free software; you can redistribute it and/or modify
43466 + * it under the terms of the GNU General Public License as published by
43467 + * the Free Software Foundation; either version 2 of the License, or
43468 + * (at your option) any later version.
43470 + * This program is distributed in the hope that it will be useful,
43471 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
43472 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43473 + * GNU General Public License for more details.
43475 + * You should have received a copy of the GNU General Public License
43476 + * along with this program; if not, write to the Free Software
43477 + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
43481 +#define _NNTP_H_ 1
43483 +#include "mutt_socket.h"
43484 +#include "mailbox.h"
43488 +#define NNTP_PORT 119
43489 +#define NNTP_SSL_PORT 563
43491 +/* number of entries in the hash table */
43492 +#define NNTP_CACHE_LEN 10
43509 + unsigned int hasXPAT : 1;
43510 + unsigned int hasXGTITLE : 1;
43511 + unsigned int hasXOVER : 1;
43512 + unsigned int status : 3;
43518 + time_t newgroups_time;
43519 + time_t check_time;
43520 + HASH *newsgroups;
43521 + LIST *list; /* list of newsgroups */
43522 + LIST *tail; /* last entry of list */
43523 + CONNECTION *conn;
43528 + unsigned int index;
43534 + NEWSRC_ENTRY *entries;
43535 + unsigned int num; /* number of used entries */
43536 + unsigned int max; /* number of allocated entries */
43537 + unsigned int unread;
43538 + unsigned int firstMessage;
43539 + unsigned int lastMessage;
43540 + unsigned int lastLoaded;
43541 + unsigned int lastCached;
43542 + unsigned int subscribed : 1;
43543 + unsigned int rc : 1;
43544 + unsigned int new : 1;
43545 + unsigned int allowed : 1;
43546 + unsigned int deleted : 1;
43550 + NNTP_SERVER *nserv;
43551 + NNTP_CACHE acache[NNTP_CACHE_LEN];
43554 +/* internal functions */
43555 +int nntp_get_active (NNTP_SERVER *);
43556 +int nntp_get_cache_all (NNTP_SERVER *);
43557 +int nntp_save_cache_index (NNTP_SERVER *);
43558 +int nntp_check_newgroups (NNTP_SERVER *, int);
43559 +int nntp_save_cache_group (CONTEXT *);
43560 +int nntp_parse_url (const char *, ACCOUNT *, char *, size_t);
43561 +void newsrc_gen_entries (CONTEXT *);
43562 +void nntp_get_status (CONTEXT *, HEADER *, char *, int);
43563 +void mutt_newsgroup_stat (NNTP_DATA *);
43564 +void nntp_delete_cache (NNTP_DATA *);
43565 +void nntp_add_to_list (NNTP_SERVER *, NNTP_DATA *);
43566 +void nntp_cache_expand (char *, const char *);
43567 +void nntp_delete_data (void *);
43569 +/* exposed interface */
43570 +NNTP_SERVER *mutt_select_newsserver (char *);
43571 +NNTP_DATA *mutt_newsgroup_subscribe (NNTP_SERVER *, char *);
43572 +NNTP_DATA *mutt_newsgroup_unsubscribe (NNTP_SERVER *, char *);
43573 +NNTP_DATA *mutt_newsgroup_catchup (NNTP_SERVER *, char *);
43574 +NNTP_DATA *mutt_newsgroup_uncatchup (NNTP_SERVER *, char *);
43575 +void nntp_clear_cacheindex (NNTP_SERVER *);
43576 +int mutt_newsrc_update (NNTP_SERVER *);
43577 +int nntp_open_mailbox (CONTEXT *);
43578 +int nntp_sync_mailbox (CONTEXT *);
43579 +int nntp_check_mailbox (CONTEXT *);
43580 +int nntp_close_mailbox (CONTEXT *);
43581 +void nntp_fastclose_mailbox (CONTEXT *);
43582 +int nntp_fetch_message (MESSAGE *, CONTEXT *, int);
43583 +int nntp_post (const char *);
43584 +int nntp_check_msgid (CONTEXT *, const char *);
43585 +int nntp_check_children (CONTEXT *, const char *);
43586 +void nntp_buffy (char *);
43587 +void nntp_expand_path (char *, size_t, ACCOUNT *);
43588 +void nntp_logout_all ();
43589 +const char *nntp_format_str (char *, size_t, char, const char *, const char *,
43590 + const char *, const char *, unsigned long, format_flag);
43592 +NNTP_SERVER *CurrentNewsSrv INITVAL (NULL);
43594 +#endif /* _NNTP_H_ */
43595 diff -uNr mutt-1.4.orig/pager.c mutt-1.4/pager.c
43596 --- mutt-1.4.orig/pager.c Sun Nov 3 21:42:52 2002
43597 +++ mutt-1.4/pager.c Sun Nov 3 21:57:20 2002
43610 @@ -1445,6 +1450,16 @@
43615 +static struct mapping_t PagerNewsHelpExtra[] = {
43616 + { N_("Post"), OP_POST },
43617 + { N_("Followup"), OP_FOLLOWUP },
43618 + { N_("Del"), OP_DELETE },
43619 + { N_("Next"), OP_MAIN_NEXT_UNDELETED },
43626 /* This pager is actually not so simple as it once was. It now operates in
43627 @@ -1486,6 +1501,10 @@
43628 int old_PagerIndexLines; /* some people want to resize it
43629 * while inside the pager... */
43632 + char *followup_to;
43635 if (!(flags & M_SHOWCOLOR))
43636 flags |= M_SHOWFLAT;
43638 @@ -1525,7 +1544,11 @@
43639 if (IsHeader (extra))
43641 strfcpy (tmphelp, helpstr, sizeof (tmphelp));
43642 - mutt_compile_help (buffer, sizeof (buffer), MENU_PAGER, PagerHelpExtra);
43643 + mutt_compile_help (buffer, sizeof (buffer), MENU_PAGER,
43645 + (Context && (Context->magic == M_NNTP)) ? PagerNewsHelpExtra :
43648 snprintf (helpstr, sizeof (helpstr), "%s %s", tmphelp, buffer);
43651 @@ -2300,6 +2323,15 @@
43656 + if (Context->magic == M_NNTP)
43658 + mutt_flushinp ();
43659 + mutt_error _("Can't change 'important' flag on NNTP server.");
43664 mutt_set_flag (Context, extra->hdr, M_FLAG, !extra->hdr->flagged);
43665 redraw = REDRAW_STATUS | REDRAW_INDEX;
43666 if (option (OPTRESOLVE))
43667 @@ -2333,6 +2365,60 @@
43668 redraw = REDRAW_FULL;
43673 + CHECK_MODE(IsHeader (extra) && !IsAttach (extra));
43675 + if (extra->ctx && extra->ctx->magic == M_NNTP &&
43676 + !((NNTP_DATA *)extra->ctx->data)->allowed &&
43677 + query_quadoption (OPT_TOMODERATED,_("Posting to this group not allowed, may be moderated. Continue?")) != M_YES)
43679 + ci_send_message (SENDNEWS, NULL, NULL, extra->ctx, NULL);
43680 + redraw = REDRAW_FULL;
43683 + case OP_FORWARD_TO_GROUP:
43684 + CHECK_MODE(IsHeader (extra) || IsMsgAttach (extra));
43686 + if (extra->ctx && extra->ctx->magic == M_NNTP &&
43687 + !((NNTP_DATA *)extra->ctx->data)->allowed &&
43688 + query_quadoption (OPT_TOMODERATED,_("Posting to this group not allowed, may be moderated. Continue?")) != M_YES)
43690 + if (IsMsgAttach (extra))
43691 + mutt_attach_forward (extra->fp, extra->hdr, extra->idx,
43692 + extra->idxlen, extra->bdy, SENDNEWS);
43694 + ci_send_message (SENDNEWS|SENDFORWARD, NULL, NULL, extra->ctx, extra->hdr);
43695 + redraw = REDRAW_FULL;
43698 + case OP_FOLLOWUP:
43699 + CHECK_MODE(IsHeader (extra) || IsMsgAttach (extra));
43702 + if (IsMsgAttach (extra))
43703 + followup_to = extra->bdy->hdr->env->followup_to;
43705 + followup_to = extra->hdr->env->followup_to;
43707 + if (!followup_to || mutt_strcasecmp (followup_to, "poster") ||
43708 + query_quadoption (OPT_FOLLOWUPTOPOSTER,_("Reply by mail as poster prefers?")) != M_YES)
43710 + if (extra->ctx && extra->ctx->magic == M_NNTP &&
43711 + !((NNTP_DATA *)extra->ctx->data)->allowed &&
43712 + query_quadoption (OPT_TOMODERATED,_("Posting to this group not allowed, may be moderated. Continue?")) != M_YES)
43714 + if (IsMsgAttach (extra))
43715 + mutt_attach_reply (extra->fp, extra->hdr, extra->idx,
43716 + extra->idxlen, extra->bdy, SENDNEWS|SENDREPLY);
43718 + ci_send_message (SENDNEWS|SENDREPLY, NULL, NULL,
43719 + extra->ctx, extra->hdr);
43720 + redraw = REDRAW_FULL;
43726 CHECK_MODE(IsHeader (extra) || IsMsgAttach (extra));
43728 @@ -2379,7 +2465,7 @@
43730 if (IsMsgAttach (extra))
43731 mutt_attach_forward (extra->fp, extra->hdr, extra->idx,
43732 - extra->idxlen, extra->bdy);
43733 + extra->idxlen, extra->bdy, 0);
43735 ci_send_message (SENDFORWARD, NULL, NULL, extra->ctx, extra->hdr);
43736 redraw = REDRAW_FULL;
43737 diff -uNr mutt-1.4.orig/parse.c mutt-1.4/parse.c
43738 --- mutt-1.4.orig/parse.c Tue Jan 29 11:05:20 2002
43739 +++ mutt-1.4/parse.c Sun Nov 3 21:57:20 2002
43744 -static LIST *mutt_parse_references (char *s, int in_reply_to)
43745 +LIST *mutt_parse_references (char *s, int in_reply_to)
43747 LIST *t, *lst = NULL;
43749 @@ -1047,6 +1047,17 @@
43750 e->from = rfc822_parse_adrlist (e->from, p);
43754 + else if (!mutt_strcasecmp (line+1, "ollowup-to"))
43756 + if (!e->followup_to)
43758 + mutt_remove_trailing_ws (p);
43759 + e->followup_to = safe_strdup (mutt_skip_whitespace (p));
43767 @@ -1098,6 +1109,27 @@
43773 + if (!mutt_strcasecmp (line + 1, "ewsgroups"))
43775 + safe_free ((void **)&e->newsgroups);
43776 + mutt_remove_trailing_ws (p);
43777 + e->newsgroups = safe_strdup (mutt_skip_whitespace (p));
43784 + /* field `Organization:' saves only for pager! */
43785 + if (!mutt_strcasecmp (line + 1, "rganization"))
43787 + if (!e->organization && mutt_strcasecmp (p, "unknown"))
43788 + e->organization = safe_strdup (p);
43793 if (!ascii_strcasecmp (line + 1, "eferences"))
43795 @@ -1207,7 +1239,21 @@
43796 e->x_label = safe_strdup(p);
43801 + else if (!mutt_strcasecmp (line + 1, "-comment-to"))
43803 + if (!e->x_comment_to)
43804 + e->x_comment_to = safe_strdup (p);
43807 + else if (!mutt_strcasecmp (line + 1, "ref"))
43810 + e->xref = safe_strdup (p);
43818 diff -uNr mutt-1.4.orig/pattern.c mutt-1.4/pattern.c
43819 --- mutt-1.4.orig/pattern.c Sun Nov 3 21:42:52 2002
43820 +++ mutt-1.4/pattern.c Sun Nov 3 21:57:20 2002
43822 { 't', M_TO, 0, eat_regexp },
43823 { 'U', M_UNREAD, 0, NULL },
43824 { 'v', M_COLLAPSED, 0, NULL },
43826 + { 'w', M_NEWSGROUPS, 0, eat_regexp },
43828 { 'x', M_REFERENCE, 0, eat_regexp },
43829 { 'y', M_XLABEL, 0, eat_regexp },
43830 { 'z', M_SIZE, 0, eat_range },
43831 @@ -1053,6 +1056,10 @@
43832 return (pat->not ^ (h->env->x_label && regexec (pat->rx, h->env->x_label, 0, NULL, 0) == 0));
43834 return (pat->not ^ (h->thread && h->thread->duplicate_thread));
43836 + case M_NEWSGROUPS:
43837 + return (pat->not ^ (h->env->newsgroups && regexec (pat->rx, h->env->newsgroups, 0, NULL, 0) == 0));
43840 mutt_error (_("error: unknown op %d (report this error)."), pat->op);
43842 @@ -1120,6 +1127,7 @@
43845 strfcpy (buf, NONULL (Context->pattern), sizeof (buf));
43846 + if (prompt || op != M_LIMIT)
43847 if (mutt_get_field (prompt, buf, sizeof (buf), M_PATTERN | M_CLEAR) != 0 || !buf[0])
43850 diff -uNr mutt-1.4.orig/po/ChangeLog mutt-1.4/po/ChangeLog
43851 --- mutt-1.4.orig/po/ChangeLog Wed Mar 13 13:49:11 2002
43852 +++ mutt-1.4/po/ChangeLog Sun Nov 3 21:57:22 2002
43854 +2002-11-03 gettextize <bug-gnu-utils@gnu.org>
43856 + * Makefile.in.in: Upgrade to gettext-0.10.40.
43859 diff -uNr mutt-1.4.orig/po/ChangeLog~ mutt-1.4/po/ChangeLog~
43860 --- mutt-1.4.orig/po/ChangeLog~ Thu Jan 1 01:00:00 1970
43861 +++ mutt-1.4/po/ChangeLog~ Wed Mar 13 13:49:11 2002
43864 diff -uNr mutt-1.4.orig/po/Makefile.in.in mutt-1.4/po/Makefile.in.in
43865 --- mutt-1.4.orig/po/Makefile.in.in Tue Jan 1 21:18:37 2002
43866 +++ mutt-1.4/po/Makefile.in.in Sun Nov 3 21:57:22 2002
43868 # Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
43870 # This file file be copied and used freely without restrictions. It can
43871 -# be used in projects which are not available under the GNU General Public License
43872 +# be used in projects which are not available under the GNU Public License
43873 # but which still want to provide support for the GNU gettext functionality.
43874 # Please note that the actual code is *not* freely available.
43877 all-yes: $(CATALOGS)
43880 -.PHONY: ../keymap_alldefs.h
43881 -../keymap_alldefs.h:
43882 - cd .. && $(MAKE) keymap_alldefs.h
43884 # Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot',
43885 # otherwise packages like GCC can not be built if only parts of the source
43886 # have been downloaded.
43887 diff -uNr mutt-1.4.orig/po/POTFILES.in mutt-1.4/po/POTFILES.in
43888 --- mutt-1.4.orig/po/POTFILES.in Sun Nov 3 21:42:51 2002
43889 +++ mutt-1.4/po/POTFILES.in Sun Nov 3 21:57:20 2002
43899 diff -uNr mutt-1.4.orig/po/POTFILES.in.orig mutt-1.4/po/POTFILES.in.orig
43900 --- mutt-1.4.orig/po/POTFILES.in.orig Thu Jan 1 01:00:00 1970
43901 +++ mutt-1.4/po/POTFILES.in.orig Sun Nov 3 21:57:20 2002
43968 Binary files mutt-1.4.orig/po/de.gmo and mutt-1.4/po/de.gmo differ
43969 diff -uNr mutt-1.4.orig/postpone.c mutt-1.4/postpone.c
43970 --- mutt-1.4.orig/postpone.c Sun Nov 3 21:42:52 2002
43971 +++ mutt-1.4/postpone.c Sun Nov 3 21:57:20 2002
43972 @@ -125,15 +125,26 @@
43974 if (LastModify < st.st_mtime)
43977 + int optnews = option (OPTNEWS);
43979 LastModify = st.st_mtime;
43981 if (access (Postponed, R_OK | F_OK) != 0)
43982 return (PostCount = 0);
43985 + unset_option (OPTNEWS);
43987 if (mx_open_mailbox (Postponed, M_NOSORT | M_QUIET, &ctx) == NULL)
43990 PostCount = ctx.msgcount;
43991 mx_fastclose_mailbox (&ctx);
43994 + set_option (OPTNEWS);
43998 return (PostCount);
43999 diff -uNr mutt-1.4.orig/protos.h mutt-1.4/protos.h
44000 --- mutt-1.4.orig/protos.h Sun Nov 3 21:42:52 2002
44001 +++ mutt-1.4/protos.h Sun Nov 3 21:57:20 2002
44003 HASH *mutt_make_subj_hash (CONTEXT *);
44005 LIST *mutt_make_references(ENVELOPE *e);
44006 +LIST *mutt_parse_references (char *, int);
44008 ENVELOPE *mutt_read_rfc822_header (FILE *, HEADER *, short, short);
44009 HEADER *mutt_dup_header (HEADER *);
44010 @@ -230,6 +231,7 @@
44011 void mutt_update_tree (ATTACHPTR **, short);
44012 void mutt_version (void);
44013 void mutt_view_attachments (HEADER *);
44014 +void mutt_write_references (LIST *, FILE *);
44015 void mutt_set_virtual (CONTEXT *);
44017 int mutt_addr_is_user (ADDRESS *);
44018 @@ -316,6 +318,7 @@
44019 int mutt_search_command (int, int);
44020 int mutt_compose_menu (HEADER *, char *, size_t, HEADER *);
44021 int mutt_thread_set_flag (HEADER *, int, int, int);
44022 +int mutt_update_list_file (char *, char *, char *, char *);
44023 int mutt_user_is_recipient (HEADER *);
44024 void mutt_update_num_postponed (void);
44025 int mutt_view_attachment (FILE*, BODY *, int, HEADER *, ATTACHPTR **, short);
44026 diff -uNr mutt-1.4.orig/recvattach.c mutt-1.4/recvattach.c
44027 --- mutt-1.4.orig/recvattach.c Wed Sep 26 12:33:09 2001
44028 +++ mutt-1.4/recvattach.c Sun Nov 3 21:57:20 2002
44029 @@ -989,6 +989,15 @@
44034 + if (Context->magic == M_NNTP)
44036 + mutt_flushinp ();
44037 + mutt_error _("Can't delete attachment from newsserver.");
44045 @@ -1084,10 +1093,33 @@
44046 case OP_FORWARD_MESSAGE:
44048 mutt_attach_forward (fp, hdr, idx, idxlen,
44049 - menu->tagprefix ? NULL : idx[menu->current]->content);
44050 + menu->tagprefix ? NULL : idx[menu->current]->content, 0);
44051 menu->redraw = REDRAW_FULL;
44055 + case OP_FORWARD_TO_GROUP:
44057 + mutt_attach_forward (fp, hdr, idx, idxlen,
44058 + menu->tagprefix ? NULL : idx[menu->current]->content, SENDNEWS);
44059 + menu->redraw = REDRAW_FULL;
44062 + case OP_FOLLOWUP:
44065 + if (!idx[menu->current]->content->hdr->env->followup_to ||
44066 + mutt_strcasecmp (idx[menu->current]->content->hdr->env->followup_to, "poster") ||
44067 + query_quadoption (OPT_FOLLOWUPTOPOSTER,_("Reply by mail as poster prefers?")) != M_YES)
44069 + mutt_attach_reply (fp, hdr, idx, idxlen,
44070 + menu->tagprefix ? NULL : idx[menu->current]->content,
44071 + SENDNEWS|SENDREPLY);
44072 + menu->redraw = REDRAW_FULL;
44078 case OP_GROUP_REPLY:
44079 case OP_LIST_REPLY:
44080 diff -uNr mutt-1.4.orig/recvcmd.c mutt-1.4/recvcmd.c
44081 --- mutt-1.4.orig/recvcmd.c Wed Jan 2 10:33:38 2002
44082 +++ mutt-1.4/recvcmd.c Sun Nov 3 21:57:20 2002
44083 @@ -334,7 +334,7 @@
44084 static void attach_forward_bodies (FILE * fp, HEADER * hdr,
44085 ATTACHPTR ** idx, short idxlen,
44088 + short nattach, int flags)
44091 short mime_fwd_all = 0;
44092 @@ -480,7 +480,7 @@
44095 /* now that we have the template, send it. */
44096 - ci_send_message (0, tmphdr, tmpbody, NULL, parent);
44097 + ci_send_message (flags, tmphdr, tmpbody, NULL, parent);
44101 @@ -507,7 +507,7 @@
44104 static void attach_forward_msgs (FILE * fp, HEADER * hdr,
44105 - ATTACHPTR ** idx, short idxlen, BODY * cur)
44106 + ATTACHPTR ** idx, short idxlen, BODY * cur, int flags)
44108 HEADER *curhdr = NULL;
44110 @@ -612,23 +612,23 @@
44112 mutt_free_header (&tmphdr);
44114 - ci_send_message (0, tmphdr, *tmpbody ? tmpbody : NULL,
44115 + ci_send_message (flags, tmphdr, *tmpbody ? tmpbody : NULL,
44120 void mutt_attach_forward (FILE * fp, HEADER * hdr,
44121 - ATTACHPTR ** idx, short idxlen, BODY * cur)
44122 + ATTACHPTR ** idx, short idxlen, BODY * cur, int flags)
44127 if (check_all_msg (idx, idxlen, cur, 0) == 0)
44128 - attach_forward_msgs (fp, hdr, idx, idxlen, cur);
44129 + attach_forward_msgs (fp, hdr, idx, idxlen, cur, flags);
44132 nattach = count_tagged (idx, idxlen);
44133 - attach_forward_bodies (fp, hdr, idx, idxlen, cur, nattach);
44134 + attach_forward_bodies (fp, hdr, idx, idxlen, cur, nattach, flags);
44138 @@ -686,28 +686,40 @@
44144 + if ((flags & SENDNEWS))
44146 - if (mutt_fetch_recips (env, curenv, flags) == -1)
44148 + /* in case followup set Newsgroups: with Followup-To: if it present */
44149 + if (!env->newsgroups && curenv &&
44150 + mutt_strcasecmp (curenv->followup_to, "poster"))
44151 + env->newsgroups = safe_strdup (curenv->followup_to);
44156 - for (i = 0; i < idxlen; i++)
44159 - if (idx[i]->content->tagged
44160 - && mutt_fetch_recips (env, idx[i]->content->hdr->env, flags) == -1)
44161 + if (mutt_fetch_recips (env, curenv, flags) == -1)
44166 + for (i = 0; i < idxlen; i++)
44168 + if (idx[i]->content->tagged
44169 + && mutt_fetch_recips (env, idx[i]->content->hdr->env, flags) == -1)
44174 + if ((flags & SENDLISTREPLY) && !env->to)
44176 + mutt_error _("No mailing lists found!");
44180 + mutt_fix_reply_recipients (env);
44183 - if ((flags & SENDLISTREPLY) && !env->to)
44185 - mutt_error _("No mailing lists found!");
44189 - mutt_fix_reply_recipients (env);
44190 mutt_make_misc_reply_headers (env, Context, curhdr, curenv);
44193 @@ -768,6 +780,13 @@
44194 char prefix[SHORT_STRING];
44198 + if (flags & SENDNEWS)
44199 + set_option (OPTNEWSSEND);
44201 + unset_option (OPTNEWSSEND);
44204 if (check_all_msg (idx, idxlen, cur, 0) == -1)
44206 nattach = count_tagged (idx, idxlen);
44207 diff -uNr mutt-1.4.orig/rfc1524.c mutt-1.4/rfc1524.c
44208 --- mutt-1.4.orig/rfc1524.c Tue May 15 09:23:49 2001
44209 +++ mutt-1.4/rfc1524.c Sun Nov 3 21:57:20 2002
44210 @@ -563,13 +563,13 @@
44214 -int mutt_rename_file (char *oldfile, char *newfile)
44215 +int _mutt_rename_file (char *oldfile, char *newfile, int overwrite)
44219 if (access (oldfile, F_OK) != 0)
44221 - if (access (newfile, F_OK) == 0)
44222 + if (!overwrite && access (newfile, F_OK) == 0)
44224 if ((ofp = fopen (oldfile,"r")) == NULL)
44226 @@ -584,3 +584,8 @@
44227 mutt_unlink (oldfile);
44231 +int mutt_rename_file (char *oldfile, char *newfile)
44233 + return _mutt_rename_file (oldfile, newfile, 0);
44235 diff -uNr mutt-1.4.orig/rfc1524.h mutt-1.4/rfc1524.h
44236 --- mutt-1.4.orig/rfc1524.h Fri Mar 3 11:10:13 2000
44237 +++ mutt-1.4/rfc1524.h Sun Nov 3 21:57:20 2002
44239 int rfc1524_expand_filename (char *, char *, char *, size_t);
44240 int rfc1524_mailcap_lookup (BODY *, char *, rfc1524_entry *, int);
44241 int mutt_rename_file (char *, char *);
44242 +int _mutt_rename_file (char *, char *, int);
44244 #endif /* _RFC1524_H */
44245 diff -uNr mutt-1.4.orig/send.c mutt-1.4/send.c
44246 --- mutt-1.4.orig/send.c Wed Jan 30 23:50:40 2002
44247 +++ mutt-1.4/send.c Sun Nov 3 21:57:20 2002
44257 #include "remailer.h"
44259 @@ -196,17 +200,51 @@
44263 -static int edit_envelope (ENVELOPE *en)
44264 +static int edit_envelope (ENVELOPE *en, int flags)
44266 char buf[HUGE_STRING];
44267 LIST *uh = UserHeader;
44269 - if (edit_address (&en->to, "To: ") == -1 || en->to == NULL)
44271 - if (option (OPTASKCC) && edit_address (&en->cc, "Cc: ") == -1)
44273 - if (option (OPTASKBCC) && edit_address (&en->bcc, "Bcc: ") == -1)
44276 + if (option (OPTNEWSSEND))
44278 + if (en->newsgroups)
44279 + strfcpy (buf, en->newsgroups, sizeof (buf));
44282 + if (mutt_get_field ("Newsgroups: ", buf, sizeof (buf), 0) != 0)
44284 + safe_free ((void **)&en->newsgroups);
44285 + en->newsgroups = safe_strdup (buf);
44287 + if (en->followup_to)
44288 + strfcpy (buf, en->followup_to, sizeof (buf));
44291 + if (option (OPTASKFOLLOWUP) && mutt_get_field ("Followup-To: ", buf, sizeof (buf), 0) != 0)
44293 + safe_free ((void **)&en->followup_to);
44294 + en->followup_to = safe_strdup (buf);
44296 + if (en->x_comment_to)
44297 + strfcpy (buf, en->x_comment_to, sizeof (buf));
44300 + if (option (OPTXCOMMENTTO) && option (OPTASKXCOMMENTTO) && mutt_get_field ("X-Comment-To: ", buf, sizeof (buf), 0) != 0)
44302 + safe_free ((void **)&en->x_comment_to);
44303 + en->x_comment_to = safe_strdup (buf);
44308 + if (edit_address (&en->to, "To: ") == -1 || en->to == NULL)
44310 + if (option (OPTASKCC) && edit_address (&en->cc, "Cc: ") == -1)
44312 + if (option (OPTASKBCC) && edit_address (&en->bcc, "Bcc: ") == -1)
44318 @@ -242,6 +280,14 @@
44323 +char *nntp_get_header (const char *s)
44326 + return safe_strdup (s);
44330 static void process_user_recips (ENVELOPE *env)
44332 LIST *uh = UserHeader;
44333 @@ -254,6 +300,14 @@
44334 env->cc = rfc822_parse_adrlist (env->cc, uh->data + 3);
44335 else if (ascii_strncasecmp ("bcc:", uh->data, 4) == 0)
44336 env->bcc = rfc822_parse_adrlist (env->bcc, uh->data + 4);
44338 + else if (ascii_strncasecmp ("newsgroups:", uh->data, 11) == 0)
44339 + env->newsgroups = nntp_get_header (uh->data + 11);
44340 + else if (ascii_strncasecmp ("followup-to:", uh->data, 12) == 0)
44341 + env->followup_to = nntp_get_header (uh->data + 12);
44342 + else if (ascii_strncasecmp ("x-comment-to:", uh->data, 13) == 0)
44343 + env->x_comment_to = nntp_get_header (uh->data + 13);
44348 @@ -284,6 +338,12 @@
44349 else if (ascii_strncasecmp ("to:", uh->data, 3) != 0 &&
44350 ascii_strncasecmp ("cc:", uh->data, 3) != 0 &&
44351 ascii_strncasecmp ("bcc:", uh->data, 4) != 0 &&
44353 + ascii_strncasecmp ("newsgroups:", uh->data, 11) != 0 &&
44354 + ascii_strncasecmp ("followup-to:", uh->data, 12) != 0 &&
44355 + ascii_strncasecmp ("x-comment-to:", uh->data, 13) != 0 &&
44357 + ascii_strncasecmp ("supersedes:", uh->data, 11) != 0 &&
44358 ascii_strncasecmp ("subject:", uh->data, 8) != 0)
44361 @@ -597,6 +657,10 @@
44363 env->subject = safe_strdup ("Re: your mail");
44366 + if (option (OPTNEWSSEND) && option (OPTXCOMMENTTO) && curenv->from)
44367 + env->x_comment_to = safe_strdup (mutt_get_name (curenv->from));
44371 void mutt_add_to_reference_headers (ENVELOPE *env, ENVELOPE *curenv, LIST ***pp, LIST ***qq)
44372 @@ -679,27 +743,39 @@
44374 if (flags & SENDREPLY)
44378 + if ((flags & SENDNEWS))
44382 - for (i = 0; i < ctx->vcount; i++)
44383 + /* in case followup set Newsgroups: with Followup-To: if it present */
44384 + if (!env->newsgroups && curenv &&
44385 + mutt_strcasecmp (curenv->followup_to, "poster"))
44386 + env->newsgroups = safe_strdup (curenv->followup_to);
44393 - h = ctx->hdrs[ctx->v2r[i]];
44394 - if (h->tagged && mutt_fetch_recips (env, h->env, flags) == -1)
44397 + for (i = 0; i < ctx->vcount; i++)
44399 + h = ctx->hdrs[ctx->v2r[i]];
44400 + if (h->tagged && mutt_fetch_recips (env, h->env, flags) == -1)
44404 + else if (mutt_fetch_recips (env, curenv, flags) == -1)
44407 + if ((flags & SENDLISTREPLY) && !env->to)
44409 + mutt_error _("No mailing lists found!");
44413 - else if (mutt_fetch_recips (env, curenv, flags) == -1)
44416 - if ((flags & SENDLISTREPLY) && !env->to)
44418 - mutt_error _("No mailing lists found!");
44420 + mutt_fix_reply_recipients (env);
44423 - mutt_fix_reply_recipients (env);
44424 mutt_make_misc_reply_headers (env, ctx, cur, curenv);
44425 mutt_make_reference_headers (tag ? NULL : curenv, env, ctx);
44427 @@ -828,7 +904,18 @@
44428 * it hasn't already been set
44431 - if (option (OPTFOLLOWUPTO) && !e->mail_followup_to)
44432 + if (!option (OPTFOLLOWUPTO))
44435 + if (option (OPTNEWSSEND))
44437 + if (!e->followup_to && e->newsgroups && (strrchr (e->newsgroups, ',')))
44438 + e->followup_to = safe_strdup (e->newsgroups);
44443 + if (!e->mail_followup_to)
44445 if (mutt_is_list_cc (0, e->to, e->cc))
44447 @@ -1084,6 +1171,13 @@
44452 + if (flags & SENDNEWS)
44453 + set_option (OPTNEWSSEND);
44455 + unset_option (OPTNEWSSEND);
44458 if (!flags && !msg && quadoption (OPT_RECALL) != M_NO &&
44459 mutt_num_postponed (1))
44461 @@ -1115,6 +1209,22 @@
44463 if ((flags = mutt_get_postponed (ctx, msg, &cur, fcc, sizeof (fcc))) < 0)
44467 + * If postponed message is a news article, it have
44468 + * a "Newsgroups:" header line, then set appropriate flag.
44470 + if (msg->env->newsgroups)
44472 + flags |= SENDNEWS;
44473 + set_option (OPTNEWSSEND);
44477 + flags &= ~SENDNEWS;
44478 + unset_option (OPTNEWSSEND);
44483 if (flags & (SENDPOSTPONED|SENDRESEND))
44484 @@ -1195,11 +1305,16 @@
44485 if (option (OPTHDRS))
44486 process_user_recips (msg->env);
44489 + if ((flags & SENDNEWS) && ctx && ctx->magic == M_NNTP && !msg->env->newsgroups)
44490 + msg->env->newsgroups = safe_strdup (((NNTP_DATA *)ctx->data)->group);
44493 if (! (flags & SENDMAILX) &&
44494 ! (option (OPTAUTOEDIT) && option (OPTEDITHDRS)) &&
44495 ! ((flags & SENDREPLY) && option (OPTFASTREPLY)))
44497 - if (edit_envelope (msg->env) == -1)
44498 + if (edit_envelope (msg->env, flags) == -1)
44502 @@ -1349,6 +1464,11 @@
44507 + if (flags & SENDNEWS)
44508 + mutt_message _("Article not posted.");
44511 mutt_message _("Mail not sent.");
44514 @@ -1380,6 +1500,9 @@
44519 + if (!(flags & SENDNEWS))
44521 if (!msg->env->to && !msg->env->cc && !msg->env->bcc)
44523 if (! (flags & SENDBATCH))
44524 @@ -1402,6 +1525,19 @@
44525 mutt_error _("No subject specified.");
44529 + if ((flags & SENDNEWS) && !msg->env->subject)
44531 + mutt_error _("No subject specified.");
44535 + if ((flags & SENDNEWS) && !msg->env->newsgroups)
44537 + mutt_error _("No newsgroup specified.");
44542 if (msg->content->next)
44543 msg->content = mutt_make_multipart (msg->content);
44544 @@ -1588,7 +1724,12 @@
44547 else if (!option (OPTNOCURSES) && ! (flags & SENDMAILX))
44548 - mutt_message (i == 0 ? _("Mail sent.") : _("Sending in background."));
44549 + mutt_message (i != 0 ? _("Sending in background.") :
44551 + (flags & SENDNEWS) ? _("Article posted.") : _("Mail sent."));
44553 + _("Mail sent."));
44557 if (msg->pgp & PGPENCRYPT)
44558 diff -uNr mutt-1.4.orig/sendlib.c mutt-1.4/sendlib.c
44559 --- mutt-1.4.orig/sendlib.c Sat Apr 20 09:25:49 2002
44560 +++ mutt-1.4/sendlib.c Sun Nov 3 21:57:20 2002
44562 #include <sys/wait.h>
44569 #ifdef HAVE_SYSEXITS_H
44570 #include <sysexits.h>
44571 #else /* Make sure EX_OK is defined <philiph@pobox.com> */
44572 @@ -1537,7 +1541,7 @@
44573 /* need to write the list in reverse because they are stored in reverse order
44574 * when parsed to speed up threading
44576 -static void write_references (LIST *r, FILE *f)
44577 +void mutt_write_references (LIST *r, FILE *f)
44580 int refcnt = 0, refmax = 0;
44581 @@ -1579,6 +1583,9 @@
44583 LIST *tmp = env->userhdrs;
44586 + if (!option (OPTNEWSSEND))
44588 if (mode == 0 && !privacy)
44589 fputs (mutt_make_date (buffer, sizeof(buffer)), fp);
44591 @@ -1598,6 +1605,9 @@
44592 mutt_write_address_list (env->to, fp, 4);
44596 + if (!option (OPTNEWSSEND))
44598 fputs ("To: \n", fp);
44601 @@ -1606,6 +1616,9 @@
44602 mutt_write_address_list (env->cc, fp, 4);
44606 + if (!option (OPTNEWSSEND))
44608 fputs ("Cc: \n", fp);
44611 @@ -1617,8 +1630,28 @@
44616 + if (!option (OPTNEWSSEND))
44618 fputs ("Bcc: \n", fp);
44621 + if (env->newsgroups)
44622 + fprintf (fp, "Newsgroups: %s\n", env->newsgroups);
44623 + else if (mode == 1 && option (OPTNEWSSEND))
44624 + fputs ("Newsgroups: \n", fp);
44626 + if (env->followup_to)
44627 + fprintf (fp, "Followup-To: %s\n", env->followup_to);
44628 + else if (mode == 1 && option (OPTNEWSSEND))
44629 + fputs ("Followup-To: \n", fp);
44631 + if (env->x_comment_to)
44632 + fprintf (fp, "X-Comment-To: %s\n", env->x_comment_to);
44633 + else if (mode == 1 && option (OPTNEWSSEND) && option (OPTXCOMMENTTO))
44634 + fputs ("X-Comment-To: \n", fp);
44638 fprintf (fp, "Subject: %s\n", env->subject);
44639 else if (mode == 1)
44640 @@ -1637,6 +1670,9 @@
44641 fputs ("Reply-To: \n", fp);
44643 if (env->mail_followup_to)
44645 + if (!option (OPTNEWSSEND))
44648 fputs ("Mail-Followup-To: ", fp);
44649 mutt_write_address_list (env->mail_followup_to, fp, 18);
44650 @@ -1647,7 +1683,7 @@
44651 if (env->references)
44653 fputs ("References:", fp);
44654 - write_references (env->references, fp);
44655 + mutt_write_references (env->references, fp);
44659 @@ -1659,7 +1695,7 @@
44660 if (env->in_reply_to)
44662 fputs ("In-Reply-To:", fp);
44663 - write_references (env->in_reply_to, fp);
44664 + mutt_write_references (env->in_reply_to, fp);
44668 @@ -1967,11 +2003,30 @@
44669 const char *msg, /* file containing message */
44670 int eightbit) /* message contains 8bit chars */
44672 - char *ps = NULL, *path = NULL, *s = safe_strdup (Sendmail), *childout = NULL;
44673 + char *ps = NULL, *path = NULL, *s = NULL, *childout = NULL;
44674 char **args = NULL;
44675 size_t argslen = 0, argsmax = 0;
44679 + if (option (OPTNEWSSEND))
44681 + char cmd[LONG_STRING];
44683 + mutt_FormatString (cmd, sizeof (cmd), NONULL (Inews), nntp_format_str, 0, 0);
44686 + i = nntp_post (msg);
44691 + s = safe_strdup (cmd);
44695 + s = safe_strdup (Sendmail);
44699 while ((ps = strtok (ps, " ")))
44700 @@ -1995,6 +2050,10 @@
44705 + if (!option (OPTNEWSSEND))
44708 if (eightbit && option (OPTUSE8BITMIME))
44709 args = add_option (args, &argslen, &argsmax, "-B8BITMIME");
44711 @@ -2017,6 +2076,9 @@
44712 args = add_args (args, &argslen, &argsmax, to);
44713 args = add_args (args, &argslen, &argsmax, cc);
44714 args = add_args (args, &argslen, &argsmax, bcc);
44719 if (argslen == argsmax)
44720 safe_realloc ((void **) &args, sizeof (char *) * (++argsmax));
44721 @@ -2148,6 +2210,9 @@
44722 rfc2047_encode_adrlist (env->reply_to, "Reply-To");
44726 + if (!option (OPTNEWSSEND) || option (OPTMIMESUBJECT))
44729 rfc2047_encode_string (&env->subject);
44731 @@ -2234,6 +2299,10 @@
44733 rfc822_write_address (resent_from, sizeof (resent_from), from);
44736 + unset_option (OPTNEWSSEND);
44739 _mutt_bounce_message (fp, h, to, resent_from, from);
44741 rfc822_free_address (&from);
44742 diff -uNr mutt-1.4.orig/sort.c mutt-1.4/sort.c
44743 --- mutt-1.4.orig/sort.c Thu Dec 13 13:10:59 2001
44744 +++ mutt-1.4/sort.c Sun Nov 3 21:57:20 2002
44745 @@ -144,6 +144,15 @@
44746 HEADER **ha = (HEADER **) a;
44747 HEADER **hb = (HEADER **) b;
44750 + if ((*ha)->article_num && (*hb)->article_num)
44752 + int result = (*ha)->article_num - (*hb)->article_num;
44753 + AUXSORT(result,a,b);
44754 + return (SORTCODE (result));
44758 /* no need to auxsort because you will never have equality here */
44759 return (SORTCODE ((*ha)->index - (*hb)->index));
44761 diff -uNr mutt-1.4.orig/url.c mutt-1.4/url.c
44762 --- mutt-1.4.orig/url.c Mon Oct 29 12:53:45 2001
44763 +++ mutt-1.4/url.c Sun Nov 3 21:57:20 2002
44765 { "imaps", U_IMAPS },
44767 { "pops", U_POPS },
44768 + { "nntp", U_NNTP },
44769 + { "nntps", U_NNTPS },
44770 { "mailto", U_MAILTO },
44773 diff -uNr mutt-1.4.orig/url.h mutt-1.4/url.h
44774 --- mutt-1.4.orig/url.h Tue Sep 4 11:30:04 2001
44775 +++ mutt-1.4/url.h Sun Nov 3 21:57:20 2002