aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaroly Lorentey2005-09-09 20:52:13 +0000
committerKaroly Lorentey2005-09-09 20:52:13 +0000
commitf0ed0a6c895c49f50c9cbcafe36b1a86a25a8620 (patch)
tree2599e82aa2fadfdc3b4de6039adee9461d14570b
parentaf520c4a4e04e55c854bb782af8df8412028c481 (diff)
parentb948abc811f0911a02e63ee55ad36504ddd981d6 (diff)
downloademacs-f0ed0a6c895c49f50c9cbcafe36b1a86a25a8620.tar.gz
emacs-f0ed0a6c895c49f50c9cbcafe36b1a86a25a8620.zip
Merged in changes from CVS trunk.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-404
-rw-r--r--ChangeLog9
-rw-r--r--admin/FOR-RELEASE7
-rwxr-xr-xconfig.guess791
-rwxr-xr-xconfig.sub234
-rwxr-xr-xconfigure581
-rw-r--r--configure.in10
-rw-r--r--etc/ChangeLog9
-rw-r--r--etc/MORE.STUFF2
-rw-r--r--etc/NEWS6
-rw-r--r--etc/PROBLEMS30
-rw-r--r--lisp/ChangeLog204
-rw-r--r--lisp/ChangeLog.92
-rw-r--r--lisp/buff-menu.el55
-rw-r--r--lisp/calc/calc-poly.el45
-rw-r--r--lisp/cus-start.el9
-rw-r--r--lisp/cus-theme.el5
-rw-r--r--lisp/custom.el35
-rw-r--r--lisp/descr-text.el3
-rw-r--r--lisp/disp-table.el6
-rw-r--r--lisp/font-lock.el10
-rw-r--r--lisp/gnus/ChangeLog111
-rw-r--r--lisp/gnus/gnus-art.el15
-rw-r--r--lisp/gnus/gnus-fun.el4
-rw-r--r--lisp/gnus/gnus-msg.el31
-rw-r--r--lisp/gnus/gnus-sum.el3
-rw-r--r--lisp/gnus/gnus-util.el59
-rw-r--r--lisp/gnus/gnus.el52
-rw-r--r--lisp/gnus/message.el3
-rw-r--r--lisp/gnus/mm-bodies.el2
-rw-r--r--lisp/gnus/mm-encode.el2
-rw-r--r--lisp/gnus/mm-view.el18
-rw-r--r--lisp/gnus/mml-smime.el12
-rw-r--r--lisp/gnus/nnweb.el58
-rw-r--r--lisp/gnus/spam-report.el45
-rw-r--r--lisp/mail/sendmail.el5
-rw-r--r--lisp/menu-bar.el67
-rw-r--r--lisp/mouse.el9
-rw-r--r--lisp/msb.el2
-rw-r--r--lisp/net/tramp.el13
-rw-r--r--lisp/progmodes/compile.el12
-rw-r--r--lisp/progmodes/delphi.el1
-rw-r--r--lisp/progmodes/flymake.el3
-rw-r--r--lisp/progmodes/make-mode.el4
-rw-r--r--lisp/progmodes/perl-mode.el4
-rw-r--r--lisp/progmodes/sh-script.el7
-rw-r--r--lisp/recentf.el79
-rw-r--r--lisp/simple.el164
-rw-r--r--lisp/smerge-mode.el2
-rw-r--r--lisp/woman.el83
-rw-r--r--lispref/ChangeLog42
-rw-r--r--lispref/display.texi11
-rw-r--r--lispref/files.texi8
-rw-r--r--lispref/hooks.texi15
-rw-r--r--lispref/locals.texi39
-rw-r--r--lispref/modes.texi10
-rw-r--r--lispref/nonascii.texi4
-rw-r--r--lispref/positions.texi10
-rw-r--r--lispref/text.texi8
-rw-r--r--lispref/tips.texi6
-rw-r--r--lispref/windows.texi6
-rw-r--r--man/gnus.texi15
-rw-r--r--src/ChangeLog46
-rw-r--r--src/doc.c13
-rw-r--r--src/frame.h3
-rw-r--r--src/macterm.c445
-rw-r--r--src/xdisp.c39
-rw-r--r--src/xfaces.c5
67 files changed, 2491 insertions, 1157 deletions
diff --git a/ChangeLog b/ChangeLog
index d216ab222d8..e188220fd57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
12005-09-09 Eli Zaretskii <eliz@fencepost.gnu.org>
2
3 * configure.in <lynxsos*>: Support for LynxOS on PPC.
4 * configure: Regenerated.
5
62005-09-05 Paul Eggert <eggert@cs.ucla.edu>
7
8 * config.guess, config.sub: Updated from master source.
9
12005-08-03 Juanma Barranquero <lekktu@gmail.com> 102005-08-03 Juanma Barranquero <lekktu@gmail.com>
2 11
3 * .cvsignore: Add `lock'. 12 * .cvsignore: Add `lock'.
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index d41dcec061b..f16c8b8de4c 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -52,9 +52,6 @@ back burner waiting for a legal comment or an alternate implementation
52 52
53* BUGS 53* BUGS
54 54
55** The header-line buttons in the buffer list buffer
56should respond to Mouse-1.
57
58** Fix recognition of shell's `dirs' command. 55** Fix recognition of shell's `dirs' command.
59 56
60Is his change right? 57Is his change right?
@@ -235,13 +232,13 @@ lispref/frames.texi "Luc Teirlinck" Chong Yidong
235lispref/functions.texi "Luc Teirlinck" Chong Yidong 232lispref/functions.texi "Luc Teirlinck" Chong Yidong
236lispref/hash.texi "Luc Teirlinck" Chong Yidong 233lispref/hash.texi "Luc Teirlinck" Chong Yidong
237lispref/help.texi "Luc Teirlinck" Chong Yidong 234lispref/help.texi "Luc Teirlinck" Chong Yidong
238lispref/hooks.texi Lute Kamstra 235lispref/hooks.texi Lute Kamstra Chong Yidong
239lispref/internals.texi "Luc Teirlinck" Chong Yidong 236lispref/internals.texi "Luc Teirlinck" Chong Yidong
240lispref/intro.texi "Luc Teirlinck" Josh Varner 237lispref/intro.texi "Luc Teirlinck" Josh Varner
241lispref/keymaps.texi "Luc Teirlinck" Chong Yidong 238lispref/keymaps.texi "Luc Teirlinck" Chong Yidong
242lispref/lists.texi "Luc Teirlinck" Chong Yidong 239lispref/lists.texi "Luc Teirlinck" Chong Yidong
243lispref/loading.texi "Luc Teirlinck" Chong Yidong 240lispref/loading.texi "Luc Teirlinck" Chong Yidong
244lispref/locals.texi 241lispref/locals.texi Chong Yidong
245lispref/macros.texi "Luc Teirlinck" Chong Yidong 242lispref/macros.texi "Luc Teirlinck" Chong Yidong
246lispref/maps.texi 243lispref/maps.texi
247lispref/markers.texi "Luc Teirlinck" Chong Yidong 244lispref/markers.texi "Luc Teirlinck" Chong Yidong
diff --git a/config.guess b/config.guess
index 1f1b4f23216..ad5281e66e9 100755
--- a/config.guess
+++ b/config.guess
@@ -1,9 +1,9 @@
1#! /bin/sh 1#! /bin/sh
2# Attempt to guess a canonical system name. 2# Attempt to guess a canonical system name.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002 Free Software Foundation, Inc. 4# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5 5
6timestamp='2002-11-13' 6timestamp='2005-08-03'
7 7
8# This file is free software; you can redistribute it and/or modify it 8# This file is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by 9# under the terms of the GNU General Public License as published by
@@ -17,13 +17,15 @@ timestamp='2002-11-13'
17# 17#
18# You should have received a copy of the GNU General Public License 18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software 19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
21# 02110-1301, USA.
21# 22#
22# As a special exception to the GNU General Public License, if you 23# As a special exception to the GNU General Public License, if you
23# distribute this file as part of a program that contains a 24# distribute this file as part of a program that contains a
24# configuration script generated by Autoconf, you may include it under 25# configuration script generated by Autoconf, you may include it under
25# the same distribution terms that you use for the rest of that program. 26# the same distribution terms that you use for the rest of that program.
26 27
28
27# Originally written by Per Bothner <per@bothner.com>. 29# Originally written by Per Bothner <per@bothner.com>.
28# Please send patches to <config-patches@gnu.org>. Submit a context 30# Please send patches to <config-patches@gnu.org>. Submit a context
29# diff and a properly formatted ChangeLog entry. 31# diff and a properly formatted ChangeLog entry.
@@ -53,7 +55,7 @@ version="\
53GNU config.guess ($timestamp) 55GNU config.guess ($timestamp)
54 56
55Originally written by Per Bothner. 57Originally written by Per Bothner.
56Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 58Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
57Free Software Foundation, Inc. 59Free Software Foundation, Inc.
58 60
59This is free software; see the source for copying conditions. There is NO 61This is free software; see the source for copying conditions. There is NO
@@ -66,11 +68,11 @@ Try \`$me --help' for more information."
66while test $# -gt 0 ; do 68while test $# -gt 0 ; do
67 case $1 in 69 case $1 in
68 --time-stamp | --time* | -t ) 70 --time-stamp | --time* | -t )
69 echo "$timestamp" ; exit 0 ;; 71 echo "$timestamp" ; exit ;;
70 --version | -v ) 72 --version | -v )
71 echo "$version" ; exit 0 ;; 73 echo "$version" ; exit ;;
72 --help | --h* | -h ) 74 --help | --h* | -h )
73 echo "$usage"; exit 0 ;; 75 echo "$usage"; exit ;;
74 -- ) # Stop option processing 76 -- ) # Stop option processing
75 shift; break ;; 77 shift; break ;;
76 - ) # Use stdin as input. 78 - ) # Use stdin as input.
@@ -98,14 +100,18 @@ trap 'exit 1' 1 2 15
98# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still 100# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
99# use `HOST_CC' if defined, but it is deprecated. 101# use `HOST_CC' if defined, but it is deprecated.
100 102
101# This shell variable is my proudest work .. or something. --bje 103# Portable tmp directory creation inspired by the Autoconf team.
102 104
103set_cc_for_build='tmpdir=${TMPDIR-/tmp}/config-guess-$$ ; 105set_cc_for_build='
104(old=`umask` && umask 077 && mkdir $tmpdir && umask $old && unset old) 106trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
105 || (echo "$me: cannot create $tmpdir" >&2 && exit 1) ; 107trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
106dummy=$tmpdir/dummy ; 108: ${TMPDIR=/tmp} ;
107files="$dummy.c $dummy.o $dummy.rel $dummy" ; 109 { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
108trap '"'"'rm -f $files; rmdir $tmpdir; exit 1'"'"' 1 2 15 ; 110 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
111 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
112 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
113dummy=$tmp/dummy ;
114tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109case $CC_FOR_BUILD,$HOST_CC,$CC in 115case $CC_FOR_BUILD,$HOST_CC,$CC in
110 ,,) echo "int x;" > $dummy.c ; 116 ,,) echo "int x;" > $dummy.c ;
111 for c in cc gcc c89 c99 ; do 117 for c in cc gcc c89 c99 ; do
@@ -113,15 +119,13 @@ case $CC_FOR_BUILD,$HOST_CC,$CC in
113 CC_FOR_BUILD="$c"; break ; 119 CC_FOR_BUILD="$c"; break ;
114 fi ; 120 fi ;
115 done ; 121 done ;
116 rm -f $files ;
117 if test x"$CC_FOR_BUILD" = x ; then 122 if test x"$CC_FOR_BUILD" = x ; then
118 CC_FOR_BUILD=no_compiler_found ; 123 CC_FOR_BUILD=no_compiler_found ;
119 fi 124 fi
120 ;; 125 ;;
121 ,,*) CC_FOR_BUILD=$CC ;; 126 ,,*) CC_FOR_BUILD=$CC ;;
122 ,*,*) CC_FOR_BUILD=$HOST_CC ;; 127 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
123esac ; 128esac ; set_cc_for_build= ;'
124unset files'
125 129
126# This is needed to find uname on a Pyramid OSx when run in the BSD universe. 130# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
127# (ghazi@noc.rutgers.edu 1994-08-24) 131# (ghazi@noc.rutgers.edu 1994-08-24)
@@ -178,144 +182,125 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
178 ;; 182 ;;
179 esac 183 esac
180 # The OS release 184 # The OS release
181 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` 185 # Debian GNU/NetBSD machines have a different userland, and
186 # thus, need a distinct triplet. However, they do not need
187 # kernel version information, so it can be replaced with a
188 # suitable tag, in the style of linux-gnu.
189 case "${UNAME_VERSION}" in
190 Debian*)
191 release='-gnu'
192 ;;
193 *)
194 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
195 ;;
196 esac
182 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: 197 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
183 # contains redundant information, the shorter form: 198 # contains redundant information, the shorter form:
184 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. 199 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
185 echo "${machine}-${os}${release}" 200 echo "${machine}-${os}${release}"
186 exit 0 ;; 201 exit ;;
187 amiga:OpenBSD:*:*)
188 echo m68k-unknown-openbsd${UNAME_RELEASE}
189 exit 0 ;;
190 arc:OpenBSD:*:*)
191 echo mipsel-unknown-openbsd${UNAME_RELEASE}
192 exit 0 ;;
193 hp300:OpenBSD:*:*)
194 echo m68k-unknown-openbsd${UNAME_RELEASE}
195 exit 0 ;;
196 mac68k:OpenBSD:*:*)
197 echo m68k-unknown-openbsd${UNAME_RELEASE}
198 exit 0 ;;
199 macppc:OpenBSD:*:*)
200 echo powerpc-unknown-openbsd${UNAME_RELEASE}
201 exit 0 ;;
202 mvme68k:OpenBSD:*:*)
203 echo m68k-unknown-openbsd${UNAME_RELEASE}
204 exit 0 ;;
205 mvme88k:OpenBSD:*:*)
206 echo m88k-unknown-openbsd${UNAME_RELEASE}
207 exit 0 ;;
208 mvmeppc:OpenBSD:*:*)
209 echo powerpc-unknown-openbsd${UNAME_RELEASE}
210 exit 0 ;;
211 pmax:OpenBSD:*:*)
212 echo mipsel-unknown-openbsd${UNAME_RELEASE}
213 exit 0 ;;
214 sgi:OpenBSD:*:*)
215 echo mipseb-unknown-openbsd${UNAME_RELEASE}
216 exit 0 ;;
217 sun3:OpenBSD:*:*)
218 echo m68k-unknown-openbsd${UNAME_RELEASE}
219 exit 0 ;;
220 wgrisc:OpenBSD:*:*)
221 echo mipsel-unknown-openbsd${UNAME_RELEASE}
222 exit 0 ;;
223 *:OpenBSD:*:*) 202 *:OpenBSD:*:*)
224 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} 203 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
225 exit 0 ;; 204 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
205 exit ;;
206 *:ekkoBSD:*:*)
207 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
208 exit ;;
209 macppc:MirBSD:*:*)
210 echo powerppc-unknown-mirbsd${UNAME_RELEASE}
211 exit ;;
212 *:MirBSD:*:*)
213 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
214 exit ;;
226 alpha:OSF1:*:*) 215 alpha:OSF1:*:*)
227 if test $UNAME_RELEASE = "V4.0"; then 216 case $UNAME_RELEASE in
217 *4.0)
228 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` 218 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
229 fi 219 ;;
220 *5.*)
221 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
222 ;;
223 esac
224 # According to Compaq, /usr/sbin/psrinfo has been available on
225 # OSF/1 and Tru64 systems produced since 1995. I hope that
226 # covers most systems running today. This code pipes the CPU
227 # types through head -n 1, so we only detect the type of CPU 0.
228 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
229 case "$ALPHA_CPU_TYPE" in
230 "EV4 (21064)")
231 UNAME_MACHINE="alpha" ;;
232 "EV4.5 (21064)")
233 UNAME_MACHINE="alpha" ;;
234 "LCA4 (21066/21068)")
235 UNAME_MACHINE="alpha" ;;
236 "EV5 (21164)")
237 UNAME_MACHINE="alphaev5" ;;
238 "EV5.6 (21164A)")
239 UNAME_MACHINE="alphaev56" ;;
240 "EV5.6 (21164PC)")
241 UNAME_MACHINE="alphapca56" ;;
242 "EV5.7 (21164PC)")
243 UNAME_MACHINE="alphapca57" ;;
244 "EV6 (21264)")
245 UNAME_MACHINE="alphaev6" ;;
246 "EV6.7 (21264A)")
247 UNAME_MACHINE="alphaev67" ;;
248 "EV6.8CB (21264C)")
249 UNAME_MACHINE="alphaev68" ;;
250 "EV6.8AL (21264B)")
251 UNAME_MACHINE="alphaev68" ;;
252 "EV6.8CX (21264D)")
253 UNAME_MACHINE="alphaev68" ;;
254 "EV6.9A (21264/EV69A)")
255 UNAME_MACHINE="alphaev69" ;;
256 "EV7 (21364)")
257 UNAME_MACHINE="alphaev7" ;;
258 "EV7.9 (21364A)")
259 UNAME_MACHINE="alphaev79" ;;
260 esac
261 # A Pn.n version is a patched version.
230 # A Vn.n version is a released version. 262 # A Vn.n version is a released version.
231 # A Tn.n version is a released field test version. 263 # A Tn.n version is a released field test version.
232 # A Xn.n version is an unreleased experimental baselevel. 264 # A Xn.n version is an unreleased experimental baselevel.
233 # 1.2 uses "1.2" for uname -r. 265 # 1.2 uses "1.2" for uname -r.
234 eval $set_cc_for_build 266 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
235 cat <<EOF >$dummy.s 267 exit ;;
236 .data
237\$Lformat:
238 .byte 37,100,45,37,120,10,0 # "%d-%x\n"
239
240 .text
241 .globl main
242 .align 4
243 .ent main
244main:
245 .frame \$30,16,\$26,0
246 ldgp \$29,0(\$27)
247 .prologue 1
248 .long 0x47e03d80 # implver \$0
249 lda \$2,-1
250 .long 0x47e20c21 # amask \$2,\$1
251 lda \$16,\$Lformat
252 mov \$0,\$17
253 not \$1,\$18
254 jsr \$26,printf
255 ldgp \$29,0(\$26)
256 mov 0,\$16
257 jsr \$26,exit
258 .end main
259EOF
260 $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
261 if test "$?" = 0 ; then
262 case `$dummy` in
263 0-0)
264 UNAME_MACHINE="alpha"
265 ;;
266 1-0)
267 UNAME_MACHINE="alphaev5"
268 ;;
269 1-1)
270 UNAME_MACHINE="alphaev56"
271 ;;
272 1-101)
273 UNAME_MACHINE="alphapca56"
274 ;;
275 2-303)
276 UNAME_MACHINE="alphaev6"
277 ;;
278 2-307)
279 UNAME_MACHINE="alphaev67"
280 ;;
281 2-1307)
282 UNAME_MACHINE="alphaev68"
283 ;;
284 3-1307)
285 UNAME_MACHINE="alphaev7"
286 ;;
287 esac
288 fi
289 rm -f $dummy.s $dummy && rmdir $tmpdir
290 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
291 exit 0 ;;
292 Alpha\ *:Windows_NT*:*) 268 Alpha\ *:Windows_NT*:*)
293 # How do we know it's Interix rather than the generic POSIX subsystem? 269 # How do we know it's Interix rather than the generic POSIX subsystem?
294 # Should we change UNAME_MACHINE based on the output of uname instead 270 # Should we change UNAME_MACHINE based on the output of uname instead
295 # of the specific Alpha model? 271 # of the specific Alpha model?
296 echo alpha-pc-interix 272 echo alpha-pc-interix
297 exit 0 ;; 273 exit ;;
298 21064:Windows_NT:50:3) 274 21064:Windows_NT:50:3)
299 echo alpha-dec-winnt3.5 275 echo alpha-dec-winnt3.5
300 exit 0 ;; 276 exit ;;
301 Amiga*:UNIX_System_V:4.0:*) 277 Amiga*:UNIX_System_V:4.0:*)
302 echo m68k-unknown-sysv4 278 echo m68k-unknown-sysv4
303 exit 0;; 279 exit ;;
304 *:[Aa]miga[Oo][Ss]:*:*) 280 *:[Aa]miga[Oo][Ss]:*:*)
305 echo ${UNAME_MACHINE}-unknown-amigaos 281 echo ${UNAME_MACHINE}-unknown-amigaos
306 exit 0 ;; 282 exit ;;
307 *:[Mm]orph[Oo][Ss]:*:*) 283 *:[Mm]orph[Oo][Ss]:*:*)
308 echo ${UNAME_MACHINE}-unknown-morphos 284 echo ${UNAME_MACHINE}-unknown-morphos
309 exit 0 ;; 285 exit ;;
310 *:OS/390:*:*) 286 *:OS/390:*:*)
311 echo i370-ibm-openedition 287 echo i370-ibm-openedition
312 exit 0 ;; 288 exit ;;
289 *:z/VM:*:*)
290 echo s390-ibm-zvmoe
291 exit ;;
292 *:OS400:*:*)
293 echo powerpc-ibm-os400
294 exit ;;
313 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 295 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
314 echo arm-acorn-riscix${UNAME_RELEASE} 296 echo arm-acorn-riscix${UNAME_RELEASE}
315 exit 0;; 297 exit ;;
298 arm:riscos:*:*|arm:RISCOS:*:*)
299 echo arm-unknown-riscos
300 exit ;;
316 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) 301 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
317 echo hppa1.1-hitachi-hiuxmpp 302 echo hppa1.1-hitachi-hiuxmpp
318 exit 0;; 303 exit ;;
319 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) 304 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
320 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. 305 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
321 if test "`(/bin/universe) 2>/dev/null`" = att ; then 306 if test "`(/bin/universe) 2>/dev/null`" = att ; then
@@ -323,29 +308,32 @@ EOF
323 else 308 else
324 echo pyramid-pyramid-bsd 309 echo pyramid-pyramid-bsd
325 fi 310 fi
326 exit 0 ;; 311 exit ;;
327 NILE*:*:*:dcosx) 312 NILE*:*:*:dcosx)
328 echo pyramid-pyramid-svr4 313 echo pyramid-pyramid-svr4
329 exit 0 ;; 314 exit ;;
330 DRS?6000:UNIX_SV:4.2*:7*) 315 DRS?6000:unix:4.0:6*)
316 echo sparc-icl-nx6
317 exit ;;
318 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
331 case `/usr/bin/uname -p` in 319 case `/usr/bin/uname -p` in
332 sparc) echo sparc-icl-nx7 && exit 0 ;; 320 sparc) echo sparc-icl-nx7; exit ;;
333 esac ;; 321 esac ;;
334 sun4H:SunOS:5.*:*) 322 sun4H:SunOS:5.*:*)
335 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 323 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
336 exit 0 ;; 324 exit ;;
337 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 325 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
338 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 326 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
339 exit 0 ;; 327 exit ;;
340 i86pc:SunOS:5.*:*) 328 i86pc:SunOS:5.*:*)
341 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 329 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
342 exit 0 ;; 330 exit ;;
343 sun4*:SunOS:6*:*) 331 sun4*:SunOS:6*:*)
344 # According to config.sub, this is the proper way to canonicalize 332 # According to config.sub, this is the proper way to canonicalize
345 # SunOS6. Hard to guess exactly what SunOS6 will be like, but 333 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
346 # it's likely to be more like Solaris than SunOS4. 334 # it's likely to be more like Solaris than SunOS4.
347 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 335 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
348 exit 0 ;; 336 exit ;;
349 sun4*:SunOS:*:*) 337 sun4*:SunOS:*:*)
350 case "`/usr/bin/arch -k`" in 338 case "`/usr/bin/arch -k`" in
351 Series*|S4*) 339 Series*|S4*)
@@ -354,10 +342,10 @@ EOF
354 esac 342 esac
355 # Japanese Language versions have a version number like `4.1.3-JL'. 343 # Japanese Language versions have a version number like `4.1.3-JL'.
356 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` 344 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
357 exit 0 ;; 345 exit ;;
358 sun3*:SunOS:*:*) 346 sun3*:SunOS:*:*)
359 echo m68k-sun-sunos${UNAME_RELEASE} 347 echo m68k-sun-sunos${UNAME_RELEASE}
360 exit 0 ;; 348 exit ;;
361 sun*:*:4.2BSD:*) 349 sun*:*:4.2BSD:*)
362 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` 350 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
363 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 351 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
@@ -369,10 +357,10 @@ EOF
369 echo sparc-sun-sunos${UNAME_RELEASE} 357 echo sparc-sun-sunos${UNAME_RELEASE}
370 ;; 358 ;;
371 esac 359 esac
372 exit 0 ;; 360 exit ;;
373 aushp:SunOS:*:*) 361 aushp:SunOS:*:*)
374 echo sparc-auspex-sunos${UNAME_RELEASE} 362 echo sparc-auspex-sunos${UNAME_RELEASE}
375 exit 0 ;; 363 exit ;;
376 # The situation for MiNT is a little confusing. The machine name 364 # The situation for MiNT is a little confusing. The machine name
377 # can be virtually everything (everything which is not 365 # can be virtually everything (everything which is not
378 # "atarist" or "atariste" at least should have a processor 366 # "atarist" or "atariste" at least should have a processor
@@ -383,37 +371,40 @@ EOF
383 # be no problem. 371 # be no problem.
384 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 372 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
385 echo m68k-atari-mint${UNAME_RELEASE} 373 echo m68k-atari-mint${UNAME_RELEASE}
386 exit 0 ;; 374 exit ;;
387 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 375 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
388 echo m68k-atari-mint${UNAME_RELEASE} 376 echo m68k-atari-mint${UNAME_RELEASE}
389 exit 0 ;; 377 exit ;;
390 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 378 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
391 echo m68k-atari-mint${UNAME_RELEASE} 379 echo m68k-atari-mint${UNAME_RELEASE}
392 exit 0 ;; 380 exit ;;
393 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 381 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
394 echo m68k-milan-mint${UNAME_RELEASE} 382 echo m68k-milan-mint${UNAME_RELEASE}
395 exit 0 ;; 383 exit ;;
396 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 384 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
397 echo m68k-hades-mint${UNAME_RELEASE} 385 echo m68k-hades-mint${UNAME_RELEASE}
398 exit 0 ;; 386 exit ;;
399 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 387 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
400 echo m68k-unknown-mint${UNAME_RELEASE} 388 echo m68k-unknown-mint${UNAME_RELEASE}
401 exit 0 ;; 389 exit ;;
390 m68k:machten:*:*)
391 echo m68k-apple-machten${UNAME_RELEASE}
392 exit ;;
402 powerpc:machten:*:*) 393 powerpc:machten:*:*)
403 echo powerpc-apple-machten${UNAME_RELEASE} 394 echo powerpc-apple-machten${UNAME_RELEASE}
404 exit 0 ;; 395 exit ;;
405 RISC*:Mach:*:*) 396 RISC*:Mach:*:*)
406 echo mips-dec-mach_bsd4.3 397 echo mips-dec-mach_bsd4.3
407 exit 0 ;; 398 exit ;;
408 RISC*:ULTRIX:*:*) 399 RISC*:ULTRIX:*:*)
409 echo mips-dec-ultrix${UNAME_RELEASE} 400 echo mips-dec-ultrix${UNAME_RELEASE}
410 exit 0 ;; 401 exit ;;
411 VAX*:ULTRIX*:*:*) 402 VAX*:ULTRIX*:*:*)
412 echo vax-dec-ultrix${UNAME_RELEASE} 403 echo vax-dec-ultrix${UNAME_RELEASE}
413 exit 0 ;; 404 exit ;;
414 2020:CLIX:*:* | 2430:CLIX:*:*) 405 2020:CLIX:*:* | 2430:CLIX:*:*)
415 echo clipper-intergraph-clix${UNAME_RELEASE} 406 echo clipper-intergraph-clix${UNAME_RELEASE}
416 exit 0 ;; 407 exit ;;
417 mips:*:*:UMIPS | mips:*:*:RISCos) 408 mips:*:*:UMIPS | mips:*:*:RISCos)
418 eval $set_cc_for_build 409 eval $set_cc_for_build
419 sed 's/^ //' << EOF >$dummy.c 410 sed 's/^ //' << EOF >$dummy.c
@@ -437,33 +428,33 @@ EOF
437 exit (-1); 428 exit (-1);
438 } 429 }
439EOF 430EOF
440 $CC_FOR_BUILD -o $dummy $dummy.c \ 431 $CC_FOR_BUILD -o $dummy $dummy.c &&
441 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ 432 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
442 && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 433 SYSTEM_NAME=`$dummy $dummyarg` &&
443 rm -f $dummy.c $dummy && rmdir $tmpdir 434 { echo "$SYSTEM_NAME"; exit; }
444 echo mips-mips-riscos${UNAME_RELEASE} 435 echo mips-mips-riscos${UNAME_RELEASE}
445 exit 0 ;; 436 exit ;;
446 Motorola:PowerMAX_OS:*:*) 437 Motorola:PowerMAX_OS:*:*)
447 echo powerpc-motorola-powermax 438 echo powerpc-motorola-powermax
448 exit 0 ;; 439 exit ;;
449 Motorola:*:4.3:PL8-*) 440 Motorola:*:4.3:PL8-*)
450 echo powerpc-harris-powermax 441 echo powerpc-harris-powermax
451 exit 0 ;; 442 exit ;;
452 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) 443 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
453 echo powerpc-harris-powermax 444 echo powerpc-harris-powermax
454 exit 0 ;; 445 exit ;;
455 Night_Hawk:Power_UNIX:*:*) 446 Night_Hawk:Power_UNIX:*:*)
456 echo powerpc-harris-powerunix 447 echo powerpc-harris-powerunix
457 exit 0 ;; 448 exit ;;
458 m88k:CX/UX:7*:*) 449 m88k:CX/UX:7*:*)
459 echo m88k-harris-cxux7 450 echo m88k-harris-cxux7
460 exit 0 ;; 451 exit ;;
461 m88k:*:4*:R4*) 452 m88k:*:4*:R4*)
462 echo m88k-motorola-sysv4 453 echo m88k-motorola-sysv4
463 exit 0 ;; 454 exit ;;
464 m88k:*:3*:R3*) 455 m88k:*:3*:R3*)
465 echo m88k-motorola-sysv3 456 echo m88k-motorola-sysv3
466 exit 0 ;; 457 exit ;;
467 AViiON:dgux:*:*) 458 AViiON:dgux:*:*)
468 # DG/UX returns AViiON for all architectures 459 # DG/UX returns AViiON for all architectures
469 UNAME_PROCESSOR=`/usr/bin/uname -p` 460 UNAME_PROCESSOR=`/usr/bin/uname -p`
@@ -479,29 +470,29 @@ EOF
479 else 470 else
480 echo i586-dg-dgux${UNAME_RELEASE} 471 echo i586-dg-dgux${UNAME_RELEASE}
481 fi 472 fi
482 exit 0 ;; 473 exit ;;
483 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 474 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
484 echo m88k-dolphin-sysv3 475 echo m88k-dolphin-sysv3
485 exit 0 ;; 476 exit ;;
486 M88*:*:R3*:*) 477 M88*:*:R3*:*)
487 # Delta 88k system running SVR3 478 # Delta 88k system running SVR3
488 echo m88k-motorola-sysv3 479 echo m88k-motorola-sysv3
489 exit 0 ;; 480 exit ;;
490 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) 481 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
491 echo m88k-tektronix-sysv3 482 echo m88k-tektronix-sysv3
492 exit 0 ;; 483 exit ;;
493 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) 484 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
494 echo m68k-tektronix-bsd 485 echo m68k-tektronix-bsd
495 exit 0 ;; 486 exit ;;
496 *:IRIX*:*:*) 487 *:IRIX*:*:*)
497 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` 488 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
498 exit 0 ;; 489 exit ;;
499 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. 490 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
500 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id 491 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
501 exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' 492 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
502 i*86:AIX:*:*) 493 i*86:AIX:*:*)
503 echo i386-ibm-aix 494 echo i386-ibm-aix
504 exit 0 ;; 495 exit ;;
505 ia64:AIX:*:*) 496 ia64:AIX:*:*)
506 if [ -x /usr/bin/oslevel ] ; then 497 if [ -x /usr/bin/oslevel ] ; then
507 IBM_REV=`/usr/bin/oslevel` 498 IBM_REV=`/usr/bin/oslevel`
@@ -509,7 +500,7 @@ EOF
509 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 500 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
510 fi 501 fi
511 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} 502 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
512 exit 0 ;; 503 exit ;;
513 *:AIX:2:3) 504 *:AIX:2:3)
514 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then 505 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
515 eval $set_cc_for_build 506 eval $set_cc_for_build
@@ -524,15 +515,18 @@ EOF
524 exit(0); 515 exit(0);
525 } 516 }
526EOF 517EOF
527 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 518 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
528 rm -f $dummy.c $dummy && rmdir $tmpdir 519 then
529 echo rs6000-ibm-aix3.2.5 520 echo "$SYSTEM_NAME"
521 else
522 echo rs6000-ibm-aix3.2.5
523 fi
530 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 524 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
531 echo rs6000-ibm-aix3.2.4 525 echo rs6000-ibm-aix3.2.4
532 else 526 else
533 echo rs6000-ibm-aix3.2 527 echo rs6000-ibm-aix3.2
534 fi 528 fi
535 exit 0 ;; 529 exit ;;
536 *:AIX:*:[45]) 530 *:AIX:*:[45])
537 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` 531 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
538 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 532 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
@@ -546,28 +540,28 @@ EOF
546 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 540 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
547 fi 541 fi
548 echo ${IBM_ARCH}-ibm-aix${IBM_REV} 542 echo ${IBM_ARCH}-ibm-aix${IBM_REV}
549 exit 0 ;; 543 exit ;;
550 *:AIX:*:*) 544 *:AIX:*:*)
551 echo rs6000-ibm-aix 545 echo rs6000-ibm-aix
552 exit 0 ;; 546 exit ;;
553 ibmrt:4.4BSD:*|romp-ibm:BSD:*) 547 ibmrt:4.4BSD:*|romp-ibm:BSD:*)
554 echo romp-ibm-bsd4.4 548 echo romp-ibm-bsd4.4
555 exit 0 ;; 549 exit ;;
556 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and 550 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
557 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to 551 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
558 exit 0 ;; # report: romp-ibm BSD 4.3 552 exit ;; # report: romp-ibm BSD 4.3
559 *:BOSX:*:*) 553 *:BOSX:*:*)
560 echo rs6000-bull-bosx 554 echo rs6000-bull-bosx
561 exit 0 ;; 555 exit ;;
562 DPX/2?00:B.O.S.:*:*) 556 DPX/2?00:B.O.S.:*:*)
563 echo m68k-bull-sysv3 557 echo m68k-bull-sysv3
564 exit 0 ;; 558 exit ;;
565 9000/[34]??:4.3bsd:1.*:*) 559 9000/[34]??:4.3bsd:1.*:*)
566 echo m68k-hp-bsd 560 echo m68k-hp-bsd
567 exit 0 ;; 561 exit ;;
568 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) 562 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
569 echo m68k-hp-bsd4.4 563 echo m68k-hp-bsd4.4
570 exit 0 ;; 564 exit ;;
571 9000/[34678]??:HP-UX:*:*) 565 9000/[34678]??:HP-UX:*:*)
572 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 566 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
573 case "${UNAME_MACHINE}" in 567 case "${UNAME_MACHINE}" in
@@ -624,16 +618,36 @@ EOF
624 } 618 }
625EOF 619EOF
626 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` 620 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
627 if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi 621 test -z "$HP_ARCH" && HP_ARCH=hppa
628 rm -f $dummy.c $dummy && rmdir $tmpdir
629 fi ;; 622 fi ;;
630 esac 623 esac
624 if [ ${HP_ARCH} = "hppa2.0w" ]
625 then
626 eval $set_cc_for_build
627
628 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
629 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
630 # generating 64-bit code. GNU and HP use different nomenclature:
631 #
632 # $ CC_FOR_BUILD=cc ./config.guess
633 # => hppa2.0w-hp-hpux11.23
634 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
635 # => hppa64-hp-hpux11.23
636
637 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
638 grep __LP64__ >/dev/null
639 then
640 HP_ARCH="hppa2.0w"
641 else
642 HP_ARCH="hppa64"
643 fi
644 fi
631 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 645 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
632 exit 0 ;; 646 exit ;;
633 ia64:HP-UX:*:*) 647 ia64:HP-UX:*:*)
634 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 648 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
635 echo ia64-hp-hpux${HPUX_REV} 649 echo ia64-hp-hpux${HPUX_REV}
636 exit 0 ;; 650 exit ;;
637 3050*:HI-UX:*:*) 651 3050*:HI-UX:*:*)
638 eval $set_cc_for_build 652 eval $set_cc_for_build
639 sed 's/^ //' << EOF >$dummy.c 653 sed 's/^ //' << EOF >$dummy.c
@@ -661,149 +675,166 @@ EOF
661 exit (0); 675 exit (0);
662 } 676 }
663EOF 677EOF
664 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 678 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
665 rm -f $dummy.c $dummy && rmdir $tmpdir 679 { echo "$SYSTEM_NAME"; exit; }
666 echo unknown-hitachi-hiuxwe2 680 echo unknown-hitachi-hiuxwe2
667 exit 0 ;; 681 exit ;;
668 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 682 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
669 echo hppa1.1-hp-bsd 683 echo hppa1.1-hp-bsd
670 exit 0 ;; 684 exit ;;
671 9000/8??:4.3bsd:*:*) 685 9000/8??:4.3bsd:*:*)
672 echo hppa1.0-hp-bsd 686 echo hppa1.0-hp-bsd
673 exit 0 ;; 687 exit ;;
674 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) 688 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
675 echo hppa1.0-hp-mpeix 689 echo hppa1.0-hp-mpeix
676 exit 0 ;; 690 exit ;;
677 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) 691 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
678 echo hppa1.1-hp-osf 692 echo hppa1.1-hp-osf
679 exit 0 ;; 693 exit ;;
680 hp8??:OSF1:*:*) 694 hp8??:OSF1:*:*)
681 echo hppa1.0-hp-osf 695 echo hppa1.0-hp-osf
682 exit 0 ;; 696 exit ;;
683 i*86:OSF1:*:*) 697 i*86:OSF1:*:*)
684 if [ -x /usr/sbin/sysversion ] ; then 698 if [ -x /usr/sbin/sysversion ] ; then
685 echo ${UNAME_MACHINE}-unknown-osf1mk 699 echo ${UNAME_MACHINE}-unknown-osf1mk
686 else 700 else
687 echo ${UNAME_MACHINE}-unknown-osf1 701 echo ${UNAME_MACHINE}-unknown-osf1
688 fi 702 fi
689 exit 0 ;; 703 exit ;;
690 parisc*:Lites*:*:*) 704 parisc*:Lites*:*:*)
691 echo hppa1.1-hp-lites 705 echo hppa1.1-hp-lites
692 exit 0 ;; 706 exit ;;
693 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 707 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
694 echo c1-convex-bsd 708 echo c1-convex-bsd
695 exit 0 ;; 709 exit ;;
696 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 710 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
697 if getsysinfo -f scalar_acc 711 if getsysinfo -f scalar_acc
698 then echo c32-convex-bsd 712 then echo c32-convex-bsd
699 else echo c2-convex-bsd 713 else echo c2-convex-bsd
700 fi 714 fi
701 exit 0 ;; 715 exit ;;
702 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 716 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
703 echo c34-convex-bsd 717 echo c34-convex-bsd
704 exit 0 ;; 718 exit ;;
705 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 719 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
706 echo c38-convex-bsd 720 echo c38-convex-bsd
707 exit 0 ;; 721 exit ;;
708 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 722 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
709 echo c4-convex-bsd 723 echo c4-convex-bsd
710 exit 0 ;; 724 exit ;;
711 CRAY*Y-MP:*:*:*) 725 CRAY*Y-MP:*:*:*)
712 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 726 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
713 exit 0 ;; 727 exit ;;
714 CRAY*[A-Z]90:*:*:*) 728 CRAY*[A-Z]90:*:*:*)
715 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ 729 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
716 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ 730 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
717 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ 731 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
718 -e 's/\.[^.]*$/.X/' 732 -e 's/\.[^.]*$/.X/'
719 exit 0 ;; 733 exit ;;
720 CRAY*TS:*:*:*) 734 CRAY*TS:*:*:*)
721 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 735 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
722 exit 0 ;; 736 exit ;;
723 CRAY*T3D:*:*:*)
724 echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
725 exit 0 ;;
726 CRAY*T3E:*:*:*) 737 CRAY*T3E:*:*:*)
727 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 738 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
728 exit 0 ;; 739 exit ;;
729 CRAY*SV1:*:*:*) 740 CRAY*SV1:*:*:*)
730 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 741 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
731 exit 0 ;; 742 exit ;;
743 *:UNICOS/mp:*:*)
744 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
745 exit ;;
732 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 746 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
733 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 747 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
734 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 748 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
735 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 749 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
736 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 750 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
737 exit 0 ;; 751 exit ;;
752 5000:UNIX_System_V:4.*:*)
753 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
754 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
755 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
756 exit ;;
738 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 757 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
739 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 758 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
740 exit 0 ;; 759 exit ;;
741 sparc*:BSD/OS:*:*) 760 sparc*:BSD/OS:*:*)
742 echo sparc-unknown-bsdi${UNAME_RELEASE} 761 echo sparc-unknown-bsdi${UNAME_RELEASE}
743 exit 0 ;; 762 exit ;;
744 *:BSD/OS:*:*) 763 *:BSD/OS:*:*)
745 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 764 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
746 exit 0 ;; 765 exit ;;
747 *:FreeBSD:*:*) 766 *:FreeBSD:*:*)
748 # Determine whether the default compiler uses glibc. 767 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
749 eval $set_cc_for_build 768 exit ;;
750 sed 's/^ //' << EOF >$dummy.c
751 #include <features.h>
752 #if __GLIBC__ >= 2
753 LIBC=gnu
754 #else
755 LIBC=
756 #endif
757EOF
758 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
759 rm -f $dummy.c && rmdir $tmpdir
760 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC}
761 exit 0 ;;
762 i*:CYGWIN*:*) 769 i*:CYGWIN*:*)
763 echo ${UNAME_MACHINE}-pc-cygwin 770 echo ${UNAME_MACHINE}-pc-cygwin
764 exit 0 ;; 771 exit ;;
765 i*:MINGW*:*) 772 i*:MINGW*:*)
766 echo ${UNAME_MACHINE}-pc-mingw32 773 echo ${UNAME_MACHINE}-pc-mingw32
767 exit 0 ;; 774 exit ;;
775 i*:windows32*:*)
776 # uname -m includes "-pc" on this system.
777 echo ${UNAME_MACHINE}-mingw32
778 exit ;;
768 i*:PW*:*) 779 i*:PW*:*)
769 echo ${UNAME_MACHINE}-pc-pw32 780 echo ${UNAME_MACHINE}-pc-pw32
770 exit 0 ;; 781 exit ;;
771 x86:Interix*:3*) 782 x86:Interix*:[34]*)
772 echo i386-pc-interix3 783 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
773 exit 0 ;; 784 exit ;;
774 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 785 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
775 echo i${UNAME_MACHINE}-pc-mks 786 echo i${UNAME_MACHINE}-pc-mks
776 exit 0 ;; 787 exit ;;
777 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 788 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
778 # How do we know it's Interix rather than the generic POSIX subsystem? 789 # How do we know it's Interix rather than the generic POSIX subsystem?
779 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we 790 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
780 # UNAME_MACHINE based on the output of uname instead of i386? 791 # UNAME_MACHINE based on the output of uname instead of i386?
781 echo i386-pc-interix 792 echo i586-pc-interix
782 exit 0 ;; 793 exit ;;
783 i*:UWIN*:*) 794 i*:UWIN*:*)
784 echo ${UNAME_MACHINE}-pc-uwin 795 echo ${UNAME_MACHINE}-pc-uwin
785 exit 0 ;; 796 exit ;;
797 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
798 echo x86_64-unknown-cygwin
799 exit ;;
786 p*:CYGWIN*:*) 800 p*:CYGWIN*:*)
787 echo powerpcle-unknown-cygwin 801 echo powerpcle-unknown-cygwin
788 exit 0 ;; 802 exit ;;
789 prep*:SunOS:5.*:*) 803 prep*:SunOS:5.*:*)
790 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 804 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
791 exit 0 ;; 805 exit ;;
792 *:GNU:*:*) 806 *:GNU:*:*)
807 # the GNU system
793 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 808 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
794 exit 0 ;; 809 exit ;;
810 *:GNU/*:*:*)
811 # other systems with GNU libc and userland
812 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
813 exit ;;
795 i*86:Minix:*:*) 814 i*86:Minix:*:*)
796 echo ${UNAME_MACHINE}-pc-minix 815 echo ${UNAME_MACHINE}-pc-minix
797 exit 0 ;; 816 exit ;;
798 arm*:Linux:*:*) 817 arm*:Linux:*:*)
799 echo ${UNAME_MACHINE}-unknown-linux-gnu 818 echo ${UNAME_MACHINE}-unknown-linux-gnu
800 exit 0 ;; 819 exit ;;
820 cris:Linux:*:*)
821 echo cris-axis-linux-gnu
822 exit ;;
823 crisv32:Linux:*:*)
824 echo crisv32-axis-linux-gnu
825 exit ;;
826 frv:Linux:*:*)
827 echo frv-unknown-linux-gnu
828 exit ;;
801 ia64:Linux:*:*) 829 ia64:Linux:*:*)
802 echo ${UNAME_MACHINE}-unknown-linux-gnu 830 echo ${UNAME_MACHINE}-unknown-linux-gnu
803 exit 0 ;; 831 exit ;;
832 m32r*:Linux:*:*)
833 echo ${UNAME_MACHINE}-unknown-linux-gnu
834 exit ;;
804 m68*:Linux:*:*) 835 m68*:Linux:*:*)
805 echo ${UNAME_MACHINE}-unknown-linux-gnu 836 echo ${UNAME_MACHINE}-unknown-linux-gnu
806 exit 0 ;; 837 exit ;;
807 mips:Linux:*:*) 838 mips:Linux:*:*)
808 eval $set_cc_for_build 839 eval $set_cc_for_build
809 sed 's/^ //' << EOF >$dummy.c 840 sed 's/^ //' << EOF >$dummy.c
@@ -821,15 +852,36 @@ EOF
821 #endif 852 #endif
822EOF 853EOF
823 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 854 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
824 rm -f $dummy.c && rmdir $tmpdir 855 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
825 test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
826 ;; 856 ;;
857 mips64:Linux:*:*)
858 eval $set_cc_for_build
859 sed 's/^ //' << EOF >$dummy.c
860 #undef CPU
861 #undef mips64
862 #undef mips64el
863 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
864 CPU=mips64el
865 #else
866 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
867 CPU=mips64
868 #else
869 CPU=
870 #endif
871 #endif
872EOF
873 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
874 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
875 ;;
876 or32:Linux:*:*)
877 echo or32-unknown-linux-gnu
878 exit ;;
827 ppc:Linux:*:*) 879 ppc:Linux:*:*)
828 echo powerpc-unknown-linux-gnu 880 echo powerpc-unknown-linux-gnu
829 exit 0 ;; 881 exit ;;
830 ppc64:Linux:*:*) 882 ppc64:Linux:*:*)
831 echo powerpc64-unknown-linux-gnu 883 echo powerpc64-unknown-linux-gnu
832 exit 0 ;; 884 exit ;;
833 alpha:Linux:*:*) 885 alpha:Linux:*:*)
834 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 886 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
835 EV5) UNAME_MACHINE=alphaev5 ;; 887 EV5) UNAME_MACHINE=alphaev5 ;;
@@ -843,7 +895,7 @@ EOF
843 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null 895 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
844 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi 896 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
845 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} 897 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
846 exit 0 ;; 898 exit ;;
847 parisc:Linux:*:* | hppa:Linux:*:*) 899 parisc:Linux:*:* | hppa:Linux:*:*)
848 # Look for CPU level 900 # Look for CPU level
849 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 901 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -851,22 +903,25 @@ EOF
851 PA8*) echo hppa2.0-unknown-linux-gnu ;; 903 PA8*) echo hppa2.0-unknown-linux-gnu ;;
852 *) echo hppa-unknown-linux-gnu ;; 904 *) echo hppa-unknown-linux-gnu ;;
853 esac 905 esac
854 exit 0 ;; 906 exit ;;
855 parisc64:Linux:*:* | hppa64:Linux:*:*) 907 parisc64:Linux:*:* | hppa64:Linux:*:*)
856 echo hppa64-unknown-linux-gnu 908 echo hppa64-unknown-linux-gnu
857 exit 0 ;; 909 exit ;;
858 s390:Linux:*:* | s390x:Linux:*:*) 910 s390:Linux:*:* | s390x:Linux:*:*)
859 echo ${UNAME_MACHINE}-ibm-linux 911 echo ${UNAME_MACHINE}-ibm-linux
860 exit 0 ;; 912 exit ;;
913 sh64*:Linux:*:*)
914 echo ${UNAME_MACHINE}-unknown-linux-gnu
915 exit ;;
861 sh*:Linux:*:*) 916 sh*:Linux:*:*)
862 echo ${UNAME_MACHINE}-unknown-linux-gnu 917 echo ${UNAME_MACHINE}-unknown-linux-gnu
863 exit 0 ;; 918 exit ;;
864 sparc:Linux:*:* | sparc64:Linux:*:*) 919 sparc:Linux:*:* | sparc64:Linux:*:*)
865 echo ${UNAME_MACHINE}-unknown-linux-gnu 920 echo ${UNAME_MACHINE}-unknown-linux-gnu
866 exit 0 ;; 921 exit ;;
867 x86_64:Linux:*:*) 922 x86_64:Linux:*:*)
868 echo x86_64-unknown-linux-gnu 923 echo x86_64-unknown-linux-gnu
869 exit 0 ;; 924 exit ;;
870 i*86:Linux:*:*) 925 i*86:Linux:*:*)
871 # The BFD linker knows what the default object file format is, so 926 # The BFD linker knows what the default object file format is, so
872 # first see if it will tell us. cd to the root directory to prevent 927 # first see if it will tell us. cd to the root directory to prevent
@@ -884,15 +939,15 @@ EOF
884 ;; 939 ;;
885 a.out-i386-linux) 940 a.out-i386-linux)
886 echo "${UNAME_MACHINE}-pc-linux-gnuaout" 941 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
887 exit 0 ;; 942 exit ;;
888 coff-i386) 943 coff-i386)
889 echo "${UNAME_MACHINE}-pc-linux-gnucoff" 944 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
890 exit 0 ;; 945 exit ;;
891 "") 946 "")
892 # Either a pre-BFD a.out linker (linux-gnuoldld) or 947 # Either a pre-BFD a.out linker (linux-gnuoldld) or
893 # one that does not give us useful --help. 948 # one that does not give us useful --help.
894 echo "${UNAME_MACHINE}-pc-linux-gnuoldld" 949 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
895 exit 0 ;; 950 exit ;;
896 esac 951 esac
897 # Determine whether the default compiler is a.out or elf 952 # Determine whether the default compiler is a.out or elf
898 eval $set_cc_for_build 953 eval $set_cc_for_build
@@ -915,18 +970,23 @@ EOF
915 LIBC=gnuaout 970 LIBC=gnuaout
916 #endif 971 #endif
917 #endif 972 #endif
973 #ifdef __dietlibc__
974 LIBC=dietlibc
975 #endif
918EOF 976EOF
919 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 977 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
920 rm -f $dummy.c && rmdir $tmpdir 978 test x"${LIBC}" != x && {
921 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 979 echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
922 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 980 exit
981 }
982 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
923 ;; 983 ;;
924 i*86:DYNIX/ptx:4*:*) 984 i*86:DYNIX/ptx:4*:*)
925 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 985 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
926 # earlier versions are messed up and put the nodename in both 986 # earlier versions are messed up and put the nodename in both
927 # sysname and nodename. 987 # sysname and nodename.
928 echo i386-sequent-sysv4 988 echo i386-sequent-sysv4
929 exit 0 ;; 989 exit ;;
930 i*86:UNIX_SV:4.2MP:2.*) 990 i*86:UNIX_SV:4.2MP:2.*)
931 # Unixware is an offshoot of SVR4, but it has its own version 991 # Unixware is an offshoot of SVR4, but it has its own version
932 # number series starting with 2... 992 # number series starting with 2...
@@ -934,7 +994,27 @@ EOF
934 # I just have to hope. -- rms. 994 # I just have to hope. -- rms.
935 # Use sysv4.2uw... so that sysv4* matches it. 995 # Use sysv4.2uw... so that sysv4* matches it.
936 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 996 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
937 exit 0 ;; 997 exit ;;
998 i*86:OS/2:*:*)
999 # If we were able to find `uname', then EMX Unix compatibility
1000 # is probably installed.
1001 echo ${UNAME_MACHINE}-pc-os2-emx
1002 exit ;;
1003 i*86:XTS-300:*:STOP)
1004 echo ${UNAME_MACHINE}-unknown-stop
1005 exit ;;
1006 i*86:atheos:*:*)
1007 echo ${UNAME_MACHINE}-unknown-atheos
1008 exit ;;
1009 i*86:syllable:*:*)
1010 echo ${UNAME_MACHINE}-pc-syllable
1011 exit ;;
1012 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1013 echo i386-unknown-lynxos${UNAME_RELEASE}
1014 exit ;;
1015 i*86:*DOS:*:*)
1016 echo ${UNAME_MACHINE}-pc-msdosdjgpp
1017 exit ;;
938 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) 1018 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
939 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` 1019 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
940 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then 1020 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
@@ -942,15 +1022,16 @@ EOF
942 else 1022 else
943 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} 1023 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
944 fi 1024 fi
945 exit 0 ;; 1025 exit ;;
946 i*86:*:5:[78]*) 1026 i*86:*:5:[678]*)
1027 # UnixWare 7.x, OpenUNIX and OpenServer 6.
947 case `/bin/uname -X | grep "^Machine"` in 1028 case `/bin/uname -X | grep "^Machine"` in
948 *486*) UNAME_MACHINE=i486 ;; 1029 *486*) UNAME_MACHINE=i486 ;;
949 *Pentium) UNAME_MACHINE=i586 ;; 1030 *Pentium) UNAME_MACHINE=i586 ;;
950 *Pent*|*Celeron) UNAME_MACHINE=i686 ;; 1031 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
951 esac 1032 esac
952 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} 1033 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
953 exit 0 ;; 1034 exit ;;
954 i*86:*:3.2:*) 1035 i*86:*:3.2:*)
955 if test -f /usr/options/cb.name; then 1036 if test -f /usr/options/cb.name; then
956 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` 1037 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
@@ -968,79 +1049,73 @@ EOF
968 else 1049 else
969 echo ${UNAME_MACHINE}-pc-sysv32 1050 echo ${UNAME_MACHINE}-pc-sysv32
970 fi 1051 fi
971 exit 0 ;; 1052 exit ;;
972 i*86:*DOS:*:*)
973 echo ${UNAME_MACHINE}-pc-msdosdjgpp
974 exit 0 ;;
975 pc:*:*:*) 1053 pc:*:*:*)
976 # Left here for compatibility: 1054 # Left here for compatibility:
977 # uname -m prints for DJGPP always 'pc', but it prints nothing about 1055 # uname -m prints for DJGPP always 'pc', but it prints nothing about
978 # the processor, so we play safe by assuming i386. 1056 # the processor, so we play safe by assuming i386.
979 echo i386-pc-msdosdjgpp 1057 echo i386-pc-msdosdjgpp
980 exit 0 ;; 1058 exit ;;
981 Intel:Mach:3*:*) 1059 Intel:Mach:3*:*)
982 echo i386-pc-mach3 1060 echo i386-pc-mach3
983 exit 0 ;; 1061 exit ;;
984 paragon:*:*:*) 1062 paragon:*:*:*)
985 echo i860-intel-osf1 1063 echo i860-intel-osf1
986 exit 0 ;; 1064 exit ;;
987 i860:*:4.*:*) # i860-SVR4 1065 i860:*:4.*:*) # i860-SVR4
988 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then 1066 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
989 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 1067 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
990 else # Add other i860-SVR4 vendors below as they are discovered. 1068 else # Add other i860-SVR4 vendors below as they are discovered.
991 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 1069 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
992 fi 1070 fi
993 exit 0 ;; 1071 exit ;;
994 mini*:CTIX:SYS*5:*) 1072 mini*:CTIX:SYS*5:*)
995 # "miniframe" 1073 # "miniframe"
996 echo m68010-convergent-sysv 1074 echo m68010-convergent-sysv
997 exit 0 ;; 1075 exit ;;
998 mc68k:UNIX:SYSTEM5:3.51m) 1076 mc68k:UNIX:SYSTEM5:3.51m)
999 echo m68k-convergent-sysv 1077 echo m68k-convergent-sysv
1000 exit 0 ;; 1078 exit ;;
1001 M680?0:D-NIX:5.3:*) 1079 M680?0:D-NIX:5.3:*)
1002 echo m68k-diab-dnix 1080 echo m68k-diab-dnix
1003 exit 0 ;; 1081 exit ;;
1004 M68*:*:R3V[567]*:*) 1082 M68*:*:R3V[5678]*:*)
1005 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 1083 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1006 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) 1084 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1007 OS_REL='' 1085 OS_REL=''
1008 test -r /etc/.relid \ 1086 test -r /etc/.relid \
1009 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` 1087 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1010 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1088 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1011 && echo i486-ncr-sysv4.3${OS_REL} && exit 0 1089 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1012 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1090 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1013 && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 1091 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1014 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1092 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1015 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1093 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1016 && echo i486-ncr-sysv4 && exit 0 ;; 1094 && { echo i486-ncr-sysv4; exit; } ;;
1017 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) 1095 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1018 echo m68k-unknown-lynxos${UNAME_RELEASE} 1096 echo m68k-unknown-lynxos${UNAME_RELEASE}
1019 exit 0 ;; 1097 exit ;;
1020 mc68030:UNIX_System_V:4.*:*) 1098 mc68030:UNIX_System_V:4.*:*)
1021 echo m68k-atari-sysv4 1099 echo m68k-atari-sysv4
1022 exit 0 ;; 1100 exit ;;
1023 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1024 echo i386-unknown-lynxos${UNAME_RELEASE}
1025 exit 0 ;;
1026 TSUNAMI:LynxOS:2.*:*) 1101 TSUNAMI:LynxOS:2.*:*)
1027 echo sparc-unknown-lynxos${UNAME_RELEASE} 1102 echo sparc-unknown-lynxos${UNAME_RELEASE}
1028 exit 0 ;; 1103 exit ;;
1029 rs6000:LynxOS:2.*:*) 1104 rs6000:LynxOS:2.*:*)
1030 echo rs6000-unknown-lynxos${UNAME_RELEASE} 1105 echo rs6000-unknown-lynxos${UNAME_RELEASE}
1031 exit 0 ;; 1106 exit ;;
1032 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) 1107 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1033 echo powerpc-unknown-lynxos${UNAME_RELEASE} 1108 echo powerpc-unknown-lynxos${UNAME_RELEASE}
1034 exit 0 ;; 1109 exit ;;
1035 SM[BE]S:UNIX_SV:*:*) 1110 SM[BE]S:UNIX_SV:*:*)
1036 echo mips-dde-sysv${UNAME_RELEASE} 1111 echo mips-dde-sysv${UNAME_RELEASE}
1037 exit 0 ;; 1112 exit ;;
1038 RM*:ReliantUNIX-*:*:*) 1113 RM*:ReliantUNIX-*:*:*)
1039 echo mips-sni-sysv4 1114 echo mips-sni-sysv4
1040 exit 0 ;; 1115 exit ;;
1041 RM*:SINIX-*:*:*) 1116 RM*:SINIX-*:*:*)
1042 echo mips-sni-sysv4 1117 echo mips-sni-sysv4
1043 exit 0 ;; 1118 exit ;;
1044 *:SINIX-*:*:*) 1119 *:SINIX-*:*:*)
1045 if uname -p 2>/dev/null >/dev/null ; then 1120 if uname -p 2>/dev/null >/dev/null ; then
1046 UNAME_MACHINE=`(uname -p) 2>/dev/null` 1121 UNAME_MACHINE=`(uname -p) 2>/dev/null`
@@ -1048,64 +1123,73 @@ EOF
1048 else 1123 else
1049 echo ns32k-sni-sysv 1124 echo ns32k-sni-sysv
1050 fi 1125 fi
1051 exit 0 ;; 1126 exit ;;
1052 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1127 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1053 # says <Richard.M.Bartel@ccMail.Census.GOV> 1128 # says <Richard.M.Bartel@ccMail.Census.GOV>
1054 echo i586-unisys-sysv4 1129 echo i586-unisys-sysv4
1055 exit 0 ;; 1130 exit ;;
1056 *:UNIX_System_V:4*:FTX*) 1131 *:UNIX_System_V:4*:FTX*)
1057 # From Gerald Hewes <hewes@openmarket.com>. 1132 # From Gerald Hewes <hewes@openmarket.com>.
1058 # How about differentiating between stratus architectures? -djm 1133 # How about differentiating between stratus architectures? -djm
1059 echo hppa1.1-stratus-sysv4 1134 echo hppa1.1-stratus-sysv4
1060 exit 0 ;; 1135 exit ;;
1061 *:*:*:FTX*) 1136 *:*:*:FTX*)
1062 # From seanf@swdc.stratus.com. 1137 # From seanf@swdc.stratus.com.
1063 echo i860-stratus-sysv4 1138 echo i860-stratus-sysv4
1064 exit 0 ;; 1139 exit ;;
1140 i*86:VOS:*:*)
1141 # From Paul.Green@stratus.com.
1142 echo ${UNAME_MACHINE}-stratus-vos
1143 exit ;;
1065 *:VOS:*:*) 1144 *:VOS:*:*)
1066 # From Paul.Green@stratus.com. 1145 # From Paul.Green@stratus.com.
1067 echo hppa1.1-stratus-vos 1146 echo hppa1.1-stratus-vos
1068 exit 0 ;; 1147 exit ;;
1069 mc68*:A/UX:*:*) 1148 mc68*:A/UX:*:*)
1070 echo m68k-apple-aux${UNAME_RELEASE} 1149 echo m68k-apple-aux${UNAME_RELEASE}
1071 exit 0 ;; 1150 exit ;;
1072 news*:NEWS-OS:6*:*) 1151 news*:NEWS-OS:6*:*)
1073 echo mips-sony-newsos6 1152 echo mips-sony-newsos6
1074 exit 0 ;; 1153 exit ;;
1075 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1154 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1076 if [ -d /usr/nec ]; then 1155 if [ -d /usr/nec ]; then
1077 echo mips-nec-sysv${UNAME_RELEASE} 1156 echo mips-nec-sysv${UNAME_RELEASE}
1078 else 1157 else
1079 echo mips-unknown-sysv${UNAME_RELEASE} 1158 echo mips-unknown-sysv${UNAME_RELEASE}
1080 fi 1159 fi
1081 exit 0 ;; 1160 exit ;;
1082 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1161 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1083 echo powerpc-be-beos 1162 echo powerpc-be-beos
1084 exit 0 ;; 1163 exit ;;
1085 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. 1164 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
1086 echo powerpc-apple-beos 1165 echo powerpc-apple-beos
1087 exit 0 ;; 1166 exit ;;
1088 BePC:BeOS:*:*) # BeOS running on Intel PC compatible. 1167 BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
1089 echo i586-pc-beos 1168 echo i586-pc-beos
1090 exit 0 ;; 1169 exit ;;
1091 SX-4:SUPER-UX:*:*) 1170 SX-4:SUPER-UX:*:*)
1092 echo sx4-nec-superux${UNAME_RELEASE} 1171 echo sx4-nec-superux${UNAME_RELEASE}
1093 exit 0 ;; 1172 exit ;;
1094 SX-5:SUPER-UX:*:*) 1173 SX-5:SUPER-UX:*:*)
1095 echo sx5-nec-superux${UNAME_RELEASE} 1174 echo sx5-nec-superux${UNAME_RELEASE}
1096 exit 0 ;; 1175 exit ;;
1097 SX-6:SUPER-UX:*:*) 1176 SX-6:SUPER-UX:*:*)
1098 echo sx6-nec-superux${UNAME_RELEASE} 1177 echo sx6-nec-superux${UNAME_RELEASE}
1099 exit 0 ;; 1178 exit ;;
1100 Power*:Rhapsody:*:*) 1179 Power*:Rhapsody:*:*)
1101 echo powerpc-apple-rhapsody${UNAME_RELEASE} 1180 echo powerpc-apple-rhapsody${UNAME_RELEASE}
1102 exit 0 ;; 1181 exit ;;
1103 *:Rhapsody:*:*) 1182 *:Rhapsody:*:*)
1104 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} 1183 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1105 exit 0 ;; 1184 exit ;;
1106 *:Darwin:*:*) 1185 *:Darwin:*:*)
1107 echo `uname -p`-apple-darwin${UNAME_RELEASE} 1186 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1108 exit 0 ;; 1187 case $UNAME_PROCESSOR in
1188 *86) UNAME_PROCESSOR=i686 ;;
1189 unknown) UNAME_PROCESSOR=powerpc ;;
1190 esac
1191 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1192 exit ;;
1109 *:procnto*:*:* | *:QNX:[0123456789]*:*) 1193 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1110 UNAME_PROCESSOR=`uname -p` 1194 UNAME_PROCESSOR=`uname -p`
1111 if test "$UNAME_PROCESSOR" = "x86"; then 1195 if test "$UNAME_PROCESSOR" = "x86"; then
@@ -1113,22 +1197,25 @@ EOF
1113 UNAME_MACHINE=pc 1197 UNAME_MACHINE=pc
1114 fi 1198 fi
1115 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} 1199 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1116 exit 0 ;; 1200 exit ;;
1117 *:QNX:*:4*) 1201 *:QNX:*:4*)
1118 echo i386-pc-qnx 1202 echo i386-pc-qnx
1119 exit 0 ;; 1203 exit ;;
1120 NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) 1204 NSE-?:NONSTOP_KERNEL:*:*)
1205 echo nse-tandem-nsk${UNAME_RELEASE}
1206 exit ;;
1207 NSR-?:NONSTOP_KERNEL:*:*)
1121 echo nsr-tandem-nsk${UNAME_RELEASE} 1208 echo nsr-tandem-nsk${UNAME_RELEASE}
1122 exit 0 ;; 1209 exit ;;
1123 *:NonStop-UX:*:*) 1210 *:NonStop-UX:*:*)
1124 echo mips-compaq-nonstopux 1211 echo mips-compaq-nonstopux
1125 exit 0 ;; 1212 exit ;;
1126 BS2000:POSIX*:*:*) 1213 BS2000:POSIX*:*:*)
1127 echo bs2000-siemens-sysv 1214 echo bs2000-siemens-sysv
1128 exit 0 ;; 1215 exit ;;
1129 DS/*:UNIX_System_V:*:*) 1216 DS/*:UNIX_System_V:*:*)
1130 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} 1217 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1131 exit 0 ;; 1218 exit ;;
1132 *:Plan9:*:*) 1219 *:Plan9:*:*)
1133 # "uname -m" is not consistent, so use $cputype instead. 386 1220 # "uname -m" is not consistent, so use $cputype instead. 386
1134 # is converted to i386 for consistency with other x86 1221 # is converted to i386 for consistency with other x86
@@ -1139,36 +1226,44 @@ EOF
1139 UNAME_MACHINE="$cputype" 1226 UNAME_MACHINE="$cputype"
1140 fi 1227 fi
1141 echo ${UNAME_MACHINE}-unknown-plan9 1228 echo ${UNAME_MACHINE}-unknown-plan9
1142 exit 0 ;; 1229 exit ;;
1143 i*86:OS/2:*:*)
1144 # If we were able to find `uname', then EMX Unix compatibility
1145 # is probably installed.
1146 echo ${UNAME_MACHINE}-pc-os2-emx
1147 exit 0 ;;
1148 *:TOPS-10:*:*) 1230 *:TOPS-10:*:*)
1149 echo pdp10-unknown-tops10 1231 echo pdp10-unknown-tops10
1150 exit 0 ;; 1232 exit ;;
1151 *:TENEX:*:*) 1233 *:TENEX:*:*)
1152 echo pdp10-unknown-tenex 1234 echo pdp10-unknown-tenex
1153 exit 0 ;; 1235 exit ;;
1154 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) 1236 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1155 echo pdp10-dec-tops20 1237 echo pdp10-dec-tops20
1156 exit 0 ;; 1238 exit ;;
1157 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) 1239 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1158 echo pdp10-xkl-tops20 1240 echo pdp10-xkl-tops20
1159 exit 0 ;; 1241 exit ;;
1160 *:TOPS-20:*:*) 1242 *:TOPS-20:*:*)
1161 echo pdp10-unknown-tops20 1243 echo pdp10-unknown-tops20
1162 exit 0 ;; 1244 exit ;;
1163 *:ITS:*:*) 1245 *:ITS:*:*)
1164 echo pdp10-unknown-its 1246 echo pdp10-unknown-its
1165 exit 0 ;; 1247 exit ;;
1166 i*86:XTS-300:*:STOP) 1248 SEI:*:*:SEIUX)
1167 echo ${UNAME_MACHINE}-unknown-stop 1249 echo mips-sei-seiux${UNAME_RELEASE}
1168 exit 0 ;; 1250 exit ;;
1169 i*86:atheos:*:*) 1251 *:DragonFly:*:*)
1170 echo ${UNAME_MACHINE}-unknown-atheos 1252 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1171 exit 0 ;; 1253 exit ;;
1254 *:*VMS:*:*)
1255 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1256 case "${UNAME_MACHINE}" in
1257 A*) echo alpha-dec-vms ; exit ;;
1258 I*) echo ia64-dec-vms ; exit ;;
1259 V*) echo vax-dec-vms ; exit ;;
1260 esac ;;
1261 *:XENIX:*:SysV)
1262 echo i386-pc-xenix
1263 exit ;;
1264 i*86:skyos:*:*)
1265 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1266 exit ;;
1172esac 1267esac
1173 1268
1174#echo '(No uname command or uname output not recognized.)' 1>&2 1269#echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1200,7 +1295,7 @@ main ()
1200#endif 1295#endif
1201 1296
1202#if defined (__arm) && defined (__acorn) && defined (__unix) 1297#if defined (__arm) && defined (__acorn) && defined (__unix)
1203 printf ("arm-acorn-riscix"); exit (0); 1298 printf ("arm-acorn-riscix\n"); exit (0);
1204#endif 1299#endif
1205 1300
1206#if defined (hp300) && !defined (hpux) 1301#if defined (hp300) && !defined (hpux)
@@ -1289,12 +1384,12 @@ main ()
1289} 1384}
1290EOF 1385EOF
1291 1386
1292$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && rm -f $dummy.c $dummy && rmdir $tmpdir && exit 0 1387$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1293rm -f $dummy.c $dummy && rmdir $tmpdir 1388 { echo "$SYSTEM_NAME"; exit; }
1294 1389
1295# Apollos put the system type in the environment. 1390# Apollos put the system type in the environment.
1296 1391
1297test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } 1392test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1298 1393
1299# Convex versions that predate uname can use getsysinfo(1) 1394# Convex versions that predate uname can use getsysinfo(1)
1300 1395
@@ -1303,22 +1398,22 @@ then
1303 case `getsysinfo -f cpu_type` in 1398 case `getsysinfo -f cpu_type` in
1304 c1*) 1399 c1*)
1305 echo c1-convex-bsd 1400 echo c1-convex-bsd
1306 exit 0 ;; 1401 exit ;;
1307 c2*) 1402 c2*)
1308 if getsysinfo -f scalar_acc 1403 if getsysinfo -f scalar_acc
1309 then echo c32-convex-bsd 1404 then echo c32-convex-bsd
1310 else echo c2-convex-bsd 1405 else echo c2-convex-bsd
1311 fi 1406 fi
1312 exit 0 ;; 1407 exit ;;
1313 c34*) 1408 c34*)
1314 echo c34-convex-bsd 1409 echo c34-convex-bsd
1315 exit 0 ;; 1410 exit ;;
1316 c38*) 1411 c38*)
1317 echo c38-convex-bsd 1412 echo c38-convex-bsd
1318 exit 0 ;; 1413 exit ;;
1319 c4*) 1414 c4*)
1320 echo c4-convex-bsd 1415 echo c4-convex-bsd
1321 exit 0 ;; 1416 exit ;;
1322 esac 1417 esac
1323fi 1418fi
1324 1419
@@ -1329,7 +1424,9 @@ This script, last modified $timestamp, has failed to recognize
1329the operating system you are using. It is advised that you 1424the operating system you are using. It is advised that you
1330download the most up to date version of the config scripts from 1425download the most up to date version of the config scripts from
1331 1426
1332 ftp://ftp.gnu.org/pub/gnu/config/ 1427 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1428and
1429 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1333 1430
1334If the version you run ($0) is already up to date, please 1431If the version you run ($0) is already up to date, please
1335send the following data and any information you think might be 1432send the following data and any information you think might be
diff --git a/config.sub b/config.sub
index 11ab23c1ac3..1c366dfde9a 100755
--- a/config.sub
+++ b/config.sub
@@ -1,9 +1,9 @@
1#! /bin/sh 1#! /bin/sh
2# Configuration validation subroutine script. 2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002 Free Software Foundation, Inc. 4# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
5 5
6timestamp='2002-11-13' 6timestamp='2005-07-08'
7 7
8# This file is (in principle) common to ALL GNU software. 8# This file is (in principle) common to ALL GNU software.
9# The presence of a machine in this file suggests that SOME GNU software 9# The presence of a machine in this file suggests that SOME GNU software
@@ -21,14 +21,15 @@ timestamp='2002-11-13'
21# 21#
22# You should have received a copy of the GNU General Public License 22# You should have received a copy of the GNU General Public License
23# along with this program; if not, write to the Free Software 23# along with this program; if not, write to the Free Software
24# Foundation, Inc., 51 Franklin Street, Fifth Floor, 24# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
25# Boston, MA 02110-1301, USA. 25# 02110-1301, USA.
26 26#
27# As a special exception to the GNU General Public License, if you 27# As a special exception to the GNU General Public License, if you
28# distribute this file as part of a program that contains a 28# distribute this file as part of a program that contains a
29# configuration script generated by Autoconf, you may include it under 29# configuration script generated by Autoconf, you may include it under
30# the same distribution terms that you use for the rest of that program. 30# the same distribution terms that you use for the rest of that program.
31 31
32
32# Please send patches to <config-patches@gnu.org>. Submit a context 33# Please send patches to <config-patches@gnu.org>. Submit a context
33# diff and a properly formatted ChangeLog entry. 34# diff and a properly formatted ChangeLog entry.
34# 35#
@@ -70,7 +71,7 @@ Report bugs and patches to <config-patches@gnu.org>."
70version="\ 71version="\
71GNU config.sub ($timestamp) 72GNU config.sub ($timestamp)
72 73
73Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 74Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
74Free Software Foundation, Inc. 75Free Software Foundation, Inc.
75 76
76This is free software; see the source for copying conditions. There is NO 77This is free software; see the source for copying conditions. There is NO
@@ -83,11 +84,11 @@ Try \`$me --help' for more information."
83while test $# -gt 0 ; do 84while test $# -gt 0 ; do
84 case $1 in 85 case $1 in
85 --time-stamp | --time* | -t ) 86 --time-stamp | --time* | -t )
86 echo "$timestamp" ; exit 0 ;; 87 echo "$timestamp" ; exit ;;
87 --version | -v ) 88 --version | -v )
88 echo "$version" ; exit 0 ;; 89 echo "$version" ; exit ;;
89 --help | --h* | -h ) 90 --help | --h* | -h )
90 echo "$usage"; exit 0 ;; 91 echo "$usage"; exit ;;
91 -- ) # Stop option processing 92 -- ) # Stop option processing
92 shift; break ;; 93 shift; break ;;
93 - ) # Use stdin as input. 94 - ) # Use stdin as input.
@@ -99,7 +100,7 @@ while test $# -gt 0 ; do
99 *local*) 100 *local*)
100 # First pass through any local machine types. 101 # First pass through any local machine types.
101 echo $1 102 echo $1
102 exit 0;; 103 exit ;;
103 104
104 * ) 105 * )
105 break ;; 106 break ;;
@@ -118,7 +119,8 @@ esac
118# Here we must recognize all the valid KERNEL-OS combinations. 119# Here we must recognize all the valid KERNEL-OS combinations.
119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 120maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120case $maybe_os in 121case $maybe_os in
121 nto-qnx* | linux-gnu* | freebsd*-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*) 122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
123 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os 124 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 125 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;; 126 ;;
@@ -144,7 +146,7 @@ case $os in
144 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 146 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
145 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 147 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
146 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 148 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
147 -apple | -axis) 149 -apple | -axis | -knuth | -cray)
148 os= 150 os=
149 basic_machine=$1 151 basic_machine=$1
150 ;; 152 ;;
@@ -228,14 +230,16 @@ case $basic_machine in
228 | a29k \ 230 | a29k \
229 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 231 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
230 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 232 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
233 | am33_2.0 \
231 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 234 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
232 | clipper \ 235 | bfin \
236 | c4x | clipper \
233 | d10v | d30v | dlx | dsp16xx \ 237 | d10v | d30v | dlx | dsp16xx \
234 | fr30 | frv \ 238 | fr30 | frv \
235 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 239 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
236 | i370 | i860 | i960 | ia64 \ 240 | i370 | i860 | i960 | ia64 \
237 | ip2k \ 241 | ip2k | iq2000 \
238 | m32r | m68000 | m68k | m88k | mcore \ 242 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
239 | mips | mipsbe | mipseb | mipsel | mipsle \ 243 | mips | mipsbe | mipseb | mipsel | mipsle \
240 | mips16 \ 244 | mips16 \
241 | mips64 | mips64el \ 245 | mips64 | mips64el \
@@ -244,28 +248,37 @@ case $basic_machine in
244 | mips64vr4100 | mips64vr4100el \ 248 | mips64vr4100 | mips64vr4100el \
245 | mips64vr4300 | mips64vr4300el \ 249 | mips64vr4300 | mips64vr4300el \
246 | mips64vr5000 | mips64vr5000el \ 250 | mips64vr5000 | mips64vr5000el \
251 | mips64vr5900 | mips64vr5900el \
247 | mipsisa32 | mipsisa32el \ 252 | mipsisa32 | mipsisa32el \
253 | mipsisa32r2 | mipsisa32r2el \
248 | mipsisa64 | mipsisa64el \ 254 | mipsisa64 | mipsisa64el \
255 | mipsisa64r2 | mipsisa64r2el \
249 | mipsisa64sb1 | mipsisa64sb1el \ 256 | mipsisa64sb1 | mipsisa64sb1el \
250 | mipsisa64sr71k | mipsisa64sr71kel \ 257 | mipsisa64sr71k | mipsisa64sr71kel \
251 | mipstx39 | mipstx39el \ 258 | mipstx39 | mipstx39el \
252 | mn10200 | mn10300 \ 259 | mn10200 | mn10300 \
260 | ms1 \
261 | msp430 \
253 | ns16k | ns32k \ 262 | ns16k | ns32k \
254 | openrisc | or32 \ 263 | or32 \
255 | pdp10 | pdp11 | pj | pjl \ 264 | pdp10 | pdp11 | pj | pjl \
256 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 265 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
257 | pyramid \ 266 | pyramid \
258 | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 267 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
259 | sh64 | sh64le \ 268 | sh64 | sh64le \
260 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ 269 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
270 | sparcv8 | sparcv9 | sparcv9b \
261 | strongarm \ 271 | strongarm \
262 | tahoe | thumb | tic80 | tron \ 272 | tahoe | thumb | tic4x | tic80 | tron \
263 | v850 | v850e \ 273 | v850 | v850e \
264 | we32k \ 274 | we32k \
265 | x86 | xscale | xstormy16 | xtensa \ 275 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
266 | z8k) 276 | z8k)
267 basic_machine=$basic_machine-unknown 277 basic_machine=$basic_machine-unknown
268 ;; 278 ;;
279 m32c)
280 basic_machine=$basic_machine-unknown
281 ;;
269 m6811 | m68hc11 | m6812 | m68hc12) 282 m6811 | m68hc11 | m6812 | m68hc12)
270 # Motorola 68HC11/12. 283 # Motorola 68HC11/12.
271 basic_machine=$basic_machine-unknown 284 basic_machine=$basic_machine-unknown
@@ -293,19 +306,19 @@ case $basic_machine in
293 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 306 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
294 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 307 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
295 | avr-* \ 308 | avr-* \
296 | bs2000-* \ 309 | bfin-* | bs2000-* \
297 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ 310 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
298 | clipper-* | cydra-* \ 311 | clipper-* | craynv-* | cydra-* \
299 | d10v-* | d30v-* | dlx-* \ 312 | d10v-* | d30v-* | dlx-* \
300 | elxsi-* \ 313 | elxsi-* \
301 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ 314 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
302 | h8300-* | h8500-* \ 315 | h8300-* | h8500-* \
303 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 316 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
304 | i*86-* | i860-* | i960-* | ia64-* \ 317 | i*86-* | i860-* | i960-* | ia64-* \
305 | ip2k-* \ 318 | ip2k-* | iq2000-* \
306 | m32r-* \ 319 | m32r-* | m32rle-* \
307 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 320 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
308 | m88110-* | m88k-* | mcore-* \ 321 | m88110-* | m88k-* | maxq-* | mcore-* \
309 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 322 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
310 | mips16-* \ 323 | mips16-* \
311 | mips64-* | mips64el-* \ 324 | mips64-* | mips64el-* \
@@ -314,29 +327,40 @@ case $basic_machine in
314 | mips64vr4100-* | mips64vr4100el-* \ 327 | mips64vr4100-* | mips64vr4100el-* \
315 | mips64vr4300-* | mips64vr4300el-* \ 328 | mips64vr4300-* | mips64vr4300el-* \
316 | mips64vr5000-* | mips64vr5000el-* \ 329 | mips64vr5000-* | mips64vr5000el-* \
330 | mips64vr5900-* | mips64vr5900el-* \
317 | mipsisa32-* | mipsisa32el-* \ 331 | mipsisa32-* | mipsisa32el-* \
332 | mipsisa32r2-* | mipsisa32r2el-* \
318 | mipsisa64-* | mipsisa64el-* \ 333 | mipsisa64-* | mipsisa64el-* \
334 | mipsisa64r2-* | mipsisa64r2el-* \
319 | mipsisa64sb1-* | mipsisa64sb1el-* \ 335 | mipsisa64sb1-* | mipsisa64sb1el-* \
320 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 336 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
321 | mipstx39 | mipstx39el \ 337 | mipstx39-* | mipstx39el-* \
338 | mmix-* \
339 | ms1-* \
340 | msp430-* \
322 | none-* | np1-* | ns16k-* | ns32k-* \ 341 | none-* | np1-* | ns16k-* | ns32k-* \
323 | orion-* \ 342 | orion-* \
324 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 343 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
325 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 344 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
326 | pyramid-* \ 345 | pyramid-* \
327 | romp-* | rs6000-* \ 346 | romp-* | rs6000-* \
328 | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ 347 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
329 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 348 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
330 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 349 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
331 | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 350 | sparclite-* \
332 | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ 351 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
352 | tahoe-* | thumb-* \
353 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
354 | tron-* \
333 | v850-* | v850e-* | vax-* \ 355 | v850-* | v850e-* | vax-* \
334 | we32k-* \ 356 | we32k-* \
335 | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ 357 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
336 | xtensa-* \ 358 | xstormy16-* | xtensa-* \
337 | ymp-* \ 359 | ymp-* \
338 | z8k-*) 360 | z8k-*)
339 ;; 361 ;;
362 m32c-*)
363 ;;
340 # Recognize the various machine names and aliases which stand 364 # Recognize the various machine names and aliases which stand
341 # for a CPU type and a company and sometimes even an OS. 365 # for a CPU type and a company and sometimes even an OS.
342 386bsd) 366 386bsd)
@@ -353,6 +377,9 @@ case $basic_machine in
353 basic_machine=a29k-amd 377 basic_machine=a29k-amd
354 os=-udi 378 os=-udi
355 ;; 379 ;;
380 abacus)
381 basic_machine=abacus-unknown
382 ;;
356 adobe68k) 383 adobe68k)
357 basic_machine=m68010-adobe 384 basic_machine=m68010-adobe
358 os=-scout 385 os=-scout
@@ -367,6 +394,12 @@ case $basic_machine in
367 basic_machine=a29k-none 394 basic_machine=a29k-none
368 os=-bsd 395 os=-bsd
369 ;; 396 ;;
397 amd64)
398 basic_machine=x86_64-pc
399 ;;
400 amd64-*)
401 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
402 ;;
370 amdahl) 403 amdahl)
371 basic_machine=580-amdahl 404 basic_machine=580-amdahl
372 os=-sysv 405 os=-sysv
@@ -426,12 +459,27 @@ case $basic_machine in
426 basic_machine=j90-cray 459 basic_machine=j90-cray
427 os=-unicos 460 os=-unicos
428 ;; 461 ;;
462 craynv)
463 basic_machine=craynv-cray
464 os=-unicosmp
465 ;;
466 cr16c)
467 basic_machine=cr16c-unknown
468 os=-elf
469 ;;
429 crds | unos) 470 crds | unos)
430 basic_machine=m68k-crds 471 basic_machine=m68k-crds
431 ;; 472 ;;
473 crisv32 | crisv32-* | etraxfs*)
474 basic_machine=crisv32-axis
475 ;;
432 cris | cris-* | etrax*) 476 cris | cris-* | etrax*)
433 basic_machine=cris-axis 477 basic_machine=cris-axis
434 ;; 478 ;;
479 crx)
480 basic_machine=crx-unknown
481 os=-elf
482 ;;
435 da30 | da30-*) 483 da30 | da30-*)
436 basic_machine=m68k-da30 484 basic_machine=m68k-da30
437 ;; 485 ;;
@@ -454,6 +502,10 @@ case $basic_machine in
454 basic_machine=m88k-motorola 502 basic_machine=m88k-motorola
455 os=-sysv3 503 os=-sysv3
456 ;; 504 ;;
505 djgpp)
506 basic_machine=i586-pc
507 os=-msdosdjgpp
508 ;;
457 dpx20 | dpx20-*) 509 dpx20 | dpx20-*)
458 basic_machine=rs6000-bull 510 basic_machine=rs6000-bull
459 os=-bosx 511 os=-bosx
@@ -632,10 +684,6 @@ case $basic_machine in
632 mips3*) 684 mips3*)
633 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 685 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
634 ;; 686 ;;
635 mmix*)
636 basic_machine=mmix-knuth
637 os=-mmixware
638 ;;
639 monitor) 687 monitor)
640 basic_machine=m68k-rom68k 688 basic_machine=m68k-rom68k
641 os=-coff 689 os=-coff
@@ -723,9 +771,12 @@ case $basic_machine in
723 basic_machine=hppa1.1-oki 771 basic_machine=hppa1.1-oki
724 os=-proelf 772 os=-proelf
725 ;; 773 ;;
726 or32 | or32-*) 774 openrisc | openrisc-*)
727 basic_machine=or32-unknown 775 basic_machine=or32-unknown
728 os=-coff 776 ;;
777 os400)
778 basic_machine=powerpc-ibm
779 os=-os400
729 ;; 780 ;;
730 OSE68000 | ose68000) 781 OSE68000 | ose68000)
731 basic_machine=m68000-ericsson 782 basic_machine=m68000-ericsson
@@ -758,18 +809,24 @@ case $basic_machine in
758 pentiumpro | p6 | 6x86 | athlon | athlon_*) 809 pentiumpro | p6 | 6x86 | athlon | athlon_*)
759 basic_machine=i686-pc 810 basic_machine=i686-pc
760 ;; 811 ;;
761 pentiumii | pentium2) 812 pentiumii | pentium2 | pentiumiii | pentium3)
762 basic_machine=i686-pc 813 basic_machine=i686-pc
763 ;; 814 ;;
815 pentium4)
816 basic_machine=i786-pc
817 ;;
764 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) 818 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
765 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 819 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
766 ;; 820 ;;
767 pentiumpro-* | p6-* | 6x86-* | athlon-*) 821 pentiumpro-* | p6-* | 6x86-* | athlon-*)
768 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 822 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
769 ;; 823 ;;
770 pentiumii-* | pentium2-*) 824 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
771 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 825 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
772 ;; 826 ;;
827 pentium4-*)
828 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
829 ;;
773 pn) 830 pn)
774 basic_machine=pn-gould 831 basic_machine=pn-gould
775 ;; 832 ;;
@@ -828,6 +885,10 @@ case $basic_machine in
828 sb1el) 885 sb1el)
829 basic_machine=mipsisa64sb1el-unknown 886 basic_machine=mipsisa64sb1el-unknown
830 ;; 887 ;;
888 sei)
889 basic_machine=mips-sei
890 os=-seiux
891 ;;
831 sequent) 892 sequent)
832 basic_machine=i386-sequent 893 basic_machine=i386-sequent
833 ;; 894 ;;
@@ -835,6 +896,9 @@ case $basic_machine in
835 basic_machine=sh-hitachi 896 basic_machine=sh-hitachi
836 os=-hms 897 os=-hms
837 ;; 898 ;;
899 sh64)
900 basic_machine=sh64-unknown
901 ;;
838 sparclite-wrs | simso-wrs) 902 sparclite-wrs | simso-wrs)
839 basic_machine=sparclite-wrs 903 basic_machine=sparclite-wrs
840 os=-vxworks 904 os=-vxworks
@@ -901,10 +965,6 @@ case $basic_machine in
901 basic_machine=i386-sequent 965 basic_machine=i386-sequent
902 os=-dynix 966 os=-dynix
903 ;; 967 ;;
904 t3d)
905 basic_machine=alpha-cray
906 os=-unicos
907 ;;
908 t3e) 968 t3e)
909 basic_machine=alphaev5-cray 969 basic_machine=alphaev5-cray
910 os=-unicos 970 os=-unicos
@@ -913,14 +973,18 @@ case $basic_machine in
913 basic_machine=t90-cray 973 basic_machine=t90-cray
914 os=-unicos 974 os=-unicos
915 ;; 975 ;;
916 tic4x | c4x*)
917 basic_machine=tic4x-unknown
918 os=-coff
919 ;;
920 tic54x | c54x*) 976 tic54x | c54x*)
921 basic_machine=tic54x-unknown 977 basic_machine=tic54x-unknown
922 os=-coff 978 os=-coff
923 ;; 979 ;;
980 tic55x | c55x*)
981 basic_machine=tic55x-unknown
982 os=-coff
983 ;;
984 tic6x | c6x*)
985 basic_machine=tic6x-unknown
986 os=-coff
987 ;;
924 tx39) 988 tx39)
925 basic_machine=mipstx39-unknown 989 basic_machine=mipstx39-unknown
926 ;; 990 ;;
@@ -934,6 +998,10 @@ case $basic_machine in
934 tower | tower-32) 998 tower | tower-32)
935 basic_machine=m68k-ncr 999 basic_machine=m68k-ncr
936 ;; 1000 ;;
1001 tpf)
1002 basic_machine=s390x-ibm
1003 os=-tpf
1004 ;;
937 udi29k) 1005 udi29k)
938 basic_machine=a29k-amd 1006 basic_machine=a29k-amd
939 os=-udi 1007 os=-udi
@@ -977,6 +1045,10 @@ case $basic_machine in
977 basic_machine=hppa1.1-winbond 1045 basic_machine=hppa1.1-winbond
978 os=-proelf 1046 os=-proelf
979 ;; 1047 ;;
1048 xbox)
1049 basic_machine=i686-pc
1050 os=-mingw32
1051 ;;
980 xps | xps100) 1052 xps | xps100)
981 basic_machine=xps100-honeywell 1053 basic_machine=xps100-honeywell
982 ;; 1054 ;;
@@ -1007,6 +1079,9 @@ case $basic_machine in
1007 romp) 1079 romp)
1008 basic_machine=romp-ibm 1080 basic_machine=romp-ibm
1009 ;; 1081 ;;
1082 mmix)
1083 basic_machine=mmix-knuth
1084 ;;
1010 rs6000) 1085 rs6000)
1011 basic_machine=rs6000-ibm 1086 basic_machine=rs6000-ibm
1012 ;; 1087 ;;
@@ -1023,13 +1098,10 @@ case $basic_machine in
1023 we32k) 1098 we32k)
1024 basic_machine=we32k-att 1099 basic_machine=we32k-att
1025 ;; 1100 ;;
1026 sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) 1101 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1027 basic_machine=sh-unknown 1102 basic_machine=sh-unknown
1028 ;; 1103 ;;
1029 sh64) 1104 sparc | sparcv8 | sparcv9 | sparcv9b)
1030 basic_machine=sh64-unknown
1031 ;;
1032 sparc | sparcv9 | sparcv9b)
1033 basic_machine=sparc-sun 1105 basic_machine=sparc-sun
1034 ;; 1106 ;;
1035 cydra) 1107 cydra)
@@ -1102,19 +1174,21 @@ case $os in
1102 | -aos* \ 1174 | -aos* \
1103 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1175 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1104 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1176 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1105 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ 1177 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1106 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1178 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1179 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1107 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1180 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1108 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1181 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1109 | -chorusos* | -chorusrdb* \ 1182 | -chorusos* | -chorusrdb* \
1110 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1183 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1111 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 1184 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1112 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1185 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1113 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1186 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1114 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1187 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1115 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1188 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1116 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1189 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1117 | -powermax* | -dnix*) 1190 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1191 | -skyos* | -haiku*)
1118 # Remember, each alternative MUST END IN *, to match a version number. 1192 # Remember, each alternative MUST END IN *, to match a version number.
1119 ;; 1193 ;;
1120 -qnx*) 1194 -qnx*)
@@ -1126,16 +1200,21 @@ case $os in
1126 ;; 1200 ;;
1127 esac 1201 esac
1128 ;; 1202 ;;
1203 -nto-qnx*)
1204 ;;
1129 -nto*) 1205 -nto*)
1130 os=-nto-qnx 1206 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1131 ;; 1207 ;;
1132 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ 1208 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1133 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ 1209 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1134 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) 1210 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1135 ;; 1211 ;;
1136 -mac*) 1212 -mac*)
1137 os=`echo $os | sed -e 's|mac|macos|'` 1213 os=`echo $os | sed -e 's|mac|macos|'`
1138 ;; 1214 ;;
1215 -linux-dietlibc)
1216 os=-linux-dietlibc
1217 ;;
1139 -linux*) 1218 -linux*)
1140 os=`echo $os | sed -e 's|linux|linux-gnu|'` 1219 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1141 ;; 1220 ;;
@@ -1148,6 +1227,9 @@ case $os in
1148 -opened*) 1227 -opened*)
1149 os=-openedition 1228 os=-openedition
1150 ;; 1229 ;;
1230 -os400*)
1231 os=-os400
1232 ;;
1151 -wince*) 1233 -wince*)
1152 os=-wince 1234 os=-wince
1153 ;; 1235 ;;
@@ -1169,6 +1251,9 @@ case $os in
1169 -atheos*) 1251 -atheos*)
1170 os=-atheos 1252 os=-atheos
1171 ;; 1253 ;;
1254 -syllable*)
1255 os=-syllable
1256 ;;
1172 -386bsd) 1257 -386bsd)
1173 os=-bsd 1258 os=-bsd
1174 ;; 1259 ;;
@@ -1191,6 +1276,9 @@ case $os in
1191 -sinix*) 1276 -sinix*)
1192 os=-sysv4 1277 os=-sysv4
1193 ;; 1278 ;;
1279 -tpf*)
1280 os=-tpf
1281 ;;
1194 -triton*) 1282 -triton*)
1195 os=-sysv3 1283 os=-sysv3
1196 ;; 1284 ;;
@@ -1221,6 +1309,15 @@ case $os in
1221 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1309 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1222 os=-mint 1310 os=-mint
1223 ;; 1311 ;;
1312 -aros*)
1313 os=-aros
1314 ;;
1315 -kaos*)
1316 os=-kaos
1317 ;;
1318 -zvmoe)
1319 os=-zvmoe
1320 ;;
1224 -none) 1321 -none)
1225 ;; 1322 ;;
1226 *) 1323 *)
@@ -1252,6 +1349,9 @@ case $basic_machine in
1252 arm*-semi) 1349 arm*-semi)
1253 os=-aout 1350 os=-aout
1254 ;; 1351 ;;
1352 c4x-* | tic4x-*)
1353 os=-coff
1354 ;;
1255 # This must come before the *-dec entry. 1355 # This must come before the *-dec entry.
1256 pdp10-*) 1356 pdp10-*)
1257 os=-tops20 1357 os=-tops20
@@ -1295,9 +1395,15 @@ case $basic_machine in
1295 *-be) 1395 *-be)
1296 os=-beos 1396 os=-beos
1297 ;; 1397 ;;
1398 *-haiku)
1399 os=-haiku
1400 ;;
1298 *-ibm) 1401 *-ibm)
1299 os=-aix 1402 os=-aix
1300 ;; 1403 ;;
1404 *-knuth)
1405 os=-mmixware
1406 ;;
1301 *-wec) 1407 *-wec)
1302 os=-proelf 1408 os=-proelf
1303 ;; 1409 ;;
@@ -1430,9 +1536,15 @@ case $basic_machine in
1430 -mvs* | -opened*) 1536 -mvs* | -opened*)
1431 vendor=ibm 1537 vendor=ibm
1432 ;; 1538 ;;
1539 -os400*)
1540 vendor=ibm
1541 ;;
1433 -ptx*) 1542 -ptx*)
1434 vendor=sequent 1543 vendor=sequent
1435 ;; 1544 ;;
1545 -tpf*)
1546 vendor=ibm
1547 ;;
1436 -vxsim* | -vxworks* | -windiss*) 1548 -vxsim* | -vxworks* | -windiss*)
1437 vendor=wrs 1549 vendor=wrs
1438 ;; 1550 ;;
@@ -1457,7 +1569,7 @@ case $basic_machine in
1457esac 1569esac
1458 1570
1459echo $basic_machine$os 1571echo $basic_machine$os
1460exit 0 1572exit
1461 1573
1462# Local variables: 1574# Local variables:
1463# eval: (add-hook 'write-file-hooks 'time-stamp) 1575# eval: (add-hook 'write-file-hooks 'time-stamp)
diff --git a/configure b/configure
index f16082beff3..a7a013c9ada 100755
--- a/configure
+++ b/configure
@@ -988,7 +988,7 @@ esac
988 else 988 else
989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
990 fi 990 fi
991 cd "$ac_popdir" 991 cd $ac_popdir
992 done 992 done
993fi 993fi
994 994
@@ -1764,6 +1764,15 @@ _ACEOF
1764 esac 1764 esac
1765 ;; 1765 ;;
1766 1766
1767 ## LynxOS ports
1768 *-*-lynxos* )
1769 opsys=lynxos
1770 case "${canonical}" in
1771 i[3456]86-*-lynxos*) machine=intel386 ;;
1772 powerpc-*-lynxos*) machine=powerpc ;;
1773 esac
1774 ;;
1775
1767 ## Acorn RISCiX: 1776 ## Acorn RISCiX:
1768 arm-acorn-riscix1.1* ) 1777 arm-acorn-riscix1.1* )
1769 machine=acorn opsys=riscix1-1 1778 machine=acorn opsys=riscix1-1
@@ -2565,7 +2574,6 @@ _ACEOF
2565 *-darwin ) opsys=darwin 2574 *-darwin ) opsys=darwin
2566 CPP="${CC-cc} -E -no-cpp-precomp" 2575 CPP="${CC-cc} -E -no-cpp-precomp"
2567 ;; 2576 ;;
2568 *-lynxos* ) opsys=lynxos ;;
2569 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; 2577 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
2570 *-isc2.2* ) opsys=isc2-2 ;; 2578 *-isc2.2* ) opsys=isc2-2 ;;
2571 *-isc4.0* ) opsys=isc4-0 ;; 2579 *-isc4.0* ) opsys=isc4-0 ;;
@@ -3270,7 +3278,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3270 cat conftest.err >&5 3278 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } && 3280 (exit $ac_status); } &&
3273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3281 { ac_try='test -z "$ac_c_werror_flag"
3282 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5 3284 (eval $ac_try) 2>&5
3276 ac_status=$? 3285 ac_status=$?
@@ -3328,7 +3337,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3328 cat conftest.err >&5 3337 cat conftest.err >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } && 3339 (exit $ac_status); } &&
3331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3340 { ac_try='test -z "$ac_c_werror_flag"
3341 || test ! -s conftest.err'
3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333 (eval $ac_try) 2>&5 3343 (eval $ac_try) 2>&5
3334 ac_status=$? 3344 ac_status=$?
@@ -3444,7 +3454,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3444 cat conftest.err >&5 3454 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } && 3456 (exit $ac_status); } &&
3447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3457 { ac_try='test -z "$ac_c_werror_flag"
3458 || test ! -s conftest.err'
3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449 (eval $ac_try) 2>&5 3460 (eval $ac_try) 2>&5
3450 ac_status=$? 3461 ac_status=$?
@@ -3498,7 +3509,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3498 cat conftest.err >&5 3509 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } && 3511 (exit $ac_status); } &&
3501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3512 { ac_try='test -z "$ac_c_werror_flag"
3513 || test ! -s conftest.err'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 (eval $ac_try) 2>&5 3515 (eval $ac_try) 2>&5
3504 ac_status=$? 3516 ac_status=$?
@@ -3543,7 +3555,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3543 cat conftest.err >&5 3555 cat conftest.err >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } && 3557 (exit $ac_status); } &&
3546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3558 { ac_try='test -z "$ac_c_werror_flag"
3559 || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 (eval $ac_try) 2>&5 3561 (eval $ac_try) 2>&5
3549 ac_status=$? 3562 ac_status=$?
@@ -3587,7 +3600,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3587 cat conftest.err >&5 3600 cat conftest.err >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); } && 3602 (exit $ac_status); } &&
3590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3603 { ac_try='test -z "$ac_c_werror_flag"
3604 || test ! -s conftest.err'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3592 (eval $ac_try) 2>&5 3606 (eval $ac_try) 2>&5
3593 ac_status=$? 3607 ac_status=$?
@@ -4220,7 +4234,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4220 cat conftest.err >&5 4234 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && 4236 (exit $ac_status); } &&
4223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4237 { ac_try='test -z "$ac_c_werror_flag"
4238 || test ! -s conftest.err'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4225 (eval $ac_try) 2>&5 4240 (eval $ac_try) 2>&5
4226 ac_status=$? 4241 ac_status=$?
@@ -4496,7 +4511,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4496 cat conftest.err >&5 4511 cat conftest.err >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } && 4513 (exit $ac_status); } &&
4499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4514 { ac_try='test -z "$ac_c_werror_flag"
4515 || test ! -s conftest.err'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 (eval $ac_try) 2>&5 4517 (eval $ac_try) 2>&5
4502 ac_status=$? 4518 ac_status=$?
@@ -4525,7 +4541,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4525 cat conftest.err >&5 4541 cat conftest.err >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && 4543 (exit $ac_status); } &&
4528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4544 { ac_try='test -z "$ac_c_werror_flag"
4545 || test ! -s conftest.err'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 (eval $ac_try) 2>&5 4547 (eval $ac_try) 2>&5
4531 ac_status=$? 4548 ac_status=$?
@@ -4595,7 +4612,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4595 cat conftest.err >&5 4612 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && 4614 (exit $ac_status); } &&
4598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4615 { ac_try='test -z "$ac_c_werror_flag"
4616 || test ! -s conftest.err'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 (eval $ac_try) 2>&5 4618 (eval $ac_try) 2>&5
4601 ac_status=$? 4619 ac_status=$?
@@ -4647,7 +4665,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647 cat conftest.err >&5 4665 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } && 4667 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4668 { ac_try='test -z "$ac_c_werror_flag"
4669 || test ! -s conftest.err'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 (eval $ac_try) 2>&5 4671 (eval $ac_try) 2>&5
4653 ac_status=$? 4672 ac_status=$?
@@ -4718,7 +4737,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4718 cat conftest.err >&5 4737 cat conftest.err >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } && 4739 (exit $ac_status); } &&
4721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4740 { ac_try='test -z "$ac_c_werror_flag"
4741 || test ! -s conftest.err'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 (eval $ac_try) 2>&5 4743 (eval $ac_try) 2>&5
4724 ac_status=$? 4744 ac_status=$?
@@ -4770,7 +4790,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4770 cat conftest.err >&5 4790 cat conftest.err >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } && 4792 (exit $ac_status); } &&
4773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4793 { ac_try='test -z "$ac_c_werror_flag"
4794 || test ! -s conftest.err'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 (eval $ac_try) 2>&5 4796 (eval $ac_try) 2>&5
4776 ac_status=$? 4797 ac_status=$?
@@ -4840,7 +4861,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4840 cat conftest.err >&5 4861 cat conftest.err >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } && 4863 (exit $ac_status); } &&
4843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4864 { ac_try='test -z "$ac_c_werror_flag"
4865 || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 (eval $ac_try) 2>&5 4867 (eval $ac_try) 2>&5
4846 ac_status=$? 4868 ac_status=$?
@@ -5010,7 +5032,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5010 cat conftest.err >&5 5032 cat conftest.err >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } && 5034 (exit $ac_status); } &&
5013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5035 { ac_try='test -z "$ac_c_werror_flag"
5036 || test ! -s conftest.err'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 (eval $ac_try) 2>&5 5038 (eval $ac_try) 2>&5
5016 ac_status=$? 5039 ac_status=$?
@@ -5079,7 +5102,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5079 cat conftest.err >&5 5102 cat conftest.err >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } && 5104 (exit $ac_status); } &&
5082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5105 { ac_try='test -z "$ac_c_werror_flag"
5106 || test ! -s conftest.err'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 (eval $ac_try) 2>&5 5108 (eval $ac_try) 2>&5
5085 ac_status=$? 5109 ac_status=$?
@@ -5233,7 +5257,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5233 cat conftest.err >&5 5257 cat conftest.err >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } && 5259 (exit $ac_status); } &&
5236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5260 { ac_try='test -z "$ac_c_werror_flag"
5261 || test ! -s conftest.err'
5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5238 (eval $ac_try) 2>&5 5263 (eval $ac_try) 2>&5
5239 ac_status=$? 5264 ac_status=$?
@@ -5329,7 +5354,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5329 cat conftest.err >&5 5354 cat conftest.err >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); } && 5356 (exit $ac_status); } &&
5332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5357 { ac_try='test -z "$ac_c_werror_flag"
5358 || test ! -s conftest.err'
5333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 (eval $ac_try) 2>&5 5360 (eval $ac_try) 2>&5
5335 ac_status=$? 5361 ac_status=$?
@@ -5471,7 +5497,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5471 cat conftest.err >&5 5497 cat conftest.err >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } && 5499 (exit $ac_status); } &&
5474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5500 { ac_try='test -z "$ac_c_werror_flag"
5501 || test ! -s conftest.err'
5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5476 (eval $ac_try) 2>&5 5503 (eval $ac_try) 2>&5
5477 ac_status=$? 5504 ac_status=$?
@@ -5590,7 +5617,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5590 cat conftest.err >&5 5617 cat conftest.err >&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } && 5619 (exit $ac_status); } &&
5593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5620 { ac_try='test -z "$ac_c_werror_flag"
5621 || test ! -s conftest.err'
5594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5595 (eval $ac_try) 2>&5 5623 (eval $ac_try) 2>&5
5596 ac_status=$? 5624 ac_status=$?
@@ -5755,7 +5783,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5755 cat conftest.err >&5 5783 cat conftest.err >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } && 5785 (exit $ac_status); } &&
5758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5786 { ac_try='test -z "$ac_c_werror_flag"
5787 || test ! -s conftest.err'
5759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5760 (eval $ac_try) 2>&5 5789 (eval $ac_try) 2>&5
5761 ac_status=$? 5790 ac_status=$?
@@ -5818,7 +5847,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5818 cat conftest.err >&5 5847 cat conftest.err >&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } && 5849 (exit $ac_status); } &&
5821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5850 { ac_try='test -z "$ac_c_werror_flag"
5851 || test ! -s conftest.err'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5823 (eval $ac_try) 2>&5 5853 (eval $ac_try) 2>&5
5824 ac_status=$? 5854 ac_status=$?
@@ -5891,7 +5921,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5891 cat conftest.err >&5 5921 cat conftest.err >&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } && 5923 (exit $ac_status); } &&
5894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5924 { ac_try='test -z "$ac_c_werror_flag"
5925 || test ! -s conftest.err'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5896 (eval $ac_try) 2>&5 5927 (eval $ac_try) 2>&5
5897 ac_status=$? 5928 ac_status=$?
@@ -5977,7 +6008,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5977 cat conftest.err >&5 6008 cat conftest.err >&5
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); } && 6010 (exit $ac_status); } &&
5980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6011 { ac_try='test -z "$ac_c_werror_flag"
6012 || test ! -s conftest.err'
5981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5982 (eval $ac_try) 2>&5 6014 (eval $ac_try) 2>&5
5983 ac_status=$? 6015 ac_status=$?
@@ -6050,7 +6082,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6050 cat conftest.err >&5 6082 cat conftest.err >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } && 6084 (exit $ac_status); } &&
6053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6085 { ac_try='test -z "$ac_c_werror_flag"
6086 || test ! -s conftest.err'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6055 (eval $ac_try) 2>&5 6088 (eval $ac_try) 2>&5
6056 ac_status=$? 6089 ac_status=$?
@@ -6120,7 +6153,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6120 cat conftest.err >&5 6153 cat conftest.err >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } && 6155 (exit $ac_status); } &&
6123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6156 { ac_try='test -z "$ac_c_werror_flag"
6157 || test ! -s conftest.err'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 (eval $ac_try) 2>&5 6159 (eval $ac_try) 2>&5
6126 ac_status=$? 6160 ac_status=$?
@@ -6179,7 +6213,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179 cat conftest.err >&5 6213 cat conftest.err >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); } && 6215 (exit $ac_status); } &&
6182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6216 { ac_try='test -z "$ac_c_werror_flag"
6217 || test ! -s conftest.err'
6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 (eval $ac_try) 2>&5 6219 (eval $ac_try) 2>&5
6185 ac_status=$? 6220 ac_status=$?
@@ -6248,7 +6283,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6248 cat conftest.err >&5 6283 cat conftest.err >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } && 6285 (exit $ac_status); } &&
6251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6286 { ac_try='test -z "$ac_c_werror_flag"
6287 || test ! -s conftest.err'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 (eval $ac_try) 2>&5 6289 (eval $ac_try) 2>&5
6254 ac_status=$? 6290 ac_status=$?
@@ -6309,7 +6345,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6309 cat conftest.err >&5 6345 cat conftest.err >&5
6310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311 (exit $ac_status); } && 6347 (exit $ac_status); } &&
6312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6348 { ac_try='test -z "$ac_c_werror_flag"
6349 || test ! -s conftest.err'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6314 (eval $ac_try) 2>&5 6351 (eval $ac_try) 2>&5
6315 ac_status=$? 6352 ac_status=$?
@@ -6375,7 +6412,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6375 cat conftest.err >&5 6412 cat conftest.err >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } && 6414 (exit $ac_status); } &&
6378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6415 { ac_try='test -z "$ac_c_werror_flag"
6416 || test ! -s conftest.err'
6379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 (eval $ac_try) 2>&5 6418 (eval $ac_try) 2>&5
6381 ac_status=$? 6419 ac_status=$?
@@ -6521,7 +6559,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6521 cat conftest.err >&5 6559 cat conftest.err >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); } && 6561 (exit $ac_status); } &&
6524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6562 { ac_try='test -z "$ac_c_werror_flag"
6563 || test ! -s conftest.err'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 (eval $ac_try) 2>&5 6565 (eval $ac_try) 2>&5
6527 ac_status=$? 6566 ac_status=$?
@@ -6585,7 +6624,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6585 cat conftest.err >&5 6624 cat conftest.err >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } && 6626 (exit $ac_status); } &&
6588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6627 { ac_try='test -z "$ac_c_werror_flag"
6628 || test ! -s conftest.err'
6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6590 (eval $ac_try) 2>&5 6630 (eval $ac_try) 2>&5
6591 ac_status=$? 6631 ac_status=$?
@@ -6650,7 +6690,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6650 cat conftest.err >&5 6690 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } && 6692 (exit $ac_status); } &&
6653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6693 { ac_try='test -z "$ac_c_werror_flag"
6694 || test ! -s conftest.err'
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6655 (eval $ac_try) 2>&5 6696 (eval $ac_try) 2>&5
6656 ac_status=$? 6697 ac_status=$?
@@ -6696,7 +6737,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6696 cat conftest.err >&5 6737 cat conftest.err >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); } && 6739 (exit $ac_status); } &&
6699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6740 { ac_try='test -z "$ac_c_werror_flag"
6741 || test ! -s conftest.err'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 (eval $ac_try) 2>&5 6743 (eval $ac_try) 2>&5
6702 ac_status=$? 6744 ac_status=$?
@@ -6770,7 +6812,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6770 cat conftest.err >&5 6812 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && 6814 (exit $ac_status); } &&
6773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6815 { ac_try='test -z "$ac_c_werror_flag"
6816 || test ! -s conftest.err'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6775 (eval $ac_try) 2>&5 6818 (eval $ac_try) 2>&5
6776 ac_status=$? 6819 ac_status=$?
@@ -6835,7 +6878,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 cat conftest.err >&5 6878 cat conftest.err >&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); } && 6880 (exit $ac_status); } &&
6838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6881 { ac_try='test -z "$ac_c_werror_flag"
6882 || test ! -s conftest.err'
6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 (eval $ac_try) 2>&5 6884 (eval $ac_try) 2>&5
6841 ac_status=$? 6885 ac_status=$?
@@ -6879,7 +6923,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6879 cat conftest.err >&5 6923 cat conftest.err >&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } && 6925 (exit $ac_status); } &&
6882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6926 { ac_try='test -z "$ac_c_werror_flag"
6927 || test ! -s conftest.err'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 (eval $ac_try) 2>&5 6929 (eval $ac_try) 2>&5
6885 ac_status=$? 6930 ac_status=$?
@@ -6950,7 +6995,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6950 cat conftest.err >&5 6995 cat conftest.err >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } && 6997 (exit $ac_status); } &&
6953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6998 { ac_try='test -z "$ac_c_werror_flag"
6999 || test ! -s conftest.err'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 (eval $ac_try) 2>&5 7001 (eval $ac_try) 2>&5
6956 ac_status=$? 7002 ac_status=$?
@@ -7000,7 +7046,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7000 cat conftest.err >&5 7046 cat conftest.err >&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); } && 7048 (exit $ac_status); } &&
7003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7049 { ac_try='test -z "$ac_c_werror_flag"
7050 || test ! -s conftest.err'
7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7005 (eval $ac_try) 2>&5 7052 (eval $ac_try) 2>&5
7006 ac_status=$? 7053 ac_status=$?
@@ -7071,7 +7118,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7071 cat conftest.err >&5 7118 cat conftest.err >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } && 7120 (exit $ac_status); } &&
7074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7121 { ac_try='test -z "$ac_c_werror_flag"
7122 || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 (eval $ac_try) 2>&5 7124 (eval $ac_try) 2>&5
7077 ac_status=$? 7125 ac_status=$?
@@ -7121,7 +7169,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7121 cat conftest.err >&5 7169 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && 7171 (exit $ac_status); } &&
7124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7172 { ac_try='test -z "$ac_c_werror_flag"
7173 || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 (eval $ac_try) 2>&5 7175 (eval $ac_try) 2>&5
7127 ac_status=$? 7176 ac_status=$?
@@ -7192,7 +7241,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7192 cat conftest.err >&5 7241 cat conftest.err >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } && 7243 (exit $ac_status); } &&
7195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7244 { ac_try='test -z "$ac_c_werror_flag"
7245 || test ! -s conftest.err'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7197 (eval $ac_try) 2>&5 7247 (eval $ac_try) 2>&5
7198 ac_status=$? 7248 ac_status=$?
@@ -7242,7 +7292,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7242 cat conftest.err >&5 7292 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } && 7294 (exit $ac_status); } &&
7245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7295 { ac_try='test -z "$ac_c_werror_flag"
7296 || test ! -s conftest.err'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7247 (eval $ac_try) 2>&5 7298 (eval $ac_try) 2>&5
7248 ac_status=$? 7299 ac_status=$?
@@ -7313,7 +7364,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7313 cat conftest.err >&5 7364 cat conftest.err >&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } && 7366 (exit $ac_status); } &&
7316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7367 { ac_try='test -z "$ac_c_werror_flag"
7368 || test ! -s conftest.err'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7318 (eval $ac_try) 2>&5 7370 (eval $ac_try) 2>&5
7319 ac_status=$? 7371 ac_status=$?
@@ -7363,7 +7415,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7363 cat conftest.err >&5 7415 cat conftest.err >&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } && 7417 (exit $ac_status); } &&
7366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7418 { ac_try='test -z "$ac_c_werror_flag"
7419 || test ! -s conftest.err'
7367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 (eval $ac_try) 2>&5 7421 (eval $ac_try) 2>&5
7369 ac_status=$? 7422 ac_status=$?
@@ -7434,7 +7487,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7434 cat conftest.err >&5 7487 cat conftest.err >&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } && 7489 (exit $ac_status); } &&
7437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7490 { ac_try='test -z "$ac_c_werror_flag"
7491 || test ! -s conftest.err'
7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 (eval $ac_try) 2>&5 7493 (eval $ac_try) 2>&5
7440 ac_status=$? 7494 ac_status=$?
@@ -7484,7 +7538,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7484 cat conftest.err >&5 7538 cat conftest.err >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } && 7540 (exit $ac_status); } &&
7487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7541 { ac_try='test -z "$ac_c_werror_flag"
7542 || test ! -s conftest.err'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489 (eval $ac_try) 2>&5 7544 (eval $ac_try) 2>&5
7490 ac_status=$? 7545 ac_status=$?
@@ -7571,7 +7626,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7571 cat conftest.err >&5 7626 cat conftest.err >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } && 7628 (exit $ac_status); } &&
7574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7629 { ac_try='test -z "$ac_c_werror_flag"
7630 || test ! -s conftest.err'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 (eval $ac_try) 2>&5 7632 (eval $ac_try) 2>&5
7577 ac_status=$? 7633 ac_status=$?
@@ -7677,7 +7733,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7677 cat conftest.err >&5 7733 cat conftest.err >&5
7678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7679 (exit $ac_status); } && 7735 (exit $ac_status); } &&
7680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7736 { ac_try='test -z "$ac_c_werror_flag"
7737 || test ! -s conftest.err'
7681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 (eval $ac_try) 2>&5 7739 (eval $ac_try) 2>&5
7683 ac_status=$? 7740 ac_status=$?
@@ -7737,7 +7794,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7737 cat conftest.err >&5 7794 cat conftest.err >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); } && 7796 (exit $ac_status); } &&
7740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7797 { ac_try='test -z "$ac_c_werror_flag"
7798 || test ! -s conftest.err'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7742 (eval $ac_try) 2>&5 7800 (eval $ac_try) 2>&5
7743 ac_status=$? 7801 ac_status=$?
@@ -7861,7 +7919,6 @@ fi
7861echo "$as_me:$LINENO: checking for X" >&5 7919echo "$as_me:$LINENO: checking for X" >&5
7862echo $ECHO_N "checking for X... $ECHO_C" >&6 7920echo $ECHO_N "checking for X... $ECHO_C" >&6
7863 7921
7864ac_path_x_has_been_run=yes
7865 7922
7866# Check whether --with-x or --without-x was given. 7923# Check whether --with-x or --without-x was given.
7867if test "${with_x+set}" = set; then 7924if test "${with_x+set}" = set; then
@@ -7954,7 +8011,7 @@ ac_x_header_dirs='
7954/usr/openwin/share/include' 8011/usr/openwin/share/include'
7955 8012
7956if test "$ac_x_includes" = no; then 8013if test "$ac_x_includes" = no; then
7957 # Guess where to find include files, by looking for a specified header file. 8014 # Guess where to find include files, by looking for Intrinsic.h.
7958 # First, try using that file with no special directory specified. 8015 # First, try using that file with no special directory specified.
7959 cat >conftest.$ac_ext <<_ACEOF 8016 cat >conftest.$ac_ext <<_ACEOF
7960/* confdefs.h. */ 8017/* confdefs.h. */
@@ -8028,7 +8085,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8028 cat conftest.err >&5 8085 cat conftest.err >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } && 8087 (exit $ac_status); } &&
8031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8088 { ac_try='test -z "$ac_c_werror_flag"
8089 || test ! -s conftest.err'
8032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033 (eval $ac_try) 2>&5 8091 (eval $ac_try) 2>&5
8034 ac_status=$? 8092 ac_status=$?
@@ -8088,12 +8146,8 @@ else
8088 # Update the cache value to reflect the command line values. 8146 # Update the cache value to reflect the command line values.
8089 ac_cv_have_x="have_x=yes \ 8147 ac_cv_have_x="have_x=yes \
8090 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 8148 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8091 # It might be that x_includes is empty (headers are found in the 8149 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8092 # standard search path. Then output the corresponding message 8150echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8093 ac_out_x_includes=$x_includes
8094 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
8095 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
8096echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
8097fi 8151fi
8098 8152
8099if test "$no_x" = yes; then 8153if test "$no_x" = yes; then
@@ -8218,7 +8272,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8218 cat conftest.err >&5 8272 cat conftest.err >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } && 8274 (exit $ac_status); } &&
8221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8275 { ac_try='test -z "$ac_c_werror_flag"
8276 || test ! -s conftest.err'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8223 (eval $ac_try) 2>&5 8278 (eval $ac_try) 2>&5
8224 ac_status=$? 8279 ac_status=$?
@@ -8404,7 +8459,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8404 cat conftest.err >&5 8459 cat conftest.err >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); } && 8461 (exit $ac_status); } &&
8407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8462 { ac_try='test -z "$ac_c_werror_flag"
8463 || test ! -s conftest.err'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 (eval $ac_try) 2>&5 8465 (eval $ac_try) 2>&5
8410 ac_status=$? 8466 ac_status=$?
@@ -8499,7 +8555,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8499 cat conftest.err >&5 8555 cat conftest.err >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); } && 8557 (exit $ac_status); } &&
8502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8558 { ac_try='test -z "$ac_c_werror_flag"
8559 || test ! -s conftest.err'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8504 (eval $ac_try) 2>&5 8561 (eval $ac_try) 2>&5
8505 ac_status=$? 8562 ac_status=$?
@@ -8558,7 +8615,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8558 cat conftest.err >&5 8615 cat conftest.err >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); } && 8617 (exit $ac_status); } &&
8561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8618 { ac_try='test -z "$ac_c_werror_flag"
8619 || test ! -s conftest.err'
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 (eval $ac_try) 2>&5 8621 (eval $ac_try) 2>&5
8564 ac_status=$? 8622 ac_status=$?
@@ -8642,7 +8700,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8642 cat conftest.err >&5 8700 cat conftest.err >&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); } && 8702 (exit $ac_status); } &&
8645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8703 { ac_try='test -z "$ac_c_werror_flag"
8704 || test ! -s conftest.err'
8646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8647 (eval $ac_try) 2>&5 8706 (eval $ac_try) 2>&5
8648 ac_status=$? 8707 ac_status=$?
@@ -8826,7 +8885,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8826 cat conftest.err >&5 8885 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); } && 8887 (exit $ac_status); } &&
8829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8888 { ac_try='test -z "$ac_c_werror_flag"
8889 || test ! -s conftest.err'
8830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831 (eval $ac_try) 2>&5 8891 (eval $ac_try) 2>&5
8832 ac_status=$? 8892 ac_status=$?
@@ -9078,7 +9138,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9078 cat conftest.err >&5 9138 cat conftest.err >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } && 9140 (exit $ac_status); } &&
9081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9141 { ac_try='test -z "$ac_c_werror_flag"
9142 || test ! -s conftest.err'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5 9144 (eval $ac_try) 2>&5
9084 ac_status=$? 9145 ac_status=$?
@@ -9145,7 +9206,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9145 cat conftest.err >&5 9206 cat conftest.err >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } && 9208 (exit $ac_status); } &&
9148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9209 { ac_try='test -z "$ac_c_werror_flag"
9210 || test ! -s conftest.err'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 (eval $ac_try) 2>&5 9212 (eval $ac_try) 2>&5
9151 ac_status=$? 9213 ac_status=$?
@@ -9214,7 +9276,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9214 cat conftest.err >&5 9276 cat conftest.err >&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } && 9278 (exit $ac_status); } &&
9217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9279 { ac_try='test -z "$ac_c_werror_flag"
9280 || test ! -s conftest.err'
9218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 (eval $ac_try) 2>&5 9282 (eval $ac_try) 2>&5
9220 ac_status=$? 9283 ac_status=$?
@@ -9299,7 +9362,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9299 cat conftest.err >&5 9362 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } && 9364 (exit $ac_status); } &&
9302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9365 { ac_try='test -z "$ac_c_werror_flag"
9366 || test ! -s conftest.err'
9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9304 (eval $ac_try) 2>&5 9368 (eval $ac_try) 2>&5
9305 ac_status=$? 9369 ac_status=$?
@@ -9376,7 +9440,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9376 cat conftest.err >&5 9440 cat conftest.err >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && 9442 (exit $ac_status); } &&
9379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9443 { ac_try='test -z "$ac_c_werror_flag"
9444 || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 (eval $ac_try) 2>&5 9446 (eval $ac_try) 2>&5
9382 ac_status=$? 9447 ac_status=$?
@@ -9430,7 +9495,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9430 cat conftest.err >&5 9495 cat conftest.err >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } && 9497 (exit $ac_status); } &&
9433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9498 { ac_try='test -z "$ac_c_werror_flag"
9499 || test ! -s conftest.err'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9435 (eval $ac_try) 2>&5 9501 (eval $ac_try) 2>&5
9436 ac_status=$? 9502 ac_status=$?
@@ -9499,7 +9565,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9499 cat conftest.err >&5 9565 cat conftest.err >&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); } && 9567 (exit $ac_status); } &&
9502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9568 { ac_try='test -z "$ac_c_werror_flag"
9569 || test ! -s conftest.err'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 (eval $ac_try) 2>&5 9571 (eval $ac_try) 2>&5
9505 ac_status=$? 9572 ac_status=$?
@@ -9603,7 +9670,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9603 cat conftest.err >&5 9670 cat conftest.err >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } && 9672 (exit $ac_status); } &&
9606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9673 { ac_try='test -z "$ac_c_werror_flag"
9674 || test ! -s conftest.err'
9607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 (eval $ac_try) 2>&5 9676 (eval $ac_try) 2>&5
9609 ac_status=$? 9677 ac_status=$?
@@ -9670,7 +9738,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9670 cat conftest.err >&5 9738 cat conftest.err >&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); } && 9740 (exit $ac_status); } &&
9673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9741 { ac_try='test -z "$ac_c_werror_flag"
9742 || test ! -s conftest.err'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9675 (eval $ac_try) 2>&5 9744 (eval $ac_try) 2>&5
9676 ac_status=$? 9745 ac_status=$?
@@ -9740,7 +9809,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9740 cat conftest.err >&5 9809 cat conftest.err >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); } && 9811 (exit $ac_status); } &&
9743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9812 { ac_try='test -z "$ac_c_werror_flag"
9813 || test ! -s conftest.err'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9745 (eval $ac_try) 2>&5 9815 (eval $ac_try) 2>&5
9746 ac_status=$? 9816 ac_status=$?
@@ -9980,7 +10050,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9980 cat conftest.err >&5 10050 cat conftest.err >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } && 10052 (exit $ac_status); } &&
9983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10053 { ac_try='test -z "$ac_c_werror_flag"
10054 || test ! -s conftest.err'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985 (eval $ac_try) 2>&5 10056 (eval $ac_try) 2>&5
9986 ac_status=$? 10057 ac_status=$?
@@ -10089,7 +10160,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10089 cat conftest.err >&5 10160 cat conftest.err >&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } && 10162 (exit $ac_status); } &&
10092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10163 { ac_try='test -z "$ac_c_werror_flag"
10164 || test ! -s conftest.err'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5 10166 (eval $ac_try) 2>&5
10095 ac_status=$? 10167 ac_status=$?
@@ -10192,7 +10264,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10192 cat conftest.err >&5 10264 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } && 10266 (exit $ac_status); } &&
10195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10267 { ac_try='test -z "$ac_c_werror_flag"
10268 || test ! -s conftest.err'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5 10270 (eval $ac_try) 2>&5
10198 ac_status=$? 10271 ac_status=$?
@@ -10270,7 +10343,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10270 cat conftest.err >&5 10343 cat conftest.err >&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); } && 10345 (exit $ac_status); } &&
10273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10346 { ac_try='test -z "$ac_c_werror_flag"
10347 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5 10349 (eval $ac_try) 2>&5
10276 ac_status=$? 10350 ac_status=$?
@@ -10424,7 +10498,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10424 cat conftest.err >&5 10498 cat conftest.err >&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } && 10500 (exit $ac_status); } &&
10427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10501 { ac_try='test -z "$ac_c_werror_flag"
10502 || test ! -s conftest.err'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5 10504 (eval $ac_try) 2>&5
10430 ac_status=$? 10505 ac_status=$?
@@ -10498,7 +10573,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10498 cat conftest.err >&5 10573 cat conftest.err >&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); } && 10575 (exit $ac_status); } &&
10501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10576 { ac_try='test -z "$ac_c_werror_flag"
10577 || test ! -s conftest.err'
10502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10503 (eval $ac_try) 2>&5 10579 (eval $ac_try) 2>&5
10504 ac_status=$? 10580 ac_status=$?
@@ -10570,7 +10646,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570 cat conftest.err >&5 10646 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } && 10648 (exit $ac_status); } &&
10573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10649 { ac_try='test -z "$ac_c_werror_flag"
10650 || test ! -s conftest.err'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5 10652 (eval $ac_try) 2>&5
10576 ac_status=$? 10653 ac_status=$?
@@ -10652,7 +10729,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10652 cat conftest.err >&5 10729 cat conftest.err >&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } && 10731 (exit $ac_status); } &&
10655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10732 { ac_try='test -z "$ac_c_werror_flag"
10733 || test ! -s conftest.err'
10656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10657 (eval $ac_try) 2>&5 10735 (eval $ac_try) 2>&5
10658 ac_status=$? 10736 ac_status=$?
@@ -10731,7 +10809,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10731 cat conftest.err >&5 10809 cat conftest.err >&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); } && 10811 (exit $ac_status); } &&
10734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10812 { ac_try='test -z "$ac_c_werror_flag"
10813 || test ! -s conftest.err'
10735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10736 (eval $ac_try) 2>&5 10815 (eval $ac_try) 2>&5
10737 ac_status=$? 10816 ac_status=$?
@@ -10802,7 +10881,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10802 cat conftest.err >&5 10881 cat conftest.err >&5
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); } && 10883 (exit $ac_status); } &&
10805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10884 { ac_try='test -z "$ac_c_werror_flag"
10885 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5 10887 (eval $ac_try) 2>&5
10808 ac_status=$? 10888 ac_status=$?
@@ -10871,7 +10951,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10871 cat conftest.err >&5 10951 cat conftest.err >&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); } && 10953 (exit $ac_status); } &&
10874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10954 { ac_try='test -z "$ac_c_werror_flag"
10955 || test ! -s conftest.err'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5 10957 (eval $ac_try) 2>&5
10877 ac_status=$? 10958 ac_status=$?
@@ -10944,7 +11025,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10944 cat conftest.err >&5 11025 cat conftest.err >&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } && 11027 (exit $ac_status); } &&
10947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11028 { ac_try='test -z "$ac_c_werror_flag"
11029 || test ! -s conftest.err'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5 11031 (eval $ac_try) 2>&5
10950 ac_status=$? 11032 ac_status=$?
@@ -11067,7 +11149,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11067 cat conftest.err >&5 11149 cat conftest.err >&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); } && 11151 (exit $ac_status); } &&
11070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11152 { ac_try='test -z "$ac_c_werror_flag"
11153 || test ! -s conftest.err'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5 11155 (eval $ac_try) 2>&5
11073 ac_status=$? 11156 ac_status=$?
@@ -11169,7 +11252,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11169 cat conftest.err >&5 11252 cat conftest.err >&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); } && 11254 (exit $ac_status); } &&
11172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11255 { ac_try='test -z "$ac_c_werror_flag"
11256 || test ! -s conftest.err'
11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11174 (eval $ac_try) 2>&5 11258 (eval $ac_try) 2>&5
11175 ac_status=$? 11259 ac_status=$?
@@ -11249,7 +11333,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11249 cat conftest.err >&5 11333 cat conftest.err >&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } && 11335 (exit $ac_status); } &&
11252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11336 { ac_try='test -z "$ac_c_werror_flag"
11337 || test ! -s conftest.err'
11253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5 11339 (eval $ac_try) 2>&5
11255 ac_status=$? 11340 ac_status=$?
@@ -11317,7 +11402,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11317 cat conftest.err >&5 11402 cat conftest.err >&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } && 11404 (exit $ac_status); } &&
11320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11405 { ac_try='test -z "$ac_c_werror_flag"
11406 || test ! -s conftest.err'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5 11408 (eval $ac_try) 2>&5
11323 ac_status=$? 11409 ac_status=$?
@@ -11462,7 +11548,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11462 cat conftest.err >&5 11548 cat conftest.err >&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } && 11550 (exit $ac_status); } &&
11465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11551 { ac_try='test -z "$ac_c_werror_flag"
11552 || test ! -s conftest.err'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5 11554 (eval $ac_try) 2>&5
11468 ac_status=$? 11555 ac_status=$?
@@ -11571,7 +11658,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11571 cat conftest.err >&5 11658 cat conftest.err >&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } && 11660 (exit $ac_status); } &&
11574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11661 { ac_try='test -z "$ac_c_werror_flag"
11662 || test ! -s conftest.err'
11575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11576 (eval $ac_try) 2>&5 11664 (eval $ac_try) 2>&5
11577 ac_status=$? 11665 ac_status=$?
@@ -11716,7 +11804,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11716 cat conftest.err >&5 11804 cat conftest.err >&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } && 11806 (exit $ac_status); } &&
11719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11807 { ac_try='test -z "$ac_c_werror_flag"
11808 || test ! -s conftest.err'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5 11810 (eval $ac_try) 2>&5
11722 ac_status=$? 11811 ac_status=$?
@@ -11823,7 +11912,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11823 cat conftest.err >&5 11912 cat conftest.err >&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } && 11914 (exit $ac_status); } &&
11826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 11915 { ac_try='test -z "$ac_c_werror_flag"
11916 || test ! -s conftest.err'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5 11918 (eval $ac_try) 2>&5
11829 ac_status=$? 11919 ac_status=$?
@@ -11977,7 +12067,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11977 cat conftest.err >&5 12067 cat conftest.err >&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } && 12069 (exit $ac_status); } &&
11980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12070 { ac_try='test -z "$ac_c_werror_flag"
12071 || test ! -s conftest.err'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5 12073 (eval $ac_try) 2>&5
11983 ac_status=$? 12074 ac_status=$?
@@ -12052,7 +12143,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12052 cat conftest.err >&5 12143 cat conftest.err >&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } && 12145 (exit $ac_status); } &&
12055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12146 { ac_try='test -z "$ac_c_werror_flag"
12147 || test ! -s conftest.err'
12056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12057 (eval $ac_try) 2>&5 12149 (eval $ac_try) 2>&5
12058 ac_status=$? 12150 ac_status=$?
@@ -12200,7 +12292,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12200 cat conftest.err >&5 12292 cat conftest.err >&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } && 12294 (exit $ac_status); } &&
12203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12295 { ac_try='test -z "$ac_c_werror_flag"
12296 || test ! -s conftest.err'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5 12298 (eval $ac_try) 2>&5
12206 ac_status=$? 12299 ac_status=$?
@@ -12277,7 +12370,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12277 cat conftest.err >&5 12370 cat conftest.err >&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } && 12372 (exit $ac_status); } &&
12280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12373 { ac_try='test -z "$ac_c_werror_flag"
12374 || test ! -s conftest.err'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5 12376 (eval $ac_try) 2>&5
12283 ac_status=$? 12377 ac_status=$?
@@ -12424,7 +12518,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12424 cat conftest.err >&5 12518 cat conftest.err >&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); } && 12520 (exit $ac_status); } &&
12427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12521 { ac_try='test -z "$ac_c_werror_flag"
12522 || test ! -s conftest.err'
12428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12429 (eval $ac_try) 2>&5 12524 (eval $ac_try) 2>&5
12430 ac_status=$? 12525 ac_status=$?
@@ -12497,7 +12592,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12497 cat conftest.err >&5 12592 cat conftest.err >&5
12498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 (exit $ac_status); } && 12594 (exit $ac_status); } &&
12500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12595 { ac_try='test -z "$ac_c_werror_flag"
12596 || test ! -s conftest.err'
12501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12502 (eval $ac_try) 2>&5 12598 (eval $ac_try) 2>&5
12503 ac_status=$? 12599 ac_status=$?
@@ -12699,7 +12795,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12699 cat conftest.err >&5 12795 cat conftest.err >&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } && 12797 (exit $ac_status); } &&
12702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12798 { ac_try='test -z "$ac_c_werror_flag"
12799 || test ! -s conftest.err'
12703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704 (eval $ac_try) 2>&5 12801 (eval $ac_try) 2>&5
12705 ac_status=$? 12802 ac_status=$?
@@ -12772,7 +12869,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12772 cat conftest.err >&5 12869 cat conftest.err >&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } && 12871 (exit $ac_status); } &&
12775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 12872 { ac_try='test -z "$ac_c_werror_flag"
12873 || test ! -s conftest.err'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5 12875 (eval $ac_try) 2>&5
12778 ac_status=$? 12876 ac_status=$?
@@ -12917,7 +13015,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12917 cat conftest.err >&5 13015 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } && 13017 (exit $ac_status); } &&
12920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13018 { ac_try='test -z "$ac_c_werror_flag"
13019 || test ! -s conftest.err'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5 13021 (eval $ac_try) 2>&5
12923 ac_status=$? 13022 ac_status=$?
@@ -12993,7 +13092,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12993 cat conftest.err >&5 13092 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } && 13094 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13095 { ac_try='test -z "$ac_c_werror_flag"
13096 || test ! -s conftest.err'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5 13098 (eval $ac_try) 2>&5
12999 ac_status=$? 13099 ac_status=$?
@@ -13056,7 +13156,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13056 cat conftest.err >&5 13156 cat conftest.err >&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } && 13158 (exit $ac_status); } &&
13059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13159 { ac_try='test -z "$ac_c_werror_flag"
13160 || test ! -s conftest.err'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5 13162 (eval $ac_try) 2>&5
13062 ac_status=$? 13163 ac_status=$?
@@ -13137,7 +13238,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137 cat conftest.err >&5 13238 cat conftest.err >&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); } && 13240 (exit $ac_status); } &&
13140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13241 { ac_try='test -z "$ac_c_werror_flag"
13242 || test ! -s conftest.err'
13141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 (eval $ac_try) 2>&5 13244 (eval $ac_try) 2>&5
13143 ac_status=$? 13245 ac_status=$?
@@ -13278,7 +13380,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13278 cat conftest.err >&5 13380 cat conftest.err >&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } && 13382 (exit $ac_status); } &&
13281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13383 { ac_try='test -z "$ac_c_werror_flag"
13384 || test ! -s conftest.err'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5 13386 (eval $ac_try) 2>&5
13284 ac_status=$? 13387 ac_status=$?
@@ -13423,7 +13526,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13423 cat conftest.err >&5 13526 cat conftest.err >&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } && 13528 (exit $ac_status); } &&
13426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13529 { ac_try='test -z "$ac_c_werror_flag"
13530 || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5 13532 (eval $ac_try) 2>&5
13429 ac_status=$? 13533 ac_status=$?
@@ -13499,7 +13603,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13499 cat conftest.err >&5 13603 cat conftest.err >&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); } && 13605 (exit $ac_status); } &&
13502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13606 { ac_try='test -z "$ac_c_werror_flag"
13607 || test ! -s conftest.err'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5 13609 (eval $ac_try) 2>&5
13505 ac_status=$? 13610 ac_status=$?
@@ -13572,7 +13677,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13572 cat conftest.err >&5 13677 cat conftest.err >&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } && 13679 (exit $ac_status); } &&
13575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13680 { ac_try='test -z "$ac_c_werror_flag"
13681 || test ! -s conftest.err'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5 13683 (eval $ac_try) 2>&5
13578 ac_status=$? 13684 ac_status=$?
@@ -13727,7 +13833,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13727 cat conftest.err >&5 13833 cat conftest.err >&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } && 13835 (exit $ac_status); } &&
13730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13836 { ac_try='test -z "$ac_c_werror_flag"
13837 || test ! -s conftest.err'
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5 13839 (eval $ac_try) 2>&5
13733 ac_status=$? 13840 ac_status=$?
@@ -13793,7 +13900,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13793 cat conftest.err >&5 13900 cat conftest.err >&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } && 13902 (exit $ac_status); } &&
13796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 13903 { ac_try='test -z "$ac_c_werror_flag"
13904 || test ! -s conftest.err'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5 13906 (eval $ac_try) 2>&5
13799 ac_status=$? 13907 ac_status=$?
@@ -14052,7 +14160,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14052 cat conftest.err >&5 14160 cat conftest.err >&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } && 14162 (exit $ac_status); } &&
14055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14163 { ac_try='test -z "$ac_c_werror_flag"
14164 || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5 14166 (eval $ac_try) 2>&5
14058 ac_status=$? 14167 ac_status=$?
@@ -14119,7 +14228,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14119 cat conftest.err >&5 14228 cat conftest.err >&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } && 14230 (exit $ac_status); } &&
14122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14231 { ac_try='test -z "$ac_c_werror_flag"
14232 || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5 14234 (eval $ac_try) 2>&5
14125 ac_status=$? 14235 ac_status=$?
@@ -14271,7 +14381,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 cat conftest.err >&5 14381 cat conftest.err >&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } && 14383 (exit $ac_status); } &&
14274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14384 { ac_try='test -z "$ac_c_werror_flag"
14385 || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5 14387 (eval $ac_try) 2>&5
14277 ac_status=$? 14388 ac_status=$?
@@ -14455,7 +14566,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14455 cat conftest.err >&5 14566 cat conftest.err >&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); } && 14568 (exit $ac_status); } &&
14458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14569 { ac_try='test -z "$ac_c_werror_flag"
14570 || test ! -s conftest.err'
14459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14460 (eval $ac_try) 2>&5 14572 (eval $ac_try) 2>&5
14461 ac_status=$? 14573 ac_status=$?
@@ -14782,7 +14894,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14782 cat conftest.err >&5 14894 cat conftest.err >&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); } && 14896 (exit $ac_status); } &&
14785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14897 { ac_try='test -z "$ac_c_werror_flag"
14898 || test ! -s conftest.err'
14786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787 (eval $ac_try) 2>&5 14900 (eval $ac_try) 2>&5
14788 ac_status=$? 14901 ac_status=$?
@@ -14883,7 +14996,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14883 cat conftest.err >&5 14996 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } && 14998 (exit $ac_status); } &&
14886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 14999 { ac_try='test -z "$ac_c_werror_flag"
15000 || test ! -s conftest.err'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5 15002 (eval $ac_try) 2>&5
14889 ac_status=$? 15003 ac_status=$?
@@ -14956,7 +15070,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14956 cat conftest.err >&5 15070 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } && 15072 (exit $ac_status); } &&
14959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15073 { ac_try='test -z "$ac_c_werror_flag"
15074 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5 15076 (eval $ac_try) 2>&5
14962 ac_status=$? 15077 ac_status=$?
@@ -15035,7 +15150,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15035 cat conftest.err >&5 15150 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } && 15152 (exit $ac_status); } &&
15038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15153 { ac_try='test -z "$ac_c_werror_flag"
15154 || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5 15156 (eval $ac_try) 2>&5
15041 ac_status=$? 15157 ac_status=$?
@@ -15104,7 +15220,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15104 cat conftest.err >&5 15220 cat conftest.err >&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && 15222 (exit $ac_status); } &&
15107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15223 { ac_try='test -z "$ac_c_werror_flag"
15224 || test ! -s conftest.err'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5 15226 (eval $ac_try) 2>&5
15110 ac_status=$? 15227 ac_status=$?
@@ -15172,7 +15289,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15172 cat conftest.err >&5 15289 cat conftest.err >&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } && 15291 (exit $ac_status); } &&
15175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15292 { ac_try='test -z "$ac_c_werror_flag"
15293 || test ! -s conftest.err'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5 15295 (eval $ac_try) 2>&5
15178 ac_status=$? 15296 ac_status=$?
@@ -15246,7 +15364,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15246 cat conftest.err >&5 15364 cat conftest.err >&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } && 15366 (exit $ac_status); } &&
15249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15367 { ac_try='test -z "$ac_c_werror_flag"
15368 || test ! -s conftest.err'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5 15370 (eval $ac_try) 2>&5
15252 ac_status=$? 15371 ac_status=$?
@@ -15350,7 +15469,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15350 cat conftest.err >&5 15469 cat conftest.err >&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } && 15471 (exit $ac_status); } &&
15353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15472 { ac_try='test -z "$ac_c_werror_flag"
15473 || test ! -s conftest.err'
15354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15355 (eval $ac_try) 2>&5 15475 (eval $ac_try) 2>&5
15356 ac_status=$? 15476 ac_status=$?
@@ -15425,7 +15545,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15425 cat conftest.err >&5 15545 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && 15547 (exit $ac_status); } &&
15428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15548 { ac_try='test -z "$ac_c_werror_flag"
15549 || test ! -s conftest.err'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5 15551 (eval $ac_try) 2>&5
15431 ac_status=$? 15552 ac_status=$?
@@ -15577,7 +15698,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15577 cat conftest.err >&5 15698 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && 15700 (exit $ac_status); } &&
15580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15701 { ac_try='test -z "$ac_c_werror_flag"
15702 || test ! -s conftest.err'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5 15704 (eval $ac_try) 2>&5
15583 ac_status=$? 15705 ac_status=$?
@@ -15645,7 +15767,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15645 cat conftest.err >&5 15767 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && 15769 (exit $ac_status); } &&
15648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15770 { ac_try='test -z "$ac_c_werror_flag"
15771 || test ! -s conftest.err'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5 15773 (eval $ac_try) 2>&5
15651 ac_status=$? 15774 ac_status=$?
@@ -15822,7 +15945,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15822 cat conftest.err >&5 15945 cat conftest.err >&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); } && 15947 (exit $ac_status); } &&
15825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 15948 { ac_try='test -z "$ac_c_werror_flag"
15949 || test ! -s conftest.err'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5 15951 (eval $ac_try) 2>&5
15828 ac_status=$? 15952 ac_status=$?
@@ -15898,7 +16022,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15898 cat conftest.err >&5 16022 cat conftest.err >&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } && 16024 (exit $ac_status); } &&
15901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16025 { ac_try='test -z "$ac_c_werror_flag"
16026 || test ! -s conftest.err'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5 16028 (eval $ac_try) 2>&5
15904 ac_status=$? 16029 ac_status=$?
@@ -16052,7 +16177,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16052 cat conftest.err >&5 16177 cat conftest.err >&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } && 16179 (exit $ac_status); } &&
16055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16180 { ac_try='test -z "$ac_c_werror_flag"
16181 || test ! -s conftest.err'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5 16183 (eval $ac_try) 2>&5
16058 ac_status=$? 16184 ac_status=$?
@@ -16203,7 +16329,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16203 cat conftest.err >&5 16329 cat conftest.err >&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } && 16331 (exit $ac_status); } &&
16206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16332 { ac_try='test -z "$ac_c_werror_flag"
16333 || test ! -s conftest.err'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5 16335 (eval $ac_try) 2>&5
16209 ac_status=$? 16336 ac_status=$?
@@ -16354,7 +16481,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16354 cat conftest.err >&5 16481 cat conftest.err >&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } && 16483 (exit $ac_status); } &&
16357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16484 { ac_try='test -z "$ac_c_werror_flag"
16485 || test ! -s conftest.err'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5 16487 (eval $ac_try) 2>&5
16360 ac_status=$? 16488 ac_status=$?
@@ -16496,7 +16624,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16496 cat conftest.err >&5 16624 cat conftest.err >&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } && 16626 (exit $ac_status); } &&
16499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16627 { ac_try='test -z "$ac_c_werror_flag"
16628 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5 16630 (eval $ac_try) 2>&5
16502 ac_status=$? 16631 ac_status=$?
@@ -16540,7 +16669,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16540 cat conftest.err >&5 16669 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } && 16671 (exit $ac_status); } &&
16543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16672 { ac_try='test -z "$ac_c_werror_flag"
16673 || test ! -s conftest.err'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5 16675 (eval $ac_try) 2>&5
16546 ac_status=$? 16676 ac_status=$?
@@ -16686,7 +16816,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16686 cat conftest.err >&5 16816 cat conftest.err >&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } && 16818 (exit $ac_status); } &&
16689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16819 { ac_try='test -z "$ac_c_werror_flag"
16820 || test ! -s conftest.err'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5 16822 (eval $ac_try) 2>&5
16692 ac_status=$? 16823 ac_status=$?
@@ -16730,7 +16861,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16730 cat conftest.err >&5 16861 cat conftest.err >&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } && 16863 (exit $ac_status); } &&
16733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16864 { ac_try='test -z "$ac_c_werror_flag"
16865 || test ! -s conftest.err'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5 16867 (eval $ac_try) 2>&5
16736 ac_status=$? 16868 ac_status=$?
@@ -16795,7 +16927,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16795 cat conftest.err >&5 16927 cat conftest.err >&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } && 16929 (exit $ac_status); } &&
16798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 16930 { ac_try='test -z "$ac_c_werror_flag"
16931 || test ! -s conftest.err'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5 16933 (eval $ac_try) 2>&5
16801 ac_status=$? 16934 ac_status=$?
@@ -16849,6 +16982,7 @@ fi
16849 16982
16850 16983
16851 16984
16985
16852 GETOPT_H= 16986 GETOPT_H=
16853 16987
16854for ac_header in getopt.h 16988for ac_header in getopt.h
@@ -16884,7 +17018,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 cat conftest.err >&5 17018 cat conftest.err >&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } && 17020 (exit $ac_status); } &&
16887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17021 { ac_try='test -z "$ac_c_werror_flag"
17022 || test ! -s conftest.err'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5 17024 (eval $ac_try) 2>&5
16890 ac_status=$? 17025 ac_status=$?
@@ -17071,7 +17206,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17071 cat conftest.err >&5 17206 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && 17208 (exit $ac_status); } &&
17074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17209 { ac_try='test -z "$ac_c_werror_flag"
17210 || test ! -s conftest.err'
17075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17076 (eval $ac_try) 2>&5 17212 (eval $ac_try) 2>&5
17077 ac_status=$? 17213 ac_status=$?
@@ -17141,7 +17277,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17141 cat conftest.err >&5 17277 cat conftest.err >&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } && 17279 (exit $ac_status); } &&
17144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17280 { ac_try='test -z "$ac_c_werror_flag"
17281 || test ! -s conftest.err'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5 17283 (eval $ac_try) 2>&5
17147 ac_status=$? 17284 ac_status=$?
@@ -17210,7 +17347,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17210 cat conftest.err >&5 17347 cat conftest.err >&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } && 17349 (exit $ac_status); } &&
17213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17350 { ac_try='test -z "$ac_c_werror_flag"
17351 || test ! -s conftest.err'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5 17353 (eval $ac_try) 2>&5
17216 ac_status=$? 17354 ac_status=$?
@@ -17342,7 +17480,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17342 cat conftest.err >&5 17480 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && 17482 (exit $ac_status); } &&
17345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17483 { ac_try='test -z "$ac_c_werror_flag"
17484 || test ! -s conftest.err'
17346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17347 (eval $ac_try) 2>&5 17486 (eval $ac_try) 2>&5
17348 ac_status=$? 17487 ac_status=$?
@@ -17444,7 +17583,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17444 cat conftest.err >&5 17583 cat conftest.err >&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } && 17585 (exit $ac_status); } &&
17447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17586 { ac_try='test -z "$ac_c_werror_flag"
17587 || test ! -s conftest.err'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5 17589 (eval $ac_try) 2>&5
17450 ac_status=$? 17590 ac_status=$?
@@ -17513,7 +17653,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17513 cat conftest.err >&5 17653 cat conftest.err >&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } && 17655 (exit $ac_status); } &&
17516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17656 { ac_try='test -z "$ac_c_werror_flag"
17657 || test ! -s conftest.err'
17517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17518 (eval $ac_try) 2>&5 17659 (eval $ac_try) 2>&5
17519 ac_status=$? 17660 ac_status=$?
@@ -17620,7 +17761,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17620 cat conftest.err >&5 17761 cat conftest.err >&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); } && 17763 (exit $ac_status); } &&
17623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17764 { ac_try='test -z "$ac_c_werror_flag"
17765 || test ! -s conftest.err'
17624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17625 (eval $ac_try) 2>&5 17767 (eval $ac_try) 2>&5
17626 ac_status=$? 17768 ac_status=$?
@@ -17723,7 +17865,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17723 cat conftest.err >&5 17865 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } && 17867 (exit $ac_status); } &&
17726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17868 { ac_try='test -z "$ac_c_werror_flag"
17869 || test ! -s conftest.err'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5 17871 (eval $ac_try) 2>&5
17729 ac_status=$? 17872 ac_status=$?
@@ -17799,7 +17942,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17799 cat conftest.err >&5 17942 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } && 17944 (exit $ac_status); } &&
17802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 17945 { ac_try='test -z "$ac_c_werror_flag"
17946 || test ! -s conftest.err'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5 17948 (eval $ac_try) 2>&5
17805 ac_status=$? 17949 ac_status=$?
@@ -17903,7 +18047,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17903 cat conftest.err >&5 18047 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } && 18049 (exit $ac_status); } &&
17906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18050 { ac_try='test -z "$ac_c_werror_flag"
18051 || test ! -s conftest.err'
17907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17908 (eval $ac_try) 2>&5 18053 (eval $ac_try) 2>&5
17909 ac_status=$? 18054 ac_status=$?
@@ -17995,7 +18140,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17995 cat conftest.err >&5 18140 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } && 18142 (exit $ac_status); } &&
17998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18143 { ac_try='test -z "$ac_c_werror_flag"
18144 || test ! -s conftest.err'
17999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000 (eval $ac_try) 2>&5 18146 (eval $ac_try) 2>&5
18001 ac_status=$? 18147 ac_status=$?
@@ -18060,7 +18206,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18060 cat conftest.err >&5 18206 cat conftest.err >&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } && 18208 (exit $ac_status); } &&
18063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18209 { ac_try='test -z "$ac_c_werror_flag"
18210 || test ! -s conftest.err'
18064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18065 (eval $ac_try) 2>&5 18212 (eval $ac_try) 2>&5
18066 ac_status=$? 18213 ac_status=$?
@@ -18126,7 +18273,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18126 cat conftest.err >&5 18273 cat conftest.err >&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } && 18275 (exit $ac_status); } &&
18129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18276 { ac_try='test -z "$ac_c_werror_flag"
18277 || test ! -s conftest.err'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5 18279 (eval $ac_try) 2>&5
18132 ac_status=$? 18280 ac_status=$?
@@ -18236,7 +18384,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18236 cat conftest.err >&5 18384 cat conftest.err >&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } && 18386 (exit $ac_status); } &&
18239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18387 { ac_try='test -z "$ac_c_werror_flag"
18388 || test ! -s conftest.err'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5 18390 (eval $ac_try) 2>&5
18242 ac_status=$? 18391 ac_status=$?
@@ -18301,7 +18450,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18301 cat conftest.err >&5 18450 cat conftest.err >&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } && 18452 (exit $ac_status); } &&
18304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18453 { ac_try='test -z "$ac_c_werror_flag"
18454 || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5 18456 (eval $ac_try) 2>&5
18307 ac_status=$? 18457 ac_status=$?
@@ -18381,7 +18531,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18381 cat conftest.err >&5 18531 cat conftest.err >&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } && 18533 (exit $ac_status); } &&
18384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18534 { ac_try='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5 18537 (eval $ac_try) 2>&5
18387 ac_status=$? 18538 ac_status=$?
@@ -18454,7 +18605,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18454 cat conftest.err >&5 18605 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && 18607 (exit $ac_status); } &&
18457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18608 { ac_try='test -z "$ac_c_werror_flag"
18609 || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5 18611 (eval $ac_try) 2>&5
18460 ac_status=$? 18612 ac_status=$?
@@ -18527,7 +18679,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18527 cat conftest.err >&5 18679 cat conftest.err >&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } && 18681 (exit $ac_status); } &&
18530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18682 { ac_try='test -z "$ac_c_werror_flag"
18683 || test ! -s conftest.err'
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5 18685 (eval $ac_try) 2>&5
18533 ac_status=$? 18686 ac_status=$?
@@ -18600,7 +18753,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18600 cat conftest.err >&5 18753 cat conftest.err >&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } && 18755 (exit $ac_status); } &&
18603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18756 { ac_try='test -z "$ac_c_werror_flag"
18757 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5 18759 (eval $ac_try) 2>&5
18606 ac_status=$? 18760 ac_status=$?
@@ -18674,7 +18828,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18674 cat conftest.err >&5 18828 cat conftest.err >&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } && 18830 (exit $ac_status); } &&
18677 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18831 { ac_try='test -z "$ac_c_werror_flag"
18832 || test ! -s conftest.err'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5 18834 (eval $ac_try) 2>&5
18680 ac_status=$? 18835 ac_status=$?
@@ -18746,7 +18901,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18746 cat conftest.err >&5 18901 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } && 18903 (exit $ac_status); } &&
18749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18904 { ac_try='test -z "$ac_c_werror_flag"
18905 || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5 18907 (eval $ac_try) 2>&5
18752 ac_status=$? 18908 ac_status=$?
@@ -18821,7 +18977,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18821 cat conftest.err >&5 18977 cat conftest.err >&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); } && 18979 (exit $ac_status); } &&
18824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 18980 { ac_try='test -z "$ac_c_werror_flag"
18981 || test ! -s conftest.err'
18825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 18982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826 (eval $ac_try) 2>&5 18983 (eval $ac_try) 2>&5
18827 ac_status=$? 18984 ac_status=$?
@@ -18893,7 +19050,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18893 cat conftest.err >&5 19050 cat conftest.err >&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && 19052 (exit $ac_status); } &&
18896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19053 { ac_try='test -z "$ac_c_werror_flag"
19054 || test ! -s conftest.err'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5 19056 (eval $ac_try) 2>&5
18899 ac_status=$? 19057 ac_status=$?
@@ -18966,7 +19124,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18966 cat conftest.err >&5 19124 cat conftest.err >&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } && 19126 (exit $ac_status); } &&
18969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19127 { ac_try='test -z "$ac_c_werror_flag"
19128 || test ! -s conftest.err'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5 19130 (eval $ac_try) 2>&5
18972 ac_status=$? 19131 ac_status=$?
@@ -19116,7 +19275,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19116 cat conftest.err >&5 19275 cat conftest.err >&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } && 19277 (exit $ac_status); } &&
19119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19278 { ac_try='test -z "$ac_c_werror_flag"
19279 || test ! -s conftest.err'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5 19281 (eval $ac_try) 2>&5
19122 ac_status=$? 19282 ac_status=$?
@@ -19262,7 +19422,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19262 cat conftest.err >&5 19422 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && 19424 (exit $ac_status); } &&
19265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19425 { ac_try='test -z "$ac_c_werror_flag"
19426 || test ! -s conftest.err'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5 19428 (eval $ac_try) 2>&5
19268 ac_status=$? 19429 ac_status=$?
@@ -19408,7 +19569,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19408 cat conftest.err >&5 19569 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } && 19571 (exit $ac_status); } &&
19411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19572 { ac_try='test -z "$ac_c_werror_flag"
19573 || test ! -s conftest.err'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5 19575 (eval $ac_try) 2>&5
19414 ac_status=$? 19576 ac_status=$?
@@ -19565,7 +19727,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 cat conftest.err >&5 19727 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && 19729 (exit $ac_status); } &&
19568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19730 { ac_try='test -z "$ac_c_werror_flag"
19731 || test ! -s conftest.err'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5 19733 (eval $ac_try) 2>&5
19571 ac_status=$? 19734 ac_status=$?
@@ -19711,7 +19874,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19711 cat conftest.err >&5 19874 cat conftest.err >&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } && 19876 (exit $ac_status); } &&
19714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 19877 { ac_try='test -z "$ac_c_werror_flag"
19878 || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5 19880 (eval $ac_try) 2>&5
19717 ac_status=$? 19881 ac_status=$?
@@ -19857,7 +20021,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19857 cat conftest.err >&5 20021 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && 20023 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20024 { ac_try='test -z "$ac_c_werror_flag"
20025 || test ! -s conftest.err'
19861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19862 (eval $ac_try) 2>&5 20027 (eval $ac_try) 2>&5
19863 ac_status=$? 20028 ac_status=$?
@@ -20015,7 +20180,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 cat conftest.err >&5 20180 cat conftest.err >&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && 20182 (exit $ac_status); } &&
20018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20183 { ac_try='test -z "$ac_c_werror_flag"
20184 || test ! -s conftest.err'
20019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20020 (eval $ac_try) 2>&5 20186 (eval $ac_try) 2>&5
20021 ac_status=$? 20187 ac_status=$?
@@ -20173,7 +20339,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20173 cat conftest.err >&5 20339 cat conftest.err >&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } && 20341 (exit $ac_status); } &&
20176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20342 { ac_try='test -z "$ac_c_werror_flag"
20343 || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5 20345 (eval $ac_try) 2>&5
20179 ac_status=$? 20346 ac_status=$?
@@ -20362,7 +20529,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20362 cat conftest.err >&5 20529 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && 20531 (exit $ac_status); } &&
20365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20532 { ac_try='test -z "$ac_c_werror_flag"
20533 || test ! -s conftest.err'
20366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20367 (eval $ac_try) 2>&5 20535 (eval $ac_try) 2>&5
20368 ac_status=$? 20536 ac_status=$?
@@ -20435,7 +20603,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20435 cat conftest.err >&5 20603 cat conftest.err >&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); } && 20605 (exit $ac_status); } &&
20438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20606 { ac_try='test -z "$ac_c_werror_flag"
20607 || test ! -s conftest.err'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5 20609 (eval $ac_try) 2>&5
20441 ac_status=$? 20610 ac_status=$?
@@ -20503,7 +20672,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20503 cat conftest.err >&5 20672 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && 20674 (exit $ac_status); } &&
20506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20675 { ac_try='test -z "$ac_c_werror_flag"
20676 || test ! -s conftest.err'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5 20678 (eval $ac_try) 2>&5
20509 ac_status=$? 20679 ac_status=$?
@@ -20549,7 +20719,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20549 cat conftest.err >&5 20719 cat conftest.err >&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && 20721 (exit $ac_status); } &&
20552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20722 { ac_try='test -z "$ac_c_werror_flag"
20723 || test ! -s conftest.err'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5 20725 (eval $ac_try) 2>&5
20555 ac_status=$? 20726 ac_status=$?
@@ -20623,7 +20794,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20623 cat conftest.err >&5 20794 cat conftest.err >&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } && 20796 (exit $ac_status); } &&
20626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20797 { ac_try='test -z "$ac_c_werror_flag"
20798 || test ! -s conftest.err'
20627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628 (eval $ac_try) 2>&5 20800 (eval $ac_try) 2>&5
20629 ac_status=$? 20801 ac_status=$?
@@ -20687,7 +20859,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20687 cat conftest.err >&5 20859 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } && 20861 (exit $ac_status); } &&
20690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 20862 { ac_try='test -z "$ac_c_werror_flag"
20863 || test ! -s conftest.err'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 20864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5 20865 (eval $ac_try) 2>&5
20693 ac_status=$? 20866 ac_status=$?
@@ -20825,7 +20998,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20825 cat conftest.err >&5 20998 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } && 21000 (exit $ac_status); } &&
20828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21001 { ac_try='test -z "$ac_c_werror_flag"
21002 || test ! -s conftest.err'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5 21004 (eval $ac_try) 2>&5
20831 ac_status=$? 21005 ac_status=$?
@@ -20886,7 +21060,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886 cat conftest.err >&5 21060 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && 21062 (exit $ac_status); } &&
20889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21063 { ac_try='test -z "$ac_c_werror_flag"
21064 || test ! -s conftest.err'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5 21066 (eval $ac_try) 2>&5
20892 ac_status=$? 21067 ac_status=$?
@@ -21031,7 +21206,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21031 cat conftest.err >&5 21206 cat conftest.err >&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } && 21208 (exit $ac_status); } &&
21034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21209 { ac_try='test -z "$ac_c_werror_flag"
21210 || test ! -s conftest.err'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5 21212 (eval $ac_try) 2>&5
21037 ac_status=$? 21213 ac_status=$?
@@ -21187,7 +21363,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21187 cat conftest.err >&5 21363 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && 21365 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21366 { ac_try='test -z "$ac_c_werror_flag"
21367 || test ! -s conftest.err'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5 21369 (eval $ac_try) 2>&5
21193 ac_status=$? 21370 ac_status=$?
@@ -21358,7 +21535,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21358 cat conftest.err >&5 21535 cat conftest.err >&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } && 21537 (exit $ac_status); } &&
21361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21538 { ac_try='test -z "$ac_c_werror_flag"
21539 || test ! -s conftest.err'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5 21541 (eval $ac_try) 2>&5
21364 ac_status=$? 21542 ac_status=$?
@@ -21426,7 +21604,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21426 cat conftest.err >&5 21604 cat conftest.err >&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } && 21606 (exit $ac_status); } &&
21429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21607 { ac_try='test -z "$ac_c_werror_flag"
21608 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5 21610 (eval $ac_try) 2>&5
21432 ac_status=$? 21611 ac_status=$?
@@ -21611,7 +21790,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21611 cat conftest.err >&5 21790 cat conftest.err >&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } && 21792 (exit $ac_status); } &&
21614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 21793 { ac_try='test -z "$ac_c_werror_flag"
21794 || test ! -s conftest.err'
21615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21616 (eval $ac_try) 2>&5 21796 (eval $ac_try) 2>&5
21617 ac_status=$? 21797 ac_status=$?
@@ -21904,7 +22084,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21904 cat conftest.err >&5 22084 cat conftest.err >&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } && 22086 (exit $ac_status); } &&
21907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22087 { ac_try='test -z "$ac_c_werror_flag"
22088 || test ! -s conftest.err'
21908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909 (eval $ac_try) 2>&5 22090 (eval $ac_try) 2>&5
21910 ac_status=$? 22091 ac_status=$?
@@ -21969,7 +22150,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21969 cat conftest.err >&5 22150 cat conftest.err >&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } && 22152 (exit $ac_status); } &&
21972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22153 { ac_try='test -z "$ac_c_werror_flag"
22154 || test ! -s conftest.err'
21973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974 (eval $ac_try) 2>&5 22156 (eval $ac_try) 2>&5
21975 ac_status=$? 22157 ac_status=$?
@@ -22032,7 +22214,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22032 cat conftest.err >&5 22214 cat conftest.err >&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); } && 22216 (exit $ac_status); } &&
22035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22217 { ac_try='test -z "$ac_c_werror_flag"
22218 || test ! -s conftest.err'
22036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22037 (eval $ac_try) 2>&5 22220 (eval $ac_try) 2>&5
22038 ac_status=$? 22221 ac_status=$?
@@ -22098,7 +22281,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22098 cat conftest.err >&5 22281 cat conftest.err >&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } && 22283 (exit $ac_status); } &&
22101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22284 { ac_try='test -z "$ac_c_werror_flag"
22285 || test ! -s conftest.err'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5 22287 (eval $ac_try) 2>&5
22104 ac_status=$? 22288 ac_status=$?
@@ -22139,7 +22323,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22139 cat conftest.err >&5 22323 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } && 22325 (exit $ac_status); } &&
22142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22326 { ac_try='test -z "$ac_c_werror_flag"
22327 || test ! -s conftest.err'
22143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144 (eval $ac_try) 2>&5 22329 (eval $ac_try) 2>&5
22145 ac_status=$? 22330 ac_status=$?
@@ -22206,7 +22391,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22206 cat conftest.err >&5 22391 cat conftest.err >&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); } && 22393 (exit $ac_status); } &&
22209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 22394 { ac_try='test -z "$ac_c_werror_flag"
22395 || test ! -s conftest.err'
22210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211 (eval $ac_try) 2>&5 22397 (eval $ac_try) 2>&5
22212 ac_status=$? 22398 ac_status=$?
@@ -23322,6 +23508,11 @@ esac
23322 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 23508 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23323 esac 23509 esac
23324 23510
23511 if test x"$ac_file" != x-; then
23512 { echo "$as_me:$LINENO: creating $ac_file" >&5
23513echo "$as_me: creating $ac_file" >&6;}
23514 rm -f "$ac_file"
23515 fi
23325 # Let's still pretend it is `configure' which instantiates (i.e., don't 23516 # Let's still pretend it is `configure' which instantiates (i.e., don't
23326 # use $as_me), people would be surprised to read: 23517 # use $as_me), people would be surprised to read:
23327 # /* config.h. Generated by config.status. */ 23518 # /* config.h. Generated by config.status. */
@@ -23360,12 +23551,6 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
23360 fi;; 23551 fi;;
23361 esac 23552 esac
23362 done` || { (exit 1); exit 1; } 23553 done` || { (exit 1); exit 1; }
23363
23364 if test x"$ac_file" != x-; then
23365 { echo "$as_me:$LINENO: creating $ac_file" >&5
23366echo "$as_me: creating $ac_file" >&6;}
23367 rm -f "$ac_file"
23368 fi
23369_ACEOF 23554_ACEOF
23370cat >>$CONFIG_STATUS <<_ACEOF 23555cat >>$CONFIG_STATUS <<_ACEOF
23371 sed "$ac_vpsub 23556 sed "$ac_vpsub
diff --git a/configure.in b/configure.in
index e4fa9db6453..586b6ac928c 100644
--- a/configure.in
+++ b/configure.in
@@ -282,6 +282,15 @@ dnl see the `changequote' comment above.
282 esac 282 esac
283 ;; 283 ;;
284 284
285 ## LynxOS ports
286 *-*-lynxos* )
287 opsys=lynxos
288 case "${canonical}" in
289 i[3456]86-*-lynxos*) machine=intel386 ;;
290 powerpc-*-lynxos*) machine=powerpc ;;
291 esac
292 ;;
293
285 ## Acorn RISCiX: 294 ## Acorn RISCiX:
286 arm-acorn-riscix1.1* ) 295 arm-acorn-riscix1.1* )
287 machine=acorn opsys=riscix1-1 296 machine=acorn opsys=riscix1-1
@@ -1083,7 +1092,6 @@ dnl see the `changequote' comment above.
1083 *-darwin ) opsys=darwin 1092 *-darwin ) opsys=darwin
1084 CPP="${CC-cc} -E -no-cpp-precomp" 1093 CPP="${CC-cc} -E -no-cpp-precomp"
1085 ;; 1094 ;;
1086 *-lynxos* ) opsys=lynxos ;;
1087 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; 1095 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
1088 *-isc2.2* ) opsys=isc2-2 ;; 1096 *-isc2.2* ) opsys=isc2-2 ;;
1089 *-isc4.0* ) opsys=isc4-0 ;; 1097 *-isc4.0* ) opsys=isc4-0 ;;
diff --git a/etc/ChangeLog b/etc/ChangeLog
index bf83b688b17..fb751b8ac22 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,12 @@
12005-09-00 Kevin Ryde <user42@zip.com.au>
2
3 * MORE.STUFF: Update url for calculator.el.
4
52005-09-08 Kenichi Handa <handa@m17n.org>
6
7 * PROBLEMS: Show a patch for Mule-UCS to make it byte-compiled
8 correctly.
9
12005-08-31 Michael Albinus <michael.albinus@gmx.de> 102005-08-31 Michael Albinus <michael.albinus@gmx.de>
2 11
3 * NEWS: Add entry for `make-auto-save-file-name'. 12 * NEWS: Add entry for `make-auto-save-file-name'.
diff --git a/etc/MORE.STUFF b/etc/MORE.STUFF
index 5ff739e2ce9..d88d48ab4ae 100644
--- a/etc/MORE.STUFF
+++ b/etc/MORE.STUFF
@@ -43,7 +43,7 @@ You might find bug-fixes or enhancements in these places.
43 43
44 * BS: <URL:http://www.geekware.de/software/emacs/index.html> 44 * BS: <URL:http://www.geekware.de/software/emacs/index.html>
45 45
46 * Calculator: <URL:http://www.cs.cornell.edu/eli/misc/calculator.el> 46 * Calculator: <URL:http://www.barzilay.org/misc/calculator.el>
47 47
48 * CC mode: <URL:http://cc-mode.sourceforge.net/> 48 * CC mode: <URL:http://cc-mode.sourceforge.net/>
49 49
diff --git a/etc/NEWS b/etc/NEWS
index 62eb51502ab..1fc9ff7e259 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1144,6 +1144,12 @@ fontset appropriately.
1144** Customize changes: 1144** Customize changes:
1145 1145
1146+++ 1146+++
1147*** Custom themes are collections of customize options. Create a
1148custom theme with M-x customize-create-theme. Use M-x load-theme to
1149load and enable a theme, and M-x disable-theme to disable it. Use M-x
1150enable-theme to renable a disabled theme.
1151
1152+++
1147*** The commands M-x customize-face and M-x customize-face-other-window 1153*** The commands M-x customize-face and M-x customize-face-other-window
1148now look at the character after point. If a face or faces are 1154now look at the character after point. If a face or faces are
1149specified for that character, the commands by default customize those 1155specified for that character, the commands by default customize those
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index c5ce84ff1b1..ae9a42bde6d 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -903,6 +903,36 @@ distributions, such as Debian, may already have applied such a patch.)
903Note that Emacs has native support for Unicode, roughly equivalent to 903Note that Emacs has native support for Unicode, roughly equivalent to
904Mule-UCS's, so you may not need it. 904Mule-UCS's, so you may not need it.
905 905
906** Mule-UCS compilation problem.
907
908Emacs of old versions and XEmacs byte-compile the form `(progn progn
909...)' the same way as `(progn ...)', but Emacs of version 21.3 and the
910later process that form just as interpreter does, that is, as `progn'
911variable reference. Apply the following patch to Mule-UCS 0.84 to
912make it compiled by the latest Emacs.
913
914--- mucs-ccl.el 2 Sep 2005 00:42:23 -0000 1.1.1.1
915+++ mucs-ccl.el 2 Sep 2005 01:31:51 -0000 1.3
916@@ -639,10 +639,14 @@
917 (mucs-notify-embedment 'mucs-ccl-required name)
918 (setq ccl-pgm-list (cdr ccl-pgm-list)))
919 ; (message "MCCLREGFIN:%S" result)
920- `(progn
921- (setq mucs-ccl-facility-alist
922- (quote ,mucs-ccl-facility-alist))
923- ,@result)))
924+ ;; The only way the function is used in this package is included
925+ ;; in `mucs-package-definition-end-hook' value, where it must
926+ ;; return (possibly empty) *list* of forms. Do this. Do not rely
927+ ;; on byte compiler to remove extra `progn's in `(progn ...)'
928+ ;; form.
929+ `((setq mucs-ccl-facility-alist
930+ (quote ,mucs-ccl-facility-alist))
931+ ,@result)))
932
933 ;;; Add hook for embedding translation informations to a package.
934 (add-hook 'mucs-package-definition-end-hook
935
906** Accented ISO-8859-1 characters are displayed as | or _. 936** Accented ISO-8859-1 characters are displayed as | or _.
907 937
908Try other font set sizes (S-mouse-1). If the problem persists with 938Try other font set sizes (S-mouse-1). If the problem persists with
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1782616a1c9..fd85c39f3a3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,15 +1,185 @@
12005-09-09 Eli Zaretskii <eliz@gnu.org>
2
3 * cus-start.el (all): Don't complain about fringe-related
4 built-ins if fringes are not supported. Ditto about
5 selection-related built-ins. Fix the test for GTK-related
6 built-ins.
7
8 * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)")
9 ("Postscript Print Buffer", "Print Region", "Save As...")
10 ("Save", "Insert File...", "Open Directory...")
11 ("Open File...", "Visit New File..."")
12 ("Truncate Long Lines in this Buffer"): Don't look at
13 menu-updating-frame if this display does not support multiple
14 frames.
15
162005-09-09 Frederik Fouvry <fouvry@CoLi.Uni-SB.DE>
17
18 * mail/sendmail.el (default-sendmail-coding-system): Doc fix.
19
202005-09-09 Emilio Lopes <eclig@gmx.net>
21
22 * woman.el: Format- and whitespace-related changes.
23
242005-09-09 Eli Zaretskii <eliz@gnu.org>
25
26 * woman.el: Fix my email address.
27
282005-09-08 Richard M. Stallman <rms@gnu.org>
29
30 * progmodes/sh-script.el (sh-skeleton-pair-default-alist): New var.
31 (sh-mode): Locally set skeleton-pair-default-alist.
32
33 * progmodes/make-mode.el (makefile-add-log-defun): Trim the result.
34
35 * progmodes/flymake.el: Require `compile' unconditionally.
36
37 * mail/sendmail.el (send-mail-function): Add Mailclient alternative.
38
39 * woman.el (woman-file-name): Provide a default, not initial input.
40
41 * smerge-mode.el (smerge-resolve): Pass args to smerge-remove-props.
42
43 * font-lock.el (font-lock-support-mode): Doc fix.
44
45 * descr-text.el (describe-property-list): Handle non-symbol prop names.
46
472005-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * net/ange-ftp.el (ange-ftp-process-filter): Revert to ^#+$.
50 Use with-current-buffer.
51 (ange-ftp-gwp-start): Remove unused var `gw-user'.
52 (ange-ftp-guess-hash-mark-size): Remove unused var `result'.
53 (ange-ftp-insert-directory): Remove unused var `short'.
54 (ange-ftp-file-name-sans-versions): Remove unused var `host-type'.
55
562005-08-30 Richard M. Stallman <rms@gnu.org>
57
58 * simple.el (blink-matching-open): Get rid of text props from
59 the string shown in echo area. Don't permanently set point.
60 Some rearrangements.
61
62 * files.el (risky-local-variable-p):
63 Match `-predicates' and `-commands.
64
65 * cus-edit.el (custom-buffer-sort-alphabetically): Default to t.
66 (custom-save-all): Visit the file if necessary;
67 kill the buffer if we created it.
68 (custom-save-delete): Don't visit file or kill buffer here.
69
702005-09-08 Reiner Steib <Reiner.Steib@gmx.de>
71
72 * recentf.el (recentf-filename-handler): Add custom choice
73 `abbreviate-file-name'.
74
75 * msb.el (msb--very-many-menus): Fix typo.
76
77 * disp-table.el (standard-display-european): Don't set
78 enable-multibyte-characters to nil.
79
802005-09-08 David Ponce <david@dponce.com>
81
82 * recentf.el (recentf-show-file-shortcuts-flag): New option.
83 (recentf-expand-file-name): Doc fix.
84 (recentf-dialog-mode-map): Define digit shortcuts.
85 (recentf--files-with-key): New variable.
86 (recentf-show-digit-shortcut-filter): New function.
87 (recentf-open-files-items): New function.
88 (recentf-open-files): Use it.
89 (recentf-open-file-with-key): New command.
90
912005-09-07 Michael Albinus <michael.albinus@gmx.de>
92
93 * woman.el (top): Remap `man' command by `woman' in `woman-mode-map'.
94 (Man-getpage-in-background-advice): Remove defadvice; it isn't
95 necessary any longer with the remapped command.
96 (Man-bgproc-sentinel-advice): Remove defadvice which counts
97 formatting time only.
98
99 * net/tramp.el (tramp-action-password)
100 (tramp-multi-action-password): Compile the password prompt from
101 `method', `user' and `host'. Sometimes it isn't obvious which
102 password to enter, for example with remote files offered by
103 recentf.el, or with multiple steps. Suggested by Robert Marshall
104 <robert@chezmarshall.freeserve.co.uk>.
105
1062005-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
109 Fix regexp for when "s///" is at the beginning of line.
110
1112005-09-07 Jay Belanger <belanger@truman.edu>
112
113 * calc/calc-poly.el (math-expand-term): Multiply out any powers
114 when in matrix mode.
115
1162005-09-08 Chong Yidong <cyd@stupidchicken.com>
117
118 * buff-menu.el (Buffer-menu-sort-by-column): New function.
119 Suggested by Kim F. Storm.
120 (Buffer-menu-sort-button-map): Global keymap for sort buttons.
121 (Buffer-menu-make-sort-button): Use global keymap.
122
1232005-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * buff-menu.el (Buffer-menu-make-sort-button): Add docstrings, use
126 non-anonymous functions.
127
1282005-09-06 Chong Yidong <cyd@stupidchicken.com>
129
130 * buff-menu.el (Buffer-menu-make-sort-button): Allow mouse-1 clicks
131 when using a header line. Otherwise, use mouse-1-click-follows-link.
132
133 * mouse.el (mouse-drag-header-line): Do nothing if the header-line
134 can't be moved; don't signal an error.
135
1362005-09-05 Chong Yidong <cyd@stupidchicken.com>
137
138 * cus-theme.el (custom-theme-write-faces): Save the current face
139 spec, not the defface spec.
140
141 * custom.el (custom-known-themes): Clarify meaning of "standard".
142 (custom-push-theme): Save old values in the standard theme.
143 (disable-theme): Correct typo.
144 (custom-face-theme-value) Deleted unused function.
145 (custom-theme-recalc-face): Rewritten to treat enable/disable properly.
146
1472005-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * progmodes/compile.el (compilation-goto-locus): Take into account
150 iconified frames when determining whether the buffer is
151 already visible.
152 Don't reset window height if the window already existed.
153
12005-09-04 Chong Yidong <cyd@stupidchicken.com> 1542005-09-04 Chong Yidong <cyd@stupidchicken.com>
2 155
3 * custom.el (load-theme): Renamed from require-theme. 156 * custom.el (load-theme): Rename from require-theme.
4 Add interactive spec. 157 Add interactive spec.
5 (enable-theme): Renamed from custom-enable-theme. 158 (enable-theme): Rename from custom-enable-theme.
6 Add interactive spec. 159 Add interactive spec.
7 (disable-theme): Renamed from custom-disable-theme. 160 (disable-theme): Rename from custom-disable-theme.
8 Add interactive spec. 161 Add interactive spec.
9 (custom-make-theme-feature): Doc fix. 162 (custom-make-theme-feature): Doc fix.
10 (custom-theme-directory): Doc fix. 163 (custom-theme-directory): Doc fix.
11 (provide-theme): Call enable-theme. 164 (provide-theme): Call enable-theme.
12 165
1662005-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * obsolete/lazy-lock.el (lazy-lock-mode):
169 * obsolete/fast-lock.el (fast-lock-mode): Don't try to turn on
170 font-lock-mode if it's off. Print a warning instead.
171
172 * progmodes/compile.el (compilation-start): Ignore errors if the
173 process died before we get to send-eof.
174
175 * textmodes/tex-mode.el (tex-send-tex-command, tex-bibtex-file):
176 Undo last change. Enclosing the result in quotes broke things on Unix
177 since tex-send-command passes it through shell-quote-argument.
178 (tex-send-command): Pass `file' through convert-standard-filename
179 when possible.
180 (tex-uptodate-p): Handle the case where TeX hasn't put additional
181 info in a transcript.
182
132005-09-02 Dan Nicolaescu <dann@ics.uci.edu> 1832005-09-02 Dan Nicolaescu <dann@ics.uci.edu>
14 184
15 * term/xterm.el (terminal-init-xterm): Add eval-when-compile to 185 * term/xterm.el (terminal-init-xterm): Add eval-when-compile to
@@ -27,6 +197,8 @@
27 197
282005-09-01 Stefan Monnier <monnier@iro.umontreal.ca> 1982005-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
29 199
200 * international/mule-cmds.el (set-locale-environment): Soothe compiler.
201
30 * obsolete/lazy-lock.el (lazy-lock) <defgroup>: Move from font-lock.el. 202 * obsolete/lazy-lock.el (lazy-lock) <defgroup>: Move from font-lock.el.
31 203
32 * obsolete/fast-lock.el (fast-lock) <defgroup>: Move from font-lock.el. 204 * obsolete/fast-lock.el (fast-lock) <defgroup>: Move from font-lock.el.
@@ -169,6 +341,16 @@
169 (tramp-advice-make-auto-save-file-name): Make defadvice only when 341 (tramp-advice-make-auto-save-file-name): Make defadvice only when
170 `make-auto-save-file-name' is not a magic file name operation. 342 `make-auto-save-file-name' is not a magic file name operation.
171 343
3442005-08-30 Richard M. Stallman <rms@gnu.org>
345
346 * files.el (risky-local-variable-p):
347 Match `-predicates' and `-commands.
348
349 * cus-edit.el (custom-buffer-sort-alphabetically): Default to t.
350 (custom-save-all): Visit the file if necessary;
351 kill the buffer if we created it.
352 (custom-save-delete): Don't visit file or kill buffer here.
353
1722005-08-30 Carsten Dominik <dominik@science.uva.nl> 3542005-08-30 Carsten Dominik <dominik@science.uva.nl>
173 355
174 * textmodes/org.el (org-special-keyword): New face. 356 * textmodes/org.el (org-special-keyword): New face.
@@ -470,6 +652,12 @@
470 New hook. 652 New hook.
471 (add-to-diary-list): Call `diary-modify-entry-list-string-function' 653 (add-to-diary-list): Call `diary-modify-entry-list-string-function'
472 654
6552005-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * emacs-lisp/easy-mmode.el (define-minor-mode): Simplify.
658
659 * custom.el (custom-theme-set-variables): Sort minor modes last.
660
4732005-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br> 6612005-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
474 662
475 * subr.el (version-separator, version-regexp-alist): New vars used by 663 * subr.el (version-separator, version-regexp-alist): New vars used by
@@ -545,18 +733,16 @@
545 (xscheme-allow-output-p, xscheme-prompt, xscheme-mode-string): 733 (xscheme-allow-output-p, xscheme-prompt, xscheme-mode-string):
546 Move to beginning of file. 734 Move to beginning of file.
547 (scheme-interaction-mode-commands-alist) 735 (scheme-interaction-mode-commands-alist)
548 (scheme-interaction-mode-map, scheme-debugger-mode-map): Declare 736 (scheme-interaction-mode-map, scheme-debugger-mode-map):
549 them before use. Note: the initialization code for the variables 737 Declare them before use. Note: the initialization code for the variables
550 has not been moved because it uses functions that reference the 738 has not been moved because it uses functions that reference the variables.
551 variables.
552 (xscheme-control-g-message-string, xscheme-process-filter-alist) 739 (xscheme-control-g-message-string, xscheme-process-filter-alist)
553 (xscheme-prompt-for-expression-map): Declare them before use. 740 (xscheme-prompt-for-expression-map): Declare them before use.
554 (scheme-debugger-mode-commands): "?\ " -> "?\s". 741 (scheme-debugger-mode-commands): "?\ " -> "?\s".
555 742
5562005-08-23 Ed Swarthout <ed.swarthout@gmail.com> (tiny change) 7432005-08-23 Ed Swarthout <ed.swarthout@gmail.com> (tiny change)
557 744
558 * hexl.el (hexl-print-current-point-info): Fix simple spelling 745 * hexl.el (hexl-print-current-point-info): Fix simple spelling error.
559 error.
560 746
5612005-08-22 Juri Linkov <juri@jurta.org> 7472005-08-22 Juri Linkov <juri@jurta.org>
562 748
diff --git a/lisp/ChangeLog.9 b/lisp/ChangeLog.9
index a0688eefe37..6bd0b347c30 100644
--- a/lisp/ChangeLog.9
+++ b/lisp/ChangeLog.9
@@ -1127,7 +1127,7 @@
1127 1127
1128 * isearch.el (isearch-intersects-p): Fix end checks. 1128 * isearch.el (isearch-intersects-p): Fix end checks.
1129 1129
11302001-09-11 Eli Zaretskii <a34785@is.elta.co.il> 11302001-09-11 Eli Zaretskii <eliz@is.elta.co.il>
1131 1131
1132 * gud.el (dbx) <gud-dbx-use-stopformat-p>: Move this case into the 1132 * gud.el (dbx) <gud-dbx-use-stopformat-p>: Move this case into the
1133 `t' branch of `cond', since Irix 6.1 and up is a special case of 1133 `t' branch of `cond', since Irix 6.1 and up is a special case of
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el
index 9418eebe98f..4c45847df0f 100644
--- a/lisp/buff-menu.el
+++ b/lisp/buff-menu.el
@@ -633,35 +633,40 @@ For more information, see the function `buffer-menu'."
633 (insert m2))) 633 (insert m2)))
634 (forward-line))))) 634 (forward-line)))))
635 635
636(defun Buffer-menu-sort-by-column (&optional e)
637 "Sort the buffer menu by the column clicked on."
638 (interactive (list last-input-event))
639 (if e (mouse-select-window e))
640 (let* ((pos (event-start e))
641 (obj (posn-object pos))
642 (col (if obj
643 (get-text-property (cdr obj) 'column (car obj))
644 (get-text-property (posn-point pos) 'column))))
645 (Buffer-menu-sort col)))
646
647(defvar Buffer-menu-sort-button-map
648 (let ((map (make-sparse-keymap)))
649 ;; This keymap handles both nil and non-nil values for
650 ;; Buffer-menu-use-header-line.
651 (define-key map [header-line mouse-1] 'Buffer-menu-sort-by-column)
652 (define-key map [header-line mouse-2] 'Buffer-menu-sort-by-column)
653 (define-key map [mouse-2] 'Buffer-menu-sort-by-column)
654 (define-key map [follow-link] 'mouse-face)
655 (define-key map "\C-m" 'Buffer-menu-sort-by-column)
656 map)
657 "Local keymap for Buffer menu sort buttons.")
658
636(defun Buffer-menu-make-sort-button (name column) 659(defun Buffer-menu-make-sort-button (name column)
637 (if (equal column Buffer-menu-sort-column) (setq column nil)) 660 (if (equal column Buffer-menu-sort-column) (setq column nil))
638 (propertize name 661 (propertize name
639 'help-echo (if column 662 'column column
640 (if Buffer-menu-use-header-line 663 'help-echo (concat
641 (concat "mouse-2: sort by " (downcase name)) 664 (if Buffer-menu-use-header-line
642 (concat "mouse-2, RET: sort by " 665 "mouse-1, mouse-2: sort by "
643 (downcase name))) 666 "mouse-2, RET: sort by ")
644 (if Buffer-menu-use-header-line 667 (if column (downcase name) "visited order"))
645 "mouse-2: sort by visited order"
646 "mouse-2, RET: sort by visited order"))
647 'mouse-face 'highlight 668 'mouse-face 'highlight
648 'keymap (let ((map (make-sparse-keymap))) 669 'keymap Buffer-menu-sort-button-map))
649 (if Buffer-menu-use-header-line
650 (define-key map [header-line mouse-2]
651 `(lambda (e)
652 (interactive "e")
653 (save-window-excursion
654 (if e (mouse-select-window e))
655 (Buffer-menu-sort ,column))))
656 (define-key map [mouse-2]
657 `(lambda (e)
658 (interactive "e")
659 (if e (mouse-select-window e))
660 (Buffer-menu-sort ,column)))
661 (define-key map "\C-m"
662 `(lambda () (interactive)
663 (Buffer-menu-sort ,column))))
664 map)))
665 670
666(defun list-buffers-noselect (&optional files-only buffer-list) 671(defun list-buffers-noselect (&optional files-only buffer-list)
667 "Create and return a buffer with a list of names of existing buffers. 672 "Create and return a buffer with a list of names of existing buffers.
diff --git a/lisp/calc/calc-poly.el b/lisp/calc/calc-poly.el
index 3dd19b6f67a..e27705de98a 100644
--- a/lisp/calc/calc-poly.el
+++ b/lisp/calc/calc-poly.el
@@ -1069,18 +1069,45 @@
1069 (math-add-or-sub (list '/ (nth 1 (nth 1 expr)) (nth 2 expr)) 1069 (math-add-or-sub (list '/ (nth 1 (nth 1 expr)) (nth 2 expr))
1070 (list '/ (nth 2 (nth 1 expr)) (nth 2 expr)) 1070 (list '/ (nth 2 (nth 1 expr)) (nth 2 expr))
1071 nil (eq (car (nth 1 expr)) '-))) 1071 nil (eq (car (nth 1 expr)) '-)))
1072 ((and (eq calc-matrix-mode 'matrix)
1073 (eq (car-safe expr) '^)
1074 (natnump (nth 2 expr))
1075 (> (nth 2 expr) 1)
1076 (memq (car-safe (nth 1 expr)) '(+ -)))
1077 (if (= (nth 2 expr) 2)
1078 (math-add-or-sub (list '* (nth 1 (nth 1 expr)) (nth 1 expr))
1079 (list '* (nth 2 (nth 1 expr)) (nth 1 expr))
1080 nil (eq (car (nth 1 expr)) '-))
1081 (math-add-or-sub (list '* (nth 1 (nth 1 expr)) (list '^ (nth 1 expr)
1082 (1- (nth 2 expr))))
1083 (list '* (nth 2 (nth 1 expr)) (list '^ (nth 1 expr)
1084 (1- (nth 2 expr))))
1085 nil (eq (car (nth 1 expr)) '-))))
1072 ((and (eq (car-safe expr) '^) 1086 ((and (eq (car-safe expr) '^)
1073 (memq (car-safe (nth 1 expr)) '(+ -)) 1087 (memq (car-safe (nth 1 expr)) '(+ -))
1074 (integerp (nth 2 expr)) 1088 (integerp (nth 2 expr))
1075 (if (> (nth 2 expr) 0) 1089 (if (and (eq calc-matrix-mode 'matrix)
1076 (or (and (or (> math-mt-many 500000) (< math-mt-many -500000)) 1090 (> (nth 2 expr) 1))
1077 (math-expand-power (nth 1 expr) (nth 2 expr) 1091 (if (= (nth 2 expr) 2)
1078 nil t)) 1092 (math-add-or-sub (list '* (nth 1 (nth 1 expr)) (nth 1 expr))
1079 (list '* 1093 (list '* (nth 2 (nth 1 expr)) (nth 1 expr))
1080 (nth 1 expr) 1094 nil (eq (car (nth 1 expr)) '-))
1081 (list '^ (nth 1 expr) (1- (nth 2 expr))))) 1095 (math-add-or-sub (list '* (nth 1 (nth 1 expr))
1082 (if (< (nth 2 expr) 0) 1096 (list '^ (nth 1 expr)
1083 (list '/ 1 (list '^ (nth 1 expr) (- (nth 2 expr)))))))) 1097 (1- (nth 2 expr))))
1098 (list '* (nth 2 (nth 1 expr))
1099 (list '^ (nth 1 expr)
1100 (1- (nth 2 expr))))
1101 nil (eq (car (nth 1 expr)) '-)))
1102 (if (> (nth 2 expr) 0)
1103 (or (and (or (> math-mt-many 500000) (< math-mt-many -500000))
1104 (math-expand-power (nth 1 expr) (nth 2 expr)
1105 nil t))
1106 (list '*
1107 (nth 1 expr)
1108 (list '^ (nth 1 expr) (1- (nth 2 expr)))))
1109 (if (< (nth 2 expr) 0)
1110 (list '/ 1 (list '^ (nth 1 expr) (- (nth 2 expr)))))))))
1084 (t expr))) 1111 (t expr)))
1085 1112
1086(defun calcFunc-expand (expr &optional many) 1113(defun calcFunc-expand (expr &optional many)
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 2f3cd5d0e07..d8ca2a77b58 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -366,9 +366,16 @@ since it could result in memory overflow and make Emacs crash."
366 ((string-match "\\`w32-" (symbol-name symbol)) 366 ((string-match "\\`w32-" (symbol-name symbol))
367 (eq system-type 'windows-nt)) 367 (eq system-type 'windows-nt))
368 ((string-match "\\`x-.*gtk" (symbol-name symbol)) 368 ((string-match "\\`x-.*gtk" (symbol-name symbol))
369 (or (boundp 'gtk) (not (eq system-type 'windows-nt)))) 369 (or (boundp 'gtk)
370 (and window-system
371 (not (eq window-system 'pc))
372 (not (eq system-type 'windows-nt)))))
370 ((string-match "\\`x-" (symbol-name symbol)) 373 ((string-match "\\`x-" (symbol-name symbol))
371 (fboundp 'x-create-frame)) 374 (fboundp 'x-create-frame))
375 ((string-match "selection" (symbol-name symbol))
376 (fboundp 'x-selection-exists-p))
377 ((string-match "fringe" (symbol-name symbol))
378 (fboundp 'define-fringe-bitmap))
372 (t t)))) 379 (t t))))
373 (if (not (boundp symbol)) 380 (if (not (boundp symbol))
374 ;; If variables are removed from C code, give an error here! 381 ;; If variables are removed from C code, give an error here!
diff --git a/lisp/cus-theme.el b/lisp/cus-theme.el
index 95a0a4b2896..43cf96e34fa 100644
--- a/lisp/cus-theme.el
+++ b/lisp/cus-theme.el
@@ -168,8 +168,9 @@ It includes all faces in list FACES."
168 (princ " '(") 168 (princ " '(")
169 (prin1 symbol) 169 (prin1 symbol)
170 (princ " ") 170 (princ " ")
171 (prin1 (or (get symbol 'customized-face) 171 (prin1 (list (append '(t)
172 (get symbol 'face-defface-spec))) 172 (custom-face-attributes-get
173 'font-lock-comment-face nil))))
173 (princ ")"))) 174 (princ ")")))
174 faces) 175 faces)
175 (if (bolp) 176 (if (bolp)
diff --git a/lisp/custom.el b/lisp/custom.el
index c4eae52751b..d634160e534 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -583,7 +583,7 @@ This recursively follows aliases."
583(defvar custom-known-themes '(user standard) 583(defvar custom-known-themes '(user standard)
584 "Themes that have been defined with `deftheme'. 584 "Themes that have been defined with `deftheme'.
585The default value is the list (user standard). The theme `standard' 585The default value is the list (user standard). The theme `standard'
586contains the Emacs standard settings from the original Lisp files. The 586contains the settings before custom themes are applied. The
587theme `user' contains all the settings the user customized and saved. 587theme `user' contains all the settings the user customized and saved.
588Additional themes declared with the `deftheme' macro will be added to 588Additional themes declared with the `deftheme' macro will be added to
589the front of this list.") 589the front of this list.")
@@ -649,6 +649,17 @@ See `custom-known-themes' for a list of known themes."
649 (progn 649 (progn
650 (setcar (cdr setting) mode) 650 (setcar (cdr setting) mode)
651 (setcar (cddr setting) value)) 651 (setcar (cddr setting) value))
652 (if (and (null old)
653 (boundp symbol))
654 (setq old
655 (list
656 (list 'standard 'set
657 (if (eq prop 'theme-value)
658 (symbol-value symbol)
659 (list
660 (append
661 '(t)
662 (custom-face-attributes-get symbol nil))))))))
652 (put symbol prop (cons (list theme mode value) old))) 663 (put symbol prop (cons (list theme mode value) old)))
653 ;; Record, for each theme, all its settings. 664 ;; Record, for each theme, all its settings.
654 (put theme 'theme-settings 665 (put theme 'theme-settings
@@ -1117,7 +1128,7 @@ See `custom-known-themes' for a list of known themes."
1117 (let* ((prop (car s)) 1128 (let* ((prop (car s))
1118 (symbol (cadr s)) 1129 (symbol (cadr s))
1119 (spec-list (get symbol prop))) 1130 (spec-list (get symbol prop)))
1120 (put symbol 'theme-value (assq-delete-all theme spec-list)) 1131 (put symbol prop (assq-delete-all theme spec-list))
1121 (if (eq prop 'theme-value) 1132 (if (eq prop 'theme-value)
1122 (custom-theme-recalc-variable symbol) 1133 (custom-theme-recalc-variable symbol)
1123 (custom-theme-recalc-face symbol))))) 1134 (custom-theme-recalc-face symbol)))))
@@ -1156,13 +1167,6 @@ This function returns nil if no custom theme specifies a value for VARIABLE."
1156 (if theme-value 1167 (if theme-value
1157 (custom-theme-value (car (car theme-value)) theme-value)))) 1168 (custom-theme-value (car (car theme-value)) theme-value))))
1158 1169
1159(defun custom-face-theme-value (face)
1160 "Return the face spec of FACE according to currently enabled custom themes.
1161This function returns nil if no custom theme specifies anything for FACE."
1162 (let* ((theme-value (get face 'theme-face)))
1163 (if theme-value
1164 (custom-theme-value (car (car theme-value)) theme-value))))
1165
1166(defun custom-theme-recalc-variable (variable) 1170(defun custom-theme-recalc-variable (variable)
1167 "Set VARIABLE according to currently enabled custom themes." 1171 "Set VARIABLE according to currently enabled custom themes."
1168 (let ((valspec (custom-variable-theme-value variable))) 1172 (let ((valspec (custom-variable-theme-value variable)))
@@ -1177,16 +1181,9 @@ This function returns nil if no custom theme specifies anything for FACE."
1177 1181
1178(defun custom-theme-recalc-face (face) 1182(defun custom-theme-recalc-face (face)
1179 "Set FACE according to currently enabled custom themes." 1183 "Set FACE according to currently enabled custom themes."
1180 (let ((spec (custom-face-theme-value face))) 1184 (let ((theme-faces (reverse (get face 'theme-face))))
1181 (when spec 1185 (dolist (spec theme-faces)
1182 (put face 'save-face spec)) 1186 (face-spec-set face (car (cddr spec))))))
1183 (unless spec
1184 (setq spec (get face 'face-defface-spec)))
1185 (when spec
1186 (when (or (get face 'force-face) (facep face))
1187 (unless (facep face)
1188 (make-empty-face face))
1189 (face-spec-set face spec)))))
1190 1187
1191(defun custom-theme-reset-variables (theme &rest args) 1188(defun custom-theme-reset-variables (theme &rest args)
1192 "Reset the specs in THEME of some variables to their values in other themes. 1189 "Reset the specs in THEME of some variables to their values in other themes.
diff --git a/lisp/descr-text.el b/lisp/descr-text.el
index e25d740b89b..5f410da17a7 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -108,7 +108,8 @@ into widget buttons that call `describe-text-category' or
108 (while properties 108 (while properties
109 (push (list (pop properties) (pop properties)) ret)) 109 (push (list (pop properties) (pop properties)) ret))
110 ret) 110 ret)
111 (lambda (a b) (string< (nth 0 a) (nth 0 b))))) 111 (lambda (a b) (string< (prin1-to-string (nth 0 a) t)
112 (prin1-to-string (nth 0 b) t)))))
112 (let ((key (nth 0 elt)) 113 (let ((key (nth 0 elt))
113 (value (nth 1 elt))) 114 (value (nth 1 elt)))
114 (widget-insert (propertize (format " %-20s " key) 115 (widget-insert (propertize (format " %-20s " key)
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index 8e5fa12bad7..778ea092e43 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -220,8 +220,10 @@ for users who call this function in `.emacs'."
220 (unless (or (memq window-system '(x w32))) 220 (unless (or (memq window-system '(x w32)))
221 (and (terminal-coding-system) 221 (and (terminal-coding-system)
222 (set-terminal-coding-system nil)))) 222 (set-terminal-coding-system nil))))
223 ;; Turn off multibyte chars for more compatibility. 223
224 (setq-default enable-multibyte-characters nil) 224 (display-warning 'i18n
225 "`standard-display-european' is semi-obsolete"
226 :warning)
225 227
226 ;; Switch to Latin-1 language environment 228 ;; Switch to Latin-1 language environment
227 ;; unless some other has been specified. 229 ;; unless some other has been specified.
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 5b421f2b3f8..12b265661ea 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -846,9 +846,13 @@ happens, so the major mode can be corrected."
846(defcustom font-lock-support-mode 'jit-lock-mode 846(defcustom font-lock-support-mode 'jit-lock-mode
847 "*Support mode for Font Lock mode. 847 "*Support mode for Font Lock mode.
848Support modes speed up Font Lock mode by being choosy about when fontification 848Support modes speed up Font Lock mode by being choosy about when fontification
849occurs. Known support modes are Fast Lock mode (symbol `fast-lock-mode'), 849occurs. The default support mode, Just-in-time Lock mode (symbol
850Lazy Lock mode (symbol `lazy-lock-mode'), and Just-in-time Lock mode (symbol 850`jit-lock-mode'), is recommended.
851`jit-lock-mode'. See those modes for more info. 851
852Other, older support modes are Fast Lock mode (symbol `fast-lock-mode') and
853Lazy Lock mode (symbol `lazy-lock-mode'). See those modes for more info.
854However, they are no longer recommended, as Just-in-time Lock mode is better.
855
852If nil, means support for Font Lock mode is never performed. 856If nil, means support for Font Lock mode is never performed.
853If a symbol, use that support mode. 857If a symbol, use that support mode.
854If a list, each element should be of the form (MAJOR-MODE . SUPPORT-MODE), 858If a list, each element should be of the form (MAJOR-MODE . SUPPORT-MODE),
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 198e395d260..ac4dc382907 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,112 @@
12005-09-07 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * spam-report.el (spam-report-gmane): Make it work without
4 X-Report-Spam header. Gmane now only provides Archived-At. This
5 is only used if `spam-report-gmane-use-article-number' is nil.
6 (spam-report-gmane-spam-header): Removed. Not used anymore.
7
8 * nnweb.el (nnweb-google-wash-article): Print a message if article
9 is not available.
10
112005-09-07 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
12
13 * gnus-art.el (gnus-mime-display-single): Decode text/* parts
14 content before displaying.
15
162005-09-06 Reiner Steib <Reiner.Steib@gmx.de>
17
18 * mml-smime.el: Remove defvar of gnus-extract-address-components.
19
202005-09-06 Katsumi Yamaoka <yamaoka@jpl.org>
21
22 * mm-view.el (mm-display-inline-fontify): Disable support modes.
23
242005-09-05 Reiner Steib <Reiner.Steib@gmx.de>
25
26 * message.el (message-tab-body-function): Fixed mismatched custom
27 type.
28
29 * gnus.el (gnus-group-change-level-function): Ditto.
30
31 * gnus-msg.el (gnus-outgoing-message-group): Ditto.
32
33 * gnus-art.el (gnus-signature-limit)
34 (gnus-article-mime-part-function): Ditto.
35
362005-09-04 Reiner Steib <Reiner.Steib@gmx.de>
37
38 * nnweb.el (nnweb-type-definition, nnweb-google-wash-article):
39 Make fetching article by MID work again for Google Groups. Added
40 FIXME concerning gnus-group-make-web-group.
41
42 * mml-smime.el (mml-smime-sign-query, mml-smime-get-dns-cert):
43 Don't depend on Gnus by using mail-extract-address-components if
44 gnus-extract-address-components is not bound.
45
46 * gnus.el (gnus-user-agent): Use list of symbols instead of
47 symbols. Display full version number for (S)XEmacs. Optionally
48 display (S)XEmacs codename.
49
50 * gnus-util.el (gnus-emacs-version): Update for new
51 `gnus-user-agent'.
52
53 * gnus-msg.el (gnus-extended-version): Make it possible to omit
54 Gnus version.
55
562005-09-02 Hrvoje Niksic <hniksic@xemacs.org>
57
58 * mm-encode.el (mm-encode-content-transfer-encoding): Likewise
59 when encoding.
60
61 * mm-bodies.el (mm-decode-content-transfer-encoding):
62 De-canonicalize CRLF for all text content types, not just
63 text/plain.
64
652005-09-02 Katsumi Yamaoka <yamaoka@jpl.org>
66
67 * gnus-sum.el (gnus-thread-hide-subtree): Doc fix.
68
69 * gnus-msg.el (gnus-inews-insert-gcc): Fix the mistake of using
70 list, not listp.
71
722005-08-29 Romain Francoise <romain@orebokech.com>
73
74 * gnus-fun.el (gnus-convert-image-to-face-command): Fix typo in
75 docstring.
76 (gnus-face-from-file): Likewise.
77
782005-08-31 Juanma Barranquero <lekktu@gmail.com>
79
80 * gnus-art.el (w3m-minor-mode-map):
81 * gnus-spec.el (gnus-newsrc-file-version):
82 * gnus-util.el (nnmail-active-file-coding-system)
83 (gnus-original-article-buffer, gnus-user-agent):
84 * gnus.el (gnus-ham-process-destinations)
85 (gnus-parameter-ham-marks-alist)
86 (gnus-parameter-spam-marks-alist, gnus-spam-autodetect)
87 (gnus-spam-autodetect-methods, gnus-spam-newsgroup-contents)
88 (gnus-spam-process-destinations, gnus-spam-process-newsgroups):
89 * mm-decode.el (gnus-current-window-configuration):
90 * mm-extern.el (gnus-article-mime-handles):
91 * mm-url.el (url-current-object, url-package-name)
92 (url-package-version):
93 * mm-view.el (gnus-article-mime-handles, gnus-newsgroup-charset)
94 (smime-keys, w3m-cid-retrieve-function-alist)
95 (w3m-current-buffer, w3m-display-inline-images)
96 (w3m-minor-mode-map):
97 * mml-smime.el (gnus-extract-address-components):
98 * mml.el (gnus-article-mime-handles, gnus-mouse-2)
99 (gnus-newsrc-hashtb, message-default-charset)
100 (message-deletable-headers, message-options)
101 (message-posting-charset, message-required-mail-headers)
102 (message-required-news-headers):
103 * mml1991.el (mc-pgp-always-sign):
104 * mml2015.el (mc-pgp-always-sign):
105 * nnheader.el (nnmail-extra-headers):
106 * rfc1843.el (gnus-decode-encoded-word-function)
107 (gnus-decode-header-function, gnus-newsgroup-name):
108 * spam-stat.el (gnus-original-article-buffer): Add defvars.
109
12005-08-31 Juanma Barranquero <lekktu@gmail.com> 1102005-08-31 Juanma Barranquero <lekktu@gmail.com>
2 111
3 * gnus-art.el (w3m-minor-mode-map): 112 * gnus-art.el (w3m-minor-mode-map):
@@ -151,8 +260,6 @@
151 * gnus-util.el (gnus-beginning-of-window): Remove. 260 * gnus-util.el (gnus-beginning-of-window): Remove.
152 (gnus-end-of-window): Remove. 261 (gnus-end-of-window): Remove.
153 262
154 * lpath.el: Don't bind scroll-margin.
155
1562005-07-25 Simon Josefsson <jas@extundo.com> 2632005-07-25 Simon Josefsson <jas@extundo.com>
157 264
158 * pgg.el (pgg-insert-url-with-w3): Don't load w3, it is possible 265 * pgg.el (pgg-insert-url-with-w3): Don't load w3, it is possible
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 822448fa460..3bdc93935bc 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -236,7 +236,8 @@ longer (in lines) than that number. If it is a function, the function
236will be called without any parameters, and if it returns nil, there is 236will be called without any parameters, and if it returns nil, there is
237no signature in the buffer. If it is a string, it will be used as a 237no signature in the buffer. If it is a string, it will be used as a
238regexp. If it matches, the text in question is not a signature." 238regexp. If it matches, the text in question is not a signature."
239 :type '(choice (integer :value 200) 239 :type '(choice (const nil)
240 (integer :value 200)
240 (number :value 4.0) 241 (number :value 4.0)
241 (function :value fun) 242 (function :value fun)
242 (regexp :value ".*")) 243 (regexp :value ".*"))
@@ -869,7 +870,8 @@ see http://www.cs.indiana.edu/picons/ftp/index.html"
869This is meant for people who want to do something automatic based 870This is meant for people who want to do something automatic based
870on parts -- for instance, adding Vcard info to a database." 871on parts -- for instance, adding Vcard info to a database."
871 :group 'gnus-article-mime 872 :group 'gnus-article-mime
872 :type 'function) 873 :type '(choice (const nil)
874 function))
873 875
874(defcustom gnus-mime-multipart-functions nil 876(defcustom gnus-mime-multipart-functions nil
875 "An alist of MIME types to functions to display them." 877 "An alist of MIME types to functions to display them."
@@ -4860,7 +4862,14 @@ If displaying \"text/html\" is discouraged \(see
4860 (forward-line -1) 4862 (forward-line -1)
4861 (setq beg (point))) 4863 (setq beg (point)))
4862 (gnus-article-insert-newline) 4864 (gnus-article-insert-newline)
4863 (mm-insert-inline handle (mm-get-part handle)) 4865 (mm-insert-inline handle
4866 (let ((charset
4867 (mail-content-type-get
4868 (mm-handle-type handle) 'charset)))
4869 (if (eq charset 'gnus-decoded)
4870 (mm-get-part handle)
4871 (mm-decode-string (mm-get-part handle)
4872 charset))))
4864 (goto-char (point-max)))) 4873 (goto-char (point-max))))
4865 ;; Do highlighting. 4874 ;; Do highlighting.
4866 (save-excursion 4875 (save-excursion
diff --git a/lisp/gnus/gnus-fun.el b/lisp/gnus/gnus-fun.el
index 94f42efc360..43cd02c1b5e 100644
--- a/lisp/gnus/gnus-fun.el
+++ b/lisp/gnus/gnus-fun.el
@@ -54,7 +54,7 @@ on stdout."
54 :type 'string) 54 :type 'string)
55 55
56(defcustom gnus-convert-image-to-face-command "djpeg %s | ppmnorm | pnmscale -width 48 -height 48 | ppmquant %d | pnmtopng" 56(defcustom gnus-convert-image-to-face-command "djpeg %s | ppmnorm | pnmscale -width 48 -height 48 | ppmquant %d | pnmtopng"
57 "Command for converting an image to an Face. 57 "Command for converting an image to a Face.
58By default it takes a JPEG filename and output the Face header data 58By default it takes a JPEG filename and output the Face header data
59on stdout." 59on stdout."
60 :version "22.1" 60 :version "22.1"
@@ -110,7 +110,7 @@ Output to the current buffer, replace text, and don't mingle error."
110 110
111;;;###autoload 111;;;###autoload
112(defun gnus-face-from-file (file) 112(defun gnus-face-from-file (file)
113 "Return an Face header based on an image file." 113 "Return a Face header based on an image file."
114 (interactive "fImage file name (by default JPEG): ") 114 (interactive "fImage file name (by default JPEG): ")
115 (when (file-exists-p file) 115 (when (file-exists-p file)
116 (let ((done nil) 116 (let ((done nil)
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 0614a2304f7..eced2a8097a 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -67,8 +67,10 @@ message in, you can set this variable to a function that checks the
67current newsgroup name and then returns a suitable group name (or list 67current newsgroup name and then returns a suitable group name (or list
68of names)." 68of names)."
69 :group 'gnus-message 69 :group 'gnus-message
70 :type '(choice (string :tag "Group") 70 :type '(choice (const nil)
71 (function))) 71 (function)
72 (string :tag "Group")
73 (repeat :tag "List of groups" (string :tag "Group"))))
72 74
73(defcustom gnus-mailing-list-groups nil 75(defcustom gnus-mailing-list-groups nil
74 "*If non-nil a regexp matching groups that are really mailing lists. 76 "*If non-nil a regexp matching groups that are really mailing lists.
@@ -1031,17 +1033,18 @@ If SILENT, don't prompt the user."
1031 "Stringified Gnus version and Emacs version. 1033 "Stringified Gnus version and Emacs version.
1032See the variable `gnus-user-agent'." 1034See the variable `gnus-user-agent'."
1033 (interactive) 1035 (interactive)
1034 (let* ((float-output-format nil) 1036 (if (stringp gnus-user-agent)
1035 (gnus-v 1037 gnus-user-agent
1036 (concat "Gnus/" 1038 ;; `gnus-user-agent' is a list:
1037 (prin1-to-string (gnus-continuum-version gnus-version) t) 1039 (let* ((float-output-format nil)
1038 " (" gnus-version ")")) 1040 (gnus-v
1039 (emacs-v (gnus-emacs-version))) 1041 (when (memq 'gnus gnus-user-agent)
1040 (if (stringp gnus-user-agent) 1042 (concat "Gnus/"
1041 gnus-user-agent 1043 (prin1-to-string (gnus-continuum-version gnus-version) t)
1042 (concat gnus-v 1044 " (" gnus-version ")")))
1043 (when emacs-v 1045 (emacs-v (gnus-emacs-version)))
1044 (concat " " emacs-v)))))) 1046 (concat gnus-v (when (and gnus-v emacs-v) " ")
1047 emacs-v))))
1045 1048
1046 1049
1047;;; 1050;;;
@@ -1661,7 +1664,7 @@ this is a reply."
1661 (gcc (cond 1664 (gcc (cond
1662 ((functionp group) 1665 ((functionp group)
1663 (funcall group)) 1666 (funcall group))
1664 ((or (stringp group) (list group)) 1667 ((or (stringp group) (listp group))
1665 group)))) 1668 group))))
1666 (when gcc 1669 (when gcc
1667 (insert "Gcc: " 1670 (insert "Gcc: "
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index c2f7143a9ca..73837e21902 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -257,8 +257,7 @@ simplification is selected."
257 "*If non-nil, hide all threads initially. 257 "*If non-nil, hide all threads initially.
258This can be a predicate specifier which says which threads to hide. 258This can be a predicate specifier which says which threads to hide.
259If threads are hidden, you have to run the command 259If threads are hidden, you have to run the command
260`gnus-summary-show-thread' by hand or use `gnus-select-article-hook' 260`gnus-summary-show-thread' by hand or select an article."
261to expose hidden threads."
262 :group 'gnus-thread 261 :group 'gnus-thread
263 :type '(radio (sexp :format "Non-nil\n" 262 :type '(radio (sexp :format "Non-nil\n"
264 :match (lambda (widget value) 263 :match (lambda (widget value)
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 69bcee90110..4c1721029be 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -1,7 +1,7 @@
1;;; gnus-util.el --- utility functions for Gnus 1;;; gnus-util.el --- utility functions for Gnus
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4;; 2005 Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
7;; Keywords: news 7;; Keywords: news
@@ -1517,41 +1517,48 @@ predicate on the elements."
1517 (nconc (nreverse res) list1 list2)))) 1517 (nconc (nreverse res) list1 list2))))
1518 1518
1519(eval-when-compile 1519(eval-when-compile
1520 (defvar xemacs-codename)) 1520 (defvar xemacs-codename)
1521 (defvar sxemacs-codename)
1522 (defvar emacs-program-version))
1521 1523
1522(defun gnus-emacs-version () 1524(defun gnus-emacs-version ()
1523 "Stringified Emacs version." 1525 "Stringified Emacs version."
1524 (let ((system-v 1526 (let* ((lst (if (listp gnus-user-agent)
1525 (cond 1527 gnus-user-agent
1526 ((eq gnus-user-agent 'emacs-gnus-config) 1528 '(gnus emacs type)))
1527 system-configuration) 1529 (system-v (cond ((memq 'config lst)
1528 ((eq gnus-user-agent 'emacs-gnus-type) 1530 system-configuration)
1529 (symbol-name system-type)) 1531 ((memq 'type lst)
1530 (t nil)))) 1532 (symbol-name system-type))
1533 (t nil)))
1534 codename emacsname)
1535 (cond ((featurep 'sxemacs)
1536 (setq emacsname "SXEmacs"
1537 codename sxemacs-codename))
1538 ((featurep 'xemacs)
1539 (setq emacsname "XEmacs"
1540 codename xemacs-codename))
1541 (t
1542 (setq emacsname "Emacs")))
1531 (cond 1543 (cond
1532 ((eq gnus-user-agent 'gnus) 1544 ((not (memq 'emacs lst))
1533 nil) 1545 nil)
1534 ((string-match "^\\(\\([.0-9]+\\)*\\)\\.[0-9]+$" emacs-version) 1546 ((string-match "^\\(\\([.0-9]+\\)*\\)\\.[0-9]+$" emacs-version)
1547 ;; Emacs:
1535 (concat "Emacs/" (match-string 1 emacs-version) 1548 (concat "Emacs/" (match-string 1 emacs-version)
1536 (if system-v 1549 (if system-v
1537 (concat " (" system-v ")") 1550 (concat " (" system-v ")")
1538 ""))) 1551 "")))
1539 ((string-match 1552 ((or (featurep 'sxemacs) (featurep 'xemacs))
1540 "\\([A-Z]*[Mm][Aa][Cc][Ss]\\)[^(]*\\(\\((beta.*)\\|'\\)\\)?" 1553 ;; XEmacs or SXEmacs:
1541 emacs-version) 1554 (concat emacsname "/" emacs-program-version
1542 (concat 1555 " ("
1543 (match-string 1 emacs-version) 1556 (when (and (memq 'codename lst)
1544 (format "/%d.%d" emacs-major-version emacs-minor-version) 1557 codename)
1545 (if (match-beginning 3) 1558 (concat codename
1546 (match-string 3 emacs-version) 1559 (when system-v ", ")))
1547 "") 1560 (when system-v system-v)
1548 (if (boundp 'xemacs-codename)
1549 (concat
1550 " (" xemacs-codename
1551 (if system-v
1552 (concat ", " system-v ")")
1553 ")")) 1561 ")"))
1554 "")))
1555 (t emacs-version)))) 1562 (t emacs-version))))
1556 1563
1557(defun gnus-rename-file (old-path new-path &optional trim) 1564(defun gnus-rename-file (old-path new-path &optional trim)
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index e1abe07b559..d0e199e2d06 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -2343,7 +2343,8 @@ following hook:
2343 "Function run when a group level is changed. 2343 "Function run when a group level is changed.
2344It is called with three parameters -- GROUP, LEVEL and OLDLEVEL." 2344It is called with three parameters -- GROUP, LEVEL and OLDLEVEL."
2345 :group 'gnus-group-levels 2345 :group 'gnus-group-levels
2346 :type 'function) 2346 :type '(choice (const nil)
2347 function))
2347 2348
2348;;; Face thingies. 2349;;; Face thingies.
2349 2350
@@ -2472,24 +2473,45 @@ This should be an alist for Emacs, or a plist for XEmacs."
2472 (symbol :tag "Parameter") 2473 (symbol :tag "Parameter")
2473 (sexp :tag "Value"))))) 2474 (sexp :tag "Value")))))
2474 2475
2475(defcustom gnus-user-agent 'emacs-gnus-type 2476(defcustom gnus-user-agent '(emacs gnus type)
2476 "Which information should be exposed in the User-Agent header. 2477 "Which information should be exposed in the User-Agent header.
2477 2478
2478It can be one of the symbols `gnus' \(show only Gnus version\), `emacs-gnus' 2479Can be a list of symbols or a string. Valid symbols are `gnus'
2479\(show only Emacs and Gnus versions\), `emacs-gnus-config' \(same as 2480\(show Gnus version\) and `emacs' \(show Emacs version\). In
2480`emacs-gnus' plus system configuration\), `emacs-gnus-type' \(same as 2481addition to the Emacs version, you can add `codename' \(show
2481`emacs-gnus' plus system type\) or a custom string. If you set it to a 2482\(S\)XEmacs codename\) or either `config' \(show system
2482string, be sure to use a valid format, see RFC 2616." 2483configuration\) or `type' \(show system type\). If you set it to
2484a string, be sure to use a valid format, see RFC 2616."
2485
2483 :version "22.1" 2486 :version "22.1"
2484 :group 'gnus-message 2487 :group 'gnus-message
2485 :type '(choice 2488 :type '(choice (list (set :inline t
2486 (item :tag "Show Gnus and Emacs versions and system type" 2489 (const gnus :tag "Gnus version")
2487 emacs-gnus-type) 2490 (const emacs :tag "Emacs version")
2488 (item :tag "Show Gnus and Emacs versions and system configuration" 2491 (choice :tag "system"
2489 emacs-gnus-config) 2492 (const type :tag "system type")
2490 (item :tag "Show Gnus and Emacs versions" emacs-gnus) 2493 (const config :tag "system configuration"))
2491 (item :tag "Show only Gnus version" gnus) 2494 (const codename :tag "Emacs codename")))
2492 (string :tag "Other"))) 2495 (string)))
2496
2497;; Convert old (No Gnus < 2005-01-10, v5-10 < 2005-09-05) symbol type values:
2498(when (symbolp gnus-user-agent)
2499 (setq gnus-user-agent
2500 (cond ((eq gnus-user-agent 'emacs-gnus-config)
2501 '(emacs gnus config))
2502 ((eq gnus-user-agent 'emacs-gnus-type)
2503 '(emacs gnus type))
2504 ((eq gnus-user-agent 'emacs-gnus)
2505 '(emacs gnus))
2506 ((eq gnus-user-agent 'gnus)
2507 '(gnus))
2508 (t gnus-user-agent)))
2509 (gnus-message 1 "Converted `gnus-user-agent' to `%s'." gnus-user-agent)
2510 (sit-for 1)
2511 (if (get 'gnus-user-agent 'saved-value)
2512 (customize-save-variable 'gnus-user-agent gnus-user-agent)
2513 (gnus-message 1 "Edit your init file to make this change permanent.")
2514 (sit-for 2)))
2493 2515
2494 2516
2495;;; Internal variables 2517;;; Internal variables
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 7c55b7cc72f..5995fcbcea0 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -6631,7 +6631,8 @@ If nil, the function bound in `text-mode-map' or `global-map' is executed."
6631 :version "22.1" 6631 :version "22.1"
6632 :group 'message 6632 :group 'message
6633 :link '(custom-manual "(message)Various Commands") 6633 :link '(custom-manual "(message)Various Commands")
6634 :type 'function) 6634 :type '(choice (const nil)
6635 function))
6635 6636
6636(defun message-tab () 6637(defun message-tab ()
6637 "Complete names according to `message-completion-alist'. 6638 "Complete names according to `message-completion-alist'.
diff --git a/lisp/gnus/mm-bodies.el b/lisp/gnus/mm-bodies.el
index ffca7da75bf..e9f8f1e9391 100644
--- a/lisp/gnus/mm-bodies.el
+++ b/lisp/gnus/mm-bodies.el
@@ -228,7 +228,7 @@ If TYPE is `text/plain' CRLF->LF translation may occur."
228 nil)) 228 nil))
229 (when (and 229 (when (and
230 (memq encoding '(base64 x-uuencode x-uue x-binhex x-yenc)) 230 (memq encoding '(base64 x-uuencode x-uue x-binhex x-yenc))
231 (equal type "text/plain")) 231 (string-match "\\`text/" type))
232 (goto-char (point-min)) 232 (goto-char (point-min))
233 (while (search-forward "\r\n" nil t) 233 (while (search-forward "\r\n" nil t)
234 (replace-match "\n" t t))))) 234 (replace-match "\n" t t)))))
diff --git a/lisp/gnus/mm-encode.el b/lisp/gnus/mm-encode.el
index fd6251c37d3..5e149d16ed3 100644
--- a/lisp/gnus/mm-encode.el
+++ b/lisp/gnus/mm-encode.el
@@ -118,7 +118,7 @@ ENCODING can be: nil (do nothing); one of `quoted-printable', `base64';
118 ;; Likewise base64 below. 118 ;; Likewise base64 below.
119 (quoted-printable-encode-region (point-min) (point-max) t)) 119 (quoted-printable-encode-region (point-min) (point-max) t))
120 ((eq encoding 'base64) 120 ((eq encoding 'base64)
121 (when (equal type "text/plain") 121 (when (string-match "\\`text/" type)
122 (goto-char (point-min)) 122 (goto-char (point-min))
123 (while (search-forward "\n" nil t) 123 (while (search-forward "\n" nil t)
124 (replace-match "\r\n" t t))) 124 (replace-match "\r\n" t t)))
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index 2d78ccab864..ac408aa179f 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -476,14 +476,16 @@
476 (buffer-disable-undo) 476 (buffer-disable-undo)
477 (mm-insert-part handle) 477 (mm-insert-part handle)
478 (require 'font-lock) 478 (require 'font-lock)
479 ;; Inhibit font-lock this time (*-mode-hook might run 479 (let ((font-lock-maximum-size nil)
480 ;; `turn-on-font-lock') so that jit-lock may not turn off 480 ;; Disable support modes, e.g., jit-lock, lazy-lock, etc.
481 ;; font-lock immediately after this. 481 (font-lock-mode-hook nil)
482 (let ((font-lock-mode t)) 482 (font-lock-support-mode nil)
483 (funcall mode)) 483 ;; I find font-lock a bit too verbose.
484 (let ((font-lock-verbose nil)) 484 (font-lock-verbose nil))
485 ;; I find font-lock a bit too verbose. 485 (funcall mode)
486 (font-lock-fontify-buffer)) 486 ;; The mode function might have already turned on font-lock.
487 (unless (symbol-value 'font-lock-mode)
488 (font-lock-fontify-buffer)))
487 ;; By default, XEmacs font-lock uses non-duplicable text 489 ;; By default, XEmacs font-lock uses non-duplicable text
488 ;; properties. This code forces all the text properties 490 ;; properties. This code forces all the text properties
489 ;; to be copied along with the text. 491 ;; to be copied along with the text.
diff --git a/lisp/gnus/mml-smime.el b/lisp/gnus/mml-smime.el
index 8a5ba61d002..2933c14744a 100644
--- a/lisp/gnus/mml-smime.el
+++ b/lisp/gnus/mml-smime.el
@@ -29,8 +29,6 @@
29 29
30(eval-when-compile (require 'cl)) 30(eval-when-compile (require 'cl))
31 31
32(defvar gnus-extract-address-components)
33
34(require 'smime) 32(require 'smime)
35(require 'mm-decode) 33(require 'mm-decode)
36(autoload 'message-narrow-to-headers "message") 34(autoload 'message-narrow-to-headers "message")
@@ -81,7 +79,10 @@
81 (list 'keyfile 79 (list 'keyfile
82 (if (= (length smime-keys) 1) 80 (if (= (length smime-keys) 1)
83 (cadar smime-keys) 81 (cadar smime-keys)
84 (or (let ((from (cadr (funcall gnus-extract-address-components 82 (or (let ((from (cadr (funcall (if (boundp
83 'gnus-extract-address-components)
84 gnus-extract-address-components
85 'mail-extract-address-components)
85 (or (save-excursion 86 (or (save-excursion
86 (save-restriction 87 (save-restriction
87 (message-narrow-to-headers) 88 (message-narrow-to-headers)
@@ -107,7 +108,10 @@
107 (while (not result) 108 (while (not result)
108 (setq who (read-from-minibuffer 109 (setq who (read-from-minibuffer
109 (format "%sLookup certificate for: " (or bad "")) 110 (format "%sLookup certificate for: " (or bad ""))
110 (cadr (funcall gnus-extract-address-components 111 (cadr (funcall (if (boundp
112 'gnus-extract-address-components)
113 gnus-extract-address-components
114 'mail-extract-address-components)
111 (or (save-excursion 115 (or (save-excursion
112 (save-restriction 116 (save-restriction
113 (message-narrow-to-headers) 117 (message-narrow-to-headers)
diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el
index d05520ee1dc..d3737cd66fd 100644
--- a/lisp/gnus/nnweb.el
+++ b/lisp/gnus/nnweb.el
@@ -27,6 +27,12 @@
27 27
28;; Note: You need to have `w3' installed for some functions to work. 28;; Note: You need to have `w3' installed for some functions to work.
29 29
30;; FIXME: Due to changes in the HTML output of Google Groups and Gmane, stuff
31;; related to web groups (gnus-group-make-web-group) doesn't work anymore.
32
33;; Fetching an article by MID (cf. gnus-refer-article-method) over Google
34;; Groups should work.
35
30;;; Code: 36;;; Code:
31 37
32(eval-when-compile (require 'cl)) 38(eval-when-compile (require 'cl))
@@ -54,13 +60,13 @@ Valid types include `google', `dejanews', and `gmane'.")
54 60
55(defvar nnweb-type-definition 61(defvar nnweb-type-definition
56 '((google 62 '((google
57 (article . ignore) 63 (id . "http://www.google.com/groups?as_umsgid=%s&hl=en&dmode=source")
58 (id . "http://groups.google.de/groups?selm=%s&output=gplain") 64 (article . nnweb-google-wash-article)
59 (reference . identity) 65 (reference . identity)
60 (map . nnweb-google-create-mapping) 66 (map . nnweb-google-create-mapping)
61 (search . nnweb-google-search) 67 (search . nnweb-google-search)
62 (address . "http://groups.google.de/groups") 68 (address . "http://groups.google.com/groups")
63 (base . "http://groups.google.de") 69 (base . "http://groups.google.com")
64 (identifier . nnweb-google-identity)) 70 (identifier . nnweb-google-identity))
65 (dejanews ;; alias of google 71 (dejanews ;; alias of google
66 (article . ignore) 72 (article . ignore)
@@ -306,35 +312,29 @@ Valid types include `google', `dejanews', and `gmane'.")
306 (current-buffer)))))) 312 (current-buffer))))))
307 313
308;;; 314;;;
309;;; Deja bought by google.com 315;;; groups.google.com
310;;; 316;;;
311 317
312(defun nnweb-google-wash-article () 318(defun nnweb-google-wash-article ()
313 (let ((case-fold-search t) url) 319 ;; We have Google's masked e-mail addresses here. :-/
314 (goto-char (point-min)) 320 (let ((case-fold-search t))
315 (re-search-forward "^<pre>" nil t)
316 (narrow-to-region (point-min) (point))
317 (search-backward "<table " nil t 2)
318 (delete-region (point-min) (point))
319 (if (re-search-forward "Search Result [0-9]+" nil t)
320 (replace-match ""))
321 (if (re-search-forward "View complete thread ([0-9]+ articles?)" nil t)
322 (replace-match ""))
323 (goto-char (point-min))
324 (while (search-forward "<br>" nil t)
325 (replace-match "\n"))
326 (mm-url-remove-markup)
327 (goto-char (point-min)) 321 (goto-char (point-min))
328 (while (re-search-forward "^[ \t]*\n" nil t) 322 (if (save-excursion
329 (replace-match "")) 323 (or (re-search-forward "The requested message.*could not be found."
330 (goto-char (point-max)) 324 nil t)
331 (insert "\n") 325 (not (and (re-search-forward "^<pre>" nil t)
332 (widen) 326 (re-search-forward "^</pre>" nil t)))))
333 (narrow-to-region (point) (point-max)) 327 ;; FIXME: Don't know how to indicate "not found".
334 (search-forward "</pre>" nil t) 328 ;; Should this function throw an error? --rsteib
335 (delete-region (point) (point-max)) 329 (progn
336 (mm-url-remove-markup) 330 (gnus-message 3 "Requested article not found")
337 (widen))) 331 (erase-buffer))
332 (delete-region (point-min)
333 (1+ (re-search-forward "^<pre>" nil t)))
334 (goto-char (point-min))
335 (delete-region (- (re-search-forward "^</pre>" nil t) (length "</pre>"))
336 (point-max))
337 (mm-url-decode-entities))))
338 338
339(defun nnweb-google-parse-1 (&optional Message-ID) 339(defun nnweb-google-parse-1 (&optional Message-ID)
340 (let ((i 0) 340 (let ((i 0)
diff --git a/lisp/gnus/spam-report.el b/lisp/gnus/spam-report.el
index 50a564885bb..302cafbb19b 100644
--- a/lisp/gnus/spam-report.el
+++ b/lisp/gnus/spam-report.el
@@ -49,12 +49,6 @@ instead."
49 (regexp :value "^nntp\+.*:gmane\.")) 49 (regexp :value "^nntp\+.*:gmane\."))
50 :group 'spam-report) 50 :group 'spam-report)
51 51
52(defcustom spam-report-gmane-spam-header
53 "^X-Report-Spam: http://\\([^/]+\\)\\(.*\\)$"
54 "String matching Gmane spam-reporting header. Two match groups are needed."
55 :type 'regexp
56 :group 'spam-report)
57
58(defcustom spam-report-gmane-use-article-number t 52(defcustom spam-report-gmane-use-article-number t
59 "Whether the article number (faster!) or the header should be used." 53 "Whether the article number (faster!) or the header should be used."
60 :type 'boolean 54 :type 'boolean
@@ -103,19 +97,40 @@ undo that change.")
103 article)) 97 article))
104 (with-current-buffer nntp-server-buffer 98 (with-current-buffer nntp-server-buffer
105 (gnus-request-head article gnus-newsgroup-name) 99 (gnus-request-head article gnus-newsgroup-name)
106 (goto-char (point-min)) 100 (let ((case-fold-search t)
107 (if (re-search-forward spam-report-gmane-spam-header nil t) 101 field host report url)
108 (let* ((host (match-string 1)) 102 ;; First check for X-Report-Spam because it's more specific to
109 (report (match-string 2)) 103 ;; spam reporting than Archived-At. OTOH, all new articles on
110 (url (format "http://%s%s" host report))) 104 ;; Gmane don't have X-Report-Spam anymore (unless Lars changes his
111 (gnus-message 7 "Reporting spam through URL %s..." url) 105 ;; mind :-)).
112 (spam-report-url-ping host report)) 106 ;;
113 (gnus-message 3 "Could not find X-Report-Spam in article %d..." 107 ;; There might be more than one Archived-At header so we need to
114 article))))))) 108 ;; find (and transform) the one related to Gmane.
109 (setq field (or (gnus-fetch-field "X-Report-Spam")
110 (gnus-fetch-field "Archived-At")))
111 (setq host (progn
112 (string-match
113 (concat "http://\\([a-z]+\\.gmane\\.org\\)"
114 "\\(/[^:/]+[:/][0-9]+\\)")
115 field)
116 (match-string 1 field)))
117 (setq report (match-string 2 field))
118 (when (string-equal "permalink.gmane.org" host)
119 (setq host "spam.gmane.org"))
120 (setq url (format "http://%s%s" host report))
121 (if (not (and host report url))
122 (gnus-message
123 3 "Could not find a spam report header in article %d..."
124 article)
125 (gnus-message 7 "Reporting spam through URL %s..." url)
126 (spam-report-url-ping host report))))))))
115 127
116(defun spam-report-url-ping (host report) 128(defun spam-report-url-ping (host report)
117 "Ping a host through HTTP, addressing a specific GET resource using 129 "Ping a host through HTTP, addressing a specific GET resource using
118the function specified by `spam-report-url-ping-function'." 130the function specified by `spam-report-url-ping-function'."
131 ;; Example:
132 ;; host: "spam.gmane.org"
133 ;; report: "/gmane.some.group:123456"
119 (funcall spam-report-url-ping-function host report)) 134 (funcall spam-report-url-ping-function host report))
120 135
121(defun spam-report-url-ping-plain (host report) 136(defun spam-report-url-ping-plain (host report)
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index f2dec757520..f5c34ff80ca 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -130,6 +130,7 @@ This is used by the default mail-sending commands. See also
130 :type '(radio (function-item sendmail-send-it :tag "Use Sendmail package") 130 :type '(radio (function-item sendmail-send-it :tag "Use Sendmail package")
131 (function-item smtpmail-send-it :tag "Use SMTPmail package") 131 (function-item smtpmail-send-it :tag "Use SMTPmail package")
132 (function-item feedmail-send-it :tag "Use Feedmail package") 132 (function-item feedmail-send-it :tag "Use Feedmail package")
133 (function-item mailclient-send-it :tag "Use Mailclient package")
133 function) 134 function)
134 :group 'sendmail) 135 :group 'sendmail)
135 136
@@ -886,9 +887,9 @@ See also the function `select-message-coding-system'.")
886 "Default coding system for encoding the outgoing mail. 887 "Default coding system for encoding the outgoing mail.
887This variable is used only when `sendmail-coding-system' is nil. 888This variable is used only when `sendmail-coding-system' is nil.
888 889
889This variable is set/changed by the command set-language-environment. 890This variable is set/changed by the command `set-language-environment'.
890User should not set this variable manually, 891User should not set this variable manually,
891instead use sendmail-coding-system to get a constant encoding 892instead use `sendmail-coding-system' to get a constant encoding
892of outgoing mails regardless of the current language environment. 893of outgoing mails regardless of the current language environment.
893See also the function `select-message-coding-system'.") 894See also the function `select-message-coding-system'.")
894 895
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 302ede8c8ff..efb16807c56 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -105,10 +105,12 @@ A large number or nil slows down menu responsiveness."
105 105
106(define-key menu-bar-file-menu [split-window] 106(define-key menu-bar-file-menu [split-window]
107 '(menu-item "Split Window" split-window-vertically 107 '(menu-item "Split Window" split-window-vertically
108 :enable (and (frame-live-p menu-updating-frame) 108 :enable (or (not (display-multi-frame-p))
109 (frame-visible-p menu-updating-frame ) 109 (and (frame-live-p menu-updating-frame)
110 (not (window-minibuffer-p 110 (frame-visible-p menu-updating-frame )
111 (frame-selected-window menu-updating-frame)))) 111 (not (window-minibuffer-p
112 (frame-selected-window
113 menu-updating-frame)))))
112 :help "Split selected window in two windows")) 114 :help "Split selected window in two windows"))
113 115
114(define-key menu-bar-file-menu [separator-window] 116(define-key menu-bar-file-menu [separator-window]
@@ -120,8 +122,9 @@ A large number or nil slows down menu responsiveness."
120 :help "Pretty-print marked region in black and white to PostScript printer")) 122 :help "Pretty-print marked region in black and white to PostScript printer"))
121(define-key menu-bar-file-menu [ps-print-buffer] 123(define-key menu-bar-file-menu [ps-print-buffer]
122 '(menu-item "Postscript Print Buffer (B+W)" ps-print-buffer 124 '(menu-item "Postscript Print Buffer (B+W)" ps-print-buffer
123 :enable (and (frame-live-p menu-updating-frame) 125 :enable (or (not (display-multi-frame-p))
124 (frame-visible-p menu-updating-frame )) 126 (and (frame-live-p menu-updating-frame)
127 (frame-visible-p menu-updating-frame)))
125 :help "Pretty-print current buffer in black and white to PostScript printer")) 128 :help "Pretty-print current buffer in black and white to PostScript printer"))
126(define-key menu-bar-file-menu [ps-print-region-faces] 129(define-key menu-bar-file-menu [ps-print-region-faces]
127 '(menu-item "Postscript Print Region" ps-print-region-with-faces 130 '(menu-item "Postscript Print Region" ps-print-region-with-faces
@@ -129,8 +132,9 @@ A large number or nil slows down menu responsiveness."
129 :help "Pretty-print marked region to PostScript printer")) 132 :help "Pretty-print marked region to PostScript printer"))
130(define-key menu-bar-file-menu [ps-print-buffer-faces] 133(define-key menu-bar-file-menu [ps-print-buffer-faces]
131 '(menu-item "Postscript Print Buffer" ps-print-buffer-with-faces 134 '(menu-item "Postscript Print Buffer" ps-print-buffer-with-faces
132 :enable (and (frame-live-p menu-updating-frame) 135 :enable (or (not (display-multi-frame-p))
133 (frame-visible-p menu-updating-frame )) 136 (and (frame-live-p menu-updating-frame)
137 (frame-visible-p menu-updating-frame)))
134 :help "Pretty-print current buffer to PostScript printer")) 138 :help "Pretty-print current buffer to PostScript printer"))
135(define-key menu-bar-file-menu [print-region] 139(define-key menu-bar-file-menu [print-region]
136 '(menu-item "Print Region" print-region 140 '(menu-item "Print Region" print-region
@@ -138,8 +142,9 @@ A large number or nil slows down menu responsiveness."
138 :help "Print region between mark and current position")) 142 :help "Print region between mark and current position"))
139(define-key menu-bar-file-menu [print-buffer] 143(define-key menu-bar-file-menu [print-buffer]
140 '(menu-item "Print Buffer" print-buffer 144 '(menu-item "Print Buffer" print-buffer
141 :enable (and (frame-live-p menu-updating-frame) 145 :enable (or (not (display-multi-frame-p))
142 (frame-visible-p menu-updating-frame )) 146 (and (frame-live-p menu-updating-frame)
147 (frame-visible-p menu-updating-frame)))
143 :help "Print current buffer with page headings")) 148 :help "Print current buffer with page headings"))
144 149
145(define-key menu-bar-file-menu [separator-print] 150(define-key menu-bar-file-menu [separator-print]
@@ -170,17 +175,21 @@ A large number or nil slows down menu responsiveness."
170 :help "Re-read current buffer from its file")) 175 :help "Re-read current buffer from its file"))
171(define-key menu-bar-file-menu [write-file] 176(define-key menu-bar-file-menu [write-file]
172 '(menu-item "Save As..." write-file 177 '(menu-item "Save As..." write-file
173 :enable (and (frame-live-p menu-updating-frame) 178 :enable (or (not (display-multi-frame-p))
174 (frame-visible-p menu-updating-frame ) 179 (and (frame-live-p menu-updating-frame)
175 (not (window-minibuffer-p 180 (frame-visible-p menu-updating-frame )
176 (frame-selected-window menu-updating-frame)))) 181 (not (window-minibuffer-p
182 (frame-selected-window
183 menu-updating-frame)))))
177 :help "Write current buffer to another file")) 184 :help "Write current buffer to another file"))
178(define-key menu-bar-file-menu [save-buffer] 185(define-key menu-bar-file-menu [save-buffer]
179 '(menu-item "Save" save-buffer 186 '(menu-item "Save" save-buffer
180 :enable (and (buffer-modified-p) 187 :enable (and (buffer-modified-p)
181 (buffer-file-name) 188 (buffer-file-name)
182 (not (window-minibuffer-p 189 (or (not (display-multi-frame-p))
183 (frame-selected-window menu-updating-frame)))) 190 (not (window-minibuffer-p
191 (frame-selected-window
192 menu-updating-frame)))))
184 :help "Save current buffer to its file")) 193 :help "Save current buffer to its file"))
185 194
186(define-key menu-bar-file-menu [separator-save] 195(define-key menu-bar-file-menu [separator-save]
@@ -192,23 +201,28 @@ A large number or nil slows down menu responsiveness."
192 :help "Discard (kill) current buffer")) 201 :help "Discard (kill) current buffer"))
193(define-key menu-bar-file-menu [insert-file] 202(define-key menu-bar-file-menu [insert-file]
194 '(menu-item "Insert File..." insert-file 203 '(menu-item "Insert File..." insert-file
195 :enable (not (window-minibuffer-p 204 :enable (or (not (display-multi-frame-p))
196 (frame-selected-window menu-updating-frame))) 205 (and (not (window-minibuffer-p
206 (frame-selected-window
207 menu-updating-frame)))))
197 :help "Insert another file into current buffer")) 208 :help "Insert another file into current buffer"))
198(define-key menu-bar-file-menu [dired] 209(define-key menu-bar-file-menu [dired]
199 '(menu-item "Open Directory..." dired 210 '(menu-item "Open Directory..." dired
200 :enable (not (window-minibuffer-p 211 :enable (or (not (display-multi-frame-p))
201 (frame-selected-window menu-updating-frame))) 212 (not (window-minibuffer-p
213 (frame-selected-window menu-updating-frame))))
202 :help "Read a directory, operate on its files")) 214 :help "Read a directory, operate on its files"))
203(define-key menu-bar-file-menu [open-file] 215(define-key menu-bar-file-menu [open-file]
204 '(menu-item "Open File..." find-file-existing 216 '(menu-item "Open File..." find-file-existing
205 :enable (not (window-minibuffer-p 217 :enable (or (not (display-multi-frame-p))
206 (frame-selected-window menu-updating-frame))) 218 (not (window-minibuffer-p
219 (frame-selected-window menu-updating-frame))))
207 :help "Read an existing file into an Emacs buffer")) 220 :help "Read an existing file into an Emacs buffer"))
208(define-key menu-bar-file-menu [new-file] 221(define-key menu-bar-file-menu [new-file]
209 '(menu-item "Visit New File..." find-file 222 '(menu-item "Visit New File..." find-file
210 :enable (not (window-minibuffer-p 223 :enable (or (not (display-multi-frame-p))
211 (frame-selected-window menu-updating-frame))) 224 (not (window-minibuffer-p
225 (frame-selected-window menu-updating-frame))))
212 :help "Read or create a file and edit it")) 226 :help "Read or create a file and edit it"))
213 227
214 228
@@ -1043,8 +1057,9 @@ mail status in mode line"))
1043 toggle-truncate-lines 1057 toggle-truncate-lines
1044 :help "Truncate long lines on the screen" 1058 :help "Truncate long lines on the screen"
1045 :button (:toggle . truncate-lines) 1059 :button (:toggle . truncate-lines)
1046 :enable (and (frame-live-p menu-updating-frame) 1060 :enable (or (not (display-multi-frame-p))
1047 (frame-visible-p menu-updating-frame)))) 1061 (and (frame-live-p menu-updating-frame)
1062 (frame-visible-p menu-updating-frame)))))
1048 1063
1049(define-key menu-bar-options-menu [highlight-separator] 1064(define-key menu-bar-options-menu [highlight-separator]
1050 '("--")) 1065 '("--"))
diff --git a/lisp/mouse.el b/lisp/mouse.el
index c928e04f8ed..1970fbf1eeb 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -538,11 +538,10 @@ resized by dragging their header-line."
538 (window (posn-window start)) 538 (window (posn-window start))
539 (frame (window-frame window)) 539 (frame (window-frame window))
540 (first-window (frame-first-window frame))) 540 (first-window (frame-first-window frame)))
541 (when (or (eq window first-window) 541 (unless (or (eq window first-window)
542 (= (nth 1 (window-edges window)) 542 (= (nth 1 (window-edges window))
543 (nth 1 (window-edges first-window)))) 543 (nth 1 (window-edges first-window))))
544 (error "Cannot move header-line at the top of the frame")) 544 (mouse-drag-mode-line-1 start-event nil))))
545 (mouse-drag-mode-line-1 start-event nil)))
546 545
547 546
548(defun mouse-drag-vertical-line (start-event) 547(defun mouse-drag-vertical-line (start-event)
diff --git a/lisp/msb.el b/lisp/msb.el
index 8fa63d98051..94a1599371f 100644
--- a/lisp/msb.el
+++ b/lisp/msb.el
@@ -185,7 +185,7 @@
185 "Elisp Files (%d)") 185 "Elisp Files (%d)")
186 ((eq major-mode 'latex-mode) 186 ((eq major-mode 'latex-mode)
187 3030 187 3030
188 "LaTex Files (%d)") 188 "LaTeX Files (%d)")
189 ('no-multi 189 ('no-multi
190 3099 190 3099
191 "Other files (%d)"))) 191 "Other files (%d)")))
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index e721f3fb016..b8b3fb9068a 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -5213,7 +5213,10 @@ Returns nil if none was found, else the command is returned."
5213 5213
5214(defun tramp-action-password (p multi-method method user host) 5214(defun tramp-action-password (p multi-method method user host)
5215 "Query the user for a password." 5215 "Query the user for a password."
5216 (let ((pw-prompt (match-string 0))) 5216 (let ((pw-prompt
5217 (format "Password for %s "
5218 (tramp-make-tramp-file-name
5219 nil method user host ""))))
5217 (tramp-message 9 "Sending password") 5220 (tramp-message 9 "Sending password")
5218 (tramp-enter-password p pw-prompt user host))) 5221 (tramp-enter-password p pw-prompt user host)))
5219 5222
@@ -5300,8 +5303,12 @@ The terminal type can be configured with `tramp-terminal-type'."
5300 5303
5301(defun tramp-multi-action-password (p method user host) 5304(defun tramp-multi-action-password (p method user host)
5302 "Query the user for a password." 5305 "Query the user for a password."
5303 (tramp-message 9 "Sending password") 5306 (let ((pw-prompt
5304 (tramp-enter-password p (match-string 0) user host)) 5307 (format "Password for %s "
5308 (tramp-make-tramp-file-name
5309 nil method user host ""))))
5310 (tramp-message 9 "Sending password")
5311 (tramp-enter-password p pw-prompt user host)))
5305 5312
5306(defun tramp-multi-action-succeed (p method user host) 5313(defun tramp-multi-action-succeed (p method user host)
5307 "Signal success in finding shell prompt." 5314 "Signal success in finding shell prompt."
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 6321216dcce..f0836cbf2b0 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1688,14 +1688,18 @@ and overlay is highlighted between MK and END-MK."
1688 ;; Show compilation buffer in other window, scrolled to this error. 1688 ;; Show compilation buffer in other window, scrolled to this error.
1689 (let* ((pop-up-windows t) 1689 (let* ((pop-up-windows t)
1690 ;; Use an existing window if it is in a visible frame. 1690 ;; Use an existing window if it is in a visible frame.
1691 (w (or (get-buffer-window (marker-buffer msg) 'visible) 1691 (pre-existing (get-buffer-window (marker-buffer msg) 0))
1692 ;; Pop up a window. 1692 (w (let ((display-buffer-reuse-frames t))
1693 (display-buffer (marker-buffer msg)))) 1693 ;; Pop up a window.
1694 (display-buffer (marker-buffer msg))))
1694 (highlight-regexp (with-current-buffer (marker-buffer msg) 1695 (highlight-regexp (with-current-buffer (marker-buffer msg)
1695 ;; also do this while we change buffer 1696 ;; also do this while we change buffer
1696 (compilation-set-window w msg) 1697 (compilation-set-window w msg)
1697 compilation-highlight-regexp))) 1698 compilation-highlight-regexp)))
1698 (compilation-set-window-height w) 1699 ;; Ideally, the window-size should be passed to `display-buffer' (via
1700 ;; something like special-display-buffer) so it's only used when
1701 ;; creating a new window.
1702 (unless pre-existing (compilation-set-window-height w))
1699 1703
1700 (when highlight-regexp 1704 (when highlight-regexp
1701 (if (timerp next-error-highlight-timer) 1705 (if (timerp next-error-highlight-timer)
diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el
index 0c94120a0f8..85f7e1339f3 100644
--- a/lisp/progmodes/delphi.el
+++ b/lisp/progmodes/delphi.el
@@ -4,6 +4,7 @@
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Ray Blaak <blaak@infomatch.com> 6;; Author: Ray Blaak <blaak@infomatch.com>
7;; Maintainer: FSF (Blaak's email addr bounces, Aug 2005)
7;; Keywords: languages 8;; Keywords: languages
8 9
9;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index d137284f795..e5089d84fb0 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -960,8 +960,7 @@ Convert it to flymake internal format."
960 (setq converted-list (cons (list regexp file line col) converted-list))))) 960 (setq converted-list (cons (list regexp file line col) converted-list)))))
961 converted-list)) 961 converted-list))
962 962
963(eval-when-compile 963(require 'compile)
964 (require 'compile))
965 964
966(defvar flymake-err-line-patterns ; regexp file-idx line-idx col-idx (optional) text-idx(optional), match-end to end of string is error text 965(defvar flymake-err-line-patterns ; regexp file-idx line-idx col-idx (optional) text-idx(optional), match-end to end of string is error text
967 (append 966 (append
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index b8336691307..11ae1c66aa7 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -1833,6 +1833,10 @@ If it isn't in one, return nil."
1833 ;; Don't keep looking across a blank line or comment. 1833 ;; Don't keep looking across a blank line or comment.
1834 (looking-at "$\\|#") 1834 (looking-at "$\\|#")
1835 (not (zerop (forward-line -1)))))) 1835 (not (zerop (forward-line -1))))))
1836 ;; Remove leading and trailing whitespace.
1837 (when found
1838 (setq found (replace-regexp-in-string "[ \t]+\\'" "" found))
1839 (setq found (replace-regexp-in-string "\\`[ \t]+" "" found)))
1836 found))) 1840 found)))
1837 1841
1838(provide 'make-mode) 1842(provide 'make-mode)
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index 7991f1fd1b4..e1af8b0f007 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -267,12 +267,12 @@ The expansion is entirely correct because it uses the C preprocessor."
267 ("\\<sub\\s-+\\S-+\\s-*(\\([^)]+\\))" 1 '(1)) 267 ("\\<sub\\s-+\\S-+\\s-*(\\([^)]+\\))" 1 '(1))
268 ;; regexp and funny quotes 268 ;; regexp and funny quotes
269 ("[?:.,;=!~({[][ \t\n]*\\(/\\)" (1 '(7))) 269 ("[?:.,;=!~({[][ \t\n]*\\(/\\)" (1 '(7)))
270 ("[?:.,;=!~({[ \t\n]\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)" 270 ("\\(^\\|[?:.,;=!~({[ \t]\\)\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)"
271 ;; Nasty cases: 271 ;; Nasty cases:
272 ;; /foo/m $a->m $#m $m @m %m 272 ;; /foo/m $a->m $#m $m @m %m
273 ;; \s (appears often in regexps). 273 ;; \s (appears often in regexps).
274 ;; -s file 274 ;; -s file
275 (2 (if (assoc (char-after (match-beginning 2)) 275 (3 (if (assoc (char-after (match-beginning 3))
276 perl-quote-like-pairs) 276 perl-quote-like-pairs)
277 '(15) '(7)))) 277 '(15) '(7))))
278 ;; TODO: here-documents ("<<\\(\\sw\\|['\"]\\)") 278 ;; TODO: here-documents ("<<\\(\\sw\\|['\"]\\)")
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 4f702186685..e37390f5b80 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -490,7 +490,10 @@ This is buffer-local in every such buffer.")
490 map) 490 map)
491 "Keymap used in Shell-Script mode.") 491 "Keymap used in Shell-Script mode.")
492 492
493 493(defvar sh-skeleton-pair-default-alist '((?( _ ?)) (?\))
494 (?[ ?\s _ ?\s ?]) (?\])
495 (?{ _ ?}) (?\}))
496 "Value to use for `skeleton-pair-default-alist' in Shell-Script mode.")
494 497
495(defcustom sh-dynamic-complete-functions 498(defcustom sh-dynamic-complete-functions
496 '(shell-dynamic-complete-environment-variable 499 '(shell-dynamic-complete-environment-variable
@@ -1362,6 +1365,8 @@ with your script for an edit-interpret-debug cycle."
1362 (make-local-variable 'sh-shell-variables-initialized) 1365 (make-local-variable 'sh-shell-variables-initialized)
1363 (make-local-variable 'imenu-generic-expression) 1366 (make-local-variable 'imenu-generic-expression)
1364 (make-local-variable 'sh-indent-supported-here) 1367 (make-local-variable 'sh-indent-supported-here)
1368 (make-local-variable 'skeleton-pair-default-alist)
1369 (setq skeleton-pair-default-alist sh-skeleton-pair-default-alist)
1365 (setq skeleton-end-hook (lambda () 1370 (setq skeleton-end-hook (lambda ()
1366 (or (eolp) (newline) (indent-relative))) 1371 (or (eolp) (newline) (indent-relative)))
1367 paragraph-start (concat page-delimiter "\\|$") 1372 paragraph-start (concat page-delimiter "\\|$")
diff --git a/lisp/recentf.el b/lisp/recentf.el
index 524d00d389d..20251508941 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -5,7 +5,6 @@
5 5
6;; Author: David Ponce <david@dponce.com> 6;; Author: David Ponce <david@dponce.com>
7;; Created: July 19 1999 7;; Created: July 19 1999
8;; Maintainer: FSF
9;; Keywords: files 8;; Keywords: files
10 9
11;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
@@ -258,7 +257,16 @@ It is passed a filename to give a chance to transform it.
258If it returns nil, the filename is left unchanged." 257If it returns nil, the filename is left unchanged."
259 :group 'recentf 258 :group 'recentf
260 :type '(choice (const :tag "None" nil) 259 :type '(choice (const :tag "None" nil)
260 (const abbreviate-file-name)
261 function)) 261 function))
262
263(defcustom recentf-show-file-shortcuts-flag t
264 "Whether to show ``[N]'' for the Nth item up to 10.
265If non-nil, `recentf-open-files' will show labels for keys that can be
266used as shortcuts to open the Nth file."
267 :group 'recentf
268 :type 'boolean)
269
262 270
263;;; Utilities 271;;; Utilities
264;; 272;;
@@ -349,7 +357,7 @@ filenames."
349 "Convert filename NAME to absolute, and canonicalize it. 357 "Convert filename NAME to absolute, and canonicalize it.
350See also the function `expand-file-name'. 358See also the function `expand-file-name'.
351If defined, call the function `recentf-filename-handler' 359If defined, call the function `recentf-filename-handler'
352to postprocess the canonical name." 360to post process the canonical name."
353 (let* ((filename (expand-file-name name))) 361 (let* ((filename (expand-file-name name)))
354 (or (and recentf-filename-handler 362 (or (and recentf-filename-handler
355 (funcall recentf-filename-handler filename)) 363 (funcall recentf-filename-handler filename))
@@ -926,6 +934,9 @@ Go to the beginning of buffer if not found."
926 (set-keymap-parent km widget-keymap) 934 (set-keymap-parent km widget-keymap)
927 (define-key km "q" 'recentf-cancel-dialog) 935 (define-key km "q" 'recentf-cancel-dialog)
928 (define-key km [down-mouse-1] 'widget-button-click) 936 (define-key km [down-mouse-1] 'widget-button-click)
937 ;; Keys in reverse order of appearence in help.
938 (dolist (k '("0" "9" "8" "7" "6" "5" "4" "3" "2" "1"))
939 (define-key km k 'recentf-open-file-with-key))
929 km) 940 km)
930 "Keymap used in recentf dialogs.") 941 "Keymap used in recentf dialogs.")
931 942
@@ -1063,6 +1074,18 @@ IGNORE other arguments."
1063 (kill-buffer (current-buffer)) 1074 (kill-buffer (current-buffer))
1064 (funcall recentf-menu-action (widget-value widget))) 1075 (funcall recentf-menu-action (widget-value widget)))
1065 1076
1077;; List of files associated to a digit shortcut key.
1078(defvar recentf--files-with-key nil)
1079
1080(defun recentf-show-digit-shortcut-filter (l)
1081 "Filter the list of menu-elements L to show digit shortcuts."
1082 (let ((i 0))
1083 (dolist (e l)
1084 (setq i (1+ i))
1085 (recentf-set-menu-element-item
1086 e (format "[%d] %s" (% i 10) (recentf-menu-element-item e))))
1087 l))
1088
1066(defun recentf-open-files-item (menu-element) 1089(defun recentf-open-files-item (menu-element)
1067 "Return a widget to display MENU-ELEMENT in a dialog buffer." 1090 "Return a widget to display MENU-ELEMENT in a dialog buffer."
1068 (if (consp (cdr menu-element)) 1091 (if (consp (cdr menu-element))
@@ -1085,6 +1108,26 @@ IGNORE other arguments."
1085 :action recentf-open-files-action 1108 :action recentf-open-files-action
1086 ,(cdr menu-element)))) 1109 ,(cdr menu-element))))
1087 1110
1111(defun recentf-open-files-items (files)
1112 "Return a list of widgets to display FILES in a dialog buffer."
1113 (set (make-local-variable 'recentf--files-with-key)
1114 (recentf-trunc-list files 10))
1115 (mapcar 'recentf-open-files-item
1116 (append
1117 ;; When requested group the files with shortcuts together
1118 ;; at the top of the list.
1119 (when recentf-show-file-shortcuts-flag
1120 (setq files (nthcdr 10 files))
1121 (recentf-apply-menu-filter
1122 'recentf-show-digit-shortcut-filter
1123 (mapcar 'recentf-make-default-menu-element
1124 recentf--files-with-key)))
1125 ;; Then the other files.
1126 (recentf-apply-menu-filter
1127 recentf-menu-filter
1128 (mapcar 'recentf-make-default-menu-element
1129 files)))))
1130
1088(defun recentf-open-files (&optional files buffer-name) 1131(defun recentf-open-files (&optional files buffer-name)
1089 "Show a dialog to open a recent file. 1132 "Show a dialog to open a recent file.
1090If optional argument FILES is non-nil, it is a list of recently-opened 1133If optional argument FILES is non-nil, it is a list of recently-opened
@@ -1093,25 +1136,43 @@ If optional argument BUFFER-NAME is non-nil, it is a buffer name to
1093use for the dialog. It defaults to \"*`recentf-menu-title'*\"." 1136use for the dialog. It defaults to \"*`recentf-menu-title'*\"."
1094 (interactive) 1137 (interactive)
1095 (recentf-dialog (or buffer-name (format "*%s*" recentf-menu-title)) 1138 (recentf-dialog (or buffer-name (format "*%s*" recentf-menu-title))
1096 (widget-insert "Click on a file to open it. 1139 (widget-insert "Click on a file"
1097Click on Cancel or type `q' to cancel.\n" ) 1140 (if recentf-show-file-shortcuts-flag
1141 ", or type the corresponding digit key,"
1142 "")
1143 " to open it.\n"
1144 "Click on Cancel or type `q' to cancel.\n")
1098 ;; Use a L&F that looks like the recentf menu. 1145 ;; Use a L&F that looks like the recentf menu.
1099 (tree-widget-set-theme "folder") 1146 (tree-widget-set-theme "folder")
1100 (apply 'widget-create 1147 (apply 'widget-create
1101 `(group 1148 `(group
1102 :indent 2 1149 :indent 2
1103 :format "\n%v\n" 1150 :format "\n%v\n"
1104 ,@(mapcar 'recentf-open-files-item 1151 ,@(recentf-open-files-items (or files recentf-list))))
1105 (recentf-apply-menu-filter
1106 recentf-menu-filter
1107 (mapcar 'recentf-make-default-menu-element
1108 (or files recentf-list))))))
1109 (widget-create 1152 (widget-create
1110 'push-button 1153 'push-button
1111 :notify 'recentf-cancel-dialog 1154 :notify 'recentf-cancel-dialog
1112 "Cancel") 1155 "Cancel")
1113 (recentf-dialog-goto-first 'link))) 1156 (recentf-dialog-goto-first 'link)))
1114 1157
1158(defun recentf-open-file-with-key (n)
1159 "Open the recent file with the shortcut numeric key N.
1160N must be a valid digit.
1161`1' opens the first file, `2' the second file, ... `9' the ninth file.
1162`0' opens the tenth file."
1163 (interactive
1164 (list
1165 (let ((n (string-to-number (this-command-keys))))
1166 (cond
1167 ((zerop n) 10)
1168 ((and (> n 0) (< n 10)) n)
1169 ((error "Invalid digit key %d" n))))))
1170 (when recentf--files-with-key
1171 (let ((file (nth (1- n) recentf--files-with-key)))
1172 (unless file (error "Not that many recent files"))
1173 (kill-buffer (current-buffer))
1174 (funcall recentf-menu-action file))))
1175
1115(defun recentf-open-more-files () 1176(defun recentf-open-more-files ()
1116 "Show a dialog to open a recent file that is not in the menu." 1177 "Show a dialog to open a recent file that is not in the menu."
1117 (interactive) 1178 (interactive)
diff --git a/lisp/simple.el b/lisp/simple.el
index c6837ecabba..cb8fcc97136 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4231,88 +4231,90 @@ If nil, search stops at the beginning of the accessible portion of the buffer."
4231(defun blink-matching-open () 4231(defun blink-matching-open ()
4232 "Move cursor momentarily to the beginning of the sexp before point." 4232 "Move cursor momentarily to the beginning of the sexp before point."
4233 (interactive) 4233 (interactive)
4234 (and (> (point) (1+ (point-min))) 4234 (when (and (> (point) (1+ (point-min)))
4235 blink-matching-paren 4235 blink-matching-paren
4236 ;; Verify an even number of quoting characters precede the close. 4236 ;; Verify an even number of quoting characters precede the close.
4237 (= 1 (logand 1 (- (point) 4237 (= 1 (logand 1 (- (point)
4238 (save-excursion 4238 (save-excursion
4239 (forward-char -1) 4239 (forward-char -1)
4240 (skip-syntax-backward "/\\") 4240 (skip-syntax-backward "/\\")
4241 (point))))) 4241 (point))))))
4242 (let* ((oldpos (point)) 4242 (let* ((oldpos (point))
4243 (blinkpos) 4243 blinkpos
4244 (mismatch) 4244 message-log-max ; Don't log messages about paren matching.
4245 matching-paren) 4245 matching-paren
4246 (save-excursion 4246 open-paren-line-string)
4247 (save-restriction 4247 (save-excursion
4248 (if blink-matching-paren-distance 4248 (save-restriction
4249 (narrow-to-region (max (point-min) 4249 (if blink-matching-paren-distance
4250 (- (point) blink-matching-paren-distance)) 4250 (narrow-to-region (max (point-min)
4251 oldpos)) 4251 (- (point) blink-matching-paren-distance))
4252 (condition-case () 4252 oldpos))
4253 (let ((parse-sexp-ignore-comments 4253 (condition-case ()
4254 (and parse-sexp-ignore-comments 4254 (let ((parse-sexp-ignore-comments
4255 (not blink-matching-paren-dont-ignore-comments)))) 4255 (and parse-sexp-ignore-comments
4256 (setq blinkpos (scan-sexps oldpos -1))) 4256 (not blink-matching-paren-dont-ignore-comments))))
4257 (error nil))) 4257 (setq blinkpos (scan-sexps oldpos -1)))
4258 (and blinkpos 4258 (error nil)))
4259 ;; Not syntax '$'. 4259 (and blinkpos
4260 (not (eq (syntax-class (syntax-after blinkpos)) 8)) 4260 ;; Not syntax '$'.
4261 (setq matching-paren 4261 (not (eq (syntax-class (syntax-after blinkpos)) 8))
4262 (let ((syntax (syntax-after blinkpos))) 4262 (setq matching-paren
4263 (and (consp syntax) 4263 (let ((syntax (syntax-after blinkpos)))
4264 (eq (syntax-class syntax) 4) 4264 (and (consp syntax)
4265 (cdr syntax))) 4265 (eq (syntax-class syntax) 4)
4266 mismatch 4266 (cdr syntax)))))
4267 (or (null matching-paren) 4267 (cond
4268 (/= (char-after (1- oldpos)) 4268 ((or (null matching-paren)
4269 matching-paren)))) 4269 (/= (char-before oldpos)
4270 (if mismatch (setq blinkpos nil)) 4270 matching-paren))
4271 (if blinkpos 4271 (message "Mismatched parentheses"))
4272 ;; Don't log messages about paren matching. 4272 ((not blinkpos)
4273 (let (message-log-max) 4273 (if (not blink-matching-paren-distance)
4274 (goto-char blinkpos) 4274 (message "Unmatched parenthesis")))
4275 (if (pos-visible-in-window-p) 4275 ((pos-visible-in-window-p blinkpos)
4276 (and blink-matching-paren-on-screen 4276 ;; Matching open within window, temporarily move to blinkpos but only
4277 (sit-for blink-matching-delay)) 4277 ;; if `blink-matching-paren-on-screen' is non-nil.
4278 (goto-char blinkpos) 4278 (when blink-matching-paren-on-screen
4279 (message 4279 (save-excursion
4280 "Matches %s" 4280 (goto-char blinkpos)
4281 ;; Show what precedes the open in its line, if anything. 4281 (sit-for blink-matching-delay))))
4282 (if (save-excursion 4282 (t
4283 (skip-chars-backward " \t") 4283 (save-excursion
4284 (not (bolp))) 4284 (goto-char blinkpos)
4285 (buffer-substring (progn (beginning-of-line) (point)) 4285 (setq open-paren-line-string
4286 (1+ blinkpos)) 4286 ;; Show what precedes the open in its line, if anything.
4287 ;; Show what follows the open in its line, if anything. 4287 (if (save-excursion
4288 (if (save-excursion 4288 (skip-chars-backward " \t")
4289 (forward-char 1) 4289 (not (bolp)))
4290 (skip-chars-forward " \t") 4290 (buffer-substring (line-beginning-position)
4291 (not (eolp))) 4291 (1+ blinkpos))
4292 (buffer-substring blinkpos 4292 ;; Show what follows the open in its line, if anything.
4293 (progn (end-of-line) (point))) 4293 (if (save-excursion
4294 ;; Otherwise show the previous nonblank line, 4294 (forward-char 1)
4295 ;; if there is one. 4295 (skip-chars-forward " \t")
4296 (if (save-excursion 4296 (not (eolp)))
4297 (skip-chars-backward "\n \t") 4297 (buffer-substring blinkpos
4298 (not (bobp))) 4298 (line-end-position))
4299 (concat 4299 ;; Otherwise show the previous nonblank line,
4300 (buffer-substring (progn 4300 ;; if there is one.
4301 (if (save-excursion
4302 (skip-chars-backward "\n \t")
4303 (not (bobp)))
4304 (concat
4305 (buffer-substring (progn
4301 (skip-chars-backward "\n \t") 4306 (skip-chars-backward "\n \t")
4302 (beginning-of-line) 4307 (line-beginning-position))
4303 (point)) 4308 (progn (end-of-line)
4304 (progn (end-of-line) 4309 (skip-chars-backward " \t")
4305 (skip-chars-backward " \t") 4310 (point)))
4306 (point))) 4311 ;; Replace the newline and other whitespace with `...'.
4307 ;; Replace the newline and other whitespace with `...'. 4312 "..."
4308 "..." 4313 (buffer-substring blinkpos (1+ blinkpos)))
4309 (buffer-substring blinkpos (1+ blinkpos))) 4314 ;; There is nothing to show except the char itself.
4310 ;; There is nothing to show except the char itself. 4315 (buffer-substring blinkpos (1+ blinkpos)))))))
4311 (buffer-substring blinkpos (1+ blinkpos)))))))) 4316 (message "Matches %s"
4312 (cond (mismatch 4317 (substring-no-properties open-paren-line-string))))))))
4313 (message "Mismatched parentheses"))
4314 ((not blink-matching-paren-distance)
4315 (message "Unmatched parenthesis"))))))))
4316 4318
4317;Turned off because it makes dbx bomb out. 4319;Turned off because it makes dbx bomb out.
4318(setq blink-paren-function 'blink-matching-open) 4320(setq blink-paren-function 'blink-matching-open)
diff --git a/lisp/smerge-mode.el b/lisp/smerge-mode.el
index 4b677edc36a..31c7c4f2f12 100644
--- a/lisp/smerge-mode.el
+++ b/lisp/smerge-mode.el
@@ -372,7 +372,7 @@ This relies on mode-specific knowledge and thus only works in
372some major modes. Uses `smerge-resolve-function' to do the actual work." 372some major modes. Uses `smerge-resolve-function' to do the actual work."
373 (interactive) 373 (interactive)
374 (smerge-match-conflict) 374 (smerge-match-conflict)
375 (smerge-remove-props) 375 (smerge-remove-props (match-beginning 0) (match-end 0))
376 (cond 376 (cond
377 ;; Trivial diff3 -A non-conflicts. 377 ;; Trivial diff3 -A non-conflicts.
378 ((and (eq (match-end 1) (match-end 3)) 378 ((and (eq (match-end 1) (match-end 3))
diff --git a/lisp/woman.el b/lisp/woman.el
index 5ecc4744305..e5753d746f7 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -3,7 +3,7 @@
3;; Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 4
5;; Author: Francis J. Wright <F.J.Wright@qmul.ac.uk> 5;; Author: Francis J. Wright <F.J.Wright@qmul.ac.uk>
6;; Maintainer: Francis J. Wright <F.J.Wright@qmul.ac.uk> 6;; Maintainer: FSF
7;; Keywords: help, unix 7;; Keywords: help, unix
8;; Adapted-By: Eli Zaretskii <eliz@gnu.org> 8;; Adapted-By: Eli Zaretskii <eliz@gnu.org>
9;; Version: see `woman-version' 9;; Version: see `woman-version'
@@ -420,10 +420,7 @@
420;; Paul A. Thompson <pat@po.cwru.edu> 420;; Paul A. Thompson <pat@po.cwru.edu>
421;; Arrigo Triulzi <arrigo@maths.qmw.ac.uk> 421;; Arrigo Triulzi <arrigo@maths.qmw.ac.uk>
422;; Geoff Voelker <voelker@cs.washington.edu> 422;; Geoff Voelker <voelker@cs.washington.edu>
423;; Eli Zaretskii <eliz@is.elta.co.il> 423;; Eli Zaretskii <eliz@gnu.org>
424
425;;; History:
426;; For recent change log see end of file.
427 424
428 425
429;;; Code: 426;;; Code:
@@ -956,8 +953,9 @@ This is usually either black or white."
956 :group 'woman-faces) 953 :group 'woman-faces)
957 954
958 (defcustom woman-use-symbol-font nil 955 (defcustom woman-use-symbol-font nil
959 "*If non-nil then may use the symbol font. It is off by default, 956 "*If non-nil then may use the symbol font.
960mainly because it may change the line spacing (in NTEmacs 20.5)." 957It is off by default, mainly because it may change the line spacing
958\(in NTEmacs 20.5)."
961 :type 'boolean 959 :type 'boolean
962 :group 'woman-faces) 960 :group 'woman-faces)
963 961
@@ -1221,7 +1219,8 @@ Optional argument RE-CACHE, if non-nil, forces the cache to be re-read."
1221 ;; completions, but to return only a case-sensitive match. This 1219 ;; completions, but to return only a case-sensitive match. This
1222 ;; does not seem to work properly by default, so I re-do the 1220 ;; does not seem to work properly by default, so I re-do the
1223 ;; completion if necessary. 1221 ;; completion if necessary.
1224 (let (files) 1222 (let (files
1223 (default (current-word)))
1225 (or (stringp topic) 1224 (or (stringp topic)
1226 (and (eq t 1225 (and (eq t
1227 (if (boundp 'woman-topic-at-point) 1226 (if (boundp 'woman-topic-at-point)
@@ -1233,13 +1232,15 @@ Optional argument RE-CACHE, if non-nil, forces the cache to be re-read."
1233 (assoc topic woman-topic-all-completions)) 1232 (assoc topic woman-topic-all-completions))
1234 (setq topic 1233 (setq topic
1235 (completing-read 1234 (completing-read
1236 "Manual entry: " 1235 (if default
1236 (format "Manual entry (default `%s'): " default)
1237 "Manual entry: ")
1237 woman-topic-all-completions nil 1 1238 woman-topic-all-completions nil 1
1238 ;; Initial input suggestion (was nil), with 1239 nil
1239 ;; cursor at left ready to kill suggestion!: 1240 'woman-topic-history
1241 ;; Default topic.
1240 (and woman-topic-at-point 1242 (and woman-topic-at-point
1241 (cons (or (current-word) "") 0)) ; nearest word 1243 default))))
1242 'woman-topic-history)))
1243 ;; Note that completing-read always returns a string. 1244 ;; Note that completing-read always returns a string.
1244 (if (= (length topic) 0) 1245 (if (= (length topic) 0)
1245 nil ; no topic, so no file! 1246 nil ; no topic, so no file!
@@ -1259,10 +1260,9 @@ Optional argument RE-CACHE, if non-nil, forces the cache to be re-read."
1259 ;; Unread the command event (TAB = ?\t = 9) that runs the command 1260 ;; Unread the command event (TAB = ?\t = 9) that runs the command
1260 ;; `minibuffer-complete' in order to automatically complete the 1261 ;; `minibuffer-complete' in order to automatically complete the
1261 ;; minibuffer contents as far as possible. 1262 ;; minibuffer contents as far as possible.
1262 (setq unread-command-events '(9)) ; and delete any type-ahead! 1263 (setq unread-command-events '(9)) ; and delete any type-ahead!
1263 (completing-read "Manual file: " files nil 1 1264 (completing-read "Manual file: " files nil 1
1264 (try-completion "" files) 'woman-file-history))) 1265 (try-completion "" files) 'woman-file-history))))))
1265 )))
1266 1266
1267(defun woman-select (predicate list) 1267(defun woman-select (predicate list)
1268 "Select unique elements for which PREDICATE is true in LIST. 1268 "Select unique elements for which PREDICATE is true in LIST.
@@ -1741,7 +1741,10 @@ Leave point at end of new text. Return length of inserted text."
1741 (define-key woman-mode-map "w" 'woman) 1741 (define-key woman-mode-map "w" 'woman)
1742 (define-key woman-mode-map "\en" 'WoMan-next-manpage) 1742 (define-key woman-mode-map "\en" 'WoMan-next-manpage)
1743 (define-key woman-mode-map "\ep" 'WoMan-previous-manpage) 1743 (define-key woman-mode-map "\ep" 'WoMan-previous-manpage)
1744 (define-key woman-mode-map [M-mouse-2] 'woman-follow-word)) 1744 (define-key woman-mode-map [M-mouse-2] 'woman-follow-word)
1745
1746 ;; We don't need to call `man' when we are in `woman-mode'.
1747 (define-key woman-mode-map [remap man] 'woman))
1745 1748
1746(defun woman-follow-word (event) 1749(defun woman-follow-word (event)
1747 "Run WoMan with word under mouse as topic. 1750 "Run WoMan with word under mouse as topic.
@@ -1942,25 +1945,33 @@ Optional argument REDRAW, if non-nil, forces mode line to be updated."
1942(defvar WoMan-Man-start-time nil 1945(defvar WoMan-Man-start-time nil
1943 "Used to record formatting time used by the `man' command.") 1946 "Used to record formatting time used by the `man' command.")
1944 1947
1945(defadvice Man-getpage-in-background 1948;; Both advices are disabled because "a file in Emacs should not put
1946 (around Man-getpage-in-background-advice (topic) activate) 1949;; advice on a function in Emacs" (see Info node "(elisp)Advising
1947 "Use WoMan unless invoked outside a WoMan buffer or invoked explicitly. 1950;; Functions"). Counting the formatting time is useful for
1948Otherwise use Man and record start of formatting time." 1951;; developping, but less applicable for daily use. The advice for
1949 (if (and (eq major-mode 'woman-mode) 1952;; `Man-getpage-in-background' can be discarded, because the
1950 (not (eq (caar command-history) 'man))) 1953;; key-binding in `woman-mode-map' has been remapped to call `woman'
1951 (WoMan-getpage-in-background topic) 1954;; but `man'. Michael Albinus <michael.albinus@gmx.de>
1952 ;; Initiates man processing 1955
1953 (setq WoMan-Man-start-time (current-time)) 1956;; (defadvice Man-getpage-in-background
1954 ad-do-it)) 1957;; (around Man-getpage-in-background-advice (topic) activate)
1955 1958;; "Use WoMan unless invoked outside a WoMan buffer or invoked explicitly.
1956(defadvice Man-bgproc-sentinel 1959;; Otherwise use Man and record start of formatting time."
1957 (after Man-bgproc-sentinel-advice activate) 1960;; (if (and (eq major-mode 'woman-mode)
1958 ;; Terminates man processing 1961;; (not (eq (caar command-history) 'man)))
1959 "Report formatting time." 1962;; (WoMan-getpage-in-background topic)
1960 (let* ((time (current-time)) 1963;; ;; Initiates man processing
1961 (time (+ (* (- (car time) (car WoMan-Man-start-time)) 65536) 1964;; (setq WoMan-Man-start-time (current-time))
1962 (- (cadr time) (cadr WoMan-Man-start-time))))) 1965;; ad-do-it))
1963 (message "Man formatting done in %d seconds" time))) 1966
1967;; (defadvice Man-bgproc-sentinel
1968;; (after Man-bgproc-sentinel-advice activate)
1969;; ;; Terminates man processing
1970;; "Report formatting time."
1971;; (let* ((time (current-time))
1972;; (time (+ (* (- (car time) (car WoMan-Man-start-time)) 65536)
1973;; (- (cadr time) (cadr WoMan-Man-start-time)))))
1974;; (message "Man formatting done in %d seconds" time)))
1964 1975
1965 1976
1966;;; Buffer handling: 1977;;; Buffer handling:
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index ec8885138b5..7e603eb63aa 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,45 @@
12005-09-08 Richard M. Stallman <rms@gnu.org>
2
3 * tips.texi (Programming Tips): Correct the "default" prompt spec.
4
52005-09-08 Chong Yidong <cyd@stupidchicken.com>
6
7 * locals.texi (Standard Buffer-Local Variables): Don't include
8 mode variables for minor modes.
9 Fix xrefs for buffer-display-count, buffer-display-table,
10 buffer-offer-save, buffer-saved-size, cache-long-line-scans,
11 enable-multibyte-characters, fill-column, header-line-format,
12 left-fringe-width, left-margin, and right-fringe-width.
13
14 * hooks.texi (Standard Hooks): All hooks should conform to the
15 standard naming convention now.
16 Fix xref for `echo-area-clear-hook'.
17
18 * display.texi (Usual Display): Note that indicate-empty-lines and
19 tab-width are buffer-local.
20
21 * files.texi (Saving Buffers): Add xref to `Killing Buffers'.
22
23 * modes.texi (Mode Help): Note that major-mode is buffer-local.
24
25 * nonascii.texi (Encoding and I/O): Note that
26 buffer-file-coding-system is buffer-local.
27
28 * positions.texi (List Motion): Note that defun-prompt-regexp is
29 buffer-local.
30
31 * text.texi (Auto Filling): Note that auto-fill-function is
32 buffer-local.
33 (Undo): Note that buffer-undo-list is buffer-local.
34
35 * windows.texi (Buffers and Windows): Document
36 buffer-display-count.
37
382005-09-06 Richard M. Stallman <rms@gnu.org>
39
40 * tips.texi (Coding Conventions): Sometimes it is ok to put the
41 package prefix elsewhere than at the start of the name.
42
12005-09-03 Richard M. Stallman <rms@gnu.org> 432005-09-03 Richard M. Stallman <rms@gnu.org>
2 44
3 * tips.texi (Programming Tips): Add conventions for minibuffer 45 * tips.texi (Programming Tips): Add conventions for minibuffer
diff --git a/lispref/display.texi b/lispref/display.texi
index 8addb3b67ec..b6348800fad 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -4546,11 +4546,11 @@ buffers that do not override it. @xref{Default Value}.
4546@end defvar 4546@end defvar
4547 4547
4548@defopt tab-width 4548@defopt tab-width
4549The value of this variable is the spacing between tab stops used for 4549The value of this buffer-local variable is the spacing between tab
4550displaying tab characters in Emacs buffers. The value is in units of 4550stops used for displaying tab characters in Emacs buffers. The value
4551columns, and the default is 8. Note that this feature is completely 4551is in units of columns, and the default is 8. Note that this feature
4552independent of the user-settable tab stops used by the command 4552is completely independent of the user-settable tab stops used by the
4553@code{tab-to-tab-stop}. @xref{Indent Tabs}. 4553command @code{tab-to-tab-stop}. @xref{Indent Tabs}.
4554@end defopt 4554@end defopt
4555 4555
4556@defopt indicate-empty-lines 4556@defopt indicate-empty-lines
@@ -4559,6 +4559,7 @@ independent of the user-settable tab stops used by the command
4559When this is non-@code{nil}, Emacs displays a special glyph in the 4559When this is non-@code{nil}, Emacs displays a special glyph in the
4560fringe of each empty line at the end of the buffer, on terminals that 4560fringe of each empty line at the end of the buffer, on terminals that
4561support it (window systems). @xref{Fringes}. 4561support it (window systems). @xref{Fringes}.
4562This variable is automatically buffer-local in every buffer.
4562@end defopt 4563@end defopt
4563 4564
4564@defvar indicate-buffer-boundaries 4565@defvar indicate-buffer-boundaries
diff --git a/lispref/files.texi b/lispref/files.texi
index 1ec4b2e5dc2..570b601f743 100644
--- a/lispref/files.texi
+++ b/lispref/files.texi
@@ -341,10 +341,10 @@ The optional @var{pred} argument controls which buffers to ask about
341If it is @code{nil}, that means to ask only about file-visiting buffers. 341If it is @code{nil}, that means to ask only about file-visiting buffers.
342If it is @code{t}, that means also offer to save certain other non-file 342If it is @code{t}, that means also offer to save certain other non-file
343buffers---those that have a non-@code{nil} buffer-local value of 343buffers---those that have a non-@code{nil} buffer-local value of
344@code{buffer-offer-save}. (A user who says @samp{yes} to saving a 344@code{buffer-offer-save} (@pxref{Killing Buffers}). A user who says
345non-file buffer is asked to specify the file name to use.) The 345@samp{yes} to saving a non-file buffer is asked to specify the file
346@code{save-buffers-kill-emacs} function passes the value @code{t} for 346name to use.) The @code{save-buffers-kill-emacs} function passes the
347@var{pred}. 347value @code{t} for @var{pred}.
348 348
349If @var{pred} is neither @code{t} nor @code{nil}, then it should be 349If @var{pred} is neither @code{t} nor @code{nil}, then it should be
350a function of no arguments. It will be called in each buffer to decide 350a function of no arguments. It will be called in each buffer to decide
diff --git a/lispref/hooks.texi b/lispref/hooks.texi
index 11b2233dc0e..795048fdb25 100644
--- a/lispref/hooks.texi
+++ b/lispref/hooks.texi
@@ -26,14 +26,13 @@ are omitted in the list below.
26The variables whose names end in @samp{-hooks} or @samp{-functions} are 26The variables whose names end in @samp{-hooks} or @samp{-functions} are
27usually @dfn{abnormal hooks}; their values are lists of functions, but 27usually @dfn{abnormal hooks}; their values are lists of functions, but
28these functions are called in a special way (they are passed arguments, 28these functions are called in a special way (they are passed arguments,
29or their values are used). A few of these variables are actually normal 29or their values are used). The variables whose names end in
30hooks which were named before we established the convention that normal 30@samp{-function} have single functions as their values.
31hooks' names should end in @samp{-hook}.
32 31
33The variables whose names end in @samp{-function} have single functions 32(In older Emacs versions, some normal hooks had names ending in
34as their values. (In older Emacs versions, some of these variables had 33@samp{-hooks} or @samp{-functions}, and some abnormal hooks had names
35names ending in @samp{-hook} even though they were not normal hooks; 34ending in @samp{-hook}. We have renamed all of these to conform to
36however, we have renamed all of those.) 35the above conventions.)
37 36
38@c We need to xref to where each hook is documented or else document 37@c We need to xref to where each hook is documented or else document
39@c it here. 38@c it here.
@@ -135,7 +134,7 @@ for appointment notification.
135@xref{Disabling Commands}. 134@xref{Disabling Commands}.
136 135
137@item echo-area-clear-hook 136@item echo-area-clear-hook
138@xref{The Echo Area}. 137@xref{Echo Area Customization}.
139 138
140@item emacs-startup-hook 139@item emacs-startup-hook
141@xref{Init File}. 140@xref{Init File}.
diff --git a/lispref/locals.texi b/lispref/locals.texi
index 57b17d3d41b..e24117270a5 100644
--- a/lispref/locals.texi
+++ b/lispref/locals.texi
@@ -15,10 +15,11 @@ buffer-local only when set; a few of them are always local in every
15buffer. Many Lisp packages define such variables for their internal 15buffer. Many Lisp packages define such variables for their internal
16use, but we don't try to list them all here. 16use, but we don't try to list them all here.
17 17
18@table @code 18Each minor modes defines a buffer-local variable named
19@item abbrev-mode 19@samp{@var{modename}-mode}. @xref{Minor Mode Conventions}. Minor
20@xref{Abbrevs}. 20mode variables will not be listed here.
21 21
22@table @code
22@item auto-fill-function 23@item auto-fill-function
23@xref{Auto Filling}. 24@xref{Auto Filling}.
24 25
@@ -29,13 +30,13 @@ use, but we don't try to list them all here.
29@xref{Auto-Saving}. 30@xref{Auto-Saving}.
30 31
31@item buffer-backed-up 32@item buffer-backed-up
32@xref{Backup Files}. 33@xref{Making Backups}.
33 34
34@item buffer-display-count 35@item buffer-display-count
35@xref{Displaying Buffers}. 36@xref{Buffers and Windows}.
36 37
37@item buffer-display-table 38@item buffer-display-table
38@xref{Display Tables}. 39@xref{Active Display Table}.
39 40
40@item buffer-display-time 41@item buffer-display-time
41@xref{Buffers and Windows}. 42@xref{Buffers and Windows}.
@@ -62,19 +63,19 @@ use, but we don't try to list them all here.
62@xref{Invisible Text}. 63@xref{Invisible Text}.
63 64
64@item buffer-offer-save 65@item buffer-offer-save
65@xref{Saving Buffers}. 66@xref{Killing Buffers}.
66 67
67@item buffer-read-only 68@item buffer-read-only
68@xref{Read Only Buffers}. 69@xref{Read Only Buffers}.
69 70
70@item buffer-saved-size 71@item buffer-saved-size
71@xref{Point}. 72@xref{Auto-Saving}.
72 73
73@item buffer-undo-list 74@item buffer-undo-list
74@xref{Undo}. 75@xref{Undo}.
75 76
76@item cache-long-line-scans 77@item cache-long-line-scans
77@xref{Text Lines}. 78@xref{Truncation}.
78 79
79@item case-fold-search 80@item case-fold-search
80@xref{Searching and Case}. 81@xref{Searching and Case}.
@@ -103,10 +104,10 @@ Does not work yet.
103@end ignore 104@end ignore
104 105
105@item enable-multibyte-characters 106@item enable-multibyte-characters
106@ref{Non-ASCII Characters}. 107@ref{Text Representations}.
107 108
108@item fill-column 109@item fill-column
109@xref{Auto Filling}. 110@xref{Margins}.
110 111
111@item fringes-outside-margins 112@item fringes-outside-margins
112@xref{Fringes}. 113@xref{Fringes}.
@@ -115,7 +116,7 @@ Does not work yet.
115@xref{Moving Point,,, emacs, The GNU Emacs Manual}. 116@xref{Moving Point,,, emacs, The GNU Emacs Manual}.
116 117
117@item header-line-format 118@item header-line-format
118@xref{Mode Line Data}. 119@xref{Header Lines}.
119 120
120@item indicate-buffer-boundaries 121@item indicate-buffer-boundaries
121@xref{Usual Display}. 122@xref{Usual Display}.
@@ -124,10 +125,10 @@ Does not work yet.
124@xref{Usual Display}. 125@xref{Usual Display}.
125 126
126@item left-fringe-width 127@item left-fringe-width
127@xref{Fringes}. 128@xref{Fringe Size/Pos}.
128 129
129@item left-margin 130@item left-margin
130@xref{Indentation}. 131@xref{Margins}.
131 132
132@item left-margin-width 133@item left-margin-width
133@xref{Display Margins}. 134@xref{Display Margins}.
@@ -136,7 +137,7 @@ Does not work yet.
136@xref{Line Height}. 137@xref{Line Height}.
137 138
138@item local-abbrev-table 139@item local-abbrev-table
139@xref{Abbrevs}. 140@xref{Standard Abbrev Tables}.
140 141
141@item major-mode 142@item major-mode
142@xref{Mode Help}. 143@xref{Mode Help}.
@@ -162,14 +163,11 @@ Does not work yet.
162@item mode-name 163@item mode-name
163@xref{Mode Line Variables}. 164@xref{Mode Line Variables}.
164 165
165@item overwrite-mode
166@xref{Insertion}.
167
168@item point-before-scroll 166@item point-before-scroll
169Used for communication between mouse commands and scroll-bar commands. 167Used for communication between mouse commands and scroll-bar commands.
170 168
171@item right-fringe-width 169@item right-fringe-width
172@xref{Fringes}. 170@xref{Fringe Size/Pos}.
173 171
174@item right-margin-width 172@item right-margin-width
175@xref{Display Margins}. 173@xref{Display Margins}.
@@ -195,9 +193,6 @@ Used for communication between mouse commands and scroll-bar commands.
195@item truncate-lines 193@item truncate-lines
196@xref{Truncation}. 194@xref{Truncation}.
197 195
198@item vc-mode
199@xref{Mode Line Variables}.
200
201@item vertical-scroll-bar 196@item vertical-scroll-bar
202@xref{Scroll Bars}. 197@xref{Scroll Bars}.
203@end table 198@end table
diff --git a/lispref/modes.texi b/lispref/modes.texi
index a391f27a80f..27aea507cc8 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -961,11 +961,11 @@ displays the documentation string of the major mode function.
961@end deffn 961@end deffn
962 962
963@defvar major-mode 963@defvar major-mode
964This variable holds the symbol for the current buffer's major mode. 964This buffer-local variable holds the symbol for the current buffer's
965This symbol should have a function definition that is the command to 965major mode. This symbol should have a function definition that is the
966switch to that major mode. The @code{describe-mode} function uses the 966command to switch to that major mode. The @code{describe-mode}
967documentation string of the function as the documentation of the major 967function uses the documentation string of the function as the
968mode. 968documentation of the major mode.
969@end defvar 969@end defvar
970 970
971@node Derived Modes 971@node Derived Modes
diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi
index 2af367a0f85..73632e36514 100644
--- a/lispref/nonascii.texi
+++ b/lispref/nonascii.texi
@@ -717,8 +717,8 @@ operation finishes the job of choosing a coding system. Very often
717you will want to find out afterwards which coding system was chosen. 717you will want to find out afterwards which coding system was chosen.
718 718
719@defvar buffer-file-coding-system 719@defvar buffer-file-coding-system
720This variable records the coding system that was used for visiting the 720This buffer-local variable records the coding system that was used to visit
721current buffer. It is used for saving the buffer, and for writing part 721the current buffer. It is used for saving the buffer, and for writing part
722of the buffer with @code{write-region}. If the text to be written 722of the buffer with @code{write-region}. If the text to be written
723cannot be safely encoded using the coding system specified by this 723cannot be safely encoded using the coding system specified by this
724variable, these operations select an alternative encoding by calling 724variable, these operations select an alternative encoding by calling
diff --git a/lispref/positions.texi b/lispref/positions.texi
index cb249f526f1..77063addf9a 100644
--- a/lispref/positions.texi
+++ b/lispref/positions.texi
@@ -720,11 +720,11 @@ to 1.
720@end deffn 720@end deffn
721 721
722@defopt defun-prompt-regexp 722@defopt defun-prompt-regexp
723If non-@code{nil}, this variable holds a regular expression that 723If non-@code{nil}, this buffer-local variable holds a regular
724specifies what text can appear before the open-parenthesis that starts a 724expression that specifies what text can appear before the
725defun. That is to say, a defun begins on a line that starts with a 725open-parenthesis that starts a defun. That is to say, a defun begins
726match for this regular expression, followed by a character with 726on a line that starts with a match for this regular expression,
727open-parenthesis syntax. 727followed by a character with open-parenthesis syntax.
728@end defopt 728@end defopt
729 729
730@defopt open-paren-in-column-0-is-defun-start 730@defopt open-paren-in-column-0-is-defun-start
diff --git a/lispref/text.texi b/lispref/text.texi
index 14a9dc9d5c6..1fa68fce917 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -1200,8 +1200,8 @@ text in the buffer automatically add elements to the front of the undo
1200list, which is in the variable @code{buffer-undo-list}. 1200list, which is in the variable @code{buffer-undo-list}.
1201 1201
1202@defvar buffer-undo-list 1202@defvar buffer-undo-list
1203This variable's value is the undo list of the current buffer. 1203This buffer-local variable's value is the undo list of the current
1204A value of @code{t} disables the recording of undo information. 1204buffer. A value of @code{t} disables the recording of undo information.
1205@end defvar 1205@end defvar
1206 1206
1207Here are the kinds of elements an undo list can have: 1207Here are the kinds of elements an undo list can have:
@@ -1768,8 +1768,8 @@ justify existing text, see @ref{Filling}.
1768justification style to refill portions of the text. @xref{Margins}. 1768justification style to refill portions of the text. @xref{Margins}.
1769 1769
1770@defvar auto-fill-function 1770@defvar auto-fill-function
1771The value of this variable should be a function (of no arguments) to be 1771The value of this buffer-local variable should be a function (of no
1772called after self-inserting a character from the table 1772arguments) to be called after self-inserting a character from the table
1773@code{auto-fill-chars}. It may be @code{nil}, in which case nothing 1773@code{auto-fill-chars}. It may be @code{nil}, in which case nothing
1774special is done in that case. 1774special is done in that case.
1775 1775
diff --git a/lispref/tips.texi b/lispref/tips.texi
index d651eb95f0e..4813ac41542 100644
--- a/lispref/tips.texi
+++ b/lispref/tips.texi
@@ -56,7 +56,9 @@ distinguish your program from other Lisp programs.@footnote{The
56benefits of a Common Lisp-style package system are considered not to 56benefits of a Common Lisp-style package system are considered not to
57outweigh the costs.} Then take care to begin the names of all global 57outweigh the costs.} Then take care to begin the names of all global
58variables, constants, and functions in your program with the chosen 58variables, constants, and functions in your program with the chosen
59prefix. This helps avoid name conflicts. 59prefix. This helps avoid name conflicts. (Occasionally, for a command
60name intended for users to use, it is cleaner if some words come
61before the package name prefix.)
60 62
61This recommendation applies even to names for traditional Lisp 63This recommendation applies even to names for traditional Lisp
62primitives that are not primitives in Emacs Lisp---such as 64primitives that are not primitives in Emacs Lisp---such as
@@ -384,7 +386,7 @@ put it and the word @samp{default} inside parentheses.
384It should look like this: 386It should look like this:
385 387
386@example 388@example
387Enter the answer: (default 42) 389Enter the answer (default 42):
388@end example 390@end example
389 391
390@item 392@item
diff --git a/lispref/windows.texi b/lispref/windows.texi
index e204a7ce7d0..01e33f1c0d4 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -717,6 +717,12 @@ based on the local variables of @var{buffer}. However, if
717widths of @var{window} remain unchanged. @xref{Fringes}. 717widths of @var{window} remain unchanged. @xref{Fringes}.
718@end defun 718@end defun
719 719
720@defvar buffer-display-count
721This buffer-local variable records the number of times a buffer is
722displayed in a window. It is incremented each time
723@code{set-window-buffer} is called for the buffer.
724@end defvar
725
720@defun window-buffer &optional window 726@defun window-buffer &optional window
721This function returns the buffer that @var{window} is displaying. If 727This function returns the buffer that @var{window} is displaying. If
722@var{window} is omitted, this function returns the buffer for the 728@var{window} is omitted, this function returns the buffer for the
diff --git a/man/gnus.texi b/man/gnus.texi
index 131a92fae64..d1eb9325863 100644
--- a/man/gnus.texi
+++ b/man/gnus.texi
@@ -5090,10 +5090,10 @@ the server and display it in the article buffer.
5090 5090
5091@item gnus-select-article-hook 5091@item gnus-select-article-hook
5092@vindex gnus-select-article-hook 5092@vindex gnus-select-article-hook
5093This hook is called whenever an article is selected. By default it 5093This hook is called whenever an article is selected. The default is
5094exposes any threads hidden under the selected article. If you would 5094@code{nil}. If you would like each article to be saved in the Agent as
5095like each article to be saved in the Agent as you read it, putting 5095you read it, putting @code{gnus-agent-fetch-selected-article} on this
5096@code{gnus-agent-fetch-selected-article} on this hook will do so. 5096hook will do so.
5097 5097
5098@item gnus-mark-article-hook 5098@item gnus-mark-article-hook
5099@vindex gnus-mark-article-hook 5099@vindex gnus-mark-article-hook
@@ -5103,8 +5103,8 @@ like each article to be saved in the Agent as you read it, putting
5103This hook is called whenever an article is selected. It is intended to 5103This hook is called whenever an article is selected. It is intended to
5104be used for marking articles as read. The default value is 5104be used for marking articles as read. The default value is
5105@code{gnus-summary-mark-read-and-unread-as-read}, and will change the 5105@code{gnus-summary-mark-read-and-unread-as-read}, and will change the
5106mark of almost any article you read to @code{gnus-unread-mark}. The 5106mark of almost any article you read to @code{gnus-read-mark}. The only
5107only articles not affected by this function are ticked, dormant, and 5107articles not affected by this function are ticked, dormant, and
5108expirable articles. If you'd instead like to just have unread articles 5108expirable articles. If you'd instead like to just have unread articles
5109marked as read, you can use @code{gnus-summary-mark-unread-as-read} 5109marked as read, you can use @code{gnus-summary-mark-unread-as-read}
5110instead. It will leave marks like @code{gnus-low-score-mark}, 5110instead. It will leave marks like @code{gnus-low-score-mark},
@@ -13833,7 +13833,8 @@ is to say where the incoming files will be stored if the variable
13833Prefix for file name for storing incoming mail. The default is 13833Prefix for file name for storing incoming mail. The default is
13834@file{Incoming}, in which case files will end up with names like 13834@file{Incoming}, in which case files will end up with names like
13835@file{Incoming30630D_} or @file{Incoming298602ZD}. This is really only 13835@file{Incoming30630D_} or @file{Incoming298602ZD}. This is really only
13836relevant if @code{mail-source-delete-incoming} is @code{nil}. 13836relevant if @code{mail-source-delete-incoming} is @code{nil} or a
13837number.
13837 13838
13838@item mail-source-default-file-modes 13839@item mail-source-default-file-modes
13839@vindex mail-source-default-file-modes 13840@vindex mail-source-default-file-modes
diff --git a/src/ChangeLog b/src/ChangeLog
index bc76f96208a..deb2b4ce3eb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,39 @@
12005-09-09 Kim F. Storm <storm@cua.dk>
2
3 * doc.c (Fsubstitute_command_keys): Lookup key binding for
4 commands that are remapped from some other command.
5
6 * xdisp.c (try_window_reusing_current_matrix): Clear mode_line_p
7 flag in disabled rows below the window.
8
9 * frame.h (struct frame): New member updated_p.
10
11 * xdisp.c (redisplay_internal): Mark updated frames in new updated_p
12 member. Remove local `updated' array and associated variables.
13
142005-09-07 Kim F. Storm <storm@cua.dk>
15
16 * xdisp.c (handle_display_prop): Respect overlay window property.
17
18 * xdisp.c (try_window): Remove superfluous cursor_height calculation.
19 Fixes crash reported by YAMAMOTO Mitsuharu.
20
212005-09-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22
23 * macterm.c (struct xlfdpat_block, struct xlfdpat): New structs.
24 (xlfdpat_destroy, xlfdpat_create, xlfdpat_exact_p)
25 (xlfdpat_block_match_1, xlfdpat_match): New functions.
26 (xlfdpat_block_match): New macro.
27 (mac_to_x_fontname): Don't use tolower for non-ASCII characters.
28 (x_font_name_to_mac_font_name): Set coding.dst_multibyte to 0.
29 (add_font_name_table_entry): Increase font_name_table_size more
30 rapidly.
31 (mac_c_string_match): Remove function.
32 (mac_do_list_fonts): Use XLFD pattern match instead of regular
33 expression match.
34
35 * xfaces.c (xstrlwr): Don't use tolower for non-ASCII characters.
36
12005-09-03 Richard M. Stallman <rms@gnu.org> 372005-09-03 Richard M. Stallman <rms@gnu.org>
2 38
3 * xdisp.c (redisplay_internal): Make UPDATED as long as needed. 39 * xdisp.c (redisplay_internal): Make UPDATED as long as needed.
@@ -8,8 +44,18 @@
8 44
9 * editfns.c (Fpropertize): Don't insist that properties be symbols. 45 * editfns.c (Fpropertize): Don't insist that properties be symbols.
10 46
472005-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * dired.c (directory_files_internal_unwind, directory_files_internal)
50 (file_name_completion): Use a Save_Value object rather than a cons of
51 two 16bit ints to store the DIR*.
52 (directory_files_internal, file_name_completion): Handle both EINTR and
53 EAGAIN consistently after `readdir'.
54
112005-09-01 Stefan Monnier <monnier@iro.umontreal.ca> 552005-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
12 56
57 * intervals.c (update_interval): Add position info in error.
58
13 * dispnew.c (window_to_frame_hpos, update_window): 59 * dispnew.c (window_to_frame_hpos, update_window):
14 Avoid gcc warning about unused variable `f'. 60 Avoid gcc warning about unused variable `f'.
15 61
diff --git a/src/doc.c b/src/doc.c
index 6d54aeceacd..a31c53d5b21 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -57,6 +57,8 @@ static Lisp_Object Vbuild_files;
57 57
58extern Lisp_Object Voverriding_local_map; 58extern Lisp_Object Voverriding_local_map;
59 59
60extern Lisp_Object Qremap;
61
60/* For VMS versions with limited file name syntax, 62/* For VMS versions with limited file name syntax,
61 convert the name to something VMS will allow. */ 63 convert the name to something VMS will allow. */
62static void 64static void
@@ -812,6 +814,7 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
812 else if (strp[0] == '\\' && strp[1] == '[') 814 else if (strp[0] == '\\' && strp[1] == '[')
813 { 815 {
814 int start_idx; 816 int start_idx;
817 int follow_remap = 1;
815 818
816 changed = 1; 819 changed = 1;
817 strp += 2; /* skip \[ */ 820 strp += 2; /* skip \[ */
@@ -830,11 +833,21 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
830 idx = strp - SDATA (string); 833 idx = strp - SDATA (string);
831 name = Fintern (make_string (start, length_byte), Qnil); 834 name = Fintern (make_string (start, length_byte), Qnil);
832 835
836 do_remap:
833 /* Ignore remappings unless there are no ordinary bindings. */ 837 /* Ignore remappings unless there are no ordinary bindings. */
834 tem = Fwhere_is_internal (name, keymap, Qt, Qnil, Qt); 838 tem = Fwhere_is_internal (name, keymap, Qt, Qnil, Qt);
835 if (NILP (tem)) 839 if (NILP (tem))
836 tem = Fwhere_is_internal (name, keymap, Qt, Qnil, Qnil); 840 tem = Fwhere_is_internal (name, keymap, Qt, Qnil, Qnil);
837 841
842 if (VECTORP (tem) && XVECTOR (tem)->size > 1
843 && EQ (AREF (tem, 0), Qremap) && SYMBOLP (AREF (tem, 1))
844 && follow_remap)
845 {
846 name = AREF (tem, 1);
847 follow_remap = 0;
848 goto do_remap;
849 }
850
838 /* Note the Fwhere_is_internal can GC, so we have to take 851 /* Note the Fwhere_is_internal can GC, so we have to take
839 relocation of string contents into account. */ 852 relocation of string contents into account. */
840 strp = SDATA (string) + idx; 853 strp = SDATA (string) + idx;
diff --git a/src/frame.h b/src/frame.h
index 838b61bb703..e8155ac8212 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -448,6 +448,9 @@ struct frame
448 /* Set to non-zero if this frame has already been hscrolled during 448 /* Set to non-zero if this frame has already been hscrolled during
449 current redisplay. */ 449 current redisplay. */
450 unsigned already_hscrolled_p : 1; 450 unsigned already_hscrolled_p : 1;
451
452 /* Set to non-zero when current redisplay has updated frame. */
453 unsigned updated_p : 1;
451}; 454};
452 455
453#ifdef MULTI_KBOARD 456#ifdef MULTI_KBOARD
diff --git a/src/macterm.c b/src/macterm.c
index d6dbecfe800..f727c013809 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -6084,6 +6084,335 @@ x_wm_set_icon_position (f, icon_x, icon_y)
6084 6084
6085 6085
6086/*********************************************************************** 6086/***********************************************************************
6087 XLFD Pattern Match
6088 ***********************************************************************/
6089
6090/* An XLFD pattern is divided into blocks delimited by '*'. This
6091 structure holds information for each block. */
6092struct xlfdpat_block
6093{
6094 /* Length of the pattern string in this block. Non-zero except for
6095 the first and the last blocks. */
6096 int len;
6097
6098 /* Pattern string except the last character in this block. The last
6099 character is replaced with NUL in order to use it as a
6100 sentinel. */
6101 unsigned char *pattern;
6102
6103 /* Last character of the pattern string. Must not be '?'. */
6104 unsigned char last_char;
6105
6106 /* One of the tables for the Boyer-Moore string search. It
6107 specifies the number of positions to proceed for each character
6108 with which the match fails. */
6109 int skip[256];
6110
6111 /* The skip value for the last character in the above `skip' is
6112 assigned to `infinity' in order to simplify a loop condition.
6113 The original value is saved here. */
6114 int last_char_skip;
6115};
6116
6117struct xlfdpat
6118{
6119 /* Normalized pattern string. "Normalized" means that capital
6120 letters are lowered, blocks are not empty except the first and
6121 the last ones, and trailing '?'s in a block that is not the last
6122 one are moved to the next one. The last character in each block
6123 is replaced with NUL. */
6124 unsigned char *buf;
6125
6126 /* Number of characters except '*'s and trailing '?'s in the
6127 normalized pattern string. */
6128 int nchars;
6129
6130 /* Number of trailing '?'s in the normalized pattern string. */
6131 int trailing_anychars;
6132
6133 /* Number of blocks and information for each block. The latter is
6134 NULL if the pattern is exact (no '*' or '?' in it). */
6135 int nblocks;
6136 struct xlfdpat_block *blocks;
6137};
6138
6139static void
6140xlfdpat_destroy (pat)
6141 struct xlfdpat *pat;
6142{
6143 if (pat)
6144 {
6145 if (pat->buf)
6146 {
6147 if (pat->blocks)
6148 xfree (pat->blocks);
6149 xfree (pat->buf);
6150 }
6151 xfree (pat);
6152 }
6153}
6154
6155static struct xlfdpat *
6156xlfdpat_create (pattern)
6157 char *pattern;
6158{
6159 struct xlfdpat *pat;
6160 int nblocks, i, skip;
6161 unsigned char last_char, *p, *q, *anychar_head;
6162 struct xlfdpat_block *blk;
6163
6164 pat = xmalloc (sizeof (struct xlfdpat));
6165 if (pat == NULL)
6166 goto error;
6167
6168 pat->buf = xmalloc (strlen (pattern) + 1);
6169 if (pat->buf == NULL)
6170 goto error;
6171
6172 /* Normalize the pattern string and store it to `pat->buf'. */
6173 nblocks = 0;
6174 anychar_head = NULL;
6175 q = pat->buf;
6176 last_char = '\0';
6177 for (p = pattern; *p; p++)
6178 {
6179 unsigned char c = *p;
6180
6181 if (c == '*')
6182 if (last_char == '*')
6183 /* ...a** -> ...a* */
6184 continue;
6185 else
6186 {
6187 if (last_char == '?')
6188 if (anychar_head > pat->buf && *(anychar_head - 1) == '*')
6189 /* ...*??* -> ...*?? */
6190 continue;
6191 else
6192 /* ...a??* -> ...a*?? */
6193 {
6194 *anychar_head++ = '*';
6195 c = '?';
6196 }
6197 nblocks++;
6198 }
6199 else if (c == '?')
6200 {
6201 if (last_char != '?')
6202 anychar_head = q;
6203 }
6204 else
6205 /* On Mac OS X 10.3, tolower also converts non-ASCII
6206 characters for some locales. */
6207 if (isascii (c))
6208 c = tolower (c);
6209
6210 *q++ = last_char = c;
6211 }
6212 *q = '\0';
6213 nblocks++;
6214 pat->nblocks = nblocks;
6215 if (last_char != '?')
6216 pat->trailing_anychars = 0;
6217 else
6218 {
6219 pat->trailing_anychars = q - anychar_head;
6220 q = anychar_head;
6221 }
6222 pat->nchars = q - pat->buf - (nblocks - 1);
6223
6224 if (anychar_head == NULL && nblocks == 1)
6225 {
6226 /* The pattern is exact. */
6227 pat->blocks = NULL;
6228 return pat;
6229 }
6230
6231 pat->blocks = xmalloc (sizeof (struct xlfdpat_block) * nblocks);
6232 if (pat->blocks == NULL)
6233 goto error;
6234
6235 /* Divide the normalized pattern into blocks. */
6236 p = pat->buf;
6237 for (blk = pat->blocks; blk < pat->blocks + nblocks - 1; blk++)
6238 {
6239 blk->pattern = p;
6240 while (*p != '*')
6241 p++;
6242 blk->len = p - blk->pattern;
6243 p++;
6244 }
6245 blk->pattern = p;
6246 blk->len = q - blk->pattern;
6247
6248 /* Setup a table for the Boyer-Moore string search. */
6249 for (blk = pat->blocks; blk < pat->blocks + nblocks; blk++)
6250 if (blk->len != 0)
6251 {
6252 blk->last_char = blk->pattern[blk->len - 1];
6253 blk->pattern[blk->len - 1] = '\0';
6254
6255 for (skip = 1; skip < blk->len; skip++)
6256 if (blk->pattern[blk->len - skip - 1] == '?')
6257 break;
6258
6259 for (i = 0; i < 256; i++)
6260 blk->skip[i] = skip;
6261
6262 p = blk->pattern + (blk->len - skip);
6263 while (--skip > 0)
6264 blk->skip[*p++] = skip;
6265
6266 blk->last_char_skip = blk->skip[blk->last_char];
6267 }
6268
6269 return pat;
6270
6271 error:
6272 xlfdpat_destroy (pat);
6273 return NULL;
6274}
6275
6276static INLINE int
6277xlfdpat_exact_p (pat)
6278 struct xlfdpat *pat;
6279{
6280 return (pat)->blocks == NULL;
6281}
6282
6283/* Return the first string in STRING + 0, ..., STRING + START_MAX such
6284 that the pattern in *BLK matches with its prefix. Return NULL
6285 there is no such strings. STRING must be lowered in advance. */
6286
6287static char *
6288xlfdpat_block_match_1 (blk, string, start_max)
6289 struct xlfdpat_block *blk;
6290 unsigned char *string;
6291 int start_max;
6292{
6293 int start, infinity;
6294 unsigned char *p, *s;
6295
6296 xassert (blk->len > 0);
6297 xassert (start_max + blk->len <= strlen (string));
6298 xassert (blk->pattern[blk->len - 1] != '?');
6299
6300 /* See the comments in the function `boyer_moore' (search.c) for the
6301 use of `infinity'. */
6302 infinity = start_max + blk->len + 1;
6303 blk->skip[blk->last_char] = infinity;
6304
6305 start = 0;
6306 do
6307 {
6308 /* Check the last character of the pattern. */
6309 s = string + blk->len - 1;
6310 do
6311 {
6312 start += blk->skip[*(s + start)];
6313 }
6314 while (start <= start_max);
6315
6316 if (start < infinity)
6317 /* Couldn't find the last character. */
6318 return NULL;
6319
6320 /* No less than `infinity' means we could find the last
6321 character at `s[start - infinity]'. */
6322 start -= infinity;
6323
6324 /* Check the remaining characters. We prefer making no-'?'
6325 cases faster because the use of '?' is really rare. */
6326 p = blk->pattern;
6327 s = string + start;
6328 do
6329 {
6330 while (*p++ == *s++)
6331 ;
6332 }
6333 while (*(p - 1) == '?');
6334
6335 if (*(p - 1) == '\0')
6336 /* Matched. */
6337 return string + start;
6338
6339 /* Didn't match. */
6340 start += blk->last_char_skip;
6341 }
6342 while (start <= start_max);
6343
6344 return NULL;
6345}
6346
6347#define xlfdpat_block_match(b, s, m) \
6348 ((b)->len == 1 ? memchr ((s), (b)->last_char, (m) + 1) \
6349 : xlfdpat_block_match_1 (b, s, m))
6350
6351/* Check if XLFD pattern PAT, which is generated by `xfldpat_create',
6352 matches with STRING. STRING must be lowered in advance. */
6353
6354static int
6355xlfdpat_match (pat, string)
6356 struct xlfdpat *pat;
6357 unsigned char *string;
6358{
6359 int str_len, nblocks, i, start_max;
6360 struct xlfdpat_block *blk;
6361 unsigned char *s;
6362
6363 xassert (pat->nblocks > 0);
6364
6365 if (xlfdpat_exact_p (pat))
6366 return strcmp (pat->buf, string) == 0;
6367
6368 /* The number of the characters in the string must not be smaller
6369 than that in the pattern. */
6370 str_len = strlen (string);
6371 if (str_len < pat->nchars + pat->trailing_anychars)
6372 return 0;
6373
6374 /* Chop off the trailing '?'s. */
6375 str_len -= pat->trailing_anychars;
6376
6377 /* The last block. When it is non-empty, it must match at the end
6378 of the string. */
6379 nblocks = pat->nblocks;
6380 blk = pat->blocks + (nblocks - 1);
6381 if (nblocks == 1)
6382 /* The last block is also the first one. */
6383 return (str_len == blk->len
6384 && (blk->len == 0 || xlfdpat_block_match (blk, string, 0)));
6385 else if (blk->len != 0)
6386 if (!xlfdpat_block_match (blk, string + (str_len - blk->len), 0))
6387 return 0;
6388
6389 /* The first block. When it is non-empty, it must match at the
6390 beginning of the string. */
6391 blk = pat->blocks;
6392 if (blk->len != 0)
6393 {
6394 s = xlfdpat_block_match (blk, string, 0);
6395 if (s == NULL)
6396 return 0;
6397 string = s + blk->len;
6398 }
6399
6400 /* The rest of the blocks. */
6401 start_max = str_len - pat->nchars;
6402 for (i = 1, blk++; i < nblocks - 1; i++, blk++)
6403 {
6404 s = xlfdpat_block_match (blk, string, start_max);
6405 if (s == NULL)
6406 return 0;
6407 start_max -= s - string;
6408 string = s + blk->len;
6409 }
6410
6411 return 1;
6412}
6413
6414
6415/***********************************************************************
6087 Fonts 6416 Fonts
6088 ***********************************************************************/ 6417 ***********************************************************************/
6089 6418
@@ -6178,7 +6507,8 @@ mac_to_x_fontname (name, size, style, charset)
6178{ 6507{
6179 Str31 foundry, cs; 6508 Str31 foundry, cs;
6180 Str255 family; 6509 Str255 family;
6181 char xf[256], *result, *p; 6510 char xf[256], *result;
6511 unsigned char *p;
6182 6512
6183 if (sscanf (name, "%31[^-]-%255[^-]-%31s", foundry, family, cs) == 3) 6513 if (sscanf (name, "%31[^-]-%255[^-]-%31s", foundry, family, cs) == 3)
6184 charset = cs; 6514 charset = cs;
@@ -6195,7 +6525,10 @@ mac_to_x_fontname (name, size, style, charset)
6195 result = xmalloc (strlen (foundry) + strlen (family) + strlen (xf) + 3 + 1); 6525 result = xmalloc (strlen (foundry) + strlen (family) + strlen (xf) + 3 + 1);
6196 sprintf (result, "-%s-%s-%s", foundry, family, xf); 6526 sprintf (result, "-%s-%s-%s", foundry, family, xf);
6197 for (p = result; *p; p++) 6527 for (p = result; *p; p++)
6198 *p = tolower(*p); 6528 /* On Mac OS X 10.3, tolower also converts non-ASCII characters
6529 for some locales. */
6530 if (isascii (*p))
6531 *p = tolower (*p);
6199 return result; 6532 return result;
6200} 6533}
6201 6534
@@ -6253,7 +6586,7 @@ x_font_name_to_mac_font_name (xf, mf, mf_decoded, style, cs)
6253 { 6586 {
6254 setup_coding_system (coding_system, &coding); 6587 setup_coding_system (coding_system, &coding);
6255 coding.src_multibyte = 1; 6588 coding.src_multibyte = 1;
6256 coding.dst_multibyte = 1; 6589 coding.dst_multibyte = 0;
6257 coding.mode |= CODING_MODE_LAST_BLOCK; 6590 coding.mode |= CODING_MODE_LAST_BLOCK;
6258 encode_coding (&coding, mf_decoded, mf, 6591 encode_coding (&coding, mf_decoded, mf,
6259 strlen (mf_decoded), sizeof (Str255) - 1); 6592 strlen (mf_decoded), sizeof (Str255) - 1);
@@ -6267,13 +6600,13 @@ add_font_name_table_entry (char *font_name)
6267{ 6600{
6268 if (font_name_table_size == 0) 6601 if (font_name_table_size == 0)
6269 { 6602 {
6270 font_name_table_size = 16; 6603 font_name_table_size = 256;
6271 font_name_table = (char **) 6604 font_name_table = (char **)
6272 xmalloc (font_name_table_size * sizeof (char *)); 6605 xmalloc (font_name_table_size * sizeof (char *));
6273 } 6606 }
6274 else if (font_name_count + 1 >= font_name_table_size) 6607 else if (font_name_count + 1 >= font_name_table_size)
6275 { 6608 {
6276 font_name_table_size += 16; 6609 font_name_table_size *= 2;
6277 font_name_table = (char **) 6610 font_name_table = (char **)
6278 xrealloc (font_name_table, 6611 xrealloc (font_name_table,
6279 font_name_table_size * sizeof (char *)); 6612 font_name_table_size * sizeof (char *));
@@ -6498,39 +6831,16 @@ static int xlfd_scalable_fields[] =
6498 }; 6831 };
6499 6832
6500static Lisp_Object 6833static Lisp_Object
6501mac_c_string_match (regexp, string, nonspecial, exact)
6502 Lisp_Object regexp;
6503 const char *string, *nonspecial;
6504 int exact;
6505{
6506 if (exact)
6507 {
6508 if (strcmp (string, nonspecial) == 0)
6509 return build_string (string);
6510 }
6511 else if (strstr (string, nonspecial))
6512 {
6513 Lisp_Object str = build_string (string);
6514
6515 if (fast_string_match (regexp, str) >= 0)
6516 return str;
6517 }
6518
6519 return Qnil;
6520}
6521
6522static Lisp_Object
6523mac_do_list_fonts (pattern, maxnames) 6834mac_do_list_fonts (pattern, maxnames)
6524 char *pattern; 6835 char *pattern;
6525 int maxnames; 6836 int maxnames;
6526{ 6837{
6527 int i, n_fonts = 0; 6838 int i, n_fonts = 0;
6528 Lisp_Object font_list = Qnil, pattern_regex, fontname; 6839 Lisp_Object font_list = Qnil;
6529 char *regex = (char *) alloca (strlen (pattern) * 2 + 3); 6840 struct xlfdpat *pat;
6530 char *scaled, *ptr; 6841 char *scaled, *ptr;
6531 int scl_val[XLFD_SCL_LAST], *field, *val; 6842 int scl_val[XLFD_SCL_LAST], *field, *val;
6532 char *longest_start, *cur_start, *nonspecial; 6843 int exact;
6533 int longest_len, exact;
6534 6844
6535 if (font_name_table == NULL) /* Initialize when first used. */ 6845 if (font_name_table == NULL) /* Initialize when first used. */
6536 init_font_name_table (); 6846 init_font_name_table ();
@@ -6588,61 +6898,17 @@ mac_do_list_fonts (pattern, maxnames)
6588 else 6898 else
6589 scl_val[XLFD_SCL_PIXEL_SIZE] = -1; 6899 scl_val[XLFD_SCL_PIXEL_SIZE] = -1;
6590 6900
6591 ptr = regex; 6901 pat = xlfdpat_create (pattern);
6592 *ptr++ = '^'; 6902 if (pat == NULL)
6593 6903 return Qnil;
6594 longest_start = cur_start = ptr;
6595 longest_len = 0;
6596 exact = 1;
6597
6598 /* Turn pattern into a regexp and do a regexp match. Also find the
6599 longest substring containing no special characters. */
6600 for (; *pattern; pattern++)
6601 {
6602 if (*pattern == '?' || *pattern == '*')
6603 {
6604 if (ptr - cur_start > longest_len)
6605 {
6606 longest_start = cur_start;
6607 longest_len = ptr - cur_start;
6608 }
6609 exact = 0;
6610
6611 if (*pattern == '?')
6612 *ptr++ = '.';
6613 else /* if (*pattern == '*') */
6614 {
6615 *ptr++ = '.';
6616 *ptr++ = '*';
6617 }
6618 cur_start = ptr;
6619 }
6620 else
6621 *ptr++ = tolower (*pattern);
6622 }
6623
6624 if (ptr - cur_start > longest_len)
6625 {
6626 longest_start = cur_start;
6627 longest_len = ptr - cur_start;
6628 }
6629
6630 *ptr = '$';
6631 *(ptr + 1) = '\0';
6632
6633 nonspecial = xmalloc (longest_len + 1);
6634 strncpy (nonspecial, longest_start, longest_len);
6635 nonspecial[longest_len] = '\0';
6636 6904
6637 pattern_regex = build_string (regex); 6905 exact = xlfdpat_exact_p (pat);
6638 6906
6639 for (i = 0; i < font_name_count; i++) 6907 for (i = 0; i < font_name_count; i++)
6640 { 6908 {
6641 fontname = mac_c_string_match (pattern_regex, font_name_table[i], 6909 if (xlfdpat_match (pat, font_name_table[i]))
6642 nonspecial, exact);
6643 if (!NILP (fontname))
6644 { 6910 {
6645 font_list = Fcons (fontname, font_list); 6911 font_list = Fcons (build_string (font_name_table[i]), font_list);
6646 if (exact || maxnames > 0 && ++n_fonts >= maxnames) 6912 if (exact || maxnames > 0 && ++n_fonts >= maxnames)
6647 break; 6913 break;
6648 } 6914 }
@@ -6652,6 +6918,8 @@ mac_do_list_fonts (pattern, maxnames)
6652 int former_len = ptr - font_name_table[i]; 6918 int former_len = ptr - font_name_table[i];
6653 6919
6654 scaled = xmalloc (strlen (font_name_table[i]) + 20 + 1); 6920 scaled = xmalloc (strlen (font_name_table[i]) + 20 + 1);
6921 if (scaled == NULL)
6922 continue;
6655 memcpy (scaled, font_name_table[i], former_len); 6923 memcpy (scaled, font_name_table[i], former_len);
6656 sprintf (scaled + former_len, 6924 sprintf (scaled + former_len,
6657 "-%d-%d-75-75-m-%d-%s", 6925 "-%d-%d-75-75-m-%d-%s",
@@ -6659,19 +6927,20 @@ mac_do_list_fonts (pattern, maxnames)
6659 scl_val[XLFD_SCL_POINT_SIZE], 6927 scl_val[XLFD_SCL_POINT_SIZE],
6660 scl_val[XLFD_SCL_AVGWIDTH], 6928 scl_val[XLFD_SCL_AVGWIDTH],
6661 ptr + sizeof ("-0-0-0-0-m-0-") - 1); 6929 ptr + sizeof ("-0-0-0-0-m-0-") - 1);
6662 fontname = mac_c_string_match (pattern_regex, scaled, 6930
6663 nonspecial, exact); 6931 if (xlfdpat_match (pat, scaled))
6664 xfree (scaled);
6665 if (!NILP (fontname))
6666 { 6932 {
6667 font_list = Fcons (fontname, font_list); 6933 font_list = Fcons (build_string (scaled), font_list);
6934 xfree (scaled);
6668 if (exact || maxnames > 0 && ++n_fonts >= maxnames) 6935 if (exact || maxnames > 0 && ++n_fonts >= maxnames)
6669 break; 6936 break;
6670 } 6937 }
6938 else
6939 xfree (scaled);
6671 } 6940 }
6672 } 6941 }
6673 6942
6674 xfree (nonspecial); 6943 xlfdpat_destroy (pat);
6675 6944
6676 return font_list; 6945 return font_list;
6677} 6946}
diff --git a/src/xdisp.c b/src/xdisp.c
index b887c8d702c..bc016fb7c79 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3415,7 +3415,7 @@ handle_display_prop (it)
3415 } 3415 }
3416 else 3416 else
3417 { 3417 {
3418 object = it->w->buffer; 3418 XSETWINDOW (object, it->w);
3419 position = &it->current.pos; 3419 position = &it->current.pos;
3420 } 3420 }
3421 3421
@@ -3436,6 +3436,9 @@ handle_display_prop (it)
3436 if (NILP (prop)) 3436 if (NILP (prop))
3437 return HANDLED_NORMALLY; 3437 return HANDLED_NORMALLY;
3438 3438
3439 if (!STRINGP (it->string))
3440 object = it->w->buffer;
3441
3439 if (CONSP (prop) 3442 if (CONSP (prop)
3440 /* Simple properties. */ 3443 /* Simple properties. */
3441 && !EQ (XCAR (prop), Qimage) 3444 && !EQ (XCAR (prop), Qimage)
@@ -10616,13 +10619,9 @@ redisplay_internal (preserve_echo_area)
10616 if (consider_all_windows_p) 10619 if (consider_all_windows_p)
10617 { 10620 {
10618 Lisp_Object tail, frame; 10621 Lisp_Object tail, frame;
10619 int i, n = 0, size = 5;
10620 struct frame **updated;
10621 10622
10622 FOR_EACH_FRAME (tail, frame) 10623 FOR_EACH_FRAME (tail, frame)
10623 size++; 10624 XFRAME (frame)->updated_p = 0;
10624
10625 updated = (struct frame **) alloca (size * sizeof *updated);
10626 10625
10627 /* Recompute # windows showing selected buffer. This will be 10626 /* Recompute # windows showing selected buffer. This will be
10628 incremented each time such a window is displayed. */ 10627 incremented each time such a window is displayed. */
@@ -10684,15 +10683,7 @@ redisplay_internal (preserve_echo_area)
10684 break; 10683 break;
10685#endif 10684#endif
10686 10685
10687 if (n == size) 10686 f->updated_p = 1;
10688 {
10689 int nbytes = size * sizeof *updated;
10690 struct frame **p = (struct frame **) alloca (2 * nbytes);
10691 bcopy (updated, p, nbytes);
10692 size *= 2;
10693 }
10694
10695 updated[n++] = f;
10696 } 10687 }
10697 } 10688 }
10698 } 10689 }
@@ -10702,12 +10693,15 @@ redisplay_internal (preserve_echo_area)
10702 /* Do the mark_window_display_accurate after all windows have 10693 /* Do the mark_window_display_accurate after all windows have
10703 been redisplayed because this call resets flags in buffers 10694 been redisplayed because this call resets flags in buffers
10704 which are needed for proper redisplay. */ 10695 which are needed for proper redisplay. */
10705 for (i = 0; i < n; ++i) 10696 FOR_EACH_FRAME (tail, frame)
10706 { 10697 {
10707 struct frame *f = updated[i]; 10698 struct frame *f = XFRAME (frame);
10708 mark_window_display_accurate (f->root_window, 1); 10699 if (f->updated_p)
10709 if (FRAME_DEVICE (f)->frame_up_to_date_hook) 10700 {
10710 FRAME_DEVICE (f)->frame_up_to_date_hook (f); 10701 mark_window_display_accurate (f->root_window, 1);
10702 if (FRAME_DEVICE (f)->frame_up_to_date_hook)
10703 FRAME_DEVICE (f)->frame_up_to_date_hook (f);
10704 }
10711 } 10705 }
10712 } 10706 }
10713 } 10707 }
@@ -12842,12 +12836,11 @@ try_window (window, pos, check_margins)
12842 if (check_margins 12836 if (check_margins
12843 && !MINI_WINDOW_P (w)) 12837 && !MINI_WINDOW_P (w))
12844 { 12838 {
12845 int this_scroll_margin, cursor_height; 12839 int this_scroll_margin;
12846 12840
12847 this_scroll_margin = max (0, scroll_margin); 12841 this_scroll_margin = max (0, scroll_margin);
12848 this_scroll_margin = min (this_scroll_margin, WINDOW_TOTAL_LINES (w) / 4); 12842 this_scroll_margin = min (this_scroll_margin, WINDOW_TOTAL_LINES (w) / 4);
12849 this_scroll_margin *= FRAME_LINE_HEIGHT (it.f); 12843 this_scroll_margin *= FRAME_LINE_HEIGHT (it.f);
12850 cursor_height = MATRIX_ROW (w->desired_matrix, w->cursor.vpos)->height;
12851 12844
12852 if ((w->cursor.y < this_scroll_margin 12845 if ((w->cursor.y < this_scroll_margin
12853 && CHARPOS (pos) > BEGV) 12846 && CHARPOS (pos) > BEGV)
@@ -13098,7 +13091,7 @@ try_window_reusing_current_matrix (w)
13098 /* Disable lines in the current matrix which are now 13091 /* Disable lines in the current matrix which are now
13099 below the window. */ 13092 below the window. */
13100 for (++row; row < bottom_row; ++row) 13093 for (++row; row < bottom_row; ++row)
13101 row->enabled_p = 0; 13094 row->enabled_p = row->mode_line_p = 0;
13102 } 13095 }
13103 13096
13104 /* Update window_end_pos etc.; last_reused_text_row is the last 13097 /* Update window_end_pos etc.; last_reused_text_row is the last
diff --git a/src/xfaces.c b/src/xfaces.c
index 06022383cb9..d9fd4d2f989 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -838,7 +838,10 @@ xstrlwr (s)
838 unsigned char *p = s; 838 unsigned char *p = s;
839 839
840 for (p = s; *p; ++p) 840 for (p = s; *p; ++p)
841 *p = tolower (*p); 841 /* On Mac OS X 10.3, tolower also converts non-ASCII characters
842 for some locales. */
843 if (isascii (*p))
844 *p = tolower (*p);
842 845
843 return s; 846 return s;
844} 847}