comparison src/auto/configure @ 1621:82b5078be2dd

updated for version 7.2a
author vimboss
date Tue, 24 Jun 2008 21:56:24 +0000
parents ebe059f69b9e
children 68f005107052
comparison
equal deleted inserted replaced
1620:73fe8baea242 1621:82b5078be2dd
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59. 3 # Generated by GNU Autoconf 2.62.
4 # 4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation 7 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it. 8 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ## 9 ## --------------------- ##
9 ## M4sh Initialization. ## 10 ## M4sh Initialization. ##
10 ## --------------------- ## 11 ## --------------------- ##
11 12
12 # Be Bourne compatible 13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh 16 emulate sh
15 NULLCMD=: 17 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature. 19 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"' 20 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 setopt NO_GLOB_SUBST
20 set -o posix 22 else
21 fi 23 case `(set -o) 2>/dev/null` in
22 DUALCASE=1; export DUALCASE # for MKS sh 24 *posix*) set -o posix ;;
23 25 esac
24 # Support unset when possible. 26
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 27 fi
26 as_unset=unset 28
27 else 29
28 as_unset=false 30
29 fi 31
30 32 # PATH needs CR
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges. 33 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789' 37 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits 38 as_cr_alnum=$as_cr_Letters$as_cr_digits
85 39
40 as_nl='
41 '
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
86 # The user is always right. 72 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then 73 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh 74 PATH_SEPARATOR=:
89 echo "exit 0" >>conf$$.sh 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
90 chmod +x conf$$.sh 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 77 PATH_SEPARATOR=';'
92 PATH_SEPARATOR=';' 78 }
93 else 79 fi
94 PATH_SEPARATOR=: 80
95 fi 81 # Support unset when possible.
96 rm -f conf$$.sh 82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97 fi 83 as_unset=unset
98 84 else
99 85 as_unset=false
100 as_lineno_1=$LINENO 86 fi
101 as_lineno_2=$LINENO 87
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 88
103 test "x$as_lineno_1" != "x$as_lineno_2" && 89 # IFS
104 test "x$as_lineno_3" = "x$as_lineno_2" || { 90 # We need space, tab and new line, in precisely that order. Quoting is
105 # Find who we are. Look in the path if we contain no path at all 91 # there to prevent editors from complaining about space-tab.
106 # relative or not. 92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
107 case $0 in 93 # splitting by setting IFS to empty value.)
108 *[\\/]* ) as_myself=$0 ;; 94 IFS=" "" $as_nl"
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95
96 # Find who we are. Look in the path if we contain no directory separator.
97 case $0 in
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH 100 for as_dir in $PATH
111 do 101 do
112 IFS=$as_save_IFS 102 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=. 103 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done 105 done
116 106 IFS=$as_save_IFS
117 ;; 107
118 esac 108 ;;
119 # We did not find ourselves, most probably we were run as `sh COMMAND' 109 esac
120 # in which case we are not to be found in the path. 110 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 if test "x$as_myself" = x; then 111 # in which case we are not to be found in the path.
122 as_myself=$0 112 if test "x$as_myself" = x; then
123 fi 113 as_myself=$0
124 if test ! -f "$as_myself"; then 114 fi
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 115 if test ! -f "$as_myself"; then
126 { (exit 1); exit 1; }; } 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
127 fi 117 { (exit 1); exit 1; }
128 case $CONFIG_SHELL in 118 fi
129 '') 119
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138 else
139 as_expr=false
140 fi
141
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144 else
145 as_basename=false
146 fi
147
148
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
157 q
158 }
159 /^X\/\(\/\/\)$/{
160 s//\1/
161 q
162 }
163 /^X\/\(\/\).*/{
164 s//\1/
165 q
166 }
167 s/.*/./; q'`
168
169 # CDPATH.
170 $as_unset CDPATH
171
172
173 if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
175 as_have_required=yes
176 else
177 as_have_required=no
178 fi
179
180 if test $as_have_required = yes && (eval ":
181 (as_func_return () {
182 (exit \$1)
183 }
184 as_func_success () {
185 as_func_return 0
186 }
187 as_func_failure () {
188 as_func_return 1
189 }
190 as_func_ret_success () {
191 return 0
192 }
193 as_func_ret_failure () {
194 return 1
195 }
196
197 exitcode=0
198 if as_func_success; then
199 :
200 else
201 exitcode=1
202 echo as_func_success failed.
203 fi
204
205 if as_func_failure; then
206 exitcode=1
207 echo as_func_failure succeeded.
208 fi
209
210 if as_func_ret_success; then
211 :
212 else
213 exitcode=1
214 echo as_func_ret_success failed.
215 fi
216
217 if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
220 fi
221
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223 :
224 else
225 exitcode=1
226 echo positional parameters were not saved.
227 fi
228
229 test \$exitcode = 0) || { (exit 1); exit 1; }
230
231 (
232 as_lineno_1=\$LINENO
233 as_lineno_2=\$LINENO
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
237 :
238 else
239 as_candidate_shells=
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do 242 do
133 IFS=$as_save_IFS 243 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=. 244 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do 245 case $as_dir in
136 case $as_dir in
137 /*) 246 /*)
138 if ("$as_dir/$as_base" -c ' 247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249 done;;
250 esac
251 done
252 IFS=$as_save_IFS
253
254
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269 esac
270
271 fi
272
273
274 :
275 _ASEOF
276 }; then
277 CONFIG_SHELL=$as_shell
278 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh
282 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST
287 else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290 esac
291
292 fi
293
294
295 :
296 (as_func_return () {
297 (exit $1)
298 }
299 as_func_success () {
300 as_func_return 0
301 }
302 as_func_failure () {
303 as_func_return 1
304 }
305 as_func_ret_success () {
306 return 0
307 }
308 as_func_ret_failure () {
309 return 1
310 }
311
312 exitcode=0
313 if as_func_success; then
314 :
315 else
316 exitcode=1
317 echo as_func_success failed.
318 fi
319
320 if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
323 fi
324
325 if as_func_ret_success; then
326 :
327 else
328 exitcode=1
329 echo as_func_ret_success failed.
330 fi
331
332 if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
335 fi
336
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
338 :
339 else
340 exitcode=1
341 echo positional parameters were not saved.
342 fi
343
344 test $exitcode = 0) || { (exit 1); exit 1; }
345
346 (
139 as_lineno_1=$LINENO 347 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO 348 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" && 349 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 351
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 352 _ASEOF
146 CONFIG_SHELL=$as_dir/$as_base 353 }; then
147 export CONFIG_SHELL 354 break
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 355 fi
149 fi;; 356
150 esac 357 fi
151 done 358
152 done 359 done
153 ;; 360
154 esac 361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done
365 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 fi
368
369
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
376 fi
377
378
379 fi
380
381 fi
382
383
384
385 (eval "as_func_return () {
386 (exit \$1)
387 }
388 as_func_success () {
389 as_func_return 0
390 }
391 as_func_failure () {
392 as_func_return 1
393 }
394 as_func_ret_success () {
395 return 0
396 }
397 as_func_ret_failure () {
398 return 1
399 }
400
401 exitcode=0
402 if as_func_success; then
403 :
404 else
405 exitcode=1
406 echo as_func_success failed.
407 fi
408
409 if as_func_failure; then
410 exitcode=1
411 echo as_func_failure succeeded.
412 fi
413
414 if as_func_ret_success; then
415 :
416 else
417 exitcode=1
418 echo as_func_ret_success failed.
419 fi
420
421 if as_func_ret_failure; then
422 exitcode=1
423 echo as_func_ret_failure succeeded.
424 fi
425
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427 :
428 else
429 exitcode=1
430 echo positional parameters were not saved.
431 fi
432
433 test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
439 }
440
441
442
443 as_lineno_1=$LINENO
444 as_lineno_2=$LINENO
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155 447
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a 449 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real 450 # line-number line after each line using $LINENO; the second 'sed'
159 # work. The second script uses 'N' to pair each line-number line 451 # does the real work. The second script uses 'N' to pair each
160 # with the numbered line, and appends trailing '-' during 452 # line-number line with the line containing $LINENO, and appends
161 # substitution so that $LINENO is not a special case at line end. 453 # trailing '-' during substitution so that $LINENO is not a special
454 # case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 456 # scripts with optimization help from Paolo Bonzini. Blame Lee
164 sed '=' <$as_myself | 457 # E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n '
459 p
460 /[$]LINENO/=
461 ' <$as_myself |
165 sed ' 462 sed '
463 s/[$]LINENO.*/&-/
464 t lineno
465 b
466 :lineno
166 N 467 N
167 s,$,-, 468 :loop
168 : loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop 470 t loop
171 s,-$,, 471 s/-\n.*//
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno && 472 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno || 473 chmod +x "$as_me.lineno" ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; } 475 { (exit 1); exit 1; }; }
177 476
178 # Don't try to exec as it changes $[0], causing all sort of problems 477 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the 478 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this). 479 # original and so on. Autoconf is especially sensitive to this).
181 . ./$as_me.lineno 480 . "./$as_me.lineno"
182 # Exit status is that of the last command. 481 # Exit status is that of the last command.
183 exit 482 exit
184 } 483 }
185 484
186 485
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
188 *c*,-n*) ECHO_N= ECHO_C=' 487 as_dirname=dirname
189 ' ECHO_T=' ' ;; 488 else
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 489 as_dirname=false
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 490 fi
192 esac 491
193 492 ECHO_C= ECHO_N= ECHO_T=
194 if expr a : '\(a\)' >/dev/null 2>&1; then 493 case `echo -n x` in
494 -n*)
495 case `echo 'x\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';;
498 esac;;
499 *)
500 ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
195 as_expr=expr 504 as_expr=expr
196 else 505 else
197 as_expr=false 506 as_expr=false
198 fi 507 fi
199 508
200 rm -f conf$$ conf$$.exe conf$$.file 509 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file 510 if test -d conf$$.dir; then
202 if ln -s conf$$.file conf$$ 2>/dev/null; then 511 rm -f conf$$.dir/conf$$.file
203 # We could just check for DJGPP; but this test a) works b) is more generic 512 else
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 513 rm -f conf$$.dir
205 if test -f conf$$.exe; then 514 mkdir conf$$.dir 2>/dev/null
206 # Don't use ln at all; we don't have any links 515 fi
516 if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
518 as_ln_s='ln -s'
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524 as_ln_s='cp -p'
525 elif ln conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s=ln
527 else
207 as_ln_s='cp -p' 528 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi 529 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else 530 else
214 as_ln_s='cp -p' 531 as_ln_s='cp -p'
215 fi 532 fi
216 rm -f conf$$ conf$$.exe conf$$.file 533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
217 535
218 if mkdir -p . 2>/dev/null; then 536 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=: 537 as_mkdir_p=:
220 else 538 else
221 test -d ./-p && rmdir ./-p 539 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false 540 as_mkdir_p=false
223 fi 541 fi
224 542
225 as_executable_p="test -f" 543 if test -x / >/dev/null 2>&1; then
544 as_test_x='test -x'
545 else
546 if ls -dL / >/dev/null 2>&1; then
547 as_ls_L_option=L
548 else
549 as_ls_L_option=
550 fi
551 as_test_x='
552 eval sh -c '\''
553 if test -d "$1"; then
554 test -d "$1/.";
555 else
556 case $1 in
557 -*)set "./$1";;
558 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh
562 '
563 fi
564 as_executable_p=$as_test_x
226 565
227 # Sed expression to map a string onto a valid CPP name. 566 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229 568
230 # Sed expression to map a string onto a valid variable name. 569 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 571
233 572
234 # IFS 573
235 # We need space, tab and new line, in precisely that order. 574 exec 7<&0 </dev/null 6>&1
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243 575
244 # Name of the host. 576 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too. 578 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248 580
249 exec 6>&1
250
251 # 581 #
252 # Initializations. 582 # Initializations.
253 # 583 #
254 ac_default_prefix=/usr/local 584 ac_default_prefix=/usr/local
585 ac_clean_files=
255 ac_config_libobj_dir=. 586 ac_config_libobj_dir=.
587 LIBOBJS=
256 cross_compiling=no 588 cross_compiling=no
257 subdirs= 589 subdirs=
258 MFLAGS= 590 MFLAGS=
259 MAKEFLAGS= 591 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh} 592 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266 593
267 # Identity of this package. 594 # Identity of this package.
268 PACKAGE_NAME= 595 PACKAGE_NAME=
269 PACKAGE_TARNAME= 596 PACKAGE_TARNAME=
270 PACKAGE_VERSION= 597 PACKAGE_VERSION=
273 600
274 ac_unique_file="vim.h" 601 ac_unique_file="vim.h"
275 # Factoring default headers for most tests. 602 # Factoring default headers for most tests.
276 ac_includes_default="\ 603 ac_includes_default="\
277 #include <stdio.h> 604 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H 605 #ifdef HAVE_SYS_TYPES_H
279 # include <sys/types.h> 606 # include <sys/types.h>
280 #endif 607 #endif
281 #if HAVE_SYS_STAT_H 608 #ifdef HAVE_SYS_STAT_H
282 # include <sys/stat.h> 609 # include <sys/stat.h>
283 #endif 610 #endif
284 #if STDC_HEADERS 611 #ifdef STDC_HEADERS
285 # include <stdlib.h> 612 # include <stdlib.h>
286 # include <stddef.h> 613 # include <stddef.h>
287 #else 614 #else
288 # if HAVE_STDLIB_H 615 # ifdef HAVE_STDLIB_H
289 # include <stdlib.h> 616 # include <stdlib.h>
290 # endif 617 # endif
291 #endif 618 #endif
292 #if HAVE_STRING_H 619 #ifdef HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H 620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
294 # include <memory.h> 621 # include <memory.h>
295 # endif 622 # endif
296 # include <string.h> 623 # include <string.h>
297 #endif 624 #endif
298 #if HAVE_STRINGS_H 625 #ifdef HAVE_STRINGS_H
299 # include <strings.h> 626 # include <strings.h>
300 #endif 627 #endif
301 #if HAVE_INTTYPES_H 628 #ifdef HAVE_INTTYPES_H
302 # include <inttypes.h> 629 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif 630 #endif
308 #if HAVE_UNISTD_H 631 #ifdef HAVE_STDINT_H
632 # include <stdint.h>
633 #endif
634 #ifdef HAVE_UNISTD_H
309 # include <unistd.h> 635 # include <unistd.h>
310 #endif" 636 #endif"
311 637
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP AWK STRIP CPP_MM OS_EXTRA_SRC OS_EXTRA_OBJ VIMNAME EXNAME VIEWNAME line_break dovimdiff dogvimdiff compiledby vi_cv_path_mzscheme MZSCHEME_SRC MZSCHEME_OBJ MZSCHEME_PRO MZSCHEME_LIBS MZSCHEME_CFLAGS vi_cv_path_perl vi_cv_perllib shrpenv PERL_SRC PERL_OBJ PERL_PRO PERL_CFLAGS PERL_LIBS vi_cv_path_python PYTHON_CONFDIR PYTHON_LIBS PYTHON_GETPATH_CFLAGS PYTHON_CFLAGS PYTHON_SRC PYTHON_OBJ vi_cv_path_tcl TCL_SRC TCL_OBJ TCL_PRO TCL_CFLAGS TCL_LIBS vi_cv_path_ruby RUBY_SRC RUBY_OBJ RUBY_PRO RUBY_CFLAGS RUBY_LIBS WORKSHOP_SRC WORKSHOP_OBJ NETBEANS_SRC NETBEANS_OBJ SNIFF_SRC SNIFF_OBJ xmkmfpath X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS X_LIB GTK_CONFIG GTK12_CONFIG PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_LIBNAME GNOME_LIBS GNOME_LIBDIR GNOME_INCLUDEDIR GNOME_CONFIG MOTIF_LIBNAME NARROW_PROTO GUI_INC_LOC GUI_LIB_LOC GUITYPE GUI_X_LIBS HANGULIN_SRC HANGULIN_OBJ TAGPRG INSTALL_LANGS INSTALL_TOOL_LANGS MSGFMT MAKEMO DEPEND_CFLAGS_FILTER LIBOBJS LTLIBOBJS' 638 ac_subst_vars='SHELL
639 PATH_SEPARATOR
640 PACKAGE_NAME
641 PACKAGE_TARNAME
642 PACKAGE_VERSION
643 PACKAGE_STRING
644 PACKAGE_BUGREPORT
645 exec_prefix
646 prefix
647 program_transform_name
648 bindir
649 sbindir
650 libexecdir
651 datarootdir
652 datadir
653 sysconfdir
654 sharedstatedir
655 localstatedir
656 includedir
657 oldincludedir
658 docdir
659 infodir
660 htmldir
661 dvidir
662 pdfdir
663 psdir
664 libdir
665 localedir
666 mandir
667 DEFS
668 ECHO_C
669 ECHO_N
670 ECHO_T
671 LIBS
672 build_alias
673 host_alias
674 target_alias
675 SET_MAKE
676 CC
677 CFLAGS
678 LDFLAGS
679 CPPFLAGS
680 ac_ct_CC
681 EXEEXT
682 OBJEXT
683 CPP
684 GREP
685 EGREP
686 AWK
687 STRIP
688 CPP_MM
689 OS_EXTRA_SRC
690 OS_EXTRA_OBJ
691 VIMNAME
692 EXNAME
693 VIEWNAME
694 line_break
695 dovimdiff
696 dogvimdiff
697 compiledby
698 vi_cv_path_mzscheme
699 MZSCHEME_SRC
700 MZSCHEME_OBJ
701 MZSCHEME_PRO
702 MZSCHEME_LIBS
703 MZSCHEME_CFLAGS
704 vi_cv_path_perl
705 vi_cv_perllib
706 shrpenv
707 PERL_SRC
708 PERL_OBJ
709 PERL_PRO
710 PERL_CFLAGS
711 PERL_LIBS
712 vi_cv_path_python
713 PYTHON_CONFDIR
714 PYTHON_LIBS
715 PYTHON_GETPATH_CFLAGS
716 PYTHON_CFLAGS
717 PYTHON_SRC
718 PYTHON_OBJ
719 vi_cv_path_tcl
720 TCL_SRC
721 TCL_OBJ
722 TCL_PRO
723 TCL_CFLAGS
724 TCL_LIBS
725 vi_cv_path_ruby
726 RUBY_SRC
727 RUBY_OBJ
728 RUBY_PRO
729 RUBY_CFLAGS
730 RUBY_LIBS
731 WORKSHOP_SRC
732 WORKSHOP_OBJ
733 NETBEANS_SRC
734 NETBEANS_OBJ
735 SNIFF_SRC
736 SNIFF_OBJ
737 xmkmfpath
738 XMKMF
739 X_CFLAGS
740 X_PRE_LIBS
741 X_LIBS
742 X_EXTRA_LIBS
743 X_LIB
744 GTK_CONFIG
745 GTK12_CONFIG
746 PKG_CONFIG
747 GTK_CFLAGS
748 GTK_LIBS
749 GTK_LIBNAME
750 GNOME_LIBS
751 GNOME_LIBDIR
752 GNOME_INCLUDEDIR
753 GNOME_CONFIG
754 MOTIF_LIBNAME
755 NARROW_PROTO
756 GUI_INC_LOC
757 GUI_LIB_LOC
758 GUITYPE
759 GUI_X_LIBS
760 HANGULIN_SRC
761 HANGULIN_OBJ
762 TAGPRG
763 INSTALL_LANGS
764 INSTALL_TOOL_LANGS
765 MSGFMT
766 MAKEMO
767 DEPEND_CFLAGS_FILTER
768 LIBOBJS
769 LTLIBOBJS'
313 ac_subst_files='' 770 ac_subst_files=''
771 ac_user_opts='
772 enable_option_checking
773 enable_darwin
774 with_mac_arch
775 with_vim_name
776 with_ex_name
777 with_view_name
778 with_global_runtime
779 with_modified_by
780 enable_selinux
781 with_features
782 with_compiledby
783 enable_xsmp
784 enable_xsmp_interact
785 enable_mzschemeinterp
786 with_plthome
787 enable_perlinterp
788 enable_pythoninterp
789 with_python_config_dir
790 enable_tclinterp
791 with_tclsh
792 enable_rubyinterp
793 enable_cscope
794 enable_workshop
795 enable_netbeans
796 enable_sniff
797 enable_multibyte
798 enable_hangulinput
799 enable_xim
800 enable_fontset
801 with_x
802 enable_gui
803 enable_gtk_check
804 enable_gtk2_check
805 enable_gnome_check
806 enable_motif_check
807 enable_athena_check
808 enable_nextaw_check
809 enable_carbon_check
810 with_gtk_prefix
811 with_gtk_exec_prefix
812 enable_gtktest
813 with_gnome_includes
814 with_gnome_libs
815 with_gnome
816 with_motif_lib
817 with_tlib
818 enable_acl
819 enable_gpm
820 enable_sysmouse
821 enable_nls
822 '
823 ac_precious_vars='build_alias
824 host_alias
825 target_alias
826 CC
827 CFLAGS
828 LDFLAGS
829 LIBS
830 CPPFLAGS
831 CPP
832 XMKMF'
833
314 834
315 # Initialize some variables set by options. 835 # Initialize some variables set by options.
316 ac_init_help= 836 ac_init_help=
317 ac_init_version=false 837 ac_init_version=false
838 ac_unrecognized_opts=
839 ac_unrecognized_sep=
318 # The variables have the same names as the options, with 840 # The variables have the same names as the options, with
319 # dashes changed to underlines. 841 # dashes changed to underlines.
320 cache_file=/dev/null 842 cache_file=/dev/null
321 exec_prefix=NONE 843 exec_prefix=NONE
322 no_create= 844 no_create=
335 # Installation directory options. 857 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo" 858 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix 859 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change. 860 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them. 861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
340 bindir='${exec_prefix}/bin' 863 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin' 864 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec' 865 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share' 866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
344 sysconfdir='${prefix}/etc' 868 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com' 869 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var' 870 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include' 871 includedir='${prefix}/include'
349 oldincludedir='/usr/include' 872 oldincludedir='/usr/include'
350 infodir='${prefix}/info' 873 docdir='${datarootdir}/doc/${PACKAGE}'
351 mandir='${prefix}/man' 874 infodir='${datarootdir}/info'
875 htmldir='${docdir}'
876 dvidir='${docdir}'
877 pdfdir='${docdir}'
878 psdir='${docdir}'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
352 882
353 ac_prev= 883 ac_prev=
884 ac_dashdash=
354 for ac_option 885 for ac_option
355 do 886 do
356 # If the previous option needs an argument, assign it. 887 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then 888 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option" 889 eval $ac_prev=\$ac_option
359 ac_prev= 890 ac_prev=
360 continue 891 continue
361 fi 892 fi
362 893
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 894 case $ac_option in
895 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896 *) ac_optarg=yes ;;
897 esac
364 898
365 # Accept the important Cygnus configure options, so we can diagnose typos. 899 # Accept the important Cygnus configure options, so we can diagnose typos.
366 900
367 case $ac_option in 901 case $ac_dashdash$ac_option in
902 --)
903 ac_dashdash=yes ;;
368 904
369 -bindir | --bindir | --bindi | --bind | --bin | --bi) 905 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;; 906 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 907 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;; 908 bindir=$ac_optarg ;;
384 cache_file=$ac_optarg ;; 920 cache_file=$ac_optarg ;;
385 921
386 --config-cache | -C) 922 --config-cache | -C)
387 cache_file=config.cache ;; 923 cache_file=config.cache ;;
388 924
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 925 -datadir | --datadir | --datadi | --datad)
390 ac_prev=datadir ;; 926 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 927 -datadir=* | --datadir=* | --datadi=* | --datad=*)
392 | --da=*)
393 datadir=$ac_optarg ;; 928 datadir=$ac_optarg ;;
394 929
930 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
931 | --dataroo | --dataro | --datar)
932 ac_prev=datarootdir ;;
933 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
934 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
935 datarootdir=$ac_optarg ;;
936
395 -disable-* | --disable-*) 937 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 938 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names. 939 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 941 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
400 { (exit 1); exit 1; }; } 942 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 943 ac_useropt_orig=$ac_useropt
402 eval "enable_$ac_feature=no" ;; 944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 case $ac_user_opts in
946 *"
947 "enable_$ac_useropt"
948 "*) ;;
949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
950 ac_unrecognized_sep=', ';;
951 esac
952 eval enable_$ac_useropt=no ;;
953
954 -docdir | --docdir | --docdi | --doc | --do)
955 ac_prev=docdir ;;
956 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
957 docdir=$ac_optarg ;;
958
959 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
960 ac_prev=dvidir ;;
961 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
962 dvidir=$ac_optarg ;;
403 963
404 -enable-* | --enable-*) 964 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 965 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names. 966 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 968 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
409 { (exit 1); exit 1; }; } 969 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 970 ac_useropt_orig=$ac_useropt
411 case $ac_option in 971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 972 case $ac_user_opts in
413 *) ac_optarg=yes ;; 973 *"
974 "enable_$ac_useropt"
975 "*) ;;
976 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep=', ';;
414 esac 978 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;; 979 eval enable_$ac_useropt=\$ac_optarg ;;
416 980
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 981 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 982 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex) 983 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;; 984 ac_prev=exec_prefix ;;
437 -host | --host | --hos | --ho) 1001 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;; 1002 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*) 1003 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;; 1004 host_alias=$ac_optarg ;;
441 1005
1006 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1007 ac_prev=htmldir ;;
1008 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1009 | --ht=*)
1010 htmldir=$ac_optarg ;;
1011
442 -includedir | --includedir | --includedi | --included | --include \ 1012 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc) 1013 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;; 1014 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1015 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*) 1016 | --includ=* | --inclu=* | --incl=* | --inc=*)
461 ac_prev=libexecdir ;; 1031 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1032 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*) 1033 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;; 1034 libexecdir=$ac_optarg ;;
465 1035
1036 -localedir | --localedir | --localedi | --localed | --locale)
1037 ac_prev=localedir ;;
1038 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1039 localedir=$ac_optarg ;;
1040
466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1041 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \ 1042 | --localstate | --localstat | --localsta | --localst | --locals)
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;; 1043 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1044 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 1045 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;; 1046 localstatedir=$ac_optarg ;;
474 1047
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1048 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;; 1049 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1050 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
532 | --program-transfo=* | --program-transf=* \ 1105 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \ 1106 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*) 1107 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;; 1108 program_transform_name=$ac_optarg ;;
536 1109
1110 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1111 ac_prev=pdfdir ;;
1112 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1113 pdfdir=$ac_optarg ;;
1114
1115 -psdir | --psdir | --psdi | --psd | --ps)
1116 ac_prev=psdir ;;
1117 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1118 psdir=$ac_optarg ;;
1119
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil) 1121 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;; 1122 silent=yes ;;
540 1123
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1124 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
582 1165
583 -version | --version | --versio | --versi | --vers | -V) 1166 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;; 1167 ac_init_version=: ;;
585 1168
586 -with-* | --with-*) 1169 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names. 1171 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2 1173 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
591 { (exit 1); exit 1; }; } 1174 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'` 1175 ac_useropt_orig=$ac_useropt
593 case $ac_option in 1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 1177 case $ac_user_opts in
595 *) ac_optarg=yes ;; 1178 *"
1179 "with_$ac_useropt"
1180 "*) ;;
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
596 esac 1183 esac
597 eval "with_$ac_package='$ac_optarg'" ;; 1184 eval with_$ac_useropt=\$ac_optarg ;;
598 1185
599 -without-* | --without-*) 1186 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1187 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names. 1188 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2 1190 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
604 { (exit 1); exit 1; }; } 1191 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'` 1192 ac_useropt_orig=$ac_useropt
606 eval "with_$ac_package=no" ;; 1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1195 *"
1196 "with_$ac_useropt"
1197 "*) ;;
1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep=', ';;
1200 esac
1201 eval with_$ac_useropt=no ;;
607 1202
608 --x) 1203 --x)
609 # Obsolete; use --with-x. 1204 # Obsolete; use --with-x.
610 with_x=yes ;; 1205 with_x=yes ;;
611 1206
621 ac_prev=x_libraries ;; 1216 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1217 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1218 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;; 1219 x_libraries=$ac_optarg ;;
625 1220
626 -*) { echo "$as_me: error: unrecognized option: $ac_option 1221 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2 1222 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; } 1223 { (exit 1); exit 1; }; }
629 ;; 1224 ;;
630 1225
631 *=*) 1226 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1227 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names. 1228 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1229 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1230 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; } 1231 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 1232 eval $ac_envvar=\$ac_optarg
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;; 1233 export $ac_envvar ;;
640 1234
641 *) 1235 *)
642 # FIXME: should be removed in autoconf 3.0. 1236 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1240 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;; 1241 ;;
648 1242
649 esac 1243 esac
650 done 1244 done
651 1245
652 if test -n "$ac_prev"; then 1246 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1247 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2 1248 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; } 1249 { (exit 1); exit 1; }; }
656 fi 1250 fi
657 1251
658 # Be sure to have absolute paths. 1252 if test -n "$ac_unrecognized_opts"; then
659 for ac_var in exec_prefix prefix 1253 case $enable_option_checking in
1254 no) ;;
1255 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1256 { (exit 1); exit 1; }; } ;;
1257 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 esac
1259 fi
1260
1261 # Check all directory arguments for consistency.
1262 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1263 datadir sysconfdir sharedstatedir localstatedir includedir \
1264 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1265 libdir localedir mandir
660 do 1266 do
661 eval ac_val=$`echo $ac_var` 1267 eval ac_val=\$$ac_var
1268 # Remove trailing slashes.
662 case $ac_val in 1269 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 1270 */ )
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1271 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
665 { (exit 1); exit 1; }; };; 1272 eval $ac_var=\$ac_val;;
666 esac 1273 esac
667 done 1274 # Be sure to have absolute directory names.
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672 do
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in 1275 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;; 1276 [\\/$]* | ?:[\\/]* ) continue;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1277 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
677 { (exit 1); exit 1; }; };;
678 esac 1278 esac
1279 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1280 { (exit 1); exit 1; }; }
679 done 1281 done
680 1282
681 # There might be people who depend on the old broken behavior: `$host' 1283 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc. 1284 # used to hold the argument of --host etc.
683 # FIXME: To remove some day. 1285 # FIXME: To remove some day.
687 1289
688 # FIXME: To remove some day. 1290 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then 1291 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then 1292 if test "x$build_alias" = x; then
691 cross_compiling=maybe 1293 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1294 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2 1295 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then 1296 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes 1297 cross_compiling=yes
696 fi 1298 fi
697 fi 1299 fi
700 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 1303
702 test "$silent" = yes && exec 6>/dev/null 1304 test "$silent" = yes && exec 6>/dev/null
703 1305
704 1306
1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di=`ls -di .` &&
1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1311 { (exit 1); exit 1; }; }
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1314 { (exit 1); exit 1; }; }
1315
1316
705 # Find the source files, if location was not specified. 1317 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then 1318 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes 1319 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent. 1320 # Try the directory containing this script, then the parent directory.
709 ac_confdir=`(dirname "$0") 2>/dev/null || 1321 ac_confdir=`$as_dirname -- "$as_myself" ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \ 1323 X"$as_myself" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \ 1324 X"$as_myself" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \ 1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
714 . : '\(.\)' 2>/dev/null || 1326 $as_echo X"$as_myself" |
715 echo X"$0" | 1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1328 s//\1/
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1329 q
718 /^X\(\/\/\)$/{ s//\1/; q; } 1330 }
719 /^X\(\/\).*/{ s//\1/; q; } 1331 /^X\(\/\/\)[^/].*/{
720 s/.*/./; q'` 1332 s//\1/
1333 q
1334 }
1335 /^X\(\/\/\)$/{
1336 s//\1/
1337 q
1338 }
1339 /^X\(\/\).*/{
1340 s//\1/
1341 q
1342 }
1343 s/.*/./; q'`
721 srcdir=$ac_confdir 1344 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then 1345 if test ! -r "$srcdir/$ac_unique_file"; then
723 srcdir=.. 1346 srcdir=..
724 fi 1347 fi
725 else 1348 else
726 ac_srcdir_defaulted=no 1349 ac_srcdir_defaulted=no
727 fi 1350 fi
728 if test ! -r $srcdir/$ac_unique_file; then 1351 if test ! -r "$srcdir/$ac_unique_file"; then
729 if test "$ac_srcdir_defaulted" = yes; then 1352 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1353 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
731 { (exit 1); exit 1; }; } 1354 { (exit 1); exit 1; }; }
732 else 1355 fi
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1356 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 ac_abs_confdir=`(
1358 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
734 { (exit 1); exit 1; }; } 1359 { (exit 1); exit 1; }; }
735 fi 1360 pwd)`
736 fi 1361 # When building in place, set srcdir=.
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 1362 if test "$ac_abs_confdir" = "$ac_pwd"; then
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 1363 srcdir=.
739 { (exit 1); exit 1; }; } 1364 fi
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 1365 # Remove unnecessary trailing slashes from srcdir.
741 ac_env_build_alias_set=${build_alias+set} 1366 # Double slashes in file names in object file debugging info
742 ac_env_build_alias_value=$build_alias 1367 # mess up M-x gdb in Emacs.
743 ac_cv_env_build_alias_set=${build_alias+set} 1368 case $srcdir in
744 ac_cv_env_build_alias_value=$build_alias 1369 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
745 ac_env_host_alias_set=${host_alias+set} 1370 esac
746 ac_env_host_alias_value=$host_alias 1371 for ac_var in $ac_precious_vars; do
747 ac_cv_env_host_alias_set=${host_alias+set} 1372 eval ac_env_${ac_var}_set=\${${ac_var}+set}
748 ac_cv_env_host_alias_value=$host_alias 1373 eval ac_env_${ac_var}_value=\$${ac_var}
749 ac_env_target_alias_set=${target_alias+set} 1374 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
750 ac_env_target_alias_value=$target_alias 1375 eval ac_cv_env_${ac_var}_value=\$${ac_var}
751 ac_cv_env_target_alias_set=${target_alias+set} 1376 done
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
773 1377
774 # 1378 #
775 # Report the --help message. 1379 # Report the --help message.
776 # 1380 #
777 if test "$ac_init_help" = "long"; then 1381 if test "$ac_init_help" = "long"; then
796 --cache-file=FILE cache test results in FILE [disabled] 1400 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache' 1401 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files 1402 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1403 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 1404
801 _ACEOF
802
803 cat <<_ACEOF
804 Installation directories: 1405 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX 1406 --prefix=PREFIX install architecture-independent files in PREFIX
806 [$ac_default_prefix] 1407 [$ac_default_prefix]
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1408 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
808 [PREFIX] 1409 [PREFIX]
809 1410
810 By default, \`make install' will install all the files in 1411 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1412 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1413 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'. 1414 for instance \`--prefix=\$HOME'.
814 1415
815 For better control, use the options below. 1416 For better control, use the options below.
816 1417
817 Fine tuning of the installation directories: 1418 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin] 1419 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin] 1420 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec] 1421 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1422 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1423 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1424 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1425 --libdir=DIR object code libraries [EPREFIX/lib]
825 --libdir=DIR object code libraries [EPREFIX/lib] 1426 --includedir=DIR C header files [PREFIX/include]
826 --includedir=DIR C header files [PREFIX/include] 1427 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1428 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
828 --infodir=DIR info documentation [PREFIX/info] 1429 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
829 --mandir=DIR man documentation [PREFIX/man] 1430 --infodir=DIR info documentation [DATAROOTDIR/info]
1431 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1432 --mandir=DIR man documentation [DATAROOTDIR/man]
1433 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1434 --htmldir=DIR html documentation [DOCDIR]
1435 --dvidir=DIR dvi documentation [DOCDIR]
1436 --pdfdir=DIR pdf documentation [DOCDIR]
1437 --psdir=DIR ps documentation [DOCDIR]
830 _ACEOF 1438 _ACEOF
831 1439
832 cat <<\_ACEOF 1440 cat <<\_ACEOF
833 1441
834 X features: 1442 X features:
840 if test -n "$ac_init_help"; then 1448 if test -n "$ac_init_help"; then
841 1449
842 cat <<\_ACEOF 1450 cat <<\_ACEOF
843 1451
844 Optional Features: 1452 Optional Features:
1453 --disable-option-checking ignore unrecognized --enable/--with options
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1454 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1455 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --disable-darwin Disable Darwin (Mac OS X) support. 1456 --disable-darwin Disable Darwin (Mac OS X) support.
848 --disable-selinux Don't check for SELinux support. 1457 --disable-selinux Don't check for SELinux support.
849 --disable-xsmp Disable XSMP session management 1458 --disable-xsmp Disable XSMP session management
870 --enable-nextaw-check If auto-select GUI, check for neXtaw default=yes 1479 --enable-nextaw-check If auto-select GUI, check for neXtaw default=yes
871 --enable-carbon-check If auto-select GUI, check for Carbon default=yes 1480 --enable-carbon-check If auto-select GUI, check for Carbon default=yes
872 --disable-gtktest Do not try to compile and run a test GTK program 1481 --disable-gtktest Do not try to compile and run a test GTK program
873 --disable-acl Don't check for ACL support. 1482 --disable-acl Don't check for ACL support.
874 --disable-gpm Don't use gpm (Linux mouse daemon). 1483 --disable-gpm Don't use gpm (Linux mouse daemon).
1484 --disable-sysmouse Don't use sysmouse (mouse in *BSD console).
875 --disable-nls Don't support NLS (gettext()). 1485 --disable-nls Don't support NLS (gettext()).
876 1486
877 Optional Packages: 1487 Optional Packages:
878 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1488 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1489 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
900 Some influential environment variables: 1510 Some influential environment variables:
901 CC C compiler command 1511 CC C compiler command
902 CFLAGS C compiler flags 1512 CFLAGS C compiler flags
903 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
904 nonstandard directory <lib dir> 1514 nonstandard directory <lib dir>
905 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1515 LIBS libraries to pass to the linker, e.g. -l<library>
906 headers in a nonstandard directory <include dir> 1516 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1517 you have headers in a nonstandard directory <include dir>
907 CPP C preprocessor 1518 CPP C preprocessor
1519 XMKMF Path to xmkmf, Makefile generator for X Window System
908 1520
909 Use these variables to override the choices made by `configure' or to help 1521 Use these variables to override the choices made by `configure' or to help
910 it to find libraries and programs with nonstandard names/locations. 1522 it to find libraries and programs with nonstandard names/locations.
911 1523
912 _ACEOF 1524 _ACEOF
1525 ac_status=$?
913 fi 1526 fi
914 1527
915 if test "$ac_init_help" = "recursive"; then 1528 if test "$ac_init_help" = "recursive"; then
916 # If there are subdirs, report their specific --help. 1529 # If there are subdirs, report their specific --help.
917 ac_popdir=`pwd`
918 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1530 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
919 test -d $ac_dir || continue 1531 test -d "$ac_dir" ||
1532 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1533 continue
920 ac_builddir=. 1534 ac_builddir=.
921 1535
922 if test "$ac_dir" != .; then 1536 case "$ac_dir" in
923 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
924 # A "../" for each directory in $ac_dir_suffix. 1538 *)
925 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1539 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
926 else 1540 # A ".." for each directory in $ac_dir_suffix.
927 ac_dir_suffix= ac_top_builddir= 1541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
928 fi 1542 case $ac_top_builddir_sub in
1543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1545 esac ;;
1546 esac
1547 ac_abs_top_builddir=$ac_pwd
1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1549 # for backward compatibility:
1550 ac_top_builddir=$ac_top_build_prefix
929 1551
930 case $srcdir in 1552 case $srcdir in
931 .) # No --srcdir option. We are building in place. 1553 .) # We are building in place.
932 ac_srcdir=. 1554 ac_srcdir=.
933 if test -z "$ac_top_builddir"; then 1555 ac_top_srcdir=$ac_top_builddir_sub
934 ac_top_srcdir=. 1556 ac_abs_top_srcdir=$ac_pwd ;;
1557 [\\/]* | ?:[\\/]* ) # Absolute name.
1558 ac_srcdir=$srcdir$ac_dir_suffix;
1559 ac_top_srcdir=$srcdir
1560 ac_abs_top_srcdir=$srcdir ;;
1561 *) # Relative name.
1562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1563 ac_top_srcdir=$ac_top_build_prefix$srcdir
1564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1565 esac
1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1567
1568 cd "$ac_dir" || { ac_status=$?; continue; }
1569 # Check for guested configure.
1570 if test -f "$ac_srcdir/configure.gnu"; then
1571 echo &&
1572 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1573 elif test -f "$ac_srcdir/configure"; then
1574 echo &&
1575 $SHELL "$ac_srcdir/configure" --help=recursive
935 else 1576 else
936 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1577 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
937 fi ;; 1578 fi || ac_status=$?
938 [\\/]* | ?:[\\/]* ) # Absolute path. 1579 cd "$ac_pwd" || { ac_status=$?; break; }
939 ac_srcdir=$srcdir$ac_dir_suffix;
940 ac_top_srcdir=$srcdir ;;
941 *) # Relative path.
942 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
943 ac_top_srcdir=$ac_top_builddir$srcdir ;;
944 esac
945
946 # Do not use `cd foo && pwd` to compute absolute paths, because
947 # the directories may not exist.
948 case `pwd` in
949 .) ac_abs_builddir="$ac_dir";;
950 *)
951 case "$ac_dir" in
952 .) ac_abs_builddir=`pwd`;;
953 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
954 *) ac_abs_builddir=`pwd`/"$ac_dir";;
955 esac;;
956 esac
957 case $ac_abs_builddir in
958 .) ac_abs_top_builddir=${ac_top_builddir}.;;
959 *)
960 case ${ac_top_builddir}. in
961 .) ac_abs_top_builddir=$ac_abs_builddir;;
962 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
963 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
964 esac;;
965 esac
966 case $ac_abs_builddir in
967 .) ac_abs_srcdir=$ac_srcdir;;
968 *)
969 case $ac_srcdir in
970 .) ac_abs_srcdir=$ac_abs_builddir;;
971 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
972 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
973 esac;;
974 esac
975 case $ac_abs_builddir in
976 .) ac_abs_top_srcdir=$ac_top_srcdir;;
977 *)
978 case $ac_top_srcdir in
979 .) ac_abs_top_srcdir=$ac_abs_builddir;;
980 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
981 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
982 esac;;
983 esac
984
985 cd $ac_dir
986 # Check for guested configure; otherwise get Cygnus style configure.
987 if test -f $ac_srcdir/configure.gnu; then
988 echo
989 $SHELL $ac_srcdir/configure.gnu --help=recursive
990 elif test -f $ac_srcdir/configure; then
991 echo
992 $SHELL $ac_srcdir/configure --help=recursive
993 elif test -f $ac_srcdir/configure.ac ||
994 test -f $ac_srcdir/configure.in; then
995 echo
996 $ac_configure --help
997 else
998 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
999 fi
1000 cd $ac_popdir
1001 done 1580 done
1002 fi 1581 fi
1003 1582
1004 test -n "$ac_init_help" && exit 0 1583 test -n "$ac_init_help" && exit $ac_status
1005 if $ac_init_version; then 1584 if $ac_init_version; then
1006 cat <<\_ACEOF 1585 cat <<\_ACEOF
1007 1586 configure
1008 Copyright (C) 2003 Free Software Foundation, Inc. 1587 generated by GNU Autoconf 2.62
1588
1589 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1590 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1009 This configure script is free software; the Free Software Foundation 1591 This configure script is free software; the Free Software Foundation
1010 gives unlimited permission to copy, distribute and modify it. 1592 gives unlimited permission to copy, distribute and modify it.
1011 _ACEOF 1593 _ACEOF
1012 exit 0 1594 exit
1013 fi 1595 fi
1014 exec 5>auto/config.log 1596 cat >auto/config.log <<_ACEOF
1015 cat >&5 <<_ACEOF
1016 This file contains any messages produced by compilers while 1597 This file contains any messages produced by compilers while
1017 running configure, to aid debugging if configure makes a mistake. 1598 running configure, to aid debugging if configure makes a mistake.
1018 1599
1019 It was created by $as_me, which was 1600 It was created by $as_me, which was
1020 generated by GNU Autoconf 2.59. Invocation command line was 1601 generated by GNU Autoconf 2.62. Invocation command line was
1021 1602
1022 $ $0 $@ 1603 $ $0 $@
1023 1604
1024 _ACEOF 1605 _ACEOF
1606 exec 5>>auto/config.log
1025 { 1607 {
1026 cat <<_ASUNAME 1608 cat <<_ASUNAME
1027 ## --------- ## 1609 ## --------- ##
1028 ## Platform. ## 1610 ## Platform. ##
1029 ## --------- ## 1611 ## --------- ##
1038 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1620 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1039 1621
1040 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1622 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1041 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1623 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1042 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1624 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1043 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1625 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1044 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1626 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1045 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1627 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1046 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1628 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1047 1629
1048 _ASUNAME 1630 _ASUNAME
1050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1051 for as_dir in $PATH 1633 for as_dir in $PATH
1052 do 1634 do
1053 IFS=$as_save_IFS 1635 IFS=$as_save_IFS
1054 test -z "$as_dir" && as_dir=. 1636 test -z "$as_dir" && as_dir=.
1055 echo "PATH: $as_dir" 1637 $as_echo "PATH: $as_dir"
1056 done 1638 done
1639 IFS=$as_save_IFS
1057 1640
1058 } >&5 1641 } >&5
1059 1642
1060 cat >&5 <<_ACEOF 1643 cat >&5 <<_ACEOF
1061 1644
1073 # Also quote any args containing shell meta-characters. 1656 # Also quote any args containing shell meta-characters.
1074 # Make two passes to allow for proper duplicate-argument suppression. 1657 # Make two passes to allow for proper duplicate-argument suppression.
1075 ac_configure_args= 1658 ac_configure_args=
1076 ac_configure_args0= 1659 ac_configure_args0=
1077 ac_configure_args1= 1660 ac_configure_args1=
1078 ac_sep=
1079 ac_must_keep_next=false 1661 ac_must_keep_next=false
1080 for ac_pass in 1 2 1662 for ac_pass in 1 2
1081 do 1663 do
1082 for ac_arg 1664 for ac_arg
1083 do 1665 do
1084 case $ac_arg in 1666 case $ac_arg in
1085 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1667 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1668 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1087 | -silent | --silent | --silen | --sile | --sil) 1669 | -silent | --silent | --silen | --sile | --sil)
1088 continue ;; 1670 continue ;;
1089 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1671 *\'*)
1090 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1672 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1091 esac 1673 esac
1092 case $ac_pass in 1674 case $ac_pass in
1093 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1675 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1094 2) 1676 2)
1095 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1677 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106 esac 1688 esac
1107 ;; 1689 ;;
1108 -* ) ac_must_keep_next=true ;; 1690 -* ) ac_must_keep_next=true ;;
1109 esac 1691 esac
1110 fi 1692 fi
1111 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1693 ac_configure_args="$ac_configure_args '$ac_arg'"
1112 # Get rid of the leading space.
1113 ac_sep=" "
1114 ;; 1694 ;;
1115 esac 1695 esac
1116 done 1696 done
1117 done 1697 done
1118 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1698 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1119 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1699 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1120 1700
1121 # When interrupted or exit'd, cleanup temporary files, and complete 1701 # When interrupted or exit'd, cleanup temporary files, and complete
1122 # config.log. We remove comments because anyway the quotes in there 1702 # config.log. We remove comments because anyway the quotes in there
1123 # would cause problems or look ugly. 1703 # would cause problems or look ugly.
1124 # WARNING: Be sure not to use single quotes in there, as some shells, 1704 # WARNING: Use '\'' to represent an apostrophe within the trap.
1125 # such as our DU 5.0 friend, will then `close' the trap. 1705 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1126 trap 'exit_status=$? 1706 trap 'exit_status=$?
1127 # Save into config.log some information that might help in debugging. 1707 # Save into config.log some information that might help in debugging.
1128 { 1708 {
1129 echo 1709 echo
1130 1710
1133 ## Cache variables. ## 1713 ## Cache variables. ##
1134 ## ---------------- ## 1714 ## ---------------- ##
1135 _ASBOX 1715 _ASBOX
1136 echo 1716 echo
1137 # The following way of writing the cache mishandles newlines in values, 1717 # The following way of writing the cache mishandles newlines in values,
1138 { 1718 (
1719 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1720 eval ac_val=\$$ac_var
1721 case $ac_val in #(
1722 *${as_nl}*)
1723 case $ac_var in #(
1724 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1725 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1726 esac
1727 case $ac_var in #(
1728 _ | IFS | as_nl) ;; #(
1729 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1730 *) $as_unset $ac_var ;;
1731 esac ;;
1732 esac
1733 done
1139 (set) 2>&1 | 1734 (set) 2>&1 |
1140 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1735 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1141 *ac_space=\ *) 1736 *${as_nl}ac_space=\ *)
1142 sed -n \ 1737 sed -n \
1143 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1738 "s/'\''/'\''\\\\'\'''\''/g;
1144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1739 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1740 ;; #(
1741 *)
1742 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1145 ;; 1743 ;;
1146 *) 1744 esac |
1147 sed -n \ 1745 sort
1148 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1746 )
1149 ;;
1150 esac;
1151 }
1152 echo 1747 echo
1153 1748
1154 cat <<\_ASBOX 1749 cat <<\_ASBOX
1155 ## ----------------- ## 1750 ## ----------------- ##
1156 ## Output variables. ## 1751 ## Output variables. ##
1157 ## ----------------- ## 1752 ## ----------------- ##
1158 _ASBOX 1753 _ASBOX
1159 echo 1754 echo
1160 for ac_var in $ac_subst_vars 1755 for ac_var in $ac_subst_vars
1161 do 1756 do
1162 eval ac_val=$`echo $ac_var` 1757 eval ac_val=\$$ac_var
1163 echo "$ac_var='"'"'$ac_val'"'"'" 1758 case $ac_val in
1759 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1760 esac
1761 $as_echo "$ac_var='\''$ac_val'\''"
1164 done | sort 1762 done | sort
1165 echo 1763 echo
1166 1764
1167 if test -n "$ac_subst_files"; then 1765 if test -n "$ac_subst_files"; then
1168 cat <<\_ASBOX 1766 cat <<\_ASBOX
1169 ## ------------- ## 1767 ## ------------------- ##
1170 ## Output files. ## 1768 ## File substitutions. ##
1171 ## ------------- ## 1769 ## ------------------- ##
1172 _ASBOX 1770 _ASBOX
1173 echo 1771 echo
1174 for ac_var in $ac_subst_files 1772 for ac_var in $ac_subst_files
1175 do 1773 do
1176 eval ac_val=$`echo $ac_var` 1774 eval ac_val=\$$ac_var
1177 echo "$ac_var='"'"'$ac_val'"'"'" 1775 case $ac_val in
1776 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1777 esac
1778 $as_echo "$ac_var='\''$ac_val'\''"
1178 done | sort 1779 done | sort
1179 echo 1780 echo
1180 fi 1781 fi
1181 1782
1182 if test -s confdefs.h; then 1783 if test -s confdefs.h; then
1184 ## ----------- ## 1785 ## ----------- ##
1185 ## confdefs.h. ## 1786 ## confdefs.h. ##
1186 ## ----------- ## 1787 ## ----------- ##
1187 _ASBOX 1788 _ASBOX
1188 echo 1789 echo
1189 sed "/^$/d" confdefs.h | sort 1790 cat confdefs.h
1190 echo 1791 echo
1191 fi 1792 fi
1192 test "$ac_signal" != 0 && 1793 test "$ac_signal" != 0 &&
1193 echo "$as_me: caught signal $ac_signal" 1794 $as_echo "$as_me: caught signal $ac_signal"
1194 echo "$as_me: exit $exit_status" 1795 $as_echo "$as_me: exit $exit_status"
1195 } >&5 1796 } >&5
1196 rm -f core *.core && 1797 rm -f core *.core core.conftest.* &&
1197 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1798 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1198 exit $exit_status 1799 exit $exit_status
1199 ' 0 1800 ' 0
1200 for ac_signal in 1 2 13 15; do 1801 for ac_signal in 1 2 13 15; do
1201 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1802 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1202 done 1803 done
1203 ac_signal=0 1804 ac_signal=0
1204 1805
1205 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1806 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1206 rm -rf conftest* confdefs.h 1807 rm -f -r conftest* confdefs.h
1207 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1208 echo >confdefs.h
1209 1808
1210 # Predefined preprocessor variables. 1809 # Predefined preprocessor variables.
1211 1810
1212 cat >>confdefs.h <<_ACEOF 1811 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_NAME "$PACKAGE_NAME" 1812 #define PACKAGE_NAME "$PACKAGE_NAME"
1233 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1832 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1234 _ACEOF 1833 _ACEOF
1235 1834
1236 1835
1237 # Let the site file select an alternate cache file if it wants to. 1836 # Let the site file select an alternate cache file if it wants to.
1238 # Prefer explicitly selected file to automatically selected ones. 1837 # Prefer an explicitly selected file to automatically selected ones.
1239 if test -z "$CONFIG_SITE"; then 1838 ac_site_file1=NONE
1240 if test "x$prefix" != xNONE; then 1839 ac_site_file2=NONE
1241 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1840 if test -n "$CONFIG_SITE"; then
1242 else 1841 ac_site_file1=$CONFIG_SITE
1243 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1842 elif test "x$prefix" != xNONE; then
1244 fi 1843 ac_site_file1=$prefix/share/config.site
1245 fi 1844 ac_site_file2=$prefix/etc/config.site
1246 for ac_site_file in $CONFIG_SITE; do 1845 else
1846 ac_site_file1=$ac_default_prefix/share/config.site
1847 ac_site_file2=$ac_default_prefix/etc/config.site
1848 fi
1849 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1850 do
1851 test "x$ac_site_file" = xNONE && continue
1247 if test -r "$ac_site_file"; then 1852 if test -r "$ac_site_file"; then
1248 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1853 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1249 echo "$as_me: loading site script $ac_site_file" >&6;} 1854 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1250 sed 's/^/| /' "$ac_site_file" >&5 1855 sed 's/^/| /' "$ac_site_file" >&5
1251 . "$ac_site_file" 1856 . "$ac_site_file"
1252 fi 1857 fi
1253 done 1858 done
1254 1859
1255 if test -r "$cache_file"; then 1860 if test -r "$cache_file"; then
1256 # Some versions of bash will fail to source /dev/null (special 1861 # Some versions of bash will fail to source /dev/null (special
1257 # files actually), so we avoid doing that. 1862 # files actually), so we avoid doing that.
1258 if test -f "$cache_file"; then 1863 if test -f "$cache_file"; then
1259 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1864 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1260 echo "$as_me: loading cache $cache_file" >&6;} 1865 $as_echo "$as_me: loading cache $cache_file" >&6;}
1261 case $cache_file in 1866 case $cache_file in
1262 [\\/]* | ?:[\\/]* ) . $cache_file;; 1867 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1263 *) . ./$cache_file;; 1868 *) . "./$cache_file";;
1264 esac 1869 esac
1265 fi 1870 fi
1266 else 1871 else
1267 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1872 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1268 echo "$as_me: creating cache $cache_file" >&6;} 1873 $as_echo "$as_me: creating cache $cache_file" >&6;}
1269 >$cache_file 1874 >$cache_file
1270 fi 1875 fi
1271 1876
1272 # Check that the precious variables saved in the cache have kept the same 1877 # Check that the precious variables saved in the cache have kept the same
1273 # value. 1878 # value.
1274 ac_cache_corrupted=false 1879 ac_cache_corrupted=false
1275 for ac_var in `(set) 2>&1 | 1880 for ac_var in $ac_precious_vars; do
1276 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1277 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1881 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1278 eval ac_new_set=\$ac_env_${ac_var}_set 1882 eval ac_new_set=\$ac_env_${ac_var}_set
1279 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1883 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1280 eval ac_new_val="\$ac_env_${ac_var}_value" 1884 eval ac_new_val=\$ac_env_${ac_var}_value
1281 case $ac_old_set,$ac_new_set in 1885 case $ac_old_set,$ac_new_set in
1282 set,) 1886 set,)
1283 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1887 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1284 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1888 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1285 ac_cache_corrupted=: ;; 1889 ac_cache_corrupted=: ;;
1286 ,set) 1890 ,set)
1287 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1891 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1288 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1892 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1289 ac_cache_corrupted=: ;; 1893 ac_cache_corrupted=: ;;
1290 ,);; 1894 ,);;
1291 *) 1895 *)
1292 if test "x$ac_old_val" != "x$ac_new_val"; then 1896 if test "x$ac_old_val" != "x$ac_new_val"; then
1293 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1897 # differences in whitespace do not lead to failure.
1294 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1898 ac_old_val_w=`echo x $ac_old_val`
1295 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1899 ac_new_val_w=`echo x $ac_new_val`
1296 echo "$as_me: former value: $ac_old_val" >&2;} 1900 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1297 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1901 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1298 echo "$as_me: current value: $ac_new_val" >&2;} 1902 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1299 ac_cache_corrupted=: 1903 ac_cache_corrupted=:
1904 else
1905 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1906 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1907 eval $ac_var=\$ac_old_val
1908 fi
1909 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1910 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1911 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1912 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1300 fi;; 1913 fi;;
1301 esac 1914 esac
1302 # Pass precious variables to config.status. 1915 # Pass precious variables to config.status.
1303 if test "$ac_new_set" = set; then 1916 if test "$ac_new_set" = set; then
1304 case $ac_new_val in 1917 case $ac_new_val in
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1918 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1306 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1307 *) ac_arg=$ac_var=$ac_new_val ;; 1919 *) ac_arg=$ac_var=$ac_new_val ;;
1308 esac 1920 esac
1309 case " $ac_configure_args " in 1921 case " $ac_configure_args " in
1310 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1922 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1311 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1923 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1312 esac 1924 esac
1313 fi 1925 fi
1314 done 1926 done
1315 if $ac_cache_corrupted; then 1927 if $ac_cache_corrupted; then
1316 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1928 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1317 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1929 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1318 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1930 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1319 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1931 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1320 { (exit 1); exit 1; }; } 1932 { (exit 1); exit 1; }; }
1321 fi 1933 fi
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1322 1950
1323 ac_ext=c 1951 ac_ext=c
1324 ac_cpp='$CPP $CPPFLAGS' 1952 ac_cpp='$CPP $CPPFLAGS'
1325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1327 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 1956
1329 1957
1330 1958 ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347 ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
1348 1959
1349 1960
1350 cat >>confdefs.h <<\_ACEOF 1961 cat >>confdefs.h <<\_ACEOF
1351 #define UNIX 1 1962 #define UNIX 1
1352 _ACEOF 1963 _ACEOF
1353 1964
1354 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1965 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1355 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1966 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1356 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1967 set x ${MAKE-make}
1357 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1968 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1358 echo $ECHO_N "(cached) $ECHO_C" >&6 1969 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1970 $as_echo_n "(cached) " >&6
1359 else 1971 else
1360 cat >conftest.make <<\_ACEOF 1972 cat >conftest.make <<\_ACEOF
1973 SHELL = /bin/sh
1361 all: 1974 all:
1362 @echo 'ac_maketemp="$(MAKE)"' 1975 @echo '@@@%%%=$(MAKE)=@@@%%%'
1363 _ACEOF 1976 _ACEOF
1364 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1977 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1365 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1978 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1366 if test -n "$ac_maketemp"; then 1979 *@@@%%%=?*=@@@%%%*)
1367 eval ac_cv_prog_make_${ac_make}_set=yes 1980 eval ac_cv_prog_make_${ac_make}_set=yes;;
1368 else 1981 *)
1369 eval ac_cv_prog_make_${ac_make}_set=no 1982 eval ac_cv_prog_make_${ac_make}_set=no;;
1370 fi 1983 esac
1371 rm -f conftest.make 1984 rm -f conftest.make
1372 fi 1985 fi
1373 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1986 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1374 echo "$as_me:$LINENO: result: yes" >&5 1987 { $as_echo "$as_me:$LINENO: result: yes" >&5
1375 echo "${ECHO_T}yes" >&6 1988 $as_echo "yes" >&6; }
1376 SET_MAKE= 1989 SET_MAKE=
1377 else 1990 else
1378 echo "$as_me:$LINENO: result: no" >&5 1991 { $as_echo "$as_me:$LINENO: result: no" >&5
1379 echo "${ECHO_T}no" >&6 1992 $as_echo "no" >&6; }
1380 SET_MAKE="MAKE=${MAKE-make}" 1993 SET_MAKE="MAKE=${MAKE-make}"
1381 fi 1994 fi
1382 1995
1383 1996
1384 ac_ext=c 1997 ac_ext=c
1387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1388 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1389 if test -n "$ac_tool_prefix"; then 2002 if test -n "$ac_tool_prefix"; then
1390 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2003 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1391 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2004 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1392 echo "$as_me:$LINENO: checking for $ac_word" >&5 2005 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2006 $as_echo_n "checking for $ac_word... " >&6; }
1394 if test "${ac_cv_prog_CC+set}" = set; then 2007 if test "${ac_cv_prog_CC+set}" = set; then
1395 echo $ECHO_N "(cached) $ECHO_C" >&6 2008 $as_echo_n "(cached) " >&6
1396 else 2009 else
1397 if test -n "$CC"; then 2010 if test -n "$CC"; then
1398 ac_cv_prog_CC="$CC" # Let the user override the test. 2011 ac_cv_prog_CC="$CC" # Let the user override the test.
1399 else 2012 else
1400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 for as_dir in $PATH 2014 for as_dir in $PATH
1402 do 2015 do
1403 IFS=$as_save_IFS 2016 IFS=$as_save_IFS
1404 test -z "$as_dir" && as_dir=. 2017 test -z "$as_dir" && as_dir=.
1405 for ac_exec_ext in '' $ac_executable_extensions; do 2018 for ac_exec_ext in '' $ac_executable_extensions; do
1406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1407 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2020 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2021 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1409 break 2 2022 break 2
1410 fi 2023 fi
1411 done 2024 done
1412 done 2025 done
2026 IFS=$as_save_IFS
1413 2027
1414 fi 2028 fi
1415 fi 2029 fi
1416 CC=$ac_cv_prog_CC 2030 CC=$ac_cv_prog_CC
1417 if test -n "$CC"; then 2031 if test -n "$CC"; then
1418 echo "$as_me:$LINENO: result: $CC" >&5 2032 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1419 echo "${ECHO_T}$CC" >&6 2033 $as_echo "$CC" >&6; }
1420 else 2034 else
1421 echo "$as_me:$LINENO: result: no" >&5 2035 { $as_echo "$as_me:$LINENO: result: no" >&5
1422 echo "${ECHO_T}no" >&6 2036 $as_echo "no" >&6; }
1423 fi 2037 fi
2038
1424 2039
1425 fi 2040 fi
1426 if test -z "$ac_cv_prog_CC"; then 2041 if test -z "$ac_cv_prog_CC"; then
1427 ac_ct_CC=$CC 2042 ac_ct_CC=$CC
1428 # Extract the first word of "gcc", so it can be a program name with args. 2043 # Extract the first word of "gcc", so it can be a program name with args.
1429 set dummy gcc; ac_word=$2 2044 set dummy gcc; ac_word=$2
1430 echo "$as_me:$LINENO: checking for $ac_word" >&5 2045 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2046 $as_echo_n "checking for $ac_word... " >&6; }
1432 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6 2048 $as_echo_n "(cached) " >&6
1434 else 2049 else
1435 if test -n "$ac_ct_CC"; then 2050 if test -n "$ac_ct_CC"; then
1436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1437 else 2052 else
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1439 for as_dir in $PATH 2054 for as_dir in $PATH
1440 do 2055 do
1441 IFS=$as_save_IFS 2056 IFS=$as_save_IFS
1442 test -z "$as_dir" && as_dir=. 2057 test -z "$as_dir" && as_dir=.
1443 for ac_exec_ext in '' $ac_executable_extensions; do 2058 for ac_exec_ext in '' $ac_executable_extensions; do
1444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1445 ac_cv_prog_ac_ct_CC="gcc" 2060 ac_cv_prog_ac_ct_CC="gcc"
1446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2061 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1447 break 2 2062 break 2
1448 fi 2063 fi
1449 done 2064 done
1450 done 2065 done
2066 IFS=$as_save_IFS
1451 2067
1452 fi 2068 fi
1453 fi 2069 fi
1454 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1455 if test -n "$ac_ct_CC"; then 2071 if test -n "$ac_ct_CC"; then
1456 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2072 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1457 echo "${ECHO_T}$ac_ct_CC" >&6 2073 $as_echo "$ac_ct_CC" >&6; }
1458 else 2074 else
1459 echo "$as_me:$LINENO: result: no" >&5 2075 { $as_echo "$as_me:$LINENO: result: no" >&5
1460 echo "${ECHO_T}no" >&6 2076 $as_echo "no" >&6; }
1461 fi 2077 fi
1462 2078
1463 CC=$ac_ct_CC 2079 if test "x$ac_ct_CC" = x; then
2080 CC=""
2081 else
2082 case $cross_compiling:$ac_tool_warned in
2083 yes:)
2084 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2085 whose name does not start with the host triplet. If you think this
2086 configuration is useful to you, please write to autoconf@gnu.org." >&5
2087 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2088 whose name does not start with the host triplet. If you think this
2089 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2090 ac_tool_warned=yes ;;
2091 esac
2092 CC=$ac_ct_CC
2093 fi
1464 else 2094 else
1465 CC="$ac_cv_prog_CC" 2095 CC="$ac_cv_prog_CC"
1466 fi 2096 fi
1467 2097
1468 if test -z "$CC"; then 2098 if test -z "$CC"; then
1469 if test -n "$ac_tool_prefix"; then 2099 if test -n "$ac_tool_prefix"; then
1470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2100 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1471 set dummy ${ac_tool_prefix}cc; ac_word=$2 2101 set dummy ${ac_tool_prefix}cc; ac_word=$2
1472 echo "$as_me:$LINENO: checking for $ac_word" >&5 2102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2103 $as_echo_n "checking for $ac_word... " >&6; }
1474 if test "${ac_cv_prog_CC+set}" = set; then 2104 if test "${ac_cv_prog_CC+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6 2105 $as_echo_n "(cached) " >&6
1476 else 2106 else
1477 if test -n "$CC"; then 2107 if test -n "$CC"; then
1478 ac_cv_prog_CC="$CC" # Let the user override the test. 2108 ac_cv_prog_CC="$CC" # Let the user override the test.
1479 else 2109 else
1480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1481 for as_dir in $PATH 2111 for as_dir in $PATH
1482 do 2112 do
1483 IFS=$as_save_IFS 2113 IFS=$as_save_IFS
1484 test -z "$as_dir" && as_dir=. 2114 test -z "$as_dir" && as_dir=.
1485 for ac_exec_ext in '' $ac_executable_extensions; do 2115 for ac_exec_ext in '' $ac_executable_extensions; do
1486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1487 ac_cv_prog_CC="${ac_tool_prefix}cc" 2117 ac_cv_prog_CC="${ac_tool_prefix}cc"
1488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1489 break 2 2119 break 2
1490 fi 2120 fi
1491 done 2121 done
1492 done 2122 done
2123 IFS=$as_save_IFS
1493 2124
1494 fi 2125 fi
1495 fi 2126 fi
1496 CC=$ac_cv_prog_CC 2127 CC=$ac_cv_prog_CC
1497 if test -n "$CC"; then 2128 if test -n "$CC"; then
1498 echo "$as_me:$LINENO: result: $CC" >&5 2129 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1499 echo "${ECHO_T}$CC" >&6 2130 $as_echo "$CC" >&6; }
1500 else 2131 else
1501 echo "$as_me:$LINENO: result: no" >&5 2132 { $as_echo "$as_me:$LINENO: result: no" >&5
1502 echo "${ECHO_T}no" >&6 2133 $as_echo "no" >&6; }
1503 fi 2134 fi
1504 2135
1505 fi 2136
1506 if test -z "$ac_cv_prog_CC"; then
1507 ac_ct_CC=$CC
1508 # Extract the first word of "cc", so it can be a program name with args.
1509 set dummy cc; ac_word=$2
1510 echo "$as_me:$LINENO: checking for $ac_word" >&5
1511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 else
1515 if test -n "$ac_ct_CC"; then
1516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1517 else
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 for as_dir in $PATH
1520 do
1521 IFS=$as_save_IFS
1522 test -z "$as_dir" && as_dir=.
1523 for ac_exec_ext in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 ac_cv_prog_ac_ct_CC="cc"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1527 break 2
1528 fi 2137 fi
1529 done
1530 done
1531
1532 fi
1533 fi
1534 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1535 if test -n "$ac_ct_CC"; then
1536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1537 echo "${ECHO_T}$ac_ct_CC" >&6
1538 else
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1541 fi
1542
1543 CC=$ac_ct_CC
1544 else
1545 CC="$ac_cv_prog_CC"
1546 fi
1547
1548 fi 2138 fi
1549 if test -z "$CC"; then 2139 if test -z "$CC"; then
1550 # Extract the first word of "cc", so it can be a program name with args. 2140 # Extract the first word of "cc", so it can be a program name with args.
1551 set dummy cc; ac_word=$2 2141 set dummy cc; ac_word=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5 2142 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2143 $as_echo_n "checking for $ac_word... " >&6; }
1554 if test "${ac_cv_prog_CC+set}" = set; then 2144 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6 2145 $as_echo_n "(cached) " >&6
1556 else 2146 else
1557 if test -n "$CC"; then 2147 if test -n "$CC"; then
1558 ac_cv_prog_CC="$CC" # Let the user override the test. 2148 ac_cv_prog_CC="$CC" # Let the user override the test.
1559 else 2149 else
1560 ac_prog_rejected=no 2150 ac_prog_rejected=no
1562 for as_dir in $PATH 2152 for as_dir in $PATH
1563 do 2153 do
1564 IFS=$as_save_IFS 2154 IFS=$as_save_IFS
1565 test -z "$as_dir" && as_dir=. 2155 test -z "$as_dir" && as_dir=.
1566 for ac_exec_ext in '' $ac_executable_extensions; do 2156 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2158 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1569 ac_prog_rejected=yes 2159 ac_prog_rejected=yes
1570 continue 2160 continue
1571 fi 2161 fi
1572 ac_cv_prog_CC="cc" 2162 ac_cv_prog_CC="cc"
1573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1574 break 2 2164 break 2
1575 fi 2165 fi
1576 done 2166 done
1577 done 2167 done
2168 IFS=$as_save_IFS
1578 2169
1579 if test $ac_prog_rejected = yes; then 2170 if test $ac_prog_rejected = yes; then
1580 # We found a bogon in the path, so make sure we never use it. 2171 # We found a bogon in the path, so make sure we never use it.
1581 set dummy $ac_cv_prog_CC 2172 set dummy $ac_cv_prog_CC
1582 shift 2173 shift
1590 fi 2181 fi
1591 fi 2182 fi
1592 fi 2183 fi
1593 CC=$ac_cv_prog_CC 2184 CC=$ac_cv_prog_CC
1594 if test -n "$CC"; then 2185 if test -n "$CC"; then
1595 echo "$as_me:$LINENO: result: $CC" >&5 2186 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1596 echo "${ECHO_T}$CC" >&6 2187 $as_echo "$CC" >&6; }
1597 else 2188 else
1598 echo "$as_me:$LINENO: result: no" >&5 2189 { $as_echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6 2190 $as_echo "no" >&6; }
1600 fi 2191 fi
2192
1601 2193
1602 fi 2194 fi
1603 if test -z "$CC"; then 2195 if test -z "$CC"; then
1604 if test -n "$ac_tool_prefix"; then 2196 if test -n "$ac_tool_prefix"; then
1605 for ac_prog in cl 2197 for ac_prog in cl.exe
1606 do 2198 do
1607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2200 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1609 echo "$as_me:$LINENO: checking for $ac_word" >&5 2201 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2202 $as_echo_n "checking for $ac_word... " >&6; }
1611 if test "${ac_cv_prog_CC+set}" = set; then 2203 if test "${ac_cv_prog_CC+set}" = set; then
1612 echo $ECHO_N "(cached) $ECHO_C" >&6 2204 $as_echo_n "(cached) " >&6
1613 else 2205 else
1614 if test -n "$CC"; then 2206 if test -n "$CC"; then
1615 ac_cv_prog_CC="$CC" # Let the user override the test. 2207 ac_cv_prog_CC="$CC" # Let the user override the test.
1616 else 2208 else
1617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 for as_dir in $PATH 2210 for as_dir in $PATH
1619 do 2211 do
1620 IFS=$as_save_IFS 2212 IFS=$as_save_IFS
1621 test -z "$as_dir" && as_dir=. 2213 test -z "$as_dir" && as_dir=.
1622 for ac_exec_ext in '' $ac_executable_extensions; do 2214 for ac_exec_ext in '' $ac_executable_extensions; do
1623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1624 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2216 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2217 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 break 2 2218 break 2
1627 fi 2219 fi
1628 done 2220 done
1629 done 2221 done
2222 IFS=$as_save_IFS
1630 2223
1631 fi 2224 fi
1632 fi 2225 fi
1633 CC=$ac_cv_prog_CC 2226 CC=$ac_cv_prog_CC
1634 if test -n "$CC"; then 2227 if test -n "$CC"; then
1635 echo "$as_me:$LINENO: result: $CC" >&5 2228 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1636 echo "${ECHO_T}$CC" >&6 2229 $as_echo "$CC" >&6; }
1637 else 2230 else
1638 echo "$as_me:$LINENO: result: no" >&5 2231 { $as_echo "$as_me:$LINENO: result: no" >&5
1639 echo "${ECHO_T}no" >&6 2232 $as_echo "no" >&6; }
1640 fi 2233 fi
2234
1641 2235
1642 test -n "$CC" && break 2236 test -n "$CC" && break
1643 done 2237 done
1644 fi 2238 fi
1645 if test -z "$CC"; then 2239 if test -z "$CC"; then
1646 ac_ct_CC=$CC 2240 ac_ct_CC=$CC
1647 for ac_prog in cl 2241 for ac_prog in cl.exe
1648 do 2242 do
1649 # Extract the first word of "$ac_prog", so it can be a program name with args. 2243 # Extract the first word of "$ac_prog", so it can be a program name with args.
1650 set dummy $ac_prog; ac_word=$2 2244 set dummy $ac_prog; ac_word=$2
1651 echo "$as_me:$LINENO: checking for $ac_word" >&5 2245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2246 $as_echo_n "checking for $ac_word... " >&6; }
1653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2247 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6 2248 $as_echo_n "(cached) " >&6
1655 else 2249 else
1656 if test -n "$ac_ct_CC"; then 2250 if test -n "$ac_ct_CC"; then
1657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2251 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1658 else 2252 else
1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660 for as_dir in $PATH 2254 for as_dir in $PATH
1661 do 2255 do
1662 IFS=$as_save_IFS 2256 IFS=$as_save_IFS
1663 test -z "$as_dir" && as_dir=. 2257 test -z "$as_dir" && as_dir=.
1664 for ac_exec_ext in '' $ac_executable_extensions; do 2258 for ac_exec_ext in '' $ac_executable_extensions; do
1665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1666 ac_cv_prog_ac_ct_CC="$ac_prog" 2260 ac_cv_prog_ac_ct_CC="$ac_prog"
1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2261 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 break 2 2262 break 2
1669 fi 2263 fi
1670 done 2264 done
1671 done 2265 done
2266 IFS=$as_save_IFS
1672 2267
1673 fi 2268 fi
1674 fi 2269 fi
1675 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2270 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1676 if test -n "$ac_ct_CC"; then 2271 if test -n "$ac_ct_CC"; then
1677 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2272 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1678 echo "${ECHO_T}$ac_ct_CC" >&6 2273 $as_echo "$ac_ct_CC" >&6; }
1679 else 2274 else
1680 echo "$as_me:$LINENO: result: no" >&5 2275 { $as_echo "$as_me:$LINENO: result: no" >&5
1681 echo "${ECHO_T}no" >&6 2276 $as_echo "no" >&6; }
1682 fi 2277 fi
2278
1683 2279
1684 test -n "$ac_ct_CC" && break 2280 test -n "$ac_ct_CC" && break
1685 done 2281 done
1686 2282
1687 CC=$ac_ct_CC 2283 if test "x$ac_ct_CC" = x; then
1688 fi 2284 CC=""
1689 2285 else
1690 fi 2286 case $cross_compiling:$ac_tool_warned in
1691 2287 yes:)
1692 2288 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1693 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2289 whose name does not start with the host triplet. If you think this
2290 configuration is useful to you, please write to autoconf@gnu.org." >&5
2291 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2292 whose name does not start with the host triplet. If you think this
2293 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2294 ac_tool_warned=yes ;;
2295 esac
2296 CC=$ac_ct_CC
2297 fi
2298 fi
2299
2300 fi
2301
2302
2303 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1694 See \`config.log' for more details." >&5 2304 See \`config.log' for more details." >&5
1695 echo "$as_me: error: no acceptable C compiler found in \$PATH 2305 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
1696 See \`config.log' for more details." >&2;} 2306 See \`config.log' for more details." >&2;}
1697 { (exit 1); exit 1; }; } 2307 { (exit 1); exit 1; }; }
1698 2308
1699 # Provide some information about the compiler. 2309 # Provide some information about the compiler.
1700 echo "$as_me:$LINENO:" \ 2310 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
1701 "checking for C compiler version" >&5 2311 set X $ac_compile
1702 ac_compiler=`set X $ac_compile; echo $2` 2312 ac_compiler=$2
1703 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2313 { (ac_try="$ac_compiler --version >&5"
1704 (eval $ac_compiler --version </dev/null >&5) 2>&5 2314 case "(($ac_try" in
2315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2316 *) ac_try_echo=$ac_try;;
2317 esac
2318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2319 $as_echo "$ac_try_echo") >&5
2320 (eval "$ac_compiler --version >&5") 2>&5
1705 ac_status=$? 2321 ac_status=$?
1706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1707 (exit $ac_status); } 2323 (exit $ac_status); }
1708 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2324 { (ac_try="$ac_compiler -v >&5"
1709 (eval $ac_compiler -v </dev/null >&5) 2>&5 2325 case "(($ac_try" in
2326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2327 *) ac_try_echo=$ac_try;;
2328 esac
2329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2330 $as_echo "$ac_try_echo") >&5
2331 (eval "$ac_compiler -v >&5") 2>&5
1710 ac_status=$? 2332 ac_status=$?
1711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712 (exit $ac_status); } 2334 (exit $ac_status); }
1713 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2335 { (ac_try="$ac_compiler -V >&5"
1714 (eval $ac_compiler -V </dev/null >&5) 2>&5 2336 case "(($ac_try" in
2337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2338 *) ac_try_echo=$ac_try;;
2339 esac
2340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2341 $as_echo "$ac_try_echo") >&5
2342 (eval "$ac_compiler -V >&5") 2>&5
1715 ac_status=$? 2343 ac_status=$?
1716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 (exit $ac_status); } 2345 (exit $ac_status); }
1718 2346
1719 cat >conftest.$ac_ext <<_ACEOF 2347 cat >conftest.$ac_ext <<_ACEOF
1720 /* confdefs.h. */ 2348 /* confdefs.h. */
1721 _ACEOF 2349 _ACEOF
1730 ; 2358 ;
1731 return 0; 2359 return 0;
1732 } 2360 }
1733 _ACEOF 2361 _ACEOF
1734 ac_clean_files_save=$ac_clean_files 2362 ac_clean_files_save=$ac_clean_files
1735 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2363 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1736 # Try to create an executable without -o first, disregard a.out. 2364 # Try to create an executable without -o first, disregard a.out.
1737 # It will help us diagnose broken compilers, and finding out an intuition 2365 # It will help us diagnose broken compilers, and finding out an intuition
1738 # of exeext. 2366 # of exeext.
1739 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2367 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1740 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2368 $as_echo_n "checking for C compiler default output file name... " >&6; }
1741 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2369 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1742 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2370
1743 (eval $ac_link_default) 2>&5 2371 # The possible output files:
2372 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2373
2374 ac_rmfiles=
2375 for ac_file in $ac_files
2376 do
2377 case $ac_file in
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2380 esac
2381 done
2382 rm -f $ac_rmfiles
2383
2384 if { (ac_try="$ac_link_default"
2385 case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388 esac
2389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2390 $as_echo "$ac_try_echo") >&5
2391 (eval "$ac_link_default") 2>&5
1744 ac_status=$? 2392 ac_status=$?
1745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1746 (exit $ac_status); }; then 2394 (exit $ac_status); }; then
1747 # Find the output, starting from the most likely. This scheme is 2395 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
1748 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2396 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
1749 # resort. 2397 # in a Makefile. We should not override ac_cv_exeext if it was cached,
1750 2398 # so that the user can short-circuit this test for compilers unknown to
1751 # Be careful to initialize this variable, since it used to be cached. 2399 # Autoconf.
1752 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2400 for ac_file in $ac_files ''
1753 ac_cv_exeext=
1754 # b.out is created by i960 compilers.
1755 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1756 do 2401 do
1757 test -f "$ac_file" || continue 2402 test -f "$ac_file" || continue
1758 case $ac_file in 2403 case $ac_file in
1759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1760 ;;
1761 conftest.$ac_ext )
1762 # This is the source file.
1763 ;; 2405 ;;
1764 [ab].out ) 2406 [ab].out )
1765 # We found the default executable, but exeext='' is most 2407 # We found the default executable, but exeext='' is most
1766 # certainly right. 2408 # certainly right.
1767 break;; 2409 break;;
1768 *.* ) 2410 *.* )
1769 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2411 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1770 # FIXME: I believe we export ac_cv_exeext for Libtool, 2412 then :; else
1771 # but it would be cool to find out if it's true. Does anybody 2413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1772 # maintain Libtool? --akim. 2414 fi
1773 export ac_cv_exeext 2415 # We set ac_cv_exeext here because the later test for it is not
2416 # safe: cross compilers may not add the suffix if given an `-o'
2417 # argument, so we may need to know it at that point already.
2418 # Even if this section looks crufty: it has the advantage of
2419 # actually working.
1774 break;; 2420 break;;
1775 * ) 2421 * )
1776 break;; 2422 break;;
1777 esac 2423 esac
1778 done 2424 done
1779 else 2425 test "$ac_cv_exeext" = no && ac_cv_exeext=
1780 echo "$as_me: failed program was:" >&5 2426
2427 else
2428 ac_file=''
2429 fi
2430
2431 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2432 $as_echo "$ac_file" >&6; }
2433 if test -z "$ac_file"; then
2434 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5 2435 sed 's/^/| /' conftest.$ac_ext >&5
1782 2436
1783 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2437 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
1784 See \`config.log' for more details." >&5 2438 See \`config.log' for more details." >&5
1785 echo "$as_me: error: C compiler cannot create executables 2439 $as_echo "$as_me: error: C compiler cannot create executables
1786 See \`config.log' for more details." >&2;} 2440 See \`config.log' for more details." >&2;}
1787 { (exit 77); exit 77; }; } 2441 { (exit 77); exit 77; }; }
1788 fi 2442 fi
1789 2443
1790 ac_exeext=$ac_cv_exeext 2444 ac_exeext=$ac_cv_exeext
1791 echo "$as_me:$LINENO: result: $ac_file" >&5 2445
1792 echo "${ECHO_T}$ac_file" >&6 2446 # Check that the compiler produces executables we can run. If not, either
1793
1794 # Check the compiler produces executables we can run. If not, either
1795 # the compiler is broken, or we cross compile. 2447 # the compiler is broken, or we cross compile.
1796 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2448 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1797 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2449 $as_echo_n "checking whether the C compiler works... " >&6; }
1798 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2450 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1799 # If not cross compiling, check that we can run a simple program. 2451 # If not cross compiling, check that we can run a simple program.
1800 if test "$cross_compiling" != yes; then 2452 if test "$cross_compiling" != yes; then
1801 if { ac_try='./$ac_file' 2453 if { ac_try='./$ac_file'
1802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2454 { (case "(($ac_try" in
1803 (eval $ac_try) 2>&5 2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2459 $as_echo "$ac_try_echo") >&5
2460 (eval "$ac_try") 2>&5
1804 ac_status=$? 2461 ac_status=$?
1805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806 (exit $ac_status); }; }; then 2463 (exit $ac_status); }; }; then
1807 cross_compiling=no 2464 cross_compiling=no
1808 else 2465 else
1809 if test "$cross_compiling" = maybe; then 2466 if test "$cross_compiling" = maybe; then
1810 cross_compiling=yes 2467 cross_compiling=yes
1811 else 2468 else
1812 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2469 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
1813 If you meant to cross compile, use \`--host'. 2470 If you meant to cross compile, use \`--host'.
1814 See \`config.log' for more details." >&5 2471 See \`config.log' for more details." >&5
1815 echo "$as_me: error: cannot run C compiled programs. 2472 $as_echo "$as_me: error: cannot run C compiled programs.
1816 If you meant to cross compile, use \`--host'. 2473 If you meant to cross compile, use \`--host'.
1817 See \`config.log' for more details." >&2;} 2474 See \`config.log' for more details." >&2;}
1818 { (exit 1); exit 1; }; } 2475 { (exit 1); exit 1; }; }
1819 fi 2476 fi
1820 fi 2477 fi
1821 fi 2478 fi
1822 echo "$as_me:$LINENO: result: yes" >&5 2479 { $as_echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6 2480 $as_echo "yes" >&6; }
1824 2481
1825 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2482 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1826 ac_clean_files=$ac_clean_files_save 2483 ac_clean_files=$ac_clean_files_save
1827 # Check the compiler produces executables we can run. If not, either 2484 # Check that the compiler produces executables we can run. If not, either
1828 # the compiler is broken, or we cross compile. 2485 # the compiler is broken, or we cross compile.
1829 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2486 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1830 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2487 $as_echo_n "checking whether we are cross compiling... " >&6; }
1831 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2488 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
1832 echo "${ECHO_T}$cross_compiling" >&6 2489 $as_echo "$cross_compiling" >&6; }
1833 2490
1834 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2491 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
1835 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2492 $as_echo_n "checking for suffix of executables... " >&6; }
1836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2493 if { (ac_try="$ac_link"
1837 (eval $ac_link) 2>&5 2494 case "(($ac_try" in
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2497 esac
2498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2499 $as_echo "$ac_try_echo") >&5
2500 (eval "$ac_link") 2>&5
1838 ac_status=$? 2501 ac_status=$?
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; then 2503 (exit $ac_status); }; then
1841 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2504 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1842 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2505 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1843 # work properly (i.e., refer to `conftest.exe'), while it won't with 2506 # work properly (i.e., refer to `conftest.exe'), while it won't with
1844 # `rm'. 2507 # `rm'.
1845 for ac_file in conftest.exe conftest conftest.*; do 2508 for ac_file in conftest.exe conftest conftest.*; do
1846 test -f "$ac_file" || continue 2509 test -f "$ac_file" || continue
1847 case $ac_file in 2510 case $ac_file in
1848 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2511 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1849 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2512 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1850 export ac_cv_exeext
1851 break;; 2513 break;;
1852 * ) break;; 2514 * ) break;;
1853 esac 2515 esac
1854 done 2516 done
1855 else 2517 else
1856 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2518 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1857 See \`config.log' for more details." >&5 2519 See \`config.log' for more details." >&5
1858 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2520 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1859 See \`config.log' for more details." >&2;} 2521 See \`config.log' for more details." >&2;}
1860 { (exit 1); exit 1; }; } 2522 { (exit 1); exit 1; }; }
1861 fi 2523 fi
1862 2524
1863 rm -f conftest$ac_cv_exeext 2525 rm -f conftest$ac_cv_exeext
1864 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2526 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1865 echo "${ECHO_T}$ac_cv_exeext" >&6 2527 $as_echo "$ac_cv_exeext" >&6; }
1866 2528
1867 rm -f conftest.$ac_ext 2529 rm -f conftest.$ac_ext
1868 EXEEXT=$ac_cv_exeext 2530 EXEEXT=$ac_cv_exeext
1869 ac_exeext=$EXEEXT 2531 ac_exeext=$EXEEXT
1870 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2532 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
1871 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2533 $as_echo_n "checking for suffix of object files... " >&6; }
1872 if test "${ac_cv_objext+set}" = set; then 2534 if test "${ac_cv_objext+set}" = set; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6 2535 $as_echo_n "(cached) " >&6
1874 else 2536 else
1875 cat >conftest.$ac_ext <<_ACEOF 2537 cat >conftest.$ac_ext <<_ACEOF
1876 /* confdefs.h. */ 2538 /* confdefs.h. */
1877 _ACEOF 2539 _ACEOF
1878 cat confdefs.h >>conftest.$ac_ext 2540 cat confdefs.h >>conftest.$ac_ext
1886 ; 2548 ;
1887 return 0; 2549 return 0;
1888 } 2550 }
1889 _ACEOF 2551 _ACEOF
1890 rm -f conftest.o conftest.obj 2552 rm -f conftest.o conftest.obj
1891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2553 if { (ac_try="$ac_compile"
1892 (eval $ac_compile) 2>&5 2554 case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2559 $as_echo "$ac_try_echo") >&5
2560 (eval "$ac_compile") 2>&5
1893 ac_status=$? 2561 ac_status=$?
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; then 2563 (exit $ac_status); }; then
1896 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2564 for ac_file in conftest.o conftest.obj conftest.*; do
2565 test -f "$ac_file" || continue;
1897 case $ac_file in 2566 case $ac_file in
1898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1899 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2568 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1900 break;; 2569 break;;
1901 esac 2570 esac
1902 done 2571 done
1903 else 2572 else
1904 echo "$as_me: failed program was:" >&5 2573 $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5 2574 sed 's/^/| /' conftest.$ac_ext >&5
1906 2575
1907 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2576 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1908 See \`config.log' for more details." >&5 2577 See \`config.log' for more details." >&5
1909 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2578 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
1910 See \`config.log' for more details." >&2;} 2579 See \`config.log' for more details." >&2;}
1911 { (exit 1); exit 1; }; } 2580 { (exit 1); exit 1; }; }
1912 fi 2581 fi
1913 2582
1914 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2583 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1915 fi 2584 fi
1916 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2585 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1917 echo "${ECHO_T}$ac_cv_objext" >&6 2586 $as_echo "$ac_cv_objext" >&6; }
1918 OBJEXT=$ac_cv_objext 2587 OBJEXT=$ac_cv_objext
1919 ac_objext=$OBJEXT 2588 ac_objext=$OBJEXT
1920 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2589 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1921 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2590 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1922 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2591 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6 2592 $as_echo_n "(cached) " >&6
1924 else 2593 else
1925 cat >conftest.$ac_ext <<_ACEOF 2594 cat >conftest.$ac_ext <<_ACEOF
1926 /* confdefs.h. */ 2595 /* confdefs.h. */
1927 _ACEOF 2596 _ACEOF
1928 cat confdefs.h >>conftest.$ac_ext 2597 cat confdefs.h >>conftest.$ac_ext
1939 ; 2608 ;
1940 return 0; 2609 return 0;
1941 } 2610 }
1942 _ACEOF 2611 _ACEOF
1943 rm -f conftest.$ac_objext 2612 rm -f conftest.$ac_objext
1944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2613 if { (ac_try="$ac_compile"
1945 (eval $ac_compile) 2>conftest.er1 2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2619 $as_echo "$ac_try_echo") >&5
2620 (eval "$ac_compile") 2>conftest.er1
1946 ac_status=$? 2621 ac_status=$?
1947 grep -v '^ *+' conftest.er1 >conftest.err 2622 grep -v '^ *+' conftest.er1 >conftest.err
1948 rm -f conftest.er1 2623 rm -f conftest.er1
1949 cat conftest.err >&5 2624 cat conftest.err >&5
1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); } && 2626 (exit $ac_status); } && {
1952 { ac_try='test -z "$ac_c_werror_flag" 2627 test -z "$ac_c_werror_flag" ||
1953 || test ! -s conftest.err' 2628 test ! -s conftest.err
1954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2629 } && test -s conftest.$ac_objext; then
1955 (eval $ac_try) 2>&5
1956 ac_status=$?
1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1958 (exit $ac_status); }; } &&
1959 { ac_try='test -s conftest.$ac_objext'
1960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1961 (eval $ac_try) 2>&5
1962 ac_status=$?
1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); }; }; then
1965 ac_compiler_gnu=yes 2630 ac_compiler_gnu=yes
1966 else 2631 else
1967 echo "$as_me: failed program was:" >&5 2632 $as_echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.$ac_ext >&5 2633 sed 's/^/| /' conftest.$ac_ext >&5
1969 2634
1970 ac_compiler_gnu=no 2635 ac_compiler_gnu=no
1971 fi 2636 fi
1972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2637
2638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1973 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1974 2640
1975 fi 2641 fi
1976 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2642 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1977 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2643 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
1978 GCC=`test $ac_compiler_gnu = yes && echo yes` 2644 if test $ac_compiler_gnu = yes; then
2645 GCC=yes
2646 else
2647 GCC=
2648 fi
1979 ac_test_CFLAGS=${CFLAGS+set} 2649 ac_test_CFLAGS=${CFLAGS+set}
1980 ac_save_CFLAGS=$CFLAGS 2650 ac_save_CFLAGS=$CFLAGS
1981 CFLAGS="-g" 2651 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1982 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2652 $as_echo_n "checking whether $CC accepts -g... " >&6; }
1983 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1984 if test "${ac_cv_prog_cc_g+set}" = set; then 2653 if test "${ac_cv_prog_cc_g+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6 2654 $as_echo_n "(cached) " >&6
1986 else 2655 else
1987 cat >conftest.$ac_ext <<_ACEOF 2656 ac_save_c_werror_flag=$ac_c_werror_flag
2657 ac_c_werror_flag=yes
2658 ac_cv_prog_cc_g=no
2659 CFLAGS="-g"
2660 cat >conftest.$ac_ext <<_ACEOF
1988 /* confdefs.h. */ 2661 /* confdefs.h. */
1989 _ACEOF 2662 _ACEOF
1990 cat confdefs.h >>conftest.$ac_ext 2663 cat confdefs.h >>conftest.$ac_ext
1991 cat >>conftest.$ac_ext <<_ACEOF 2664 cat >>conftest.$ac_ext <<_ACEOF
1992 /* end confdefs.h. */ 2665 /* end confdefs.h. */
1998 ; 2671 ;
1999 return 0; 2672 return 0;
2000 } 2673 }
2001 _ACEOF 2674 _ACEOF
2002 rm -f conftest.$ac_objext 2675 rm -f conftest.$ac_objext
2003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2676 if { (ac_try="$ac_compile"
2004 (eval $ac_compile) 2>conftest.er1 2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2682 $as_echo "$ac_try_echo") >&5
2683 (eval "$ac_compile") 2>conftest.er1
2005 ac_status=$? 2684 ac_status=$?
2006 grep -v '^ *+' conftest.er1 >conftest.err 2685 grep -v '^ *+' conftest.er1 >conftest.err
2007 rm -f conftest.er1 2686 rm -f conftest.er1
2008 cat conftest.err >&5 2687 cat conftest.err >&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); } && 2689 (exit $ac_status); } && {
2011 { ac_try='test -z "$ac_c_werror_flag" 2690 test -z "$ac_c_werror_flag" ||
2012 || test ! -s conftest.err' 2691 test ! -s conftest.err
2013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2692 } && test -s conftest.$ac_objext; then
2014 (eval $ac_try) 2>&5 2693 ac_cv_prog_cc_g=yes
2694 else
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2697
2698 CFLAGS=""
2699 cat >conftest.$ac_ext <<_ACEOF
2700 /* confdefs.h. */
2701 _ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2705
2706 int
2707 main ()
2708 {
2709
2710 ;
2711 return 0;
2712 }
2713 _ACEOF
2714 rm -f conftest.$ac_objext
2715 if { (ac_try="$ac_compile"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2721 $as_echo "$ac_try_echo") >&5
2722 (eval "$ac_compile") 2>conftest.er1
2015 ac_status=$? 2723 ac_status=$?
2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 grep -v '^ *+' conftest.er1 >conftest.err
2017 (exit $ac_status); }; } && 2725 rm -f conftest.er1
2018 { ac_try='test -s conftest.$ac_objext' 2726 cat conftest.err >&5
2019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (eval $ac_try) 2>&5 2728 (exit $ac_status); } && {
2729 test -z "$ac_c_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then
2732 :
2733 else
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2736
2737 ac_c_werror_flag=$ac_save_c_werror_flag
2738 CFLAGS="-g"
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745
2746 int
2747 main ()
2748 {
2749
2750 ;
2751 return 0;
2752 }
2753 _ACEOF
2754 rm -f conftest.$ac_objext
2755 if { (ac_try="$ac_compile"
2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2761 $as_echo "$ac_try_echo") >&5
2762 (eval "$ac_compile") 2>conftest.er1
2021 ac_status=$? 2763 ac_status=$?
2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 grep -v '^ *+' conftest.er1 >conftest.err
2023 (exit $ac_status); }; }; then 2765 rm -f conftest.er1
2766 cat conftest.err >&5
2767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } && {
2769 test -z "$ac_c_werror_flag" ||
2770 test ! -s conftest.err
2771 } && test -s conftest.$ac_objext; then
2024 ac_cv_prog_cc_g=yes 2772 ac_cv_prog_cc_g=yes
2025 else 2773 else
2026 echo "$as_me: failed program was:" >&5 2774 $as_echo "$as_me: failed program was:" >&5
2027 sed 's/^/| /' conftest.$ac_ext >&5 2775 sed 's/^/| /' conftest.$ac_ext >&5
2028 2776
2029 ac_cv_prog_cc_g=no 2777
2030 fi 2778 fi
2031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2779
2032 fi 2780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2781 fi
2034 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2782
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 fi
2785
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2787 ac_c_werror_flag=$ac_save_c_werror_flag
2788 fi
2789 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2790 $as_echo "$ac_cv_prog_cc_g" >&6; }
2035 if test "$ac_test_CFLAGS" = set; then 2791 if test "$ac_test_CFLAGS" = set; then
2036 CFLAGS=$ac_save_CFLAGS 2792 CFLAGS=$ac_save_CFLAGS
2037 elif test $ac_cv_prog_cc_g = yes; then 2793 elif test $ac_cv_prog_cc_g = yes; then
2038 if test "$GCC" = yes; then 2794 if test "$GCC" = yes; then
2039 CFLAGS="-g -O2" 2795 CFLAGS="-g -O2"
2045 CFLAGS="-O2" 2801 CFLAGS="-O2"
2046 else 2802 else
2047 CFLAGS= 2803 CFLAGS=
2048 fi 2804 fi
2049 fi 2805 fi
2050 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2806 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2051 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2807 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2052 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2808 if test "${ac_cv_prog_cc_c89+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6 2809 $as_echo_n "(cached) " >&6
2054 else 2810 else
2055 ac_cv_prog_cc_stdc=no 2811 ac_cv_prog_cc_c89=no
2056 ac_save_CC=$CC 2812 ac_save_CC=$CC
2057 cat >conftest.$ac_ext <<_ACEOF 2813 cat >conftest.$ac_ext <<_ACEOF
2058 /* confdefs.h. */ 2814 /* confdefs.h. */
2059 _ACEOF 2815 _ACEOF
2060 cat confdefs.h >>conftest.$ac_ext 2816 cat confdefs.h >>conftest.$ac_ext
2084 } 2840 }
2085 2841
2086 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2087 function prototypes and stuff, but not '\xHH' hex character constants. 2843 function prototypes and stuff, but not '\xHH' hex character constants.
2088 These don't provoke an error unfortunately, instead are silently treated 2844 These don't provoke an error unfortunately, instead are silently treated
2089 as 'x'. The following induces an error, until -std1 is added to get 2845 as 'x'. The following induces an error, until -std is added to get
2090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2091 array size at least. It's necessary to write '\x00'==0 to get something 2847 array size at least. It's necessary to write '\x00'==0 to get something
2092 that's true only with -std1. */ 2848 that's true only with -std. */
2093 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2850
2851 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2852 inside strings and character constants. */
2853 #define FOO(x) 'x'
2854 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2094 2855
2095 int test (int i, double x); 2856 int test (int i, double x);
2096 struct s1 {int (*f) (int a);}; 2857 struct s1 {int (*f) (int a);};
2097 struct s2 {int (*f) (double a);}; 2858 struct s2 {int (*f) (double a);};
2098 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2859 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2104 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2865 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2105 ; 2866 ;
2106 return 0; 2867 return 0;
2107 } 2868 }
2108 _ACEOF 2869 _ACEOF
2109 # Don't try gcc -ansi; that turns off useful extensions and 2870 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2110 # breaks some systems' header files. 2871 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2111 # AIX -qlanglvl=ansi
2112 # Ultrix and OSF/1 -std1
2113 # HP-UX 10.20 and later -Ae
2114 # HP-UX older versions -Aa -D_HPUX_SOURCE
2115 # SVR4 -Xc -D__EXTENSIONS__
2116 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2117 do 2872 do
2118 CC="$ac_save_CC $ac_arg" 2873 CC="$ac_save_CC $ac_arg"
2119 rm -f conftest.$ac_objext 2874 rm -f conftest.$ac_objext
2120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2875 if { (ac_try="$ac_compile"
2121 (eval $ac_compile) 2>conftest.er1 2876 case "(($ac_try" in
2877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2879 esac
2880 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2881 $as_echo "$ac_try_echo") >&5
2882 (eval "$ac_compile") 2>conftest.er1
2122 ac_status=$? 2883 ac_status=$?
2123 grep -v '^ *+' conftest.er1 >conftest.err 2884 grep -v '^ *+' conftest.er1 >conftest.err
2124 rm -f conftest.er1 2885 rm -f conftest.er1
2125 cat conftest.err >&5 2886 cat conftest.err >&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); } && 2888 (exit $ac_status); } && {
2128 { ac_try='test -z "$ac_c_werror_flag" 2889 test -z "$ac_c_werror_flag" ||
2129 || test ! -s conftest.err' 2890 test ! -s conftest.err
2130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2891 } && test -s conftest.$ac_objext; then
2131 (eval $ac_try) 2>&5 2892 ac_cv_prog_cc_c89=$ac_arg
2132 ac_status=$? 2893 else
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2894 $as_echo "$as_me: failed program was:" >&5
2134 (exit $ac_status); }; } &&
2135 { ac_try='test -s conftest.$ac_objext'
2136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2137 (eval $ac_try) 2>&5
2138 ac_status=$?
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); }; }; then
2141 ac_cv_prog_cc_stdc=$ac_arg
2142 break
2143 else
2144 echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5 2895 sed 's/^/| /' conftest.$ac_ext >&5
2146 2896
2147 fi 2897
2148 rm -f conftest.err conftest.$ac_objext 2898 fi
2899
2900 rm -f core conftest.err conftest.$ac_objext
2901 test "x$ac_cv_prog_cc_c89" != "xno" && break
2149 done 2902 done
2150 rm -f conftest.$ac_ext conftest.$ac_objext 2903 rm -f conftest.$ac_ext
2151 CC=$ac_save_CC 2904 CC=$ac_save_CC
2152 2905
2153 fi 2906 fi
2154 2907 # AC_CACHE_VAL
2155 case "x$ac_cv_prog_cc_stdc" in 2908 case "x$ac_cv_prog_cc_c89" in
2156 x|xno) 2909 x)
2157 echo "$as_me:$LINENO: result: none needed" >&5 2910 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2158 echo "${ECHO_T}none needed" >&6 ;; 2911 $as_echo "none needed" >&6; } ;;
2912 xno)
2913 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2914 $as_echo "unsupported" >&6; } ;;
2159 *) 2915 *)
2160 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2916 CC="$CC $ac_cv_prog_cc_c89"
2161 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2917 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2162 CC="$CC $ac_cv_prog_cc_stdc" ;; 2918 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2163 esac 2919 esac
2164 2920
2165 # Some people use a C++ compiler to compile C. Since we use `exit', 2921
2166 # in C++ we need to declare it. In case someone uses the same compiler
2167 # for both compiling C and C++ we need to have the C++ compiler decide
2168 # the declaration of exit, since it's the most demanding environment.
2169 cat >conftest.$ac_ext <<_ACEOF
2170 #ifndef __cplusplus
2171 choke me
2172 #endif
2173 _ACEOF
2174 rm -f conftest.$ac_objext
2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2176 (eval $ac_compile) 2>conftest.er1
2177 ac_status=$?
2178 grep -v '^ *+' conftest.er1 >conftest.err
2179 rm -f conftest.er1
2180 cat conftest.err >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); } &&
2183 { ac_try='test -z "$ac_c_werror_flag"
2184 || test ! -s conftest.err'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 (eval $ac_try) 2>&5
2187 ac_status=$?
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; } &&
2190 { ac_try='test -s conftest.$ac_objext'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2192 (eval $ac_try) 2>&5
2193 ac_status=$?
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2196 for ac_declaration in \
2197 '' \
2198 'extern "C" void std::exit (int) throw (); using std::exit;' \
2199 'extern "C" void std::exit (int); using std::exit;' \
2200 'extern "C" void exit (int) throw ();' \
2201 'extern "C" void exit (int);' \
2202 'void exit (int);'
2203 do
2204 cat >conftest.$ac_ext <<_ACEOF
2205 /* confdefs.h. */
2206 _ACEOF
2207 cat confdefs.h >>conftest.$ac_ext
2208 cat >>conftest.$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2210 $ac_declaration
2211 #include <stdlib.h>
2212 int
2213 main ()
2214 {
2215 exit (42);
2216 ;
2217 return 0;
2218 }
2219 _ACEOF
2220 rm -f conftest.$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>conftest.er1
2223 ac_status=$?
2224 grep -v '^ *+' conftest.er1 >conftest.err
2225 rm -f conftest.er1
2226 cat conftest.err >&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try='test -z "$ac_c_werror_flag"
2230 || test ! -s conftest.err'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 (eval $ac_try) 2>&5
2233 ac_status=$?
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; } &&
2236 { ac_try='test -s conftest.$ac_objext'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 (eval $ac_try) 2>&5
2239 ac_status=$?
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2242 :
2243 else
2244 echo "$as_me: failed program was:" >&5
2245 sed 's/^/| /' conftest.$ac_ext >&5
2246
2247 continue
2248 fi
2249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2250 cat >conftest.$ac_ext <<_ACEOF
2251 /* confdefs.h. */
2252 _ACEOF
2253 cat confdefs.h >>conftest.$ac_ext
2254 cat >>conftest.$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2256 $ac_declaration
2257 int
2258 main ()
2259 {
2260 exit (42);
2261 ;
2262 return 0;
2263 }
2264 _ACEOF
2265 rm -f conftest.$ac_objext
2266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2267 (eval $ac_compile) 2>conftest.er1
2268 ac_status=$?
2269 grep -v '^ *+' conftest.er1 >conftest.err
2270 rm -f conftest.er1
2271 cat conftest.err >&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); } &&
2274 { ac_try='test -z "$ac_c_werror_flag"
2275 || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 (eval $ac_try) 2>&5
2278 ac_status=$?
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 (eval $ac_try) 2>&5
2284 ac_status=$?
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2287 break
2288 else
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2291
2292 fi
2293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2294 done
2295 rm -f conftest*
2296 if test -n "$ac_declaration"; then
2297 echo '#ifdef __cplusplus' >>confdefs.h
2298 echo $ac_declaration >>confdefs.h
2299 echo '#endif' >>confdefs.h
2300 fi
2301
2302 else
2303 echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.$ac_ext >&5
2305
2306 fi
2307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2308 ac_ext=c 2922 ac_ext=c
2309 ac_cpp='$CPP $CPPFLAGS' 2923 ac_cpp='$CPP $CPPFLAGS'
2310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2312 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2313 ac_ext=c 2927 ac_ext=c
2314 ac_cpp='$CPP $CPPFLAGS' 2928 ac_cpp='$CPP $CPPFLAGS'
2315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2932 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2933 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2320 # On Suns, sometimes $CPP names a directory. 2934 # On Suns, sometimes $CPP names a directory.
2321 if test -n "$CPP" && test -d "$CPP"; then 2935 if test -n "$CPP" && test -d "$CPP"; then
2322 CPP= 2936 CPP=
2323 fi 2937 fi
2324 if test -z "$CPP"; then 2938 if test -z "$CPP"; then
2325 if test "${ac_cv_prog_CPP+set}" = set; then 2939 if test "${ac_cv_prog_CPP+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6 2940 $as_echo_n "(cached) " >&6
2327 else 2941 else
2328 # Double quotes because CPP needs to be expanded 2942 # Double quotes because CPP needs to be expanded
2329 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2943 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2330 do 2944 do
2331 ac_preproc_ok=false 2945 ac_preproc_ok=false
2348 #else 2962 #else
2349 # include <assert.h> 2963 # include <assert.h>
2350 #endif 2964 #endif
2351 Syntax error 2965 Syntax error
2352 _ACEOF 2966 _ACEOF
2353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2967 if { (ac_try="$ac_cpp conftest.$ac_ext"
2354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2968 case "(($ac_try" in
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2971 esac
2972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2973 $as_echo "$ac_try_echo") >&5
2974 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2355 ac_status=$? 2975 ac_status=$?
2356 grep -v '^ *+' conftest.er1 >conftest.err 2976 grep -v '^ *+' conftest.er1 >conftest.err
2357 rm -f conftest.er1 2977 rm -f conftest.er1
2358 cat conftest.err >&5 2978 cat conftest.err >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } >/dev/null; then 2980 (exit $ac_status); } >/dev/null && {
2361 if test -s conftest.err; then 2981 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2362 ac_cpp_err=$ac_c_preproc_warn_flag 2982 test ! -s conftest.err
2363 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2983 }; then
2364 else
2365 ac_cpp_err=
2366 fi
2367 else
2368 ac_cpp_err=yes
2369 fi
2370 if test -z "$ac_cpp_err"; then
2371 : 2984 :
2372 else 2985 else
2373 echo "$as_me: failed program was:" >&5 2986 $as_echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5 2987 sed 's/^/| /' conftest.$ac_ext >&5
2375 2988
2376 # Broken: fails on valid input. 2989 # Broken: fails on valid input.
2377 continue 2990 continue
2378 fi 2991 fi
2992
2379 rm -f conftest.err conftest.$ac_ext 2993 rm -f conftest.err conftest.$ac_ext
2380 2994
2381 # OK, works on sane cases. Now check whether non-existent headers 2995 # OK, works on sane cases. Now check whether nonexistent headers
2382 # can be detected and how. 2996 # can be detected and how.
2383 cat >conftest.$ac_ext <<_ACEOF 2997 cat >conftest.$ac_ext <<_ACEOF
2384 /* confdefs.h. */ 2998 /* confdefs.h. */
2385 _ACEOF 2999 _ACEOF
2386 cat confdefs.h >>conftest.$ac_ext 3000 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF 3001 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h. */ 3002 /* end confdefs.h. */
2389 #include <ac_nonexistent.h> 3003 #include <ac_nonexistent.h>
2390 _ACEOF 3004 _ACEOF
2391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3005 if { (ac_try="$ac_cpp conftest.$ac_ext"
2392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3006 case "(($ac_try" in
3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3009 esac
3010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3011 $as_echo "$ac_try_echo") >&5
3012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2393 ac_status=$? 3013 ac_status=$?
2394 grep -v '^ *+' conftest.er1 >conftest.err 3014 grep -v '^ *+' conftest.er1 >conftest.err
2395 rm -f conftest.er1 3015 rm -f conftest.er1
2396 cat conftest.err >&5 3016 cat conftest.err >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3017 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } >/dev/null; then 3018 (exit $ac_status); } >/dev/null && {
2399 if test -s conftest.err; then 3019 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2400 ac_cpp_err=$ac_c_preproc_warn_flag 3020 test ! -s conftest.err
2401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3021 }; then
2402 else
2403 ac_cpp_err=
2404 fi
2405 else
2406 ac_cpp_err=yes
2407 fi
2408 if test -z "$ac_cpp_err"; then
2409 # Broken: success on invalid input. 3022 # Broken: success on invalid input.
2410 continue 3023 continue
2411 else 3024 else
2412 echo "$as_me: failed program was:" >&5 3025 $as_echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.$ac_ext >&5 3026 sed 's/^/| /' conftest.$ac_ext >&5
2414 3027
2415 # Passes both tests. 3028 # Passes both tests.
2416 ac_preproc_ok=: 3029 ac_preproc_ok=:
2417 break 3030 break
2418 fi 3031 fi
3032
2419 rm -f conftest.err conftest.$ac_ext 3033 rm -f conftest.err conftest.$ac_ext
2420 3034
2421 done 3035 done
2422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3036 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2423 rm -f conftest.err conftest.$ac_ext 3037 rm -f conftest.err conftest.$ac_ext
2431 fi 3045 fi
2432 CPP=$ac_cv_prog_CPP 3046 CPP=$ac_cv_prog_CPP
2433 else 3047 else
2434 ac_cv_prog_CPP=$CPP 3048 ac_cv_prog_CPP=$CPP
2435 fi 3049 fi
2436 echo "$as_me:$LINENO: result: $CPP" >&5 3050 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2437 echo "${ECHO_T}$CPP" >&6 3051 $as_echo "$CPP" >&6; }
2438 ac_preproc_ok=false 3052 ac_preproc_ok=false
2439 for ac_c_preproc_warn_flag in '' yes 3053 for ac_c_preproc_warn_flag in '' yes
2440 do 3054 do
2441 # Use a header file that comes with gcc, so configuring glibc 3055 # Use a header file that comes with gcc, so configuring glibc
2442 # with a fresh cross-compiler works. 3056 # with a fresh cross-compiler works.
2455 #else 3069 #else
2456 # include <assert.h> 3070 # include <assert.h>
2457 #endif 3071 #endif
2458 Syntax error 3072 Syntax error
2459 _ACEOF 3073 _ACEOF
2460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3074 if { (ac_try="$ac_cpp conftest.$ac_ext"
2461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3075 case "(($ac_try" in
3076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077 *) ac_try_echo=$ac_try;;
3078 esac
3079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3080 $as_echo "$ac_try_echo") >&5
3081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2462 ac_status=$? 3082 ac_status=$?
2463 grep -v '^ *+' conftest.er1 >conftest.err 3083 grep -v '^ *+' conftest.er1 >conftest.err
2464 rm -f conftest.er1 3084 rm -f conftest.er1
2465 cat conftest.err >&5 3085 cat conftest.err >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } >/dev/null; then 3087 (exit $ac_status); } >/dev/null && {
2468 if test -s conftest.err; then 3088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2469 ac_cpp_err=$ac_c_preproc_warn_flag 3089 test ! -s conftest.err
2470 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3090 }; then
2471 else
2472 ac_cpp_err=
2473 fi
2474 else
2475 ac_cpp_err=yes
2476 fi
2477 if test -z "$ac_cpp_err"; then
2478 : 3091 :
2479 else 3092 else
2480 echo "$as_me: failed program was:" >&5 3093 $as_echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.$ac_ext >&5 3094 sed 's/^/| /' conftest.$ac_ext >&5
2482 3095
2483 # Broken: fails on valid input. 3096 # Broken: fails on valid input.
2484 continue 3097 continue
2485 fi 3098 fi
3099
2486 rm -f conftest.err conftest.$ac_ext 3100 rm -f conftest.err conftest.$ac_ext
2487 3101
2488 # OK, works on sane cases. Now check whether non-existent headers 3102 # OK, works on sane cases. Now check whether nonexistent headers
2489 # can be detected and how. 3103 # can be detected and how.
2490 cat >conftest.$ac_ext <<_ACEOF 3104 cat >conftest.$ac_ext <<_ACEOF
2491 /* confdefs.h. */ 3105 /* confdefs.h. */
2492 _ACEOF 3106 _ACEOF
2493 cat confdefs.h >>conftest.$ac_ext 3107 cat confdefs.h >>conftest.$ac_ext
2494 cat >>conftest.$ac_ext <<_ACEOF 3108 cat >>conftest.$ac_ext <<_ACEOF
2495 /* end confdefs.h. */ 3109 /* end confdefs.h. */
2496 #include <ac_nonexistent.h> 3110 #include <ac_nonexistent.h>
2497 _ACEOF 3111 _ACEOF
2498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3112 if { (ac_try="$ac_cpp conftest.$ac_ext"
2499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3113 case "(($ac_try" in
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3116 esac
3117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3118 $as_echo "$ac_try_echo") >&5
3119 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2500 ac_status=$? 3120 ac_status=$?
2501 grep -v '^ *+' conftest.er1 >conftest.err 3121 grep -v '^ *+' conftest.er1 >conftest.err
2502 rm -f conftest.er1 3122 rm -f conftest.er1
2503 cat conftest.err >&5 3123 cat conftest.err >&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } >/dev/null; then 3125 (exit $ac_status); } >/dev/null && {
2506 if test -s conftest.err; then 3126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2507 ac_cpp_err=$ac_c_preproc_warn_flag 3127 test ! -s conftest.err
2508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3128 }; then
2509 else
2510 ac_cpp_err=
2511 fi
2512 else
2513 ac_cpp_err=yes
2514 fi
2515 if test -z "$ac_cpp_err"; then
2516 # Broken: success on invalid input. 3129 # Broken: success on invalid input.
2517 continue 3130 continue
2518 else 3131 else
2519 echo "$as_me: failed program was:" >&5 3132 $as_echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.$ac_ext >&5 3133 sed 's/^/| /' conftest.$ac_ext >&5
2521 3134
2522 # Passes both tests. 3135 # Passes both tests.
2523 ac_preproc_ok=: 3136 ac_preproc_ok=:
2524 break 3137 break
2525 fi 3138 fi
3139
2526 rm -f conftest.err conftest.$ac_ext 3140 rm -f conftest.err conftest.$ac_ext
2527 3141
2528 done 3142 done
2529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2530 rm -f conftest.err conftest.$ac_ext 3144 rm -f conftest.err conftest.$ac_ext
2531 if $ac_preproc_ok; then 3145 if $ac_preproc_ok; then
2532 : 3146 :
2533 else 3147 else
2534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3148 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2535 See \`config.log' for more details." >&5 3149 See \`config.log' for more details." >&5
2536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3150 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2537 See \`config.log' for more details." >&2;} 3151 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; } 3152 { (exit 1); exit 1; }; }
2539 fi 3153 fi
2540 3154
2541 ac_ext=c 3155 ac_ext=c
2543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2546 3160
2547 3161
2548 echo "$as_me:$LINENO: checking for egrep" >&5 3162 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3163 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2550 if test "${ac_cv_prog_egrep+set}" = set; then 3164 if test "${ac_cv_path_GREP+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6 3165 $as_echo_n "(cached) " >&6
2552 else 3166 else
2553 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3167 if test -z "$GREP"; then
2554 then ac_cv_prog_egrep='grep -E' 3168 ac_path_GREP_found=false
2555 else ac_cv_prog_egrep='egrep' 3169 # Loop through the user's path and test for each of PROGNAME-LIST
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3172 do
3173 IFS=$as_save_IFS
3174 test -z "$as_dir" && as_dir=.
3175 for ac_prog in grep ggrep; do
3176 for ac_exec_ext in '' $ac_executable_extensions; do
3177 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3178 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3179 # Check for GNU ac_path_GREP and select it if it is found.
3180 # Check for GNU $ac_path_GREP
3181 case `"$ac_path_GREP" --version 2>&1` in
3182 *GNU*)
3183 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3184 *)
3185 ac_count=0
3186 $as_echo_n 0123456789 >"conftest.in"
3187 while :
3188 do
3189 cat "conftest.in" "conftest.in" >"conftest.tmp"
3190 mv "conftest.tmp" "conftest.in"
3191 cp "conftest.in" "conftest.nl"
3192 $as_echo 'GREP' >> "conftest.nl"
3193 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3194 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3195 ac_count=`expr $ac_count + 1`
3196 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3197 # Best one so far, save it but keep looking for a better one
3198 ac_cv_path_GREP="$ac_path_GREP"
3199 ac_path_GREP_max=$ac_count
2556 fi 3200 fi
2557 fi 3201 # 10*(2^10) chars as input seems more than enough
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3202 test $ac_count -gt 10 && break
2559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3203 done
2560 EGREP=$ac_cv_prog_egrep 3204 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3205 esac
3206
3207 $ac_path_GREP_found && break 3
3208 done
3209 done
3210 done
3211 IFS=$as_save_IFS
3212 if test -z "$ac_cv_path_GREP"; then
3213 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3214 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3215 { (exit 1); exit 1; }; }
3216 fi
3217 else
3218 ac_cv_path_GREP=$GREP
3219 fi
3220
3221 fi
3222 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3223 $as_echo "$ac_cv_path_GREP" >&6; }
3224 GREP="$ac_cv_path_GREP"
3225
3226
3227 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3228 $as_echo_n "checking for egrep... " >&6; }
3229 if test "${ac_cv_path_EGREP+set}" = set; then
3230 $as_echo_n "(cached) " >&6
3231 else
3232 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3233 then ac_cv_path_EGREP="$GREP -E"
3234 else
3235 if test -z "$EGREP"; then
3236 ac_path_EGREP_found=false
3237 # Loop through the user's path and test for each of PROGNAME-LIST
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3240 do
3241 IFS=$as_save_IFS
3242 test -z "$as_dir" && as_dir=.
3243 for ac_prog in egrep; do
3244 for ac_exec_ext in '' $ac_executable_extensions; do
3245 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3246 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3247 # Check for GNU ac_path_EGREP and select it if it is found.
3248 # Check for GNU $ac_path_EGREP
3249 case `"$ac_path_EGREP" --version 2>&1` in
3250 *GNU*)
3251 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3252 *)
3253 ac_count=0
3254 $as_echo_n 0123456789 >"conftest.in"
3255 while :
3256 do
3257 cat "conftest.in" "conftest.in" >"conftest.tmp"
3258 mv "conftest.tmp" "conftest.in"
3259 cp "conftest.in" "conftest.nl"
3260 $as_echo 'EGREP' >> "conftest.nl"
3261 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3263 ac_count=`expr $ac_count + 1`
3264 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3265 # Best one so far, save it but keep looking for a better one
3266 ac_cv_path_EGREP="$ac_path_EGREP"
3267 ac_path_EGREP_max=$ac_count
3268 fi
3269 # 10*(2^10) chars as input seems more than enough
3270 test $ac_count -gt 10 && break
3271 done
3272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3273 esac
3274
3275 $ac_path_EGREP_found && break 3
3276 done
3277 done
3278 done
3279 IFS=$as_save_IFS
3280 if test -z "$ac_cv_path_EGREP"; then
3281 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3282 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3283 { (exit 1); exit 1; }; }
3284 fi
3285 else
3286 ac_cv_path_EGREP=$EGREP
3287 fi
3288
3289 fi
3290 fi
3291 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3292 $as_echo "$ac_cv_path_EGREP" >&6; }
3293 EGREP="$ac_cv_path_EGREP"
2561 3294
2562 3295
2563 cat >conftest.$ac_ext <<_ACEOF 3296 cat >conftest.$ac_ext <<_ACEOF
2564 /* confdefs.h. */ 3297 /* confdefs.h. */
2565 _ACEOF 3298 _ACEOF
2566 cat confdefs.h >>conftest.$ac_ext 3299 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF 3300 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */ 3301 /* end confdefs.h. */
2569 3302
2570 _ACEOF 3303 _ACEOF
2571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2572 $EGREP "" >/dev/null 2>&1; then
2573 :
2574 fi
2575 rm -f conftest* 3304 rm -f conftest*
2576 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3305 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
2577 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 3306 $as_echo_n "checking for library containing strerror... " >&6; }
2578 if test "${ac_cv_search_strerror+set}" = set; then 3307 if test "${ac_cv_search_strerror+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6 3308 $as_echo_n "(cached) " >&6
2580 else 3309 else
2581 ac_func_search_save_LIBS=$LIBS 3310 ac_func_search_save_LIBS=$LIBS
2582 ac_cv_search_strerror=no
2583 cat >conftest.$ac_ext <<_ACEOF 3311 cat >conftest.$ac_ext <<_ACEOF
2584 /* confdefs.h. */ 3312 /* confdefs.h. */
2585 _ACEOF 3313 _ACEOF
2586 cat confdefs.h >>conftest.$ac_ext 3314 cat confdefs.h >>conftest.$ac_ext
2587 cat >>conftest.$ac_ext <<_ACEOF 3315 cat >>conftest.$ac_ext <<_ACEOF
2588 /* end confdefs.h. */ 3316 /* end confdefs.h. */
2589 3317
2590 /* Override any gcc2 internal prototype to avoid an error. */ 3318 /* Override any GCC internal prototype to avoid an error.
3319 Use char because int might match the return type of a GCC
3320 builtin and then its argument prototype would still apply. */
2591 #ifdef __cplusplus 3321 #ifdef __cplusplus
2592 extern "C" 3322 extern "C"
2593 #endif 3323 #endif
2594 /* We use char because int might match the return type of a gcc2
2595 builtin and then its argument prototype would still apply. */
2596 char strerror (); 3324 char strerror ();
2597 int 3325 int
2598 main () 3326 main ()
2599 { 3327 {
2600 strerror (); 3328 return strerror ();
2601 ; 3329 ;
2602 return 0; 3330 return 0;
2603 } 3331 }
2604 _ACEOF 3332 _ACEOF
2605 rm -f conftest.$ac_objext conftest$ac_exeext 3333 for ac_lib in '' cposix; do
2606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3334 if test -z "$ac_lib"; then
2607 (eval $ac_link) 2>conftest.er1 3335 ac_res="none required"
3336 else
3337 ac_res=-l$ac_lib
3338 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3339 fi
3340 rm -f conftest.$ac_objext conftest$ac_exeext
3341 if { (ac_try="$ac_link"
3342 case "(($ac_try" in
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3345 esac
3346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3347 $as_echo "$ac_try_echo") >&5
3348 (eval "$ac_link") 2>conftest.er1
2608 ac_status=$? 3349 ac_status=$?
2609 grep -v '^ *+' conftest.er1 >conftest.err 3350 grep -v '^ *+' conftest.er1 >conftest.err
2610 rm -f conftest.er1 3351 rm -f conftest.er1
2611 cat conftest.err >&5 3352 cat conftest.err >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } && 3354 (exit $ac_status); } && {
2614 { ac_try='test -z "$ac_c_werror_flag" 3355 test -z "$ac_c_werror_flag" ||
2615 || test ! -s conftest.err' 3356 test ! -s conftest.err
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3357 } && test -s conftest$ac_exeext && {
2617 (eval $ac_try) 2>&5 3358 test "$cross_compiling" = yes ||
2618 ac_status=$? 3359 $as_test_x conftest$ac_exeext
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3360 }; then
2620 (exit $ac_status); }; } && 3361 ac_cv_search_strerror=$ac_res
2621 { ac_try='test -s conftest$ac_exeext' 3362 else
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3363 $as_echo "$as_me: failed program was:" >&5
2623 (eval $ac_try) 2>&5
2624 ac_status=$?
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2627 ac_cv_search_strerror="none required"
2628 else
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.$ac_ext >&5 3364 sed 's/^/| /' conftest.$ac_ext >&5
2631 3365
2632 fi 3366
2633 rm -f conftest.err conftest.$ac_objext \ 3367 fi
2634 conftest$ac_exeext conftest.$ac_ext 3368
2635 if test "$ac_cv_search_strerror" = no; then 3369 rm -rf conftest.dSYM
2636 for ac_lib in cposix; do 3370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2637 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3371 conftest$ac_exeext
2638 cat >conftest.$ac_ext <<_ACEOF 3372 if test "${ac_cv_search_strerror+set}" = set; then
2639 /* confdefs.h. */ 3373 break
2640 _ACEOF 3374 fi
2641 cat confdefs.h >>conftest.$ac_ext 3375 done
2642 cat >>conftest.$ac_ext <<_ACEOF 3376 if test "${ac_cv_search_strerror+set}" = set; then
2643 /* end confdefs.h. */ 3377 :
2644 3378 else
2645 /* Override any gcc2 internal prototype to avoid an error. */ 3379 ac_cv_search_strerror=no
2646 #ifdef __cplusplus 3380 fi
2647 extern "C" 3381 rm conftest.$ac_ext
2648 #endif
2649 /* We use char because int might match the return type of a gcc2
2650 builtin and then its argument prototype would still apply. */
2651 char strerror ();
2652 int
2653 main ()
2654 {
2655 strerror ();
2656 ;
2657 return 0;
2658 }
2659 _ACEOF
2660 rm -f conftest.$ac_objext conftest$ac_exeext
2661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2662 (eval $ac_link) 2>conftest.er1
2663 ac_status=$?
2664 grep -v '^ *+' conftest.er1 >conftest.err
2665 rm -f conftest.er1
2666 cat conftest.err >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } &&
2669 { ac_try='test -z "$ac_c_werror_flag"
2670 || test ! -s conftest.err'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 (eval $ac_try) 2>&5
2673 ac_status=$?
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; } &&
2676 { ac_try='test -s conftest$ac_exeext'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 (eval $ac_try) 2>&5
2679 ac_status=$?
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; }; then
2682 ac_cv_search_strerror="-l$ac_lib"
2683 break
2684 else
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2687
2688 fi
2689 rm -f conftest.err conftest.$ac_objext \
2690 conftest$ac_exeext conftest.$ac_ext
2691 done
2692 fi
2693 LIBS=$ac_func_search_save_LIBS 3382 LIBS=$ac_func_search_save_LIBS
2694 fi 3383 fi
2695 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3384 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2696 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3385 $as_echo "$ac_cv_search_strerror" >&6; }
2697 if test "$ac_cv_search_strerror" != no; then 3386 ac_res=$ac_cv_search_strerror
2698 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3387 if test "$ac_res" != no; then
3388 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2699 3389
2700 fi 3390 fi
2701 for ac_prog in gawk mawk nawk awk 3391 for ac_prog in gawk mawk nawk awk
2702 do 3392 do
2703 # Extract the first word of "$ac_prog", so it can be a program name with args. 3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
2704 set dummy $ac_prog; ac_word=$2 3394 set dummy $ac_prog; ac_word=$2
2705 echo "$as_me:$LINENO: checking for $ac_word" >&5 3395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3396 $as_echo_n "checking for $ac_word... " >&6; }
2707 if test "${ac_cv_prog_AWK+set}" = set; then 3397 if test "${ac_cv_prog_AWK+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6 3398 $as_echo_n "(cached) " >&6
2709 else 3399 else
2710 if test -n "$AWK"; then 3400 if test -n "$AWK"; then
2711 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3401 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2712 else 3402 else
2713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 for as_dir in $PATH 3404 for as_dir in $PATH
2715 do 3405 do
2716 IFS=$as_save_IFS 3406 IFS=$as_save_IFS
2717 test -z "$as_dir" && as_dir=. 3407 test -z "$as_dir" && as_dir=.
2718 for ac_exec_ext in '' $ac_executable_extensions; do 3408 for ac_exec_ext in '' $ac_executable_extensions; do
2719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2720 ac_cv_prog_AWK="$ac_prog" 3410 ac_cv_prog_AWK="$ac_prog"
2721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 break 2 3412 break 2
2723 fi 3413 fi
2724 done 3414 done
2725 done 3415 done
3416 IFS=$as_save_IFS
2726 3417
2727 fi 3418 fi
2728 fi 3419 fi
2729 AWK=$ac_cv_prog_AWK 3420 AWK=$ac_cv_prog_AWK
2730 if test -n "$AWK"; then 3421 if test -n "$AWK"; then
2731 echo "$as_me:$LINENO: result: $AWK" >&5 3422 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2732 echo "${ECHO_T}$AWK" >&6 3423 $as_echo "$AWK" >&6; }
2733 else 3424 else
2734 echo "$as_me:$LINENO: result: no" >&5 3425 { $as_echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6 3426 $as_echo "no" >&6; }
2736 fi 3427 fi
3428
2737 3429
2738 test -n "$AWK" && break 3430 test -n "$AWK" && break
2739 done 3431 done
2740 3432
2741 # Extract the first word of "strip", so it can be a program name with args. 3433 # Extract the first word of "strip", so it can be a program name with args.
2742 set dummy strip; ac_word=$2 3434 set dummy strip; ac_word=$2
2743 echo "$as_me:$LINENO: checking for $ac_word" >&5 3435 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3436 $as_echo_n "checking for $ac_word... " >&6; }
2745 if test "${ac_cv_prog_STRIP+set}" = set; then 3437 if test "${ac_cv_prog_STRIP+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6 3438 $as_echo_n "(cached) " >&6
2747 else 3439 else
2748 if test -n "$STRIP"; then 3440 if test -n "$STRIP"; then
2749 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3441 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2750 else 3442 else
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752 for as_dir in $PATH 3444 for as_dir in $PATH
2753 do 3445 do
2754 IFS=$as_save_IFS 3446 IFS=$as_save_IFS
2755 test -z "$as_dir" && as_dir=. 3447 test -z "$as_dir" && as_dir=.
2756 for ac_exec_ext in '' $ac_executable_extensions; do 3448 for ac_exec_ext in '' $ac_executable_extensions; do
2757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_STRIP="strip" 3450 ac_cv_prog_STRIP="strip"
2759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3451 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 break 2 3452 break 2
2761 fi 3453 fi
2762 done 3454 done
2763 done 3455 done
3456 IFS=$as_save_IFS
2764 3457
2765 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" 3458 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2766 fi 3459 fi
2767 fi 3460 fi
2768 STRIP=$ac_cv_prog_STRIP 3461 STRIP=$ac_cv_prog_STRIP
2769 if test -n "$STRIP"; then 3462 if test -n "$STRIP"; then
2770 echo "$as_me:$LINENO: result: $STRIP" >&5 3463 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2771 echo "${ECHO_T}$STRIP" >&6 3464 $as_echo "$STRIP" >&6; }
2772 else 3465 else
2773 echo "$as_me:$LINENO: result: no" >&5 3466 { $as_echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6 3467 $as_echo "no" >&6; }
2775 fi 3468 fi
2776 3469
2777 3470
3471
3472
3473
3474 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3475 $as_echo_n "checking for ANSI C header files... " >&6; }
3476 if test "${ac_cv_header_stdc+set}" = set; then
3477 $as_echo_n "(cached) " >&6
3478 else
3479 cat >conftest.$ac_ext <<_ACEOF
3480 /* confdefs.h. */
3481 _ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3485 #include <stdlib.h>
3486 #include <stdarg.h>
3487 #include <string.h>
3488 #include <float.h>
3489
3490 int
3491 main ()
3492 {
3493
3494 ;
3495 return 0;
3496 }
3497 _ACEOF
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3500 case "(($ac_try" in
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3503 esac
3504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3505 $as_echo "$ac_try_echo") >&5
3506 (eval "$ac_compile") 2>conftest.er1
3507 ac_status=$?
3508 grep -v '^ *+' conftest.er1 >conftest.err
3509 rm -f conftest.er1
3510 cat conftest.err >&5
3511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } && {
3513 test -z "$ac_c_werror_flag" ||
3514 test ! -s conftest.err
3515 } && test -s conftest.$ac_objext; then
3516 ac_cv_header_stdc=yes
3517 else
3518 $as_echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3520
3521 ac_cv_header_stdc=no
3522 fi
3523
3524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525
3526 if test $ac_cv_header_stdc = yes; then
3527 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3528 cat >conftest.$ac_ext <<_ACEOF
3529 /* confdefs.h. */
3530 _ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 #include <string.h>
3535
3536 _ACEOF
3537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3538 $EGREP "memchr" >/dev/null 2>&1; then
3539 :
3540 else
3541 ac_cv_header_stdc=no
3542 fi
3543 rm -f conftest*
3544
3545 fi
3546
3547 if test $ac_cv_header_stdc = yes; then
3548 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3549 cat >conftest.$ac_ext <<_ACEOF
3550 /* confdefs.h. */
3551 _ACEOF
3552 cat confdefs.h >>conftest.$ac_ext
3553 cat >>conftest.$ac_ext <<_ACEOF
3554 /* end confdefs.h. */
3555 #include <stdlib.h>
3556
3557 _ACEOF
3558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3559 $EGREP "free" >/dev/null 2>&1; then
3560 :
3561 else
3562 ac_cv_header_stdc=no
3563 fi
3564 rm -f conftest*
3565
3566 fi
3567
3568 if test $ac_cv_header_stdc = yes; then
3569 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3570 if test "$cross_compiling" = yes; then
3571 :
3572 else
3573 cat >conftest.$ac_ext <<_ACEOF
3574 /* confdefs.h. */
3575 _ACEOF
3576 cat confdefs.h >>conftest.$ac_ext
3577 cat >>conftest.$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3579 #include <ctype.h>
3580 #include <stdlib.h>
3581 #if ((' ' & 0x0FF) == 0x020)
3582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3584 #else
3585 # define ISLOWER(c) \
3586 (('a' <= (c) && (c) <= 'i') \
3587 || ('j' <= (c) && (c) <= 'r') \
3588 || ('s' <= (c) && (c) <= 'z'))
3589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3590 #endif
3591
3592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3593 int
3594 main ()
3595 {
3596 int i;
3597 for (i = 0; i < 256; i++)
3598 if (XOR (islower (i), ISLOWER (i))
3599 || toupper (i) != TOUPPER (i))
3600 return 2;
3601 return 0;
3602 }
3603 _ACEOF
3604 rm -f conftest$ac_exeext
3605 if { (ac_try="$ac_link"
3606 case "(($ac_try" in
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3609 esac
3610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3611 $as_echo "$ac_try_echo") >&5
3612 (eval "$ac_link") 2>&5
3613 ac_status=$?
3614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3616 { (case "(($ac_try" in
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3619 esac
3620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3621 $as_echo "$ac_try_echo") >&5
3622 (eval "$ac_try") 2>&5
3623 ac_status=$?
3624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 :
3627 else
3628 $as_echo "$as_me: program exited with status $ac_status" >&5
3629 $as_echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3631
3632 ( exit $ac_status )
3633 ac_cv_header_stdc=no
3634 fi
3635 rm -rf conftest.dSYM
3636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3637 fi
3638
3639
3640 fi
3641 fi
3642 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3643 $as_echo "$ac_cv_header_stdc" >&6; }
3644 if test $ac_cv_header_stdc = yes; then
3645
3646 cat >>confdefs.h <<\_ACEOF
3647 #define STDC_HEADERS 1
3648 _ACEOF
3649
3650 fi
3651
3652 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3653 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3654 if test "${ac_cv_header_sys_wait_h+set}" = set; then
3655 $as_echo_n "(cached) " >&6
3656 else
3657 cat >conftest.$ac_ext <<_ACEOF
3658 /* confdefs.h. */
3659 _ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3663 #include <sys/types.h>
3664 #include <sys/wait.h>
3665 #ifndef WEXITSTATUS
3666 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3667 #endif
3668 #ifndef WIFEXITED
3669 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3670 #endif
3671
3672 int
3673 main ()
3674 {
3675 int s;
3676 wait (&s);
3677 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3678 ;
3679 return 0;
3680 }
3681 _ACEOF
3682 rm -f conftest.$ac_objext
3683 if { (ac_try="$ac_compile"
3684 case "(($ac_try" in
3685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3686 *) ac_try_echo=$ac_try;;
3687 esac
3688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3689 $as_echo "$ac_try_echo") >&5
3690 (eval "$ac_compile") 2>conftest.er1
3691 ac_status=$?
3692 grep -v '^ *+' conftest.er1 >conftest.err
3693 rm -f conftest.er1
3694 cat conftest.err >&5
3695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } && {
3697 test -z "$ac_c_werror_flag" ||
3698 test ! -s conftest.err
3699 } && test -s conftest.$ac_objext; then
3700 ac_cv_header_sys_wait_h=yes
3701 else
3702 $as_echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3704
3705 ac_cv_header_sys_wait_h=no
3706 fi
3707
3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709 fi
3710 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3711 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
3712 if test $ac_cv_header_sys_wait_h = yes; then
3713
3714 cat >>confdefs.h <<\_ACEOF
3715 #define HAVE_SYS_WAIT_H 1
3716 _ACEOF
3717
3718 fi
2778 3719
2779 3720
2780 if test -z "$CFLAGS"; then 3721 if test -z "$CFLAGS"; then
2781 CFLAGS="-O" 3722 CFLAGS="-O"
2782 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall" 3723 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
2796 fi 3737 fi
2797 fi 3738 fi
2798 fi 3739 fi
2799 3740
2800 if test "$cross_compiling" = yes; then 3741 if test "$cross_compiling" = yes; then
2801 { { echo "$as_me:$LINENO: error: cannot compile a simple program, check CC and CFLAGS 3742 { $as_echo "$as_me:$LINENO: result: cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&5
2802 (cross compiling doesn't work)" >&5 3743 $as_echo "cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&6; }
2803 echo "$as_me: error: cannot compile a simple program, check CC and CFLAGS
2804 (cross compiling doesn't work)" >&2;}
2805 { (exit 1); exit 1; }; }
2806 fi 3744 fi
2807 3745
2808 test "$GCC" = yes && CPP_MM=M; 3746 test "$GCC" = yes && CPP_MM=M;
2809 3747
2810 if test -f ./toolcheck; then 3748 if test -f ./toolcheck; then
2811 { echo "$as_me:$LINENO: checking for buggy tools..." >&5 3749 { $as_echo "$as_me:$LINENO: checking for buggy tools..." >&5
2812 echo "$as_me: checking for buggy tools..." >&6;} 3750 $as_echo "$as_me: checking for buggy tools..." >&6;}
2813 sh ./toolcheck 1>&6 3751 sh ./toolcheck 1>&6
2814 fi 3752 fi
2815 3753
2816 OS_EXTRA_SRC=""; OS_EXTRA_OBJ="" 3754 OS_EXTRA_SRC=""; OS_EXTRA_OBJ=""
2817 3755
2818 echo "$as_me:$LINENO: checking for BeOS" >&5 3756 { $as_echo "$as_me:$LINENO: checking for BeOS" >&5
2819 echo $ECHO_N "checking for BeOS... $ECHO_C" >&6 3757 $as_echo_n "checking for BeOS... " >&6; }
2820 case `uname` in 3758 case `uname` in
2821 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o 3759 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o
2822 BEOS=yes; echo "$as_me:$LINENO: result: yes" >&5 3760 BEOS=yes; { $as_echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6;; 3761 $as_echo "yes" >&6; };;
2824 *) BEOS=no; echo "$as_me:$LINENO: result: no" >&5 3762 *) BEOS=no; { $as_echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6;; 3763 $as_echo "no" >&6; };;
2826 esac 3764 esac
2827 3765
2828 echo "$as_me:$LINENO: checking for QNX" >&5 3766 { $as_echo "$as_me:$LINENO: checking for QNX" >&5
2829 echo $ECHO_N "checking for QNX... $ECHO_C" >&6 3767 $as_echo_n "checking for QNX... " >&6; }
2830 case `uname` in 3768 case `uname` in
2831 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o 3769 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o
2832 test -z "$with_x" && with_x=no 3770 test -z "$with_x" && with_x=no
2833 QNX=yes; echo "$as_me:$LINENO: result: yes" >&5 3771 QNX=yes; { $as_echo "$as_me:$LINENO: result: yes" >&5
2834 echo "${ECHO_T}yes" >&6;; 3772 $as_echo "yes" >&6; };;
2835 *) QNX=no; echo "$as_me:$LINENO: result: no" >&5 3773 *) QNX=no; { $as_echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6;; 3774 $as_echo "no" >&6; };;
2837 esac 3775 esac
2838 3776
2839 echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5 3777 { $as_echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
2840 echo $ECHO_N "checking for Darwin (Mac OS X)... $ECHO_C" >&6 3778 $as_echo_n "checking for Darwin (Mac OS X)... " >&6; }
2841 if test "`(uname) 2>/dev/null`" = Darwin; then 3779 if test "`(uname) 2>/dev/null`" = Darwin; then
2842 echo "$as_me:$LINENO: result: yes" >&5 3780 { $as_echo "$as_me:$LINENO: result: yes" >&5
2843 echo "${ECHO_T}yes" >&6 3781 $as_echo "yes" >&6; }
2844 3782
2845 echo "$as_me:$LINENO: checking --disable-darwin argument" >&5 3783 { $as_echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
2846 echo $ECHO_N "checking --disable-darwin argument... $ECHO_C" >&6 3784 $as_echo_n "checking --disable-darwin argument... " >&6; }
2847 # Check whether --enable-darwin or --disable-darwin was given. 3785 # Check whether --enable-darwin was given.
2848 if test "${enable_darwin+set}" = set; then 3786 if test "${enable_darwin+set}" = set; then
2849 enableval="$enable_darwin" 3787 enableval=$enable_darwin;
2850
2851 else 3788 else
2852 enable_darwin="yes" 3789 enable_darwin="yes"
2853 fi; 3790 fi
3791
2854 if test "$enable_darwin" = "yes"; then 3792 if test "$enable_darwin" = "yes"; then
2855 echo "$as_me:$LINENO: result: no" >&5 3793 { $as_echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6 3794 $as_echo "no" >&6; }
2857 echo "$as_me:$LINENO: checking if Darwin files are there" >&5 3795 { $as_echo "$as_me:$LINENO: checking if Darwin files are there" >&5
2858 echo $ECHO_N "checking if Darwin files are there... $ECHO_C" >&6 3796 $as_echo_n "checking if Darwin files are there... " >&6; }
2859 if test -f os_macosx.c; then 3797 if test -f os_macosx.c; then
2860 echo "$as_me:$LINENO: result: yes" >&5 3798 { $as_echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6 3799 $as_echo "yes" >&6; }
2862 else 3800 else
2863 echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5 3801 { $as_echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
2864 echo "${ECHO_T}no, Darwin support disabled" >&6 3802 $as_echo "no, Darwin support disabled" >&6; }
2865 enable_darwin=no 3803 enable_darwin=no
2866 fi 3804 fi
2867 else 3805 else
2868 echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5 3806 { $as_echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
2869 echo "${ECHO_T}yes, Darwin support excluded" >&6 3807 $as_echo "yes, Darwin support excluded" >&6; }
2870 fi 3808 fi
2871 3809
2872 echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5 3810 { $as_echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
2873 echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6 3811 $as_echo_n "checking --with-mac-arch argument... " >&6; }
2874 3812
2875 # Check whether --with-mac-arch or --without-mac-arch was given. 3813 # Check whether --with-mac-arch was given.
2876 if test "${with_mac_arch+set}" = set; then 3814 if test "${with_mac_arch+set}" = set; then
2877 withval="$with_mac_arch" 3815 withval=$with_mac_arch; MACARCH="$withval"; { $as_echo "$as_me:$LINENO: result: $MACARCH" >&5
2878 MACARCH="$withval"; echo "$as_me:$LINENO: result: $MACARCH" >&5 3816 $as_echo "$MACARCH" >&6; }
2879 echo "${ECHO_T}$MACARCH" >&6 3817 else
2880 else 3818 MACARCH="current"; { $as_echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
2881 MACARCH="current"; echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5 3819 $as_echo "defaulting to $MACARCH" >&6; }
2882 echo "${ECHO_T}defaulting to $MACARCH" >&6 3820 fi
2883 fi; 3821
2884 3822
2885 if test "x$MACARCH" = "xboth"; then 3823 if test "x$MACARCH" = "xboth"; then
2886 echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5 3824 { $as_echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
2887 echo $ECHO_N "checking for 10.4 universal SDK... $ECHO_C" >&6 3825 $as_echo_n "checking for 10.4 universal SDK... " >&6; }
2888 save_cppflags="$CPPFLAGS" 3826 save_cppflags="$CPPFLAGS"
2889 save_cflags="$CFLAGS" 3827 save_cflags="$CFLAGS"
2890 save_ldflags="$LDFLAGS" 3828 save_ldflags="$LDFLAGS"
2891 CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" 3829 CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
2892 cat >conftest.$ac_ext <<_ACEOF 3830 cat >conftest.$ac_ext <<_ACEOF
2903 ; 3841 ;
2904 return 0; 3842 return 0;
2905 } 3843 }
2906 _ACEOF 3844 _ACEOF
2907 rm -f conftest.$ac_objext conftest$ac_exeext 3845 rm -f conftest.$ac_objext conftest$ac_exeext
2908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3846 if { (ac_try="$ac_link"
2909 (eval $ac_link) 2>conftest.er1 3847 case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850 esac
3851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3852 $as_echo "$ac_try_echo") >&5
3853 (eval "$ac_link") 2>conftest.er1
2910 ac_status=$? 3854 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err 3855 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1 3856 rm -f conftest.er1
2913 cat conftest.err >&5 3857 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && 3859 (exit $ac_status); } && {
2916 { ac_try='test -z "$ac_c_werror_flag" 3860 test -z "$ac_c_werror_flag" ||
2917 || test ! -s conftest.err' 3861 test ! -s conftest.err
2918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3862 } && test -s conftest$ac_exeext && {
2919 (eval $ac_try) 2>&5 3863 test "$cross_compiling" = yes ||
2920 ac_status=$? 3864 $as_test_x conftest$ac_exeext
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 }; then
2922 (exit $ac_status); }; } && 3866 { $as_echo "$as_me:$LINENO: result: found" >&5
2923 { ac_try='test -s conftest$ac_exeext' 3867 $as_echo "found" >&6; }
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3868 else
2925 (eval $ac_try) 2>&5 3869 $as_echo "$as_me: failed program was:" >&5
2926 ac_status=$?
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then
2929 echo "$as_me:$LINENO: result: found" >&5
2930 echo "${ECHO_T}found" >&6
2931 else
2932 echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5 3870 sed 's/^/| /' conftest.$ac_ext >&5
2934 3871
2935 echo "$as_me:$LINENO: result: not found" >&5 3872 { $as_echo "$as_me:$LINENO: result: not found" >&5
2936 echo "${ECHO_T}not found" >&6 3873 $as_echo "not found" >&6; }
2937 CFLAGS="$save_cflags" 3874 CFLAGS="$save_cflags"
2938 echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5 3875 { $as_echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
2939 echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6 3876 $as_echo_n "checking if Intel architecture is supported... " >&6; }
2940 CPPFLAGS="$CPPFLAGS -arch i386" 3877 CPPFLAGS="$CPPFLAGS -arch i386"
2941 LDFLAGS="$save_ldflags -arch i386" 3878 LDFLAGS="$save_ldflags -arch i386"
2942 cat >conftest.$ac_ext <<_ACEOF 3879 cat >conftest.$ac_ext <<_ACEOF
2943 /* confdefs.h. */ 3880 /* confdefs.h. */
2944 _ACEOF 3881 _ACEOF
2953 ; 3890 ;
2954 return 0; 3891 return 0;
2955 } 3892 }
2956 _ACEOF 3893 _ACEOF
2957 rm -f conftest.$ac_objext conftest$ac_exeext 3894 rm -f conftest.$ac_objext conftest$ac_exeext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3895 if { (ac_try="$ac_link"
2959 (eval $ac_link) 2>conftest.er1 3896 case "(($ac_try" in
3897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 *) ac_try_echo=$ac_try;;
3899 esac
3900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3901 $as_echo "$ac_try_echo") >&5
3902 (eval "$ac_link") 2>conftest.er1
2960 ac_status=$? 3903 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err 3904 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1 3905 rm -f conftest.er1
2963 cat conftest.err >&5 3906 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } && 3908 (exit $ac_status); } && {
2966 { ac_try='test -z "$ac_c_werror_flag" 3909 test -z "$ac_c_werror_flag" ||
2967 || test ! -s conftest.err' 3910 test ! -s conftest.err
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3911 } && test -s conftest$ac_exeext && {
2969 (eval $ac_try) 2>&5 3912 test "$cross_compiling" = yes ||
2970 ac_status=$? 3913 $as_test_x conftest$ac_exeext
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3914 }; then
2972 (exit $ac_status); }; } && 3915 { $as_echo "$as_me:$LINENO: result: yes" >&5
2973 { ac_try='test -s conftest$ac_exeext' 3916 $as_echo "yes" >&6; }; MACARCH="intel"
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3917 else
2975 (eval $ac_try) 2>&5 3918 $as_echo "$as_me: failed program was:" >&5
2976 ac_status=$?
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6; MACARCH="intel"
2981 else
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.$ac_ext >&5 3919 sed 's/^/| /' conftest.$ac_ext >&5
2984 3920
2985 echo "$as_me:$LINENO: result: no" >&5 3921 { $as_echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6 3922 $as_echo "no" >&6; }
2987 MACARCH="ppc" 3923 MACARCH="ppc"
2988 CPPFLAGS="$save_cppflags -arch ppc" 3924 CPPFLAGS="$save_cppflags -arch ppc"
2989 LDFLAGS="$save_ldflags -arch ppc" 3925 LDFLAGS="$save_ldflags -arch ppc"
2990 fi 3926 fi
2991 rm -f conftest.err conftest.$ac_objext \ 3927
3928 rm -rf conftest.dSYM
3929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2992 conftest$ac_exeext conftest.$ac_ext 3930 conftest$ac_exeext conftest.$ac_ext
2993 fi 3931 fi
2994 rm -f conftest.err conftest.$ac_objext \ 3932
3933 rm -rf conftest.dSYM
3934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2995 conftest$ac_exeext conftest.$ac_ext 3935 conftest$ac_exeext conftest.$ac_ext
2996 elif test "x$MACARCH" = "xintel"; then 3936 elif test "x$MACARCH" = "xintel"; then
2997 CPPFLAGS="$CPPFLAGS -arch intel" 3937 CPPFLAGS="$CPPFLAGS -arch intel"
2998 LDFLAGS="$LDFLAGS -arch intel" 3938 LDFLAGS="$LDFLAGS -arch intel"
2999 elif test "x$MACARCH" = "xppc"; then 3939 elif test "x$MACARCH" = "xppc"; then
3010 CPPFLAGS="$CPPFLAGS -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon" 3950 CPPFLAGS="$CPPFLAGS -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon"
3011 else 3951 else
3012 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon" 3952 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
3013 fi 3953 fi
3014 3954
3015 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3955 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3016 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3956
3017 if test "${ac_cv_header_stdc+set}" = set; then 3957
3018 echo $ECHO_N "(cached) $ECHO_C" >&6 3958
3959
3960
3961
3962
3963
3964
3965 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3966 inttypes.h stdint.h unistd.h
3967 do
3968 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3969 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3970 $as_echo_n "checking for $ac_header... " >&6; }
3971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3972 $as_echo_n "(cached) " >&6
3019 else 3973 else
3020 cat >conftest.$ac_ext <<_ACEOF 3974 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h. */ 3975 /* confdefs.h. */
3022 _ACEOF 3976 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext 3977 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF 3978 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */ 3979 /* end confdefs.h. */
3026 #include <stdlib.h> 3980 $ac_includes_default
3027 #include <stdarg.h> 3981
3028 #include <string.h> 3982 #include <$ac_header>
3029 #include <float.h>
3030
3031 int
3032 main ()
3033 {
3034
3035 ;
3036 return 0;
3037 }
3038 _ACEOF 3983 _ACEOF
3039 rm -f conftest.$ac_objext 3984 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3985 if { (ac_try="$ac_compile"
3041 (eval $ac_compile) 2>conftest.er1 3986 case "(($ac_try" in
3987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3989 esac
3990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3991 $as_echo "$ac_try_echo") >&5
3992 (eval "$ac_compile") 2>conftest.er1
3042 ac_status=$? 3993 ac_status=$?
3043 grep -v '^ *+' conftest.er1 >conftest.err 3994 grep -v '^ *+' conftest.er1 >conftest.err
3044 rm -f conftest.er1 3995 rm -f conftest.er1
3045 cat conftest.err >&5 3996 cat conftest.err >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); } && 3998 (exit $ac_status); } && {
3048 { ac_try='test -z "$ac_c_werror_flag" 3999 test -z "$ac_c_werror_flag" ||
3049 || test ! -s conftest.err' 4000 test ! -s conftest.err
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4001 } && test -s conftest.$ac_objext; then
3051 (eval $ac_try) 2>&5 4002 eval "$as_ac_Header=yes"
3052 ac_status=$? 4003 else
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4004 $as_echo "$as_me: failed program was:" >&5
3054 (exit $ac_status); }; } &&
3055 { ac_try='test -s conftest.$ac_objext'
3056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 (eval $ac_try) 2>&5
3058 ac_status=$?
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; }; then
3061 ac_cv_header_stdc=yes
3062 else
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5 4005 sed 's/^/| /' conftest.$ac_ext >&5
3065 4006
3066 ac_cv_header_stdc=no 4007 eval "$as_ac_Header=no"
3067 fi 4008 fi
3068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4009
3069 4010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070 if test $ac_cv_header_stdc = yes; then 4011 fi
3071 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4012 ac_res=`eval 'as_val=${'$as_ac_Header'}
3072 cat >conftest.$ac_ext <<_ACEOF 4013 $as_echo "$as_val"'`
3073 /* confdefs.h. */ 4014 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3074 _ACEOF 4015 $as_echo "$ac_res" >&6; }
3075 cat confdefs.h >>conftest.$ac_ext 4016 if test `eval 'as_val=${'$as_ac_Header'}
3076 cat >>conftest.$ac_ext <<_ACEOF 4017 $as_echo "$as_val"'` = yes; then
3077 /* end confdefs.h. */
3078 #include <string.h>
3079
3080 _ACEOF
3081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3082 $EGREP "memchr" >/dev/null 2>&1; then
3083 :
3084 else
3085 ac_cv_header_stdc=no
3086 fi
3087 rm -f conftest*
3088
3089 fi
3090
3091 if test $ac_cv_header_stdc = yes; then
3092 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3093 cat >conftest.$ac_ext <<_ACEOF
3094 /* confdefs.h. */
3095 _ACEOF
3096 cat confdefs.h >>conftest.$ac_ext
3097 cat >>conftest.$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3099 #include <stdlib.h>
3100
3101 _ACEOF
3102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3103 $EGREP "free" >/dev/null 2>&1; then
3104 :
3105 else
3106 ac_cv_header_stdc=no
3107 fi
3108 rm -f conftest*
3109
3110 fi
3111
3112 if test $ac_cv_header_stdc = yes; then
3113 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3114 if test "$cross_compiling" = yes; then
3115 :
3116 else
3117 cat >conftest.$ac_ext <<_ACEOF
3118 /* confdefs.h. */
3119 _ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3123 #include <ctype.h>
3124 #if ((' ' & 0x0FF) == 0x020)
3125 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3126 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3127 #else
3128 # define ISLOWER(c) \
3129 (('a' <= (c) && (c) <= 'i') \
3130 || ('j' <= (c) && (c) <= 'r') \
3131 || ('s' <= (c) && (c) <= 'z'))
3132 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3133 #endif
3134
3135 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3136 int
3137 main ()
3138 {
3139 int i;
3140 for (i = 0; i < 256; i++)
3141 if (XOR (islower (i), ISLOWER (i))
3142 || toupper (i) != TOUPPER (i))
3143 exit(2);
3144 exit (0);
3145 }
3146 _ACEOF
3147 rm -f conftest$ac_exeext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3149 (eval $ac_link) 2>&5
3150 ac_status=$?
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 (eval $ac_try) 2>&5
3155 ac_status=$?
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 :
3159 else
3160 echo "$as_me: program exited with status $ac_status" >&5
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3163
3164 ( exit $ac_status )
3165 ac_cv_header_stdc=no
3166 fi
3167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3168 fi
3169 fi
3170 fi
3171 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3172 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3173 if test $ac_cv_header_stdc = yes; then
3174
3175 cat >>confdefs.h <<\_ACEOF
3176 #define STDC_HEADERS 1
3177 _ACEOF
3178
3179 fi
3180
3181 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3192 inttypes.h stdint.h unistd.h
3193 do
3194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3195 echo "$as_me:$LINENO: checking for $ac_header" >&5
3196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 else
3200 cat >conftest.$ac_ext <<_ACEOF
3201 /* confdefs.h. */
3202 _ACEOF
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3206 $ac_includes_default
3207
3208 #include <$ac_header>
3209 _ACEOF
3210 rm -f conftest.$ac_objext
3211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3212 (eval $ac_compile) 2>conftest.er1
3213 ac_status=$?
3214 grep -v '^ *+' conftest.er1 >conftest.err
3215 rm -f conftest.er1
3216 cat conftest.err >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); } &&
3219 { ac_try='test -z "$ac_c_werror_flag"
3220 || test ! -s conftest.err'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 (eval $ac_try) 2>&5
3223 ac_status=$?
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; } &&
3226 { ac_try='test -s conftest.$ac_objext'
3227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3228 (eval $ac_try) 2>&5
3229 ac_status=$?
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3232 eval "$as_ac_Header=yes"
3233 else
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3236
3237 eval "$as_ac_Header=no"
3238 fi
3239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3240 fi
3241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3244 cat >>confdefs.h <<_ACEOF 4018 cat >>confdefs.h <<_ACEOF
3245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3246 _ACEOF 4020 _ACEOF
3247 4021
3248 fi 4022 fi
3249 4023
3250 done 4024 done
3251 4025
3252 4026
3253 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 4027 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3254 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 4028 { $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
3255 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 4029 $as_echo_n "checking for Carbon/Carbon.h... " >&6; }
3256 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 4030 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6 4031 $as_echo_n "(cached) " >&6
3258 fi 4032 fi
3259 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 4033 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
3260 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 4034 $as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; }
3261 else 4035 else
3262 # Is the header compilable? 4036 # Is the header compilable?
3263 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 4037 { $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
3264 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6 4038 $as_echo_n "checking Carbon/Carbon.h usability... " >&6; }
3265 cat >conftest.$ac_ext <<_ACEOF 4039 cat >conftest.$ac_ext <<_ACEOF
3266 /* confdefs.h. */ 4040 /* confdefs.h. */
3267 _ACEOF 4041 _ACEOF
3268 cat confdefs.h >>conftest.$ac_ext 4042 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF 4043 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h. */ 4044 /* end confdefs.h. */
3271 $ac_includes_default 4045 $ac_includes_default
3272 #include <Carbon/Carbon.h> 4046 #include <Carbon/Carbon.h>
3273 _ACEOF 4047 _ACEOF
3274 rm -f conftest.$ac_objext 4048 rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4049 if { (ac_try="$ac_compile"
3276 (eval $ac_compile) 2>conftest.er1 4050 case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4053 esac
4054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4055 $as_echo "$ac_try_echo") >&5
4056 (eval "$ac_compile") 2>conftest.er1
3277 ac_status=$? 4057 ac_status=$?
3278 grep -v '^ *+' conftest.er1 >conftest.err 4058 grep -v '^ *+' conftest.er1 >conftest.err
3279 rm -f conftest.er1 4059 rm -f conftest.er1
3280 cat conftest.err >&5 4060 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } && 4062 (exit $ac_status); } && {
3283 { ac_try='test -z "$ac_c_werror_flag" 4063 test -z "$ac_c_werror_flag" ||
3284 || test ! -s conftest.err' 4064 test ! -s conftest.err
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4065 } && test -s conftest.$ac_objext; then
3286 (eval $ac_try) 2>&5
3287 ac_status=$?
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; } &&
3290 { ac_try='test -s conftest.$ac_objext'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292 (eval $ac_try) 2>&5
3293 ac_status=$?
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3296 ac_header_compiler=yes 4066 ac_header_compiler=yes
3297 else 4067 else
3298 echo "$as_me: failed program was:" >&5 4068 $as_echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5 4069 sed 's/^/| /' conftest.$ac_ext >&5
3300 4070
3301 ac_header_compiler=no 4071 ac_header_compiler=no
3302 fi 4072 fi
3303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4073
3304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 echo "${ECHO_T}$ac_header_compiler" >&6 4075 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4076 $as_echo "$ac_header_compiler" >&6; }
3306 4077
3307 # Is the header present? 4078 # Is the header present?
3308 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 4079 { $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
3309 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6 4080 $as_echo_n "checking Carbon/Carbon.h presence... " >&6; }
3310 cat >conftest.$ac_ext <<_ACEOF 4081 cat >conftest.$ac_ext <<_ACEOF
3311 /* confdefs.h. */ 4082 /* confdefs.h. */
3312 _ACEOF 4083 _ACEOF
3313 cat confdefs.h >>conftest.$ac_ext 4084 cat confdefs.h >>conftest.$ac_ext
3314 cat >>conftest.$ac_ext <<_ACEOF 4085 cat >>conftest.$ac_ext <<_ACEOF
3315 /* end confdefs.h. */ 4086 /* end confdefs.h. */
3316 #include <Carbon/Carbon.h> 4087 #include <Carbon/Carbon.h>
3317 _ACEOF 4088 _ACEOF
3318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4089 if { (ac_try="$ac_cpp conftest.$ac_ext"
3319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4095 $as_echo "$ac_try_echo") >&5
4096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3320 ac_status=$? 4097 ac_status=$?
3321 grep -v '^ *+' conftest.er1 >conftest.err 4098 grep -v '^ *+' conftest.er1 >conftest.err
3322 rm -f conftest.er1 4099 rm -f conftest.er1
3323 cat conftest.err >&5 4100 cat conftest.err >&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } >/dev/null; then 4102 (exit $ac_status); } >/dev/null && {
3326 if test -s conftest.err; then 4103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3327 ac_cpp_err=$ac_c_preproc_warn_flag 4104 test ! -s conftest.err
3328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4105 }; then
3329 else
3330 ac_cpp_err=
3331 fi
3332 else
3333 ac_cpp_err=yes
3334 fi
3335 if test -z "$ac_cpp_err"; then
3336 ac_header_preproc=yes 4106 ac_header_preproc=yes
3337 else 4107 else
3338 echo "$as_me: failed program was:" >&5 4108 $as_echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5 4109 sed 's/^/| /' conftest.$ac_ext >&5
3340 4110
3341 ac_header_preproc=no 4111 ac_header_preproc=no
3342 fi 4112 fi
4113
3343 rm -f conftest.err conftest.$ac_ext 4114 rm -f conftest.err conftest.$ac_ext
3344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4115 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3345 echo "${ECHO_T}$ac_header_preproc" >&6 4116 $as_echo "$ac_header_preproc" >&6; }
3346 4117
3347 # So? What about this header? 4118 # So? What about this header?
3348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3349 yes:no: ) 4120 yes:no: )
3350 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 4121 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
3351 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 4122 $as_echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3352 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5 4123 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
3353 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;} 4124 $as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
3354 ac_header_preproc=yes 4125 ac_header_preproc=yes
3355 ;; 4126 ;;
3356 no:yes:* ) 4127 no:yes:* )
3357 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5 4128 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
3358 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;} 4129 $as_echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
3359 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5 4130 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
3360 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;} 4131 $as_echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
3361 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5 4132 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
3362 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;} 4133 $as_echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
3363 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5 4134 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
3364 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;} 4135 $as_echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
3365 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 4136 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
3366 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} 4137 $as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
3367 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 4138 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
3368 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} 4139 $as_echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
3369 ( 4140
3370 cat <<\_ASBOX
3371 ## ------------------------------------------ ##
3372 ## Report this to the AC_PACKAGE_NAME lists. ##
3373 ## ------------------------------------------ ##
3374 _ASBOX
3375 ) |
3376 sed "s/^/$as_me: WARNING: /" >&2
3377 ;; 4141 ;;
3378 esac 4142 esac
3379 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 4143 { $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
3380 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 4144 $as_echo_n "checking for Carbon/Carbon.h... " >&6; }
3381 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 4145 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6 4146 $as_echo_n "(cached) " >&6
3383 else 4147 else
3384 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc 4148 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc
3385 fi 4149 fi
3386 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 4150 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
3387 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 4151 $as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; }
3388 4152
3389 fi 4153 fi
3390 if test $ac_cv_header_Carbon_Carbon_h = yes; then 4154 if test $ac_cv_header_Carbon_Carbon_h = yes; then
3391 CARBON=yes 4155 CARBON=yes
3392 fi 4156 fi
3402 if test "$MACARCH" = "intel" -o "$MACARCH" = "both"; then 4166 if test "$MACARCH" = "intel" -o "$MACARCH" = "both"; then
3403 CFLAGS=`echo "$CFLAGS" | sed 's/-O[23456789]/-Oz/'` 4167 CFLAGS=`echo "$CFLAGS" | sed 's/-O[23456789]/-Oz/'`
3404 fi 4168 fi
3405 4169
3406 else 4170 else
3407 echo "$as_me:$LINENO: result: no" >&5 4171 { $as_echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6 4172 $as_echo "no" >&6; }
3409 fi 4173 fi
3410 4174
3411 4175
3412 4176
3413 4177
3414 have_local_include='' 4178 if test "$cross_compiling" = no; then
3415 have_local_lib='' 4179 have_local_include=''
3416 if test "$GCC" = yes; then 4180 have_local_lib=''
3417 echo 'void f(){}' > conftest.c 4181 if test "$GCC" = yes; then
3418 have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'` 4182 echo 'void f(){}' > conftest.c
3419 have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'` 4183 have_local_include=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'`
3420 rm -f conftest.c conftest.o 4184 have_local_lib=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'`
3421 fi 4185 rm -f conftest.c conftest.o
3422 if test -z "$have_local_lib" -a -d /usr/local/lib; then
3423 tt=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
3424 if test "$tt" = "$LDFLAGS"; then
3425 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3426 fi 4186 fi
3427 fi 4187 if test -z "$have_local_lib" -a -d /usr/local/lib; then
3428 if test -z "$have_local_include" -a -d /usr/local/include; then 4188 tt=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
3429 tt=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'` 4189 if test "$tt" = "$LDFLAGS"; then
3430 if test "$tt" = "$CPPFLAGS"; then 4190 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3431 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4191 fi
3432 fi 4192 fi
3433 fi 4193 if test -z "$have_local_include" -a -d /usr/local/include; then
3434 4194 tt=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'`
3435 echo "$as_me:$LINENO: checking --with-vim-name argument" >&5 4195 if test "$tt" = "$CPPFLAGS"; then
3436 echo $ECHO_N "checking --with-vim-name argument... $ECHO_C" >&6 4196 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3437 4197 fi
3438 # Check whether --with-vim-name or --without-vim-name was given. 4198 fi
4199 fi
4200
4201 { $as_echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
4202 $as_echo_n "checking --with-vim-name argument... " >&6; }
4203
4204 # Check whether --with-vim-name was given.
3439 if test "${with_vim_name+set}" = set; then 4205 if test "${with_vim_name+set}" = set; then
3440 withval="$with_vim_name" 4206 withval=$with_vim_name; VIMNAME="$withval"; { $as_echo "$as_me:$LINENO: result: $VIMNAME" >&5
3441 VIMNAME="$withval"; echo "$as_me:$LINENO: result: $VIMNAME" >&5 4207 $as_echo "$VIMNAME" >&6; }
3442 echo "${ECHO_T}$VIMNAME" >&6 4208 else
3443 else 4209 VIMNAME="vim"; { $as_echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
3444 VIMNAME="vim"; echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5 4210 $as_echo "Defaulting to $VIMNAME" >&6; }
3445 echo "${ECHO_T}Defaulting to $VIMNAME" >&6 4211 fi
3446 fi; 4212
3447 4213
3448 echo "$as_me:$LINENO: checking --with-ex-name argument" >&5 4214 { $as_echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
3449 echo $ECHO_N "checking --with-ex-name argument... $ECHO_C" >&6 4215 $as_echo_n "checking --with-ex-name argument... " >&6; }
3450 4216
3451 # Check whether --with-ex-name or --without-ex-name was given. 4217 # Check whether --with-ex-name was given.
3452 if test "${with_ex_name+set}" = set; then 4218 if test "${with_ex_name+set}" = set; then
3453 withval="$with_ex_name" 4219 withval=$with_ex_name; EXNAME="$withval"; { $as_echo "$as_me:$LINENO: result: $EXNAME" >&5
3454 EXNAME="$withval"; echo "$as_me:$LINENO: result: $EXNAME" >&5 4220 $as_echo "$EXNAME" >&6; }
3455 echo "${ECHO_T}$EXNAME" >&6 4221 else
3456 else 4222 EXNAME="ex"; { $as_echo "$as_me:$LINENO: result: Defaulting to ex" >&5
3457 EXNAME="ex"; echo "$as_me:$LINENO: result: Defaulting to ex" >&5 4223 $as_echo "Defaulting to ex" >&6; }
3458 echo "${ECHO_T}Defaulting to ex" >&6 4224 fi
3459 fi; 4225
3460 4226
3461 echo "$as_me:$LINENO: checking --with-view-name argument" >&5 4227 { $as_echo "$as_me:$LINENO: checking --with-view-name argument" >&5
3462 echo $ECHO_N "checking --with-view-name argument... $ECHO_C" >&6 4228 $as_echo_n "checking --with-view-name argument... " >&6; }
3463 4229
3464 # Check whether --with-view-name or --without-view-name was given. 4230 # Check whether --with-view-name was given.
3465 if test "${with_view_name+set}" = set; then 4231 if test "${with_view_name+set}" = set; then
3466 withval="$with_view_name" 4232 withval=$with_view_name; VIEWNAME="$withval"; { $as_echo "$as_me:$LINENO: result: $VIEWNAME" >&5
3467 VIEWNAME="$withval"; echo "$as_me:$LINENO: result: $VIEWNAME" >&5 4233 $as_echo "$VIEWNAME" >&6; }
3468 echo "${ECHO_T}$VIEWNAME" >&6 4234 else
3469 else 4235 VIEWNAME="view"; { $as_echo "$as_me:$LINENO: result: Defaulting to view" >&5
3470 VIEWNAME="view"; echo "$as_me:$LINENO: result: Defaulting to view" >&5 4236 $as_echo "Defaulting to view" >&6; }
3471 echo "${ECHO_T}Defaulting to view" >&6 4237 fi
3472 fi; 4238
3473 4239
3474 4240
3475 echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5 4241 { $as_echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
3476 echo $ECHO_N "checking --with-global-runtime argument... $ECHO_C" >&6 4242 $as_echo_n "checking --with-global-runtime argument... " >&6; }
3477 4243
3478 # Check whether --with-global-runtime or --without-global-runtime was given. 4244 # Check whether --with-global-runtime was given.
3479 if test "${with_global_runtime+set}" = set; then 4245 if test "${with_global_runtime+set}" = set; then
3480 withval="$with_global_runtime" 4246 withval=$with_global_runtime; { $as_echo "$as_me:$LINENO: result: $withval" >&5
3481 echo "$as_me:$LINENO: result: $withval" >&5 4247 $as_echo "$withval" >&6; }; cat >>confdefs.h <<_ACEOF
3482 echo "${ECHO_T}$withval" >&6; cat >>confdefs.h <<_ACEOF
3483 #define RUNTIME_GLOBAL "$withval" 4248 #define RUNTIME_GLOBAL "$withval"
3484 _ACEOF 4249 _ACEOF
3485 4250
3486 else 4251 else
3487 echo "$as_me:$LINENO: result: no" >&5 4252 { $as_echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6 4253 $as_echo "no" >&6; }
3489 fi; 4254 fi
3490 4255
3491 echo "$as_me:$LINENO: checking --with-modified-by argument" >&5 4256
3492 echo $ECHO_N "checking --with-modified-by argument... $ECHO_C" >&6 4257 { $as_echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
3493 4258 $as_echo_n "checking --with-modified-by argument... " >&6; }
3494 # Check whether --with-modified-by or --without-modified-by was given. 4259
4260 # Check whether --with-modified-by was given.
3495 if test "${with_modified_by+set}" = set; then 4261 if test "${with_modified_by+set}" = set; then
3496 withval="$with_modified_by" 4262 withval=$with_modified_by; { $as_echo "$as_me:$LINENO: result: $withval" >&5
3497 echo "$as_me:$LINENO: result: $withval" >&5 4263 $as_echo "$withval" >&6; }; cat >>confdefs.h <<_ACEOF
3498 echo "${ECHO_T}$withval" >&6; cat >>confdefs.h <<_ACEOF
3499 #define MODIFIED_BY "$withval" 4264 #define MODIFIED_BY "$withval"
3500 _ACEOF 4265 _ACEOF
3501 4266
3502 else 4267 else
3503 echo "$as_me:$LINENO: result: no" >&5 4268 { $as_echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6 4269 $as_echo "no" >&6; }
3505 fi; 4270 fi
3506 4271
3507 echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5 4272
3508 echo $ECHO_N "checking if character set is EBCDIC... $ECHO_C" >&6 4273 { $as_echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
4274 $as_echo_n "checking if character set is EBCDIC... " >&6; }
3509 cat >conftest.$ac_ext <<_ACEOF 4275 cat >conftest.$ac_ext <<_ACEOF
3510 /* confdefs.h. */ 4276 /* confdefs.h. */
3511 _ACEOF 4277 _ACEOF
3512 cat confdefs.h >>conftest.$ac_ext 4278 cat confdefs.h >>conftest.$ac_ext
3513 cat >>conftest.$ac_ext <<_ACEOF 4279 cat >>conftest.$ac_ext <<_ACEOF
3526 ; 4292 ;
3527 return 0; 4293 return 0;
3528 } 4294 }
3529 _ACEOF 4295 _ACEOF
3530 rm -f conftest.$ac_objext 4296 rm -f conftest.$ac_objext
3531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4297 if { (ac_try="$ac_compile"
3532 (eval $ac_compile) 2>conftest.er1 4298 case "(($ac_try" in
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4301 esac
4302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4303 $as_echo "$ac_try_echo") >&5
4304 (eval "$ac_compile") 2>conftest.er1
3533 ac_status=$? 4305 ac_status=$?
3534 grep -v '^ *+' conftest.er1 >conftest.err 4306 grep -v '^ *+' conftest.er1 >conftest.err
3535 rm -f conftest.er1 4307 rm -f conftest.er1
3536 cat conftest.err >&5 4308 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } && 4310 (exit $ac_status); } && {
3539 { ac_try='test -z "$ac_c_werror_flag" 4311 test -z "$ac_c_werror_flag" ||
3540 || test ! -s conftest.err' 4312 test ! -s conftest.err
3541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4313 } && test -s conftest.$ac_objext; then
3542 (eval $ac_try) 2>&5
3543 ac_status=$?
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); }; } &&
3546 { ac_try='test -s conftest.$ac_objext'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 (eval $ac_try) 2>&5
3549 ac_status=$?
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; }; then
3552 # TryCompile action if true 4314 # TryCompile action if true
3553 cf_cv_ebcdic=yes 4315 cf_cv_ebcdic=yes
3554 else 4316 else
3555 echo "$as_me: failed program was:" >&5 4317 $as_echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.$ac_ext >&5 4318 sed 's/^/| /' conftest.$ac_ext >&5
3557 4319
3558 # TryCompile action if false 4320 # TryCompile action if false
3559 cf_cv_ebcdic=no 4321 cf_cv_ebcdic=no
3560 fi 4322 fi
3561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4323
4324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 # end of TryCompile ]) 4325 # end of TryCompile ])
3563 # end of CacheVal CvEbcdic 4326 # end of CacheVal CvEbcdic
3564 echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5 4327 { $as_echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
3565 echo "${ECHO_T}$cf_cv_ebcdic" >&6 4328 $as_echo "$cf_cv_ebcdic" >&6; }
3566 case "$cf_cv_ebcdic" in #(vi 4329 case "$cf_cv_ebcdic" in #(vi
3567 yes) cat >>confdefs.h <<\_ACEOF 4330 yes) cat >>confdefs.h <<\_ACEOF
3568 #define EBCDIC 1 4331 #define EBCDIC 1
3569 _ACEOF 4332 _ACEOF
3570 4333
3573 *) line_break='"\\012"';; 4336 *) line_break='"\\012"';;
3574 esac 4337 esac
3575 4338
3576 4339
3577 if test "$cf_cv_ebcdic" = "yes"; then 4340 if test "$cf_cv_ebcdic" = "yes"; then
3578 echo "$as_me:$LINENO: checking for OS/390 Unix" >&5 4341 { $as_echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
3579 echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6 4342 $as_echo_n "checking for OS/390 Unix... " >&6; }
3580 case `uname` in 4343 case `uname` in
3581 OS/390) OS390Unix="yes"; 4344 OS/390) OS390Unix="yes";
3582 if test "$CC" = "cc"; then 4345 if test "$CC" = "cc"; then
3583 ccm="$_CC_CCMODE" 4346 ccm="$_CC_CCMODE"
3584 ccn="CC" 4347 ccn="CC"
3600 echo " and then call configure again." 4363 echo " and then call configure again."
3601 echo "------------------------------------------" 4364 echo "------------------------------------------"
3602 exit 1 4365 exit 1
3603 fi 4366 fi
3604 CFLAGS="$CFLAGS -D_ALL_SOURCE"; LDFLAGS="$LDFLAGS -Wl,EDIT=NO" 4367 CFLAGS="$CFLAGS -D_ALL_SOURCE"; LDFLAGS="$LDFLAGS -Wl,EDIT=NO"
3605 echo "$as_me:$LINENO: result: yes" >&5 4368 { $as_echo "$as_me:$LINENO: result: yes" >&5
3606 echo "${ECHO_T}yes" >&6 4369 $as_echo "yes" >&6; }
3607 ;; 4370 ;;
3608 *) OS390Unix="no"; 4371 *) OS390Unix="no";
3609 echo "$as_me:$LINENO: result: no" >&5 4372 { $as_echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6 4373 $as_echo "no" >&6; }
3611 ;; 4374 ;;
3612 esac 4375 esac
3613 fi 4376 fi
3614 4377
3615 echo "$as_me:$LINENO: checking --disable-selinux argument" >&5 4378 { $as_echo "$as_me:$LINENO: checking --disable-selinux argument" >&5
3616 echo $ECHO_N "checking --disable-selinux argument... $ECHO_C" >&6 4379 $as_echo_n "checking --disable-selinux argument... " >&6; }
3617 # Check whether --enable-selinux or --disable-selinux was given. 4380 # Check whether --enable-selinux was given.
3618 if test "${enable_selinux+set}" = set; then 4381 if test "${enable_selinux+set}" = set; then
3619 enableval="$enable_selinux" 4382 enableval=$enable_selinux;
3620
3621 else 4383 else
3622 enable_selinux="yes" 4384 enable_selinux="yes"
3623 fi; 4385 fi
4386
3624 if test "$enable_selinux" = "yes"; then 4387 if test "$enable_selinux" = "yes"; then
3625 echo "$as_me:$LINENO: result: no" >&5 4388 { $as_echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6 4389 $as_echo "no" >&6; }
3627 echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5 4390 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
3628 echo $ECHO_N "checking for is_selinux_enabled in -lselinux... $ECHO_C" >&6 4391 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
3629 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then 4392 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6 4393 $as_echo_n "(cached) " >&6
3631 else 4394 else
3632 ac_check_lib_save_LIBS=$LIBS 4395 ac_check_lib_save_LIBS=$LIBS
3633 LIBS="-lselinux $LIBS" 4396 LIBS="-lselinux $LIBS"
3634 cat >conftest.$ac_ext <<_ACEOF 4397 cat >conftest.$ac_ext <<_ACEOF
3635 /* confdefs.h. */ 4398 /* confdefs.h. */
3636 _ACEOF 4399 _ACEOF
3637 cat confdefs.h >>conftest.$ac_ext 4400 cat confdefs.h >>conftest.$ac_ext
3638 cat >>conftest.$ac_ext <<_ACEOF 4401 cat >>conftest.$ac_ext <<_ACEOF
3639 /* end confdefs.h. */ 4402 /* end confdefs.h. */
3640 4403
3641 /* Override any gcc2 internal prototype to avoid an error. */ 4404 /* Override any GCC internal prototype to avoid an error.
4405 Use char because int might match the return type of a GCC
4406 builtin and then its argument prototype would still apply. */
3642 #ifdef __cplusplus 4407 #ifdef __cplusplus
3643 extern "C" 4408 extern "C"
3644 #endif 4409 #endif
3645 /* We use char because int might match the return type of a gcc2
3646 builtin and then its argument prototype would still apply. */
3647 char is_selinux_enabled (); 4410 char is_selinux_enabled ();
3648 int 4411 int
3649 main () 4412 main ()
3650 { 4413 {
3651 is_selinux_enabled (); 4414 return is_selinux_enabled ();
3652 ; 4415 ;
3653 return 0; 4416 return 0;
3654 } 4417 }
3655 _ACEOF 4418 _ACEOF
3656 rm -f conftest.$ac_objext conftest$ac_exeext 4419 rm -f conftest.$ac_objext conftest$ac_exeext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4420 if { (ac_try="$ac_link"
3658 (eval $ac_link) 2>conftest.er1 4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4426 $as_echo "$ac_try_echo") >&5
4427 (eval "$ac_link") 2>conftest.er1
3659 ac_status=$? 4428 ac_status=$?
3660 grep -v '^ *+' conftest.er1 >conftest.err 4429 grep -v '^ *+' conftest.er1 >conftest.err
3661 rm -f conftest.er1 4430 rm -f conftest.er1
3662 cat conftest.err >&5 4431 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4432 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } && 4433 (exit $ac_status); } && {
3665 { ac_try='test -z "$ac_c_werror_flag" 4434 test -z "$ac_c_werror_flag" ||
3666 || test ! -s conftest.err' 4435 test ! -s conftest.err
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4436 } && test -s conftest$ac_exeext && {
3668 (eval $ac_try) 2>&5 4437 test "$cross_compiling" = yes ||
3669 ac_status=$? 4438 $as_test_x conftest$ac_exeext
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4439 }; then
3671 (exit $ac_status); }; } &&
3672 { ac_try='test -s conftest$ac_exeext'
3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 (eval $ac_try) 2>&5
3675 ac_status=$?
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3678 ac_cv_lib_selinux_is_selinux_enabled=yes 4440 ac_cv_lib_selinux_is_selinux_enabled=yes
3679 else 4441 else
3680 echo "$as_me: failed program was:" >&5 4442 $as_echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.$ac_ext >&5 4443 sed 's/^/| /' conftest.$ac_ext >&5
3682 4444
3683 ac_cv_lib_selinux_is_selinux_enabled=no 4445 ac_cv_lib_selinux_is_selinux_enabled=no
3684 fi 4446 fi
3685 rm -f conftest.err conftest.$ac_objext \ 4447
4448 rm -rf conftest.dSYM
4449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3686 conftest$ac_exeext conftest.$ac_ext 4450 conftest$ac_exeext conftest.$ac_ext
3687 LIBS=$ac_check_lib_save_LIBS 4451 LIBS=$ac_check_lib_save_LIBS
3688 fi 4452 fi
3689 echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5 4453 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
3690 echo "${ECHO_T}$ac_cv_lib_selinux_is_selinux_enabled" >&6 4454 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
3691 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then 4455 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
3692 LIBS="$LIBS -lselinux" 4456 LIBS="$LIBS -lselinux"
3693 cat >>confdefs.h <<\_ACEOF 4457 cat >>confdefs.h <<\_ACEOF
3694 #define HAVE_SELINUX 1 4458 #define HAVE_SELINUX 1
3695 _ACEOF 4459 _ACEOF
3696 4460
3697 fi 4461 fi
3698 4462
3699 else 4463 else
3700 echo "$as_me:$LINENO: result: yes" >&5 4464 { $as_echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6 4465 $as_echo "yes" >&6; }
3702 fi 4466 fi
3703 4467
3704 4468
3705 echo "$as_me:$LINENO: checking --with-features argument" >&5 4469 { $as_echo "$as_me:$LINENO: checking --with-features argument" >&5
3706 echo $ECHO_N "checking --with-features argument... $ECHO_C" >&6 4470 $as_echo_n "checking --with-features argument... " >&6; }
3707 4471
3708 # Check whether --with-features or --without-features was given. 4472 # Check whether --with-features was given.
3709 if test "${with_features+set}" = set; then 4473 if test "${with_features+set}" = set; then
3710 withval="$with_features" 4474 withval=$with_features; features="$withval"; { $as_echo "$as_me:$LINENO: result: $features" >&5
3711 features="$withval"; echo "$as_me:$LINENO: result: $features" >&5 4475 $as_echo "$features" >&6; }
3712 echo "${ECHO_T}$features" >&6 4476 else
3713 else 4477 features="normal"; { $as_echo "$as_me:$LINENO: result: Defaulting to normal" >&5
3714 features="normal"; echo "$as_me:$LINENO: result: Defaulting to normal" >&5 4478 $as_echo "Defaulting to normal" >&6; }
3715 echo "${ECHO_T}Defaulting to normal" >&6 4479 fi
3716 fi; 4480
3717 4481
3718 dovimdiff="" 4482 dovimdiff=""
3719 dogvimdiff="" 4483 dogvimdiff=""
3720 case "$features" in 4484 case "$features" in
3721 tiny) cat >>confdefs.h <<\_ACEOF 4485 tiny) cat >>confdefs.h <<\_ACEOF
3739 huge) cat >>confdefs.h <<\_ACEOF 4503 huge) cat >>confdefs.h <<\_ACEOF
3740 #define FEAT_HUGE 1 4504 #define FEAT_HUGE 1
3741 _ACEOF 4505 _ACEOF
3742 dovimdiff="installvimdiff"; 4506 dovimdiff="installvimdiff";
3743 dogvimdiff="installgvimdiff" ;; 4507 dogvimdiff="installgvimdiff" ;;
3744 *) echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5 4508 *) { $as_echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
3745 echo "${ECHO_T}Sorry, $features is not supported" >&6 ;; 4509 $as_echo "Sorry, $features is not supported" >&6; } ;;
3746 esac 4510 esac
3747 4511
3748 4512
3749 4513
3750 4514
3751 echo "$as_me:$LINENO: checking --with-compiledby argument" >&5 4515 { $as_echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
3752 echo $ECHO_N "checking --with-compiledby argument... $ECHO_C" >&6 4516 $as_echo_n "checking --with-compiledby argument... " >&6; }
3753 4517
3754 # Check whether --with-compiledby or --without-compiledby was given. 4518 # Check whether --with-compiledby was given.
3755 if test "${with_compiledby+set}" = set; then 4519 if test "${with_compiledby+set}" = set; then
3756 withval="$with_compiledby" 4520 withval=$with_compiledby; compiledby="$withval"; { $as_echo "$as_me:$LINENO: result: $withval" >&5
3757 compiledby="$withval"; echo "$as_me:$LINENO: result: $withval" >&5 4521 $as_echo "$withval" >&6; }
3758 echo "${ECHO_T}$withval" >&6 4522 else
3759 else 4523 compiledby=""; { $as_echo "$as_me:$LINENO: result: no" >&5
3760 compiledby=""; echo "$as_me:$LINENO: result: no" >&5 4524 $as_echo "no" >&6; }
3761 echo "${ECHO_T}no" >&6 4525 fi
3762 fi; 4526
3763 4527
3764 4528
3765 echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5 4529 { $as_echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
3766 echo $ECHO_N "checking --disable-xsmp argument... $ECHO_C" >&6 4530 $as_echo_n "checking --disable-xsmp argument... " >&6; }
3767 # Check whether --enable-xsmp or --disable-xsmp was given. 4531 # Check whether --enable-xsmp was given.
3768 if test "${enable_xsmp+set}" = set; then 4532 if test "${enable_xsmp+set}" = set; then
3769 enableval="$enable_xsmp" 4533 enableval=$enable_xsmp;
3770
3771 else 4534 else
3772 enable_xsmp="yes" 4535 enable_xsmp="yes"
3773 fi; 4536 fi
4537
3774 4538
3775 if test "$enable_xsmp" = "yes"; then 4539 if test "$enable_xsmp" = "yes"; then
3776 echo "$as_me:$LINENO: result: no" >&5 4540 { $as_echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6 4541 $as_echo "no" >&6; }
3778 echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5 4542 { $as_echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
3779 echo $ECHO_N "checking --disable-xsmp-interact argument... $ECHO_C" >&6 4543 $as_echo_n "checking --disable-xsmp-interact argument... " >&6; }
3780 # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given. 4544 # Check whether --enable-xsmp-interact was given.
3781 if test "${enable_xsmp_interact+set}" = set; then 4545 if test "${enable_xsmp_interact+set}" = set; then
3782 enableval="$enable_xsmp_interact" 4546 enableval=$enable_xsmp_interact;
3783
3784 else 4547 else
3785 enable_xsmp_interact="yes" 4548 enable_xsmp_interact="yes"
3786 fi; 4549 fi
4550
3787 if test "$enable_xsmp_interact" = "yes"; then 4551 if test "$enable_xsmp_interact" = "yes"; then
3788 echo "$as_me:$LINENO: result: no" >&5 4552 { $as_echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6 4553 $as_echo "no" >&6; }
3790 cat >>confdefs.h <<\_ACEOF 4554 cat >>confdefs.h <<\_ACEOF
3791 #define USE_XSMP_INTERACT 1 4555 #define USE_XSMP_INTERACT 1
3792 _ACEOF 4556 _ACEOF
3793 4557
3794 else 4558 else
3795 echo "$as_me:$LINENO: result: yes" >&5 4559 { $as_echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6 4560 $as_echo "yes" >&6; }
3797 fi 4561 fi
3798 else 4562 else
3799 echo "$as_me:$LINENO: result: yes" >&5 4563 { $as_echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6 4564 $as_echo "yes" >&6; }
3801 fi 4565 fi
3802 4566
3803 echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5 4567 { $as_echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
3804 echo $ECHO_N "checking --enable-mzschemeinterp argument... $ECHO_C" >&6 4568 $as_echo_n "checking --enable-mzschemeinterp argument... " >&6; }
3805 # Check whether --enable-mzschemeinterp or --disable-mzschemeinterp was given. 4569 # Check whether --enable-mzschemeinterp was given.
3806 if test "${enable_mzschemeinterp+set}" = set; then 4570 if test "${enable_mzschemeinterp+set}" = set; then
3807 enableval="$enable_mzschemeinterp" 4571 enableval=$enable_mzschemeinterp;
3808
3809 else 4572 else
3810 enable_mzschemeinterp="no" 4573 enable_mzschemeinterp="no"
3811 fi; 4574 fi
3812 echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5 4575
3813 echo "${ECHO_T}$enable_mzschemeinterp" >&6 4576 { $as_echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
4577 $as_echo "$enable_mzschemeinterp" >&6; }
3814 4578
3815 if test "$enable_mzschemeinterp" = "yes"; then 4579 if test "$enable_mzschemeinterp" = "yes"; then
3816 4580
3817 4581
3818 echo "$as_me:$LINENO: checking --with-plthome argument" >&5 4582 { $as_echo "$as_me:$LINENO: checking --with-plthome argument" >&5
3819 echo $ECHO_N "checking --with-plthome argument... $ECHO_C" >&6 4583 $as_echo_n "checking --with-plthome argument... " >&6; }
3820 4584
3821 # Check whether --with-plthome or --without-plthome was given. 4585 # Check whether --with-plthome was given.
3822 if test "${with_plthome+set}" = set; then 4586 if test "${with_plthome+set}" = set; then
3823 withval="$with_plthome" 4587 withval=$with_plthome; with_plthome="$withval"; { $as_echo "$as_me:$LINENO: result: $with_plthome" >&5
3824 with_plthome="$withval"; echo "$as_me:$LINENO: result: $with_plthome" >&5 4588 $as_echo "$with_plthome" >&6; }
3825 echo "${ECHO_T}$with_plthome" >&6 4589 else
3826 else 4590 with_plthome="";{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
3827 with_plthome="";echo "$as_me:$LINENO: result: \"no\"" >&5 4591 $as_echo "\"no\"" >&6; }
3828 echo "${ECHO_T}\"no\"" >&6 4592 fi
3829 fi; 4593
3830 4594
3831 if test "X$with_plthome" != "X"; then 4595 if test "X$with_plthome" != "X"; then
3832 vi_cv_path_mzscheme_pfx="$with_plthome" 4596 vi_cv_path_mzscheme_pfx="$with_plthome"
3833 else 4597 else
3834 echo "$as_me:$LINENO: checking PLTHOME environment var" >&5 4598 { $as_echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
3835 echo $ECHO_N "checking PLTHOME environment var... $ECHO_C" >&6 4599 $as_echo_n "checking PLTHOME environment var... " >&6; }
3836 if test "X$PLTHOME" != "X"; then 4600 if test "X$PLTHOME" != "X"; then
3837 echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5 4601 { $as_echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
3838 echo "${ECHO_T}\"$PLTHOME\"" >&6 4602 $as_echo "\"$PLTHOME\"" >&6; }
3839 vi_cv_path_mzscheme_pfx="$PLTHOME" 4603 vi_cv_path_mzscheme_pfx="$PLTHOME"
3840 else 4604 else
3841 echo "$as_me:$LINENO: result: \"not set\"" >&5 4605 { $as_echo "$as_me:$LINENO: result: \"not set\"" >&5
3842 echo "${ECHO_T}\"not set\"" >&6 4606 $as_echo "\"not set\"" >&6; }
3843 # Extract the first word of "mzscheme", so it can be a program name with args. 4607 # Extract the first word of "mzscheme", so it can be a program name with args.
3844 set dummy mzscheme; ac_word=$2 4608 set dummy mzscheme; ac_word=$2
3845 echo "$as_me:$LINENO: checking for $ac_word" >&5 4609 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4610 $as_echo_n "checking for $ac_word... " >&6; }
3847 if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then 4611 if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6 4612 $as_echo_n "(cached) " >&6
3849 else 4613 else
3850 case $vi_cv_path_mzscheme in 4614 case $vi_cv_path_mzscheme in
3851 [\\/]* | ?:[\\/]*) 4615 [\\/]* | ?:[\\/]*)
3852 ac_cv_path_vi_cv_path_mzscheme="$vi_cv_path_mzscheme" # Let the user override the test with a path. 4616 ac_cv_path_vi_cv_path_mzscheme="$vi_cv_path_mzscheme" # Let the user override the test with a path.
3853 ;; 4617 ;;
3856 for as_dir in $PATH 4620 for as_dir in $PATH
3857 do 4621 do
3858 IFS=$as_save_IFS 4622 IFS=$as_save_IFS
3859 test -z "$as_dir" && as_dir=. 4623 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do 4624 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3862 ac_cv_path_vi_cv_path_mzscheme="$as_dir/$ac_word$ac_exec_ext" 4626 ac_cv_path_vi_cv_path_mzscheme="$as_dir/$ac_word$ac_exec_ext"
3863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4627 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 break 2 4628 break 2
3865 fi 4629 fi
3866 done 4630 done
3867 done 4631 done
4632 IFS=$as_save_IFS
3868 4633
3869 ;; 4634 ;;
3870 esac 4635 esac
3871 fi 4636 fi
3872 vi_cv_path_mzscheme=$ac_cv_path_vi_cv_path_mzscheme 4637 vi_cv_path_mzscheme=$ac_cv_path_vi_cv_path_mzscheme
3873
3874 if test -n "$vi_cv_path_mzscheme"; then 4638 if test -n "$vi_cv_path_mzscheme"; then
3875 echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5 4639 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
3876 echo "${ECHO_T}$vi_cv_path_mzscheme" >&6 4640 $as_echo "$vi_cv_path_mzscheme" >&6; }
3877 else 4641 else
3878 echo "$as_me:$LINENO: result: no" >&5 4642 { $as_echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6 4643 $as_echo "no" >&6; }
3880 fi 4644 fi
4645
3881 4646
3882 4647
3883 if test "X$vi_cv_path_mzscheme" != "X"; then 4648 if test "X$vi_cv_path_mzscheme" != "X"; then
3884 lsout=`ls -l $vi_cv_path_mzscheme` 4649 lsout=`ls -l $vi_cv_path_mzscheme`
3885 if echo "$lsout" | grep -e '->' >/dev/null 2>/dev/null; then 4650 if echo "$lsout" | grep -e '->' >/dev/null 2>/dev/null; then
3886 vi_cv_path_mzscheme=`echo "$lsout" | sed 's/.*-> \(.*\)/\1/'` 4651 vi_cv_path_mzscheme=`echo "$lsout" | sed 's/.*-> \(.*\)/\1/'`
3887 fi 4652 fi
3888 fi 4653 fi
3889 4654
3890 if test "X$vi_cv_path_mzscheme" != "X"; then 4655 if test "X$vi_cv_path_mzscheme" != "X"; then
3891 echo "$as_me:$LINENO: checking MzScheme install prefix" >&5 4656 { $as_echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
3892 echo $ECHO_N "checking MzScheme install prefix... $ECHO_C" >&6 4657 $as_echo_n "checking MzScheme install prefix... " >&6; }
3893 if test "${vi_cv_path_mzscheme_pfx+set}" = set; then 4658 if test "${vi_cv_path_mzscheme_pfx+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6 4659 $as_echo_n "(cached) " >&6
3895 else 4660 else
3896 vi_cv_path_mzscheme_pfx=` 4661 vi_cv_path_mzscheme_pfx=`
3897 ${vi_cv_path_mzscheme} -evm \ 4662 ${vi_cv_path_mzscheme} -evm \
3898 "(display (simplify-path \ 4663 "(display (simplify-path \
3899 (build-path (call-with-values \ 4664 (build-path (call-with-values \
3900 (lambda () (split-path (find-system-path (quote exec-file)))) \ 4665 (lambda () (split-path (find-system-path (quote exec-file)))) \
3901 (lambda (base name must-be-dir?) base)) (quote up))))"` 4666 (lambda (base name must-be-dir?) base)) (quote up))))"`
3902 fi 4667 fi
3903 echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5 4668 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
3904 echo "${ECHO_T}$vi_cv_path_mzscheme_pfx" >&6 4669 $as_echo "$vi_cv_path_mzscheme_pfx" >&6; }
3905 vi_cv_path_mzscheme_pfx=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'` 4670 vi_cv_path_mzscheme_pfx=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'`
3906 fi 4671 fi
3907 fi 4672 fi
3908 fi 4673 fi
3909 4674
3910 SCHEME_INC= 4675 SCHEME_INC=
3911 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then 4676 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
3912 echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5 4677 { $as_echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
3913 echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... $ECHO_C" >&6 4678 $as_echo_n "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... " >&6; }
3914 if test -f $vi_cv_path_mzscheme_pfx/include/scheme.h; then 4679 if test -f $vi_cv_path_mzscheme_pfx/include/scheme.h; then
3915 echo "$as_me:$LINENO: result: \"yes\"" >&5 4680 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
3916 echo "${ECHO_T}\"yes\"" >&6 4681 $as_echo "\"yes\"" >&6; }
3917 else 4682 else
3918 echo "$as_me:$LINENO: result: \"no\"" >&5 4683 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5
3919 echo "${ECHO_T}\"no\"" >&6 4684 $as_echo "\"no\"" >&6; }
3920 echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5 4685 { $as_echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
3921 echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... $ECHO_C" >&6 4686 $as_echo_n "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... " >&6; }
3922 if test -f $vi_cv_path_mzscheme_pfx/include/plt/scheme.h; then 4687 if test -f $vi_cv_path_mzscheme_pfx/include/plt/scheme.h; then
3923 echo "$as_me:$LINENO: result: \"yes\"" >&5 4688 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
3924 echo "${ECHO_T}\"yes\"" >&6 4689 $as_echo "\"yes\"" >&6; }
3925 SCHEME_INC=/plt 4690 SCHEME_INC=/plt
3926 else 4691 else
3927 echo "$as_me:$LINENO: result: \"no\"" >&5 4692 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5
3928 echo "${ECHO_T}\"no\"" >&6 4693 $as_echo "\"no\"" >&6; }
3929 vi_cv_path_mzscheme_pfx= 4694 vi_cv_path_mzscheme_pfx=
3930 fi 4695 fi
3931 fi 4696 fi
3932 fi 4697 fi
3933 4698
3964 4729
3965 4730
3966 fi 4731 fi
3967 4732
3968 4733
3969 echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5 4734 { $as_echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
3970 echo $ECHO_N "checking --enable-perlinterp argument... $ECHO_C" >&6 4735 $as_echo_n "checking --enable-perlinterp argument... " >&6; }
3971 # Check whether --enable-perlinterp or --disable-perlinterp was given. 4736 # Check whether --enable-perlinterp was given.
3972 if test "${enable_perlinterp+set}" = set; then 4737 if test "${enable_perlinterp+set}" = set; then
3973 enableval="$enable_perlinterp" 4738 enableval=$enable_perlinterp;
3974
3975 else 4739 else
3976 enable_perlinterp="no" 4740 enable_perlinterp="no"
3977 fi; 4741 fi
3978 echo "$as_me:$LINENO: result: $enable_perlinterp" >&5 4742
3979 echo "${ECHO_T}$enable_perlinterp" >&6 4743 { $as_echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
4744 $as_echo "$enable_perlinterp" >&6; }
3980 if test "$enable_perlinterp" = "yes"; then 4745 if test "$enable_perlinterp" = "yes"; then
3981 4746
3982 # Extract the first word of "perl", so it can be a program name with args. 4747 # Extract the first word of "perl", so it can be a program name with args.
3983 set dummy perl; ac_word=$2 4748 set dummy perl; ac_word=$2
3984 echo "$as_me:$LINENO: checking for $ac_word" >&5 4749 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4750 $as_echo_n "checking for $ac_word... " >&6; }
3986 if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then 4751 if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6 4752 $as_echo_n "(cached) " >&6
3988 else 4753 else
3989 case $vi_cv_path_perl in 4754 case $vi_cv_path_perl in
3990 [\\/]* | ?:[\\/]*) 4755 [\\/]* | ?:[\\/]*)
3991 ac_cv_path_vi_cv_path_perl="$vi_cv_path_perl" # Let the user override the test with a path. 4756 ac_cv_path_vi_cv_path_perl="$vi_cv_path_perl" # Let the user override the test with a path.
3992 ;; 4757 ;;
3995 for as_dir in $PATH 4760 for as_dir in $PATH
3996 do 4761 do
3997 IFS=$as_save_IFS 4762 IFS=$as_save_IFS
3998 test -z "$as_dir" && as_dir=. 4763 test -z "$as_dir" && as_dir=.
3999 for ac_exec_ext in '' $ac_executable_extensions; do 4764 for ac_exec_ext in '' $ac_executable_extensions; do
4000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4001 ac_cv_path_vi_cv_path_perl="$as_dir/$ac_word$ac_exec_ext" 4766 ac_cv_path_vi_cv_path_perl="$as_dir/$ac_word$ac_exec_ext"
4002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4767 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 break 2 4768 break 2
4004 fi 4769 fi
4005 done 4770 done
4006 done 4771 done
4772 IFS=$as_save_IFS
4007 4773
4008 ;; 4774 ;;
4009 esac 4775 esac
4010 fi 4776 fi
4011 vi_cv_path_perl=$ac_cv_path_vi_cv_path_perl 4777 vi_cv_path_perl=$ac_cv_path_vi_cv_path_perl
4012
4013 if test -n "$vi_cv_path_perl"; then 4778 if test -n "$vi_cv_path_perl"; then
4014 echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5 4779 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
4015 echo "${ECHO_T}$vi_cv_path_perl" >&6 4780 $as_echo "$vi_cv_path_perl" >&6; }
4016 else 4781 else
4017 echo "$as_me:$LINENO: result: no" >&5 4782 { $as_echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6 4783 $as_echo "no" >&6; }
4019 fi 4784 fi
4785
4020 4786
4021 if test "X$vi_cv_path_perl" != "X"; then 4787 if test "X$vi_cv_path_perl" != "X"; then
4022 echo "$as_me:$LINENO: checking Perl version" >&5 4788 { $as_echo "$as_me:$LINENO: checking Perl version" >&5
4023 echo $ECHO_N "checking Perl version... $ECHO_C" >&6 4789 $as_echo_n "checking Perl version... " >&6; }
4024 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then 4790 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then
4025 eval `$vi_cv_path_perl -V:usethreads` 4791 eval `$vi_cv_path_perl -V:usethreads`
4026 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then 4792 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
4027 badthreads=no 4793 badthreads=no
4028 else 4794 else
4030 eval `$vi_cv_path_perl -V:use5005threads` 4796 eval `$vi_cv_path_perl -V:use5005threads`
4031 if test "X$use5005threads" = "XUNKNOWN" -o "X$use5005threads" = "Xundef"; then 4797 if test "X$use5005threads" = "XUNKNOWN" -o "X$use5005threads" = "Xundef"; then
4032 badthreads=no 4798 badthreads=no
4033 else 4799 else
4034 badthreads=yes 4800 badthreads=yes
4035 echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5 4801 { $as_echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
4036 echo "${ECHO_T}>>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6 4802 $as_echo ">>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6; }
4037 fi 4803 fi
4038 else 4804 else
4039 badthreads=yes 4805 badthreads=yes
4040 echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5 4806 { $as_echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
4041 echo "${ECHO_T}>>> Perl 5.5 with threads cannot be used <<<" >&6 4807 $as_echo ">>> Perl 5.5 with threads cannot be used <<<" >&6; }
4042 fi 4808 fi
4043 fi 4809 fi
4044 if test $badthreads = no; then 4810 if test $badthreads = no; then
4045 echo "$as_me:$LINENO: result: OK" >&5 4811 { $as_echo "$as_me:$LINENO: result: OK" >&5
4046 echo "${ECHO_T}OK" >&6 4812 $as_echo "OK" >&6; }
4047 eval `$vi_cv_path_perl -V:shrpenv` 4813 eval `$vi_cv_path_perl -V:shrpenv`
4048 if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04 4814 if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
4049 shrpenv="" 4815 shrpenv=""
4050 fi 4816 fi
4051 vi_cv_perllib=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'` 4817 vi_cv_perllib=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'`
4056 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \ 4822 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
4057 -e 's/-bE:perl.exp//' -e 's/-lc //'` 4823 -e 's/-bE:perl.exp//' -e 's/-lc //'`
4058 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ 4824 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
4059 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` 4825 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
4060 4826
4061 echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5 4827 { $as_echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
4062 echo $ECHO_N "checking if compile and link flags for Perl are sane... $ECHO_C" >&6 4828 $as_echo_n "checking if compile and link flags for Perl are sane... " >&6; }
4063 cflags_save=$CFLAGS 4829 cflags_save=$CFLAGS
4064 libs_save=$LIBS 4830 libs_save=$LIBS
4065 ldflags_save=$LDFLAGS 4831 ldflags_save=$LDFLAGS
4066 CFLAGS="$CFLAGS $perlcppflags" 4832 CFLAGS="$CFLAGS $perlcppflags"
4067 LIBS="$LIBS $perllibs" 4833 LIBS="$LIBS $perllibs"
4080 ; 4846 ;
4081 return 0; 4847 return 0;
4082 } 4848 }
4083 _ACEOF 4849 _ACEOF
4084 rm -f conftest.$ac_objext conftest$ac_exeext 4850 rm -f conftest.$ac_objext conftest$ac_exeext
4085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4851 if { (ac_try="$ac_link"
4086 (eval $ac_link) 2>conftest.er1 4852 case "(($ac_try" in
4853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4854 *) ac_try_echo=$ac_try;;
4855 esac
4856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4857 $as_echo "$ac_try_echo") >&5
4858 (eval "$ac_link") 2>conftest.er1
4087 ac_status=$? 4859 ac_status=$?
4088 grep -v '^ *+' conftest.er1 >conftest.err 4860 grep -v '^ *+' conftest.er1 >conftest.err
4089 rm -f conftest.er1 4861 rm -f conftest.er1
4090 cat conftest.err >&5 4862 cat conftest.err >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); } && 4864 (exit $ac_status); } && {
4093 { ac_try='test -z "$ac_c_werror_flag" 4865 test -z "$ac_c_werror_flag" ||
4094 || test ! -s conftest.err' 4866 test ! -s conftest.err
4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4867 } && test -s conftest$ac_exeext && {
4096 (eval $ac_try) 2>&5 4868 test "$cross_compiling" = yes ||
4097 ac_status=$? 4869 $as_test_x conftest$ac_exeext
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4870 }; then
4099 (exit $ac_status); }; } && 4871 { $as_echo "$as_me:$LINENO: result: yes" >&5
4100 { ac_try='test -s conftest$ac_exeext' 4872 $as_echo "yes" >&6; }; perl_ok=yes
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4873 else
4102 (eval $ac_try) 2>&5 4874 $as_echo "$as_me: failed program was:" >&5
4103 ac_status=$?
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6; perl_ok=yes
4108 else
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.$ac_ext >&5 4875 sed 's/^/| /' conftest.$ac_ext >&5
4111 4876
4112 echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5 4877 { $as_echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
4113 echo "${ECHO_T}no: PERL DISABLED" >&6; perl_ok=no 4878 $as_echo "no: PERL DISABLED" >&6; }; perl_ok=no
4114 fi 4879 fi
4115 rm -f conftest.err conftest.$ac_objext \ 4880
4881 rm -rf conftest.dSYM
4882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4116 conftest$ac_exeext conftest.$ac_ext 4883 conftest$ac_exeext conftest.$ac_ext
4117 CFLAGS=$cflags_save 4884 CFLAGS=$cflags_save
4118 LIBS=$libs_save 4885 LIBS=$libs_save
4119 LDFLAGS=$ldflags_save 4886 LDFLAGS=$ldflags_save
4120 if test $perl_ok = yes; then 4887 if test $perl_ok = yes; then
4133 _ACEOF 4900 _ACEOF
4134 4901
4135 fi 4902 fi
4136 fi 4903 fi
4137 else 4904 else
4138 echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5 4905 { $as_echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
4139 echo "${ECHO_T}>>> too old; need Perl version 5.003_01 or later <<<" >&6 4906 $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
4140 fi 4907 fi
4141 fi 4908 fi
4142 4909
4143 if test "x$MACOSX" = "xyes"; then 4910 if test "x$MACOSX" = "xyes"; then
4144 dir=/System/Library/Perl 4911 dir=/System/Library/Perl
4165 4932
4166 4933
4167 4934
4168 4935
4169 4936
4170 echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5 4937 { $as_echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
4171 echo $ECHO_N "checking --enable-pythoninterp argument... $ECHO_C" >&6 4938 $as_echo_n "checking --enable-pythoninterp argument... " >&6; }
4172 # Check whether --enable-pythoninterp or --disable-pythoninterp was given. 4939 # Check whether --enable-pythoninterp was given.
4173 if test "${enable_pythoninterp+set}" = set; then 4940 if test "${enable_pythoninterp+set}" = set; then
4174 enableval="$enable_pythoninterp" 4941 enableval=$enable_pythoninterp;
4175
4176 else 4942 else
4177 enable_pythoninterp="no" 4943 enable_pythoninterp="no"
4178 fi; 4944 fi
4179 echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5 4945
4180 echo "${ECHO_T}$enable_pythoninterp" >&6 4946 { $as_echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
4947 $as_echo "$enable_pythoninterp" >&6; }
4181 if test "$enable_pythoninterp" = "yes"; then 4948 if test "$enable_pythoninterp" = "yes"; then
4182 # Extract the first word of "python", so it can be a program name with args. 4949 # Extract the first word of "python", so it can be a program name with args.
4183 set dummy python; ac_word=$2 4950 set dummy python; ac_word=$2
4184 echo "$as_me:$LINENO: checking for $ac_word" >&5 4951 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4952 $as_echo_n "checking for $ac_word... " >&6; }
4186 if test "${ac_cv_path_vi_cv_path_python+set}" = set; then 4953 if test "${ac_cv_path_vi_cv_path_python+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6 4954 $as_echo_n "(cached) " >&6
4188 else 4955 else
4189 case $vi_cv_path_python in 4956 case $vi_cv_path_python in
4190 [\\/]* | ?:[\\/]*) 4957 [\\/]* | ?:[\\/]*)
4191 ac_cv_path_vi_cv_path_python="$vi_cv_path_python" # Let the user override the test with a path. 4958 ac_cv_path_vi_cv_path_python="$vi_cv_path_python" # Let the user override the test with a path.
4192 ;; 4959 ;;
4195 for as_dir in $PATH 4962 for as_dir in $PATH
4196 do 4963 do
4197 IFS=$as_save_IFS 4964 IFS=$as_save_IFS
4198 test -z "$as_dir" && as_dir=. 4965 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do 4966 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4201 ac_cv_path_vi_cv_path_python="$as_dir/$ac_word$ac_exec_ext" 4968 ac_cv_path_vi_cv_path_python="$as_dir/$ac_word$ac_exec_ext"
4202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4969 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 break 2 4970 break 2
4204 fi 4971 fi
4205 done 4972 done
4206 done 4973 done
4974 IFS=$as_save_IFS
4207 4975
4208 ;; 4976 ;;
4209 esac 4977 esac
4210 fi 4978 fi
4211 vi_cv_path_python=$ac_cv_path_vi_cv_path_python 4979 vi_cv_path_python=$ac_cv_path_vi_cv_path_python
4212
4213 if test -n "$vi_cv_path_python"; then 4980 if test -n "$vi_cv_path_python"; then
4214 echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5 4981 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
4215 echo "${ECHO_T}$vi_cv_path_python" >&6 4982 $as_echo "$vi_cv_path_python" >&6; }
4216 else 4983 else
4217 echo "$as_me:$LINENO: result: no" >&5 4984 { $as_echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6 4985 $as_echo "no" >&6; }
4219 fi 4986 fi
4987
4220 4988
4221 if test "X$vi_cv_path_python" != "X"; then 4989 if test "X$vi_cv_path_python" != "X"; then
4222 4990
4223 echo "$as_me:$LINENO: checking Python version" >&5 4991 { $as_echo "$as_me:$LINENO: checking Python version" >&5
4224 echo $ECHO_N "checking Python version... $ECHO_C" >&6 4992 $as_echo_n "checking Python version... " >&6; }
4225 if test "${vi_cv_var_python_version+set}" = set; then 4993 if test "${vi_cv_var_python_version+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6 4994 $as_echo_n "(cached) " >&6
4227 else 4995 else
4228 vi_cv_var_python_version=` 4996 vi_cv_var_python_version=`
4229 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` 4997 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'`
4230 4998
4231 fi 4999 fi
4232 echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5 5000 { $as_echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
4233 echo "${ECHO_T}$vi_cv_var_python_version" >&6 5001 $as_echo "$vi_cv_var_python_version" >&6; }
4234 5002
4235 echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5 5003 { $as_echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
4236 echo $ECHO_N "checking Python is 1.4 or better... $ECHO_C" >&6 5004 $as_echo_n "checking Python is 1.4 or better... " >&6; }
4237 if ${vi_cv_path_python} -c \ 5005 if ${vi_cv_path_python} -c \
4238 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)" 5006 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
4239 then 5007 then
4240 echo "$as_me:$LINENO: result: yep" >&5 5008 { $as_echo "$as_me:$LINENO: result: yep" >&5
4241 echo "${ECHO_T}yep" >&6 5009 $as_echo "yep" >&6; }
4242 5010
4243 echo "$as_me:$LINENO: checking Python's install prefix" >&5 5011 { $as_echo "$as_me:$LINENO: checking Python's install prefix" >&5
4244 echo $ECHO_N "checking Python's install prefix... $ECHO_C" >&6 5012 $as_echo_n "checking Python's install prefix... " >&6; }
4245 if test "${vi_cv_path_python_pfx+set}" = set; then 5013 if test "${vi_cv_path_python_pfx+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6 5014 $as_echo_n "(cached) " >&6
4247 else 5015 else
4248 vi_cv_path_python_pfx=` 5016 vi_cv_path_python_pfx=`
4249 ${vi_cv_path_python} -c \ 5017 ${vi_cv_path_python} -c \
4250 "import sys; print sys.prefix"` 5018 "import sys; print sys.prefix"`
4251 fi 5019 fi
4252 echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5 5020 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
4253 echo "${ECHO_T}$vi_cv_path_python_pfx" >&6 5021 $as_echo "$vi_cv_path_python_pfx" >&6; }
4254 5022
4255 echo "$as_me:$LINENO: checking Python's execution prefix" >&5 5023 { $as_echo "$as_me:$LINENO: checking Python's execution prefix" >&5
4256 echo $ECHO_N "checking Python's execution prefix... $ECHO_C" >&6 5024 $as_echo_n "checking Python's execution prefix... " >&6; }
4257 if test "${vi_cv_path_python_epfx+set}" = set; then 5025 if test "${vi_cv_path_python_epfx+set}" = set; then
4258 echo $ECHO_N "(cached) $ECHO_C" >&6 5026 $as_echo_n "(cached) " >&6
4259 else 5027 else
4260 vi_cv_path_python_epfx=` 5028 vi_cv_path_python_epfx=`
4261 ${vi_cv_path_python} -c \ 5029 ${vi_cv_path_python} -c \
4262 "import sys; print sys.exec_prefix"` 5030 "import sys; print sys.exec_prefix"`
4263 fi 5031 fi
4264 echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5 5032 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
4265 echo "${ECHO_T}$vi_cv_path_python_epfx" >&6 5033 $as_echo "$vi_cv_path_python_epfx" >&6; }
4266 5034
4267 5035
4268 if test "${vi_cv_path_pythonpath+set}" = set; then 5036 if test "${vi_cv_path_pythonpath+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6 5037 $as_echo_n "(cached) " >&6
4270 else 5038 else
4271 vi_cv_path_pythonpath=` 5039 vi_cv_path_pythonpath=`
4272 unset PYTHONPATH; 5040 unset PYTHONPATH;
4273 ${vi_cv_path_python} -c \ 5041 ${vi_cv_path_python} -c \
4274 "import sys, string; print string.join(sys.path,':')"` 5042 "import sys, string; print string.join(sys.path,':')"`
4275 fi 5043 fi
4276 5044
4277 5045
4278 5046
4279 5047
4280 # Check whether --with-python-config-dir or --without-python-config-dir was given. 5048 # Check whether --with-python-config-dir was given.
4281 if test "${with_python_config_dir+set}" = set; then 5049 if test "${with_python_config_dir+set}" = set; then
4282 withval="$with_python_config_dir" 5050 withval=$with_python_config_dir; vi_cv_path_python_conf="${withval}"
4283 vi_cv_path_python_conf="${withval}" 5051 fi
4284 fi; 5052
4285 5053
4286 echo "$as_me:$LINENO: checking Python's configuration directory" >&5 5054 { $as_echo "$as_me:$LINENO: checking Python's configuration directory" >&5
4287 echo $ECHO_N "checking Python's configuration directory... $ECHO_C" >&6 5055 $as_echo_n "checking Python's configuration directory... " >&6; }
4288 if test "${vi_cv_path_python_conf+set}" = set; then 5056 if test "${vi_cv_path_python_conf+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6 5057 $as_echo_n "(cached) " >&6
4290 else 5058 else
4291 5059
4292 vi_cv_path_python_conf= 5060 vi_cv_path_python_conf=
4293 for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do 5061 for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
4294 for subdir in lib share; do 5062 for subdir in lib share; do
4298 fi 5066 fi
4299 done 5067 done
4300 done 5068 done
4301 5069
4302 fi 5070 fi
4303 echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5 5071 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
4304 echo "${ECHO_T}$vi_cv_path_python_conf" >&6 5072 $as_echo "$vi_cv_path_python_conf" >&6; }
4305 5073
4306 PYTHON_CONFDIR="${vi_cv_path_python_conf}" 5074 PYTHON_CONFDIR="${vi_cv_path_python_conf}"
4307 5075
4308 if test "X$PYTHON_CONFDIR" = "X"; then 5076 if test "X$PYTHON_CONFDIR" = "X"; then
4309 echo "$as_me:$LINENO: result: can't find it!" >&5 5077 { $as_echo "$as_me:$LINENO: result: can't find it!" >&5
4310 echo "${ECHO_T}can't find it!" >&6 5078 $as_echo "can't find it!" >&6; }
4311 else 5079 else
4312 5080
4313 if test "${vi_cv_path_python_plibs+set}" = set; then 5081 if test "${vi_cv_path_python_plibs+set}" = set; then
4314 echo $ECHO_N "(cached) $ECHO_C" >&6 5082 $as_echo_n "(cached) " >&6
4315 else 5083 else
4316 5084
4317 tmp_mkf="/tmp/Makefile-conf$$" 5085 tmp_mkf="/tmp/Makefile-conf$$"
4318 cat ${PYTHON_CONFDIR}/Makefile - <<'eof' >${tmp_mkf} 5086 cat ${PYTHON_CONFDIR}/Makefile - <<'eof' >${tmp_mkf}
4319 __: 5087 __:
4355 if test "${vi_cv_var_python_version}" = "1.4"; then 5123 if test "${vi_cv_var_python_version}" = "1.4"; then
4356 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" 5124 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o"
4357 fi 5125 fi
4358 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'" 5126 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'"
4359 5127
4360 echo "$as_me:$LINENO: checking if -pthread should be used" >&5 5128 { $as_echo "$as_me:$LINENO: checking if -pthread should be used" >&5
4361 echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6 5129 $as_echo_n "checking if -pthread should be used... " >&6; }
4362 threadsafe_flag= 5130 threadsafe_flag=
4363 thread_lib= 5131 thread_lib=
4364 if test "`(uname) 2>/dev/null`" != Darwin; then 5132 if test "`(uname) 2>/dev/null`" != Darwin; then
4365 test "$GCC" = yes && threadsafe_flag="-pthread" 5133 test "$GCC" = yes && threadsafe_flag="-pthread"
4366 if test "`(uname) 2>/dev/null`" = FreeBSD; then 5134 if test "`(uname) 2>/dev/null`" = FreeBSD; then
4387 ; 5155 ;
4388 return 0; 5156 return 0;
4389 } 5157 }
4390 _ACEOF 5158 _ACEOF
4391 rm -f conftest.$ac_objext conftest$ac_exeext 5159 rm -f conftest.$ac_objext conftest$ac_exeext
4392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5160 if { (ac_try="$ac_link"
4393 (eval $ac_link) 2>conftest.er1 5161 case "(($ac_try" in
5162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5164 esac
5165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5166 $as_echo "$ac_try_echo") >&5
5167 (eval "$ac_link") 2>conftest.er1
4394 ac_status=$? 5168 ac_status=$?
4395 grep -v '^ *+' conftest.er1 >conftest.err 5169 grep -v '^ *+' conftest.er1 >conftest.err
4396 rm -f conftest.er1 5170 rm -f conftest.er1
4397 cat conftest.err >&5 5171 cat conftest.err >&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } && 5173 (exit $ac_status); } && {
4400 { ac_try='test -z "$ac_c_werror_flag" 5174 test -z "$ac_c_werror_flag" ||
4401 || test ! -s conftest.err' 5175 test ! -s conftest.err
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5176 } && test -s conftest$ac_exeext && {
4403 (eval $ac_try) 2>&5 5177 test "$cross_compiling" = yes ||
4404 ac_status=$? 5178 $as_test_x conftest$ac_exeext
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5179 }; then
4406 (exit $ac_status); }; } && 5180 { $as_echo "$as_me:$LINENO: result: yes" >&5
4407 { ac_try='test -s conftest$ac_exeext' 5181 $as_echo "yes" >&6; }; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag"
4408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5182 else
4409 (eval $ac_try) 2>&5 5183 $as_echo "$as_me: failed program was:" >&5
4410 ac_status=$?
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; }; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag"
4415 else
4416 echo "$as_me: failed program was:" >&5
4417 sed 's/^/| /' conftest.$ac_ext >&5 5184 sed 's/^/| /' conftest.$ac_ext >&5
4418 5185
4419 echo "$as_me:$LINENO: result: no" >&5 5186 { $as_echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6; LIBS=$libs_save_old 5187 $as_echo "no" >&6; }; LIBS=$libs_save_old
4421 5188
4422 fi 5189 fi
4423 rm -f conftest.err conftest.$ac_objext \ 5190
5191 rm -rf conftest.dSYM
5192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4424 conftest$ac_exeext conftest.$ac_ext 5193 conftest$ac_exeext conftest.$ac_ext
4425 CFLAGS=$cflags_save 5194 CFLAGS=$cflags_save
4426 else 5195 else
4427 echo "$as_me:$LINENO: result: no" >&5 5196 { $as_echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6 5197 $as_echo "no" >&6; }
4429 fi 5198 fi
4430 5199
4431 echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5 5200 { $as_echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
4432 echo $ECHO_N "checking if compile and link flags for Python are sane... $ECHO_C" >&6 5201 $as_echo_n "checking if compile and link flags for Python are sane... " >&6; }
4433 cflags_save=$CFLAGS 5202 cflags_save=$CFLAGS
4434 libs_save=$LIBS 5203 libs_save=$LIBS
4435 CFLAGS="$CFLAGS $PYTHON_CFLAGS" 5204 CFLAGS="$CFLAGS $PYTHON_CFLAGS"
4436 LIBS="$LIBS $PYTHON_LIBS" 5205 LIBS="$LIBS $PYTHON_LIBS"
4437 cat >conftest.$ac_ext <<_ACEOF 5206 cat >conftest.$ac_ext <<_ACEOF
4448 ; 5217 ;
4449 return 0; 5218 return 0;
4450 } 5219 }
4451 _ACEOF 5220 _ACEOF
4452 rm -f conftest.$ac_objext conftest$ac_exeext 5221 rm -f conftest.$ac_objext conftest$ac_exeext
4453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5222 if { (ac_try="$ac_link"
4454 (eval $ac_link) 2>conftest.er1 5223 case "(($ac_try" in
5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5226 esac
5227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5228 $as_echo "$ac_try_echo") >&5
5229 (eval "$ac_link") 2>conftest.er1
4455 ac_status=$? 5230 ac_status=$?
4456 grep -v '^ *+' conftest.er1 >conftest.err 5231 grep -v '^ *+' conftest.er1 >conftest.err
4457 rm -f conftest.er1 5232 rm -f conftest.er1
4458 cat conftest.err >&5 5233 cat conftest.err >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } && 5235 (exit $ac_status); } && {
4461 { ac_try='test -z "$ac_c_werror_flag" 5236 test -z "$ac_c_werror_flag" ||
4462 || test ! -s conftest.err' 5237 test ! -s conftest.err
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5238 } && test -s conftest$ac_exeext && {
4464 (eval $ac_try) 2>&5 5239 test "$cross_compiling" = yes ||
4465 ac_status=$? 5240 $as_test_x conftest$ac_exeext
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5241 }; then
4467 (exit $ac_status); }; } && 5242 { $as_echo "$as_me:$LINENO: result: yes" >&5
4468 { ac_try='test -s conftest$ac_exeext' 5243 $as_echo "yes" >&6; }; python_ok=yes
4469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5244 else
4470 (eval $ac_try) 2>&5 5245 $as_echo "$as_me: failed program was:" >&5
4471 ac_status=$?
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6; python_ok=yes
4476 else
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5 5246 sed 's/^/| /' conftest.$ac_ext >&5
4479 5247
4480 echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5 5248 { $as_echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
4481 echo "${ECHO_T}no: PYTHON DISABLED" >&6; python_ok=no 5249 $as_echo "no: PYTHON DISABLED" >&6; }; python_ok=no
4482 fi 5250 fi
4483 rm -f conftest.err conftest.$ac_objext \ 5251
5252 rm -rf conftest.dSYM
5253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4484 conftest$ac_exeext conftest.$ac_ext 5254 conftest$ac_exeext conftest.$ac_ext
4485 CFLAGS=$cflags_save 5255 CFLAGS=$cflags_save
4486 LIBS=$libs_save 5256 LIBS=$libs_save
4487 if test $python_ok = yes; then 5257 if test $python_ok = yes; then
4488 cat >>confdefs.h <<\_ACEOF 5258 cat >>confdefs.h <<\_ACEOF
4497 PYTHON_CFLAGS= 5267 PYTHON_CFLAGS=
4498 fi 5268 fi
4499 5269
4500 fi 5270 fi
4501 else 5271 else
4502 echo "$as_me:$LINENO: result: too old" >&5 5272 { $as_echo "$as_me:$LINENO: result: too old" >&5
4503 echo "${ECHO_T}too old" >&6 5273 $as_echo "too old" >&6; }
4504 fi 5274 fi
4505 fi 5275 fi
4506 fi 5276 fi
4507 5277
4508 5278
4509 5279
4510 5280
4511 5281
4512 5282
4513 5283
4514 echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5 5284 { $as_echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
4515 echo $ECHO_N "checking --enable-tclinterp argument... $ECHO_C" >&6 5285 $as_echo_n "checking --enable-tclinterp argument... " >&6; }
4516 # Check whether --enable-tclinterp or --disable-tclinterp was given. 5286 # Check whether --enable-tclinterp was given.
4517 if test "${enable_tclinterp+set}" = set; then 5287 if test "${enable_tclinterp+set}" = set; then
4518 enableval="$enable_tclinterp" 5288 enableval=$enable_tclinterp;
4519
4520 else 5289 else
4521 enable_tclinterp="no" 5290 enable_tclinterp="no"
4522 fi; 5291 fi
4523 echo "$as_me:$LINENO: result: $enable_tclinterp" >&5 5292
4524 echo "${ECHO_T}$enable_tclinterp" >&6 5293 { $as_echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
5294 $as_echo "$enable_tclinterp" >&6; }
4525 5295
4526 if test "$enable_tclinterp" = "yes"; then 5296 if test "$enable_tclinterp" = "yes"; then
4527 5297
4528 echo "$as_me:$LINENO: checking --with-tclsh argument" >&5 5298 { $as_echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
4529 echo $ECHO_N "checking --with-tclsh argument... $ECHO_C" >&6 5299 $as_echo_n "checking --with-tclsh argument... " >&6; }
4530 5300
4531 # Check whether --with-tclsh or --without-tclsh was given. 5301 # Check whether --with-tclsh was given.
4532 if test "${with_tclsh+set}" = set; then 5302 if test "${with_tclsh+set}" = set; then
4533 withval="$with_tclsh" 5303 withval=$with_tclsh; tclsh_name="$withval"; { $as_echo "$as_me:$LINENO: result: $tclsh_name" >&5
4534 tclsh_name="$withval"; echo "$as_me:$LINENO: result: $tclsh_name" >&5 5304 $as_echo "$tclsh_name" >&6; }
4535 echo "${ECHO_T}$tclsh_name" >&6 5305 else
4536 else 5306 tclsh_name="tclsh8.5"; { $as_echo "$as_me:$LINENO: result: no" >&5
4537 tclsh_name="tclsh8.5"; echo "$as_me:$LINENO: result: no" >&5 5307 $as_echo "no" >&6; }
4538 echo "${ECHO_T}no" >&6 5308 fi
4539 fi; 5309
4540 # Extract the first word of "$tclsh_name", so it can be a program name with args. 5310 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4541 set dummy $tclsh_name; ac_word=$2 5311 set dummy $tclsh_name; ac_word=$2
4542 echo "$as_me:$LINENO: checking for $ac_word" >&5 5312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5313 $as_echo_n "checking for $ac_word... " >&6; }
4544 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then 5314 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6 5315 $as_echo_n "(cached) " >&6
4546 else 5316 else
4547 case $vi_cv_path_tcl in 5317 case $vi_cv_path_tcl in
4548 [\\/]* | ?:[\\/]*) 5318 [\\/]* | ?:[\\/]*)
4549 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path. 5319 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
4550 ;; 5320 ;;
4553 for as_dir in $PATH 5323 for as_dir in $PATH
4554 do 5324 do
4555 IFS=$as_save_IFS 5325 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=. 5326 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do 5327 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4559 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext" 5329 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
4560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2 5331 break 2
4562 fi 5332 fi
4563 done 5333 done
4564 done 5334 done
5335 IFS=$as_save_IFS
4565 5336
4566 ;; 5337 ;;
4567 esac 5338 esac
4568 fi 5339 fi
4569 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl 5340 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
4570
4571 if test -n "$vi_cv_path_tcl"; then 5341 if test -n "$vi_cv_path_tcl"; then
4572 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5 5342 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4573 echo "${ECHO_T}$vi_cv_path_tcl" >&6 5343 $as_echo "$vi_cv_path_tcl" >&6; }
4574 else 5344 else
4575 echo "$as_me:$LINENO: result: no" >&5 5345 { $as_echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6 5346 $as_echo "no" >&6; }
4577 fi 5347 fi
5348
4578 5349
4579 5350
4580 5351
4581 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.5"; then 5352 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.5"; then
4582 tclsh_name="tclsh8.4" 5353 tclsh_name="tclsh8.4"
4583 # Extract the first word of "$tclsh_name", so it can be a program name with args. 5354 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4584 set dummy $tclsh_name; ac_word=$2 5355 set dummy $tclsh_name; ac_word=$2
4585 echo "$as_me:$LINENO: checking for $ac_word" >&5 5356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5357 $as_echo_n "checking for $ac_word... " >&6; }
4587 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then 5358 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6 5359 $as_echo_n "(cached) " >&6
4589 else 5360 else
4590 case $vi_cv_path_tcl in 5361 case $vi_cv_path_tcl in
4591 [\\/]* | ?:[\\/]*) 5362 [\\/]* | ?:[\\/]*)
4592 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path. 5363 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
4593 ;; 5364 ;;
4596 for as_dir in $PATH 5367 for as_dir in $PATH
4597 do 5368 do
4598 IFS=$as_save_IFS 5369 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=. 5370 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do 5371 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4602 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext" 5373 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2 5375 break 2
4605 fi 5376 fi
4606 done 5377 done
4607 done 5378 done
5379 IFS=$as_save_IFS
4608 5380
4609 ;; 5381 ;;
4610 esac 5382 esac
4611 fi 5383 fi
4612 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl 5384 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
4613
4614 if test -n "$vi_cv_path_tcl"; then 5385 if test -n "$vi_cv_path_tcl"; then
4615 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5 5386 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4616 echo "${ECHO_T}$vi_cv_path_tcl" >&6 5387 $as_echo "$vi_cv_path_tcl" >&6; }
4617 else 5388 else
4618 echo "$as_me:$LINENO: result: no" >&5 5389 { $as_echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6 5390 $as_echo "no" >&6; }
4620 fi 5391 fi
5392
4621 5393
4622 fi 5394 fi
4623 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then 5395 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
4624 tclsh_name="tclsh8.2" 5396 tclsh_name="tclsh8.2"
4625 # Extract the first word of "$tclsh_name", so it can be a program name with args. 5397 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4626 set dummy $tclsh_name; ac_word=$2 5398 set dummy $tclsh_name; ac_word=$2
4627 echo "$as_me:$LINENO: checking for $ac_word" >&5 5399 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5400 $as_echo_n "checking for $ac_word... " >&6; }
4629 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then 5401 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6 5402 $as_echo_n "(cached) " >&6
4631 else 5403 else
4632 case $vi_cv_path_tcl in 5404 case $vi_cv_path_tcl in
4633 [\\/]* | ?:[\\/]*) 5405 [\\/]* | ?:[\\/]*)
4634 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path. 5406 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
4635 ;; 5407 ;;
4638 for as_dir in $PATH 5410 for as_dir in $PATH
4639 do 5411 do
4640 IFS=$as_save_IFS 5412 IFS=$as_save_IFS
4641 test -z "$as_dir" && as_dir=. 5413 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do 5414 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext" 5416 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
4645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5417 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 break 2 5418 break 2
4647 fi 5419 fi
4648 done 5420 done
4649 done 5421 done
5422 IFS=$as_save_IFS
4650 5423
4651 ;; 5424 ;;
4652 esac 5425 esac
4653 fi 5426 fi
4654 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl 5427 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
4655
4656 if test -n "$vi_cv_path_tcl"; then 5428 if test -n "$vi_cv_path_tcl"; then
4657 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5 5429 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4658 echo "${ECHO_T}$vi_cv_path_tcl" >&6 5430 $as_echo "$vi_cv_path_tcl" >&6; }
4659 else 5431 else
4660 echo "$as_me:$LINENO: result: no" >&5 5432 { $as_echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6 5433 $as_echo "no" >&6; }
4662 fi 5434 fi
5435
4663 5436
4664 fi 5437 fi
4665 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then 5438 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then
4666 tclsh_name="tclsh8.0" 5439 tclsh_name="tclsh8.0"
4667 # Extract the first word of "$tclsh_name", so it can be a program name with args. 5440 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4668 set dummy $tclsh_name; ac_word=$2 5441 set dummy $tclsh_name; ac_word=$2
4669 echo "$as_me:$LINENO: checking for $ac_word" >&5 5442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5443 $as_echo_n "checking for $ac_word... " >&6; }
4671 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then 5444 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6 5445 $as_echo_n "(cached) " >&6
4673 else 5446 else
4674 case $vi_cv_path_tcl in 5447 case $vi_cv_path_tcl in
4675 [\\/]* | ?:[\\/]*) 5448 [\\/]* | ?:[\\/]*)
4676 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path. 5449 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
4677 ;; 5450 ;;
4680 for as_dir in $PATH 5453 for as_dir in $PATH
4681 do 5454 do
4682 IFS=$as_save_IFS 5455 IFS=$as_save_IFS
4683 test -z "$as_dir" && as_dir=. 5456 test -z "$as_dir" && as_dir=.
4684 for ac_exec_ext in '' $ac_executable_extensions; do 5457 for ac_exec_ext in '' $ac_executable_extensions; do
4685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4686 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext" 5459 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
4687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5460 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 break 2 5461 break 2
4689 fi 5462 fi
4690 done 5463 done
4691 done 5464 done
5465 IFS=$as_save_IFS
4692 5466
4693 ;; 5467 ;;
4694 esac 5468 esac
4695 fi 5469 fi
4696 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl 5470 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
4697
4698 if test -n "$vi_cv_path_tcl"; then 5471 if test -n "$vi_cv_path_tcl"; then
4699 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5 5472 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4700 echo "${ECHO_T}$vi_cv_path_tcl" >&6 5473 $as_echo "$vi_cv_path_tcl" >&6; }
4701 else 5474 else
4702 echo "$as_me:$LINENO: result: no" >&5 5475 { $as_echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6 5476 $as_echo "no" >&6; }
4704 fi 5477 fi
5478
4705 5479
4706 fi 5480 fi
4707 if test "X$vi_cv_path_tcl" = "X"; then 5481 if test "X$vi_cv_path_tcl" = "X"; then
4708 tclsh_name="tclsh" 5482 tclsh_name="tclsh"
4709 # Extract the first word of "$tclsh_name", so it can be a program name with args. 5483 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4710 set dummy $tclsh_name; ac_word=$2 5484 set dummy $tclsh_name; ac_word=$2
4711 echo "$as_me:$LINENO: checking for $ac_word" >&5 5485 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5486 $as_echo_n "checking for $ac_word... " >&6; }
4713 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then 5487 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6 5488 $as_echo_n "(cached) " >&6
4715 else 5489 else
4716 case $vi_cv_path_tcl in 5490 case $vi_cv_path_tcl in
4717 [\\/]* | ?:[\\/]*) 5491 [\\/]* | ?:[\\/]*)
4718 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path. 5492 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
4719 ;; 5493 ;;
4722 for as_dir in $PATH 5496 for as_dir in $PATH
4723 do 5497 do
4724 IFS=$as_save_IFS 5498 IFS=$as_save_IFS
4725 test -z "$as_dir" && as_dir=. 5499 test -z "$as_dir" && as_dir=.
4726 for ac_exec_ext in '' $ac_executable_extensions; do 5500 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4728 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext" 5502 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
4729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5503 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 break 2 5504 break 2
4731 fi 5505 fi
4732 done 5506 done
4733 done 5507 done
5508 IFS=$as_save_IFS
4734 5509
4735 ;; 5510 ;;
4736 esac 5511 esac
4737 fi 5512 fi
4738 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl 5513 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
4739
4740 if test -n "$vi_cv_path_tcl"; then 5514 if test -n "$vi_cv_path_tcl"; then
4741 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5 5515 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4742 echo "${ECHO_T}$vi_cv_path_tcl" >&6 5516 $as_echo "$vi_cv_path_tcl" >&6; }
4743 else 5517 else
4744 echo "$as_me:$LINENO: result: no" >&5 5518 { $as_echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6 5519 $as_echo "no" >&6; }
4746 fi 5520 fi
5521
4747 5522
4748 fi 5523 fi
4749 if test "X$vi_cv_path_tcl" != "X"; then 5524 if test "X$vi_cv_path_tcl" != "X"; then
4750 echo "$as_me:$LINENO: checking Tcl version" >&5 5525 { $as_echo "$as_me:$LINENO: checking Tcl version" >&5
4751 echo $ECHO_N "checking Tcl version... $ECHO_C" >&6 5526 $as_echo_n "checking Tcl version... " >&6; }
4752 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then 5527 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then
4753 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -` 5528 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -`
4754 echo "$as_me:$LINENO: result: $tclver - OK" >&5 5529 { $as_echo "$as_me:$LINENO: result: $tclver - OK" >&5
4755 echo "${ECHO_T}$tclver - OK" >&6; 5530 $as_echo "$tclver - OK" >&6; };
4756 tclloc=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -` 5531 tclloc=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -`
4757 5532
4758 echo "$as_me:$LINENO: checking for location of Tcl include" >&5 5533 { $as_echo "$as_me:$LINENO: checking for location of Tcl include" >&5
4759 echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6 5534 $as_echo_n "checking for location of Tcl include... " >&6; }
4760 if test "x$MACOSX" != "xyes"; then 5535 if test "x$MACOSX" != "xyes"; then
4761 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include /usr/include/tcl$tclver" 5536 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
4762 else 5537 else
4763 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" 5538 tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
4764 fi 5539 fi
4765 TCL_INC= 5540 TCL_INC=
4766 for try in $tclinc; do 5541 for try in $tclinc; do
4767 if test -f "$try/tcl.h"; then 5542 if test -f "$try/tcl.h"; then
4768 echo "$as_me:$LINENO: result: $try/tcl.h" >&5 5543 { $as_echo "$as_me:$LINENO: result: $try/tcl.h" >&5
4769 echo "${ECHO_T}$try/tcl.h" >&6 5544 $as_echo "$try/tcl.h" >&6; }
4770 TCL_INC=$try 5545 TCL_INC=$try
4771 break 5546 break
4772 fi 5547 fi
4773 done 5548 done
4774 if test -z "$TCL_INC"; then 5549 if test -z "$TCL_INC"; then
4775 echo "$as_me:$LINENO: result: <not found>" >&5 5550 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
4776 echo "${ECHO_T}<not found>" >&6 5551 $as_echo "<not found>" >&6; }
4777 SKIP_TCL=YES 5552 SKIP_TCL=YES
4778 fi 5553 fi
4779 if test -z "$SKIP_TCL"; then 5554 if test -z "$SKIP_TCL"; then
4780 echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5 5555 { $as_echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
4781 echo $ECHO_N "checking for location of tclConfig.sh script... $ECHO_C" >&6 5556 $as_echo_n "checking for location of tclConfig.sh script... " >&6; }
4782 if test "x$MACOSX" != "xyes"; then 5557 if test "x$MACOSX" != "xyes"; then
4783 tclcnf=`echo $tclinc | sed s/include/lib/g` 5558 tclcnf=`echo $tclinc | sed s/include/lib/g`
4784 tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`" 5559 tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
4785 else 5560 else
4786 tclcnf="/System/Library/Frameworks/Tcl.framework" 5561 tclcnf="/System/Library/Frameworks/Tcl.framework"
4787 fi 5562 fi
4788 for try in $tclcnf; do 5563 for try in $tclcnf; do
4789 if test -f $try/tclConfig.sh; then 5564 if test -f $try/tclConfig.sh; then
4790 echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5 5565 { $as_echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
4791 echo "${ECHO_T}$try/tclConfig.sh" >&6 5566 $as_echo "$try/tclConfig.sh" >&6; }
4792 . $try/tclConfig.sh 5567 . $try/tclConfig.sh
4793 TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"` 5568 TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
4794 TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'` 5569 TCL_DEFS=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
4795 break 5570 break
4796 fi 5571 fi
4797 done 5572 done
4798 if test -z "$TCL_LIBS"; then 5573 if test -z "$TCL_LIBS"; then
4799 echo "$as_me:$LINENO: result: <not found>" >&5 5574 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
4800 echo "${ECHO_T}<not found>" >&6 5575 $as_echo "<not found>" >&6; }
4801 echo "$as_me:$LINENO: checking for Tcl library by myself" >&5 5576 { $as_echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
4802 echo $ECHO_N "checking for Tcl library by myself... $ECHO_C" >&6 5577 $as_echo_n "checking for Tcl library by myself... " >&6; }
4803 tcllib=`echo $tclinc | sed s/include/lib/g` 5578 tcllib=`echo $tclinc | sed s/include/lib/g`
4804 tcllib="$tcllib `echo $tclinc | sed s/include/lib64/g`" 5579 tcllib="$tcllib `echo $tclinc | sed s/include/lib64/g`"
4805 for ext in .so .a ; do 5580 for ext in .so .a ; do
4806 for ver in "" $tclver ; do 5581 for ver in "" $tclver ; do
4807 for try in $tcllib ; do 5582 for try in $tcllib ; do
4808 trylib=tcl$ver$ext 5583 trylib=tcl$ver$ext
4809 if test -f $try/lib$trylib ; then 5584 if test -f $try/lib$trylib ; then
4810 echo "$as_me:$LINENO: result: $try/lib$trylib" >&5 5585 { $as_echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
4811 echo "${ECHO_T}$try/lib$trylib" >&6 5586 $as_echo "$try/lib$trylib" >&6; }
4812 TCL_LIBS="-L$try -ltcl$ver -ldl -lm" 5587 TCL_LIBS="-L$try -ltcl$ver -ldl -lm"
4813 if test "`(uname) 2>/dev/null`" = SunOS && 5588 if test "`(uname) 2>/dev/null`" = SunOS &&
4814 uname -r | grep '^5' >/dev/null; then 5589 uname -r | grep '^5' >/dev/null; then
4815 TCL_LIBS="$TCL_LIBS -R $try" 5590 TCL_LIBS="$TCL_LIBS -R $try"
4816 fi 5591 fi
4818 fi 5593 fi
4819 done 5594 done
4820 done 5595 done
4821 done 5596 done
4822 if test -z "$TCL_LIBS"; then 5597 if test -z "$TCL_LIBS"; then
4823 echo "$as_me:$LINENO: result: <not found>" >&5 5598 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
4824 echo "${ECHO_T}<not found>" >&6 5599 $as_echo "<not found>" >&6; }
4825 SKIP_TCL=YES 5600 SKIP_TCL=YES
4826 fi 5601 fi
4827 fi 5602 fi
4828 if test -z "$SKIP_TCL"; then 5603 if test -z "$SKIP_TCL"; then
4829 cat >>confdefs.h <<\_ACEOF 5604 cat >>confdefs.h <<\_ACEOF
4835 TCL_PRO=if_tcl.pro 5610 TCL_PRO=if_tcl.pro
4836 TCL_CFLAGS="-I$TCL_INC $TCL_DEFS" 5611 TCL_CFLAGS="-I$TCL_INC $TCL_DEFS"
4837 fi 5612 fi
4838 fi 5613 fi
4839 else 5614 else
4840 echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5 5615 { $as_echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
4841 echo "${ECHO_T}too old; need Tcl version 8.0 or later" >&6 5616 $as_echo "too old; need Tcl version 8.0 or later" >&6; }
4842 fi 5617 fi
4843 fi 5618 fi
4844 fi 5619 fi
4845 5620
4846 5621
4847 5622
4848 5623
4849 5624
4850 5625
4851 echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5 5626 { $as_echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
4852 echo $ECHO_N "checking --enable-rubyinterp argument... $ECHO_C" >&6 5627 $as_echo_n "checking --enable-rubyinterp argument... " >&6; }
4853 # Check whether --enable-rubyinterp or --disable-rubyinterp was given. 5628 # Check whether --enable-rubyinterp was given.
4854 if test "${enable_rubyinterp+set}" = set; then 5629 if test "${enable_rubyinterp+set}" = set; then
4855 enableval="$enable_rubyinterp" 5630 enableval=$enable_rubyinterp;
4856
4857 else 5631 else
4858 enable_rubyinterp="no" 5632 enable_rubyinterp="no"
4859 fi; 5633 fi
4860 echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5 5634
4861 echo "${ECHO_T}$enable_rubyinterp" >&6 5635 { $as_echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
5636 $as_echo "$enable_rubyinterp" >&6; }
4862 if test "$enable_rubyinterp" = "yes"; then 5637 if test "$enable_rubyinterp" = "yes"; then
4863 5638
4864 # Extract the first word of "ruby", so it can be a program name with args. 5639 # Extract the first word of "ruby", so it can be a program name with args.
4865 set dummy ruby; ac_word=$2 5640 set dummy ruby; ac_word=$2
4866 echo "$as_me:$LINENO: checking for $ac_word" >&5 5641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5642 $as_echo_n "checking for $ac_word... " >&6; }
4868 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then 5643 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6 5644 $as_echo_n "(cached) " >&6
4870 else 5645 else
4871 case $vi_cv_path_ruby in 5646 case $vi_cv_path_ruby in
4872 [\\/]* | ?:[\\/]*) 5647 [\\/]* | ?:[\\/]*)
4873 ac_cv_path_vi_cv_path_ruby="$vi_cv_path_ruby" # Let the user override the test with a path. 5648 ac_cv_path_vi_cv_path_ruby="$vi_cv_path_ruby" # Let the user override the test with a path.
4874 ;; 5649 ;;
4877 for as_dir in $PATH 5652 for as_dir in $PATH
4878 do 5653 do
4879 IFS=$as_save_IFS 5654 IFS=$as_save_IFS
4880 test -z "$as_dir" && as_dir=. 5655 test -z "$as_dir" && as_dir=.
4881 for ac_exec_ext in '' $ac_executable_extensions; do 5656 for ac_exec_ext in '' $ac_executable_extensions; do
4882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883 ac_cv_path_vi_cv_path_ruby="$as_dir/$ac_word$ac_exec_ext" 5658 ac_cv_path_vi_cv_path_ruby="$as_dir/$ac_word$ac_exec_ext"
4884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5659 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 break 2 5660 break 2
4886 fi 5661 fi
4887 done 5662 done
4888 done 5663 done
5664 IFS=$as_save_IFS
4889 5665
4890 ;; 5666 ;;
4891 esac 5667 esac
4892 fi 5668 fi
4893 vi_cv_path_ruby=$ac_cv_path_vi_cv_path_ruby 5669 vi_cv_path_ruby=$ac_cv_path_vi_cv_path_ruby
4894
4895 if test -n "$vi_cv_path_ruby"; then 5670 if test -n "$vi_cv_path_ruby"; then
4896 echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5 5671 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
4897 echo "${ECHO_T}$vi_cv_path_ruby" >&6 5672 $as_echo "$vi_cv_path_ruby" >&6; }
4898 else 5673 else
4899 echo "$as_me:$LINENO: result: no" >&5 5674 { $as_echo "$as_me:$LINENO: result: no" >&5
4900 echo "${ECHO_T}no" >&6 5675 $as_echo "no" >&6; }
4901 fi 5676 fi
5677
4902 5678
4903 if test "X$vi_cv_path_ruby" != "X"; then 5679 if test "X$vi_cv_path_ruby" != "X"; then
4904 echo "$as_me:$LINENO: checking Ruby version" >&5 5680 { $as_echo "$as_me:$LINENO: checking Ruby version" >&5
4905 echo $ECHO_N "checking Ruby version... $ECHO_C" >&6 5681 $as_echo_n "checking Ruby version... " >&6; }
4906 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then 5682 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
4907 echo "$as_me:$LINENO: result: OK" >&5 5683 { $as_echo "$as_me:$LINENO: result: OK" >&5
4908 echo "${ECHO_T}OK" >&6 5684 $as_echo "OK" >&6; }
4909 echo "$as_me:$LINENO: checking Ruby header files" >&5 5685 { $as_echo "$as_me:$LINENO: checking Ruby header files" >&5
4910 echo $ECHO_N "checking Ruby header files... $ECHO_C" >&6 5686 $as_echo_n "checking Ruby header files... " >&6; }
4911 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` 5687 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null`
4912 if test "X$rubyhdrdir" != "X"; then 5688 if test "X$rubyhdrdir" != "X"; then
4913 echo "$as_me:$LINENO: result: $rubyhdrdir" >&5 5689 { $as_echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
4914 echo "${ECHO_T}$rubyhdrdir" >&6 5690 $as_echo "$rubyhdrdir" >&6; }
4915 RUBY_CFLAGS="-I$rubyhdrdir" 5691 RUBY_CFLAGS="-I$rubyhdrdir"
4916 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` 5692 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'`
4917 if test "X$rubylibs" != "X"; then 5693 if test "X$rubylibs" != "X"; then
4918 RUBY_LIBS="$rubylibs" 5694 RUBY_LIBS="$rubylibs"
4919 fi 5695 fi
4944 cat >>confdefs.h <<\_ACEOF 5720 cat >>confdefs.h <<\_ACEOF
4945 #define FEAT_RUBY 1 5721 #define FEAT_RUBY 1
4946 _ACEOF 5722 _ACEOF
4947 5723
4948 else 5724 else
4949 echo "$as_me:$LINENO: result: not found" >&5 5725 { $as_echo "$as_me:$LINENO: result: not found" >&5
4950 echo "${ECHO_T}not found" >&6 5726 $as_echo "not found" >&6; }
4951 fi 5727 fi
4952 else 5728 else
4953 echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5 5729 { $as_echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
4954 echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6 5730 $as_echo "too old; need Ruby version 1.6.0 or later" >&6; }
4955 fi 5731 fi
4956 fi 5732 fi
4957 fi 5733 fi
4958 5734
4959 5735
4960 5736
4961 5737
4962 5738
4963 5739
4964 echo "$as_me:$LINENO: checking --enable-cscope argument" >&5 5740 { $as_echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
4965 echo $ECHO_N "checking --enable-cscope argument... $ECHO_C" >&6 5741 $as_echo_n "checking --enable-cscope argument... " >&6; }
4966 # Check whether --enable-cscope or --disable-cscope was given. 5742 # Check whether --enable-cscope was given.
4967 if test "${enable_cscope+set}" = set; then 5743 if test "${enable_cscope+set}" = set; then
4968 enableval="$enable_cscope" 5744 enableval=$enable_cscope;
4969
4970 else 5745 else
4971 enable_cscope="no" 5746 enable_cscope="no"
4972 fi; 5747 fi
4973 echo "$as_me:$LINENO: result: $enable_cscope" >&5 5748
4974 echo "${ECHO_T}$enable_cscope" >&6 5749 { $as_echo "$as_me:$LINENO: result: $enable_cscope" >&5
5750 $as_echo "$enable_cscope" >&6; }
4975 if test "$enable_cscope" = "yes"; then 5751 if test "$enable_cscope" = "yes"; then
4976 cat >>confdefs.h <<\_ACEOF 5752 cat >>confdefs.h <<\_ACEOF
4977 #define FEAT_CSCOPE 1 5753 #define FEAT_CSCOPE 1
4978 _ACEOF 5754 _ACEOF
4979 5755
4980 fi 5756 fi
4981 5757
4982 echo "$as_me:$LINENO: checking --enable-workshop argument" >&5 5758 { $as_echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
4983 echo $ECHO_N "checking --enable-workshop argument... $ECHO_C" >&6 5759 $as_echo_n "checking --enable-workshop argument... " >&6; }
4984 # Check whether --enable-workshop or --disable-workshop was given. 5760 # Check whether --enable-workshop was given.
4985 if test "${enable_workshop+set}" = set; then 5761 if test "${enable_workshop+set}" = set; then
4986 enableval="$enable_workshop" 5762 enableval=$enable_workshop;
4987
4988 else 5763 else
4989 enable_workshop="no" 5764 enable_workshop="no"
4990 fi; 5765 fi
4991 echo "$as_me:$LINENO: result: $enable_workshop" >&5 5766
4992 echo "${ECHO_T}$enable_workshop" >&6 5767 { $as_echo "$as_me:$LINENO: result: $enable_workshop" >&5
5768 $as_echo "$enable_workshop" >&6; }
4993 if test "$enable_workshop" = "yes"; then 5769 if test "$enable_workshop" = "yes"; then
4994 cat >>confdefs.h <<\_ACEOF 5770 cat >>confdefs.h <<\_ACEOF
4995 #define FEAT_SUN_WORKSHOP 1 5771 #define FEAT_SUN_WORKSHOP 1
4996 _ACEOF 5772 _ACEOF
4997 5773
5002 if test "${enable_gui-xxx}" = xxx; then 5778 if test "${enable_gui-xxx}" = xxx; then
5003 enable_gui=motif 5779 enable_gui=motif
5004 fi 5780 fi
5005 fi 5781 fi
5006 5782
5007 echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5 5783 { $as_echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
5008 echo $ECHO_N "checking --disable-netbeans argument... $ECHO_C" >&6 5784 $as_echo_n "checking --disable-netbeans argument... " >&6; }
5009 # Check whether --enable-netbeans or --disable-netbeans was given. 5785 # Check whether --enable-netbeans was given.
5010 if test "${enable_netbeans+set}" = set; then 5786 if test "${enable_netbeans+set}" = set; then
5011 enableval="$enable_netbeans" 5787 enableval=$enable_netbeans;
5012
5013 else 5788 else
5014 enable_netbeans="yes" 5789 enable_netbeans="yes"
5015 fi; 5790 fi
5791
5016 if test "$enable_netbeans" = "yes"; then 5792 if test "$enable_netbeans" = "yes"; then
5017 echo "$as_me:$LINENO: result: no" >&5 5793 { $as_echo "$as_me:$LINENO: result: no" >&5
5018 echo "${ECHO_T}no" >&6 5794 $as_echo "no" >&6; }
5019 5795
5020 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 5796 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5021 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 5797 $as_echo_n "checking for socket in -lsocket... " >&6; }
5022 if test "${ac_cv_lib_socket_socket+set}" = set; then 5798 if test "${ac_cv_lib_socket_socket+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6 5799 $as_echo_n "(cached) " >&6
5024 else 5800 else
5025 ac_check_lib_save_LIBS=$LIBS 5801 ac_check_lib_save_LIBS=$LIBS
5026 LIBS="-lsocket $LIBS" 5802 LIBS="-lsocket $LIBS"
5027 cat >conftest.$ac_ext <<_ACEOF 5803 cat >conftest.$ac_ext <<_ACEOF
5028 /* confdefs.h. */ 5804 /* confdefs.h. */
5029 _ACEOF 5805 _ACEOF
5030 cat confdefs.h >>conftest.$ac_ext 5806 cat confdefs.h >>conftest.$ac_ext
5031 cat >>conftest.$ac_ext <<_ACEOF 5807 cat >>conftest.$ac_ext <<_ACEOF
5032 /* end confdefs.h. */ 5808 /* end confdefs.h. */
5033 5809
5034 /* Override any gcc2 internal prototype to avoid an error. */ 5810 /* Override any GCC internal prototype to avoid an error.
5811 Use char because int might match the return type of a GCC
5812 builtin and then its argument prototype would still apply. */
5035 #ifdef __cplusplus 5813 #ifdef __cplusplus
5036 extern "C" 5814 extern "C"
5037 #endif 5815 #endif
5038 /* We use char because int might match the return type of a gcc2
5039 builtin and then its argument prototype would still apply. */
5040 char socket (); 5816 char socket ();
5041 int 5817 int
5042 main () 5818 main ()
5043 { 5819 {
5044 socket (); 5820 return socket ();
5045 ; 5821 ;
5046 return 0; 5822 return 0;
5047 } 5823 }
5048 _ACEOF 5824 _ACEOF
5049 rm -f conftest.$ac_objext conftest$ac_exeext 5825 rm -f conftest.$ac_objext conftest$ac_exeext
5050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5826 if { (ac_try="$ac_link"
5051 (eval $ac_link) 2>conftest.er1 5827 case "(($ac_try" in
5828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5829 *) ac_try_echo=$ac_try;;
5830 esac
5831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5832 $as_echo "$ac_try_echo") >&5
5833 (eval "$ac_link") 2>conftest.er1
5052 ac_status=$? 5834 ac_status=$?
5053 grep -v '^ *+' conftest.er1 >conftest.err 5835 grep -v '^ *+' conftest.er1 >conftest.err
5054 rm -f conftest.er1 5836 rm -f conftest.er1
5055 cat conftest.err >&5 5837 cat conftest.err >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); } && 5839 (exit $ac_status); } && {
5058 { ac_try='test -z "$ac_c_werror_flag" 5840 test -z "$ac_c_werror_flag" ||
5059 || test ! -s conftest.err' 5841 test ! -s conftest.err
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5842 } && test -s conftest$ac_exeext && {
5061 (eval $ac_try) 2>&5 5843 test "$cross_compiling" = yes ||
5062 ac_status=$? 5844 $as_test_x conftest$ac_exeext
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5845 }; then
5064 (exit $ac_status); }; } &&
5065 { ac_try='test -s conftest$ac_exeext'
5066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5067 (eval $ac_try) 2>&5
5068 ac_status=$?
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 ac_cv_lib_socket_socket=yes 5846 ac_cv_lib_socket_socket=yes
5072 else 5847 else
5073 echo "$as_me: failed program was:" >&5 5848 $as_echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.$ac_ext >&5 5849 sed 's/^/| /' conftest.$ac_ext >&5
5075 5850
5076 ac_cv_lib_socket_socket=no 5851 ac_cv_lib_socket_socket=no
5077 fi 5852 fi
5078 rm -f conftest.err conftest.$ac_objext \ 5853
5854 rm -rf conftest.dSYM
5855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5079 conftest$ac_exeext conftest.$ac_ext 5856 conftest$ac_exeext conftest.$ac_ext
5080 LIBS=$ac_check_lib_save_LIBS 5857 LIBS=$ac_check_lib_save_LIBS
5081 fi 5858 fi
5082 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 5859 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5083 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 5860 $as_echo "$ac_cv_lib_socket_socket" >&6; }
5084 if test $ac_cv_lib_socket_socket = yes; then 5861 if test $ac_cv_lib_socket_socket = yes; then
5085 cat >>confdefs.h <<_ACEOF 5862 cat >>confdefs.h <<_ACEOF
5086 #define HAVE_LIBSOCKET 1 5863 #define HAVE_LIBSOCKET 1
5087 _ACEOF 5864 _ACEOF
5088 5865
5089 LIBS="-lsocket $LIBS" 5866 LIBS="-lsocket $LIBS"
5090 5867
5091 fi 5868 fi
5092 5869
5093 5870
5094 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 5871 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5095 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 5872 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5096 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 5873 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6 5874 $as_echo_n "(cached) " >&6
5098 else 5875 else
5099 ac_check_lib_save_LIBS=$LIBS 5876 ac_check_lib_save_LIBS=$LIBS
5100 LIBS="-lnsl $LIBS" 5877 LIBS="-lnsl $LIBS"
5101 cat >conftest.$ac_ext <<_ACEOF 5878 cat >conftest.$ac_ext <<_ACEOF
5102 /* confdefs.h. */ 5879 /* confdefs.h. */
5103 _ACEOF 5880 _ACEOF
5104 cat confdefs.h >>conftest.$ac_ext 5881 cat confdefs.h >>conftest.$ac_ext
5105 cat >>conftest.$ac_ext <<_ACEOF 5882 cat >>conftest.$ac_ext <<_ACEOF
5106 /* end confdefs.h. */ 5883 /* end confdefs.h. */
5107 5884
5108 /* Override any gcc2 internal prototype to avoid an error. */ 5885 /* Override any GCC internal prototype to avoid an error.
5886 Use char because int might match the return type of a GCC
5887 builtin and then its argument prototype would still apply. */
5109 #ifdef __cplusplus 5888 #ifdef __cplusplus
5110 extern "C" 5889 extern "C"
5111 #endif 5890 #endif
5112 /* We use char because int might match the return type of a gcc2
5113 builtin and then its argument prototype would still apply. */
5114 char gethostbyname (); 5891 char gethostbyname ();
5115 int 5892 int
5116 main () 5893 main ()
5117 { 5894 {
5118 gethostbyname (); 5895 return gethostbyname ();
5119 ; 5896 ;
5120 return 0; 5897 return 0;
5121 } 5898 }
5122 _ACEOF 5899 _ACEOF
5123 rm -f conftest.$ac_objext conftest$ac_exeext 5900 rm -f conftest.$ac_objext conftest$ac_exeext
5124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5901 if { (ac_try="$ac_link"
5125 (eval $ac_link) 2>conftest.er1 5902 case "(($ac_try" in
5903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5904 *) ac_try_echo=$ac_try;;
5905 esac
5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5907 $as_echo "$ac_try_echo") >&5
5908 (eval "$ac_link") 2>conftest.er1
5126 ac_status=$? 5909 ac_status=$?
5127 grep -v '^ *+' conftest.er1 >conftest.err 5910 grep -v '^ *+' conftest.er1 >conftest.err
5128 rm -f conftest.er1 5911 rm -f conftest.er1
5129 cat conftest.err >&5 5912 cat conftest.err >&5
5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131 (exit $ac_status); } && 5914 (exit $ac_status); } && {
5132 { ac_try='test -z "$ac_c_werror_flag" 5915 test -z "$ac_c_werror_flag" ||
5133 || test ! -s conftest.err' 5916 test ! -s conftest.err
5134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5917 } && test -s conftest$ac_exeext && {
5135 (eval $ac_try) 2>&5 5918 test "$cross_compiling" = yes ||
5136 ac_status=$? 5919 $as_test_x conftest$ac_exeext
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5920 }; then
5138 (exit $ac_status); }; } &&
5139 { ac_try='test -s conftest$ac_exeext'
5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5141 (eval $ac_try) 2>&5
5142 ac_status=$?
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; }; then
5145 ac_cv_lib_nsl_gethostbyname=yes 5921 ac_cv_lib_nsl_gethostbyname=yes
5146 else 5922 else
5147 echo "$as_me: failed program was:" >&5 5923 $as_echo "$as_me: failed program was:" >&5
5148 sed 's/^/| /' conftest.$ac_ext >&5 5924 sed 's/^/| /' conftest.$ac_ext >&5
5149 5925
5150 ac_cv_lib_nsl_gethostbyname=no 5926 ac_cv_lib_nsl_gethostbyname=no
5151 fi 5927 fi
5152 rm -f conftest.err conftest.$ac_objext \ 5928
5929 rm -rf conftest.dSYM
5930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5153 conftest$ac_exeext conftest.$ac_ext 5931 conftest$ac_exeext conftest.$ac_ext
5154 LIBS=$ac_check_lib_save_LIBS 5932 LIBS=$ac_check_lib_save_LIBS
5155 fi 5933 fi
5156 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 5934 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5157 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 5935 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5158 if test $ac_cv_lib_nsl_gethostbyname = yes; then 5936 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5159 cat >>confdefs.h <<_ACEOF 5937 cat >>confdefs.h <<_ACEOF
5160 #define HAVE_LIBNSL 1 5938 #define HAVE_LIBNSL 1
5161 _ACEOF 5939 _ACEOF
5162 5940
5163 LIBS="-lnsl $LIBS" 5941 LIBS="-lnsl $LIBS"
5164 5942
5165 fi 5943 fi
5166 5944
5167 echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5 5945 { $as_echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
5168 echo $ECHO_N "checking whether compiling netbeans integration is possible... $ECHO_C" >&6 5946 $as_echo_n "checking whether compiling netbeans integration is possible... " >&6; }
5169 cat >conftest.$ac_ext <<_ACEOF 5947 cat >conftest.$ac_ext <<_ACEOF
5170 /* confdefs.h. */ 5948 /* confdefs.h. */
5171 _ACEOF 5949 _ACEOF
5172 cat confdefs.h >>conftest.$ac_ext 5950 cat confdefs.h >>conftest.$ac_ext
5173 cat >>conftest.$ac_ext <<_ACEOF 5951 cat >>conftest.$ac_ext <<_ACEOF
5203 ; 5981 ;
5204 return 0; 5982 return 0;
5205 } 5983 }
5206 _ACEOF 5984 _ACEOF
5207 rm -f conftest.$ac_objext conftest$ac_exeext 5985 rm -f conftest.$ac_objext conftest$ac_exeext
5208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5986 if { (ac_try="$ac_link"
5209 (eval $ac_link) 2>conftest.er1 5987 case "(($ac_try" in
5988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5989 *) ac_try_echo=$ac_try;;
5990 esac
5991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5992 $as_echo "$ac_try_echo") >&5
5993 (eval "$ac_link") 2>conftest.er1
5210 ac_status=$? 5994 ac_status=$?
5211 grep -v '^ *+' conftest.er1 >conftest.err 5995 grep -v '^ *+' conftest.er1 >conftest.err
5212 rm -f conftest.er1 5996 rm -f conftest.er1
5213 cat conftest.err >&5 5997 cat conftest.err >&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } && 5999 (exit $ac_status); } && {
5216 { ac_try='test -z "$ac_c_werror_flag" 6000 test -z "$ac_c_werror_flag" ||
5217 || test ! -s conftest.err' 6001 test ! -s conftest.err
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6002 } && test -s conftest$ac_exeext && {
5219 (eval $ac_try) 2>&5 6003 test "$cross_compiling" = yes ||
5220 ac_status=$? 6004 $as_test_x conftest$ac_exeext
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6005 }; then
5222 (exit $ac_status); }; } && 6006 { $as_echo "$as_me:$LINENO: result: yes" >&5
5223 { ac_try='test -s conftest$ac_exeext' 6007 $as_echo "yes" >&6; }
5224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6008 else
5225 (eval $ac_try) 2>&5 6009 $as_echo "$as_me: failed program was:" >&5
5226 ac_status=$?
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 echo "$as_me:$LINENO: result: yes" >&5
5230 echo "${ECHO_T}yes" >&6
5231 else
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5 6010 sed 's/^/| /' conftest.$ac_ext >&5
5234 6011
5235 echo "$as_me:$LINENO: result: no" >&5 6012 { $as_echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6; enable_netbeans="no" 6013 $as_echo "no" >&6; }; enable_netbeans="no"
5237 fi 6014 fi
5238 rm -f conftest.err conftest.$ac_objext \ 6015
6016 rm -rf conftest.dSYM
6017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5239 conftest$ac_exeext conftest.$ac_ext 6018 conftest$ac_exeext conftest.$ac_ext
5240 else 6019 else
5241 echo "$as_me:$LINENO: result: yes" >&5 6020 { $as_echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6 6021 $as_echo "yes" >&6; }
5243 fi 6022 fi
5244 if test "$enable_netbeans" = "yes"; then 6023 if test "$enable_netbeans" = "yes"; then
5245 cat >>confdefs.h <<\_ACEOF 6024 cat >>confdefs.h <<\_ACEOF
5246 #define FEAT_NETBEANS_INTG 1 6025 #define FEAT_NETBEANS_INTG 1
5247 _ACEOF 6026 _ACEOF
5250 6029
5251 NETBEANS_OBJ="objects/netbeans.o" 6030 NETBEANS_OBJ="objects/netbeans.o"
5252 6031
5253 fi 6032 fi
5254 6033
5255 echo "$as_me:$LINENO: checking --enable-sniff argument" >&5 6034 { $as_echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
5256 echo $ECHO_N "checking --enable-sniff argument... $ECHO_C" >&6 6035 $as_echo_n "checking --enable-sniff argument... " >&6; }
5257 # Check whether --enable-sniff or --disable-sniff was given. 6036 # Check whether --enable-sniff was given.
5258 if test "${enable_sniff+set}" = set; then 6037 if test "${enable_sniff+set}" = set; then
5259 enableval="$enable_sniff" 6038 enableval=$enable_sniff;
5260
5261 else 6039 else
5262 enable_sniff="no" 6040 enable_sniff="no"
5263 fi; 6041 fi
5264 echo "$as_me:$LINENO: result: $enable_sniff" >&5 6042
5265 echo "${ECHO_T}$enable_sniff" >&6 6043 { $as_echo "$as_me:$LINENO: result: $enable_sniff" >&5
6044 $as_echo "$enable_sniff" >&6; }
5266 if test "$enable_sniff" = "yes"; then 6045 if test "$enable_sniff" = "yes"; then
5267 cat >>confdefs.h <<\_ACEOF 6046 cat >>confdefs.h <<\_ACEOF
5268 #define FEAT_SNIFF 1 6047 #define FEAT_SNIFF 1
5269 _ACEOF 6048 _ACEOF
5270 6049
5272 6051
5273 SNIFF_OBJ="objects/if_sniff.o" 6052 SNIFF_OBJ="objects/if_sniff.o"
5274 6053
5275 fi 6054 fi
5276 6055
5277 echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5 6056 { $as_echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
5278 echo $ECHO_N "checking --enable-multibyte argument... $ECHO_C" >&6 6057 $as_echo_n "checking --enable-multibyte argument... " >&6; }
5279 # Check whether --enable-multibyte or --disable-multibyte was given. 6058 # Check whether --enable-multibyte was given.
5280 if test "${enable_multibyte+set}" = set; then 6059 if test "${enable_multibyte+set}" = set; then
5281 enableval="$enable_multibyte" 6060 enableval=$enable_multibyte;
5282
5283 else 6061 else
5284 enable_multibyte="no" 6062 enable_multibyte="no"
5285 fi; 6063 fi
5286 echo "$as_me:$LINENO: result: $enable_multibyte" >&5 6064
5287 echo "${ECHO_T}$enable_multibyte" >&6 6065 { $as_echo "$as_me:$LINENO: result: $enable_multibyte" >&5
6066 $as_echo "$enable_multibyte" >&6; }
5288 if test "$enable_multibyte" = "yes"; then 6067 if test "$enable_multibyte" = "yes"; then
5289 cat >>confdefs.h <<\_ACEOF 6068 cat >>confdefs.h <<\_ACEOF
5290 #define FEAT_MBYTE 1 6069 #define FEAT_MBYTE 1
5291 _ACEOF 6070 _ACEOF
5292 6071
5293 fi 6072 fi
5294 6073
5295 echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5 6074 { $as_echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
5296 echo $ECHO_N "checking --enable-hangulinput argument... $ECHO_C" >&6 6075 $as_echo_n "checking --enable-hangulinput argument... " >&6; }
5297 # Check whether --enable-hangulinput or --disable-hangulinput was given. 6076 # Check whether --enable-hangulinput was given.
5298 if test "${enable_hangulinput+set}" = set; then 6077 if test "${enable_hangulinput+set}" = set; then
5299 enableval="$enable_hangulinput" 6078 enableval=$enable_hangulinput;
5300
5301 else 6079 else
5302 enable_hangulinput="no" 6080 enable_hangulinput="no"
5303 fi; 6081 fi
5304 echo "$as_me:$LINENO: result: $enable_hangulinput" >&5 6082
5305 echo "${ECHO_T}$enable_hangulinput" >&6 6083 { $as_echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
5306 6084 $as_echo "$enable_hangulinput" >&6; }
5307 echo "$as_me:$LINENO: checking --enable-xim argument" >&5 6085
5308 echo $ECHO_N "checking --enable-xim argument... $ECHO_C" >&6 6086 { $as_echo "$as_me:$LINENO: checking --enable-xim argument" >&5
5309 # Check whether --enable-xim or --disable-xim was given. 6087 $as_echo_n "checking --enable-xim argument... " >&6; }
6088 # Check whether --enable-xim was given.
5310 if test "${enable_xim+set}" = set; then 6089 if test "${enable_xim+set}" = set; then
5311 enableval="$enable_xim" 6090 enableval=$enable_xim; { $as_echo "$as_me:$LINENO: result: $enable_xim" >&5
5312 echo "$as_me:$LINENO: result: $enable_xim" >&5 6091 $as_echo "$enable_xim" >&6; }
5313 echo "${ECHO_T}$enable_xim" >&6 6092 else
5314 else 6093 enable_xim="auto"; { $as_echo "$as_me:$LINENO: result: defaulting to auto" >&5
5315 enable_xim="auto"; echo "$as_me:$LINENO: result: defaulting to auto" >&5 6094 $as_echo "defaulting to auto" >&6; }
5316 echo "${ECHO_T}defaulting to auto" >&6 6095 fi
5317 fi; 6096
5318 6097
5319 echo "$as_me:$LINENO: checking --enable-fontset argument" >&5 6098 { $as_echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
5320 echo $ECHO_N "checking --enable-fontset argument... $ECHO_C" >&6 6099 $as_echo_n "checking --enable-fontset argument... " >&6; }
5321 # Check whether --enable-fontset or --disable-fontset was given. 6100 # Check whether --enable-fontset was given.
5322 if test "${enable_fontset+set}" = set; then 6101 if test "${enable_fontset+set}" = set; then
5323 enableval="$enable_fontset" 6102 enableval=$enable_fontset;
5324
5325 else 6103 else
5326 enable_fontset="no" 6104 enable_fontset="no"
5327 fi; 6105 fi
5328 echo "$as_me:$LINENO: result: $enable_fontset" >&5 6106
5329 echo "${ECHO_T}$enable_fontset" >&6 6107 { $as_echo "$as_me:$LINENO: result: $enable_fontset" >&5
6108 $as_echo "$enable_fontset" >&6; }
5330 6109
5331 test -z "$with_x" && with_x=yes 6110 test -z "$with_x" && with_x=yes
5332 test "${enable_gui-yes}" != no -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x=yes 6111 test "${enable_gui-yes}" != no -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x=yes
5333 if test "$with_x" = no; then 6112 if test "$with_x" = no; then
5334 echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5 6113 { $as_echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
5335 echo "${ECHO_T}defaulting to: don't HAVE_X11" >&6 6114 $as_echo "defaulting to: don't HAVE_X11" >&6; }
5336 else 6115 else
5337 6116
5338 # Extract the first word of "xmkmf", so it can be a program name with args. 6117 # Extract the first word of "xmkmf", so it can be a program name with args.
5339 set dummy xmkmf; ac_word=$2 6118 set dummy xmkmf; ac_word=$2
5340 echo "$as_me:$LINENO: checking for $ac_word" >&5 6119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6120 $as_echo_n "checking for $ac_word... " >&6; }
5342 if test "${ac_cv_path_xmkmfpath+set}" = set; then 6121 if test "${ac_cv_path_xmkmfpath+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6 6122 $as_echo_n "(cached) " >&6
5344 else 6123 else
5345 case $xmkmfpath in 6124 case $xmkmfpath in
5346 [\\/]* | ?:[\\/]*) 6125 [\\/]* | ?:[\\/]*)
5347 ac_cv_path_xmkmfpath="$xmkmfpath" # Let the user override the test with a path. 6126 ac_cv_path_xmkmfpath="$xmkmfpath" # Let the user override the test with a path.
5348 ;; 6127 ;;
5351 for as_dir in $PATH 6130 for as_dir in $PATH
5352 do 6131 do
5353 IFS=$as_save_IFS 6132 IFS=$as_save_IFS
5354 test -z "$as_dir" && as_dir=. 6133 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do 6134 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357 ac_cv_path_xmkmfpath="$as_dir/$ac_word$ac_exec_ext" 6136 ac_cv_path_xmkmfpath="$as_dir/$ac_word$ac_exec_ext"
5358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 break 2 6138 break 2
5360 fi 6139 fi
5361 done 6140 done
5362 done 6141 done
6142 IFS=$as_save_IFS
5363 6143
5364 ;; 6144 ;;
5365 esac 6145 esac
5366 fi 6146 fi
5367 xmkmfpath=$ac_cv_path_xmkmfpath 6147 xmkmfpath=$ac_cv_path_xmkmfpath
5368
5369 if test -n "$xmkmfpath"; then 6148 if test -n "$xmkmfpath"; then
5370 echo "$as_me:$LINENO: result: $xmkmfpath" >&5 6149 { $as_echo "$as_me:$LINENO: result: $xmkmfpath" >&5
5371 echo "${ECHO_T}$xmkmfpath" >&6 6150 $as_echo "$xmkmfpath" >&6; }
5372 else 6151 else
5373 echo "$as_me:$LINENO: result: no" >&5 6152 { $as_echo "$as_me:$LINENO: result: no" >&5
5374 echo "${ECHO_T}no" >&6 6153 $as_echo "no" >&6; }
5375 fi 6154 fi
5376 6155
5377 6156
5378 echo "$as_me:$LINENO: checking for X" >&5 6157
5379 echo $ECHO_N "checking for X... $ECHO_C" >&6 6158 { $as_echo "$as_me:$LINENO: checking for X" >&5
5380 6159 $as_echo_n "checking for X... " >&6; }
5381 6160
5382 # Check whether --with-x or --without-x was given. 6161
6162 # Check whether --with-x was given.
5383 if test "${with_x+set}" = set; then 6163 if test "${with_x+set}" = set; then
5384 withval="$with_x" 6164 withval=$with_x;
5385 6165 fi
5386 fi; 6166
5387 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. 6167 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5388 if test "x$with_x" = xno; then 6168 if test "x$with_x" = xno; then
5389 # The user explicitly disabled X. 6169 # The user explicitly disabled X.
5390 have_x=disabled 6170 have_x=disabled
5391 else 6171 else
5392 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then 6172 case $x_includes,$x_libraries in #(
5393 # Both variables are already set. 6173 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
5394 have_x=yes 6174 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
5395 else 6175 { (exit 1); exit 1; }; };; #(
5396 if test "${ac_cv_have_x+set}" = set; then 6176 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6 6177 $as_echo_n "(cached) " >&6
5398 else 6178 else
5399 # One or both of the vars are not set, and there is no cached value. 6179 # One or both of the vars are not set, and there is no cached value.
5400 ac_x_includes=no ac_x_libraries=no 6180 ac_x_includes=no ac_x_libraries=no
5401 rm -fr conftest.dir 6181 rm -f -r conftest.dir
5402 if mkdir conftest.dir; then 6182 if mkdir conftest.dir; then
5403 cd conftest.dir 6183 cd conftest.dir
5404 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5405 cat >Imakefile <<'_ACEOF' 6184 cat >Imakefile <<'_ACEOF'
5406 acfindx: 6185 incroot:
5407 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' 6186 @echo incroot='${INCROOT}'
5408 _ACEOF 6187 usrlibdir:
5409 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then 6188 @echo usrlibdir='${USRLIBDIR}'
6189 libdir:
6190 @echo libdir='${LIBDIR}'
6191 _ACEOF
6192 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
5410 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 6193 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5411 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` 6194 for ac_var in incroot usrlibdir libdir; do
6195 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6196 done
5412 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 6197 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5413 for ac_extension in a so sl; do 6198 for ac_extension in a so sl dylib la dll; do
5414 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && 6199 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5415 test -f $ac_im_libdir/libX11.$ac_extension; then 6200 test -f "$ac_im_libdir/libX11.$ac_extension"; then
5416 ac_im_usrlibdir=$ac_im_libdir; break 6201 ac_im_usrlibdir=$ac_im_libdir; break
5417 fi 6202 fi
5418 done 6203 done
5419 # Screen out bogus values from the imake configuration. They are 6204 # Screen out bogus values from the imake configuration. They are
5420 # bogus both because they are the default anyway, and because 6205 # bogus both because they are the default anyway, and because
5421 # using them would break gcc on systems where it needs fixed includes. 6206 # using them would break gcc on systems where it needs fixed includes.
5422 case $ac_im_incroot in 6207 case $ac_im_incroot in
5423 /usr/include) ;; 6208 /usr/include) ac_x_includes= ;;
5424 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 6209 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5425 esac 6210 esac
5426 case $ac_im_usrlibdir in 6211 case $ac_im_usrlibdir in
5427 /usr/lib | /lib) ;; 6212 /usr/lib | /lib) ;;
5428 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 6213 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5429 esac 6214 esac
5430 fi 6215 fi
5431 cd .. 6216 cd ..
5432 rm -fr conftest.dir 6217 rm -f -r conftest.dir
5433 fi 6218 fi
5434 6219
5435 # Standard set of common directories for X headers. 6220 # Standard set of common directories for X headers.
5436 # Check X11 before X11Rn because it is often a symlink to the current release. 6221 # Check X11 before X11Rn because it is often a symlink to the current release.
5437 ac_x_header_dirs=' 6222 ac_x_header_dirs='
5468 6253
5469 /usr/openwin/include 6254 /usr/openwin/include
5470 /usr/openwin/share/include' 6255 /usr/openwin/share/include'
5471 6256
5472 if test "$ac_x_includes" = no; then 6257 if test "$ac_x_includes" = no; then
5473 # Guess where to find include files, by looking for Intrinsic.h. 6258 # Guess where to find include files, by looking for Xlib.h.
5474 # First, try using that file with no special directory specified. 6259 # First, try using that file with no special directory specified.
5475 cat >conftest.$ac_ext <<_ACEOF 6260 cat >conftest.$ac_ext <<_ACEOF
5476 /* confdefs.h. */ 6261 /* confdefs.h. */
5477 _ACEOF 6262 _ACEOF
5478 cat confdefs.h >>conftest.$ac_ext 6263 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF 6264 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */ 6265 /* end confdefs.h. */
5481 #include <X11/Intrinsic.h> 6266 #include <X11/Xlib.h>
5482 _ACEOF 6267 _ACEOF
5483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6268 if { (ac_try="$ac_cpp conftest.$ac_ext"
5484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6269 case "(($ac_try" in
6270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6271 *) ac_try_echo=$ac_try;;
6272 esac
6273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6274 $as_echo "$ac_try_echo") >&5
6275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5485 ac_status=$? 6276 ac_status=$?
5486 grep -v '^ *+' conftest.er1 >conftest.err 6277 grep -v '^ *+' conftest.er1 >conftest.err
5487 rm -f conftest.er1 6278 rm -f conftest.er1
5488 cat conftest.err >&5 6279 cat conftest.err >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } >/dev/null; then 6281 (exit $ac_status); } >/dev/null && {
5491 if test -s conftest.err; then 6282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5492 ac_cpp_err=$ac_c_preproc_warn_flag 6283 test ! -s conftest.err
5493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6284 }; then
5494 else
5495 ac_cpp_err=
5496 fi
5497 else
5498 ac_cpp_err=yes
5499 fi
5500 if test -z "$ac_cpp_err"; then
5501 # We can compile using X headers with no special include directory. 6285 # We can compile using X headers with no special include directory.
5502 ac_x_includes= 6286 ac_x_includes=
5503 else 6287 else
5504 echo "$as_me: failed program was:" >&5 6288 $as_echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.$ac_ext >&5 6289 sed 's/^/| /' conftest.$ac_ext >&5
5506 6290
5507 for ac_dir in $ac_x_header_dirs; do 6291 for ac_dir in $ac_x_header_dirs; do
5508 if test -r "$ac_dir/X11/Intrinsic.h"; then 6292 if test -r "$ac_dir/X11/Xlib.h"; then
5509 ac_x_includes=$ac_dir 6293 ac_x_includes=$ac_dir
5510 break 6294 break
5511 fi 6295 fi
5512 done 6296 done
5513 fi 6297 fi
6298
5514 rm -f conftest.err conftest.$ac_ext 6299 rm -f conftest.err conftest.$ac_ext
5515 fi # $ac_x_includes = no 6300 fi # $ac_x_includes = no
5516 6301
5517 if test "$ac_x_libraries" = no; then 6302 if test "$ac_x_libraries" = no; then
5518 # Check for the libraries. 6303 # Check for the libraries.
5519 # See if we find them without any special options. 6304 # See if we find them without any special options.
5520 # Don't add to $LIBS permanently. 6305 # Don't add to $LIBS permanently.
5521 ac_save_LIBS=$LIBS 6306 ac_save_LIBS=$LIBS
5522 LIBS="-lXt $LIBS" 6307 LIBS="-lX11 $LIBS"
5523 cat >conftest.$ac_ext <<_ACEOF 6308 cat >conftest.$ac_ext <<_ACEOF
5524 /* confdefs.h. */ 6309 /* confdefs.h. */
5525 _ACEOF 6310 _ACEOF
5526 cat confdefs.h >>conftest.$ac_ext 6311 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF 6312 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */ 6313 /* end confdefs.h. */
5529 #include <X11/Intrinsic.h> 6314 #include <X11/Xlib.h>
5530 int 6315 int
5531 main () 6316 main ()
5532 { 6317 {
5533 XtMalloc (0) 6318 XrmInitialize ()
5534 ; 6319 ;
5535 return 0; 6320 return 0;
5536 } 6321 }
5537 _ACEOF 6322 _ACEOF
5538 rm -f conftest.$ac_objext conftest$ac_exeext 6323 rm -f conftest.$ac_objext conftest$ac_exeext
5539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6324 if { (ac_try="$ac_link"
5540 (eval $ac_link) 2>conftest.er1 6325 case "(($ac_try" in
6326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327 *) ac_try_echo=$ac_try;;
6328 esac
6329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6330 $as_echo "$ac_try_echo") >&5
6331 (eval "$ac_link") 2>conftest.er1
5541 ac_status=$? 6332 ac_status=$?
5542 grep -v '^ *+' conftest.er1 >conftest.err 6333 grep -v '^ *+' conftest.er1 >conftest.err
5543 rm -f conftest.er1 6334 rm -f conftest.er1
5544 cat conftest.err >&5 6335 cat conftest.err >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } && 6337 (exit $ac_status); } && {
5547 { ac_try='test -z "$ac_c_werror_flag" 6338 test -z "$ac_c_werror_flag" ||
5548 || test ! -s conftest.err' 6339 test ! -s conftest.err
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6340 } && test -s conftest$ac_exeext && {
5550 (eval $ac_try) 2>&5 6341 test "$cross_compiling" = yes ||
5551 ac_status=$? 6342 $as_test_x conftest$ac_exeext
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 }; then
5553 (exit $ac_status); }; } &&
5554 { ac_try='test -s conftest$ac_exeext'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556 (eval $ac_try) 2>&5
5557 ac_status=$?
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; }; then
5560 LIBS=$ac_save_LIBS 6344 LIBS=$ac_save_LIBS
5561 # We can link X programs with no special library path. 6345 # We can link X programs with no special library path.
5562 ac_x_libraries= 6346 ac_x_libraries=
5563 else 6347 else
5564 echo "$as_me: failed program was:" >&5 6348 $as_echo "$as_me: failed program was:" >&5
5565 sed 's/^/| /' conftest.$ac_ext >&5 6349 sed 's/^/| /' conftest.$ac_ext >&5
5566 6350
5567 LIBS=$ac_save_LIBS 6351 LIBS=$ac_save_LIBS
5568 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 6352 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5569 do 6353 do
5570 # Don't even attempt the hair of trying to link an X program! 6354 # Don't even attempt the hair of trying to link an X program!
5571 for ac_extension in a so sl; do 6355 for ac_extension in a so sl dylib la dll; do
5572 if test -r $ac_dir/libXt.$ac_extension; then 6356 if test -r "$ac_dir/libX11.$ac_extension"; then
5573 ac_x_libraries=$ac_dir 6357 ac_x_libraries=$ac_dir
5574 break 2 6358 break 2
5575 fi 6359 fi
5576 done 6360 done
5577 done 6361 done
5578 fi 6362 fi
5579 rm -f conftest.err conftest.$ac_objext \ 6363
6364 rm -rf conftest.dSYM
6365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5580 conftest$ac_exeext conftest.$ac_ext 6366 conftest$ac_exeext conftest.$ac_ext
5581 fi # $ac_x_libraries = no 6367 fi # $ac_x_libraries = no
5582 6368
5583 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then 6369 case $ac_x_includes,$ac_x_libraries in #(
5584 # Didn't find X anywhere. Cache the known absence of X. 6370 no,* | *,no | *\'*)
5585 ac_cv_have_x="have_x=no" 6371 # Didn't find X, or a directory has "'" in its name.
5586 else 6372 ac_cv_have_x="have_x=no";; #(
5587 # Record where we found X for the cache. 6373 *)
5588 ac_cv_have_x="have_x=yes \ 6374 # Record where we found X for the cache.
5589 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" 6375 ac_cv_have_x="have_x=yes\
5590 fi 6376 ac_x_includes='$ac_x_includes'\
5591 fi 6377 ac_x_libraries='$ac_x_libraries'"
5592 6378 esac
5593 fi 6379 fi
6380 ;; #(
6381 *) have_x=yes;;
6382 esac
5594 eval "$ac_cv_have_x" 6383 eval "$ac_cv_have_x"
5595 fi # $with_x != no 6384 fi # $with_x != no
5596 6385
5597 if test "$have_x" != yes; then 6386 if test "$have_x" != yes; then
5598 echo "$as_me:$LINENO: result: $have_x" >&5 6387 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
5599 echo "${ECHO_T}$have_x" >&6 6388 $as_echo "$have_x" >&6; }
5600 no_x=yes 6389 no_x=yes
5601 else 6390 else
5602 # If each of the values was on the command line, it overrides each guess. 6391 # If each of the values was on the command line, it overrides each guess.
5603 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 6392 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5604 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 6393 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5605 # Update the cache value to reflect the command line values. 6394 # Update the cache value to reflect the command line values.
5606 ac_cv_have_x="have_x=yes \ 6395 ac_cv_have_x="have_x=yes\
5607 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 6396 ac_x_includes='$x_includes'\
5608 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 6397 ac_x_libraries='$x_libraries'"
5609 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 6398 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6399 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5610 fi 6400 fi
5611 6401
5612 if test "$no_x" = yes; then 6402 if test "$no_x" = yes; then
5613 # Not all programs may use this symbol, but it does not hurt to define it. 6403 # Not all programs may use this symbol, but it does not hurt to define it.
5614 6404
5625 # It would also be nice to do this for all -L options, not just this one. 6415 # It would also be nice to do this for all -L options, not just this one.
5626 if test -n "$x_libraries"; then 6416 if test -n "$x_libraries"; then
5627 X_LIBS="$X_LIBS -L$x_libraries" 6417 X_LIBS="$X_LIBS -L$x_libraries"
5628 # For Solaris; some versions of Sun CC require a space after -R and 6418 # For Solaris; some versions of Sun CC require a space after -R and
5629 # others require no space. Words are not sufficient . . . . 6419 # others require no space. Words are not sufficient . . . .
5630 case `(uname -sr) 2>/dev/null` in 6420 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5631 "SunOS 5"*) 6421 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
5632 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 6422 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5633 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 6423 ac_xsave_c_werror_flag=$ac_c_werror_flag
5634 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 6424 ac_c_werror_flag=yes
5635 cat >conftest.$ac_ext <<_ACEOF 6425 cat >conftest.$ac_ext <<_ACEOF
5636 /* confdefs.h. */ 6426 /* confdefs.h. */
5637 _ACEOF 6427 _ACEOF
5638 cat confdefs.h >>conftest.$ac_ext 6428 cat confdefs.h >>conftest.$ac_ext
5639 cat >>conftest.$ac_ext <<_ACEOF 6429 cat >>conftest.$ac_ext <<_ACEOF
5640 /* end confdefs.h. */ 6430 /* end confdefs.h. */
5646 ; 6436 ;
5647 return 0; 6437 return 0;
5648 } 6438 }
5649 _ACEOF 6439 _ACEOF
5650 rm -f conftest.$ac_objext conftest$ac_exeext 6440 rm -f conftest.$ac_objext conftest$ac_exeext
5651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6441 if { (ac_try="$ac_link"
5652 (eval $ac_link) 2>conftest.er1 6442 case "(($ac_try" in
6443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6444 *) ac_try_echo=$ac_try;;
6445 esac
6446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6447 $as_echo "$ac_try_echo") >&5
6448 (eval "$ac_link") 2>conftest.er1
5653 ac_status=$? 6449 ac_status=$?
5654 grep -v '^ *+' conftest.er1 >conftest.err 6450 grep -v '^ *+' conftest.er1 >conftest.err
5655 rm -f conftest.er1 6451 rm -f conftest.er1
5656 cat conftest.err >&5 6452 cat conftest.err >&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); } && 6454 (exit $ac_status); } && {
5659 { ac_try='test -z "$ac_c_werror_flag" 6455 test -z "$ac_c_werror_flag" ||
5660 || test ! -s conftest.err' 6456 test ! -s conftest.err
5661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6457 } && test -s conftest$ac_exeext && {
5662 (eval $ac_try) 2>&5 6458 test "$cross_compiling" = yes ||
5663 ac_status=$? 6459 $as_test_x conftest$ac_exeext
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6460 }; then
5665 (exit $ac_status); }; } && 6461 { $as_echo "$as_me:$LINENO: result: no" >&5
5666 { ac_try='test -s conftest$ac_exeext' 6462 $as_echo "no" >&6; }
5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6463 X_LIBS="$X_LIBS -R$x_libraries"
5668 (eval $ac_try) 2>&5 6464 else
5669 ac_status=$? 6465 $as_echo "$as_me: failed program was:" >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); }; }; then
5672 ac_R_nospace=yes
5673 else
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.$ac_ext >&5 6466 sed 's/^/| /' conftest.$ac_ext >&5
5676 6467
5677 ac_R_nospace=no
5678 fi
5679 rm -f conftest.err conftest.$ac_objext \
5680 conftest$ac_exeext conftest.$ac_ext
5681 if test $ac_R_nospace = yes; then
5682 echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6
5684 X_LIBS="$X_LIBS -R$x_libraries"
5685 else
5686 LIBS="$ac_xsave_LIBS -R $x_libraries" 6468 LIBS="$ac_xsave_LIBS -R $x_libraries"
5687 cat >conftest.$ac_ext <<_ACEOF 6469 cat >conftest.$ac_ext <<_ACEOF
5688 /* confdefs.h. */ 6470 /* confdefs.h. */
5689 _ACEOF 6471 _ACEOF
5690 cat confdefs.h >>conftest.$ac_ext 6472 cat confdefs.h >>conftest.$ac_ext
5691 cat >>conftest.$ac_ext <<_ACEOF 6473 cat >>conftest.$ac_ext <<_ACEOF
5692 /* end confdefs.h. */ 6474 /* end confdefs.h. */
5698 ; 6480 ;
5699 return 0; 6481 return 0;
5700 } 6482 }
5701 _ACEOF 6483 _ACEOF
5702 rm -f conftest.$ac_objext conftest$ac_exeext 6484 rm -f conftest.$ac_objext conftest$ac_exeext
5703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6485 if { (ac_try="$ac_link"
5704 (eval $ac_link) 2>conftest.er1 6486 case "(($ac_try" in
6487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6488 *) ac_try_echo=$ac_try;;
6489 esac
6490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6491 $as_echo "$ac_try_echo") >&5
6492 (eval "$ac_link") 2>conftest.er1
5705 ac_status=$? 6493 ac_status=$?
5706 grep -v '^ *+' conftest.er1 >conftest.err 6494 grep -v '^ *+' conftest.er1 >conftest.err
5707 rm -f conftest.er1 6495 rm -f conftest.er1
5708 cat conftest.err >&5 6496 cat conftest.err >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); } && 6498 (exit $ac_status); } && {
5711 { ac_try='test -z "$ac_c_werror_flag" 6499 test -z "$ac_c_werror_flag" ||
5712 || test ! -s conftest.err' 6500 test ! -s conftest.err
5713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6501 } && test -s conftest$ac_exeext && {
5714 (eval $ac_try) 2>&5 6502 test "$cross_compiling" = yes ||
5715 ac_status=$? 6503 $as_test_x conftest$ac_exeext
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6504 }; then
5717 (exit $ac_status); }; } && 6505 { $as_echo "$as_me:$LINENO: result: yes" >&5
5718 { ac_try='test -s conftest$ac_exeext' 6506 $as_echo "yes" >&6; }
5719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6507 X_LIBS="$X_LIBS -R $x_libraries"
5720 (eval $ac_try) 2>&5 6508 else
5721 ac_status=$? 6509 $as_echo "$as_me: failed program was:" >&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); }; }; then
5724 ac_R_space=yes
5725 else
5726 echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.$ac_ext >&5 6510 sed 's/^/| /' conftest.$ac_ext >&5
5728 6511
5729 ac_R_space=no 6512 { $as_echo "$as_me:$LINENO: result: neither works" >&5
5730 fi 6513 $as_echo "neither works" >&6; }
5731 rm -f conftest.err conftest.$ac_objext \ 6514 fi
6515
6516 rm -rf conftest.dSYM
6517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5732 conftest$ac_exeext conftest.$ac_ext 6518 conftest$ac_exeext conftest.$ac_ext
5733 if test $ac_R_space = yes; then 6519 fi
5734 echo "$as_me:$LINENO: result: yes" >&5 6520
5735 echo "${ECHO_T}yes" >&6 6521 rm -rf conftest.dSYM
5736 X_LIBS="$X_LIBS -R $x_libraries" 6522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5737 else 6523 conftest$ac_exeext conftest.$ac_ext
5738 echo "$as_me:$LINENO: result: neither works" >&5 6524 ac_c_werror_flag=$ac_xsave_c_werror_flag
5739 echo "${ECHO_T}neither works" >&6 6525 LIBS=$ac_xsave_LIBS
5740 fi
5741 fi
5742 LIBS=$ac_xsave_LIBS
5743 esac
5744 fi 6526 fi
5745 6527
5746 # Check for system-dependent libraries X programs must link with. 6528 # Check for system-dependent libraries X programs must link with.
5747 # Do this before checking for the system-independent R6 libraries 6529 # Do this before checking for the system-independent R6 libraries
5748 # (-lICE), since we may need -lsocket or whatever for X linking. 6530 # (-lICE), since we may need -lsocket or whatever for X linking.
5759 _ACEOF 6541 _ACEOF
5760 cat confdefs.h >>conftest.$ac_ext 6542 cat confdefs.h >>conftest.$ac_ext
5761 cat >>conftest.$ac_ext <<_ACEOF 6543 cat >>conftest.$ac_ext <<_ACEOF
5762 /* end confdefs.h. */ 6544 /* end confdefs.h. */
5763 6545
5764 /* Override any gcc2 internal prototype to avoid an error. */ 6546 /* Override any GCC internal prototype to avoid an error.
6547 Use char because int might match the return type of a GCC
6548 builtin and then its argument prototype would still apply. */
5765 #ifdef __cplusplus 6549 #ifdef __cplusplus
5766 extern "C" 6550 extern "C"
5767 #endif 6551 #endif
5768 /* We use char because int might match the return type of a gcc2
5769 builtin and then its argument prototype would still apply. */
5770 char XOpenDisplay (); 6552 char XOpenDisplay ();
5771 int 6553 int
5772 main () 6554 main ()
5773 { 6555 {
5774 XOpenDisplay (); 6556 return XOpenDisplay ();
5775 ; 6557 ;
5776 return 0; 6558 return 0;
5777 } 6559 }
5778 _ACEOF 6560 _ACEOF
5779 rm -f conftest.$ac_objext conftest$ac_exeext 6561 rm -f conftest.$ac_objext conftest$ac_exeext
5780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6562 if { (ac_try="$ac_link"
5781 (eval $ac_link) 2>conftest.er1 6563 case "(($ac_try" in
6564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6565 *) ac_try_echo=$ac_try;;
6566 esac
6567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6568 $as_echo "$ac_try_echo") >&5
6569 (eval "$ac_link") 2>conftest.er1
5782 ac_status=$? 6570 ac_status=$?
5783 grep -v '^ *+' conftest.er1 >conftest.err 6571 grep -v '^ *+' conftest.er1 >conftest.err
5784 rm -f conftest.er1 6572 rm -f conftest.er1
5785 cat conftest.err >&5 6573 cat conftest.err >&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } && 6575 (exit $ac_status); } && {
5788 { ac_try='test -z "$ac_c_werror_flag" 6576 test -z "$ac_c_werror_flag" ||
5789 || test ! -s conftest.err' 6577 test ! -s conftest.err
5790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6578 } && test -s conftest$ac_exeext && {
5791 (eval $ac_try) 2>&5 6579 test "$cross_compiling" = yes ||
5792 ac_status=$? 6580 $as_test_x conftest$ac_exeext
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6581 }; then
5794 (exit $ac_status); }; } &&
5795 { ac_try='test -s conftest$ac_exeext'
5796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 (eval $ac_try) 2>&5
5798 ac_status=$?
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; }; then
5801 : 6582 :
5802 else 6583 else
5803 echo "$as_me: failed program was:" >&5 6584 $as_echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.$ac_ext >&5 6585 sed 's/^/| /' conftest.$ac_ext >&5
5805 6586
5806 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 6587 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5807 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 6588 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5808 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then 6589 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6 6590 $as_echo_n "(cached) " >&6
5810 else 6591 else
5811 ac_check_lib_save_LIBS=$LIBS 6592 ac_check_lib_save_LIBS=$LIBS
5812 LIBS="-ldnet $LIBS" 6593 LIBS="-ldnet $LIBS"
5813 cat >conftest.$ac_ext <<_ACEOF 6594 cat >conftest.$ac_ext <<_ACEOF
5814 /* confdefs.h. */ 6595 /* confdefs.h. */
5815 _ACEOF 6596 _ACEOF
5816 cat confdefs.h >>conftest.$ac_ext 6597 cat confdefs.h >>conftest.$ac_ext
5817 cat >>conftest.$ac_ext <<_ACEOF 6598 cat >>conftest.$ac_ext <<_ACEOF
5818 /* end confdefs.h. */ 6599 /* end confdefs.h. */
5819 6600
5820 /* Override any gcc2 internal prototype to avoid an error. */ 6601 /* Override any GCC internal prototype to avoid an error.
6602 Use char because int might match the return type of a GCC
6603 builtin and then its argument prototype would still apply. */
5821 #ifdef __cplusplus 6604 #ifdef __cplusplus
5822 extern "C" 6605 extern "C"
5823 #endif 6606 #endif
5824 /* We use char because int might match the return type of a gcc2
5825 builtin and then its argument prototype would still apply. */
5826 char dnet_ntoa (); 6607 char dnet_ntoa ();
5827 int 6608 int
5828 main () 6609 main ()
5829 { 6610 {
5830 dnet_ntoa (); 6611 return dnet_ntoa ();
5831 ; 6612 ;
5832 return 0; 6613 return 0;
5833 } 6614 }
5834 _ACEOF 6615 _ACEOF
5835 rm -f conftest.$ac_objext conftest$ac_exeext 6616 rm -f conftest.$ac_objext conftest$ac_exeext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6617 if { (ac_try="$ac_link"
5837 (eval $ac_link) 2>conftest.er1 6618 case "(($ac_try" in
6619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6620 *) ac_try_echo=$ac_try;;
6621 esac
6622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6623 $as_echo "$ac_try_echo") >&5
6624 (eval "$ac_link") 2>conftest.er1
5838 ac_status=$? 6625 ac_status=$?
5839 grep -v '^ *+' conftest.er1 >conftest.err 6626 grep -v '^ *+' conftest.er1 >conftest.err
5840 rm -f conftest.er1 6627 rm -f conftest.er1
5841 cat conftest.err >&5 6628 cat conftest.err >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } && 6630 (exit $ac_status); } && {
5844 { ac_try='test -z "$ac_c_werror_flag" 6631 test -z "$ac_c_werror_flag" ||
5845 || test ! -s conftest.err' 6632 test ! -s conftest.err
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6633 } && test -s conftest$ac_exeext && {
5847 (eval $ac_try) 2>&5 6634 test "$cross_compiling" = yes ||
5848 ac_status=$? 6635 $as_test_x conftest$ac_exeext
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6636 }; then
5850 (exit $ac_status); }; } &&
5851 { ac_try='test -s conftest$ac_exeext'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 (eval $ac_try) 2>&5
5854 ac_status=$?
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; }; then
5857 ac_cv_lib_dnet_dnet_ntoa=yes 6637 ac_cv_lib_dnet_dnet_ntoa=yes
5858 else 6638 else
5859 echo "$as_me: failed program was:" >&5 6639 $as_echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5 6640 sed 's/^/| /' conftest.$ac_ext >&5
5861 6641
5862 ac_cv_lib_dnet_dnet_ntoa=no 6642 ac_cv_lib_dnet_dnet_ntoa=no
5863 fi 6643 fi
5864 rm -f conftest.err conftest.$ac_objext \ 6644
6645 rm -rf conftest.dSYM
6646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5865 conftest$ac_exeext conftest.$ac_ext 6647 conftest$ac_exeext conftest.$ac_ext
5866 LIBS=$ac_check_lib_save_LIBS 6648 LIBS=$ac_check_lib_save_LIBS
5867 fi 6649 fi
5868 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 6650 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5869 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 6651 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5870 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then 6652 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5871 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 6653 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5872 fi 6654 fi
5873 6655
5874 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 6656 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5875 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 6657 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5876 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 6658 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5877 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then 6659 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6 6660 $as_echo_n "(cached) " >&6
5879 else 6661 else
5880 ac_check_lib_save_LIBS=$LIBS 6662 ac_check_lib_save_LIBS=$LIBS
5881 LIBS="-ldnet_stub $LIBS" 6663 LIBS="-ldnet_stub $LIBS"
5882 cat >conftest.$ac_ext <<_ACEOF 6664 cat >conftest.$ac_ext <<_ACEOF
5883 /* confdefs.h. */ 6665 /* confdefs.h. */
5884 _ACEOF 6666 _ACEOF
5885 cat confdefs.h >>conftest.$ac_ext 6667 cat confdefs.h >>conftest.$ac_ext
5886 cat >>conftest.$ac_ext <<_ACEOF 6668 cat >>conftest.$ac_ext <<_ACEOF
5887 /* end confdefs.h. */ 6669 /* end confdefs.h. */
5888 6670
5889 /* Override any gcc2 internal prototype to avoid an error. */ 6671 /* Override any GCC internal prototype to avoid an error.
6672 Use char because int might match the return type of a GCC
6673 builtin and then its argument prototype would still apply. */
5890 #ifdef __cplusplus 6674 #ifdef __cplusplus
5891 extern "C" 6675 extern "C"
5892 #endif 6676 #endif
5893 /* We use char because int might match the return type of a gcc2
5894 builtin and then its argument prototype would still apply. */
5895 char dnet_ntoa (); 6677 char dnet_ntoa ();
5896 int 6678 int
5897 main () 6679 main ()
5898 { 6680 {
5899 dnet_ntoa (); 6681 return dnet_ntoa ();
5900 ; 6682 ;
5901 return 0; 6683 return 0;
5902 } 6684 }
5903 _ACEOF 6685 _ACEOF
5904 rm -f conftest.$ac_objext conftest$ac_exeext 6686 rm -f conftest.$ac_objext conftest$ac_exeext
5905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6687 if { (ac_try="$ac_link"
5906 (eval $ac_link) 2>conftest.er1 6688 case "(($ac_try" in
6689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6690 *) ac_try_echo=$ac_try;;
6691 esac
6692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6693 $as_echo "$ac_try_echo") >&5
6694 (eval "$ac_link") 2>conftest.er1
5907 ac_status=$? 6695 ac_status=$?
5908 grep -v '^ *+' conftest.er1 >conftest.err 6696 grep -v '^ *+' conftest.er1 >conftest.err
5909 rm -f conftest.er1 6697 rm -f conftest.er1
5910 cat conftest.err >&5 6698 cat conftest.err >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); } && 6700 (exit $ac_status); } && {
5913 { ac_try='test -z "$ac_c_werror_flag" 6701 test -z "$ac_c_werror_flag" ||
5914 || test ! -s conftest.err' 6702 test ! -s conftest.err
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6703 } && test -s conftest$ac_exeext && {
5916 (eval $ac_try) 2>&5 6704 test "$cross_compiling" = yes ||
5917 ac_status=$? 6705 $as_test_x conftest$ac_exeext
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 }; then
5919 (exit $ac_status); }; } &&
5920 { ac_try='test -s conftest$ac_exeext'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 (eval $ac_try) 2>&5
5923 ac_status=$?
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_cv_lib_dnet_stub_dnet_ntoa=yes 6707 ac_cv_lib_dnet_stub_dnet_ntoa=yes
5927 else 6708 else
5928 echo "$as_me: failed program was:" >&5 6709 $as_echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.$ac_ext >&5 6710 sed 's/^/| /' conftest.$ac_ext >&5
5930 6711
5931 ac_cv_lib_dnet_stub_dnet_ntoa=no 6712 ac_cv_lib_dnet_stub_dnet_ntoa=no
5932 fi 6713 fi
5933 rm -f conftest.err conftest.$ac_objext \ 6714
6715 rm -rf conftest.dSYM
6716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5934 conftest$ac_exeext conftest.$ac_ext 6717 conftest$ac_exeext conftest.$ac_ext
5935 LIBS=$ac_check_lib_save_LIBS 6718 LIBS=$ac_check_lib_save_LIBS
5936 fi 6719 fi
5937 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 6720 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5938 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 6721 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5939 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then 6722 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5940 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 6723 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5941 fi 6724 fi
5942 6725
5943 fi 6726 fi
5944 fi 6727 fi
5945 rm -f conftest.err conftest.$ac_objext \ 6728
6729 rm -rf conftest.dSYM
6730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5946 conftest$ac_exeext conftest.$ac_ext 6731 conftest$ac_exeext conftest.$ac_ext
5947 LIBS="$ac_xsave_LIBS" 6732 LIBS="$ac_xsave_LIBS"
5948 6733
5949 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 6734 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5950 # to get the SysV transport functions. 6735 # to get the SysV transport functions.
5952 # needs -lnsl. 6737 # needs -lnsl.
5953 # The nsl library prevents programs from opening the X display 6738 # The nsl library prevents programs from opening the X display
5954 # on Irix 5.2, according to T.E. Dickey. 6739 # on Irix 5.2, according to T.E. Dickey.
5955 # The functions gethostbyname, getservbyname, and inet_addr are 6740 # The functions gethostbyname, getservbyname, and inet_addr are
5956 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 6741 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5957 echo "$as_me:$LINENO: checking for gethostbyname" >&5 6742 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
5958 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 6743 $as_echo_n "checking for gethostbyname... " >&6; }
5959 if test "${ac_cv_func_gethostbyname+set}" = set; then 6744 if test "${ac_cv_func_gethostbyname+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6 6745 $as_echo_n "(cached) " >&6
5961 else 6746 else
5962 cat >conftest.$ac_ext <<_ACEOF 6747 cat >conftest.$ac_ext <<_ACEOF
5963 /* confdefs.h. */ 6748 /* confdefs.h. */
5964 _ACEOF 6749 _ACEOF
5965 cat confdefs.h >>conftest.$ac_ext 6750 cat confdefs.h >>conftest.$ac_ext
5980 # include <assert.h> 6765 # include <assert.h>
5981 #endif 6766 #endif
5982 6767
5983 #undef gethostbyname 6768 #undef gethostbyname
5984 6769
5985 /* Override any gcc2 internal prototype to avoid an error. */ 6770 /* Override any GCC internal prototype to avoid an error.
6771 Use char because int might match the return type of a GCC
6772 builtin and then its argument prototype would still apply. */
5986 #ifdef __cplusplus 6773 #ifdef __cplusplus
5987 extern "C" 6774 extern "C"
5988 {
5989 #endif 6775 #endif
5990 /* We use char because int might match the return type of a gcc2
5991 builtin and then its argument prototype would still apply. */
5992 char gethostbyname (); 6776 char gethostbyname ();
5993 /* The GNU C library defines this for functions which it implements 6777 /* The GNU C library defines this for functions which it implements
5994 to always fail with ENOSYS. Some functions are actually named 6778 to always fail with ENOSYS. Some functions are actually named
5995 something starting with __ and the normal name is an alias. */ 6779 something starting with __ and the normal name is an alias. */
5996 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) 6780 #if defined __stub_gethostbyname || defined __stub___gethostbyname
5997 choke me 6781 choke me
5998 #else
5999 char (*f) () = gethostbyname;
6000 #endif
6001 #ifdef __cplusplus
6002 }
6003 #endif 6782 #endif
6004 6783
6005 int 6784 int
6006 main () 6785 main ()
6007 { 6786 {
6008 return f != gethostbyname; 6787 return gethostbyname ();
6009 ; 6788 ;
6010 return 0; 6789 return 0;
6011 } 6790 }
6012 _ACEOF 6791 _ACEOF
6013 rm -f conftest.$ac_objext conftest$ac_exeext 6792 rm -f conftest.$ac_objext conftest$ac_exeext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6793 if { (ac_try="$ac_link"
6015 (eval $ac_link) 2>conftest.er1 6794 case "(($ac_try" in
6795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6796 *) ac_try_echo=$ac_try;;
6797 esac
6798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6799 $as_echo "$ac_try_echo") >&5
6800 (eval "$ac_link") 2>conftest.er1
6016 ac_status=$? 6801 ac_status=$?
6017 grep -v '^ *+' conftest.er1 >conftest.err 6802 grep -v '^ *+' conftest.er1 >conftest.err
6018 rm -f conftest.er1 6803 rm -f conftest.er1
6019 cat conftest.err >&5 6804 cat conftest.err >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } && 6806 (exit $ac_status); } && {
6022 { ac_try='test -z "$ac_c_werror_flag" 6807 test -z "$ac_c_werror_flag" ||
6023 || test ! -s conftest.err' 6808 test ! -s conftest.err
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6809 } && test -s conftest$ac_exeext && {
6025 (eval $ac_try) 2>&5 6810 test "$cross_compiling" = yes ||
6026 ac_status=$? 6811 $as_test_x conftest$ac_exeext
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6812 }; then
6028 (exit $ac_status); }; } &&
6029 { ac_try='test -s conftest$ac_exeext'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 (eval $ac_try) 2>&5
6032 ac_status=$?
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; }; then
6035 ac_cv_func_gethostbyname=yes 6813 ac_cv_func_gethostbyname=yes
6036 else 6814 else
6037 echo "$as_me: failed program was:" >&5 6815 $as_echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.$ac_ext >&5 6816 sed 's/^/| /' conftest.$ac_ext >&5
6039 6817
6040 ac_cv_func_gethostbyname=no 6818 ac_cv_func_gethostbyname=no
6041 fi 6819 fi
6042 rm -f conftest.err conftest.$ac_objext \ 6820
6821 rm -rf conftest.dSYM
6822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6043 conftest$ac_exeext conftest.$ac_ext 6823 conftest$ac_exeext conftest.$ac_ext
6044 fi 6824 fi
6045 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 6825 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6046 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 6826 $as_echo "$ac_cv_func_gethostbyname" >&6; }
6047 6827
6048 if test $ac_cv_func_gethostbyname = no; then 6828 if test $ac_cv_func_gethostbyname = no; then
6049 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 6829 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6050 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 6830 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
6051 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 6831 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6 6832 $as_echo_n "(cached) " >&6
6053 else 6833 else
6054 ac_check_lib_save_LIBS=$LIBS 6834 ac_check_lib_save_LIBS=$LIBS
6055 LIBS="-lnsl $LIBS" 6835 LIBS="-lnsl $LIBS"
6056 cat >conftest.$ac_ext <<_ACEOF 6836 cat >conftest.$ac_ext <<_ACEOF
6057 /* confdefs.h. */ 6837 /* confdefs.h. */
6058 _ACEOF 6838 _ACEOF
6059 cat confdefs.h >>conftest.$ac_ext 6839 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF 6840 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */ 6841 /* end confdefs.h. */
6062 6842
6063 /* Override any gcc2 internal prototype to avoid an error. */ 6843 /* Override any GCC internal prototype to avoid an error.
6844 Use char because int might match the return type of a GCC
6845 builtin and then its argument prototype would still apply. */
6064 #ifdef __cplusplus 6846 #ifdef __cplusplus
6065 extern "C" 6847 extern "C"
6066 #endif 6848 #endif
6067 /* We use char because int might match the return type of a gcc2
6068 builtin and then its argument prototype would still apply. */
6069 char gethostbyname (); 6849 char gethostbyname ();
6070 int 6850 int
6071 main () 6851 main ()
6072 { 6852 {
6073 gethostbyname (); 6853 return gethostbyname ();
6074 ; 6854 ;
6075 return 0; 6855 return 0;
6076 } 6856 }
6077 _ACEOF 6857 _ACEOF
6078 rm -f conftest.$ac_objext conftest$ac_exeext 6858 rm -f conftest.$ac_objext conftest$ac_exeext
6079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6859 if { (ac_try="$ac_link"
6080 (eval $ac_link) 2>conftest.er1 6860 case "(($ac_try" in
6861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6862 *) ac_try_echo=$ac_try;;
6863 esac
6864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6865 $as_echo "$ac_try_echo") >&5
6866 (eval "$ac_link") 2>conftest.er1
6081 ac_status=$? 6867 ac_status=$?
6082 grep -v '^ *+' conftest.er1 >conftest.err 6868 grep -v '^ *+' conftest.er1 >conftest.err
6083 rm -f conftest.er1 6869 rm -f conftest.er1
6084 cat conftest.err >&5 6870 cat conftest.err >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); } && 6872 (exit $ac_status); } && {
6087 { ac_try='test -z "$ac_c_werror_flag" 6873 test -z "$ac_c_werror_flag" ||
6088 || test ! -s conftest.err' 6874 test ! -s conftest.err
6089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6875 } && test -s conftest$ac_exeext && {
6090 (eval $ac_try) 2>&5 6876 test "$cross_compiling" = yes ||
6091 ac_status=$? 6877 $as_test_x conftest$ac_exeext
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6878 }; then
6093 (exit $ac_status); }; } &&
6094 { ac_try='test -s conftest$ac_exeext'
6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 (eval $ac_try) 2>&5
6097 ac_status=$?
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); }; }; then
6100 ac_cv_lib_nsl_gethostbyname=yes 6879 ac_cv_lib_nsl_gethostbyname=yes
6101 else 6880 else
6102 echo "$as_me: failed program was:" >&5 6881 $as_echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.$ac_ext >&5 6882 sed 's/^/| /' conftest.$ac_ext >&5
6104 6883
6105 ac_cv_lib_nsl_gethostbyname=no 6884 ac_cv_lib_nsl_gethostbyname=no
6106 fi 6885 fi
6107 rm -f conftest.err conftest.$ac_objext \ 6886
6887 rm -rf conftest.dSYM
6888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6108 conftest$ac_exeext conftest.$ac_ext 6889 conftest$ac_exeext conftest.$ac_ext
6109 LIBS=$ac_check_lib_save_LIBS 6890 LIBS=$ac_check_lib_save_LIBS
6110 fi 6891 fi
6111 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 6892 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6112 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 6893 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
6113 if test $ac_cv_lib_nsl_gethostbyname = yes; then 6894 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6114 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 6895 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6115 fi 6896 fi
6116 6897
6117 if test $ac_cv_lib_nsl_gethostbyname = no; then 6898 if test $ac_cv_lib_nsl_gethostbyname = no; then
6118 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 6899 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6119 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 6900 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
6120 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then 6901 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6 6902 $as_echo_n "(cached) " >&6
6122 else 6903 else
6123 ac_check_lib_save_LIBS=$LIBS 6904 ac_check_lib_save_LIBS=$LIBS
6124 LIBS="-lbsd $LIBS" 6905 LIBS="-lbsd $LIBS"
6125 cat >conftest.$ac_ext <<_ACEOF 6906 cat >conftest.$ac_ext <<_ACEOF
6126 /* confdefs.h. */ 6907 /* confdefs.h. */
6127 _ACEOF 6908 _ACEOF
6128 cat confdefs.h >>conftest.$ac_ext 6909 cat confdefs.h >>conftest.$ac_ext
6129 cat >>conftest.$ac_ext <<_ACEOF 6910 cat >>conftest.$ac_ext <<_ACEOF
6130 /* end confdefs.h. */ 6911 /* end confdefs.h. */
6131 6912
6132 /* Override any gcc2 internal prototype to avoid an error. */ 6913 /* Override any GCC internal prototype to avoid an error.
6914 Use char because int might match the return type of a GCC
6915 builtin and then its argument prototype would still apply. */
6133 #ifdef __cplusplus 6916 #ifdef __cplusplus
6134 extern "C" 6917 extern "C"
6135 #endif 6918 #endif
6136 /* We use char because int might match the return type of a gcc2
6137 builtin and then its argument prototype would still apply. */
6138 char gethostbyname (); 6919 char gethostbyname ();
6139 int 6920 int
6140 main () 6921 main ()
6141 { 6922 {
6142 gethostbyname (); 6923 return gethostbyname ();
6143 ; 6924 ;
6144 return 0; 6925 return 0;
6145 } 6926 }
6146 _ACEOF 6927 _ACEOF
6147 rm -f conftest.$ac_objext conftest$ac_exeext 6928 rm -f conftest.$ac_objext conftest$ac_exeext
6148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6929 if { (ac_try="$ac_link"
6149 (eval $ac_link) 2>conftest.er1 6930 case "(($ac_try" in
6931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6932 *) ac_try_echo=$ac_try;;
6933 esac
6934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6935 $as_echo "$ac_try_echo") >&5
6936 (eval "$ac_link") 2>conftest.er1
6150 ac_status=$? 6937 ac_status=$?
6151 grep -v '^ *+' conftest.er1 >conftest.err 6938 grep -v '^ *+' conftest.er1 >conftest.err
6152 rm -f conftest.er1 6939 rm -f conftest.er1
6153 cat conftest.err >&5 6940 cat conftest.err >&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } && 6942 (exit $ac_status); } && {
6156 { ac_try='test -z "$ac_c_werror_flag" 6943 test -z "$ac_c_werror_flag" ||
6157 || test ! -s conftest.err' 6944 test ! -s conftest.err
6158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6945 } && test -s conftest$ac_exeext && {
6159 (eval $ac_try) 2>&5 6946 test "$cross_compiling" = yes ||
6160 ac_status=$? 6947 $as_test_x conftest$ac_exeext
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6948 }; then
6162 (exit $ac_status); }; } &&
6163 { ac_try='test -s conftest$ac_exeext'
6164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 (eval $ac_try) 2>&5
6166 ac_status=$?
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); }; }; then
6169 ac_cv_lib_bsd_gethostbyname=yes 6949 ac_cv_lib_bsd_gethostbyname=yes
6170 else 6950 else
6171 echo "$as_me: failed program was:" >&5 6951 $as_echo "$as_me: failed program was:" >&5
6172 sed 's/^/| /' conftest.$ac_ext >&5 6952 sed 's/^/| /' conftest.$ac_ext >&5
6173 6953
6174 ac_cv_lib_bsd_gethostbyname=no 6954 ac_cv_lib_bsd_gethostbyname=no
6175 fi 6955 fi
6176 rm -f conftest.err conftest.$ac_objext \ 6956
6957 rm -rf conftest.dSYM
6958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6177 conftest$ac_exeext conftest.$ac_ext 6959 conftest$ac_exeext conftest.$ac_ext
6178 LIBS=$ac_check_lib_save_LIBS 6960 LIBS=$ac_check_lib_save_LIBS
6179 fi 6961 fi
6180 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 6962 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6181 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 6963 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
6182 if test $ac_cv_lib_bsd_gethostbyname = yes; then 6964 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 6965 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
6184 fi 6966 fi
6185 6967
6186 fi 6968 fi
6191 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 6973 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6192 # on later versions), says Simon Leinen: it contains gethostby* 6974 # on later versions), says Simon Leinen: it contains gethostby*
6193 # variants that don't use the name server (or something). -lsocket 6975 # variants that don't use the name server (or something). -lsocket
6194 # must be given before -lnsl if both are needed. We assume that 6976 # must be given before -lnsl if both are needed. We assume that
6195 # if connect needs -lnsl, so does gethostbyname. 6977 # if connect needs -lnsl, so does gethostbyname.
6196 echo "$as_me:$LINENO: checking for connect" >&5 6978 { $as_echo "$as_me:$LINENO: checking for connect" >&5
6197 echo $ECHO_N "checking for connect... $ECHO_C" >&6 6979 $as_echo_n "checking for connect... " >&6; }
6198 if test "${ac_cv_func_connect+set}" = set; then 6980 if test "${ac_cv_func_connect+set}" = set; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6 6981 $as_echo_n "(cached) " >&6
6200 else 6982 else
6201 cat >conftest.$ac_ext <<_ACEOF 6983 cat >conftest.$ac_ext <<_ACEOF
6202 /* confdefs.h. */ 6984 /* confdefs.h. */
6203 _ACEOF 6985 _ACEOF
6204 cat confdefs.h >>conftest.$ac_ext 6986 cat confdefs.h >>conftest.$ac_ext
6219 # include <assert.h> 7001 # include <assert.h>
6220 #endif 7002 #endif
6221 7003
6222 #undef connect 7004 #undef connect
6223 7005
6224 /* Override any gcc2 internal prototype to avoid an error. */ 7006 /* Override any GCC internal prototype to avoid an error.
7007 Use char because int might match the return type of a GCC
7008 builtin and then its argument prototype would still apply. */
6225 #ifdef __cplusplus 7009 #ifdef __cplusplus
6226 extern "C" 7010 extern "C"
6227 {
6228 #endif 7011 #endif
6229 /* We use char because int might match the return type of a gcc2
6230 builtin and then its argument prototype would still apply. */
6231 char connect (); 7012 char connect ();
6232 /* The GNU C library defines this for functions which it implements 7013 /* The GNU C library defines this for functions which it implements
6233 to always fail with ENOSYS. Some functions are actually named 7014 to always fail with ENOSYS. Some functions are actually named
6234 something starting with __ and the normal name is an alias. */ 7015 something starting with __ and the normal name is an alias. */
6235 #if defined (__stub_connect) || defined (__stub___connect) 7016 #if defined __stub_connect || defined __stub___connect
6236 choke me 7017 choke me
6237 #else
6238 char (*f) () = connect;
6239 #endif
6240 #ifdef __cplusplus
6241 }
6242 #endif 7018 #endif
6243 7019
6244 int 7020 int
6245 main () 7021 main ()
6246 { 7022 {
6247 return f != connect; 7023 return connect ();
6248 ; 7024 ;
6249 return 0; 7025 return 0;
6250 } 7026 }
6251 _ACEOF 7027 _ACEOF
6252 rm -f conftest.$ac_objext conftest$ac_exeext 7028 rm -f conftest.$ac_objext conftest$ac_exeext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7029 if { (ac_try="$ac_link"
6254 (eval $ac_link) 2>conftest.er1 7030 case "(($ac_try" in
7031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7032 *) ac_try_echo=$ac_try;;
7033 esac
7034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7035 $as_echo "$ac_try_echo") >&5
7036 (eval "$ac_link") 2>conftest.er1
6255 ac_status=$? 7037 ac_status=$?
6256 grep -v '^ *+' conftest.er1 >conftest.err 7038 grep -v '^ *+' conftest.er1 >conftest.err
6257 rm -f conftest.er1 7039 rm -f conftest.er1
6258 cat conftest.err >&5 7040 cat conftest.err >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); } && 7042 (exit $ac_status); } && {
6261 { ac_try='test -z "$ac_c_werror_flag" 7043 test -z "$ac_c_werror_flag" ||
6262 || test ! -s conftest.err' 7044 test ! -s conftest.err
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7045 } && test -s conftest$ac_exeext && {
6264 (eval $ac_try) 2>&5 7046 test "$cross_compiling" = yes ||
6265 ac_status=$? 7047 $as_test_x conftest$ac_exeext
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7048 }; then
6267 (exit $ac_status); }; } &&
6268 { ac_try='test -s conftest$ac_exeext'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 (eval $ac_try) 2>&5
6271 ac_status=$?
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6274 ac_cv_func_connect=yes 7049 ac_cv_func_connect=yes
6275 else 7050 else
6276 echo "$as_me: failed program was:" >&5 7051 $as_echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5 7052 sed 's/^/| /' conftest.$ac_ext >&5
6278 7053
6279 ac_cv_func_connect=no 7054 ac_cv_func_connect=no
6280 fi 7055 fi
6281 rm -f conftest.err conftest.$ac_objext \ 7056
7057 rm -rf conftest.dSYM
7058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6282 conftest$ac_exeext conftest.$ac_ext 7059 conftest$ac_exeext conftest.$ac_ext
6283 fi 7060 fi
6284 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 7061 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6285 echo "${ECHO_T}$ac_cv_func_connect" >&6 7062 $as_echo "$ac_cv_func_connect" >&6; }
6286 7063
6287 if test $ac_cv_func_connect = no; then 7064 if test $ac_cv_func_connect = no; then
6288 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 7065 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6289 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 7066 $as_echo_n "checking for connect in -lsocket... " >&6; }
6290 if test "${ac_cv_lib_socket_connect+set}" = set; then 7067 if test "${ac_cv_lib_socket_connect+set}" = set; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6 7068 $as_echo_n "(cached) " >&6
6292 else 7069 else
6293 ac_check_lib_save_LIBS=$LIBS 7070 ac_check_lib_save_LIBS=$LIBS
6294 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 7071 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6295 cat >conftest.$ac_ext <<_ACEOF 7072 cat >conftest.$ac_ext <<_ACEOF
6296 /* confdefs.h. */ 7073 /* confdefs.h. */
6297 _ACEOF 7074 _ACEOF
6298 cat confdefs.h >>conftest.$ac_ext 7075 cat confdefs.h >>conftest.$ac_ext
6299 cat >>conftest.$ac_ext <<_ACEOF 7076 cat >>conftest.$ac_ext <<_ACEOF
6300 /* end confdefs.h. */ 7077 /* end confdefs.h. */
6301 7078
6302 /* Override any gcc2 internal prototype to avoid an error. */ 7079 /* Override any GCC internal prototype to avoid an error.
7080 Use char because int might match the return type of a GCC
7081 builtin and then its argument prototype would still apply. */
6303 #ifdef __cplusplus 7082 #ifdef __cplusplus
6304 extern "C" 7083 extern "C"
6305 #endif 7084 #endif
6306 /* We use char because int might match the return type of a gcc2
6307 builtin and then its argument prototype would still apply. */
6308 char connect (); 7085 char connect ();
6309 int 7086 int
6310 main () 7087 main ()
6311 { 7088 {
6312 connect (); 7089 return connect ();
6313 ; 7090 ;
6314 return 0; 7091 return 0;
6315 } 7092 }
6316 _ACEOF 7093 _ACEOF
6317 rm -f conftest.$ac_objext conftest$ac_exeext 7094 rm -f conftest.$ac_objext conftest$ac_exeext
6318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7095 if { (ac_try="$ac_link"
6319 (eval $ac_link) 2>conftest.er1 7096 case "(($ac_try" in
7097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7098 *) ac_try_echo=$ac_try;;
7099 esac
7100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7101 $as_echo "$ac_try_echo") >&5
7102 (eval "$ac_link") 2>conftest.er1
6320 ac_status=$? 7103 ac_status=$?
6321 grep -v '^ *+' conftest.er1 >conftest.err 7104 grep -v '^ *+' conftest.er1 >conftest.err
6322 rm -f conftest.er1 7105 rm -f conftest.er1
6323 cat conftest.err >&5 7106 cat conftest.err >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); } && 7108 (exit $ac_status); } && {
6326 { ac_try='test -z "$ac_c_werror_flag" 7109 test -z "$ac_c_werror_flag" ||
6327 || test ! -s conftest.err' 7110 test ! -s conftest.err
6328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7111 } && test -s conftest$ac_exeext && {
6329 (eval $ac_try) 2>&5 7112 test "$cross_compiling" = yes ||
6330 ac_status=$? 7113 $as_test_x conftest$ac_exeext
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7114 }; then
6332 (exit $ac_status); }; } &&
6333 { ac_try='test -s conftest$ac_exeext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6335 (eval $ac_try) 2>&5
6336 ac_status=$?
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 ac_cv_lib_socket_connect=yes 7115 ac_cv_lib_socket_connect=yes
6340 else 7116 else
6341 echo "$as_me: failed program was:" >&5 7117 $as_echo "$as_me: failed program was:" >&5
6342 sed 's/^/| /' conftest.$ac_ext >&5 7118 sed 's/^/| /' conftest.$ac_ext >&5
6343 7119
6344 ac_cv_lib_socket_connect=no 7120 ac_cv_lib_socket_connect=no
6345 fi 7121 fi
6346 rm -f conftest.err conftest.$ac_objext \ 7122
7123 rm -rf conftest.dSYM
7124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6347 conftest$ac_exeext conftest.$ac_ext 7125 conftest$ac_exeext conftest.$ac_ext
6348 LIBS=$ac_check_lib_save_LIBS 7126 LIBS=$ac_check_lib_save_LIBS
6349 fi 7127 fi
6350 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 7128 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6351 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 7129 $as_echo "$ac_cv_lib_socket_connect" >&6; }
6352 if test $ac_cv_lib_socket_connect = yes; then 7130 if test $ac_cv_lib_socket_connect = yes; then
6353 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 7131 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6354 fi 7132 fi
6355 7133
6356 fi 7134 fi
6357 7135
6358 # Guillermo Gomez says -lposix is necessary on A/UX. 7136 # Guillermo Gomez says -lposix is necessary on A/UX.
6359 echo "$as_me:$LINENO: checking for remove" >&5 7137 { $as_echo "$as_me:$LINENO: checking for remove" >&5
6360 echo $ECHO_N "checking for remove... $ECHO_C" >&6 7138 $as_echo_n "checking for remove... " >&6; }
6361 if test "${ac_cv_func_remove+set}" = set; then 7139 if test "${ac_cv_func_remove+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6 7140 $as_echo_n "(cached) " >&6
6363 else 7141 else
6364 cat >conftest.$ac_ext <<_ACEOF 7142 cat >conftest.$ac_ext <<_ACEOF
6365 /* confdefs.h. */ 7143 /* confdefs.h. */
6366 _ACEOF 7144 _ACEOF
6367 cat confdefs.h >>conftest.$ac_ext 7145 cat confdefs.h >>conftest.$ac_ext
6382 # include <assert.h> 7160 # include <assert.h>
6383 #endif 7161 #endif
6384 7162
6385 #undef remove 7163 #undef remove
6386 7164
6387 /* Override any gcc2 internal prototype to avoid an error. */ 7165 /* Override any GCC internal prototype to avoid an error.
7166 Use char because int might match the return type of a GCC
7167 builtin and then its argument prototype would still apply. */
6388 #ifdef __cplusplus 7168 #ifdef __cplusplus
6389 extern "C" 7169 extern "C"
6390 {
6391 #endif 7170 #endif
6392 /* We use char because int might match the return type of a gcc2
6393 builtin and then its argument prototype would still apply. */
6394 char remove (); 7171 char remove ();
6395 /* The GNU C library defines this for functions which it implements 7172 /* The GNU C library defines this for functions which it implements
6396 to always fail with ENOSYS. Some functions are actually named 7173 to always fail with ENOSYS. Some functions are actually named
6397 something starting with __ and the normal name is an alias. */ 7174 something starting with __ and the normal name is an alias. */
6398 #if defined (__stub_remove) || defined (__stub___remove) 7175 #if defined __stub_remove || defined __stub___remove
6399 choke me 7176 choke me
6400 #else
6401 char (*f) () = remove;
6402 #endif
6403 #ifdef __cplusplus
6404 }
6405 #endif 7177 #endif
6406 7178
6407 int 7179 int
6408 main () 7180 main ()
6409 { 7181 {
6410 return f != remove; 7182 return remove ();
6411 ; 7183 ;
6412 return 0; 7184 return 0;
6413 } 7185 }
6414 _ACEOF 7186 _ACEOF
6415 rm -f conftest.$ac_objext conftest$ac_exeext 7187 rm -f conftest.$ac_objext conftest$ac_exeext
6416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7188 if { (ac_try="$ac_link"
6417 (eval $ac_link) 2>conftest.er1 7189 case "(($ac_try" in
7190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7191 *) ac_try_echo=$ac_try;;
7192 esac
7193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7194 $as_echo "$ac_try_echo") >&5
7195 (eval "$ac_link") 2>conftest.er1
6418 ac_status=$? 7196 ac_status=$?
6419 grep -v '^ *+' conftest.er1 >conftest.err 7197 grep -v '^ *+' conftest.er1 >conftest.err
6420 rm -f conftest.er1 7198 rm -f conftest.er1
6421 cat conftest.err >&5 7199 cat conftest.err >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } && 7201 (exit $ac_status); } && {
6424 { ac_try='test -z "$ac_c_werror_flag" 7202 test -z "$ac_c_werror_flag" ||
6425 || test ! -s conftest.err' 7203 test ! -s conftest.err
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7204 } && test -s conftest$ac_exeext && {
6427 (eval $ac_try) 2>&5 7205 test "$cross_compiling" = yes ||
6428 ac_status=$? 7206 $as_test_x conftest$ac_exeext
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7207 }; then
6430 (exit $ac_status); }; } &&
6431 { ac_try='test -s conftest$ac_exeext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 ac_cv_func_remove=yes 7208 ac_cv_func_remove=yes
6438 else 7209 else
6439 echo "$as_me: failed program was:" >&5 7210 $as_echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5 7211 sed 's/^/| /' conftest.$ac_ext >&5
6441 7212
6442 ac_cv_func_remove=no 7213 ac_cv_func_remove=no
6443 fi 7214 fi
6444 rm -f conftest.err conftest.$ac_objext \ 7215
7216 rm -rf conftest.dSYM
7217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6445 conftest$ac_exeext conftest.$ac_ext 7218 conftest$ac_exeext conftest.$ac_ext
6446 fi 7219 fi
6447 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 7220 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6448 echo "${ECHO_T}$ac_cv_func_remove" >&6 7221 $as_echo "$ac_cv_func_remove" >&6; }
6449 7222
6450 if test $ac_cv_func_remove = no; then 7223 if test $ac_cv_func_remove = no; then
6451 echo "$as_me:$LINENO: checking for remove in -lposix" >&5 7224 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6452 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 7225 $as_echo_n "checking for remove in -lposix... " >&6; }
6453 if test "${ac_cv_lib_posix_remove+set}" = set; then 7226 if test "${ac_cv_lib_posix_remove+set}" = set; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6 7227 $as_echo_n "(cached) " >&6
6455 else 7228 else
6456 ac_check_lib_save_LIBS=$LIBS 7229 ac_check_lib_save_LIBS=$LIBS
6457 LIBS="-lposix $LIBS" 7230 LIBS="-lposix $LIBS"
6458 cat >conftest.$ac_ext <<_ACEOF 7231 cat >conftest.$ac_ext <<_ACEOF
6459 /* confdefs.h. */ 7232 /* confdefs.h. */
6460 _ACEOF 7233 _ACEOF
6461 cat confdefs.h >>conftest.$ac_ext 7234 cat confdefs.h >>conftest.$ac_ext
6462 cat >>conftest.$ac_ext <<_ACEOF 7235 cat >>conftest.$ac_ext <<_ACEOF
6463 /* end confdefs.h. */ 7236 /* end confdefs.h. */
6464 7237
6465 /* Override any gcc2 internal prototype to avoid an error. */ 7238 /* Override any GCC internal prototype to avoid an error.
7239 Use char because int might match the return type of a GCC
7240 builtin and then its argument prototype would still apply. */
6466 #ifdef __cplusplus 7241 #ifdef __cplusplus
6467 extern "C" 7242 extern "C"
6468 #endif 7243 #endif
6469 /* We use char because int might match the return type of a gcc2
6470 builtin and then its argument prototype would still apply. */
6471 char remove (); 7244 char remove ();
6472 int 7245 int
6473 main () 7246 main ()
6474 { 7247 {
6475 remove (); 7248 return remove ();
6476 ; 7249 ;
6477 return 0; 7250 return 0;
6478 } 7251 }
6479 _ACEOF 7252 _ACEOF
6480 rm -f conftest.$ac_objext conftest$ac_exeext 7253 rm -f conftest.$ac_objext conftest$ac_exeext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7254 if { (ac_try="$ac_link"
6482 (eval $ac_link) 2>conftest.er1 7255 case "(($ac_try" in
7256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7257 *) ac_try_echo=$ac_try;;
7258 esac
7259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7260 $as_echo "$ac_try_echo") >&5
7261 (eval "$ac_link") 2>conftest.er1
6483 ac_status=$? 7262 ac_status=$?
6484 grep -v '^ *+' conftest.er1 >conftest.err 7263 grep -v '^ *+' conftest.er1 >conftest.err
6485 rm -f conftest.er1 7264 rm -f conftest.er1
6486 cat conftest.err >&5 7265 cat conftest.err >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } && 7267 (exit $ac_status); } && {
6489 { ac_try='test -z "$ac_c_werror_flag" 7268 test -z "$ac_c_werror_flag" ||
6490 || test ! -s conftest.err' 7269 test ! -s conftest.err
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7270 } && test -s conftest$ac_exeext && {
6492 (eval $ac_try) 2>&5 7271 test "$cross_compiling" = yes ||
6493 ac_status=$? 7272 $as_test_x conftest$ac_exeext
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7273 }; then
6495 (exit $ac_status); }; } &&
6496 { ac_try='test -s conftest$ac_exeext'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 (eval $ac_try) 2>&5
6499 ac_status=$?
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
6502 ac_cv_lib_posix_remove=yes 7274 ac_cv_lib_posix_remove=yes
6503 else 7275 else
6504 echo "$as_me: failed program was:" >&5 7276 $as_echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5 7277 sed 's/^/| /' conftest.$ac_ext >&5
6506 7278
6507 ac_cv_lib_posix_remove=no 7279 ac_cv_lib_posix_remove=no
6508 fi 7280 fi
6509 rm -f conftest.err conftest.$ac_objext \ 7281
7282 rm -rf conftest.dSYM
7283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6510 conftest$ac_exeext conftest.$ac_ext 7284 conftest$ac_exeext conftest.$ac_ext
6511 LIBS=$ac_check_lib_save_LIBS 7285 LIBS=$ac_check_lib_save_LIBS
6512 fi 7286 fi
6513 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 7287 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6514 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 7288 $as_echo "$ac_cv_lib_posix_remove" >&6; }
6515 if test $ac_cv_lib_posix_remove = yes; then 7289 if test $ac_cv_lib_posix_remove = yes; then
6516 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 7290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6517 fi 7291 fi
6518 7292
6519 fi 7293 fi
6520 7294
6521 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 7295 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6522 echo "$as_me:$LINENO: checking for shmat" >&5 7296 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
6523 echo $ECHO_N "checking for shmat... $ECHO_C" >&6 7297 $as_echo_n "checking for shmat... " >&6; }
6524 if test "${ac_cv_func_shmat+set}" = set; then 7298 if test "${ac_cv_func_shmat+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6 7299 $as_echo_n "(cached) " >&6
6526 else 7300 else
6527 cat >conftest.$ac_ext <<_ACEOF 7301 cat >conftest.$ac_ext <<_ACEOF
6528 /* confdefs.h. */ 7302 /* confdefs.h. */
6529 _ACEOF 7303 _ACEOF
6530 cat confdefs.h >>conftest.$ac_ext 7304 cat confdefs.h >>conftest.$ac_ext
6545 # include <assert.h> 7319 # include <assert.h>
6546 #endif 7320 #endif
6547 7321
6548 #undef shmat 7322 #undef shmat
6549 7323
6550 /* Override any gcc2 internal prototype to avoid an error. */ 7324 /* Override any GCC internal prototype to avoid an error.
7325 Use char because int might match the return type of a GCC
7326 builtin and then its argument prototype would still apply. */
6551 #ifdef __cplusplus 7327 #ifdef __cplusplus
6552 extern "C" 7328 extern "C"
6553 {
6554 #endif 7329 #endif
6555 /* We use char because int might match the return type of a gcc2
6556 builtin and then its argument prototype would still apply. */
6557 char shmat (); 7330 char shmat ();
6558 /* The GNU C library defines this for functions which it implements 7331 /* The GNU C library defines this for functions which it implements
6559 to always fail with ENOSYS. Some functions are actually named 7332 to always fail with ENOSYS. Some functions are actually named
6560 something starting with __ and the normal name is an alias. */ 7333 something starting with __ and the normal name is an alias. */
6561 #if defined (__stub_shmat) || defined (__stub___shmat) 7334 #if defined __stub_shmat || defined __stub___shmat
6562 choke me 7335 choke me
6563 #else
6564 char (*f) () = shmat;
6565 #endif
6566 #ifdef __cplusplus
6567 }
6568 #endif 7336 #endif
6569 7337
6570 int 7338 int
6571 main () 7339 main ()
6572 { 7340 {
6573 return f != shmat; 7341 return shmat ();
6574 ; 7342 ;
6575 return 0; 7343 return 0;
6576 } 7344 }
6577 _ACEOF 7345 _ACEOF
6578 rm -f conftest.$ac_objext conftest$ac_exeext 7346 rm -f conftest.$ac_objext conftest$ac_exeext
6579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7347 if { (ac_try="$ac_link"
6580 (eval $ac_link) 2>conftest.er1 7348 case "(($ac_try" in
7349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7350 *) ac_try_echo=$ac_try;;
7351 esac
7352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7353 $as_echo "$ac_try_echo") >&5
7354 (eval "$ac_link") 2>conftest.er1
6581 ac_status=$? 7355 ac_status=$?
6582 grep -v '^ *+' conftest.er1 >conftest.err 7356 grep -v '^ *+' conftest.er1 >conftest.err
6583 rm -f conftest.er1 7357 rm -f conftest.er1
6584 cat conftest.err >&5 7358 cat conftest.err >&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } && 7360 (exit $ac_status); } && {
6587 { ac_try='test -z "$ac_c_werror_flag" 7361 test -z "$ac_c_werror_flag" ||
6588 || test ! -s conftest.err' 7362 test ! -s conftest.err
6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7363 } && test -s conftest$ac_exeext && {
6590 (eval $ac_try) 2>&5 7364 test "$cross_compiling" = yes ||
6591 ac_status=$? 7365 $as_test_x conftest$ac_exeext
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7366 }; then
6593 (exit $ac_status); }; } &&
6594 { ac_try='test -s conftest$ac_exeext'
6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 (eval $ac_try) 2>&5
6597 ac_status=$?
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }; }; then
6600 ac_cv_func_shmat=yes 7367 ac_cv_func_shmat=yes
6601 else 7368 else
6602 echo "$as_me: failed program was:" >&5 7369 $as_echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5 7370 sed 's/^/| /' conftest.$ac_ext >&5
6604 7371
6605 ac_cv_func_shmat=no 7372 ac_cv_func_shmat=no
6606 fi 7373 fi
6607 rm -f conftest.err conftest.$ac_objext \ 7374
7375 rm -rf conftest.dSYM
7376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6608 conftest$ac_exeext conftest.$ac_ext 7377 conftest$ac_exeext conftest.$ac_ext
6609 fi 7378 fi
6610 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 7379 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6611 echo "${ECHO_T}$ac_cv_func_shmat" >&6 7380 $as_echo "$ac_cv_func_shmat" >&6; }
6612 7381
6613 if test $ac_cv_func_shmat = no; then 7382 if test $ac_cv_func_shmat = no; then
6614 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 7383 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6615 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 7384 $as_echo_n "checking for shmat in -lipc... " >&6; }
6616 if test "${ac_cv_lib_ipc_shmat+set}" = set; then 7385 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6 7386 $as_echo_n "(cached) " >&6
6618 else 7387 else
6619 ac_check_lib_save_LIBS=$LIBS 7388 ac_check_lib_save_LIBS=$LIBS
6620 LIBS="-lipc $LIBS" 7389 LIBS="-lipc $LIBS"
6621 cat >conftest.$ac_ext <<_ACEOF 7390 cat >conftest.$ac_ext <<_ACEOF
6622 /* confdefs.h. */ 7391 /* confdefs.h. */
6623 _ACEOF 7392 _ACEOF
6624 cat confdefs.h >>conftest.$ac_ext 7393 cat confdefs.h >>conftest.$ac_ext
6625 cat >>conftest.$ac_ext <<_ACEOF 7394 cat >>conftest.$ac_ext <<_ACEOF
6626 /* end confdefs.h. */ 7395 /* end confdefs.h. */
6627 7396
6628 /* Override any gcc2 internal prototype to avoid an error. */ 7397 /* Override any GCC internal prototype to avoid an error.
7398 Use char because int might match the return type of a GCC
7399 builtin and then its argument prototype would still apply. */
6629 #ifdef __cplusplus 7400 #ifdef __cplusplus
6630 extern "C" 7401 extern "C"
6631 #endif 7402 #endif
6632 /* We use char because int might match the return type of a gcc2
6633 builtin and then its argument prototype would still apply. */
6634 char shmat (); 7403 char shmat ();
6635 int 7404 int
6636 main () 7405 main ()
6637 { 7406 {
6638 shmat (); 7407 return shmat ();
6639 ; 7408 ;
6640 return 0; 7409 return 0;
6641 } 7410 }
6642 _ACEOF 7411 _ACEOF
6643 rm -f conftest.$ac_objext conftest$ac_exeext 7412 rm -f conftest.$ac_objext conftest$ac_exeext
6644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7413 if { (ac_try="$ac_link"
6645 (eval $ac_link) 2>conftest.er1 7414 case "(($ac_try" in
7415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7416 *) ac_try_echo=$ac_try;;
7417 esac
7418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7419 $as_echo "$ac_try_echo") >&5
7420 (eval "$ac_link") 2>conftest.er1
6646 ac_status=$? 7421 ac_status=$?
6647 grep -v '^ *+' conftest.er1 >conftest.err 7422 grep -v '^ *+' conftest.er1 >conftest.err
6648 rm -f conftest.er1 7423 rm -f conftest.er1
6649 cat conftest.err >&5 7424 cat conftest.err >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } && 7426 (exit $ac_status); } && {
6652 { ac_try='test -z "$ac_c_werror_flag" 7427 test -z "$ac_c_werror_flag" ||
6653 || test ! -s conftest.err' 7428 test ! -s conftest.err
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7429 } && test -s conftest$ac_exeext && {
6655 (eval $ac_try) 2>&5 7430 test "$cross_compiling" = yes ||
6656 ac_status=$? 7431 $as_test_x conftest$ac_exeext
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7432 }; then
6658 (exit $ac_status); }; } &&
6659 { ac_try='test -s conftest$ac_exeext'
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 (eval $ac_try) 2>&5
6662 ac_status=$?
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; }; then
6665 ac_cv_lib_ipc_shmat=yes 7433 ac_cv_lib_ipc_shmat=yes
6666 else 7434 else
6667 echo "$as_me: failed program was:" >&5 7435 $as_echo "$as_me: failed program was:" >&5
6668 sed 's/^/| /' conftest.$ac_ext >&5 7436 sed 's/^/| /' conftest.$ac_ext >&5
6669 7437
6670 ac_cv_lib_ipc_shmat=no 7438 ac_cv_lib_ipc_shmat=no
6671 fi 7439 fi
6672 rm -f conftest.err conftest.$ac_objext \ 7440
7441 rm -rf conftest.dSYM
7442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6673 conftest$ac_exeext conftest.$ac_ext 7443 conftest$ac_exeext conftest.$ac_ext
6674 LIBS=$ac_check_lib_save_LIBS 7444 LIBS=$ac_check_lib_save_LIBS
6675 fi 7445 fi
6676 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 7446 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6677 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 7447 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6678 if test $ac_cv_lib_ipc_shmat = yes; then 7448 if test $ac_cv_lib_ipc_shmat = yes; then
6679 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 7449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6680 fi 7450 fi
6681 7451
6682 fi 7452 fi
6689 # check for ICE first), but we must link in the order -lSM -lICE or 7459 # check for ICE first), but we must link in the order -lSM -lICE or
6690 # we get undefined symbols. So assume we have SM if we have ICE. 7460 # we get undefined symbols. So assume we have SM if we have ICE.
6691 # These have to be linked with before -lX11, unlike the other 7461 # These have to be linked with before -lX11, unlike the other
6692 # libraries we check for below, so use a different variable. 7462 # libraries we check for below, so use a different variable.
6693 # John Interrante, Karl Berry 7463 # John Interrante, Karl Berry
6694 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 7464 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6695 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 7465 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
6696 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then 7466 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6 7467 $as_echo_n "(cached) " >&6
6698 else 7468 else
6699 ac_check_lib_save_LIBS=$LIBS 7469 ac_check_lib_save_LIBS=$LIBS
6700 LIBS="-lICE $X_EXTRA_LIBS $LIBS" 7470 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6701 cat >conftest.$ac_ext <<_ACEOF 7471 cat >conftest.$ac_ext <<_ACEOF
6702 /* confdefs.h. */ 7472 /* confdefs.h. */
6703 _ACEOF 7473 _ACEOF
6704 cat confdefs.h >>conftest.$ac_ext 7474 cat confdefs.h >>conftest.$ac_ext
6705 cat >>conftest.$ac_ext <<_ACEOF 7475 cat >>conftest.$ac_ext <<_ACEOF
6706 /* end confdefs.h. */ 7476 /* end confdefs.h. */
6707 7477
6708 /* Override any gcc2 internal prototype to avoid an error. */ 7478 /* Override any GCC internal prototype to avoid an error.
7479 Use char because int might match the return type of a GCC
7480 builtin and then its argument prototype would still apply. */
6709 #ifdef __cplusplus 7481 #ifdef __cplusplus
6710 extern "C" 7482 extern "C"
6711 #endif 7483 #endif
6712 /* We use char because int might match the return type of a gcc2
6713 builtin and then its argument prototype would still apply. */
6714 char IceConnectionNumber (); 7484 char IceConnectionNumber ();
6715 int 7485 int
6716 main () 7486 main ()
6717 { 7487 {
6718 IceConnectionNumber (); 7488 return IceConnectionNumber ();
6719 ; 7489 ;
6720 return 0; 7490 return 0;
6721 } 7491 }
6722 _ACEOF 7492 _ACEOF
6723 rm -f conftest.$ac_objext conftest$ac_exeext 7493 rm -f conftest.$ac_objext conftest$ac_exeext
6724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7494 if { (ac_try="$ac_link"
6725 (eval $ac_link) 2>conftest.er1 7495 case "(($ac_try" in
7496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7497 *) ac_try_echo=$ac_try;;
7498 esac
7499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7500 $as_echo "$ac_try_echo") >&5
7501 (eval "$ac_link") 2>conftest.er1
6726 ac_status=$? 7502 ac_status=$?
6727 grep -v '^ *+' conftest.er1 >conftest.err 7503 grep -v '^ *+' conftest.er1 >conftest.err
6728 rm -f conftest.er1 7504 rm -f conftest.er1
6729 cat conftest.err >&5 7505 cat conftest.err >&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); } && 7507 (exit $ac_status); } && {
6732 { ac_try='test -z "$ac_c_werror_flag" 7508 test -z "$ac_c_werror_flag" ||
6733 || test ! -s conftest.err' 7509 test ! -s conftest.err
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7510 } && test -s conftest$ac_exeext && {
6735 (eval $ac_try) 2>&5 7511 test "$cross_compiling" = yes ||
6736 ac_status=$? 7512 $as_test_x conftest$ac_exeext
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7513 }; then
6738 (exit $ac_status); }; } &&
6739 { ac_try='test -s conftest$ac_exeext'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 (eval $ac_try) 2>&5
6742 ac_status=$?
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; }; then
6745 ac_cv_lib_ICE_IceConnectionNumber=yes 7514 ac_cv_lib_ICE_IceConnectionNumber=yes
6746 else 7515 else
6747 echo "$as_me: failed program was:" >&5 7516 $as_echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5 7517 sed 's/^/| /' conftest.$ac_ext >&5
6749 7518
6750 ac_cv_lib_ICE_IceConnectionNumber=no 7519 ac_cv_lib_ICE_IceConnectionNumber=no
6751 fi 7520 fi
6752 rm -f conftest.err conftest.$ac_objext \ 7521
7522 rm -rf conftest.dSYM
7523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6753 conftest$ac_exeext conftest.$ac_ext 7524 conftest$ac_exeext conftest.$ac_ext
6754 LIBS=$ac_check_lib_save_LIBS 7525 LIBS=$ac_check_lib_save_LIBS
6755 fi 7526 fi
6756 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 7527 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6757 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 7528 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6758 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then 7529 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6759 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 7530 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
6760 fi 7531 fi
6761 7532
6762 LDFLAGS=$ac_save_LDFLAGS 7533 LDFLAGS=$ac_save_LDFLAGS
6771 fi 7542 fi
6772 7543
6773 7544
6774 if test -d "$x_includes" && test ! -d "$x_libraries"; then 7545 if test -d "$x_includes" && test ! -d "$x_libraries"; then
6775 x_libraries=`echo "$x_includes" | sed s/include/lib/` 7546 x_libraries=`echo "$x_includes" | sed s/include/lib/`
6776 echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5 7547 { $as_echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
6777 echo "${ECHO_T}Corrected X libraries to $x_libraries" >&6 7548 $as_echo "Corrected X libraries to $x_libraries" >&6; }
6778 X_LIBS="$X_LIBS -L$x_libraries" 7549 X_LIBS="$X_LIBS -L$x_libraries"
6779 if test "`(uname) 2>/dev/null`" = SunOS && 7550 if test "`(uname) 2>/dev/null`" = SunOS &&
6780 uname -r | grep '^5' >/dev/null; then 7551 uname -r | grep '^5' >/dev/null; then
6781 X_LIBS="$X_LIBS -R $x_libraries" 7552 X_LIBS="$X_LIBS -R $x_libraries"
6782 fi 7553 fi
6783 fi 7554 fi
6784 7555
6785 if test -d "$x_libraries" && test ! -d "$x_includes"; then 7556 if test -d "$x_libraries" && test ! -d "$x_includes"; then
6786 x_includes=`echo "$x_libraries" | sed s/lib/include/` 7557 x_includes=`echo "$x_libraries" | sed s/lib/include/`
6787 echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5 7558 { $as_echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
6788 echo "${ECHO_T}Corrected X includes to $x_includes" >&6 7559 $as_echo "Corrected X includes to $x_includes" >&6; }
6789 X_CFLAGS="$X_CFLAGS -I$x_includes" 7560 X_CFLAGS="$X_CFLAGS -I$x_includes"
6790 fi 7561 fi
6791 7562
6792 X_CFLAGS="`echo $X_CFLAGS\ | sed 's%-I/usr/include %%'`" 7563 X_CFLAGS="`echo $X_CFLAGS\ | sed 's%-I/usr/include %%'`"
6793 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`" 7564 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`"
6794 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" 7565 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`"
6795 7566
6796 7567
6797 echo "$as_me:$LINENO: checking if X11 header files can be found" >&5 7568 { $as_echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
6798 echo $ECHO_N "checking if X11 header files can be found... $ECHO_C" >&6 7569 $as_echo_n "checking if X11 header files can be found... " >&6; }
6799 cflags_save=$CFLAGS 7570 cflags_save=$CFLAGS
6800 CFLAGS="$CFLAGS $X_CFLAGS" 7571 CFLAGS="$CFLAGS $X_CFLAGS"
6801 cat >conftest.$ac_ext <<_ACEOF 7572 cat >conftest.$ac_ext <<_ACEOF
6802 /* confdefs.h. */ 7573 /* confdefs.h. */
6803 _ACEOF 7574 _ACEOF
6812 ; 7583 ;
6813 return 0; 7584 return 0;
6814 } 7585 }
6815 _ACEOF 7586 _ACEOF
6816 rm -f conftest.$ac_objext 7587 rm -f conftest.$ac_objext
6817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7588 if { (ac_try="$ac_compile"
6818 (eval $ac_compile) 2>conftest.er1 7589 case "(($ac_try" in
7590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7591 *) ac_try_echo=$ac_try;;
7592 esac
7593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7594 $as_echo "$ac_try_echo") >&5
7595 (eval "$ac_compile") 2>conftest.er1
6819 ac_status=$? 7596 ac_status=$?
6820 grep -v '^ *+' conftest.er1 >conftest.err 7597 grep -v '^ *+' conftest.er1 >conftest.err
6821 rm -f conftest.er1 7598 rm -f conftest.er1
6822 cat conftest.err >&5 7599 cat conftest.err >&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } && 7601 (exit $ac_status); } && {
6825 { ac_try='test -z "$ac_c_werror_flag" 7602 test -z "$ac_c_werror_flag" ||
6826 || test ! -s conftest.err' 7603 test ! -s conftest.err
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7604 } && test -s conftest.$ac_objext; then
6828 (eval $ac_try) 2>&5 7605 { $as_echo "$as_me:$LINENO: result: yes" >&5
6829 ac_status=$? 7606 $as_echo "yes" >&6; }
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7607 else
6831 (exit $ac_status); }; } && 7608 $as_echo "$as_me: failed program was:" >&5
6832 { ac_try='test -s conftest.$ac_objext'
6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 (eval $ac_try) 2>&5
6835 ac_status=$?
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; }; then
6838 echo "$as_me:$LINENO: result: yes" >&5
6839 echo "${ECHO_T}yes" >&6
6840 else
6841 echo "$as_me: failed program was:" >&5
6842 sed 's/^/| /' conftest.$ac_ext >&5 7609 sed 's/^/| /' conftest.$ac_ext >&5
6843 7610
6844 echo "$as_me:$LINENO: result: no" >&5 7611 { $as_echo "$as_me:$LINENO: result: no" >&5
6845 echo "${ECHO_T}no" >&6; no_x=yes 7612 $as_echo "no" >&6; }; no_x=yes
6846 fi 7613 fi
6847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7614
7615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6848 CFLAGS=$cflags_save 7616 CFLAGS=$cflags_save
6849 7617
6850 if test "${no_x-no}" = yes; then 7618 if test "${no_x-no}" = yes; then
6851 with_x=no 7619 with_x=no
6852 else 7620 else
6858 7626
6859 7627
6860 ac_save_LDFLAGS="$LDFLAGS" 7628 ac_save_LDFLAGS="$LDFLAGS"
6861 LDFLAGS="-L$x_libraries $LDFLAGS" 7629 LDFLAGS="-L$x_libraries $LDFLAGS"
6862 7630
6863 echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5 7631 { $as_echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
6864 echo $ECHO_N "checking for _XdmcpAuthDoIt in -lXdmcp... $ECHO_C" >&6 7632 $as_echo_n "checking for _XdmcpAuthDoIt in -lXdmcp... " >&6; }
6865 if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then 7633 if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6 7634 $as_echo_n "(cached) " >&6
6867 else 7635 else
6868 ac_check_lib_save_LIBS=$LIBS 7636 ac_check_lib_save_LIBS=$LIBS
6869 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS" 7637 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS"
6870 cat >conftest.$ac_ext <<_ACEOF 7638 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */ 7639 /* confdefs.h. */
6872 _ACEOF 7640 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext 7641 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF 7642 cat >>conftest.$ac_ext <<_ACEOF
6875 /* end confdefs.h. */ 7643 /* end confdefs.h. */
6876 7644
6877 /* Override any gcc2 internal prototype to avoid an error. */ 7645 /* Override any GCC internal prototype to avoid an error.
7646 Use char because int might match the return type of a GCC
7647 builtin and then its argument prototype would still apply. */
6878 #ifdef __cplusplus 7648 #ifdef __cplusplus
6879 extern "C" 7649 extern "C"
6880 #endif 7650 #endif
6881 /* We use char because int might match the return type of a gcc2
6882 builtin and then its argument prototype would still apply. */
6883 char _XdmcpAuthDoIt (); 7651 char _XdmcpAuthDoIt ();
6884 int 7652 int
6885 main () 7653 main ()
6886 { 7654 {
6887 _XdmcpAuthDoIt (); 7655 return _XdmcpAuthDoIt ();
6888 ; 7656 ;
6889 return 0; 7657 return 0;
6890 } 7658 }
6891 _ACEOF 7659 _ACEOF
6892 rm -f conftest.$ac_objext conftest$ac_exeext 7660 rm -f conftest.$ac_objext conftest$ac_exeext
6893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7661 if { (ac_try="$ac_link"
6894 (eval $ac_link) 2>conftest.er1 7662 case "(($ac_try" in
7663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7664 *) ac_try_echo=$ac_try;;
7665 esac
7666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7667 $as_echo "$ac_try_echo") >&5
7668 (eval "$ac_link") 2>conftest.er1
6895 ac_status=$? 7669 ac_status=$?
6896 grep -v '^ *+' conftest.er1 >conftest.err 7670 grep -v '^ *+' conftest.er1 >conftest.err
6897 rm -f conftest.er1 7671 rm -f conftest.er1
6898 cat conftest.err >&5 7672 cat conftest.err >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); } && 7674 (exit $ac_status); } && {
6901 { ac_try='test -z "$ac_c_werror_flag" 7675 test -z "$ac_c_werror_flag" ||
6902 || test ! -s conftest.err' 7676 test ! -s conftest.err
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7677 } && test -s conftest$ac_exeext && {
6904 (eval $ac_try) 2>&5 7678 test "$cross_compiling" = yes ||
6905 ac_status=$? 7679 $as_test_x conftest$ac_exeext
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7680 }; then
6907 (exit $ac_status); }; } &&
6908 { ac_try='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 (eval $ac_try) 2>&5
6911 ac_status=$?
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=yes 7681 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=yes
6915 else 7682 else
6916 echo "$as_me: failed program was:" >&5 7683 $as_echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.$ac_ext >&5 7684 sed 's/^/| /' conftest.$ac_ext >&5
6918 7685
6919 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no 7686 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no
6920 fi 7687 fi
6921 rm -f conftest.err conftest.$ac_objext \ 7688
7689 rm -rf conftest.dSYM
7690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6922 conftest$ac_exeext conftest.$ac_ext 7691 conftest$ac_exeext conftest.$ac_ext
6923 LIBS=$ac_check_lib_save_LIBS 7692 LIBS=$ac_check_lib_save_LIBS
6924 fi 7693 fi
6925 echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5 7694 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
6926 echo "${ECHO_T}$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6 7695 $as_echo "$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6; }
6927 if test $ac_cv_lib_Xdmcp__XdmcpAuthDoIt = yes; then 7696 if test $ac_cv_lib_Xdmcp__XdmcpAuthDoIt = yes; then
6928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXdmcp" 7697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXdmcp"
6929 fi 7698 fi
6930 7699
6931 7700
6932 echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5 7701 { $as_echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
6933 echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6 7702 $as_echo_n "checking for IceOpenConnection in -lICE... " >&6; }
6934 if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then 7703 if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
6935 echo $ECHO_N "(cached) $ECHO_C" >&6 7704 $as_echo_n "(cached) " >&6
6936 else 7705 else
6937 ac_check_lib_save_LIBS=$LIBS 7706 ac_check_lib_save_LIBS=$LIBS
6938 LIBS="-lICE $X_EXTRA_LIBS $LIBS" 7707 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6939 cat >conftest.$ac_ext <<_ACEOF 7708 cat >conftest.$ac_ext <<_ACEOF
6940 /* confdefs.h. */ 7709 /* confdefs.h. */
6941 _ACEOF 7710 _ACEOF
6942 cat confdefs.h >>conftest.$ac_ext 7711 cat confdefs.h >>conftest.$ac_ext
6943 cat >>conftest.$ac_ext <<_ACEOF 7712 cat >>conftest.$ac_ext <<_ACEOF
6944 /* end confdefs.h. */ 7713 /* end confdefs.h. */
6945 7714
6946 /* Override any gcc2 internal prototype to avoid an error. */ 7715 /* Override any GCC internal prototype to avoid an error.
7716 Use char because int might match the return type of a GCC
7717 builtin and then its argument prototype would still apply. */
6947 #ifdef __cplusplus 7718 #ifdef __cplusplus
6948 extern "C" 7719 extern "C"
6949 #endif 7720 #endif
6950 /* We use char because int might match the return type of a gcc2
6951 builtin and then its argument prototype would still apply. */
6952 char IceOpenConnection (); 7721 char IceOpenConnection ();
6953 int 7722 int
6954 main () 7723 main ()
6955 { 7724 {
6956 IceOpenConnection (); 7725 return IceOpenConnection ();
6957 ; 7726 ;
6958 return 0; 7727 return 0;
6959 } 7728 }
6960 _ACEOF 7729 _ACEOF
6961 rm -f conftest.$ac_objext conftest$ac_exeext 7730 rm -f conftest.$ac_objext conftest$ac_exeext
6962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7731 if { (ac_try="$ac_link"
6963 (eval $ac_link) 2>conftest.er1 7732 case "(($ac_try" in
7733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7734 *) ac_try_echo=$ac_try;;
7735 esac
7736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7737 $as_echo "$ac_try_echo") >&5
7738 (eval "$ac_link") 2>conftest.er1
6964 ac_status=$? 7739 ac_status=$?
6965 grep -v '^ *+' conftest.er1 >conftest.err 7740 grep -v '^ *+' conftest.er1 >conftest.err
6966 rm -f conftest.er1 7741 rm -f conftest.er1
6967 cat conftest.err >&5 7742 cat conftest.err >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } && 7744 (exit $ac_status); } && {
6970 { ac_try='test -z "$ac_c_werror_flag" 7745 test -z "$ac_c_werror_flag" ||
6971 || test ! -s conftest.err' 7746 test ! -s conftest.err
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7747 } && test -s conftest$ac_exeext && {
6973 (eval $ac_try) 2>&5 7748 test "$cross_compiling" = yes ||
6974 ac_status=$? 7749 $as_test_x conftest$ac_exeext
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7750 }; then
6976 (exit $ac_status); }; } &&
6977 { ac_try='test -s conftest$ac_exeext'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 (eval $ac_try) 2>&5
6980 ac_status=$?
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; }; then
6983 ac_cv_lib_ICE_IceOpenConnection=yes 7751 ac_cv_lib_ICE_IceOpenConnection=yes
6984 else 7752 else
6985 echo "$as_me: failed program was:" >&5 7753 $as_echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5 7754 sed 's/^/| /' conftest.$ac_ext >&5
6987 7755
6988 ac_cv_lib_ICE_IceOpenConnection=no 7756 ac_cv_lib_ICE_IceOpenConnection=no
6989 fi 7757 fi
6990 rm -f conftest.err conftest.$ac_objext \ 7758
7759 rm -rf conftest.dSYM
7760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6991 conftest$ac_exeext conftest.$ac_ext 7761 conftest$ac_exeext conftest.$ac_ext
6992 LIBS=$ac_check_lib_save_LIBS 7762 LIBS=$ac_check_lib_save_LIBS
6993 fi 7763 fi
6994 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5 7764 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
6995 echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6 7765 $as_echo "$ac_cv_lib_ICE_IceOpenConnection" >&6; }
6996 if test $ac_cv_lib_ICE_IceOpenConnection = yes; then 7766 if test $ac_cv_lib_ICE_IceOpenConnection = yes; then
6997 X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE" 7767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE"
6998 fi 7768 fi
6999 7769
7000 7770
7001 LDFLAGS="$X_LIBS $ac_save_LDFLAGS" 7771 LDFLAGS="$X_LIBS $ac_save_LDFLAGS"
7002 echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5 7772 { $as_echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
7003 echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6 7773 $as_echo_n "checking for XpmCreatePixmapFromData in -lXpm... " >&6; }
7004 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then 7774 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
7005 echo $ECHO_N "(cached) $ECHO_C" >&6 7775 $as_echo_n "(cached) " >&6
7006 else 7776 else
7007 ac_check_lib_save_LIBS=$LIBS 7777 ac_check_lib_save_LIBS=$LIBS
7008 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS" 7778 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS"
7009 cat >conftest.$ac_ext <<_ACEOF 7779 cat >conftest.$ac_ext <<_ACEOF
7010 /* confdefs.h. */ 7780 /* confdefs.h. */
7011 _ACEOF 7781 _ACEOF
7012 cat confdefs.h >>conftest.$ac_ext 7782 cat confdefs.h >>conftest.$ac_ext
7013 cat >>conftest.$ac_ext <<_ACEOF 7783 cat >>conftest.$ac_ext <<_ACEOF
7014 /* end confdefs.h. */ 7784 /* end confdefs.h. */
7015 7785
7016 /* Override any gcc2 internal prototype to avoid an error. */ 7786 /* Override any GCC internal prototype to avoid an error.
7787 Use char because int might match the return type of a GCC
7788 builtin and then its argument prototype would still apply. */
7017 #ifdef __cplusplus 7789 #ifdef __cplusplus
7018 extern "C" 7790 extern "C"
7019 #endif 7791 #endif
7020 /* We use char because int might match the return type of a gcc2
7021 builtin and then its argument prototype would still apply. */
7022 char XpmCreatePixmapFromData (); 7792 char XpmCreatePixmapFromData ();
7023 int 7793 int
7024 main () 7794 main ()
7025 { 7795 {
7026 XpmCreatePixmapFromData (); 7796 return XpmCreatePixmapFromData ();
7027 ; 7797 ;
7028 return 0; 7798 return 0;
7029 } 7799 }
7030 _ACEOF 7800 _ACEOF
7031 rm -f conftest.$ac_objext conftest$ac_exeext 7801 rm -f conftest.$ac_objext conftest$ac_exeext
7032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7802 if { (ac_try="$ac_link"
7033 (eval $ac_link) 2>conftest.er1 7803 case "(($ac_try" in
7804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7805 *) ac_try_echo=$ac_try;;
7806 esac
7807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7808 $as_echo "$ac_try_echo") >&5
7809 (eval "$ac_link") 2>conftest.er1
7034 ac_status=$? 7810 ac_status=$?
7035 grep -v '^ *+' conftest.er1 >conftest.err 7811 grep -v '^ *+' conftest.er1 >conftest.err
7036 rm -f conftest.er1 7812 rm -f conftest.er1
7037 cat conftest.err >&5 7813 cat conftest.err >&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); } && 7815 (exit $ac_status); } && {
7040 { ac_try='test -z "$ac_c_werror_flag" 7816 test -z "$ac_c_werror_flag" ||
7041 || test ! -s conftest.err' 7817 test ! -s conftest.err
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7818 } && test -s conftest$ac_exeext && {
7043 (eval $ac_try) 2>&5 7819 test "$cross_compiling" = yes ||
7044 ac_status=$? 7820 $as_test_x conftest$ac_exeext
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7821 }; then
7046 (exit $ac_status); }; } &&
7047 { ac_try='test -s conftest$ac_exeext'
7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7049 (eval $ac_try) 2>&5
7050 ac_status=$?
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); }; }; then
7053 ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes 7822 ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes
7054 else 7823 else
7055 echo "$as_me: failed program was:" >&5 7824 $as_echo "$as_me: failed program was:" >&5
7056 sed 's/^/| /' conftest.$ac_ext >&5 7825 sed 's/^/| /' conftest.$ac_ext >&5
7057 7826
7058 ac_cv_lib_Xpm_XpmCreatePixmapFromData=no 7827 ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
7059 fi 7828 fi
7060 rm -f conftest.err conftest.$ac_objext \ 7829
7830 rm -rf conftest.dSYM
7831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7061 conftest$ac_exeext conftest.$ac_ext 7832 conftest$ac_exeext conftest.$ac_ext
7062 LIBS=$ac_check_lib_save_LIBS 7833 LIBS=$ac_check_lib_save_LIBS
7063 fi 7834 fi
7064 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5 7835 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
7065 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6 7836 $as_echo "$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6; }
7066 if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then 7837 if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
7067 X_PRE_LIBS="$X_PRE_LIBS -lXpm" 7838 X_PRE_LIBS="$X_PRE_LIBS -lXpm"
7068 fi 7839 fi
7069 7840
7070 7841
7071 echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5 7842 { $as_echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
7072 echo $ECHO_N "checking if X11 header files implicitly declare return values... $ECHO_C" >&6 7843 $as_echo_n "checking if X11 header files implicitly declare return values... " >&6; }
7073 cflags_save=$CFLAGS 7844 cflags_save=$CFLAGS
7074 CFLAGS="$CFLAGS $X_CFLAGS -Werror" 7845 CFLAGS="$CFLAGS $X_CFLAGS -Werror"
7075 cat >conftest.$ac_ext <<_ACEOF 7846 cat >conftest.$ac_ext <<_ACEOF
7076 /* confdefs.h. */ 7847 /* confdefs.h. */
7077 _ACEOF 7848 _ACEOF
7086 ; 7857 ;
7087 return 0; 7858 return 0;
7088 } 7859 }
7089 _ACEOF 7860 _ACEOF
7090 rm -f conftest.$ac_objext 7861 rm -f conftest.$ac_objext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7862 if { (ac_try="$ac_compile"
7092 (eval $ac_compile) 2>conftest.er1 7863 case "(($ac_try" in
7864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7865 *) ac_try_echo=$ac_try;;
7866 esac
7867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7868 $as_echo "$ac_try_echo") >&5
7869 (eval "$ac_compile") 2>conftest.er1
7093 ac_status=$? 7870 ac_status=$?
7094 grep -v '^ *+' conftest.er1 >conftest.err 7871 grep -v '^ *+' conftest.er1 >conftest.err
7095 rm -f conftest.er1 7872 rm -f conftest.er1
7096 cat conftest.err >&5 7873 cat conftest.err >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); } && 7875 (exit $ac_status); } && {
7099 { ac_try='test -z "$ac_c_werror_flag" 7876 test -z "$ac_c_werror_flag" ||
7100 || test ! -s conftest.err' 7877 test ! -s conftest.err
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7878 } && test -s conftest.$ac_objext; then
7102 (eval $ac_try) 2>&5 7879 { $as_echo "$as_me:$LINENO: result: no" >&5
7103 ac_status=$? 7880 $as_echo "no" >&6; }
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7881 else
7105 (exit $ac_status); }; } && 7882 $as_echo "$as_me: failed program was:" >&5
7106 { ac_try='test -s conftest.$ac_objext'
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7108 (eval $ac_try) 2>&5
7109 ac_status=$?
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7111 (exit $ac_status); }; }; then
7112 echo "$as_me:$LINENO: result: no" >&5
7113 echo "${ECHO_T}no" >&6
7114 else
7115 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.$ac_ext >&5 7883 sed 's/^/| /' conftest.$ac_ext >&5
7117 7884
7118 CFLAGS="$CFLAGS -Wno-implicit-int" 7885 CFLAGS="$CFLAGS -Wno-implicit-int"
7119 cat >conftest.$ac_ext <<_ACEOF 7886 cat >conftest.$ac_ext <<_ACEOF
7120 /* confdefs.h. */ 7887 /* confdefs.h. */
7121 _ACEOF 7888 _ACEOF
7122 cat confdefs.h >>conftest.$ac_ext 7889 cat confdefs.h >>conftest.$ac_ext
7123 cat >>conftest.$ac_ext <<_ACEOF 7890 cat >>conftest.$ac_ext <<_ACEOF
7130 ; 7897 ;
7131 return 0; 7898 return 0;
7132 } 7899 }
7133 _ACEOF 7900 _ACEOF
7134 rm -f conftest.$ac_objext 7901 rm -f conftest.$ac_objext
7135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7902 if { (ac_try="$ac_compile"
7136 (eval $ac_compile) 2>conftest.er1 7903 case "(($ac_try" in
7904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7905 *) ac_try_echo=$ac_try;;
7906 esac
7907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7908 $as_echo "$ac_try_echo") >&5
7909 (eval "$ac_compile") 2>conftest.er1
7137 ac_status=$? 7910 ac_status=$?
7138 grep -v '^ *+' conftest.er1 >conftest.err 7911 grep -v '^ *+' conftest.er1 >conftest.err
7139 rm -f conftest.er1 7912 rm -f conftest.er1
7140 cat conftest.err >&5 7913 cat conftest.err >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } && 7915 (exit $ac_status); } && {
7143 { ac_try='test -z "$ac_c_werror_flag" 7916 test -z "$ac_c_werror_flag" ||
7144 || test ! -s conftest.err' 7917 test ! -s conftest.err
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7918 } && test -s conftest.$ac_objext; then
7146 (eval $ac_try) 2>&5 7919 { $as_echo "$as_me:$LINENO: result: yes" >&5
7147 ac_status=$? 7920 $as_echo "yes" >&6; }; cflags_save="$cflags_save -Wno-implicit-int"
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7921 else
7149 (exit $ac_status); }; } && 7922 $as_echo "$as_me: failed program was:" >&5
7150 { ac_try='test -s conftest.$ac_objext'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 (eval $ac_try) 2>&5
7153 ac_status=$?
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; }; then
7156 echo "$as_me:$LINENO: result: yes" >&5
7157 echo "${ECHO_T}yes" >&6; cflags_save="$cflags_save -Wno-implicit-int"
7158 else
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5 7923 sed 's/^/| /' conftest.$ac_ext >&5
7161 7924
7162 echo "$as_me:$LINENO: result: test failed" >&5 7925 { $as_echo "$as_me:$LINENO: result: test failed" >&5
7163 echo "${ECHO_T}test failed" >&6 7926 $as_echo "test failed" >&6; }
7164 7927
7165 fi 7928 fi
7166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7929
7167 7930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7168 fi 7931
7169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7932 fi
7933
7934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7170 CFLAGS=$cflags_save 7935 CFLAGS=$cflags_save
7171 7936
7172 LDFLAGS="$ac_save_LDFLAGS" 7937 LDFLAGS="$ac_save_LDFLAGS"
7173 7938
7174 fi 7939 fi
7175 fi 7940 fi
7176 7941
7177 test "x$with_x" = xno -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no 7942 test "x$with_x" = xno -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no
7178 7943
7179 echo "$as_me:$LINENO: checking --enable-gui argument" >&5 7944 { $as_echo "$as_me:$LINENO: checking --enable-gui argument" >&5
7180 echo $ECHO_N "checking --enable-gui argument... $ECHO_C" >&6 7945 $as_echo_n "checking --enable-gui argument... " >&6; }
7181 # Check whether --enable-gui or --disable-gui was given. 7946 # Check whether --enable-gui was given.
7182 if test "${enable_gui+set}" = set; then 7947 if test "${enable_gui+set}" = set; then
7183 enableval="$enable_gui" 7948 enableval=$enable_gui;
7184
7185 else 7949 else
7186 enable_gui="auto" 7950 enable_gui="auto"
7187 fi; 7951 fi
7952
7188 7953
7189 enable_gui_canon=`echo "_$enable_gui" | \ 7954 enable_gui_canon=`echo "_$enable_gui" | \
7190 sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 7955 sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
7191 7956
7192 SKIP_GTK=YES 7957 SKIP_GTK=YES
7200 GUITYPE=NONE 7965 GUITYPE=NONE
7201 7966
7202 if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then 7967 if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then
7203 SKIP_PHOTON= 7968 SKIP_PHOTON=
7204 case "$enable_gui_canon" in 7969 case "$enable_gui_canon" in
7205 no) echo "$as_me:$LINENO: result: no GUI support" >&5 7970 no) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
7206 echo "${ECHO_T}no GUI support" >&6 7971 $as_echo "no GUI support" >&6; }
7207 SKIP_PHOTON=YES ;; 7972 SKIP_PHOTON=YES ;;
7208 yes|"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5 7973 yes|"") { $as_echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
7209 echo "${ECHO_T}yes - automatic GUI support" >&6 ;; 7974 $as_echo "yes - automatic GUI support" >&6; } ;;
7210 auto) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5 7975 auto) { $as_echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
7211 echo "${ECHO_T}auto - automatic GUI support" >&6 ;; 7976 $as_echo "auto - automatic GUI support" >&6; } ;;
7212 photon) echo "$as_me:$LINENO: result: Photon GUI support" >&5 7977 photon) { $as_echo "$as_me:$LINENO: result: Photon GUI support" >&5
7213 echo "${ECHO_T}Photon GUI support" >&6 ;; 7978 $as_echo "Photon GUI support" >&6; } ;;
7214 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5 7979 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7215 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6 7980 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; }
7216 SKIP_PHOTON=YES ;; 7981 SKIP_PHOTON=YES ;;
7217 esac 7982 esac
7218 7983
7219 elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then 7984 elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then
7220 SKIP_CARBON= 7985 SKIP_CARBON=
7221 case "$enable_gui_canon" in 7986 case "$enable_gui_canon" in
7222 no) echo "$as_me:$LINENO: result: no GUI support" >&5 7987 no) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
7223 echo "${ECHO_T}no GUI support" >&6 7988 $as_echo "no GUI support" >&6; }
7224 SKIP_CARBON=YES ;; 7989 SKIP_CARBON=YES ;;
7225 yes|"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5 7990 yes|"") { $as_echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
7226 echo "${ECHO_T}yes - automatic GUI support" >&6 ;; 7991 $as_echo "yes - automatic GUI support" >&6; } ;;
7227 auto) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5 7992 auto) { $as_echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
7228 echo "${ECHO_T}auto - automatic GUI support" >&6 ;; 7993 $as_echo "auto - automatic GUI support" >&6; } ;;
7229 carbon) echo "$as_me:$LINENO: result: Carbon GUI support" >&5 7994 carbon) { $as_echo "$as_me:$LINENO: result: Carbon GUI support" >&5
7230 echo "${ECHO_T}Carbon GUI support" >&6 ;; 7995 $as_echo "Carbon GUI support" >&6; } ;;
7231 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5 7996 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7232 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6 7997 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; }
7233 SKIP_CARBON=YES ;; 7998 SKIP_CARBON=YES ;;
7234 esac 7999 esac
7235 8000
7236 else 8001 else
7237 8002
7238 case "$enable_gui_canon" in 8003 case "$enable_gui_canon" in
7239 no|none) echo "$as_me:$LINENO: result: no GUI support" >&5 8004 no|none) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
7240 echo "${ECHO_T}no GUI support" >&6 ;; 8005 $as_echo "no GUI support" >&6; } ;;
7241 yes|""|auto) echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5 8006 yes|""|auto) { $as_echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
7242 echo "${ECHO_T}yes/auto - automatic GUI support" >&6 8007 $as_echo "yes/auto - automatic GUI support" >&6; }
7243 SKIP_GTK= 8008 SKIP_GTK=
7244 SKIP_GTK2= 8009 SKIP_GTK2=
7245 SKIP_GNOME= 8010 SKIP_GNOME=
7246 SKIP_MOTIF= 8011 SKIP_MOTIF=
7247 SKIP_ATHENA= 8012 SKIP_ATHENA=
7248 SKIP_NEXTAW= 8013 SKIP_NEXTAW=
7249 SKIP_CARBON=;; 8014 SKIP_CARBON=;;
7250 gtk) echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5 8015 gtk) { $as_echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
7251 echo "${ECHO_T}GTK+ 1.x GUI support" >&6 8016 $as_echo "GTK+ 1.x GUI support" >&6; }
7252 SKIP_GTK=;; 8017 SKIP_GTK=;;
7253 gtk2) echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5 8018 gtk2) { $as_echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
7254 echo "${ECHO_T}GTK+ 2.x GUI support" >&6 8019 $as_echo "GTK+ 2.x GUI support" >&6; }
7255 SKIP_GTK= 8020 SKIP_GTK=
7256 SKIP_GTK2=;; 8021 SKIP_GTK2=;;
7257 gnome) echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5 8022 gnome) { $as_echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
7258 echo "${ECHO_T}GNOME 1.x GUI support" >&6 8023 $as_echo "GNOME 1.x GUI support" >&6; }
7259 SKIP_GNOME= 8024 SKIP_GNOME=
7260 SKIP_GTK=;; 8025 SKIP_GTK=;;
7261 gnome2) echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5 8026 gnome2) { $as_echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
7262 echo "${ECHO_T}GNOME 2.x GUI support" >&6 8027 $as_echo "GNOME 2.x GUI support" >&6; }
7263 SKIP_GNOME= 8028 SKIP_GNOME=
7264 SKIP_GTK= 8029 SKIP_GTK=
7265 SKIP_GTK2=;; 8030 SKIP_GTK2=;;
7266 motif) echo "$as_me:$LINENO: result: Motif GUI support" >&5 8031 motif) { $as_echo "$as_me:$LINENO: result: Motif GUI support" >&5
7267 echo "${ECHO_T}Motif GUI support" >&6 8032 $as_echo "Motif GUI support" >&6; }
7268 SKIP_MOTIF=;; 8033 SKIP_MOTIF=;;
7269 athena) echo "$as_me:$LINENO: result: Athena GUI support" >&5 8034 athena) { $as_echo "$as_me:$LINENO: result: Athena GUI support" >&5
7270 echo "${ECHO_T}Athena GUI support" >&6 8035 $as_echo "Athena GUI support" >&6; }
7271 SKIP_ATHENA=;; 8036 SKIP_ATHENA=;;
7272 nextaw) echo "$as_me:$LINENO: result: neXtaw GUI support" >&5 8037 nextaw) { $as_echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
7273 echo "${ECHO_T}neXtaw GUI support" >&6 8038 $as_echo "neXtaw GUI support" >&6; }
7274 SKIP_NEXTAW=;; 8039 SKIP_NEXTAW=;;
7275 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5 8040 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7276 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6 ;; 8041 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; } ;;
7277 esac 8042 esac
7278 8043
7279 fi 8044 fi
7280 8045
7281 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then 8046 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then
7282 echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5 8047 { $as_echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
7283 echo $ECHO_N "checking whether or not to look for GTK... $ECHO_C" >&6 8048 $as_echo_n "checking whether or not to look for GTK... " >&6; }
7284 # Check whether --enable-gtk-check or --disable-gtk-check was given. 8049 # Check whether --enable-gtk-check was given.
7285 if test "${enable_gtk_check+set}" = set; then 8050 if test "${enable_gtk_check+set}" = set; then
7286 enableval="$enable_gtk_check" 8051 enableval=$enable_gtk_check;
7287
7288 else 8052 else
7289 enable_gtk_check="yes" 8053 enable_gtk_check="yes"
7290 fi; 8054 fi
7291 echo "$as_me:$LINENO: result: $enable_gtk_check" >&5 8055
7292 echo "${ECHO_T}$enable_gtk_check" >&6 8056 { $as_echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
8057 $as_echo "$enable_gtk_check" >&6; }
7293 if test "x$enable_gtk_check" = "xno"; then 8058 if test "x$enable_gtk_check" = "xno"; then
7294 SKIP_GTK=YES 8059 SKIP_GTK=YES
7295 SKIP_GNOME=YES 8060 SKIP_GNOME=YES
7296 fi 8061 fi
7297 fi 8062 fi
7298 8063
7299 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \ 8064 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \
7300 -a "$enable_gui_canon" != "gnome2"; then 8065 -a "$enable_gui_canon" != "gnome2"; then
7301 echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5 8066 { $as_echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
7302 echo $ECHO_N "checking whether or not to look for GTK+ 2... $ECHO_C" >&6 8067 $as_echo_n "checking whether or not to look for GTK+ 2... " >&6; }
7303 # Check whether --enable-gtk2-check or --disable-gtk2-check was given. 8068 # Check whether --enable-gtk2-check was given.
7304 if test "${enable_gtk2_check+set}" = set; then 8069 if test "${enable_gtk2_check+set}" = set; then
7305 enableval="$enable_gtk2_check" 8070 enableval=$enable_gtk2_check;
7306
7307 else 8071 else
7308 enable_gtk2_check="yes" 8072 enable_gtk2_check="yes"
7309 fi; 8073 fi
7310 echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5 8074
7311 echo "${ECHO_T}$enable_gtk2_check" >&6 8075 { $as_echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
8076 $as_echo "$enable_gtk2_check" >&6; }
7312 if test "x$enable_gtk2_check" = "xno"; then 8077 if test "x$enable_gtk2_check" = "xno"; then
7313 SKIP_GTK2=YES 8078 SKIP_GTK2=YES
7314 fi 8079 fi
7315 fi 8080 fi
7316 8081
7317 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \ 8082 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \
7318 -a "$enable_gui_canon" != "gnome2"; then 8083 -a "$enable_gui_canon" != "gnome2"; then
7319 echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5 8084 { $as_echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
7320 echo $ECHO_N "checking whether or not to look for GNOME... $ECHO_C" >&6 8085 $as_echo_n "checking whether or not to look for GNOME... " >&6; }
7321 # Check whether --enable-gnome-check or --disable-gnome-check was given. 8086 # Check whether --enable-gnome-check was given.
7322 if test "${enable_gnome_check+set}" = set; then 8087 if test "${enable_gnome_check+set}" = set; then
7323 enableval="$enable_gnome_check" 8088 enableval=$enable_gnome_check;
7324
7325 else 8089 else
7326 enable_gnome_check="no" 8090 enable_gnome_check="no"
7327 fi; 8091 fi
7328 echo "$as_me:$LINENO: result: $enable_gnome_check" >&5 8092
7329 echo "${ECHO_T}$enable_gnome_check" >&6 8093 { $as_echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
8094 $as_echo "$enable_gnome_check" >&6; }
7330 if test "x$enable_gnome_check" = "xno"; then 8095 if test "x$enable_gnome_check" = "xno"; then
7331 SKIP_GNOME=YES 8096 SKIP_GNOME=YES
7332 fi 8097 fi
7333 fi 8098 fi
7334 8099
7335 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then 8100 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then
7336 echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5 8101 { $as_echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
7337 echo $ECHO_N "checking whether or not to look for Motif... $ECHO_C" >&6 8102 $as_echo_n "checking whether or not to look for Motif... " >&6; }
7338 # Check whether --enable-motif-check or --disable-motif-check was given. 8103 # Check whether --enable-motif-check was given.
7339 if test "${enable_motif_check+set}" = set; then 8104 if test "${enable_motif_check+set}" = set; then
7340 enableval="$enable_motif_check" 8105 enableval=$enable_motif_check;
7341
7342 else 8106 else
7343 enable_motif_check="yes" 8107 enable_motif_check="yes"
7344 fi; 8108 fi
7345 echo "$as_me:$LINENO: result: $enable_motif_check" >&5 8109
7346 echo "${ECHO_T}$enable_motif_check" >&6 8110 { $as_echo "$as_me:$LINENO: result: $enable_motif_check" >&5
8111 $as_echo "$enable_motif_check" >&6; }
7347 if test "x$enable_motif_check" = "xno"; then 8112 if test "x$enable_motif_check" = "xno"; then
7348 SKIP_MOTIF=YES 8113 SKIP_MOTIF=YES
7349 fi 8114 fi
7350 fi 8115 fi
7351 8116
7352 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then 8117 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then
7353 echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5 8118 { $as_echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
7354 echo $ECHO_N "checking whether or not to look for Athena... $ECHO_C" >&6 8119 $as_echo_n "checking whether or not to look for Athena... " >&6; }
7355 # Check whether --enable-athena-check or --disable-athena-check was given. 8120 # Check whether --enable-athena-check was given.
7356 if test "${enable_athena_check+set}" = set; then 8121 if test "${enable_athena_check+set}" = set; then
7357 enableval="$enable_athena_check" 8122 enableval=$enable_athena_check;
7358
7359 else 8123 else
7360 enable_athena_check="yes" 8124 enable_athena_check="yes"
7361 fi; 8125 fi
7362 echo "$as_me:$LINENO: result: $enable_athena_check" >&5 8126
7363 echo "${ECHO_T}$enable_athena_check" >&6 8127 { $as_echo "$as_me:$LINENO: result: $enable_athena_check" >&5
8128 $as_echo "$enable_athena_check" >&6; }
7364 if test "x$enable_athena_check" = "xno"; then 8129 if test "x$enable_athena_check" = "xno"; then
7365 SKIP_ATHENA=YES 8130 SKIP_ATHENA=YES
7366 fi 8131 fi
7367 fi 8132 fi
7368 8133
7369 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then 8134 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then
7370 echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5 8135 { $as_echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
7371 echo $ECHO_N "checking whether or not to look for neXtaw... $ECHO_C" >&6 8136 $as_echo_n "checking whether or not to look for neXtaw... " >&6; }
7372 # Check whether --enable-nextaw-check or --disable-nextaw-check was given. 8137 # Check whether --enable-nextaw-check was given.
7373 if test "${enable_nextaw_check+set}" = set; then 8138 if test "${enable_nextaw_check+set}" = set; then
7374 enableval="$enable_nextaw_check" 8139 enableval=$enable_nextaw_check;
7375
7376 else 8140 else
7377 enable_nextaw_check="yes" 8141 enable_nextaw_check="yes"
7378 fi; 8142 fi
7379 echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5 8143
7380 echo "${ECHO_T}$enable_nextaw_check" >&6; 8144 { $as_echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
8145 $as_echo "$enable_nextaw_check" >&6; };
7381 if test "x$enable_nextaw_check" = "xno"; then 8146 if test "x$enable_nextaw_check" = "xno"; then
7382 SKIP_NEXTAW=YES 8147 SKIP_NEXTAW=YES
7383 fi 8148 fi
7384 fi 8149 fi
7385 8150
7386 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then 8151 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then
7387 echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5 8152 { $as_echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
7388 echo $ECHO_N "checking whether or not to look for Carbon... $ECHO_C" >&6 8153 $as_echo_n "checking whether or not to look for Carbon... " >&6; }
7389 # Check whether --enable-carbon-check or --disable-carbon-check was given. 8154 # Check whether --enable-carbon-check was given.
7390 if test "${enable_carbon_check+set}" = set; then 8155 if test "${enable_carbon_check+set}" = set; then
7391 enableval="$enable_carbon_check" 8156 enableval=$enable_carbon_check;
7392
7393 else 8157 else
7394 enable_carbon_check="yes" 8158 enable_carbon_check="yes"
7395 fi; 8159 fi
7396 echo "$as_me:$LINENO: result: $enable_carbon_check" >&5 8160
7397 echo "${ECHO_T}$enable_carbon_check" >&6; 8161 { $as_echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
8162 $as_echo "$enable_carbon_check" >&6; };
7398 if test "x$enable_carbon_check" = "xno"; then 8163 if test "x$enable_carbon_check" = "xno"; then
7399 SKIP_CARBON=YES 8164 SKIP_CARBON=YES
7400 fi 8165 fi
7401 fi 8166 fi
7402 8167
7403 8168
7404 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then 8169 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then
7405 echo "$as_me:$LINENO: checking for Carbon GUI" >&5 8170 { $as_echo "$as_me:$LINENO: checking for Carbon GUI" >&5
7406 echo $ECHO_N "checking for Carbon GUI... $ECHO_C" >&6 8171 $as_echo_n "checking for Carbon GUI... " >&6; }
7407 echo "$as_me:$LINENO: result: yes" >&5 8172 { $as_echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6; 8173 $as_echo "yes" >&6; };
7409 GUITYPE=CARBONGUI 8174 GUITYPE=CARBONGUI
7410 if test "$VIMNAME" = "vim"; then 8175 if test "$VIMNAME" = "vim"; then
7411 VIMNAME=Vim 8176 VIMNAME=Vim
7412 fi 8177 fi
7413 8178
7435 8200
7436 8201
7437 8202
7438 if test -z "$SKIP_GTK"; then 8203 if test -z "$SKIP_GTK"; then
7439 8204
7440 echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5 8205 { $as_echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
7441 echo $ECHO_N "checking --with-gtk-prefix argument... $ECHO_C" >&6 8206 $as_echo_n "checking --with-gtk-prefix argument... " >&6; }
7442 8207
7443 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. 8208 # Check whether --with-gtk-prefix was given.
7444 if test "${with_gtk_prefix+set}" = set; then 8209 if test "${with_gtk_prefix+set}" = set; then
7445 withval="$with_gtk_prefix" 8210 withval=$with_gtk_prefix; gtk_config_prefix="$withval"; { $as_echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
7446 gtk_config_prefix="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5 8211 $as_echo "$gtk_config_prefix" >&6; }
7447 echo "${ECHO_T}$gtk_config_prefix" >&6 8212 else
7448 else 8213 gtk_config_prefix=""; { $as_echo "$as_me:$LINENO: result: no" >&5
7449 gtk_config_prefix=""; echo "$as_me:$LINENO: result: no" >&5 8214 $as_echo "no" >&6; }
7450 echo "${ECHO_T}no" >&6 8215 fi
7451 fi; 8216
7452 8217
7453 echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5 8218 { $as_echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
7454 echo $ECHO_N "checking --with-gtk-exec-prefix argument... $ECHO_C" >&6 8219 $as_echo_n "checking --with-gtk-exec-prefix argument... " >&6; }
7455 8220
7456 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. 8221 # Check whether --with-gtk-exec-prefix was given.
7457 if test "${with_gtk_exec_prefix+set}" = set; then 8222 if test "${with_gtk_exec_prefix+set}" = set; then
7458 withval="$with_gtk_exec_prefix" 8223 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"; { $as_echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
7459 gtk_config_exec_prefix="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5 8224 $as_echo "$gtk_config_prefix" >&6; }
7460 echo "${ECHO_T}$gtk_config_prefix" >&6 8225 else
7461 else 8226 gtk_config_exec_prefix=""; { $as_echo "$as_me:$LINENO: result: no" >&5
7462 gtk_config_exec_prefix=""; echo "$as_me:$LINENO: result: no" >&5 8227 $as_echo "no" >&6; }
7463 echo "${ECHO_T}no" >&6 8228 fi
7464 fi; 8229
7465 8230
7466 echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5 8231 { $as_echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
7467 echo $ECHO_N "checking --disable-gtktest argument... $ECHO_C" >&6 8232 $as_echo_n "checking --disable-gtktest argument... " >&6; }
7468 # Check whether --enable-gtktest or --disable-gtktest was given. 8233 # Check whether --enable-gtktest was given.
7469 if test "${enable_gtktest+set}" = set; then 8234 if test "${enable_gtktest+set}" = set; then
7470 enableval="$enable_gtktest" 8235 enableval=$enable_gtktest;
7471
7472 else 8236 else
7473 enable_gtktest=yes 8237 enable_gtktest=yes
7474 fi; 8238 fi
8239
7475 if test "x$enable_gtktest" = "xyes" ; then 8240 if test "x$enable_gtktest" = "xyes" ; then
7476 echo "$as_me:$LINENO: result: gtk test enabled" >&5 8241 { $as_echo "$as_me:$LINENO: result: gtk test enabled" >&5
7477 echo "${ECHO_T}gtk test enabled" >&6 8242 $as_echo "gtk test enabled" >&6; }
7478 else 8243 else
7479 echo "$as_me:$LINENO: result: gtk test disabled" >&5 8244 { $as_echo "$as_me:$LINENO: result: gtk test disabled" >&5
7480 echo "${ECHO_T}gtk test disabled" >&6 8245 $as_echo "gtk test disabled" >&6; }
7481 fi 8246 fi
7482 8247
7483 if test "x$gtk_config_prefix" != "x" ; then 8248 if test "x$gtk_config_prefix" != "x" ; then
7484 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" 8249 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
7485 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config 8250 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
7489 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config 8254 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
7490 fi 8255 fi
7491 if test "X$GTK_CONFIG" = "X"; then 8256 if test "X$GTK_CONFIG" = "X"; then
7492 # Extract the first word of "gtk-config", so it can be a program name with args. 8257 # Extract the first word of "gtk-config", so it can be a program name with args.
7493 set dummy gtk-config; ac_word=$2 8258 set dummy gtk-config; ac_word=$2
7494 echo "$as_me:$LINENO: checking for $ac_word" >&5 8259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8260 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then 8261 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
7497 echo $ECHO_N "(cached) $ECHO_C" >&6 8262 $as_echo_n "(cached) " >&6
7498 else 8263 else
7499 case $GTK_CONFIG in 8264 case $GTK_CONFIG in
7500 [\\/]* | ?:[\\/]*) 8265 [\\/]* | ?:[\\/]*)
7501 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. 8266 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
7502 ;; 8267 ;;
7505 for as_dir in $PATH 8270 for as_dir in $PATH
7506 do 8271 do
7507 IFS=$as_save_IFS 8272 IFS=$as_save_IFS
7508 test -z "$as_dir" && as_dir=. 8273 test -z "$as_dir" && as_dir=.
7509 for ac_exec_ext in '' $ac_executable_extensions; do 8274 for ac_exec_ext in '' $ac_executable_extensions; do
7510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7511 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8276 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8277 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 break 2 8278 break 2
7514 fi 8279 fi
7515 done 8280 done
7516 done 8281 done
8282 IFS=$as_save_IFS
7517 8283
7518 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" 8284 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
7519 ;; 8285 ;;
7520 esac 8286 esac
7521 fi 8287 fi
7522 GTK_CONFIG=$ac_cv_path_GTK_CONFIG 8288 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
7523
7524 if test -n "$GTK_CONFIG"; then 8289 if test -n "$GTK_CONFIG"; then
7525 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 8290 { $as_echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
7526 echo "${ECHO_T}$GTK_CONFIG" >&6 8291 $as_echo "$GTK_CONFIG" >&6; }
7527 else 8292 else
7528 echo "$as_me:$LINENO: result: no" >&5 8293 { $as_echo "$as_me:$LINENO: result: no" >&5
7529 echo "${ECHO_T}no" >&6 8294 $as_echo "no" >&6; }
7530 fi 8295 fi
8296
7531 8297
7532 if test "X$GTK_CONFIG" = "Xno"; then 8298 if test "X$GTK_CONFIG" = "Xno"; then
7533 # Extract the first word of "gtk12-config", so it can be a program name with args. 8299 # Extract the first word of "gtk12-config", so it can be a program name with args.
7534 set dummy gtk12-config; ac_word=$2 8300 set dummy gtk12-config; ac_word=$2
7535 echo "$as_me:$LINENO: checking for $ac_word" >&5 8301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8302 $as_echo_n "checking for $ac_word... " >&6; }
7537 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then 8303 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6 8304 $as_echo_n "(cached) " >&6
7539 else 8305 else
7540 case $GTK12_CONFIG in 8306 case $GTK12_CONFIG in
7541 [\\/]* | ?:[\\/]*) 8307 [\\/]* | ?:[\\/]*)
7542 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path. 8308 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
7543 ;; 8309 ;;
7546 for as_dir in $PATH 8312 for as_dir in $PATH
7547 do 8313 do
7548 IFS=$as_save_IFS 8314 IFS=$as_save_IFS
7549 test -z "$as_dir" && as_dir=. 8315 test -z "$as_dir" && as_dir=.
7550 for ac_exec_ext in '' $ac_executable_extensions; do 8316 for ac_exec_ext in '' $ac_executable_extensions; do
7551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7552 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8318 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8319 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7554 break 2 8320 break 2
7555 fi 8321 fi
7556 done 8322 done
7557 done 8323 done
8324 IFS=$as_save_IFS
7558 8325
7559 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no" 8326 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
7560 ;; 8327 ;;
7561 esac 8328 esac
7562 fi 8329 fi
7563 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG 8330 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
7564
7565 if test -n "$GTK12_CONFIG"; then 8331 if test -n "$GTK12_CONFIG"; then
7566 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5 8332 { $as_echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
7567 echo "${ECHO_T}$GTK12_CONFIG" >&6 8333 $as_echo "$GTK12_CONFIG" >&6; }
7568 else 8334 else
7569 echo "$as_me:$LINENO: result: no" >&5 8335 { $as_echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6 8336 $as_echo "no" >&6; }
7571 fi 8337 fi
8338
7572 8339
7573 GTK_CONFIG="$GTK12_CONFIG" 8340 GTK_CONFIG="$GTK12_CONFIG"
7574 fi 8341 fi
7575 else 8342 else
7576 echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5 8343 { $as_echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
7577 echo "${ECHO_T}Using GTK configuration program $GTK_CONFIG" >&6 8344 $as_echo "Using GTK configuration program $GTK_CONFIG" >&6; }
7578 fi 8345 fi
7579 if test "X$PKG_CONFIG" = "X"; then 8346 if test "X$PKG_CONFIG" = "X"; then
7580 # Extract the first word of "pkg-config", so it can be a program name with args. 8347 # Extract the first word of "pkg-config", so it can be a program name with args.
7581 set dummy pkg-config; ac_word=$2 8348 set dummy pkg-config; ac_word=$2
7582 echo "$as_me:$LINENO: checking for $ac_word" >&5 8349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8350 $as_echo_n "checking for $ac_word... " >&6; }
7584 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 8351 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6 8352 $as_echo_n "(cached) " >&6
7586 else 8353 else
7587 case $PKG_CONFIG in 8354 case $PKG_CONFIG in
7588 [\\/]* | ?:[\\/]*) 8355 [\\/]* | ?:[\\/]*)
7589 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8356 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7590 ;; 8357 ;;
7593 for as_dir in $PATH 8360 for as_dir in $PATH
7594 do 8361 do
7595 IFS=$as_save_IFS 8362 IFS=$as_save_IFS
7596 test -z "$as_dir" && as_dir=. 8363 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do 8364 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7599 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8366 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7601 break 2 8368 break 2
7602 fi 8369 fi
7603 done 8370 done
7604 done 8371 done
8372 IFS=$as_save_IFS
7605 8373
7606 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 8374 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7607 ;; 8375 ;;
7608 esac 8376 esac
7609 fi 8377 fi
7610 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8378 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7611
7612 if test -n "$PKG_CONFIG"; then 8379 if test -n "$PKG_CONFIG"; then
7613 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 8380 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7614 echo "${ECHO_T}$PKG_CONFIG" >&6 8381 $as_echo "$PKG_CONFIG" >&6; }
7615 else 8382 else
7616 echo "$as_me:$LINENO: result: no" >&5 8383 { $as_echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6 8384 $as_echo "no" >&6; }
7618 fi 8385 fi
8386
7619 8387
7620 fi 8388 fi
7621 8389
7622 if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then 8390 if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then
7623 if test "X$SKIP_GTK2" != "XYES"; then 8391 if test "X$SKIP_GTK2" != "XYES"; then
7624 8392
7625 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then 8393 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
7626 { 8394 {
7627 min_gtk_version=2.2.0 8395 min_gtk_version=2.2.0
7628 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 8396 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
7629 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 8397 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
7630 no_gtk="" 8398 no_gtk=""
7631 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ 8399 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
7632 && $PKG_CONFIG --exists gtk+-2.0; then 8400 && $PKG_CONFIG --exists gtk+-2.0; then
7633 { 8401 {
7634 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` 8402 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
7675 cat >>conftest.$ac_ext <<_ACEOF 8443 cat >>conftest.$ac_ext <<_ACEOF
7676 /* end confdefs.h. */ 8444 /* end confdefs.h. */
7677 8445
7678 #include <gtk/gtk.h> 8446 #include <gtk/gtk.h>
7679 #include <stdio.h> 8447 #include <stdio.h>
8448 #if STDC_HEADERS
8449 # include <stdlib.h>
8450 # include <stddef.h>
8451 #endif
7680 8452
7681 int 8453 int
7682 main () 8454 main ()
7683 { 8455 {
7684 int major, minor, micro; 8456 int major, minor, micro;
7703 return 1; 8475 return 1;
7704 } 8476 }
7705 8477
7706 _ACEOF 8478 _ACEOF
7707 rm -f conftest$ac_exeext 8479 rm -f conftest$ac_exeext
7708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8480 if { (ac_try="$ac_link"
7709 (eval $ac_link) 2>&5 8481 case "(($ac_try" in
8482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8483 *) ac_try_echo=$ac_try;;
8484 esac
8485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8486 $as_echo "$ac_try_echo") >&5
8487 (eval "$ac_link") 2>&5
7710 ac_status=$? 8488 ac_status=$?
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8491 { (case "(($ac_try" in
7714 (eval $ac_try) 2>&5 8492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8493 *) ac_try_echo=$ac_try;;
8494 esac
8495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8496 $as_echo "$ac_try_echo") >&5
8497 (eval "$ac_try") 2>&5
7715 ac_status=$? 8498 ac_status=$?
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); }; }; then 8500 (exit $ac_status); }; }; then
7718 : 8501 :
7719 else 8502 else
7720 echo "$as_me: program exited with status $ac_status" >&5 8503 $as_echo "$as_me: program exited with status $ac_status" >&5
7721 echo "$as_me: failed program was:" >&5 8504 $as_echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5 8505 sed 's/^/| /' conftest.$ac_ext >&5
7723 8506
7724 ( exit $ac_status ) 8507 ( exit $ac_status )
7725 no_gtk=yes 8508 no_gtk=yes
7726 fi 8509 fi
7727 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8510 rm -rf conftest.dSYM
7728 fi 8511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8512 fi
8513
8514
7729 CFLAGS="$ac_save_CFLAGS" 8515 CFLAGS="$ac_save_CFLAGS"
7730 LIBS="$ac_save_LIBS" 8516 LIBS="$ac_save_LIBS"
7731 } 8517 }
7732 fi 8518 fi
7733 if test "x$no_gtk" = x ; then 8519 if test "x$no_gtk" = x ; then
7734 if test "x$enable_gtktest" = "xyes"; then 8520 if test "x$enable_gtktest" = "xyes"; then
7735 echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5 8521 { $as_echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7736 echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6 8522 $as_echo "yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
7737 else 8523 else
7738 echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5 8524 { $as_echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7739 echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6 8525 $as_echo "found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
7740 fi 8526 fi
7741 GUI_LIB_LOC="$GTK_LIBDIR" 8527 GUI_LIB_LOC="$GTK_LIBDIR"
7742 GTK_LIBNAME="$GTK_LIBS" 8528 GTK_LIBNAME="$GTK_LIBS"
7743 GUI_INC_LOC="$GTK_CFLAGS" 8529 GUI_INC_LOC="$GTK_CFLAGS"
7744 else 8530 else
7745 { 8531 {
7746 echo "$as_me:$LINENO: result: no" >&5 8532 { $as_echo "$as_me:$LINENO: result: no" >&5
7747 echo "${ECHO_T}no" >&6 8533 $as_echo "no" >&6; }
7748 GTK_CFLAGS="" 8534 GTK_CFLAGS=""
7749 GTK_LIBS="" 8535 GTK_LIBS=""
7750 : 8536 :
7751 } 8537 }
7752 fi 8538 fi
7773 SKIP_GTK2=YES 8559 SKIP_GTK2=YES
7774 8560
7775 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then 8561 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
7776 { 8562 {
7777 min_gtk_version=1.1.16 8563 min_gtk_version=1.1.16
7778 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 8564 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
7779 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 8565 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
7780 no_gtk="" 8566 no_gtk=""
7781 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ 8567 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
7782 && $PKG_CONFIG --exists gtk+-2.0; then 8568 && $PKG_CONFIG --exists gtk+-2.0; then
7783 { 8569 {
7784 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` 8570 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
7825 cat >>conftest.$ac_ext <<_ACEOF 8611 cat >>conftest.$ac_ext <<_ACEOF
7826 /* end confdefs.h. */ 8612 /* end confdefs.h. */
7827 8613
7828 #include <gtk/gtk.h> 8614 #include <gtk/gtk.h>
7829 #include <stdio.h> 8615 #include <stdio.h>
8616 #if STDC_HEADERS
8617 # include <stdlib.h>
8618 # include <stddef.h>
8619 #endif
7830 8620
7831 int 8621 int
7832 main () 8622 main ()
7833 { 8623 {
7834 int major, minor, micro; 8624 int major, minor, micro;
7853 return 1; 8643 return 1;
7854 } 8644 }
7855 8645
7856 _ACEOF 8646 _ACEOF
7857 rm -f conftest$ac_exeext 8647 rm -f conftest$ac_exeext
7858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8648 if { (ac_try="$ac_link"
7859 (eval $ac_link) 2>&5 8649 case "(($ac_try" in
8650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8651 *) ac_try_echo=$ac_try;;
8652 esac
8653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8654 $as_echo "$ac_try_echo") >&5
8655 (eval "$ac_link") 2>&5
7860 ac_status=$? 8656 ac_status=$?
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8659 { (case "(($ac_try" in
7864 (eval $ac_try) 2>&5 8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8662 esac
8663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8664 $as_echo "$ac_try_echo") >&5
8665 (eval "$ac_try") 2>&5
7865 ac_status=$? 8666 ac_status=$?
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; }; then 8668 (exit $ac_status); }; }; then
7868 : 8669 :
7869 else 8670 else
7870 echo "$as_me: program exited with status $ac_status" >&5 8671 $as_echo "$as_me: program exited with status $ac_status" >&5
7871 echo "$as_me: failed program was:" >&5 8672 $as_echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5 8673 sed 's/^/| /' conftest.$ac_ext >&5
7873 8674
7874 ( exit $ac_status ) 8675 ( exit $ac_status )
7875 no_gtk=yes 8676 no_gtk=yes
7876 fi 8677 fi
7877 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8678 rm -rf conftest.dSYM
7878 fi 8679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8680 fi
8681
8682
7879 CFLAGS="$ac_save_CFLAGS" 8683 CFLAGS="$ac_save_CFLAGS"
7880 LIBS="$ac_save_LIBS" 8684 LIBS="$ac_save_LIBS"
7881 } 8685 }
7882 fi 8686 fi
7883 if test "x$no_gtk" = x ; then 8687 if test "x$no_gtk" = x ; then
7884 if test "x$enable_gtktest" = "xyes"; then 8688 if test "x$enable_gtktest" = "xyes"; then
7885 echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5 8689 { $as_echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7886 echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6 8690 $as_echo "yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
7887 else 8691 else
7888 echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5 8692 { $as_echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7889 echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6 8693 $as_echo "found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
7890 fi 8694 fi
7891 GTK_LIBNAME="$GTK_LIBS" 8695 GTK_LIBNAME="$GTK_LIBS"
7892 GUI_INC_LOC="$GTK_CFLAGS" 8696 GUI_INC_LOC="$GTK_CFLAGS"
7893 else 8697 else
7894 { 8698 {
7895 echo "$as_me:$LINENO: result: no" >&5 8699 { $as_echo "$as_me:$LINENO: result: no" >&5
7896 echo "${ECHO_T}no" >&6 8700 $as_echo "no" >&6; }
7897 GTK_CFLAGS="" 8701 GTK_CFLAGS=""
7898 GTK_LIBS="" 8702 GTK_LIBS=""
7899 : 8703 :
7900 } 8704 }
7901 fi 8705 fi
7919 fi 8723 fi
7920 fi 8724 fi
7921 if test "x$GUITYPE" = "xGTK"; then 8725 if test "x$GUITYPE" = "xGTK"; then
7922 if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \ 8726 if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \
7923 -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then 8727 -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then
7924 echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5 8728 { $as_echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
7925 echo "${ECHO_T}this GTK version is old; version 1.2.3 or later is recommended" >&6 8729 $as_echo "this GTK version is old; version 1.2.3 or later is recommended" >&6; }
7926 else 8730 else
7927 { 8731 {
7928 if test "0$gtk_major_version" -ge 2; then 8732 if test "0$gtk_major_version" -ge 2; then
7929 cat >>confdefs.h <<\_ACEOF 8733 cat >>confdefs.h <<\_ACEOF
7930 #define HAVE_GTK2 1 8734 #define HAVE_GTK2 1
7945 8749
7946 8750
7947 8751
7948 8752
7949 8753
7950 # Check whether --with-gnome-includes or --without-gnome-includes was given. 8754 # Check whether --with-gnome-includes was given.
7951 if test "${with_gnome_includes+set}" = set; then 8755 if test "${with_gnome_includes+set}" = set; then
7952 withval="$with_gnome_includes" 8756 withval=$with_gnome_includes; CFLAGS="$CFLAGS -I$withval"
7953 CFLAGS="$CFLAGS -I$withval" 8757
7954 8758 fi
7955 fi; 8759
7956 8760
7957 8761
7958 # Check whether --with-gnome-libs or --without-gnome-libs was given. 8762 # Check whether --with-gnome-libs was given.
7959 if test "${with_gnome_libs+set}" = set; then 8763 if test "${with_gnome_libs+set}" = set; then
7960 withval="$with_gnome_libs" 8764 withval=$with_gnome_libs; LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval
7961 LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval 8765
7962 8766 fi
7963 fi; 8767
7964 8768
7965 8769
7966 # Check whether --with-gnome or --without-gnome was given. 8770 # Check whether --with-gnome was given.
7967 if test "${with_gnome+set}" = set; then 8771 if test "${with_gnome+set}" = set; then
7968 withval="$with_gnome" 8772 withval=$with_gnome; if test x$withval = xyes; then
7969 if test x$withval = xyes; then
7970 want_gnome=yes 8773 want_gnome=yes
7971 have_gnome=yes 8774 have_gnome=yes
7972 else 8775 else
7973 if test "x$withval" = xno; then 8776 if test "x$withval" = xno; then
7974 want_gnome=no 8777 want_gnome=no
7979 gnome_prefix=$withval/lib 8782 gnome_prefix=$withval/lib
7980 fi 8783 fi
7981 fi 8784 fi
7982 else 8785 else
7983 want_gnome=yes 8786 want_gnome=yes
7984 fi; 8787 fi
8788
7985 8789
7986 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then 8790 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then
7987 { 8791 {
7988 echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5 8792 { $as_echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
7989 echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6 8793 $as_echo_n "checking for libgnomeui-2.0... " >&6; }
7990 if $PKG_CONFIG --exists libgnomeui-2.0; then 8794 if $PKG_CONFIG --exists libgnomeui-2.0; then
7991 echo "$as_me:$LINENO: result: yes" >&5 8795 { $as_echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6 8796 $as_echo "yes" >&6; }
7993 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` 8797 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0`
7994 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` 8798 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0`
7995 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` 8799 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0`
7996 8800
7997 echo "$as_me:$LINENO: checking for FreeBSD" >&5 8801 { $as_echo "$as_me:$LINENO: checking for FreeBSD" >&5
7998 echo $ECHO_N "checking for FreeBSD... $ECHO_C" >&6 8802 $as_echo_n "checking for FreeBSD... " >&6; }
7999 if test "`(uname) 2>/dev/null`" = FreeBSD; then 8803 if test "`(uname) 2>/dev/null`" = FreeBSD; then
8000 echo "$as_me:$LINENO: result: yes" >&5 8804 { $as_echo "$as_me:$LINENO: result: yes" >&5
8001 echo "${ECHO_T}yes" >&6 8805 $as_echo "yes" >&6; }
8002 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE" 8806 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
8003 GNOME_LIBS="$GNOME_LIBS -pthread" 8807 GNOME_LIBS="$GNOME_LIBS -pthread"
8004 else 8808 else
8005 echo "$as_me:$LINENO: result: no" >&5 8809 { $as_echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6 8810 $as_echo "no" >&6; }
8007 fi 8811 fi
8008 have_gnome=yes 8812 have_gnome=yes
8009 else 8813 else
8010 echo "$as_me:$LINENO: result: not found" >&5 8814 { $as_echo "$as_me:$LINENO: result: not found" >&5
8011 echo "${ECHO_T}not found" >&6 8815 $as_echo "not found" >&6; }
8012 if test "x" = xfail; then 8816 if test "x" = xfail; then
8013 { { echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5 8817 { { $as_echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5
8014 echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;} 8818 $as_echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;}
8015 { (exit 1); exit 1; }; } 8819 { (exit 1); exit 1; }; }
8016 fi 8820 fi
8017 fi 8821 fi
8018 } 8822 }
8019 elif test "x$want_gnome" = xyes; then 8823 elif test "x$want_gnome" = xyes; then
8020 { 8824 {
8021 # Extract the first word of "gnome-config", so it can be a program name with args. 8825 # Extract the first word of "gnome-config", so it can be a program name with args.
8022 set dummy gnome-config; ac_word=$2 8826 set dummy gnome-config; ac_word=$2
8023 echo "$as_me:$LINENO: checking for $ac_word" >&5 8827 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8828 $as_echo_n "checking for $ac_word... " >&6; }
8025 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then 8829 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
8026 echo $ECHO_N "(cached) $ECHO_C" >&6 8830 $as_echo_n "(cached) " >&6
8027 else 8831 else
8028 case $GNOME_CONFIG in 8832 case $GNOME_CONFIG in
8029 [\\/]* | ?:[\\/]*) 8833 [\\/]* | ?:[\\/]*)
8030 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path. 8834 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
8031 ;; 8835 ;;
8034 for as_dir in $PATH 8838 for as_dir in $PATH
8035 do 8839 do
8036 IFS=$as_save_IFS 8840 IFS=$as_save_IFS
8037 test -z "$as_dir" && as_dir=. 8841 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do 8842 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8844 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8845 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 break 2 8846 break 2
8043 fi 8847 fi
8044 done 8848 done
8045 done 8849 done
8850 IFS=$as_save_IFS
8046 8851
8047 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no" 8852 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
8048 ;; 8853 ;;
8049 esac 8854 esac
8050 fi 8855 fi
8051 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG 8856 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
8052
8053 if test -n "$GNOME_CONFIG"; then 8857 if test -n "$GNOME_CONFIG"; then
8054 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5 8858 { $as_echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
8055 echo "${ECHO_T}$GNOME_CONFIG" >&6 8859 $as_echo "$GNOME_CONFIG" >&6; }
8056 else 8860 else
8057 echo "$as_me:$LINENO: result: no" >&5 8861 { $as_echo "$as_me:$LINENO: result: no" >&5
8058 echo "${ECHO_T}no" >&6 8862 $as_echo "no" >&6; }
8059 fi 8863 fi
8864
8060 8865
8061 if test "$GNOME_CONFIG" = "no"; then 8866 if test "$GNOME_CONFIG" = "no"; then
8062 no_gnome_config="yes" 8867 no_gnome_config="yes"
8063 else 8868 else
8064 echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5 8869 { $as_echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
8065 echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6 8870 $as_echo_n "checking if $GNOME_CONFIG works... " >&6; }
8066 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then 8871 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
8067 echo "$as_me:$LINENO: result: yes" >&5 8872 { $as_echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6 8873 $as_echo "yes" >&6; }
8069 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`" 8874 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`"
8070 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" 8875 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
8071 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" 8876 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
8072 have_gnome=yes 8877 have_gnome=yes
8073 else 8878 else
8074 echo "$as_me:$LINENO: result: no" >&5 8879 { $as_echo "$as_me:$LINENO: result: no" >&5
8075 echo "${ECHO_T}no" >&6 8880 $as_echo "no" >&6; }
8076 no_gnome_config="yes" 8881 no_gnome_config="yes"
8077 fi 8882 fi
8078 fi 8883 fi
8079 8884
8080 if test x$exec_prefix = xNONE; then 8885 if test x$exec_prefix = xNONE; then
8086 else 8891 else
8087 gnome_prefix=`eval echo \`echo $libdir\`` 8892 gnome_prefix=`eval echo \`echo $libdir\``
8088 fi 8893 fi
8089 8894
8090 if test "$no_gnome_config" = "yes"; then 8895 if test "$no_gnome_config" = "yes"; then
8091 echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5 8896 { $as_echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
8092 echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6 8897 $as_echo_n "checking for gnomeConf.sh file in $gnome_prefix... " >&6; }
8093 if test -f $gnome_prefix/gnomeConf.sh; then 8898 if test -f $gnome_prefix/gnomeConf.sh; then
8094 echo "$as_me:$LINENO: result: found" >&5 8899 { $as_echo "$as_me:$LINENO: result: found" >&5
8095 echo "${ECHO_T}found" >&6 8900 $as_echo "found" >&6; }
8096 echo "loading gnome configuration from" \ 8901 echo "loading gnome configuration from" \
8097 "$gnome_prefix/gnomeConf.sh" 8902 "$gnome_prefix/gnomeConf.sh"
8098 . $gnome_prefix/gnomeConf.sh 8903 . $gnome_prefix/gnomeConf.sh
8099 have_gnome=yes 8904 have_gnome=yes
8100 else 8905 else
8101 echo "$as_me:$LINENO: result: not found" >&5 8906 { $as_echo "$as_me:$LINENO: result: not found" >&5
8102 echo "${ECHO_T}not found" >&6 8907 $as_echo "not found" >&6; }
8103 if test x = xfail; then 8908 if test x = xfail; then
8104 { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5 8909 { { $as_echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
8105 echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;} 8910 $as_echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
8106 { (exit 1); exit 1; }; } 8911 { (exit 1); exit 1; }; }
8107 fi 8912 fi
8108 fi 8913 fi
8109 fi 8914 fi
8110 } 8915 }
8128 8933
8129 if test -z "$SKIP_MOTIF"; then 8934 if test -z "$SKIP_MOTIF"; then
8130 gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX" 8935 gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX"
8131 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`" 8936 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`"
8132 8937
8133 echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5 8938 { $as_echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
8134 echo $ECHO_N "checking for location of Motif GUI includes... $ECHO_C" >&6 8939 $as_echo_n "checking for location of Motif GUI includes... " >&6; }
8135 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC" 8940 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC"
8136 GUI_INC_LOC= 8941 GUI_INC_LOC=
8137 for try in $gui_includes; do 8942 for try in $gui_includes; do
8138 if test -f "$try/Xm/Xm.h"; then 8943 if test -f "$try/Xm/Xm.h"; then
8139 GUI_INC_LOC=$try 8944 GUI_INC_LOC=$try
8140 fi 8945 fi
8141 done 8946 done
8142 if test -n "$GUI_INC_LOC"; then 8947 if test -n "$GUI_INC_LOC"; then
8143 if test "$GUI_INC_LOC" = /usr/include; then 8948 if test "$GUI_INC_LOC" = /usr/include; then
8144 GUI_INC_LOC= 8949 GUI_INC_LOC=
8145 echo "$as_me:$LINENO: result: in default path" >&5 8950 { $as_echo "$as_me:$LINENO: result: in default path" >&5
8146 echo "${ECHO_T}in default path" >&6 8951 $as_echo "in default path" >&6; }
8147 else 8952 else
8148 echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5 8953 { $as_echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
8149 echo "${ECHO_T}$GUI_INC_LOC" >&6 8954 $as_echo "$GUI_INC_LOC" >&6; }
8150 fi 8955 fi
8151 else 8956 else
8152 echo "$as_me:$LINENO: result: <not found>" >&5 8957 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
8153 echo "${ECHO_T}<not found>" >&6 8958 $as_echo "<not found>" >&6; }
8154 SKIP_MOTIF=YES 8959 SKIP_MOTIF=YES
8155 fi 8960 fi
8156 fi 8961 fi
8157 8962
8158 8963
8159 if test -z "$SKIP_MOTIF"; then 8964 if test -z "$SKIP_MOTIF"; then
8160 echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5 8965 { $as_echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
8161 echo $ECHO_N "checking --with-motif-lib argument... $ECHO_C" >&6 8966 $as_echo_n "checking --with-motif-lib argument... " >&6; }
8162 8967
8163 # Check whether --with-motif-lib or --without-motif-lib was given. 8968 # Check whether --with-motif-lib was given.
8164 if test "${with_motif_lib+set}" = set; then 8969 if test "${with_motif_lib+set}" = set; then
8165 withval="$with_motif_lib" 8970 withval=$with_motif_lib; MOTIF_LIBNAME="${withval}"
8166 MOTIF_LIBNAME="${withval}" 8971 fi
8167 fi; 8972
8168 8973
8169 if test -n "$MOTIF_LIBNAME"; then 8974 if test -n "$MOTIF_LIBNAME"; then
8170 echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5 8975 { $as_echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
8171 echo "${ECHO_T}$MOTIF_LIBNAME" >&6 8976 $as_echo "$MOTIF_LIBNAME" >&6; }
8172 GUI_LIB_LOC= 8977 GUI_LIB_LOC=
8173 else 8978 else
8174 echo "$as_me:$LINENO: result: no" >&5 8979 { $as_echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6 8980 $as_echo "no" >&6; }
8176 8981
8177 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" 8982 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
8178 8983
8179 echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5 8984 { $as_echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
8180 echo $ECHO_N "checking for location of Motif GUI libs... $ECHO_C" >&6 8985 $as_echo_n "checking for location of Motif GUI libs... " >&6; }
8181 gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC" 8986 gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
8182 GUI_LIB_LOC= 8987 GUI_LIB_LOC=
8183 for try in $gui_libs; do 8988 for try in $gui_libs; do
8184 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do 8989 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
8185 if test -f "$libtry"; then 8990 if test -f "$libtry"; then
8188 done 8993 done
8189 done 8994 done
8190 if test -n "$GUI_LIB_LOC"; then 8995 if test -n "$GUI_LIB_LOC"; then
8191 if test "$GUI_LIB_LOC" = /usr/lib; then 8996 if test "$GUI_LIB_LOC" = /usr/lib; then
8192 GUI_LIB_LOC= 8997 GUI_LIB_LOC=
8193 echo "$as_me:$LINENO: result: in default path" >&5 8998 { $as_echo "$as_me:$LINENO: result: in default path" >&5
8194 echo "${ECHO_T}in default path" >&6 8999 $as_echo "in default path" >&6; }
8195 else 9000 else
8196 if test -n "$GUI_LIB_LOC"; then 9001 if test -n "$GUI_LIB_LOC"; then
8197 echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5 9002 { $as_echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
8198 echo "${ECHO_T}$GUI_LIB_LOC" >&6 9003 $as_echo "$GUI_LIB_LOC" >&6; }
8199 if test "`(uname) 2>/dev/null`" = SunOS && 9004 if test "`(uname) 2>/dev/null`" = SunOS &&
8200 uname -r | grep '^5' >/dev/null; then 9005 uname -r | grep '^5' >/dev/null; then
8201 GUI_LIB_LOC="$GUI_LIB_LOC -R $GUI_LIB_LOC" 9006 GUI_LIB_LOC="$GUI_LIB_LOC -R $GUI_LIB_LOC"
8202 fi 9007 fi
8203 fi 9008 fi
8204 fi 9009 fi
8205 MOTIF_LIBNAME=-lXm 9010 MOTIF_LIBNAME=-lXm
8206 else 9011 else
8207 echo "$as_me:$LINENO: result: <not found>" >&5 9012 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
8208 echo "${ECHO_T}<not found>" >&6 9013 $as_echo "<not found>" >&6; }
8209 SKIP_MOTIF=YES 9014 SKIP_MOTIF=YES
8210 fi 9015 fi
8211 fi 9016 fi
8212 fi 9017 fi
8213 9018
8220 9025
8221 9026
8222 GUI_X_LIBS= 9027 GUI_X_LIBS=
8223 9028
8224 if test -z "$SKIP_ATHENA"; then 9029 if test -z "$SKIP_ATHENA"; then
8225 echo "$as_me:$LINENO: checking if Athena header files can be found" >&5 9030 { $as_echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
8226 echo $ECHO_N "checking if Athena header files can be found... $ECHO_C" >&6 9031 $as_echo_n "checking if Athena header files can be found... " >&6; }
8227 cflags_save=$CFLAGS 9032 cflags_save=$CFLAGS
8228 CFLAGS="$CFLAGS $X_CFLAGS" 9033 CFLAGS="$CFLAGS $X_CFLAGS"
8229 cat >conftest.$ac_ext <<_ACEOF 9034 cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h. */ 9035 /* confdefs.h. */
8231 _ACEOF 9036 _ACEOF
8242 ; 9047 ;
8243 return 0; 9048 return 0;
8244 } 9049 }
8245 _ACEOF 9050 _ACEOF
8246 rm -f conftest.$ac_objext 9051 rm -f conftest.$ac_objext
8247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9052 if { (ac_try="$ac_compile"
8248 (eval $ac_compile) 2>conftest.er1 9053 case "(($ac_try" in
9054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9055 *) ac_try_echo=$ac_try;;
9056 esac
9057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9058 $as_echo "$ac_try_echo") >&5
9059 (eval "$ac_compile") 2>conftest.er1
8249 ac_status=$? 9060 ac_status=$?
8250 grep -v '^ *+' conftest.er1 >conftest.err 9061 grep -v '^ *+' conftest.er1 >conftest.err
8251 rm -f conftest.er1 9062 rm -f conftest.er1
8252 cat conftest.err >&5 9063 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && 9065 (exit $ac_status); } && {
8255 { ac_try='test -z "$ac_c_werror_flag" 9066 test -z "$ac_c_werror_flag" ||
8256 || test ! -s conftest.err' 9067 test ! -s conftest.err
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9068 } && test -s conftest.$ac_objext; then
8258 (eval $ac_try) 2>&5 9069 { $as_echo "$as_me:$LINENO: result: yes" >&5
8259 ac_status=$? 9070 $as_echo "yes" >&6; }
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9071 else
8261 (exit $ac_status); }; } && 9072 $as_echo "$as_me: failed program was:" >&5
8262 { ac_try='test -s conftest.$ac_objext'
8263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 (eval $ac_try) 2>&5
8265 ac_status=$?
8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8267 (exit $ac_status); }; }; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8270 else
8271 echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.$ac_ext >&5 9073 sed 's/^/| /' conftest.$ac_ext >&5
8273 9074
8274 echo "$as_me:$LINENO: result: no" >&5 9075 { $as_echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6; SKIP_ATHENA=YES 9076 $as_echo "no" >&6; }; SKIP_ATHENA=YES
8276 fi 9077 fi
8277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9078
9079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8278 CFLAGS=$cflags_save 9080 CFLAGS=$cflags_save
8279 fi 9081 fi
8280 9082
8281 if test -z "$SKIP_ATHENA"; then 9083 if test -z "$SKIP_ATHENA"; then
8282 GUITYPE=ATHENA 9084 GUITYPE=ATHENA
8283 fi 9085 fi
8284 9086
8285 if test -z "$SKIP_NEXTAW"; then 9087 if test -z "$SKIP_NEXTAW"; then
8286 echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5 9088 { $as_echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
8287 echo $ECHO_N "checking if neXtaw header files can be found... $ECHO_C" >&6 9089 $as_echo_n "checking if neXtaw header files can be found... " >&6; }
8288 cflags_save=$CFLAGS 9090 cflags_save=$CFLAGS
8289 CFLAGS="$CFLAGS $X_CFLAGS" 9091 CFLAGS="$CFLAGS $X_CFLAGS"
8290 cat >conftest.$ac_ext <<_ACEOF 9092 cat >conftest.$ac_ext <<_ACEOF
8291 /* confdefs.h. */ 9093 /* confdefs.h. */
8292 _ACEOF 9094 _ACEOF
8303 ; 9105 ;
8304 return 0; 9106 return 0;
8305 } 9107 }
8306 _ACEOF 9108 _ACEOF
8307 rm -f conftest.$ac_objext 9109 rm -f conftest.$ac_objext
8308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9110 if { (ac_try="$ac_compile"
8309 (eval $ac_compile) 2>conftest.er1 9111 case "(($ac_try" in
9112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9114 esac
9115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9116 $as_echo "$ac_try_echo") >&5
9117 (eval "$ac_compile") 2>conftest.er1
8310 ac_status=$? 9118 ac_status=$?
8311 grep -v '^ *+' conftest.er1 >conftest.err 9119 grep -v '^ *+' conftest.er1 >conftest.err
8312 rm -f conftest.er1 9120 rm -f conftest.er1
8313 cat conftest.err >&5 9121 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && 9123 (exit $ac_status); } && {
8316 { ac_try='test -z "$ac_c_werror_flag" 9124 test -z "$ac_c_werror_flag" ||
8317 || test ! -s conftest.err' 9125 test ! -s conftest.err
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9126 } && test -s conftest.$ac_objext; then
8319 (eval $ac_try) 2>&5 9127 { $as_echo "$as_me:$LINENO: result: yes" >&5
8320 ac_status=$? 9128 $as_echo "yes" >&6; }
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9129 else
8322 (exit $ac_status); }; } && 9130 $as_echo "$as_me: failed program was:" >&5
8323 { ac_try='test -s conftest.$ac_objext'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8325 (eval $ac_try) 2>&5
8326 ac_status=$?
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; }; then
8329 echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6
8331 else
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.$ac_ext >&5 9131 sed 's/^/| /' conftest.$ac_ext >&5
8334 9132
8335 echo "$as_me:$LINENO: result: no" >&5 9133 { $as_echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6; SKIP_NEXTAW=YES 9134 $as_echo "no" >&6; }; SKIP_NEXTAW=YES
8337 fi 9135 fi
8338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9136
9137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8339 CFLAGS=$cflags_save 9138 CFLAGS=$cflags_save
8340 fi 9139 fi
8341 9140
8342 if test -z "$SKIP_NEXTAW"; then 9141 if test -z "$SKIP_NEXTAW"; then
8343 GUITYPE=NEXTAW 9142 GUITYPE=NEXTAW
8351 GUI_LIB_LOC=-L"`echo $GUI_LIB_LOC|sed 's%-L%%'`" 9150 GUI_LIB_LOC=-L"`echo $GUI_LIB_LOC|sed 's%-L%%'`"
8352 fi 9151 fi
8353 9152
8354 ldflags_save=$LDFLAGS 9153 ldflags_save=$LDFLAGS
8355 LDFLAGS="$X_LIBS $LDFLAGS" 9154 LDFLAGS="$X_LIBS $LDFLAGS"
8356 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 9155 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8357 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 9156 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8358 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 9157 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6 9158 $as_echo_n "(cached) " >&6
8360 else 9159 else
8361 ac_check_lib_save_LIBS=$LIBS 9160 ac_check_lib_save_LIBS=$LIBS
8362 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9161 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8363 cat >conftest.$ac_ext <<_ACEOF 9162 cat >conftest.$ac_ext <<_ACEOF
8364 /* confdefs.h. */ 9163 /* confdefs.h. */
8365 _ACEOF 9164 _ACEOF
8366 cat confdefs.h >>conftest.$ac_ext 9165 cat confdefs.h >>conftest.$ac_ext
8367 cat >>conftest.$ac_ext <<_ACEOF 9166 cat >>conftest.$ac_ext <<_ACEOF
8368 /* end confdefs.h. */ 9167 /* end confdefs.h. */
8369 9168
8370 /* Override any gcc2 internal prototype to avoid an error. */ 9169 /* Override any GCC internal prototype to avoid an error.
9170 Use char because int might match the return type of a GCC
9171 builtin and then its argument prototype would still apply. */
8371 #ifdef __cplusplus 9172 #ifdef __cplusplus
8372 extern "C" 9173 extern "C"
8373 #endif 9174 #endif
8374 /* We use char because int might match the return type of a gcc2
8375 builtin and then its argument prototype would still apply. */
8376 char XShapeQueryExtension (); 9175 char XShapeQueryExtension ();
8377 int 9176 int
8378 main () 9177 main ()
8379 { 9178 {
8380 XShapeQueryExtension (); 9179 return XShapeQueryExtension ();
8381 ; 9180 ;
8382 return 0; 9181 return 0;
8383 } 9182 }
8384 _ACEOF 9183 _ACEOF
8385 rm -f conftest.$ac_objext conftest$ac_exeext 9184 rm -f conftest.$ac_objext conftest$ac_exeext
8386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9185 if { (ac_try="$ac_link"
8387 (eval $ac_link) 2>conftest.er1 9186 case "(($ac_try" in
9187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9188 *) ac_try_echo=$ac_try;;
9189 esac
9190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9191 $as_echo "$ac_try_echo") >&5
9192 (eval "$ac_link") 2>conftest.er1
8388 ac_status=$? 9193 ac_status=$?
8389 grep -v '^ *+' conftest.er1 >conftest.err 9194 grep -v '^ *+' conftest.er1 >conftest.err
8390 rm -f conftest.er1 9195 rm -f conftest.er1
8391 cat conftest.err >&5 9196 cat conftest.err >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); } && 9198 (exit $ac_status); } && {
8394 { ac_try='test -z "$ac_c_werror_flag" 9199 test -z "$ac_c_werror_flag" ||
8395 || test ! -s conftest.err' 9200 test ! -s conftest.err
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9201 } && test -s conftest$ac_exeext && {
8397 (eval $ac_try) 2>&5 9202 test "$cross_compiling" = yes ||
8398 ac_status=$? 9203 $as_test_x conftest$ac_exeext
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9204 }; then
8400 (exit $ac_status); }; } &&
8401 { ac_try='test -s conftest$ac_exeext'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 (eval $ac_try) 2>&5
8404 ac_status=$?
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; }; then
8407 ac_cv_lib_Xext_XShapeQueryExtension=yes 9205 ac_cv_lib_Xext_XShapeQueryExtension=yes
8408 else 9206 else
8409 echo "$as_me: failed program was:" >&5 9207 $as_echo "$as_me: failed program was:" >&5
8410 sed 's/^/| /' conftest.$ac_ext >&5 9208 sed 's/^/| /' conftest.$ac_ext >&5
8411 9209
8412 ac_cv_lib_Xext_XShapeQueryExtension=no 9210 ac_cv_lib_Xext_XShapeQueryExtension=no
8413 fi 9211 fi
8414 rm -f conftest.err conftest.$ac_objext \ 9212
9213 rm -rf conftest.dSYM
9214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8415 conftest$ac_exeext conftest.$ac_ext 9215 conftest$ac_exeext conftest.$ac_ext
8416 LIBS=$ac_check_lib_save_LIBS 9216 LIBS=$ac_check_lib_save_LIBS
8417 fi 9217 fi
8418 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 9218 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8419 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 9219 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8420 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 9220 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8421 GUI_X_LIBS="-lXext" 9221 GUI_X_LIBS="-lXext"
8422 fi 9222 fi
8423 9223
8424 echo "$as_me:$LINENO: checking for wslen in -lw" >&5 9224 { $as_echo "$as_me:$LINENO: checking for wslen in -lw" >&5
8425 echo $ECHO_N "checking for wslen in -lw... $ECHO_C" >&6 9225 $as_echo_n "checking for wslen in -lw... " >&6; }
8426 if test "${ac_cv_lib_w_wslen+set}" = set; then 9226 if test "${ac_cv_lib_w_wslen+set}" = set; then
8427 echo $ECHO_N "(cached) $ECHO_C" >&6 9227 $as_echo_n "(cached) " >&6
8428 else 9228 else
8429 ac_check_lib_save_LIBS=$LIBS 9229 ac_check_lib_save_LIBS=$LIBS
8430 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9230 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8431 cat >conftest.$ac_ext <<_ACEOF 9231 cat >conftest.$ac_ext <<_ACEOF
8432 /* confdefs.h. */ 9232 /* confdefs.h. */
8433 _ACEOF 9233 _ACEOF
8434 cat confdefs.h >>conftest.$ac_ext 9234 cat confdefs.h >>conftest.$ac_ext
8435 cat >>conftest.$ac_ext <<_ACEOF 9235 cat >>conftest.$ac_ext <<_ACEOF
8436 /* end confdefs.h. */ 9236 /* end confdefs.h. */
8437 9237
8438 /* Override any gcc2 internal prototype to avoid an error. */ 9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
8439 #ifdef __cplusplus 9241 #ifdef __cplusplus
8440 extern "C" 9242 extern "C"
8441 #endif 9243 #endif
8442 /* We use char because int might match the return type of a gcc2
8443 builtin and then its argument prototype would still apply. */
8444 char wslen (); 9244 char wslen ();
8445 int 9245 int
8446 main () 9246 main ()
8447 { 9247 {
8448 wslen (); 9248 return wslen ();
8449 ; 9249 ;
8450 return 0; 9250 return 0;
8451 } 9251 }
8452 _ACEOF 9252 _ACEOF
8453 rm -f conftest.$ac_objext conftest$ac_exeext 9253 rm -f conftest.$ac_objext conftest$ac_exeext
8454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9254 if { (ac_try="$ac_link"
8455 (eval $ac_link) 2>conftest.er1 9255 case "(($ac_try" in
9256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9257 *) ac_try_echo=$ac_try;;
9258 esac
9259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9260 $as_echo "$ac_try_echo") >&5
9261 (eval "$ac_link") 2>conftest.er1
8456 ac_status=$? 9262 ac_status=$?
8457 grep -v '^ *+' conftest.er1 >conftest.err 9263 grep -v '^ *+' conftest.er1 >conftest.err
8458 rm -f conftest.er1 9264 rm -f conftest.er1
8459 cat conftest.err >&5 9265 cat conftest.err >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } && 9267 (exit $ac_status); } && {
8462 { ac_try='test -z "$ac_c_werror_flag" 9268 test -z "$ac_c_werror_flag" ||
8463 || test ! -s conftest.err' 9269 test ! -s conftest.err
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9270 } && test -s conftest$ac_exeext && {
8465 (eval $ac_try) 2>&5 9271 test "$cross_compiling" = yes ||
8466 ac_status=$? 9272 $as_test_x conftest$ac_exeext
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9273 }; then
8468 (exit $ac_status); }; } &&
8469 { ac_try='test -s conftest$ac_exeext'
8470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 (eval $ac_try) 2>&5
8472 ac_status=$?
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); }; }; then
8475 ac_cv_lib_w_wslen=yes 9274 ac_cv_lib_w_wslen=yes
8476 else 9275 else
8477 echo "$as_me: failed program was:" >&5 9276 $as_echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.$ac_ext >&5 9277 sed 's/^/| /' conftest.$ac_ext >&5
8479 9278
8480 ac_cv_lib_w_wslen=no 9279 ac_cv_lib_w_wslen=no
8481 fi 9280 fi
8482 rm -f conftest.err conftest.$ac_objext \ 9281
9282 rm -rf conftest.dSYM
9283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8483 conftest$ac_exeext conftest.$ac_ext 9284 conftest$ac_exeext conftest.$ac_ext
8484 LIBS=$ac_check_lib_save_LIBS 9285 LIBS=$ac_check_lib_save_LIBS
8485 fi 9286 fi
8486 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5 9287 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
8487 echo "${ECHO_T}$ac_cv_lib_w_wslen" >&6 9288 $as_echo "$ac_cv_lib_w_wslen" >&6; }
8488 if test $ac_cv_lib_w_wslen = yes; then 9289 if test $ac_cv_lib_w_wslen = yes; then
8489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lw" 9290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lw"
8490 fi 9291 fi
8491 9292
8492 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 9293 { $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
8493 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 9294 $as_echo_n "checking for dlsym in -ldl... " >&6; }
8494 if test "${ac_cv_lib_dl_dlsym+set}" = set; then 9295 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6 9296 $as_echo_n "(cached) " >&6
8496 else 9297 else
8497 ac_check_lib_save_LIBS=$LIBS 9298 ac_check_lib_save_LIBS=$LIBS
8498 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9299 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8499 cat >conftest.$ac_ext <<_ACEOF 9300 cat >conftest.$ac_ext <<_ACEOF
8500 /* confdefs.h. */ 9301 /* confdefs.h. */
8501 _ACEOF 9302 _ACEOF
8502 cat confdefs.h >>conftest.$ac_ext 9303 cat confdefs.h >>conftest.$ac_ext
8503 cat >>conftest.$ac_ext <<_ACEOF 9304 cat >>conftest.$ac_ext <<_ACEOF
8504 /* end confdefs.h. */ 9305 /* end confdefs.h. */
8505 9306
8506 /* Override any gcc2 internal prototype to avoid an error. */ 9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
8507 #ifdef __cplusplus 9310 #ifdef __cplusplus
8508 extern "C" 9311 extern "C"
8509 #endif 9312 #endif
8510 /* We use char because int might match the return type of a gcc2
8511 builtin and then its argument prototype would still apply. */
8512 char dlsym (); 9313 char dlsym ();
8513 int 9314 int
8514 main () 9315 main ()
8515 { 9316 {
8516 dlsym (); 9317 return dlsym ();
8517 ; 9318 ;
8518 return 0; 9319 return 0;
8519 } 9320 }
8520 _ACEOF 9321 _ACEOF
8521 rm -f conftest.$ac_objext conftest$ac_exeext 9322 rm -f conftest.$ac_objext conftest$ac_exeext
8522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9323 if { (ac_try="$ac_link"
8523 (eval $ac_link) 2>conftest.er1 9324 case "(($ac_try" in
9325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9326 *) ac_try_echo=$ac_try;;
9327 esac
9328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9329 $as_echo "$ac_try_echo") >&5
9330 (eval "$ac_link") 2>conftest.er1
8524 ac_status=$? 9331 ac_status=$?
8525 grep -v '^ *+' conftest.er1 >conftest.err 9332 grep -v '^ *+' conftest.er1 >conftest.err
8526 rm -f conftest.er1 9333 rm -f conftest.er1
8527 cat conftest.err >&5 9334 cat conftest.err >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } && 9336 (exit $ac_status); } && {
8530 { ac_try='test -z "$ac_c_werror_flag" 9337 test -z "$ac_c_werror_flag" ||
8531 || test ! -s conftest.err' 9338 test ! -s conftest.err
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9339 } && test -s conftest$ac_exeext && {
8533 (eval $ac_try) 2>&5 9340 test "$cross_compiling" = yes ||
8534 ac_status=$? 9341 $as_test_x conftest$ac_exeext
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9342 }; then
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest$ac_exeext'
8538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8539 (eval $ac_try) 2>&5
8540 ac_status=$?
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); }; }; then
8543 ac_cv_lib_dl_dlsym=yes 9343 ac_cv_lib_dl_dlsym=yes
8544 else 9344 else
8545 echo "$as_me: failed program was:" >&5 9345 $as_echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.$ac_ext >&5 9346 sed 's/^/| /' conftest.$ac_ext >&5
8547 9347
8548 ac_cv_lib_dl_dlsym=no 9348 ac_cv_lib_dl_dlsym=no
8549 fi 9349 fi
8550 rm -f conftest.err conftest.$ac_objext \ 9350
9351 rm -rf conftest.dSYM
9352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8551 conftest$ac_exeext conftest.$ac_ext 9353 conftest$ac_exeext conftest.$ac_ext
8552 LIBS=$ac_check_lib_save_LIBS 9354 LIBS=$ac_check_lib_save_LIBS
8553 fi 9355 fi
8554 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 9356 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
8555 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 9357 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
8556 if test $ac_cv_lib_dl_dlsym = yes; then 9358 if test $ac_cv_lib_dl_dlsym = yes; then
8557 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldl" 9359 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldl"
8558 fi 9360 fi
8559 9361
8560 echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5 9362 { $as_echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
8561 echo $ECHO_N "checking for XmuCreateStippledPixmap in -lXmu... $ECHO_C" >&6 9363 $as_echo_n "checking for XmuCreateStippledPixmap in -lXmu... " >&6; }
8562 if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then 9364 if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6 9365 $as_echo_n "(cached) " >&6
8564 else 9366 else
8565 ac_check_lib_save_LIBS=$LIBS 9367 ac_check_lib_save_LIBS=$LIBS
8566 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9368 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8567 cat >conftest.$ac_ext <<_ACEOF 9369 cat >conftest.$ac_ext <<_ACEOF
8568 /* confdefs.h. */ 9370 /* confdefs.h. */
8569 _ACEOF 9371 _ACEOF
8570 cat confdefs.h >>conftest.$ac_ext 9372 cat confdefs.h >>conftest.$ac_ext
8571 cat >>conftest.$ac_ext <<_ACEOF 9373 cat >>conftest.$ac_ext <<_ACEOF
8572 /* end confdefs.h. */ 9374 /* end confdefs.h. */
8573 9375
8574 /* Override any gcc2 internal prototype to avoid an error. */ 9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
8575 #ifdef __cplusplus 9379 #ifdef __cplusplus
8576 extern "C" 9380 extern "C"
8577 #endif 9381 #endif
8578 /* We use char because int might match the return type of a gcc2
8579 builtin and then its argument prototype would still apply. */
8580 char XmuCreateStippledPixmap (); 9382 char XmuCreateStippledPixmap ();
8581 int 9383 int
8582 main () 9384 main ()
8583 { 9385 {
8584 XmuCreateStippledPixmap (); 9386 return XmuCreateStippledPixmap ();
8585 ; 9387 ;
8586 return 0; 9388 return 0;
8587 } 9389 }
8588 _ACEOF 9390 _ACEOF
8589 rm -f conftest.$ac_objext conftest$ac_exeext 9391 rm -f conftest.$ac_objext conftest$ac_exeext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9392 if { (ac_try="$ac_link"
8591 (eval $ac_link) 2>conftest.er1 9393 case "(($ac_try" in
9394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9396 esac
9397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9398 $as_echo "$ac_try_echo") >&5
9399 (eval "$ac_link") 2>conftest.er1
8592 ac_status=$? 9400 ac_status=$?
8593 grep -v '^ *+' conftest.er1 >conftest.err 9401 grep -v '^ *+' conftest.er1 >conftest.err
8594 rm -f conftest.er1 9402 rm -f conftest.er1
8595 cat conftest.err >&5 9403 cat conftest.err >&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } && 9405 (exit $ac_status); } && {
8598 { ac_try='test -z "$ac_c_werror_flag" 9406 test -z "$ac_c_werror_flag" ||
8599 || test ! -s conftest.err' 9407 test ! -s conftest.err
8600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9408 } && test -s conftest$ac_exeext && {
8601 (eval $ac_try) 2>&5 9409 test "$cross_compiling" = yes ||
8602 ac_status=$? 9410 $as_test_x conftest$ac_exeext
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9411 }; then
8604 (exit $ac_status); }; } &&
8605 { ac_try='test -s conftest$ac_exeext'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 (eval $ac_try) 2>&5
8608 ac_status=$?
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; }; then
8611 ac_cv_lib_Xmu_XmuCreateStippledPixmap=yes 9412 ac_cv_lib_Xmu_XmuCreateStippledPixmap=yes
8612 else 9413 else
8613 echo "$as_me: failed program was:" >&5 9414 $as_echo "$as_me: failed program was:" >&5
8614 sed 's/^/| /' conftest.$ac_ext >&5 9415 sed 's/^/| /' conftest.$ac_ext >&5
8615 9416
8616 ac_cv_lib_Xmu_XmuCreateStippledPixmap=no 9417 ac_cv_lib_Xmu_XmuCreateStippledPixmap=no
8617 fi 9418 fi
8618 rm -f conftest.err conftest.$ac_objext \ 9419
9420 rm -rf conftest.dSYM
9421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8619 conftest$ac_exeext conftest.$ac_ext 9422 conftest$ac_exeext conftest.$ac_ext
8620 LIBS=$ac_check_lib_save_LIBS 9423 LIBS=$ac_check_lib_save_LIBS
8621 fi 9424 fi
8622 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5 9425 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
8623 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6 9426 $as_echo "$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6; }
8624 if test $ac_cv_lib_Xmu_XmuCreateStippledPixmap = yes; then 9427 if test $ac_cv_lib_Xmu_XmuCreateStippledPixmap = yes; then
8625 GUI_X_LIBS="-lXmu $GUI_X_LIBS" 9428 GUI_X_LIBS="-lXmu $GUI_X_LIBS"
8626 fi 9429 fi
8627 9430
8628 if test -z "$SKIP_MOTIF"; then 9431 if test -z "$SKIP_MOTIF"; then
8629 echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5 9432 { $as_echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
8630 echo $ECHO_N "checking for XpEndJob in -lXp... $ECHO_C" >&6 9433 $as_echo_n "checking for XpEndJob in -lXp... " >&6; }
8631 if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then 9434 if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then
8632 echo $ECHO_N "(cached) $ECHO_C" >&6 9435 $as_echo_n "(cached) " >&6
8633 else 9436 else
8634 ac_check_lib_save_LIBS=$LIBS 9437 ac_check_lib_save_LIBS=$LIBS
8635 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" 9438 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8636 cat >conftest.$ac_ext <<_ACEOF 9439 cat >conftest.$ac_ext <<_ACEOF
8637 /* confdefs.h. */ 9440 /* confdefs.h. */
8638 _ACEOF 9441 _ACEOF
8639 cat confdefs.h >>conftest.$ac_ext 9442 cat confdefs.h >>conftest.$ac_ext
8640 cat >>conftest.$ac_ext <<_ACEOF 9443 cat >>conftest.$ac_ext <<_ACEOF
8641 /* end confdefs.h. */ 9444 /* end confdefs.h. */
8642 9445
8643 /* Override any gcc2 internal prototype to avoid an error. */ 9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
8644 #ifdef __cplusplus 9449 #ifdef __cplusplus
8645 extern "C" 9450 extern "C"
8646 #endif 9451 #endif
8647 /* We use char because int might match the return type of a gcc2
8648 builtin and then its argument prototype would still apply. */
8649 char XpEndJob (); 9452 char XpEndJob ();
8650 int 9453 int
8651 main () 9454 main ()
8652 { 9455 {
8653 XpEndJob (); 9456 return XpEndJob ();
8654 ; 9457 ;
8655 return 0; 9458 return 0;
8656 } 9459 }
8657 _ACEOF 9460 _ACEOF
8658 rm -f conftest.$ac_objext conftest$ac_exeext 9461 rm -f conftest.$ac_objext conftest$ac_exeext
8659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9462 if { (ac_try="$ac_link"
8660 (eval $ac_link) 2>conftest.er1 9463 case "(($ac_try" in
9464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9465 *) ac_try_echo=$ac_try;;
9466 esac
9467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9468 $as_echo "$ac_try_echo") >&5
9469 (eval "$ac_link") 2>conftest.er1
8661 ac_status=$? 9470 ac_status=$?
8662 grep -v '^ *+' conftest.er1 >conftest.err 9471 grep -v '^ *+' conftest.er1 >conftest.err
8663 rm -f conftest.er1 9472 rm -f conftest.er1
8664 cat conftest.err >&5 9473 cat conftest.err >&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); } && 9475 (exit $ac_status); } && {
8667 { ac_try='test -z "$ac_c_werror_flag" 9476 test -z "$ac_c_werror_flag" ||
8668 || test ! -s conftest.err' 9477 test ! -s conftest.err
8669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9478 } && test -s conftest$ac_exeext && {
8670 (eval $ac_try) 2>&5 9479 test "$cross_compiling" = yes ||
8671 ac_status=$? 9480 $as_test_x conftest$ac_exeext
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9481 }; then
8673 (exit $ac_status); }; } &&
8674 { ac_try='test -s conftest$ac_exeext'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8676 (eval $ac_try) 2>&5
8677 ac_status=$?
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; }; then
8680 ac_cv_lib_Xp_XpEndJob=yes 9482 ac_cv_lib_Xp_XpEndJob=yes
8681 else 9483 else
8682 echo "$as_me: failed program was:" >&5 9484 $as_echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.$ac_ext >&5 9485 sed 's/^/| /' conftest.$ac_ext >&5
8684 9486
8685 ac_cv_lib_Xp_XpEndJob=no 9487 ac_cv_lib_Xp_XpEndJob=no
8686 fi 9488 fi
8687 rm -f conftest.err conftest.$ac_objext \ 9489
9490 rm -rf conftest.dSYM
9491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8688 conftest$ac_exeext conftest.$ac_ext 9492 conftest$ac_exeext conftest.$ac_ext
8689 LIBS=$ac_check_lib_save_LIBS 9493 LIBS=$ac_check_lib_save_LIBS
8690 fi 9494 fi
8691 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5 9495 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
8692 echo "${ECHO_T}$ac_cv_lib_Xp_XpEndJob" >&6 9496 $as_echo "$ac_cv_lib_Xp_XpEndJob" >&6; }
8693 if test $ac_cv_lib_Xp_XpEndJob = yes; then 9497 if test $ac_cv_lib_Xp_XpEndJob = yes; then
8694 GUI_X_LIBS="-lXp $GUI_X_LIBS" 9498 GUI_X_LIBS="-lXp $GUI_X_LIBS"
8695 fi 9499 fi
8696 9500
8697 fi 9501 fi
8698 LDFLAGS=$ldflags_save 9502 LDFLAGS=$ldflags_save
8699 9503
8700 echo "$as_me:$LINENO: checking for extra X11 defines" >&5 9504 { $as_echo "$as_me:$LINENO: checking for extra X11 defines" >&5
8701 echo $ECHO_N "checking for extra X11 defines... $ECHO_C" >&6 9505 $as_echo_n "checking for extra X11 defines... " >&6; }
8702 NARROW_PROTO= 9506 NARROW_PROTO=
8703 rm -fr conftestdir 9507 rm -fr conftestdir
8704 if mkdir conftestdir; then 9508 if mkdir conftestdir; then
8705 cd conftestdir 9509 cd conftestdir
8706 cat > Imakefile <<'EOF' 9510 cat > Imakefile <<'EOF'
8712 fi 9516 fi
8713 cd .. 9517 cd ..
8714 rm -fr conftestdir 9518 rm -fr conftestdir
8715 fi 9519 fi
8716 if test -z "$NARROW_PROTO"; then 9520 if test -z "$NARROW_PROTO"; then
8717 echo "$as_me:$LINENO: result: no" >&5 9521 { $as_echo "$as_me:$LINENO: result: no" >&5
8718 echo "${ECHO_T}no" >&6 9522 $as_echo "no" >&6; }
8719 else 9523 else
8720 echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5 9524 { $as_echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
8721 echo "${ECHO_T}$NARROW_PROTO" >&6 9525 $as_echo "$NARROW_PROTO" >&6; }
8722 fi 9526 fi
8723 9527
8724 fi 9528 fi
8725 9529
8726 if test "$enable_xsmp" = "yes"; then 9530 if test "$enable_xsmp" = "yes"; then
8727 cppflags_save=$CPPFLAGS 9531 cppflags_save=$CPPFLAGS
8728 CPPFLAGS="$CPPFLAGS $X_CFLAGS" 9532 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8729 9533
8730 for ac_header in X11/SM/SMlib.h 9534 for ac_header in X11/SM/SMlib.h
8731 do 9535 do
8732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9536 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8733 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8734 echo "$as_me:$LINENO: checking for $ac_header" >&5 9538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9539 $as_echo_n "checking for $ac_header... " >&6; }
8736 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6 9541 $as_echo_n "(cached) " >&6
8738 fi 9542 fi
8739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9543 ac_res=`eval 'as_val=${'$as_ac_Header'}
8740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9544 $as_echo "$as_val"'`
9545 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9546 $as_echo "$ac_res" >&6; }
8741 else 9547 else
8742 # Is the header compilable? 9548 # Is the header compilable?
8743 echo "$as_me:$LINENO: checking $ac_header usability" >&5 9549 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9550 $as_echo_n "checking $ac_header usability... " >&6; }
8745 cat >conftest.$ac_ext <<_ACEOF 9551 cat >conftest.$ac_ext <<_ACEOF
8746 /* confdefs.h. */ 9552 /* confdefs.h. */
8747 _ACEOF 9553 _ACEOF
8748 cat confdefs.h >>conftest.$ac_ext 9554 cat confdefs.h >>conftest.$ac_ext
8749 cat >>conftest.$ac_ext <<_ACEOF 9555 cat >>conftest.$ac_ext <<_ACEOF
8750 /* end confdefs.h. */ 9556 /* end confdefs.h. */
8751 $ac_includes_default 9557 $ac_includes_default
8752 #include <$ac_header> 9558 #include <$ac_header>
8753 _ACEOF 9559 _ACEOF
8754 rm -f conftest.$ac_objext 9560 rm -f conftest.$ac_objext
8755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9561 if { (ac_try="$ac_compile"
8756 (eval $ac_compile) 2>conftest.er1 9562 case "(($ac_try" in
9563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9564 *) ac_try_echo=$ac_try;;
9565 esac
9566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9567 $as_echo "$ac_try_echo") >&5
9568 (eval "$ac_compile") 2>conftest.er1
8757 ac_status=$? 9569 ac_status=$?
8758 grep -v '^ *+' conftest.er1 >conftest.err 9570 grep -v '^ *+' conftest.er1 >conftest.err
8759 rm -f conftest.er1 9571 rm -f conftest.er1
8760 cat conftest.err >&5 9572 cat conftest.err >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } && 9574 (exit $ac_status); } && {
8763 { ac_try='test -z "$ac_c_werror_flag" 9575 test -z "$ac_c_werror_flag" ||
8764 || test ! -s conftest.err' 9576 test ! -s conftest.err
8765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9577 } && test -s conftest.$ac_objext; then
8766 (eval $ac_try) 2>&5
8767 ac_status=$?
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); }; } &&
8770 { ac_try='test -s conftest.$ac_objext'
8771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8772 (eval $ac_try) 2>&5
8773 ac_status=$?
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); }; }; then
8776 ac_header_compiler=yes 9578 ac_header_compiler=yes
8777 else 9579 else
8778 echo "$as_me: failed program was:" >&5 9580 $as_echo "$as_me: failed program was:" >&5
8779 sed 's/^/| /' conftest.$ac_ext >&5 9581 sed 's/^/| /' conftest.$ac_ext >&5
8780 9582
8781 ac_header_compiler=no 9583 ac_header_compiler=no
8782 fi 9584 fi
8783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9585
8784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8785 echo "${ECHO_T}$ac_header_compiler" >&6 9587 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9588 $as_echo "$ac_header_compiler" >&6; }
8786 9589
8787 # Is the header present? 9590 # Is the header present?
8788 echo "$as_me:$LINENO: checking $ac_header presence" >&5 9591 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9592 $as_echo_n "checking $ac_header presence... " >&6; }
8790 cat >conftest.$ac_ext <<_ACEOF 9593 cat >conftest.$ac_ext <<_ACEOF
8791 /* confdefs.h. */ 9594 /* confdefs.h. */
8792 _ACEOF 9595 _ACEOF
8793 cat confdefs.h >>conftest.$ac_ext 9596 cat confdefs.h >>conftest.$ac_ext
8794 cat >>conftest.$ac_ext <<_ACEOF 9597 cat >>conftest.$ac_ext <<_ACEOF
8795 /* end confdefs.h. */ 9598 /* end confdefs.h. */
8796 #include <$ac_header> 9599 #include <$ac_header>
8797 _ACEOF 9600 _ACEOF
8798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9601 if { (ac_try="$ac_cpp conftest.$ac_ext"
8799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9602 case "(($ac_try" in
9603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9604 *) ac_try_echo=$ac_try;;
9605 esac
9606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9607 $as_echo "$ac_try_echo") >&5
9608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8800 ac_status=$? 9609 ac_status=$?
8801 grep -v '^ *+' conftest.er1 >conftest.err 9610 grep -v '^ *+' conftest.er1 >conftest.err
8802 rm -f conftest.er1 9611 rm -f conftest.er1
8803 cat conftest.err >&5 9612 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } >/dev/null; then 9614 (exit $ac_status); } >/dev/null && {
8806 if test -s conftest.err; then 9615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8807 ac_cpp_err=$ac_c_preproc_warn_flag 9616 test ! -s conftest.err
8808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9617 }; then
8809 else
8810 ac_cpp_err=
8811 fi
8812 else
8813 ac_cpp_err=yes
8814 fi
8815 if test -z "$ac_cpp_err"; then
8816 ac_header_preproc=yes 9618 ac_header_preproc=yes
8817 else 9619 else
8818 echo "$as_me: failed program was:" >&5 9620 $as_echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.$ac_ext >&5 9621 sed 's/^/| /' conftest.$ac_ext >&5
8820 9622
8821 ac_header_preproc=no 9623 ac_header_preproc=no
8822 fi 9624 fi
9625
8823 rm -f conftest.err conftest.$ac_ext 9626 rm -f conftest.err conftest.$ac_ext
8824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9627 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8825 echo "${ECHO_T}$ac_header_preproc" >&6 9628 $as_echo "$ac_header_preproc" >&6; }
8826 9629
8827 # So? What about this header? 9630 # So? What about this header?
8828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8829 yes:no: ) 9632 yes:no: )
8830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9634 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9635 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9636 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8834 ac_header_preproc=yes 9637 ac_header_preproc=yes
8835 ;; 9638 ;;
8836 no:yes:* ) 9639 no:yes:* )
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9640 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9641 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9642 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9643 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9644 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9645 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9647 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9649 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9651 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8849 ( 9652
8850 cat <<\_ASBOX
8851 ## ------------------------------------------ ##
8852 ## Report this to the AC_PACKAGE_NAME lists. ##
8853 ## ------------------------------------------ ##
8854 _ASBOX
8855 ) |
8856 sed "s/^/$as_me: WARNING: /" >&2
8857 ;; 9653 ;;
8858 esac 9654 esac
8859 echo "$as_me:$LINENO: checking for $ac_header" >&5 9655 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9656 $as_echo_n "checking for $ac_header... " >&6; }
8861 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9657 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8862 echo $ECHO_N "(cached) $ECHO_C" >&6 9658 $as_echo_n "(cached) " >&6
8863 else 9659 else
8864 eval "$as_ac_Header=\$ac_header_preproc" 9660 eval "$as_ac_Header=\$ac_header_preproc"
8865 fi 9661 fi
8866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9662 ac_res=`eval 'as_val=${'$as_ac_Header'}
8867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9663 $as_echo "$as_val"'`
8868 9664 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8869 fi 9665 $as_echo "$ac_res" >&6; }
8870 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9666
9667 fi
9668 if test `eval 'as_val=${'$as_ac_Header'}
9669 $as_echo "$as_val"'` = yes; then
8871 cat >>confdefs.h <<_ACEOF 9670 cat >>confdefs.h <<_ACEOF
8872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8873 _ACEOF 9672 _ACEOF
8874 9673
8875 fi 9674 fi
8876 9675
8877 done 9676 done
8885 CPPFLAGS="$CPPFLAGS $X_CFLAGS" 9684 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8886 9685
8887 9686
8888 for ac_header in X11/xpm.h X11/Sunkeysym.h 9687 for ac_header in X11/xpm.h X11/Sunkeysym.h
8889 do 9688 do
8890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8891 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8892 echo "$as_me:$LINENO: checking for $ac_header" >&5 9691 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9692 $as_echo_n "checking for $ac_header... " >&6; }
8894 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6 9694 $as_echo_n "(cached) " >&6
8896 fi 9695 fi
8897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9696 ac_res=`eval 'as_val=${'$as_ac_Header'}
8898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9697 $as_echo "$as_val"'`
9698 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9699 $as_echo "$ac_res" >&6; }
8899 else 9700 else
8900 # Is the header compilable? 9701 # Is the header compilable?
8901 echo "$as_me:$LINENO: checking $ac_header usability" >&5 9702 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9703 $as_echo_n "checking $ac_header usability... " >&6; }
8903 cat >conftest.$ac_ext <<_ACEOF 9704 cat >conftest.$ac_ext <<_ACEOF
8904 /* confdefs.h. */ 9705 /* confdefs.h. */
8905 _ACEOF 9706 _ACEOF
8906 cat confdefs.h >>conftest.$ac_ext 9707 cat confdefs.h >>conftest.$ac_ext
8907 cat >>conftest.$ac_ext <<_ACEOF 9708 cat >>conftest.$ac_ext <<_ACEOF
8908 /* end confdefs.h. */ 9709 /* end confdefs.h. */
8909 $ac_includes_default 9710 $ac_includes_default
8910 #include <$ac_header> 9711 #include <$ac_header>
8911 _ACEOF 9712 _ACEOF
8912 rm -f conftest.$ac_objext 9713 rm -f conftest.$ac_objext
8913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9714 if { (ac_try="$ac_compile"
8914 (eval $ac_compile) 2>conftest.er1 9715 case "(($ac_try" in
9716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9717 *) ac_try_echo=$ac_try;;
9718 esac
9719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9720 $as_echo "$ac_try_echo") >&5
9721 (eval "$ac_compile") 2>conftest.er1
8915 ac_status=$? 9722 ac_status=$?
8916 grep -v '^ *+' conftest.er1 >conftest.err 9723 grep -v '^ *+' conftest.er1 >conftest.err
8917 rm -f conftest.er1 9724 rm -f conftest.er1
8918 cat conftest.err >&5 9725 cat conftest.err >&5
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9726 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); } && 9727 (exit $ac_status); } && {
8921 { ac_try='test -z "$ac_c_werror_flag" 9728 test -z "$ac_c_werror_flag" ||
8922 || test ! -s conftest.err' 9729 test ! -s conftest.err
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9730 } && test -s conftest.$ac_objext; then
8924 (eval $ac_try) 2>&5
8925 ac_status=$?
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); }; } &&
8928 { ac_try='test -s conftest.$ac_objext'
8929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 (eval $ac_try) 2>&5
8931 ac_status=$?
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; }; then
8934 ac_header_compiler=yes 9731 ac_header_compiler=yes
8935 else 9732 else
8936 echo "$as_me: failed program was:" >&5 9733 $as_echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.$ac_ext >&5 9734 sed 's/^/| /' conftest.$ac_ext >&5
8938 9735
8939 ac_header_compiler=no 9736 ac_header_compiler=no
8940 fi 9737 fi
8941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9738
8942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8943 echo "${ECHO_T}$ac_header_compiler" >&6 9740 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9741 $as_echo "$ac_header_compiler" >&6; }
8944 9742
8945 # Is the header present? 9743 # Is the header present?
8946 echo "$as_me:$LINENO: checking $ac_header presence" >&5 9744 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9745 $as_echo_n "checking $ac_header presence... " >&6; }
8948 cat >conftest.$ac_ext <<_ACEOF 9746 cat >conftest.$ac_ext <<_ACEOF
8949 /* confdefs.h. */ 9747 /* confdefs.h. */
8950 _ACEOF 9748 _ACEOF
8951 cat confdefs.h >>conftest.$ac_ext 9749 cat confdefs.h >>conftest.$ac_ext
8952 cat >>conftest.$ac_ext <<_ACEOF 9750 cat >>conftest.$ac_ext <<_ACEOF
8953 /* end confdefs.h. */ 9751 /* end confdefs.h. */
8954 #include <$ac_header> 9752 #include <$ac_header>
8955 _ACEOF 9753 _ACEOF
8956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9754 if { (ac_try="$ac_cpp conftest.$ac_ext"
8957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9755 case "(($ac_try" in
9756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9757 *) ac_try_echo=$ac_try;;
9758 esac
9759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9760 $as_echo "$ac_try_echo") >&5
9761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8958 ac_status=$? 9762 ac_status=$?
8959 grep -v '^ *+' conftest.er1 >conftest.err 9763 grep -v '^ *+' conftest.er1 >conftest.err
8960 rm -f conftest.er1 9764 rm -f conftest.er1
8961 cat conftest.err >&5 9765 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } >/dev/null; then 9767 (exit $ac_status); } >/dev/null && {
8964 if test -s conftest.err; then 9768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8965 ac_cpp_err=$ac_c_preproc_warn_flag 9769 test ! -s conftest.err
8966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9770 }; then
8967 else
8968 ac_cpp_err=
8969 fi
8970 else
8971 ac_cpp_err=yes
8972 fi
8973 if test -z "$ac_cpp_err"; then
8974 ac_header_preproc=yes 9771 ac_header_preproc=yes
8975 else 9772 else
8976 echo "$as_me: failed program was:" >&5 9773 $as_echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5 9774 sed 's/^/| /' conftest.$ac_ext >&5
8978 9775
8979 ac_header_preproc=no 9776 ac_header_preproc=no
8980 fi 9777 fi
9778
8981 rm -f conftest.err conftest.$ac_ext 9779 rm -f conftest.err conftest.$ac_ext
8982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9780 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8983 echo "${ECHO_T}$ac_header_preproc" >&6 9781 $as_echo "$ac_header_preproc" >&6; }
8984 9782
8985 # So? What about this header? 9783 # So? What about this header?
8986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8987 yes:no: ) 9785 yes:no: )
8988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9787 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9789 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8992 ac_header_preproc=yes 9790 ac_header_preproc=yes
8993 ;; 9791 ;;
8994 no:yes:* ) 9792 no:yes:* )
8995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9794 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9796 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9798 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9800 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9802 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9803 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9804 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9007 ( 9805
9008 cat <<\_ASBOX
9009 ## ------------------------------------------ ##
9010 ## Report this to the AC_PACKAGE_NAME lists. ##
9011 ## ------------------------------------------ ##
9012 _ASBOX
9013 ) |
9014 sed "s/^/$as_me: WARNING: /" >&2
9015 ;; 9806 ;;
9016 esac 9807 esac
9017 echo "$as_me:$LINENO: checking for $ac_header" >&5 9808 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9809 $as_echo_n "checking for $ac_header... " >&6; }
9019 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9020 echo $ECHO_N "(cached) $ECHO_C" >&6 9811 $as_echo_n "(cached) " >&6
9021 else 9812 else
9022 eval "$as_ac_Header=\$ac_header_preproc" 9813 eval "$as_ac_Header=\$ac_header_preproc"
9023 fi 9814 fi
9024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9815 ac_res=`eval 'as_val=${'$as_ac_Header'}
9025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9816 $as_echo "$as_val"'`
9026 9817 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9027 fi 9818 $as_echo "$ac_res" >&6; }
9028 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9819
9820 fi
9821 if test `eval 'as_val=${'$as_ac_Header'}
9822 $as_echo "$as_val"'` = yes; then
9029 cat >>confdefs.h <<_ACEOF 9823 cat >>confdefs.h <<_ACEOF
9030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9031 _ACEOF 9825 _ACEOF
9032 9826
9033 fi 9827 fi
9034 9828
9035 done 9829 done
9036 9830
9037 9831
9038 if test ! "$enable_xim" = "no"; then 9832 if test ! "$enable_xim" = "no"; then
9039 echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5 9833 { $as_echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
9040 echo $ECHO_N "checking for XIMText in X11/Xlib.h... $ECHO_C" >&6 9834 $as_echo_n "checking for XIMText in X11/Xlib.h... " >&6; }
9041 cat >conftest.$ac_ext <<_ACEOF 9835 cat >conftest.$ac_ext <<_ACEOF
9042 /* confdefs.h. */ 9836 /* confdefs.h. */
9043 _ACEOF 9837 _ACEOF
9044 cat confdefs.h >>conftest.$ac_ext 9838 cat confdefs.h >>conftest.$ac_ext
9045 cat >>conftest.$ac_ext <<_ACEOF 9839 cat >>conftest.$ac_ext <<_ACEOF
9046 /* end confdefs.h. */ 9840 /* end confdefs.h. */
9047 #include <X11/Xlib.h> 9841 #include <X11/Xlib.h>
9048 _ACEOF 9842 _ACEOF
9049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9050 $EGREP "XIMText" >/dev/null 2>&1; then 9844 $EGREP "XIMText" >/dev/null 2>&1; then
9051 echo "$as_me:$LINENO: result: yes" >&5 9845 { $as_echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6 9846 $as_echo "yes" >&6; }
9053 else 9847 else
9054 echo "$as_me:$LINENO: result: no; xim has been disabled" >&5 9848 { $as_echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
9055 echo "${ECHO_T}no; xim has been disabled" >&6; enable_xim = "no" 9849 $as_echo "no; xim has been disabled" >&6; }; enable_xim = "no"
9056 fi 9850 fi
9057 rm -f conftest* 9851 rm -f conftest*
9058 9852
9059 fi 9853 fi
9060 CPPFLAGS=$cppflags_save 9854 CPPFLAGS=$cppflags_save
9061 9855
9062 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \ 9856 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \
9063 -a "x$GUITYPE" != "xNONE" ; then 9857 -a "x$GUITYPE" != "xNONE" ; then
9064 echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5 9858 { $as_echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
9065 echo "${ECHO_T}X GUI selected; xim has been enabled" >&6 9859 $as_echo "X GUI selected; xim has been enabled" >&6; }
9066 enable_xim="yes" 9860 enable_xim="yes"
9067 fi 9861 fi
9068 fi 9862 fi
9069 9863
9070 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then 9864 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
9071 cppflags_save=$CPPFLAGS 9865 cppflags_save=$CPPFLAGS
9072 CPPFLAGS="$CPPFLAGS $X_CFLAGS" 9866 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9073 echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5 9867 { $as_echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
9074 echo $ECHO_N "checking for X11/Xmu/Editres.h... $ECHO_C" >&6 9868 $as_echo_n "checking for X11/Xmu/Editres.h... " >&6; }
9075 cat >conftest.$ac_ext <<_ACEOF 9869 cat >conftest.$ac_ext <<_ACEOF
9076 /* confdefs.h. */ 9870 /* confdefs.h. */
9077 _ACEOF 9871 _ACEOF
9078 cat confdefs.h >>conftest.$ac_ext 9872 cat confdefs.h >>conftest.$ac_ext
9079 cat >>conftest.$ac_ext <<_ACEOF 9873 cat >>conftest.$ac_ext <<_ACEOF
9088 ; 9882 ;
9089 return 0; 9883 return 0;
9090 } 9884 }
9091 _ACEOF 9885 _ACEOF
9092 rm -f conftest.$ac_objext 9886 rm -f conftest.$ac_objext
9093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9887 if { (ac_try="$ac_compile"
9094 (eval $ac_compile) 2>conftest.er1 9888 case "(($ac_try" in
9889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9890 *) ac_try_echo=$ac_try;;
9891 esac
9892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9893 $as_echo "$ac_try_echo") >&5
9894 (eval "$ac_compile") 2>conftest.er1
9095 ac_status=$? 9895 ac_status=$?
9096 grep -v '^ *+' conftest.er1 >conftest.err 9896 grep -v '^ *+' conftest.er1 >conftest.err
9097 rm -f conftest.er1 9897 rm -f conftest.er1
9098 cat conftest.err >&5 9898 cat conftest.err >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); } && 9900 (exit $ac_status); } && {
9101 { ac_try='test -z "$ac_c_werror_flag" 9901 test -z "$ac_c_werror_flag" ||
9102 || test ! -s conftest.err' 9902 test ! -s conftest.err
9103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9903 } && test -s conftest.$ac_objext; then
9104 (eval $ac_try) 2>&5 9904 { $as_echo "$as_me:$LINENO: result: yes" >&5
9105 ac_status=$? 9905 $as_echo "yes" >&6; }
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); }; } &&
9108 { ac_try='test -s conftest.$ac_objext'
9109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9110 (eval $ac_try) 2>&5
9111 ac_status=$?
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); }; }; then
9114 echo "$as_me:$LINENO: result: yes" >&5
9115 echo "${ECHO_T}yes" >&6
9116 cat >>confdefs.h <<\_ACEOF 9906 cat >>confdefs.h <<\_ACEOF
9117 #define HAVE_X11_XMU_EDITRES_H 1 9907 #define HAVE_X11_XMU_EDITRES_H 1
9118 _ACEOF 9908 _ACEOF
9119 9909
9120 else 9910 else
9121 echo "$as_me: failed program was:" >&5 9911 $as_echo "$as_me: failed program was:" >&5
9122 sed 's/^/| /' conftest.$ac_ext >&5 9912 sed 's/^/| /' conftest.$ac_ext >&5
9123 9913
9124 echo "$as_me:$LINENO: result: no" >&5 9914 { $as_echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6 9915 $as_echo "no" >&6; }
9126 fi 9916 fi
9127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9917
9918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9128 CPPFLAGS=$cppflags_save 9919 CPPFLAGS=$cppflags_save
9129 fi 9920 fi
9130 9921
9131 if test -z "$SKIP_MOTIF"; then 9922 if test -z "$SKIP_MOTIF"; then
9132 cppflags_save=$CPPFLAGS 9923 cppflags_save=$CPPFLAGS
9139 9930
9140 9931
9141 for ac_header in Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h \ 9932 for ac_header in Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h \
9142 Xm/UnhighlightT.h Xm/Notebook.h 9933 Xm/UnhighlightT.h Xm/Notebook.h
9143 do 9934 do
9144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9145 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9146 echo "$as_me:$LINENO: checking for $ac_header" >&5 9937 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9938 $as_echo_n "checking for $ac_header... " >&6; }
9148 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6 9940 $as_echo_n "(cached) " >&6
9150 fi 9941 fi
9151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9942 ac_res=`eval 'as_val=${'$as_ac_Header'}
9152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9943 $as_echo "$as_val"'`
9944 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9945 $as_echo "$ac_res" >&6; }
9153 else 9946 else
9154 # Is the header compilable? 9947 # Is the header compilable?
9155 echo "$as_me:$LINENO: checking $ac_header usability" >&5 9948 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9949 $as_echo_n "checking $ac_header usability... " >&6; }
9157 cat >conftest.$ac_ext <<_ACEOF 9950 cat >conftest.$ac_ext <<_ACEOF
9158 /* confdefs.h. */ 9951 /* confdefs.h. */
9159 _ACEOF 9952 _ACEOF
9160 cat confdefs.h >>conftest.$ac_ext 9953 cat confdefs.h >>conftest.$ac_ext
9161 cat >>conftest.$ac_ext <<_ACEOF 9954 cat >>conftest.$ac_ext <<_ACEOF
9162 /* end confdefs.h. */ 9955 /* end confdefs.h. */
9163 $ac_includes_default 9956 $ac_includes_default
9164 #include <$ac_header> 9957 #include <$ac_header>
9165 _ACEOF 9958 _ACEOF
9166 rm -f conftest.$ac_objext 9959 rm -f conftest.$ac_objext
9167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9960 if { (ac_try="$ac_compile"
9168 (eval $ac_compile) 2>conftest.er1 9961 case "(($ac_try" in
9962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9963 *) ac_try_echo=$ac_try;;
9964 esac
9965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9966 $as_echo "$ac_try_echo") >&5
9967 (eval "$ac_compile") 2>conftest.er1
9169 ac_status=$? 9968 ac_status=$?
9170 grep -v '^ *+' conftest.er1 >conftest.err 9969 grep -v '^ *+' conftest.er1 >conftest.err
9171 rm -f conftest.er1 9970 rm -f conftest.er1
9172 cat conftest.err >&5 9971 cat conftest.err >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); } && 9973 (exit $ac_status); } && {
9175 { ac_try='test -z "$ac_c_werror_flag" 9974 test -z "$ac_c_werror_flag" ||
9176 || test ! -s conftest.err' 9975 test ! -s conftest.err
9177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9976 } && test -s conftest.$ac_objext; then
9178 (eval $ac_try) 2>&5
9179 ac_status=$?
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); }; } &&
9182 { ac_try='test -s conftest.$ac_objext'
9183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184 (eval $ac_try) 2>&5
9185 ac_status=$?
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); }; }; then
9188 ac_header_compiler=yes 9977 ac_header_compiler=yes
9189 else 9978 else
9190 echo "$as_me: failed program was:" >&5 9979 $as_echo "$as_me: failed program was:" >&5
9191 sed 's/^/| /' conftest.$ac_ext >&5 9980 sed 's/^/| /' conftest.$ac_ext >&5
9192 9981
9193 ac_header_compiler=no 9982 ac_header_compiler=no
9194 fi 9983 fi
9195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9984
9196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9197 echo "${ECHO_T}$ac_header_compiler" >&6 9986 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9987 $as_echo "$ac_header_compiler" >&6; }
9198 9988
9199 # Is the header present? 9989 # Is the header present?
9200 echo "$as_me:$LINENO: checking $ac_header presence" >&5 9990 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9991 $as_echo_n "checking $ac_header presence... " >&6; }
9202 cat >conftest.$ac_ext <<_ACEOF 9992 cat >conftest.$ac_ext <<_ACEOF
9203 /* confdefs.h. */ 9993 /* confdefs.h. */
9204 _ACEOF 9994 _ACEOF
9205 cat confdefs.h >>conftest.$ac_ext 9995 cat confdefs.h >>conftest.$ac_ext
9206 cat >>conftest.$ac_ext <<_ACEOF 9996 cat >>conftest.$ac_ext <<_ACEOF
9207 /* end confdefs.h. */ 9997 /* end confdefs.h. */
9208 #include <$ac_header> 9998 #include <$ac_header>
9209 _ACEOF 9999 _ACEOF
9210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10000 if { (ac_try="$ac_cpp conftest.$ac_ext"
9211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10001 case "(($ac_try" in
10002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10003 *) ac_try_echo=$ac_try;;
10004 esac
10005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10006 $as_echo "$ac_try_echo") >&5
10007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9212 ac_status=$? 10008 ac_status=$?
9213 grep -v '^ *+' conftest.er1 >conftest.err 10009 grep -v '^ *+' conftest.er1 >conftest.err
9214 rm -f conftest.er1 10010 rm -f conftest.er1
9215 cat conftest.err >&5 10011 cat conftest.err >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } >/dev/null; then 10013 (exit $ac_status); } >/dev/null && {
9218 if test -s conftest.err; then 10014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9219 ac_cpp_err=$ac_c_preproc_warn_flag 10015 test ! -s conftest.err
9220 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10016 }; then
9221 else
9222 ac_cpp_err=
9223 fi
9224 else
9225 ac_cpp_err=yes
9226 fi
9227 if test -z "$ac_cpp_err"; then
9228 ac_header_preproc=yes 10017 ac_header_preproc=yes
9229 else 10018 else
9230 echo "$as_me: failed program was:" >&5 10019 $as_echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5 10020 sed 's/^/| /' conftest.$ac_ext >&5
9232 10021
9233 ac_header_preproc=no 10022 ac_header_preproc=no
9234 fi 10023 fi
10024
9235 rm -f conftest.err conftest.$ac_ext 10025 rm -f conftest.err conftest.$ac_ext
9236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10026 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9237 echo "${ECHO_T}$ac_header_preproc" >&6 10027 $as_echo "$ac_header_preproc" >&6; }
9238 10028
9239 # So? What about this header? 10029 # So? What about this header?
9240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9241 yes:no: ) 10031 yes:no: )
9242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10032 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10033 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10034 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10035 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9246 ac_header_preproc=yes 10036 ac_header_preproc=yes
9247 ;; 10037 ;;
9248 no:yes:* ) 10038 no:yes:* )
9249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10040 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10042 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10044 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10045 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10046 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10047 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10048 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10049 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10050 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9261 ( 10051
9262 cat <<\_ASBOX
9263 ## ------------------------------------------ ##
9264 ## Report this to the AC_PACKAGE_NAME lists. ##
9265 ## ------------------------------------------ ##
9266 _ASBOX
9267 ) |
9268 sed "s/^/$as_me: WARNING: /" >&2
9269 ;; 10052 ;;
9270 esac 10053 esac
9271 echo "$as_me:$LINENO: checking for $ac_header" >&5 10054 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10055 $as_echo_n "checking for $ac_header... " >&6; }
9273 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6 10057 $as_echo_n "(cached) " >&6
9275 else 10058 else
9276 eval "$as_ac_Header=\$ac_header_preproc" 10059 eval "$as_ac_Header=\$ac_header_preproc"
9277 fi 10060 fi
9278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10061 ac_res=`eval 'as_val=${'$as_ac_Header'}
9279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10062 $as_echo "$as_val"'`
9280 10063 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9281 fi 10064 $as_echo "$ac_res" >&6; }
9282 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10065
10066 fi
10067 if test `eval 'as_val=${'$as_ac_Header'}
10068 $as_echo "$as_val"'` = yes; then
9283 cat >>confdefs.h <<_ACEOF 10069 cat >>confdefs.h <<_ACEOF
9284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9285 _ACEOF 10071 _ACEOF
9286 10072
9287 fi 10073 fi
9288 10074
9289 done 10075 done
9290 10076
9291 10077
9292 if test $ac_cv_header_Xm_XpmP_h = yes; then 10078 if test $ac_cv_header_Xm_XpmP_h = yes; then
9293 echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5 10079 { $as_echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
9294 echo $ECHO_N "checking for XpmAttributes_21 in Xm/XpmP.h... $ECHO_C" >&6 10080 $as_echo_n "checking for XpmAttributes_21 in Xm/XpmP.h... " >&6; }
9295 cat >conftest.$ac_ext <<_ACEOF 10081 cat >conftest.$ac_ext <<_ACEOF
9296 /* confdefs.h. */ 10082 /* confdefs.h. */
9297 _ACEOF 10083 _ACEOF
9298 cat confdefs.h >>conftest.$ac_ext 10084 cat confdefs.h >>conftest.$ac_ext
9299 cat >>conftest.$ac_ext <<_ACEOF 10085 cat >>conftest.$ac_ext <<_ACEOF
9306 ; 10092 ;
9307 return 0; 10093 return 0;
9308 } 10094 }
9309 _ACEOF 10095 _ACEOF
9310 rm -f conftest.$ac_objext 10096 rm -f conftest.$ac_objext
9311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10097 if { (ac_try="$ac_compile"
9312 (eval $ac_compile) 2>conftest.er1 10098 case "(($ac_try" in
10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10100 *) ac_try_echo=$ac_try;;
10101 esac
10102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10103 $as_echo "$ac_try_echo") >&5
10104 (eval "$ac_compile") 2>conftest.er1
9313 ac_status=$? 10105 ac_status=$?
9314 grep -v '^ *+' conftest.er1 >conftest.err 10106 grep -v '^ *+' conftest.er1 >conftest.err
9315 rm -f conftest.er1 10107 rm -f conftest.er1
9316 cat conftest.err >&5 10108 cat conftest.err >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } && 10110 (exit $ac_status); } && {
9319 { ac_try='test -z "$ac_c_werror_flag" 10111 test -z "$ac_c_werror_flag" ||
9320 || test ! -s conftest.err' 10112 test ! -s conftest.err
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10113 } && test -s conftest.$ac_objext; then
9322 (eval $ac_try) 2>&5 10114 { $as_echo "$as_me:$LINENO: result: yes" >&5
9323 ac_status=$? 10115 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; } &&
9326 { ac_try='test -s conftest.$ac_objext'
9327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 (eval $ac_try) 2>&5
9329 ac_status=$?
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); }; }; then
9332 echo "$as_me:$LINENO: result: yes" >&5
9333 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
9334 #define XPMATTRIBUTES_TYPE XpmAttributes_21 10116 #define XPMATTRIBUTES_TYPE XpmAttributes_21
9335 _ACEOF 10117 _ACEOF
9336 10118
9337 else 10119 else
9338 echo "$as_me: failed program was:" >&5 10120 $as_echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.$ac_ext >&5 10121 sed 's/^/| /' conftest.$ac_ext >&5
9340 10122
9341 echo "$as_me:$LINENO: result: no" >&5 10123 { $as_echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6; cat >>confdefs.h <<\_ACEOF 10124 $as_echo "no" >&6; }; cat >>confdefs.h <<\_ACEOF
9343 #define XPMATTRIBUTES_TYPE XpmAttributes 10125 #define XPMATTRIBUTES_TYPE XpmAttributes
9344 _ACEOF 10126 _ACEOF
9345 10127
9346 10128
9347 fi 10129 fi
9348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10130
10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9349 else 10132 else
9350 cat >>confdefs.h <<\_ACEOF 10133 cat >>confdefs.h <<\_ACEOF
9351 #define XPMATTRIBUTES_TYPE XpmAttributes 10134 #define XPMATTRIBUTES_TYPE XpmAttributes
9352 _ACEOF 10135 _ACEOF
9353 10136
9354 fi 10137 fi
9355 CPPFLAGS=$cppflags_save 10138 CPPFLAGS=$cppflags_save
9356 fi 10139 fi
9357 10140
9358 if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then 10141 if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then
9359 echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5 10142 { $as_echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
9360 echo "${ECHO_T}no GUI selected; xim has been disabled" >&6 10143 $as_echo "no GUI selected; xim has been disabled" >&6; }
9361 enable_xim="no" 10144 enable_xim="no"
9362 fi 10145 fi
9363 if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then 10146 if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then
9364 echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5 10147 { $as_echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
9365 echo "${ECHO_T}no GUI selected; fontset has been disabled" >&6 10148 $as_echo "no GUI selected; fontset has been disabled" >&6; }
9366 enable_fontset="no" 10149 enable_fontset="no"
9367 fi 10150 fi
9368 if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then 10151 if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then
9369 echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5 10152 { $as_echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
9370 echo "${ECHO_T}GTK+ 2 GUI selected; fontset has been disabled" >&6 10153 $as_echo "GTK+ 2 GUI selected; fontset has been disabled" >&6; }
9371 enable_fontset="no" 10154 enable_fontset="no"
9372 fi 10155 fi
9373 10156
9374 if test -z "$SKIP_PHOTON"; then 10157 if test -z "$SKIP_PHOTON"; then
9375 GUITYPE=PHOTONGUI 10158 GUITYPE=PHOTONGUI
9379 10162
9380 10163
9381 10164
9382 10165
9383 if test "$enable_workshop" = "yes" -a -n "$SKIP_MOTIF"; then 10166 if test "$enable_workshop" = "yes" -a -n "$SKIP_MOTIF"; then
9384 { { echo "$as_me:$LINENO: error: cannot use workshop without Motif" >&5 10167 { { $as_echo "$as_me:$LINENO: error: cannot use workshop without Motif" >&5
9385 echo "$as_me: error: cannot use workshop without Motif" >&2;} 10168 $as_echo "$as_me: error: cannot use workshop without Motif" >&2;}
9386 { (exit 1); exit 1; }; } 10169 { (exit 1); exit 1; }; }
9387 fi 10170 fi
9388 10171
9389 if test "$enable_xim" = "yes"; then 10172 if test "$enable_xim" = "yes"; then
9390 cat >>confdefs.h <<\_ACEOF 10173 cat >>confdefs.h <<\_ACEOF
9402 10185
9403 10186
9404 10187
9405 if test "$enable_hangulinput" = "yes"; then 10188 if test "$enable_hangulinput" = "yes"; then
9406 if test "x$GUITYPE" = "xNONE"; then 10189 if test "x$GUITYPE" = "xNONE"; then
9407 echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5 10190 { $as_echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
9408 echo "${ECHO_T}no GUI selected; hangul input has been disabled" >&6 10191 $as_echo "no GUI selected; hangul input has been disabled" >&6; }
9409 enable_hangulinput=no 10192 enable_hangulinput=no
9410 else 10193 else
9411 cat >>confdefs.h <<\_ACEOF 10194 cat >>confdefs.h <<\_ACEOF
9412 #define FEAT_HANGULIN 1 10195 #define FEAT_HANGULIN 1
9413 _ACEOF 10196 _ACEOF
9418 10201
9419 fi 10202 fi
9420 fi 10203 fi
9421 10204
9422 10205
9423 echo "$as_me:$LINENO: checking quality of toupper" >&5 10206 { $as_echo "$as_me:$LINENO: checking whether toupper is broken" >&5
9424 echo $ECHO_N "checking quality of toupper... $ECHO_C" >&6 10207 $as_echo_n "checking whether toupper is broken... " >&6; }
9425 if test "$cross_compiling" = yes; then 10208 if test "${vim_cv_toupper_broken+set}" = set; then
9426 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 10209 $as_echo_n "(cached) " >&6
9427 echo "$as_me: error: failed to compile test program" >&2;} 10210 else
10211
10212 if test "$cross_compiling" = yes; then
10213
10214 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_toupper_broken'" >&5
10215 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_toupper_broken'" >&2;}
9428 { (exit 1); exit 1; }; } 10216 { (exit 1); exit 1; }; }
10217
9429 else 10218 else
9430 cat >conftest.$ac_ext <<_ACEOF 10219 cat >conftest.$ac_ext <<_ACEOF
10220
10221 #include "confdefs.h"
10222 #include <ctype.h>
10223 #if STDC_HEADERS
10224 # include <stdlib.h>
10225 # include <stddef.h>
10226 #endif
10227 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
10228
10229 _ACEOF
10230 rm -f conftest$ac_exeext
10231 if { (ac_try="$ac_link"
10232 case "(($ac_try" in
10233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10235 esac
10236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10237 $as_echo "$ac_try_echo") >&5
10238 (eval "$ac_link") 2>&5
10239 ac_status=$?
10240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10242 { (case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10245 esac
10246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10247 $as_echo "$ac_try_echo") >&5
10248 (eval "$ac_try") 2>&5
10249 ac_status=$?
10250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }; }; then
10252
10253 vim_cv_toupper_broken=yes
10254
10255 else
10256 $as_echo "$as_me: program exited with status $ac_status" >&5
10257 $as_echo "$as_me: failed program was:" >&5
10258 sed 's/^/| /' conftest.$ac_ext >&5
10259
10260 ( exit $ac_status )
10261
10262 vim_cv_toupper_broken=no
10263
10264 fi
10265 rm -rf conftest.dSYM
10266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10267 fi
10268
10269
10270 fi
10271 { $as_echo "$as_me:$LINENO: result: $vim_cv_toupper_broken" >&5
10272 $as_echo "$vim_cv_toupper_broken" >&6; }
10273
10274 if test "x$vim_cv_toupper_broken" = "xyes" ; then
10275 cat >>confdefs.h <<\_ACEOF
10276 #define BROKEN_TOUPPER 1
10277 _ACEOF
10278
10279 fi
10280
10281 { $as_echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
10282 $as_echo_n "checking whether __DATE__ and __TIME__ work... " >&6; }
10283 cat >conftest.$ac_ext <<_ACEOF
9431 /* confdefs.h. */ 10284 /* confdefs.h. */
9432 _ACEOF 10285 _ACEOF
9433 cat confdefs.h >>conftest.$ac_ext 10286 cat confdefs.h >>conftest.$ac_ext
9434 cat >>conftest.$ac_ext <<_ACEOF 10287 cat >>conftest.$ac_ext <<_ACEOF
9435 /* end confdefs.h. */ 10288 /* end confdefs.h. */
9436 #include <ctype.h> 10289 #include <stdio.h>
9437 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
9438 _ACEOF
9439 rm -f conftest$ac_exeext
9440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9441 (eval $ac_link) 2>&5
9442 ac_status=$?
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 (eval $ac_try) 2>&5
9447 ac_status=$?
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); }; }; then
9450 cat >>confdefs.h <<\_ACEOF
9451 #define BROKEN_TOUPPER 1
9452 _ACEOF
9453 echo "$as_me:$LINENO: result: bad" >&5
9454 echo "${ECHO_T}bad" >&6
9455 else
9456 echo "$as_me: program exited with status $ac_status" >&5
9457 echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.$ac_ext >&5
9459
9460 ( exit $ac_status )
9461 echo "$as_me:$LINENO: result: good" >&5
9462 echo "${ECHO_T}good" >&6
9463 fi
9464 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9465 fi
9466
9467 echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
9468 echo $ECHO_N "checking whether __DATE__ and __TIME__ work... $ECHO_C" >&6
9469 cat >conftest.$ac_ext <<_ACEOF
9470 /* confdefs.h. */
9471 _ACEOF
9472 cat confdefs.h >>conftest.$ac_ext
9473 cat >>conftest.$ac_ext <<_ACEOF
9474 /* end confdefs.h. */
9475
9476 int 10290 int
9477 main () 10291 main ()
9478 { 10292 {
9479 printf("(" __DATE__ " " __TIME__ ")"); 10293 printf("(" __DATE__ " " __TIME__ ")");
9480 ; 10294 ;
9481 return 0; 10295 return 0;
9482 } 10296 }
9483 _ACEOF 10297 _ACEOF
9484 rm -f conftest.$ac_objext 10298 rm -f conftest.$ac_objext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10299 if { (ac_try="$ac_compile"
9486 (eval $ac_compile) 2>conftest.er1 10300 case "(($ac_try" in
10301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10302 *) ac_try_echo=$ac_try;;
10303 esac
10304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10305 $as_echo "$ac_try_echo") >&5
10306 (eval "$ac_compile") 2>conftest.er1
9487 ac_status=$? 10307 ac_status=$?
9488 grep -v '^ *+' conftest.er1 >conftest.err 10308 grep -v '^ *+' conftest.er1 >conftest.err
9489 rm -f conftest.er1 10309 rm -f conftest.er1
9490 cat conftest.err >&5 10310 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } && 10312 (exit $ac_status); } && {
9493 { ac_try='test -z "$ac_c_werror_flag" 10313 test -z "$ac_c_werror_flag" ||
9494 || test ! -s conftest.err' 10314 test ! -s conftest.err
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10315 } && test -s conftest.$ac_objext; then
9496 (eval $ac_try) 2>&5 10316 { $as_echo "$as_me:$LINENO: result: yes" >&5
9497 ac_status=$? 10317 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; } &&
9500 { ac_try='test -s conftest.$ac_objext'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 (eval $ac_try) 2>&5
9503 ac_status=$?
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; }; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
9508 #define HAVE_DATE_TIME 1 10318 #define HAVE_DATE_TIME 1
9509 _ACEOF 10319 _ACEOF
9510 10320
9511 else 10321 else
9512 echo "$as_me: failed program was:" >&5 10322 $as_echo "$as_me: failed program was:" >&5
9513 sed 's/^/| /' conftest.$ac_ext >&5 10323 sed 's/^/| /' conftest.$ac_ext >&5
9514 10324
9515 echo "$as_me:$LINENO: result: no" >&5 10325 { $as_echo "$as_me:$LINENO: result: no" >&5
9516 echo "${ECHO_T}no" >&6 10326 $as_echo "no" >&6; }
9517 fi 10327 fi
9518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10328
10329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9519 10330
9520 if test "${ac_cv_header_elf_h+set}" = set; then 10331 if test "${ac_cv_header_elf_h+set}" = set; then
9521 echo "$as_me:$LINENO: checking for elf.h" >&5 10332 { $as_echo "$as_me:$LINENO: checking for elf.h" >&5
9522 echo $ECHO_N "checking for elf.h... $ECHO_C" >&6 10333 $as_echo_n "checking for elf.h... " >&6; }
9523 if test "${ac_cv_header_elf_h+set}" = set; then 10334 if test "${ac_cv_header_elf_h+set}" = set; then
9524 echo $ECHO_N "(cached) $ECHO_C" >&6 10335 $as_echo_n "(cached) " >&6
9525 fi 10336 fi
9526 echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5 10337 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
9527 echo "${ECHO_T}$ac_cv_header_elf_h" >&6 10338 $as_echo "$ac_cv_header_elf_h" >&6; }
9528 else 10339 else
9529 # Is the header compilable? 10340 # Is the header compilable?
9530 echo "$as_me:$LINENO: checking elf.h usability" >&5 10341 { $as_echo "$as_me:$LINENO: checking elf.h usability" >&5
9531 echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6 10342 $as_echo_n "checking elf.h usability... " >&6; }
9532 cat >conftest.$ac_ext <<_ACEOF 10343 cat >conftest.$ac_ext <<_ACEOF
9533 /* confdefs.h. */ 10344 /* confdefs.h. */
9534 _ACEOF 10345 _ACEOF
9535 cat confdefs.h >>conftest.$ac_ext 10346 cat confdefs.h >>conftest.$ac_ext
9536 cat >>conftest.$ac_ext <<_ACEOF 10347 cat >>conftest.$ac_ext <<_ACEOF
9537 /* end confdefs.h. */ 10348 /* end confdefs.h. */
9538 $ac_includes_default 10349 $ac_includes_default
9539 #include <elf.h> 10350 #include <elf.h>
9540 _ACEOF 10351 _ACEOF
9541 rm -f conftest.$ac_objext 10352 rm -f conftest.$ac_objext
9542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10353 if { (ac_try="$ac_compile"
9543 (eval $ac_compile) 2>conftest.er1 10354 case "(($ac_try" in
10355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10356 *) ac_try_echo=$ac_try;;
10357 esac
10358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10359 $as_echo "$ac_try_echo") >&5
10360 (eval "$ac_compile") 2>conftest.er1
9544 ac_status=$? 10361 ac_status=$?
9545 grep -v '^ *+' conftest.er1 >conftest.err 10362 grep -v '^ *+' conftest.er1 >conftest.err
9546 rm -f conftest.er1 10363 rm -f conftest.er1
9547 cat conftest.err >&5 10364 cat conftest.err >&5
9548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549 (exit $ac_status); } && 10366 (exit $ac_status); } && {
9550 { ac_try='test -z "$ac_c_werror_flag" 10367 test -z "$ac_c_werror_flag" ||
9551 || test ! -s conftest.err' 10368 test ! -s conftest.err
9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10369 } && test -s conftest.$ac_objext; then
9553 (eval $ac_try) 2>&5
9554 ac_status=$?
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; } &&
9557 { ac_try='test -s conftest.$ac_objext'
9558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9559 (eval $ac_try) 2>&5
9560 ac_status=$?
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); }; }; then
9563 ac_header_compiler=yes 10370 ac_header_compiler=yes
9564 else 10371 else
9565 echo "$as_me: failed program was:" >&5 10372 $as_echo "$as_me: failed program was:" >&5
9566 sed 's/^/| /' conftest.$ac_ext >&5 10373 sed 's/^/| /' conftest.$ac_ext >&5
9567 10374
9568 ac_header_compiler=no 10375 ac_header_compiler=no
9569 fi 10376 fi
9570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10377
9571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9572 echo "${ECHO_T}$ac_header_compiler" >&6 10379 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10380 $as_echo "$ac_header_compiler" >&6; }
9573 10381
9574 # Is the header present? 10382 # Is the header present?
9575 echo "$as_me:$LINENO: checking elf.h presence" >&5 10383 { $as_echo "$as_me:$LINENO: checking elf.h presence" >&5
9576 echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6 10384 $as_echo_n "checking elf.h presence... " >&6; }
9577 cat >conftest.$ac_ext <<_ACEOF 10385 cat >conftest.$ac_ext <<_ACEOF
9578 /* confdefs.h. */ 10386 /* confdefs.h. */
9579 _ACEOF 10387 _ACEOF
9580 cat confdefs.h >>conftest.$ac_ext 10388 cat confdefs.h >>conftest.$ac_ext
9581 cat >>conftest.$ac_ext <<_ACEOF 10389 cat >>conftest.$ac_ext <<_ACEOF
9582 /* end confdefs.h. */ 10390 /* end confdefs.h. */
9583 #include <elf.h> 10391 #include <elf.h>
9584 _ACEOF 10392 _ACEOF
9585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10393 if { (ac_try="$ac_cpp conftest.$ac_ext"
9586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10394 case "(($ac_try" in
10395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10396 *) ac_try_echo=$ac_try;;
10397 esac
10398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10399 $as_echo "$ac_try_echo") >&5
10400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9587 ac_status=$? 10401 ac_status=$?
9588 grep -v '^ *+' conftest.er1 >conftest.err 10402 grep -v '^ *+' conftest.er1 >conftest.err
9589 rm -f conftest.er1 10403 rm -f conftest.er1
9590 cat conftest.err >&5 10404 cat conftest.err >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } >/dev/null; then 10406 (exit $ac_status); } >/dev/null && {
9593 if test -s conftest.err; then 10407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9594 ac_cpp_err=$ac_c_preproc_warn_flag 10408 test ! -s conftest.err
9595 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10409 }; then
9596 else
9597 ac_cpp_err=
9598 fi
9599 else
9600 ac_cpp_err=yes
9601 fi
9602 if test -z "$ac_cpp_err"; then
9603 ac_header_preproc=yes 10410 ac_header_preproc=yes
9604 else 10411 else
9605 echo "$as_me: failed program was:" >&5 10412 $as_echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5 10413 sed 's/^/| /' conftest.$ac_ext >&5
9607 10414
9608 ac_header_preproc=no 10415 ac_header_preproc=no
9609 fi 10416 fi
10417
9610 rm -f conftest.err conftest.$ac_ext 10418 rm -f conftest.err conftest.$ac_ext
9611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10419 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9612 echo "${ECHO_T}$ac_header_preproc" >&6 10420 $as_echo "$ac_header_preproc" >&6; }
9613 10421
9614 # So? What about this header? 10422 # So? What about this header?
9615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9616 yes:no: ) 10424 yes:no: )
9617 { echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5 10425 { $as_echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
9618 echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10426 $as_echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9619 { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5 10427 { $as_echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
9620 echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;} 10428 $as_echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
9621 ac_header_preproc=yes 10429 ac_header_preproc=yes
9622 ;; 10430 ;;
9623 no:yes:* ) 10431 no:yes:* )
9624 { echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5 10432 { $as_echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
9625 echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;} 10433 $as_echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
9626 { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5 10434 { $as_echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
9627 echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;} 10435 $as_echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
9628 { echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5 10436 { $as_echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
9629 echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;} 10437 $as_echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
9630 { echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5 10438 { $as_echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5
9631 echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;} 10439 $as_echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;}
9632 { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5 10440 { $as_echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
9633 echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;} 10441 $as_echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
9634 { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5 10442 { $as_echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
9635 echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;} 10443 $as_echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
9636 ( 10444
9637 cat <<\_ASBOX
9638 ## ------------------------------------------ ##
9639 ## Report this to the AC_PACKAGE_NAME lists. ##
9640 ## ------------------------------------------ ##
9641 _ASBOX
9642 ) |
9643 sed "s/^/$as_me: WARNING: /" >&2
9644 ;; 10445 ;;
9645 esac 10446 esac
9646 echo "$as_me:$LINENO: checking for elf.h" >&5 10447 { $as_echo "$as_me:$LINENO: checking for elf.h" >&5
9647 echo $ECHO_N "checking for elf.h... $ECHO_C" >&6 10448 $as_echo_n "checking for elf.h... " >&6; }
9648 if test "${ac_cv_header_elf_h+set}" = set; then 10449 if test "${ac_cv_header_elf_h+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6 10450 $as_echo_n "(cached) " >&6
9650 else 10451 else
9651 ac_cv_header_elf_h=$ac_header_preproc 10452 ac_cv_header_elf_h=$ac_header_preproc
9652 fi 10453 fi
9653 echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5 10454 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
9654 echo "${ECHO_T}$ac_cv_header_elf_h" >&6 10455 $as_echo "$ac_cv_header_elf_h" >&6; }
9655 10456
9656 fi 10457 fi
9657 if test $ac_cv_header_elf_h = yes; then 10458 if test $ac_cv_header_elf_h = yes; then
9658 HAS_ELF=1 10459 HAS_ELF=1
9659 fi 10460 fi
9660 10461
9661 10462
9662 if test "$HAS_ELF" = 1; then 10463 if test "$HAS_ELF" = 1; then
9663 10464
9664 echo "$as_me:$LINENO: checking for main in -lelf" >&5 10465 { $as_echo "$as_me:$LINENO: checking for main in -lelf" >&5
9665 echo $ECHO_N "checking for main in -lelf... $ECHO_C" >&6 10466 $as_echo_n "checking for main in -lelf... " >&6; }
9666 if test "${ac_cv_lib_elf_main+set}" = set; then 10467 if test "${ac_cv_lib_elf_main+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6 10468 $as_echo_n "(cached) " >&6
9668 else 10469 else
9669 ac_check_lib_save_LIBS=$LIBS 10470 ac_check_lib_save_LIBS=$LIBS
9670 LIBS="-lelf $LIBS" 10471 LIBS="-lelf $LIBS"
9671 cat >conftest.$ac_ext <<_ACEOF 10472 cat >conftest.$ac_ext <<_ACEOF
9672 /* confdefs.h. */ 10473 /* confdefs.h. */
9677 10478
9678 10479
9679 int 10480 int
9680 main () 10481 main ()
9681 { 10482 {
9682 main (); 10483 return main ();
9683 ; 10484 ;
9684 return 0; 10485 return 0;
9685 } 10486 }
9686 _ACEOF 10487 _ACEOF
9687 rm -f conftest.$ac_objext conftest$ac_exeext 10488 rm -f conftest.$ac_objext conftest$ac_exeext
9688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10489 if { (ac_try="$ac_link"
9689 (eval $ac_link) 2>conftest.er1 10490 case "(($ac_try" in
10491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10492 *) ac_try_echo=$ac_try;;
10493 esac
10494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10495 $as_echo "$ac_try_echo") >&5
10496 (eval "$ac_link") 2>conftest.er1
9690 ac_status=$? 10497 ac_status=$?
9691 grep -v '^ *+' conftest.er1 >conftest.err 10498 grep -v '^ *+' conftest.er1 >conftest.err
9692 rm -f conftest.er1 10499 rm -f conftest.er1
9693 cat conftest.err >&5 10500 cat conftest.err >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && 10502 (exit $ac_status); } && {
9696 { ac_try='test -z "$ac_c_werror_flag" 10503 test -z "$ac_c_werror_flag" ||
9697 || test ! -s conftest.err' 10504 test ! -s conftest.err
9698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10505 } && test -s conftest$ac_exeext && {
9699 (eval $ac_try) 2>&5 10506 test "$cross_compiling" = yes ||
9700 ac_status=$? 10507 $as_test_x conftest$ac_exeext
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10508 }; then
9702 (exit $ac_status); }; } &&
9703 { ac_try='test -s conftest$ac_exeext'
9704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9705 (eval $ac_try) 2>&5
9706 ac_status=$?
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); }; }; then
9709 ac_cv_lib_elf_main=yes 10509 ac_cv_lib_elf_main=yes
9710 else 10510 else
9711 echo "$as_me: failed program was:" >&5 10511 $as_echo "$as_me: failed program was:" >&5
9712 sed 's/^/| /' conftest.$ac_ext >&5 10512 sed 's/^/| /' conftest.$ac_ext >&5
9713 10513
9714 ac_cv_lib_elf_main=no 10514 ac_cv_lib_elf_main=no
9715 fi 10515 fi
9716 rm -f conftest.err conftest.$ac_objext \ 10516
10517 rm -rf conftest.dSYM
10518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9717 conftest$ac_exeext conftest.$ac_ext 10519 conftest$ac_exeext conftest.$ac_ext
9718 LIBS=$ac_check_lib_save_LIBS 10520 LIBS=$ac_check_lib_save_LIBS
9719 fi 10521 fi
9720 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5 10522 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
9721 echo "${ECHO_T}$ac_cv_lib_elf_main" >&6 10523 $as_echo "$ac_cv_lib_elf_main" >&6; }
9722 if test $ac_cv_lib_elf_main = yes; then 10524 if test $ac_cv_lib_elf_main = yes; then
9723 cat >>confdefs.h <<_ACEOF 10525 cat >>confdefs.h <<_ACEOF
9724 #define HAVE_LIBELF 1 10526 #define HAVE_LIBELF 1
9725 _ACEOF 10527 _ACEOF
9726 10528
9735 10537
9736 10538
9737 10539
9738 ac_header_dirent=no 10540 ac_header_dirent=no
9739 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 10541 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
9740 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 10542 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9741 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 10543 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9742 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 10544 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
9743 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9744 echo $ECHO_N "(cached) $ECHO_C" >&6 10546 $as_echo_n "(cached) " >&6
9745 else 10547 else
9746 cat >conftest.$ac_ext <<_ACEOF 10548 cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h. */ 10549 /* confdefs.h. */
9748 _ACEOF 10550 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext 10551 cat confdefs.h >>conftest.$ac_ext
9760 ; 10562 ;
9761 return 0; 10563 return 0;
9762 } 10564 }
9763 _ACEOF 10565 _ACEOF
9764 rm -f conftest.$ac_objext 10566 rm -f conftest.$ac_objext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10567 if { (ac_try="$ac_compile"
9766 (eval $ac_compile) 2>conftest.er1 10568 case "(($ac_try" in
10569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10570 *) ac_try_echo=$ac_try;;
10571 esac
10572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10573 $as_echo "$ac_try_echo") >&5
10574 (eval "$ac_compile") 2>conftest.er1
9767 ac_status=$? 10575 ac_status=$?
9768 grep -v '^ *+' conftest.er1 >conftest.err 10576 grep -v '^ *+' conftest.er1 >conftest.err
9769 rm -f conftest.er1 10577 rm -f conftest.er1
9770 cat conftest.err >&5 10578 cat conftest.err >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); } && 10580 (exit $ac_status); } && {
9773 { ac_try='test -z "$ac_c_werror_flag" 10581 test -z "$ac_c_werror_flag" ||
9774 || test ! -s conftest.err' 10582 test ! -s conftest.err
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10583 } && test -s conftest.$ac_objext; then
9776 (eval $ac_try) 2>&5
9777 ac_status=$?
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; } &&
9780 { ac_try='test -s conftest.$ac_objext'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 (eval $ac_try) 2>&5
9783 ac_status=$?
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 eval "$as_ac_Header=yes" 10584 eval "$as_ac_Header=yes"
9787 else 10585 else
9788 echo "$as_me: failed program was:" >&5 10586 $as_echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5 10587 sed 's/^/| /' conftest.$ac_ext >&5
9790 10588
9791 eval "$as_ac_Header=no" 10589 eval "$as_ac_Header=no"
9792 fi 10590 fi
9793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10591
9794 fi 10592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10593 fi
9796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10594 ac_res=`eval 'as_val=${'$as_ac_Header'}
9797 if test `eval echo '${'$as_ac_Header'}'` = yes; then 10595 $as_echo "$as_val"'`
10596 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10597 $as_echo "$ac_res" >&6; }
10598 if test `eval 'as_val=${'$as_ac_Header'}
10599 $as_echo "$as_val"'` = yes; then
9798 cat >>confdefs.h <<_ACEOF 10600 cat >>confdefs.h <<_ACEOF
9799 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 10601 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9800 _ACEOF 10602 _ACEOF
9801 10603
9802 ac_header_dirent=$ac_hdr; break 10604 ac_header_dirent=$ac_hdr; break
9803 fi 10605 fi
9804 10606
9805 done 10607 done
9806 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 10608 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9807 if test $ac_header_dirent = dirent.h; then 10609 if test $ac_header_dirent = dirent.h; then
9808 echo "$as_me:$LINENO: checking for library containing opendir" >&5 10610 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
9809 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 10611 $as_echo_n "checking for library containing opendir... " >&6; }
9810 if test "${ac_cv_search_opendir+set}" = set; then 10612 if test "${ac_cv_search_opendir+set}" = set; then
9811 echo $ECHO_N "(cached) $ECHO_C" >&6 10613 $as_echo_n "(cached) " >&6
9812 else 10614 else
9813 ac_func_search_save_LIBS=$LIBS 10615 ac_func_search_save_LIBS=$LIBS
9814 ac_cv_search_opendir=no
9815 cat >conftest.$ac_ext <<_ACEOF 10616 cat >conftest.$ac_ext <<_ACEOF
9816 /* confdefs.h. */ 10617 /* confdefs.h. */
9817 _ACEOF 10618 _ACEOF
9818 cat confdefs.h >>conftest.$ac_ext 10619 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF 10620 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */ 10621 /* end confdefs.h. */
9821 10622
9822 /* Override any gcc2 internal prototype to avoid an error. */ 10623 /* Override any GCC internal prototype to avoid an error.
10624 Use char because int might match the return type of a GCC
10625 builtin and then its argument prototype would still apply. */
9823 #ifdef __cplusplus 10626 #ifdef __cplusplus
9824 extern "C" 10627 extern "C"
9825 #endif 10628 #endif
9826 /* We use char because int might match the return type of a gcc2
9827 builtin and then its argument prototype would still apply. */
9828 char opendir (); 10629 char opendir ();
9829 int 10630 int
9830 main () 10631 main ()
9831 { 10632 {
9832 opendir (); 10633 return opendir ();
9833 ; 10634 ;
9834 return 0; 10635 return 0;
9835 } 10636 }
9836 _ACEOF 10637 _ACEOF
9837 rm -f conftest.$ac_objext conftest$ac_exeext 10638 for ac_lib in '' dir; do
9838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10639 if test -z "$ac_lib"; then
9839 (eval $ac_link) 2>conftest.er1 10640 ac_res="none required"
10641 else
10642 ac_res=-l$ac_lib
10643 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10644 fi
10645 rm -f conftest.$ac_objext conftest$ac_exeext
10646 if { (ac_try="$ac_link"
10647 case "(($ac_try" in
10648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10649 *) ac_try_echo=$ac_try;;
10650 esac
10651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10652 $as_echo "$ac_try_echo") >&5
10653 (eval "$ac_link") 2>conftest.er1
9840 ac_status=$? 10654 ac_status=$?
9841 grep -v '^ *+' conftest.er1 >conftest.err 10655 grep -v '^ *+' conftest.er1 >conftest.err
9842 rm -f conftest.er1 10656 rm -f conftest.er1
9843 cat conftest.err >&5 10657 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } && 10659 (exit $ac_status); } && {
9846 { ac_try='test -z "$ac_c_werror_flag" 10660 test -z "$ac_c_werror_flag" ||
9847 || test ! -s conftest.err' 10661 test ! -s conftest.err
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10662 } && test -s conftest$ac_exeext && {
9849 (eval $ac_try) 2>&5 10663 test "$cross_compiling" = yes ||
9850 ac_status=$? 10664 $as_test_x conftest$ac_exeext
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10665 }; then
9852 (exit $ac_status); }; } && 10666 ac_cv_search_opendir=$ac_res
9853 { ac_try='test -s conftest$ac_exeext' 10667 else
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10668 $as_echo "$as_me: failed program was:" >&5
9855 (eval $ac_try) 2>&5
9856 ac_status=$?
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; }; then
9859 ac_cv_search_opendir="none required"
9860 else
9861 echo "$as_me: failed program was:" >&5
9862 sed 's/^/| /' conftest.$ac_ext >&5 10669 sed 's/^/| /' conftest.$ac_ext >&5
9863 10670
9864 fi 10671
9865 rm -f conftest.err conftest.$ac_objext \ 10672 fi
9866 conftest$ac_exeext conftest.$ac_ext 10673
9867 if test "$ac_cv_search_opendir" = no; then 10674 rm -rf conftest.dSYM
9868 for ac_lib in dir; do 10675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9869 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 10676 conftest$ac_exeext
9870 cat >conftest.$ac_ext <<_ACEOF 10677 if test "${ac_cv_search_opendir+set}" = set; then
10678 break
10679 fi
10680 done
10681 if test "${ac_cv_search_opendir+set}" = set; then
10682 :
10683 else
10684 ac_cv_search_opendir=no
10685 fi
10686 rm conftest.$ac_ext
10687 LIBS=$ac_func_search_save_LIBS
10688 fi
10689 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10690 $as_echo "$ac_cv_search_opendir" >&6; }
10691 ac_res=$ac_cv_search_opendir
10692 if test "$ac_res" != no; then
10693 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10694
10695 fi
10696
10697 else
10698 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
10699 $as_echo_n "checking for library containing opendir... " >&6; }
10700 if test "${ac_cv_search_opendir+set}" = set; then
10701 $as_echo_n "(cached) " >&6
10702 else
10703 ac_func_search_save_LIBS=$LIBS
10704 cat >conftest.$ac_ext <<_ACEOF
9871 /* confdefs.h. */ 10705 /* confdefs.h. */
9872 _ACEOF 10706 _ACEOF
9873 cat confdefs.h >>conftest.$ac_ext 10707 cat confdefs.h >>conftest.$ac_ext
9874 cat >>conftest.$ac_ext <<_ACEOF 10708 cat >>conftest.$ac_ext <<_ACEOF
9875 /* end confdefs.h. */ 10709 /* end confdefs.h. */
9876 10710
9877 /* Override any gcc2 internal prototype to avoid an error. */ 10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
9878 #ifdef __cplusplus 10714 #ifdef __cplusplus
9879 extern "C" 10715 extern "C"
9880 #endif 10716 #endif
9881 /* We use char because int might match the return type of a gcc2
9882 builtin and then its argument prototype would still apply. */
9883 char opendir (); 10717 char opendir ();
9884 int 10718 int
9885 main () 10719 main ()
9886 { 10720 {
9887 opendir (); 10721 return opendir ();
9888 ; 10722 ;
9889 return 0; 10723 return 0;
9890 } 10724 }
9891 _ACEOF 10725 _ACEOF
9892 rm -f conftest.$ac_objext conftest$ac_exeext 10726 for ac_lib in '' x; do
9893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10727 if test -z "$ac_lib"; then
9894 (eval $ac_link) 2>conftest.er1 10728 ac_res="none required"
10729 else
10730 ac_res=-l$ac_lib
10731 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10732 fi
10733 rm -f conftest.$ac_objext conftest$ac_exeext
10734 if { (ac_try="$ac_link"
10735 case "(($ac_try" in
10736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10737 *) ac_try_echo=$ac_try;;
10738 esac
10739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10740 $as_echo "$ac_try_echo") >&5
10741 (eval "$ac_link") 2>conftest.er1
9895 ac_status=$? 10742 ac_status=$?
9896 grep -v '^ *+' conftest.er1 >conftest.err 10743 grep -v '^ *+' conftest.er1 >conftest.err
9897 rm -f conftest.er1 10744 rm -f conftest.er1
9898 cat conftest.err >&5 10745 cat conftest.err >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); } && 10747 (exit $ac_status); } && {
9901 { ac_try='test -z "$ac_c_werror_flag" 10748 test -z "$ac_c_werror_flag" ||
9902 || test ! -s conftest.err' 10749 test ! -s conftest.err
9903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10750 } && test -s conftest$ac_exeext && {
9904 (eval $ac_try) 2>&5 10751 test "$cross_compiling" = yes ||
9905 ac_status=$? 10752 $as_test_x conftest$ac_exeext
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10753 }; then
9907 (exit $ac_status); }; } && 10754 ac_cv_search_opendir=$ac_res
9908 { ac_try='test -s conftest$ac_exeext' 10755 else
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10756 $as_echo "$as_me: failed program was:" >&5
9910 (eval $ac_try) 2>&5
9911 ac_status=$?
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; }; then
9914 ac_cv_search_opendir="-l$ac_lib"
9915 break
9916 else
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5 10757 sed 's/^/| /' conftest.$ac_ext >&5
9919 10758
9920 fi 10759
9921 rm -f conftest.err conftest.$ac_objext \ 10760 fi
9922 conftest$ac_exeext conftest.$ac_ext 10761
9923 done 10762 rm -rf conftest.dSYM
9924 fi 10763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10764 conftest$ac_exeext
10765 if test "${ac_cv_search_opendir+set}" = set; then
10766 break
10767 fi
10768 done
10769 if test "${ac_cv_search_opendir+set}" = set; then
10770 :
10771 else
10772 ac_cv_search_opendir=no
10773 fi
10774 rm conftest.$ac_ext
9925 LIBS=$ac_func_search_save_LIBS 10775 LIBS=$ac_func_search_save_LIBS
9926 fi 10776 fi
9927 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 10777 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9928 echo "${ECHO_T}$ac_cv_search_opendir" >&6 10778 $as_echo "$ac_cv_search_opendir" >&6; }
9929 if test "$ac_cv_search_opendir" != no; then 10779 ac_res=$ac_cv_search_opendir
9930 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 10780 if test "$ac_res" != no; then
9931 10781 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9932 fi 10782
9933 10783 fi
9934 else
9935 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9936 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9937 if test "${ac_cv_search_opendir+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 else
9940 ac_func_search_save_LIBS=$LIBS
9941 ac_cv_search_opendir=no
9942 cat >conftest.$ac_ext <<_ACEOF
9943 /* confdefs.h. */
9944 _ACEOF
9945 cat confdefs.h >>conftest.$ac_ext
9946 cat >>conftest.$ac_ext <<_ACEOF
9947 /* end confdefs.h. */
9948
9949 /* Override any gcc2 internal prototype to avoid an error. */
9950 #ifdef __cplusplus
9951 extern "C"
9952 #endif
9953 /* We use char because int might match the return type of a gcc2
9954 builtin and then its argument prototype would still apply. */
9955 char opendir ();
9956 int
9957 main ()
9958 {
9959 opendir ();
9960 ;
9961 return 0;
9962 }
9963 _ACEOF
9964 rm -f conftest.$ac_objext conftest$ac_exeext
9965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9966 (eval $ac_link) 2>conftest.er1
9967 ac_status=$?
9968 grep -v '^ *+' conftest.er1 >conftest.err
9969 rm -f conftest.er1
9970 cat conftest.err >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } &&
9973 { ac_try='test -z "$ac_c_werror_flag"
9974 || test ! -s conftest.err'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 (eval $ac_try) 2>&5
9977 ac_status=$?
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; } &&
9980 { ac_try='test -s conftest$ac_exeext'
9981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9982 (eval $ac_try) 2>&5
9983 ac_status=$?
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; }; then
9986 ac_cv_search_opendir="none required"
9987 else
9988 echo "$as_me: failed program was:" >&5
9989 sed 's/^/| /' conftest.$ac_ext >&5
9990
9991 fi
9992 rm -f conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 if test "$ac_cv_search_opendir" = no; then
9995 for ac_lib in x; do
9996 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9997 cat >conftest.$ac_ext <<_ACEOF
9998 /* confdefs.h. */
9999 _ACEOF
10000 cat confdefs.h >>conftest.$ac_ext
10001 cat >>conftest.$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10003
10004 /* Override any gcc2 internal prototype to avoid an error. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 /* We use char because int might match the return type of a gcc2
10009 builtin and then its argument prototype would still apply. */
10010 char opendir ();
10011 int
10012 main ()
10013 {
10014 opendir ();
10015 ;
10016 return 0;
10017 }
10018 _ACEOF
10019 rm -f conftest.$ac_objext conftest$ac_exeext
10020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10021 (eval $ac_link) 2>conftest.er1
10022 ac_status=$?
10023 grep -v '^ *+' conftest.er1 >conftest.err
10024 rm -f conftest.er1
10025 cat conftest.err >&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); } &&
10028 { ac_try='test -z "$ac_c_werror_flag"
10029 || test ! -s conftest.err'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10032 ac_status=$?
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; } &&
10035 { ac_try='test -s conftest$ac_exeext'
10036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10037 (eval $ac_try) 2>&5
10038 ac_status=$?
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); }; }; then
10041 ac_cv_search_opendir="-l$ac_lib"
10042 break
10043 else
10044 echo "$as_me: failed program was:" >&5
10045 sed 's/^/| /' conftest.$ac_ext >&5
10046
10047 fi
10048 rm -f conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 done
10051 fi
10052 LIBS=$ac_func_search_save_LIBS
10053 fi
10054 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10055 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10056 if test "$ac_cv_search_opendir" != no; then
10057 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
10058
10059 fi
10060
10061 fi
10062
10063
10064 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10065 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10066 if test "${ac_cv_header_stdc+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 else
10069 cat >conftest.$ac_ext <<_ACEOF
10070 /* confdefs.h. */
10071 _ACEOF
10072 cat confdefs.h >>conftest.$ac_ext
10073 cat >>conftest.$ac_ext <<_ACEOF
10074 /* end confdefs.h. */
10075 #include <stdlib.h>
10076 #include <stdarg.h>
10077 #include <string.h>
10078 #include <float.h>
10079
10080 int
10081 main ()
10082 {
10083
10084 ;
10085 return 0;
10086 }
10087 _ACEOF
10088 rm -f conftest.$ac_objext
10089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10090 (eval $ac_compile) 2>conftest.er1
10091 ac_status=$?
10092 grep -v '^ *+' conftest.er1 >conftest.err
10093 rm -f conftest.er1
10094 cat conftest.err >&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); } &&
10097 { ac_try='test -z "$ac_c_werror_flag"
10098 || test ! -s conftest.err'
10099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100 (eval $ac_try) 2>&5
10101 ac_status=$?
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; } &&
10104 { ac_try='test -s conftest.$ac_objext'
10105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10106 (eval $ac_try) 2>&5
10107 ac_status=$?
10108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109 (exit $ac_status); }; }; then
10110 ac_cv_header_stdc=yes
10111 else
10112 echo "$as_me: failed program was:" >&5
10113 sed 's/^/| /' conftest.$ac_ext >&5
10114
10115 ac_cv_header_stdc=no
10116 fi
10117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10118
10119 if test $ac_cv_header_stdc = yes; then
10120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10121 cat >conftest.$ac_ext <<_ACEOF
10122 /* confdefs.h. */
10123 _ACEOF
10124 cat confdefs.h >>conftest.$ac_ext
10125 cat >>conftest.$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10127 #include <string.h>
10128
10129 _ACEOF
10130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10131 $EGREP "memchr" >/dev/null 2>&1; then
10132 :
10133 else
10134 ac_cv_header_stdc=no
10135 fi
10136 rm -f conftest*
10137
10138 fi
10139
10140 if test $ac_cv_header_stdc = yes; then
10141 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10142 cat >conftest.$ac_ext <<_ACEOF
10143 /* confdefs.h. */
10144 _ACEOF
10145 cat confdefs.h >>conftest.$ac_ext
10146 cat >>conftest.$ac_ext <<_ACEOF
10147 /* end confdefs.h. */
10148 #include <stdlib.h>
10149
10150 _ACEOF
10151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10152 $EGREP "free" >/dev/null 2>&1; then
10153 :
10154 else
10155 ac_cv_header_stdc=no
10156 fi
10157 rm -f conftest*
10158
10159 fi
10160
10161 if test $ac_cv_header_stdc = yes; then
10162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10163 if test "$cross_compiling" = yes; then
10164 :
10165 else
10166 cat >conftest.$ac_ext <<_ACEOF
10167 /* confdefs.h. */
10168 _ACEOF
10169 cat confdefs.h >>conftest.$ac_ext
10170 cat >>conftest.$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 #include <ctype.h>
10173 #if ((' ' & 0x0FF) == 0x020)
10174 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10175 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10176 #else
10177 # define ISLOWER(c) \
10178 (('a' <= (c) && (c) <= 'i') \
10179 || ('j' <= (c) && (c) <= 'r') \
10180 || ('s' <= (c) && (c) <= 'z'))
10181 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10182 #endif
10183
10184 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10185 int
10186 main ()
10187 {
10188 int i;
10189 for (i = 0; i < 256; i++)
10190 if (XOR (islower (i), ISLOWER (i))
10191 || toupper (i) != TOUPPER (i))
10192 exit(2);
10193 exit (0);
10194 }
10195 _ACEOF
10196 rm -f conftest$ac_exeext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10198 (eval $ac_link) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203 (eval $ac_try) 2>&5
10204 ac_status=$?
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; }; then
10207 :
10208 else
10209 echo "$as_me: program exited with status $ac_status" >&5
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.$ac_ext >&5
10212
10213 ( exit $ac_status )
10214 ac_cv_header_stdc=no
10215 fi
10216 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10217 fi
10218 fi
10219 fi
10220 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10221 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10222 if test $ac_cv_header_stdc = yes; then
10223
10224 cat >>confdefs.h <<\_ACEOF
10225 #define STDC_HEADERS 1
10226 _ACEOF
10227
10228 fi
10229
10230 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
10231 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
10232 if test "${ac_cv_header_sys_wait_h+set}" = set; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 else
10235 cat >conftest.$ac_ext <<_ACEOF
10236 /* confdefs.h. */
10237 _ACEOF
10238 cat confdefs.h >>conftest.$ac_ext
10239 cat >>conftest.$ac_ext <<_ACEOF
10240 /* end confdefs.h. */
10241 #include <sys/types.h>
10242 #include <sys/wait.h>
10243 #ifndef WEXITSTATUS
10244 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
10245 #endif
10246 #ifndef WIFEXITED
10247 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
10248 #endif
10249
10250 int
10251 main ()
10252 {
10253 int s;
10254 wait (&s);
10255 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
10256 ;
10257 return 0;
10258 }
10259 _ACEOF
10260 rm -f conftest.$ac_objext
10261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10262 (eval $ac_compile) 2>conftest.er1
10263 ac_status=$?
10264 grep -v '^ *+' conftest.er1 >conftest.err
10265 rm -f conftest.er1
10266 cat conftest.err >&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } &&
10269 { ac_try='test -z "$ac_c_werror_flag"
10270 || test ! -s conftest.err'
10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10272 (eval $ac_try) 2>&5
10273 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; } &&
10276 { ac_try='test -s conftest.$ac_objext'
10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10278 (eval $ac_try) 2>&5
10279 ac_status=$?
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; }; then
10282 ac_cv_header_sys_wait_h=yes
10283 else
10284 echo "$as_me: failed program was:" >&5
10285 sed 's/^/| /' conftest.$ac_ext >&5
10286
10287 ac_cv_header_sys_wait_h=no
10288 fi
10289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10290 fi
10291 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
10292 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
10293 if test $ac_cv_header_sys_wait_h = yes; then
10294
10295 cat >>confdefs.h <<\_ACEOF
10296 #define HAVE_SYS_WAIT_H 1
10297 _ACEOF
10298 10784
10299 fi 10785 fi
10300 10786
10301 10787
10302 if test $ac_cv_header_sys_wait_h = no; then 10788 if test $ac_cv_header_sys_wait_h = no; then
10303 echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5 10789 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
10304 echo $ECHO_N "checking for sys/wait.h that defines union wait... $ECHO_C" >&6 10790 $as_echo_n "checking for sys/wait.h that defines union wait... " >&6; }
10305 cat >conftest.$ac_ext <<_ACEOF 10791 cat >conftest.$ac_ext <<_ACEOF
10306 /* confdefs.h. */ 10792 /* confdefs.h. */
10307 _ACEOF 10793 _ACEOF
10308 cat confdefs.h >>conftest.$ac_ext 10794 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF 10795 cat >>conftest.$ac_ext <<_ACEOF
10316 ; 10802 ;
10317 return 0; 10803 return 0;
10318 } 10804 }
10319 _ACEOF 10805 _ACEOF
10320 rm -f conftest.$ac_objext 10806 rm -f conftest.$ac_objext
10321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10807 if { (ac_try="$ac_compile"
10322 (eval $ac_compile) 2>conftest.er1 10808 case "(($ac_try" in
10809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10810 *) ac_try_echo=$ac_try;;
10811 esac
10812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10813 $as_echo "$ac_try_echo") >&5
10814 (eval "$ac_compile") 2>conftest.er1
10323 ac_status=$? 10815 ac_status=$?
10324 grep -v '^ *+' conftest.er1 >conftest.err 10816 grep -v '^ *+' conftest.er1 >conftest.err
10325 rm -f conftest.er1 10817 rm -f conftest.er1
10326 cat conftest.err >&5 10818 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } && 10820 (exit $ac_status); } && {
10329 { ac_try='test -z "$ac_c_werror_flag" 10821 test -z "$ac_c_werror_flag" ||
10330 || test ! -s conftest.err' 10822 test ! -s conftest.err
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10823 } && test -s conftest.$ac_objext; then
10332 (eval $ac_try) 2>&5 10824 { $as_echo "$as_me:$LINENO: result: yes" >&5
10333 ac_status=$? 10825 $as_echo "yes" >&6; }
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; } &&
10336 { ac_try='test -s conftest.$ac_objext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10339 ac_status=$?
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 echo "$as_me:$LINENO: result: yes" >&5
10343 echo "${ECHO_T}yes" >&6
10344 cat >>confdefs.h <<\_ACEOF 10826 cat >>confdefs.h <<\_ACEOF
10345 #define HAVE_SYS_WAIT_H 1 10827 #define HAVE_SYS_WAIT_H 1
10346 _ACEOF 10828 _ACEOF
10347 10829
10348 cat >>confdefs.h <<\_ACEOF 10830 cat >>confdefs.h <<\_ACEOF
10349 #define HAVE_UNION_WAIT 1 10831 #define HAVE_UNION_WAIT 1
10350 _ACEOF 10832 _ACEOF
10351 10833
10352 else 10834 else
10353 echo "$as_me: failed program was:" >&5 10835 $as_echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.$ac_ext >&5 10836 sed 's/^/| /' conftest.$ac_ext >&5
10355 10837
10356 echo "$as_me:$LINENO: result: no" >&5 10838 { $as_echo "$as_me:$LINENO: result: no" >&5
10357 echo "${ECHO_T}no" >&6 10839 $as_echo "no" >&6; }
10358 fi 10840 fi
10359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10841
10360 fi 10842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10843 fi
10844
10361 10845
10362 10846
10363 10847
10364 10848
10365 10849
10400 10884
10401 10885
10402 10886
10403 for ac_header in stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \ 10887 for ac_header in stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
10404 termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h sys/types.h termio.h \ 10888 termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h sys/types.h termio.h \
10405 iconv.h langinfo.h unistd.h stropts.h errno.h \ 10889 iconv.h langinfo.h math.h unistd.h stropts.h errno.h \
10406 sys/resource.h sys/systeminfo.h locale.h \ 10890 sys/resource.h sys/systeminfo.h locale.h \
10407 sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \ 10891 sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \
10408 poll.h sys/poll.h pwd.h utime.h sys/param.h libintl.h \ 10892 poll.h sys/poll.h pwd.h utime.h sys/param.h libintl.h \
10409 libgen.h util/debug.h util/msg18n.h frame.h \ 10893 libgen.h util/debug.h util/msg18n.h frame.h \
10410 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h 10894 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h
10411 do 10895 do
10412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10896 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10413 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10414 echo "$as_me:$LINENO: checking for $ac_header" >&5 10898 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 10899 $as_echo_n "checking for $ac_header... " >&6; }
10416 if eval "test \"\${$as_ac_Header+set}\" = set"; then 10900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10417 echo $ECHO_N "(cached) $ECHO_C" >&6 10901 $as_echo_n "(cached) " >&6
10418 fi 10902 fi
10419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 10903 ac_res=`eval 'as_val=${'$as_ac_Header'}
10420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 10904 $as_echo "$as_val"'`
10905 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10906 $as_echo "$ac_res" >&6; }
10421 else 10907 else
10422 # Is the header compilable? 10908 # Is the header compilable?
10423 echo "$as_me:$LINENO: checking $ac_header usability" >&5 10909 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 10910 $as_echo_n "checking $ac_header usability... " >&6; }
10425 cat >conftest.$ac_ext <<_ACEOF 10911 cat >conftest.$ac_ext <<_ACEOF
10426 /* confdefs.h. */ 10912 /* confdefs.h. */
10427 _ACEOF 10913 _ACEOF
10428 cat confdefs.h >>conftest.$ac_ext 10914 cat confdefs.h >>conftest.$ac_ext
10429 cat >>conftest.$ac_ext <<_ACEOF 10915 cat >>conftest.$ac_ext <<_ACEOF
10430 /* end confdefs.h. */ 10916 /* end confdefs.h. */
10431 $ac_includes_default 10917 $ac_includes_default
10432 #include <$ac_header> 10918 #include <$ac_header>
10433 _ACEOF 10919 _ACEOF
10434 rm -f conftest.$ac_objext 10920 rm -f conftest.$ac_objext
10435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10921 if { (ac_try="$ac_compile"
10436 (eval $ac_compile) 2>conftest.er1 10922 case "(($ac_try" in
10923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10924 *) ac_try_echo=$ac_try;;
10925 esac
10926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10927 $as_echo "$ac_try_echo") >&5
10928 (eval "$ac_compile") 2>conftest.er1
10437 ac_status=$? 10929 ac_status=$?
10438 grep -v '^ *+' conftest.er1 >conftest.err 10930 grep -v '^ *+' conftest.er1 >conftest.err
10439 rm -f conftest.er1 10931 rm -f conftest.er1
10440 cat conftest.err >&5 10932 cat conftest.err >&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } && 10934 (exit $ac_status); } && {
10443 { ac_try='test -z "$ac_c_werror_flag" 10935 test -z "$ac_c_werror_flag" ||
10444 || test ! -s conftest.err' 10936 test ! -s conftest.err
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10937 } && test -s conftest.$ac_objext; then
10446 (eval $ac_try) 2>&5
10447 ac_status=$?
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; } &&
10450 { ac_try='test -s conftest.$ac_objext'
10451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10452 (eval $ac_try) 2>&5
10453 ac_status=$?
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); }; }; then
10456 ac_header_compiler=yes 10938 ac_header_compiler=yes
10457 else 10939 else
10458 echo "$as_me: failed program was:" >&5 10940 $as_echo "$as_me: failed program was:" >&5
10459 sed 's/^/| /' conftest.$ac_ext >&5 10941 sed 's/^/| /' conftest.$ac_ext >&5
10460 10942
10461 ac_header_compiler=no 10943 ac_header_compiler=no
10462 fi 10944 fi
10463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10945
10464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10465 echo "${ECHO_T}$ac_header_compiler" >&6 10947 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10948 $as_echo "$ac_header_compiler" >&6; }
10466 10949
10467 # Is the header present? 10950 # Is the header present?
10468 echo "$as_me:$LINENO: checking $ac_header presence" >&5 10951 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 10952 $as_echo_n "checking $ac_header presence... " >&6; }
10470 cat >conftest.$ac_ext <<_ACEOF 10953 cat >conftest.$ac_ext <<_ACEOF
10471 /* confdefs.h. */ 10954 /* confdefs.h. */
10472 _ACEOF 10955 _ACEOF
10473 cat confdefs.h >>conftest.$ac_ext 10956 cat confdefs.h >>conftest.$ac_ext
10474 cat >>conftest.$ac_ext <<_ACEOF 10957 cat >>conftest.$ac_ext <<_ACEOF
10475 /* end confdefs.h. */ 10958 /* end confdefs.h. */
10476 #include <$ac_header> 10959 #include <$ac_header>
10477 _ACEOF 10960 _ACEOF
10478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10961 if { (ac_try="$ac_cpp conftest.$ac_ext"
10479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10962 case "(($ac_try" in
10963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10964 *) ac_try_echo=$ac_try;;
10965 esac
10966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10967 $as_echo "$ac_try_echo") >&5
10968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10480 ac_status=$? 10969 ac_status=$?
10481 grep -v '^ *+' conftest.er1 >conftest.err 10970 grep -v '^ *+' conftest.er1 >conftest.err
10482 rm -f conftest.er1 10971 rm -f conftest.er1
10483 cat conftest.err >&5 10972 cat conftest.err >&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } >/dev/null; then 10974 (exit $ac_status); } >/dev/null && {
10486 if test -s conftest.err; then 10975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10487 ac_cpp_err=$ac_c_preproc_warn_flag 10976 test ! -s conftest.err
10488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10977 }; then
10489 else
10490 ac_cpp_err=
10491 fi
10492 else
10493 ac_cpp_err=yes
10494 fi
10495 if test -z "$ac_cpp_err"; then
10496 ac_header_preproc=yes 10978 ac_header_preproc=yes
10497 else 10979 else
10498 echo "$as_me: failed program was:" >&5 10980 $as_echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.$ac_ext >&5 10981 sed 's/^/| /' conftest.$ac_ext >&5
10500 10982
10501 ac_header_preproc=no 10983 ac_header_preproc=no
10502 fi 10984 fi
10985
10503 rm -f conftest.err conftest.$ac_ext 10986 rm -f conftest.err conftest.$ac_ext
10504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10987 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10505 echo "${ECHO_T}$ac_header_preproc" >&6 10988 $as_echo "$ac_header_preproc" >&6; }
10506 10989
10507 # So? What about this header? 10990 # So? What about this header?
10508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10509 yes:no: ) 10992 yes:no: )
10510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10993 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10994 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10995 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10996 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10514 ac_header_preproc=yes 10997 ac_header_preproc=yes
10515 ;; 10998 ;;
10516 no:yes:* ) 10999 no:yes:* )
10517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11000 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11001 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11002 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11003 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11005 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11007 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11009 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11011 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10529 ( 11012
10530 cat <<\_ASBOX
10531 ## ------------------------------------------ ##
10532 ## Report this to the AC_PACKAGE_NAME lists. ##
10533 ## ------------------------------------------ ##
10534 _ASBOX
10535 ) |
10536 sed "s/^/$as_me: WARNING: /" >&2
10537 ;; 11013 ;;
10538 esac 11014 esac
10539 echo "$as_me:$LINENO: checking for $ac_header" >&5 11015 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11016 $as_echo_n "checking for $ac_header... " >&6; }
10541 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10542 echo $ECHO_N "(cached) $ECHO_C" >&6 11018 $as_echo_n "(cached) " >&6
10543 else 11019 else
10544 eval "$as_ac_Header=\$ac_header_preproc" 11020 eval "$as_ac_Header=\$ac_header_preproc"
10545 fi 11021 fi
10546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11022 ac_res=`eval 'as_val=${'$as_ac_Header'}
10547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11023 $as_echo "$as_val"'`
10548 11024 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10549 fi 11025 $as_echo "$ac_res" >&6; }
10550 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11026
11027 fi
11028 if test `eval 'as_val=${'$as_ac_Header'}
11029 $as_echo "$as_val"'` = yes; then
10551 cat >>confdefs.h <<_ACEOF 11030 cat >>confdefs.h <<_ACEOF
10552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10553 _ACEOF 11032 _ACEOF
10554 11033
10555 fi 11034 fi
10556 11035
10557 done 11036 done
10558 11037
10559 11038
10560 echo "$as_me:$LINENO: checking for pthread_np.h" >&5 11039 { $as_echo "$as_me:$LINENO: checking for pthread_np.h" >&5
10561 echo $ECHO_N "checking for pthread_np.h... $ECHO_C" >&6 11040 $as_echo_n "checking for pthread_np.h... " >&6; }
10562 cat >conftest.$ac_ext <<_ACEOF 11041 cat >conftest.$ac_ext <<_ACEOF
10563 /* confdefs.h. */ 11042 /* confdefs.h. */
10564 _ACEOF 11043 _ACEOF
10565 cat confdefs.h >>conftest.$ac_ext 11044 cat confdefs.h >>conftest.$ac_ext
10566 cat >>conftest.$ac_ext <<_ACEOF 11045 cat >>conftest.$ac_ext <<_ACEOF
10575 ; 11054 ;
10576 return 0; 11055 return 0;
10577 } 11056 }
10578 _ACEOF 11057 _ACEOF
10579 rm -f conftest.$ac_objext 11058 rm -f conftest.$ac_objext
10580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11059 if { (ac_try="$ac_compile"
10581 (eval $ac_compile) 2>conftest.er1 11060 case "(($ac_try" in
11061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11062 *) ac_try_echo=$ac_try;;
11063 esac
11064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11065 $as_echo "$ac_try_echo") >&5
11066 (eval "$ac_compile") 2>conftest.er1
10582 ac_status=$? 11067 ac_status=$?
10583 grep -v '^ *+' conftest.er1 >conftest.err 11068 grep -v '^ *+' conftest.er1 >conftest.err
10584 rm -f conftest.er1 11069 rm -f conftest.er1
10585 cat conftest.err >&5 11070 cat conftest.err >&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); } && 11072 (exit $ac_status); } && {
10588 { ac_try='test -z "$ac_c_werror_flag" 11073 test -z "$ac_c_werror_flag" ||
10589 || test ! -s conftest.err' 11074 test ! -s conftest.err
10590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11075 } && test -s conftest.$ac_objext; then
10591 (eval $ac_try) 2>&5 11076 { $as_echo "$as_me:$LINENO: result: yes" >&5
10592 ac_status=$? 11077 $as_echo "yes" >&6; }
10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); }; } &&
10595 { ac_try='test -s conftest.$ac_objext'
10596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10597 (eval $ac_try) 2>&5
10598 ac_status=$?
10599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 (exit $ac_status); }; }; then
10601 echo "$as_me:$LINENO: result: yes" >&5
10602 echo "${ECHO_T}yes" >&6
10603 cat >>confdefs.h <<\_ACEOF 11078 cat >>confdefs.h <<\_ACEOF
10604 #define HAVE_PTHREAD_NP_H 1 11079 #define HAVE_PTHREAD_NP_H 1
10605 _ACEOF 11080 _ACEOF
10606 11081
10607 else 11082 else
10608 echo "$as_me: failed program was:" >&5 11083 $as_echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.$ac_ext >&5 11084 sed 's/^/| /' conftest.$ac_ext >&5
10610 11085
10611 echo "$as_me:$LINENO: result: no" >&5 11086 { $as_echo "$as_me:$LINENO: result: no" >&5
10612 echo "${ECHO_T}no" >&6 11087 $as_echo "no" >&6; }
10613 fi 11088 fi
10614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11089
11090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10615 11091
10616 11092
10617 for ac_header in strings.h 11093 for ac_header in strings.h
10618 do 11094 do
10619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10620 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10621 echo "$as_me:$LINENO: checking for $ac_header" >&5 11097 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11098 $as_echo_n "checking for $ac_header... " >&6; }
10623 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10624 echo $ECHO_N "(cached) $ECHO_C" >&6 11100 $as_echo_n "(cached) " >&6
10625 fi 11101 fi
10626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11102 ac_res=`eval 'as_val=${'$as_ac_Header'}
10627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11103 $as_echo "$as_val"'`
11104 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11105 $as_echo "$ac_res" >&6; }
10628 else 11106 else
10629 # Is the header compilable? 11107 # Is the header compilable?
10630 echo "$as_me:$LINENO: checking $ac_header usability" >&5 11108 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 11109 $as_echo_n "checking $ac_header usability... " >&6; }
10632 cat >conftest.$ac_ext <<_ACEOF 11110 cat >conftest.$ac_ext <<_ACEOF
10633 /* confdefs.h. */ 11111 /* confdefs.h. */
10634 _ACEOF 11112 _ACEOF
10635 cat confdefs.h >>conftest.$ac_ext 11113 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF 11114 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h. */ 11115 /* end confdefs.h. */
10638 $ac_includes_default 11116 $ac_includes_default
10639 #include <$ac_header> 11117 #include <$ac_header>
10640 _ACEOF 11118 _ACEOF
10641 rm -f conftest.$ac_objext 11119 rm -f conftest.$ac_objext
10642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11120 if { (ac_try="$ac_compile"
10643 (eval $ac_compile) 2>conftest.er1 11121 case "(($ac_try" in
11122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11123 *) ac_try_echo=$ac_try;;
11124 esac
11125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11126 $as_echo "$ac_try_echo") >&5
11127 (eval "$ac_compile") 2>conftest.er1
10644 ac_status=$? 11128 ac_status=$?
10645 grep -v '^ *+' conftest.er1 >conftest.err 11129 grep -v '^ *+' conftest.er1 >conftest.err
10646 rm -f conftest.er1 11130 rm -f conftest.er1
10647 cat conftest.err >&5 11131 cat conftest.err >&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } && 11133 (exit $ac_status); } && {
10650 { ac_try='test -z "$ac_c_werror_flag" 11134 test -z "$ac_c_werror_flag" ||
10651 || test ! -s conftest.err' 11135 test ! -s conftest.err
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11136 } && test -s conftest.$ac_objext; then
10653 (eval $ac_try) 2>&5
10654 ac_status=$?
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; } &&
10657 { ac_try='test -s conftest.$ac_objext'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10660 ac_status=$?
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; }; then
10663 ac_header_compiler=yes 11137 ac_header_compiler=yes
10664 else 11138 else
10665 echo "$as_me: failed program was:" >&5 11139 $as_echo "$as_me: failed program was:" >&5
10666 sed 's/^/| /' conftest.$ac_ext >&5 11140 sed 's/^/| /' conftest.$ac_ext >&5
10667 11141
10668 ac_header_compiler=no 11142 ac_header_compiler=no
10669 fi 11143 fi
10670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11144
10671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10672 echo "${ECHO_T}$ac_header_compiler" >&6 11146 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11147 $as_echo "$ac_header_compiler" >&6; }
10673 11148
10674 # Is the header present? 11149 # Is the header present?
10675 echo "$as_me:$LINENO: checking $ac_header presence" >&5 11150 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 11151 $as_echo_n "checking $ac_header presence... " >&6; }
10677 cat >conftest.$ac_ext <<_ACEOF 11152 cat >conftest.$ac_ext <<_ACEOF
10678 /* confdefs.h. */ 11153 /* confdefs.h. */
10679 _ACEOF 11154 _ACEOF
10680 cat confdefs.h >>conftest.$ac_ext 11155 cat confdefs.h >>conftest.$ac_ext
10681 cat >>conftest.$ac_ext <<_ACEOF 11156 cat >>conftest.$ac_ext <<_ACEOF
10682 /* end confdefs.h. */ 11157 /* end confdefs.h. */
10683 #include <$ac_header> 11158 #include <$ac_header>
10684 _ACEOF 11159 _ACEOF
10685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 11160 if { (ac_try="$ac_cpp conftest.$ac_ext"
10686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11161 case "(($ac_try" in
11162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11163 *) ac_try_echo=$ac_try;;
11164 esac
11165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11166 $as_echo "$ac_try_echo") >&5
11167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10687 ac_status=$? 11168 ac_status=$?
10688 grep -v '^ *+' conftest.er1 >conftest.err 11169 grep -v '^ *+' conftest.er1 >conftest.err
10689 rm -f conftest.er1 11170 rm -f conftest.er1
10690 cat conftest.err >&5 11171 cat conftest.err >&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); } >/dev/null; then 11173 (exit $ac_status); } >/dev/null && {
10693 if test -s conftest.err; then 11174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10694 ac_cpp_err=$ac_c_preproc_warn_flag 11175 test ! -s conftest.err
10695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 11176 }; then
10696 else
10697 ac_cpp_err=
10698 fi
10699 else
10700 ac_cpp_err=yes
10701 fi
10702 if test -z "$ac_cpp_err"; then
10703 ac_header_preproc=yes 11177 ac_header_preproc=yes
10704 else 11178 else
10705 echo "$as_me: failed program was:" >&5 11179 $as_echo "$as_me: failed program was:" >&5
10706 sed 's/^/| /' conftest.$ac_ext >&5 11180 sed 's/^/| /' conftest.$ac_ext >&5
10707 11181
10708 ac_header_preproc=no 11182 ac_header_preproc=no
10709 fi 11183 fi
11184
10710 rm -f conftest.err conftest.$ac_ext 11185 rm -f conftest.err conftest.$ac_ext
10711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11186 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10712 echo "${ECHO_T}$ac_header_preproc" >&6 11187 $as_echo "$ac_header_preproc" >&6; }
10713 11188
10714 # So? What about this header? 11189 # So? What about this header?
10715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10716 yes:no: ) 11191 yes:no: )
10717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11193 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11195 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10721 ac_header_preproc=yes 11196 ac_header_preproc=yes
10722 ;; 11197 ;;
10723 no:yes:* ) 11198 no:yes:* )
10724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11199 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11200 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11201 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11202 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11203 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11204 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11205 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11206 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11208 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11210 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10736 ( 11211
10737 cat <<\_ASBOX
10738 ## ------------------------------------------ ##
10739 ## Report this to the AC_PACKAGE_NAME lists. ##
10740 ## ------------------------------------------ ##
10741 _ASBOX
10742 ) |
10743 sed "s/^/$as_me: WARNING: /" >&2
10744 ;; 11212 ;;
10745 esac 11213 esac
10746 echo "$as_me:$LINENO: checking for $ac_header" >&5 11214 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11215 $as_echo_n "checking for $ac_header... " >&6; }
10748 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6 11217 $as_echo_n "(cached) " >&6
10750 else 11218 else
10751 eval "$as_ac_Header=\$ac_header_preproc" 11219 eval "$as_ac_Header=\$ac_header_preproc"
10752 fi 11220 fi
10753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 11221 ac_res=`eval 'as_val=${'$as_ac_Header'}
10754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11222 $as_echo "$as_val"'`
10755 11223 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10756 fi 11224 $as_echo "$ac_res" >&6; }
10757 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11225
11226 fi
11227 if test `eval 'as_val=${'$as_ac_Header'}
11228 $as_echo "$as_val"'` = yes; then
10758 cat >>confdefs.h <<_ACEOF 11229 cat >>confdefs.h <<_ACEOF
10759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10760 _ACEOF 11231 _ACEOF
10761 11232
10762 fi 11233 fi
10763 11234
10764 done 11235 done
10768 #define NO_STRINGS_WITH_STRING_H 1 11239 #define NO_STRINGS_WITH_STRING_H 1
10769 _ACEOF 11240 _ACEOF
10770 11241
10771 else 11242 else
10772 11243
10773 echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5 11244 { $as_echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
10774 echo $ECHO_N "checking if strings.h can be included after string.h... $ECHO_C" >&6 11245 $as_echo_n "checking if strings.h can be included after string.h... " >&6; }
10775 cppflags_save=$CPPFLAGS 11246 cppflags_save=$CPPFLAGS
10776 CPPFLAGS="$CPPFLAGS $X_CFLAGS" 11247 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10777 cat >conftest.$ac_ext <<_ACEOF 11248 cat >conftest.$ac_ext <<_ACEOF
10778 /* confdefs.h. */ 11249 /* confdefs.h. */
10779 _ACEOF 11250 _ACEOF
10802 ; 11273 ;
10803 return 0; 11274 return 0;
10804 } 11275 }
10805 _ACEOF 11276 _ACEOF
10806 rm -f conftest.$ac_objext 11277 rm -f conftest.$ac_objext
10807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11278 if { (ac_try="$ac_compile"
10808 (eval $ac_compile) 2>conftest.er1 11279 case "(($ac_try" in
11280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11281 *) ac_try_echo=$ac_try;;
11282 esac
11283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11284 $as_echo "$ac_try_echo") >&5
11285 (eval "$ac_compile") 2>conftest.er1
10809 ac_status=$? 11286 ac_status=$?
10810 grep -v '^ *+' conftest.er1 >conftest.err 11287 grep -v '^ *+' conftest.er1 >conftest.err
10811 rm -f conftest.er1 11288 rm -f conftest.er1
10812 cat conftest.err >&5 11289 cat conftest.err >&5
10813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); } && 11291 (exit $ac_status); } && {
10815 { ac_try='test -z "$ac_c_werror_flag" 11292 test -z "$ac_c_werror_flag" ||
10816 || test ! -s conftest.err' 11293 test ! -s conftest.err
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11294 } && test -s conftest.$ac_objext; then
10818 (eval $ac_try) 2>&5 11295 { $as_echo "$as_me:$LINENO: result: yes" >&5
10819 ac_status=$? 11296 $as_echo "yes" >&6; }
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11297 else
10821 (exit $ac_status); }; } && 11298 $as_echo "$as_me: failed program was:" >&5
10822 { ac_try='test -s conftest.$ac_objext'
10823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10824 (eval $ac_try) 2>&5
10825 ac_status=$?
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); }; }; then
10828 echo "$as_me:$LINENO: result: yes" >&5
10829 echo "${ECHO_T}yes" >&6
10830 else
10831 echo "$as_me: failed program was:" >&5
10832 sed 's/^/| /' conftest.$ac_ext >&5 11299 sed 's/^/| /' conftest.$ac_ext >&5
10833 11300
10834 cat >>confdefs.h <<\_ACEOF 11301 cat >>confdefs.h <<\_ACEOF
10835 #define NO_STRINGS_WITH_STRING_H 1 11302 #define NO_STRINGS_WITH_STRING_H 1
10836 _ACEOF 11303 _ACEOF
10837 11304
10838 echo "$as_me:$LINENO: result: no" >&5 11305 { $as_echo "$as_me:$LINENO: result: no" >&5
10839 echo "${ECHO_T}no" >&6 11306 $as_echo "no" >&6; }
10840 fi 11307 fi
10841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11308
11309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10842 CPPFLAGS=$cppflags_save 11310 CPPFLAGS=$cppflags_save
10843 fi 11311 fi
10844 11312
10845 if test $ac_cv_c_compiler_gnu = yes; then 11313 if test $ac_cv_c_compiler_gnu = yes; then
10846 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 11314 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10847 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 11315 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
10848 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 11316 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6 11317 $as_echo_n "(cached) " >&6
10850 else 11318 else
10851 ac_pattern="Autoconf.*'x'" 11319 ac_pattern="Autoconf.*'x'"
10852 cat >conftest.$ac_ext <<_ACEOF 11320 cat >conftest.$ac_ext <<_ACEOF
10853 /* confdefs.h. */ 11321 /* confdefs.h. */
10854 _ACEOF 11322 _ACEOF
10883 fi 11351 fi
10884 rm -f conftest* 11352 rm -f conftest*
10885 11353
10886 fi 11354 fi
10887 fi 11355 fi
10888 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 11356 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10889 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 11357 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
10890 if test $ac_cv_prog_gcc_traditional = yes; then 11358 if test $ac_cv_prog_gcc_traditional = yes; then
10891 CC="$CC -traditional" 11359 CC="$CC -traditional"
10892 fi 11360 fi
10893 fi 11361 fi
10894 11362
10895 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 11363 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10896 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 11364 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
10897 if test "${ac_cv_c_const+set}" = set; then 11365 if test "${ac_cv_c_const+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6 11366 $as_echo_n "(cached) " >&6
10899 else 11367 else
10900 cat >conftest.$ac_ext <<_ACEOF 11368 cat >conftest.$ac_ext <<_ACEOF
10901 /* confdefs.h. */ 11369 /* confdefs.h. */
10902 _ACEOF 11370 _ACEOF
10903 cat confdefs.h >>conftest.$ac_ext 11371 cat confdefs.h >>conftest.$ac_ext
10909 { 11377 {
10910 /* FIXME: Include the comments suggested by Paul. */ 11378 /* FIXME: Include the comments suggested by Paul. */
10911 #ifndef __cplusplus 11379 #ifndef __cplusplus
10912 /* Ultrix mips cc rejects this. */ 11380 /* Ultrix mips cc rejects this. */
10913 typedef int charset[2]; 11381 typedef int charset[2];
10914 const charset x; 11382 const charset cs;
10915 /* SunOS 4.1.1 cc rejects this. */ 11383 /* SunOS 4.1.1 cc rejects this. */
10916 char const *const *ccp; 11384 char const *const *pcpcc;
10917 char **p; 11385 char **ppc;
10918 /* NEC SVR4.0.2 mips cc rejects this. */ 11386 /* NEC SVR4.0.2 mips cc rejects this. */
10919 struct point {int x, y;}; 11387 struct point {int x, y;};
10920 static struct point const zero = {0,0}; 11388 static struct point const zero = {0,0};
10921 /* AIX XL C 1.02.0.0 rejects this. 11389 /* AIX XL C 1.02.0.0 rejects this.
10922 It does not let you subtract one const X* pointer from another in 11390 It does not let you subtract one const X* pointer from another in
10923 an arm of an if-expression whose if-part is not a constant 11391 an arm of an if-expression whose if-part is not a constant
10924 expression */ 11392 expression */
10925 const char *g = "string"; 11393 const char *g = "string";
10926 ccp = &g + (g ? g-g : 0); 11394 pcpcc = &g + (g ? g-g : 0);
10927 /* HPUX 7.0 cc rejects these. */ 11395 /* HPUX 7.0 cc rejects these. */
10928 ++ccp; 11396 ++pcpcc;
10929 p = (char**) ccp; 11397 ppc = (char**) pcpcc;
10930 ccp = (char const *const *) p; 11398 pcpcc = (char const *const *) ppc;
10931 { /* SCO 3.2v4 cc rejects this. */ 11399 { /* SCO 3.2v4 cc rejects this. */
10932 char *t; 11400 char *t;
10933 char const *s = 0 ? (char *) 0 : (char const *) 0; 11401 char const *s = 0 ? (char *) 0 : (char const *) 0;
10934 11402
10935 *t++ = 0; 11403 *t++ = 0;
11404 if (s) return 0;
10936 } 11405 }
10937 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 11406 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10938 int x[] = {25, 17}; 11407 int x[] = {25, 17};
10939 const int *foo = &x[0]; 11408 const int *foo = &x[0];
10940 ++foo; 11409 ++foo;
10949 struct s { int j; const int *ap[3]; }; 11418 struct s { int j; const int *ap[3]; };
10950 struct s *b; b->j = 5; 11419 struct s *b; b->j = 5;
10951 } 11420 }
10952 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 11421 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10953 const int foo = 10; 11422 const int foo = 10;
11423 if (!foo) return 0;
10954 } 11424 }
11425 return !cs[0] && !zero.x;
10955 #endif 11426 #endif
10956 11427
10957 ; 11428 ;
10958 return 0; 11429 return 0;
10959 } 11430 }
10960 _ACEOF 11431 _ACEOF
10961 rm -f conftest.$ac_objext 11432 rm -f conftest.$ac_objext
10962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11433 if { (ac_try="$ac_compile"
10963 (eval $ac_compile) 2>conftest.er1 11434 case "(($ac_try" in
11435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11436 *) ac_try_echo=$ac_try;;
11437 esac
11438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11439 $as_echo "$ac_try_echo") >&5
11440 (eval "$ac_compile") 2>conftest.er1
10964 ac_status=$? 11441 ac_status=$?
10965 grep -v '^ *+' conftest.er1 >conftest.err 11442 grep -v '^ *+' conftest.er1 >conftest.err
10966 rm -f conftest.er1 11443 rm -f conftest.er1
10967 cat conftest.err >&5 11444 cat conftest.err >&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); } && 11446 (exit $ac_status); } && {
10970 { ac_try='test -z "$ac_c_werror_flag" 11447 test -z "$ac_c_werror_flag" ||
10971 || test ! -s conftest.err' 11448 test ! -s conftest.err
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11449 } && test -s conftest.$ac_objext; then
10973 (eval $ac_try) 2>&5
10974 ac_status=$?
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; } &&
10977 { ac_try='test -s conftest.$ac_objext'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10980 ac_status=$?
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; }; then
10983 ac_cv_c_const=yes 11450 ac_cv_c_const=yes
10984 else 11451 else
10985 echo "$as_me: failed program was:" >&5 11452 $as_echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.$ac_ext >&5 11453 sed 's/^/| /' conftest.$ac_ext >&5
10987 11454
10988 ac_cv_c_const=no 11455 ac_cv_c_const=no
10989 fi 11456 fi
10990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11457
10991 fi 11458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10992 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 11459 fi
10993 echo "${ECHO_T}$ac_cv_c_const" >&6 11460 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11461 $as_echo "$ac_cv_c_const" >&6; }
10994 if test $ac_cv_c_const = no; then 11462 if test $ac_cv_c_const = no; then
10995 11463
10996 cat >>confdefs.h <<\_ACEOF 11464 cat >>confdefs.h <<\_ACEOF
10997 #define const 11465 #define const /**/
10998 _ACEOF 11466 _ACEOF
10999 11467
11000 fi 11468 fi
11001 11469
11002 echo "$as_me:$LINENO: checking for mode_t" >&5 11470 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
11003 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 11471 $as_echo_n "checking for mode_t... " >&6; }
11004 if test "${ac_cv_type_mode_t+set}" = set; then 11472 if test "${ac_cv_type_mode_t+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6 11473 $as_echo_n "(cached) " >&6
11006 else 11474 else
11007 cat >conftest.$ac_ext <<_ACEOF 11475 ac_cv_type_mode_t=no
11476 cat >conftest.$ac_ext <<_ACEOF
11008 /* confdefs.h. */ 11477 /* confdefs.h. */
11009 _ACEOF 11478 _ACEOF
11010 cat confdefs.h >>conftest.$ac_ext 11479 cat confdefs.h >>conftest.$ac_ext
11011 cat >>conftest.$ac_ext <<_ACEOF 11480 cat >>conftest.$ac_ext <<_ACEOF
11012 /* end confdefs.h. */ 11481 /* end confdefs.h. */
11013 $ac_includes_default 11482 $ac_includes_default
11014 int 11483 int
11015 main () 11484 main ()
11016 { 11485 {
11017 if ((mode_t *) 0)
11018 return 0;
11019 if (sizeof (mode_t)) 11486 if (sizeof (mode_t))
11020 return 0; 11487 return 0;
11021 ; 11488 ;
11022 return 0; 11489 return 0;
11023 } 11490 }
11024 _ACEOF 11491 _ACEOF
11025 rm -f conftest.$ac_objext 11492 rm -f conftest.$ac_objext
11026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11493 if { (ac_try="$ac_compile"
11027 (eval $ac_compile) 2>conftest.er1 11494 case "(($ac_try" in
11495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11496 *) ac_try_echo=$ac_try;;
11497 esac
11498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11499 $as_echo "$ac_try_echo") >&5
11500 (eval "$ac_compile") 2>conftest.er1
11028 ac_status=$? 11501 ac_status=$?
11029 grep -v '^ *+' conftest.er1 >conftest.err 11502 grep -v '^ *+' conftest.er1 >conftest.err
11030 rm -f conftest.er1 11503 rm -f conftest.er1
11031 cat conftest.err >&5 11504 cat conftest.err >&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); } && 11506 (exit $ac_status); } && {
11034 { ac_try='test -z "$ac_c_werror_flag" 11507 test -z "$ac_c_werror_flag" ||
11035 || test ! -s conftest.err' 11508 test ! -s conftest.err
11036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11509 } && test -s conftest.$ac_objext; then
11037 (eval $ac_try) 2>&5
11038 ac_status=$?
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); }; } &&
11041 { ac_try='test -s conftest.$ac_objext'
11042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043 (eval $ac_try) 2>&5
11044 ac_status=$?
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }; }; then
11047 ac_cv_type_mode_t=yes
11048 else
11049 echo "$as_me: failed program was:" >&5
11050 sed 's/^/| /' conftest.$ac_ext >&5
11051
11052 ac_cv_type_mode_t=no
11053 fi
11054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11055 fi
11056 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
11057 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
11058 if test $ac_cv_type_mode_t = yes; then
11059 :
11060 else
11061
11062 cat >>confdefs.h <<_ACEOF
11063 #define mode_t int
11064 _ACEOF
11065
11066 fi
11067
11068 echo "$as_me:$LINENO: checking for off_t" >&5
11069 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11070 if test "${ac_cv_type_off_t+set}" = set; then
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 else
11073 cat >conftest.$ac_ext <<_ACEOF 11510 cat >conftest.$ac_ext <<_ACEOF
11074 /* confdefs.h. */ 11511 /* confdefs.h. */
11075 _ACEOF 11512 _ACEOF
11076 cat confdefs.h >>conftest.$ac_ext 11513 cat confdefs.h >>conftest.$ac_ext
11077 cat >>conftest.$ac_ext <<_ACEOF 11514 cat >>conftest.$ac_ext <<_ACEOF
11078 /* end confdefs.h. */ 11515 /* end confdefs.h. */
11079 $ac_includes_default 11516 $ac_includes_default
11080 int 11517 int
11081 main () 11518 main ()
11082 { 11519 {
11083 if ((off_t *) 0) 11520 if (sizeof ((mode_t)))
11084 return 0; 11521 return 0;
11085 if (sizeof (off_t))
11086 return 0;
11087 ; 11522 ;
11088 return 0; 11523 return 0;
11089 } 11524 }
11090 _ACEOF 11525 _ACEOF
11091 rm -f conftest.$ac_objext 11526 rm -f conftest.$ac_objext
11092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11527 if { (ac_try="$ac_compile"
11093 (eval $ac_compile) 2>conftest.er1 11528 case "(($ac_try" in
11529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11530 *) ac_try_echo=$ac_try;;
11531 esac
11532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11533 $as_echo "$ac_try_echo") >&5
11534 (eval "$ac_compile") 2>conftest.er1
11094 ac_status=$? 11535 ac_status=$?
11095 grep -v '^ *+' conftest.er1 >conftest.err 11536 grep -v '^ *+' conftest.er1 >conftest.err
11096 rm -f conftest.er1 11537 rm -f conftest.er1
11097 cat conftest.err >&5 11538 cat conftest.err >&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); } && 11540 (exit $ac_status); } && {
11100 { ac_try='test -z "$ac_c_werror_flag" 11541 test -z "$ac_c_werror_flag" ||
11101 || test ! -s conftest.err' 11542 test ! -s conftest.err
11102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11543 } && test -s conftest.$ac_objext; then
11103 (eval $ac_try) 2>&5 11544 :
11104 ac_status=$? 11545 else
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11546 $as_echo "$as_me: failed program was:" >&5
11106 (exit $ac_status); }; } &&
11107 { ac_try='test -s conftest.$ac_objext'
11108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11109 (eval $ac_try) 2>&5
11110 ac_status=$?
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); }; }; then
11113 ac_cv_type_off_t=yes
11114 else
11115 echo "$as_me: failed program was:" >&5
11116 sed 's/^/| /' conftest.$ac_ext >&5 11547 sed 's/^/| /' conftest.$ac_ext >&5
11117 11548
11118 ac_cv_type_off_t=no 11549 ac_cv_type_mode_t=yes
11119 fi 11550 fi
11120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11551
11121 fi 11552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11122 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 11553 else
11123 echo "${ECHO_T}$ac_cv_type_off_t" >&6 11554 $as_echo "$as_me: failed program was:" >&5
11124 if test $ac_cv_type_off_t = yes; then 11555 sed 's/^/| /' conftest.$ac_ext >&5
11556
11557
11558 fi
11559
11560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11561 fi
11562 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
11563 $as_echo "$ac_cv_type_mode_t" >&6; }
11564 if test $ac_cv_type_mode_t = yes; then
11125 : 11565 :
11126 else 11566 else
11127 11567
11128 cat >>confdefs.h <<_ACEOF 11568 cat >>confdefs.h <<_ACEOF
11129 #define off_t long 11569 #define mode_t int
11130 _ACEOF 11570 _ACEOF
11131 11571
11132 fi 11572 fi
11133 11573
11134 echo "$as_me:$LINENO: checking for pid_t" >&5 11574 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
11135 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 11575 $as_echo_n "checking for off_t... " >&6; }
11136 if test "${ac_cv_type_pid_t+set}" = set; then 11576 if test "${ac_cv_type_off_t+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6 11577 $as_echo_n "(cached) " >&6
11138 else 11578 else
11139 cat >conftest.$ac_ext <<_ACEOF 11579 ac_cv_type_off_t=no
11580 cat >conftest.$ac_ext <<_ACEOF
11140 /* confdefs.h. */ 11581 /* confdefs.h. */
11141 _ACEOF 11582 _ACEOF
11142 cat confdefs.h >>conftest.$ac_ext 11583 cat confdefs.h >>conftest.$ac_ext
11143 cat >>conftest.$ac_ext <<_ACEOF 11584 cat >>conftest.$ac_ext <<_ACEOF
11144 /* end confdefs.h. */ 11585 /* end confdefs.h. */
11145 $ac_includes_default 11586 $ac_includes_default
11146 int 11587 int
11147 main () 11588 main ()
11148 { 11589 {
11149 if ((pid_t *) 0) 11590 if (sizeof (off_t))
11150 return 0; 11591 return 0;
11151 if (sizeof (pid_t))
11152 return 0;
11153 ; 11592 ;
11154 return 0; 11593 return 0;
11155 } 11594 }
11156 _ACEOF 11595 _ACEOF
11157 rm -f conftest.$ac_objext 11596 rm -f conftest.$ac_objext
11158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11597 if { (ac_try="$ac_compile"
11159 (eval $ac_compile) 2>conftest.er1 11598 case "(($ac_try" in
11599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11600 *) ac_try_echo=$ac_try;;
11601 esac
11602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11603 $as_echo "$ac_try_echo") >&5
11604 (eval "$ac_compile") 2>conftest.er1
11160 ac_status=$? 11605 ac_status=$?
11161 grep -v '^ *+' conftest.er1 >conftest.err 11606 grep -v '^ *+' conftest.er1 >conftest.err
11162 rm -f conftest.er1 11607 rm -f conftest.er1
11163 cat conftest.err >&5 11608 cat conftest.err >&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); } && 11610 (exit $ac_status); } && {
11166 { ac_try='test -z "$ac_c_werror_flag" 11611 test -z "$ac_c_werror_flag" ||
11167 || test ! -s conftest.err' 11612 test ! -s conftest.err
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11613 } && test -s conftest.$ac_objext; then
11169 (eval $ac_try) 2>&5
11170 ac_status=$?
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; } &&
11173 { ac_try='test -s conftest.$ac_objext'
11174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11175 (eval $ac_try) 2>&5
11176 ac_status=$?
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); }; }; then
11179 ac_cv_type_pid_t=yes
11180 else
11181 echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.$ac_ext >&5
11183
11184 ac_cv_type_pid_t=no
11185 fi
11186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11187 fi
11188 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11189 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11190 if test $ac_cv_type_pid_t = yes; then
11191 :
11192 else
11193
11194 cat >>confdefs.h <<_ACEOF
11195 #define pid_t int
11196 _ACEOF
11197
11198 fi
11199
11200 echo "$as_me:$LINENO: checking for size_t" >&5
11201 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11202 if test "${ac_cv_type_size_t+set}" = set; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 else
11205 cat >conftest.$ac_ext <<_ACEOF 11614 cat >conftest.$ac_ext <<_ACEOF
11206 /* confdefs.h. */ 11615 /* confdefs.h. */
11207 _ACEOF 11616 _ACEOF
11208 cat confdefs.h >>conftest.$ac_ext 11617 cat confdefs.h >>conftest.$ac_ext
11209 cat >>conftest.$ac_ext <<_ACEOF 11618 cat >>conftest.$ac_ext <<_ACEOF
11210 /* end confdefs.h. */ 11619 /* end confdefs.h. */
11211 $ac_includes_default 11620 $ac_includes_default
11212 int 11621 int
11213 main () 11622 main ()
11214 { 11623 {
11215 if ((size_t *) 0) 11624 if (sizeof ((off_t)))
11216 return 0; 11625 return 0;
11217 if (sizeof (size_t))
11218 return 0;
11219 ; 11626 ;
11220 return 0; 11627 return 0;
11221 } 11628 }
11222 _ACEOF 11629 _ACEOF
11223 rm -f conftest.$ac_objext 11630 rm -f conftest.$ac_objext
11224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11631 if { (ac_try="$ac_compile"
11225 (eval $ac_compile) 2>conftest.er1 11632 case "(($ac_try" in
11633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11634 *) ac_try_echo=$ac_try;;
11635 esac
11636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11637 $as_echo "$ac_try_echo") >&5
11638 (eval "$ac_compile") 2>conftest.er1
11226 ac_status=$? 11639 ac_status=$?
11227 grep -v '^ *+' conftest.er1 >conftest.err 11640 grep -v '^ *+' conftest.er1 >conftest.err
11228 rm -f conftest.er1 11641 rm -f conftest.er1
11229 cat conftest.err >&5 11642 cat conftest.err >&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } && 11644 (exit $ac_status); } && {
11232 { ac_try='test -z "$ac_c_werror_flag" 11645 test -z "$ac_c_werror_flag" ||
11233 || test ! -s conftest.err' 11646 test ! -s conftest.err
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11647 } && test -s conftest.$ac_objext; then
11235 (eval $ac_try) 2>&5 11648 :
11649 else
11650 $as_echo "$as_me: failed program was:" >&5
11651 sed 's/^/| /' conftest.$ac_ext >&5
11652
11653 ac_cv_type_off_t=yes
11654 fi
11655
11656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11657 else
11658 $as_echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.$ac_ext >&5
11660
11661
11662 fi
11663
11664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11665 fi
11666 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11667 $as_echo "$ac_cv_type_off_t" >&6; }
11668 if test $ac_cv_type_off_t = yes; then
11669 :
11670 else
11671
11672 cat >>confdefs.h <<_ACEOF
11673 #define off_t long int
11674 _ACEOF
11675
11676 fi
11677
11678 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
11679 $as_echo_n "checking for pid_t... " >&6; }
11680 if test "${ac_cv_type_pid_t+set}" = set; then
11681 $as_echo_n "(cached) " >&6
11682 else
11683 ac_cv_type_pid_t=no
11684 cat >conftest.$ac_ext <<_ACEOF
11685 /* confdefs.h. */
11686 _ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 $ac_includes_default
11691 int
11692 main ()
11693 {
11694 if (sizeof (pid_t))
11695 return 0;
11696 ;
11697 return 0;
11698 }
11699 _ACEOF
11700 rm -f conftest.$ac_objext
11701 if { (ac_try="$ac_compile"
11702 case "(($ac_try" in
11703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11704 *) ac_try_echo=$ac_try;;
11705 esac
11706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11707 $as_echo "$ac_try_echo") >&5
11708 (eval "$ac_compile") 2>conftest.er1
11236 ac_status=$? 11709 ac_status=$?
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11710 grep -v '^ *+' conftest.er1 >conftest.err
11238 (exit $ac_status); }; } && 11711 rm -f conftest.er1
11239 { ac_try='test -s conftest.$ac_objext' 11712 cat conftest.err >&5
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (eval $ac_try) 2>&5 11714 (exit $ac_status); } && {
11715 test -z "$ac_c_werror_flag" ||
11716 test ! -s conftest.err
11717 } && test -s conftest.$ac_objext; then
11718 cat >conftest.$ac_ext <<_ACEOF
11719 /* confdefs.h. */
11720 _ACEOF
11721 cat confdefs.h >>conftest.$ac_ext
11722 cat >>conftest.$ac_ext <<_ACEOF
11723 /* end confdefs.h. */
11724 $ac_includes_default
11725 int
11726 main ()
11727 {
11728 if (sizeof ((pid_t)))
11729 return 0;
11730 ;
11731 return 0;
11732 }
11733 _ACEOF
11734 rm -f conftest.$ac_objext
11735 if { (ac_try="$ac_compile"
11736 case "(($ac_try" in
11737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11739 esac
11740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11741 $as_echo "$ac_try_echo") >&5
11742 (eval "$ac_compile") 2>conftest.er1
11242 ac_status=$? 11743 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11744 grep -v '^ *+' conftest.er1 >conftest.err
11244 (exit $ac_status); }; }; then 11745 rm -f conftest.er1
11245 ac_cv_type_size_t=yes 11746 cat conftest.err >&5
11246 else 11747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 echo "$as_me: failed program was:" >&5 11748 (exit $ac_status); } && {
11749 test -z "$ac_c_werror_flag" ||
11750 test ! -s conftest.err
11751 } && test -s conftest.$ac_objext; then
11752 :
11753 else
11754 $as_echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.$ac_ext >&5 11755 sed 's/^/| /' conftest.$ac_ext >&5
11249 11756
11250 ac_cv_type_size_t=no 11757 ac_cv_type_pid_t=yes
11251 fi 11758 fi
11252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11759
11253 fi 11760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11254 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 11761 else
11255 echo "${ECHO_T}$ac_cv_type_size_t" >&6 11762 $as_echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.$ac_ext >&5
11764
11765
11766 fi
11767
11768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11769 fi
11770 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11771 $as_echo "$ac_cv_type_pid_t" >&6; }
11772 if test $ac_cv_type_pid_t = yes; then
11773 :
11774 else
11775
11776 cat >>confdefs.h <<_ACEOF
11777 #define pid_t int
11778 _ACEOF
11779
11780 fi
11781
11782 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
11783 $as_echo_n "checking for size_t... " >&6; }
11784 if test "${ac_cv_type_size_t+set}" = set; then
11785 $as_echo_n "(cached) " >&6
11786 else
11787 ac_cv_type_size_t=no
11788 cat >conftest.$ac_ext <<_ACEOF
11789 /* confdefs.h. */
11790 _ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 $ac_includes_default
11795 int
11796 main ()
11797 {
11798 if (sizeof (size_t))
11799 return 0;
11800 ;
11801 return 0;
11802 }
11803 _ACEOF
11804 rm -f conftest.$ac_objext
11805 if { (ac_try="$ac_compile"
11806 case "(($ac_try" in
11807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11808 *) ac_try_echo=$ac_try;;
11809 esac
11810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11811 $as_echo "$ac_try_echo") >&5
11812 (eval "$ac_compile") 2>conftest.er1
11813 ac_status=$?
11814 grep -v '^ *+' conftest.er1 >conftest.err
11815 rm -f conftest.er1
11816 cat conftest.err >&5
11817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } && {
11819 test -z "$ac_c_werror_flag" ||
11820 test ! -s conftest.err
11821 } && test -s conftest.$ac_objext; then
11822 cat >conftest.$ac_ext <<_ACEOF
11823 /* confdefs.h. */
11824 _ACEOF
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11828 $ac_includes_default
11829 int
11830 main ()
11831 {
11832 if (sizeof ((size_t)))
11833 return 0;
11834 ;
11835 return 0;
11836 }
11837 _ACEOF
11838 rm -f conftest.$ac_objext
11839 if { (ac_try="$ac_compile"
11840 case "(($ac_try" in
11841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11842 *) ac_try_echo=$ac_try;;
11843 esac
11844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11845 $as_echo "$ac_try_echo") >&5
11846 (eval "$ac_compile") 2>conftest.er1
11847 ac_status=$?
11848 grep -v '^ *+' conftest.er1 >conftest.err
11849 rm -f conftest.er1
11850 cat conftest.err >&5
11851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); } && {
11853 test -z "$ac_c_werror_flag" ||
11854 test ! -s conftest.err
11855 } && test -s conftest.$ac_objext; then
11856 :
11857 else
11858 $as_echo "$as_me: failed program was:" >&5
11859 sed 's/^/| /' conftest.$ac_ext >&5
11860
11861 ac_cv_type_size_t=yes
11862 fi
11863
11864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11865 else
11866 $as_echo "$as_me: failed program was:" >&5
11867 sed 's/^/| /' conftest.$ac_ext >&5
11868
11869
11870 fi
11871
11872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11873 fi
11874 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11875 $as_echo "$ac_cv_type_size_t" >&6; }
11256 if test $ac_cv_type_size_t = yes; then 11876 if test $ac_cv_type_size_t = yes; then
11257 : 11877 :
11258 else 11878 else
11259 11879
11260 cat >>confdefs.h <<_ACEOF 11880 cat >>confdefs.h <<_ACEOF
11261 #define size_t unsigned 11881 #define size_t unsigned int
11262 _ACEOF 11882 _ACEOF
11263 11883
11264 fi 11884 fi
11265 11885
11266 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 11886 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
11267 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 11887 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11268 if test "${ac_cv_type_uid_t+set}" = set; then 11888 if test "${ac_cv_type_uid_t+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6 11889 $as_echo_n "(cached) " >&6
11270 else 11890 else
11271 cat >conftest.$ac_ext <<_ACEOF 11891 cat >conftest.$ac_ext <<_ACEOF
11272 /* confdefs.h. */ 11892 /* confdefs.h. */
11273 _ACEOF 11893 _ACEOF
11274 cat confdefs.h >>conftest.$ac_ext 11894 cat confdefs.h >>conftest.$ac_ext
11284 ac_cv_type_uid_t=no 11904 ac_cv_type_uid_t=no
11285 fi 11905 fi
11286 rm -f conftest* 11906 rm -f conftest*
11287 11907
11288 fi 11908 fi
11289 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 11909 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
11290 echo "${ECHO_T}$ac_cv_type_uid_t" >&6 11910 $as_echo "$ac_cv_type_uid_t" >&6; }
11291 if test $ac_cv_type_uid_t = no; then 11911 if test $ac_cv_type_uid_t = no; then
11292 11912
11293 cat >>confdefs.h <<\_ACEOF 11913 cat >>confdefs.h <<\_ACEOF
11294 #define uid_t int 11914 #define uid_t int
11295 _ACEOF 11915 _ACEOF
11299 #define gid_t int 11919 #define gid_t int
11300 _ACEOF 11920 _ACEOF
11301 11921
11302 fi 11922 fi
11303 11923
11304 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 11924 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11305 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 11925 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11306 if test "${ac_cv_header_time+set}" = set; then 11926 if test "${ac_cv_header_time+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6 11927 $as_echo_n "(cached) " >&6
11308 else 11928 else
11309 cat >conftest.$ac_ext <<_ACEOF 11929 cat >conftest.$ac_ext <<_ACEOF
11310 /* confdefs.h. */ 11930 /* confdefs.h. */
11311 _ACEOF 11931 _ACEOF
11312 cat confdefs.h >>conftest.$ac_ext 11932 cat confdefs.h >>conftest.$ac_ext
11324 ; 11944 ;
11325 return 0; 11945 return 0;
11326 } 11946 }
11327 _ACEOF 11947 _ACEOF
11328 rm -f conftest.$ac_objext 11948 rm -f conftest.$ac_objext
11329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 11949 if { (ac_try="$ac_compile"
11330 (eval $ac_compile) 2>conftest.er1 11950 case "(($ac_try" in
11951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11952 *) ac_try_echo=$ac_try;;
11953 esac
11954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11955 $as_echo "$ac_try_echo") >&5
11956 (eval "$ac_compile") 2>conftest.er1
11331 ac_status=$? 11957 ac_status=$?
11332 grep -v '^ *+' conftest.er1 >conftest.err 11958 grep -v '^ *+' conftest.er1 >conftest.err
11333 rm -f conftest.er1 11959 rm -f conftest.er1
11334 cat conftest.err >&5 11960 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } && 11962 (exit $ac_status); } && {
11337 { ac_try='test -z "$ac_c_werror_flag" 11963 test -z "$ac_c_werror_flag" ||
11338 || test ! -s conftest.err' 11964 test ! -s conftest.err
11339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11965 } && test -s conftest.$ac_objext; then
11340 (eval $ac_try) 2>&5
11341 ac_status=$?
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); }; } &&
11344 { ac_try='test -s conftest.$ac_objext'
11345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11346 (eval $ac_try) 2>&5
11347 ac_status=$?
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); }; }; then
11350 ac_cv_header_time=yes 11966 ac_cv_header_time=yes
11351 else 11967 else
11352 echo "$as_me: failed program was:" >&5 11968 $as_echo "$as_me: failed program was:" >&5
11353 sed 's/^/| /' conftest.$ac_ext >&5 11969 sed 's/^/| /' conftest.$ac_ext >&5
11354 11970
11355 ac_cv_header_time=no 11971 ac_cv_header_time=no
11356 fi 11972 fi
11357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11973
11358 fi 11974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11359 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 11975 fi
11360 echo "${ECHO_T}$ac_cv_header_time" >&6 11976 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11977 $as_echo "$ac_cv_header_time" >&6; }
11361 if test $ac_cv_header_time = yes; then 11978 if test $ac_cv_header_time = yes; then
11362 11979
11363 cat >>confdefs.h <<\_ACEOF 11980 cat >>confdefs.h <<\_ACEOF
11364 #define TIME_WITH_SYS_TIME 1 11981 #define TIME_WITH_SYS_TIME 1
11365 _ACEOF 11982 _ACEOF
11366 11983
11367 fi 11984 fi
11368 11985
11369 echo "$as_me:$LINENO: checking for ino_t" >&5 11986 { $as_echo "$as_me:$LINENO: checking for ino_t" >&5
11370 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6 11987 $as_echo_n "checking for ino_t... " >&6; }
11371 if test "${ac_cv_type_ino_t+set}" = set; then 11988 if test "${ac_cv_type_ino_t+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6 11989 $as_echo_n "(cached) " >&6
11373 else 11990 else
11374 cat >conftest.$ac_ext <<_ACEOF 11991 ac_cv_type_ino_t=no
11992 cat >conftest.$ac_ext <<_ACEOF
11375 /* confdefs.h. */ 11993 /* confdefs.h. */
11376 _ACEOF 11994 _ACEOF
11377 cat confdefs.h >>conftest.$ac_ext 11995 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF 11996 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h. */ 11997 /* end confdefs.h. */
11380 $ac_includes_default 11998 $ac_includes_default
11381 int 11999 int
11382 main () 12000 main ()
11383 { 12001 {
11384 if ((ino_t *) 0)
11385 return 0;
11386 if (sizeof (ino_t)) 12002 if (sizeof (ino_t))
11387 return 0; 12003 return 0;
11388 ; 12004 ;
11389 return 0; 12005 return 0;
11390 } 12006 }
11391 _ACEOF 12007 _ACEOF
11392 rm -f conftest.$ac_objext 12008 rm -f conftest.$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12009 if { (ac_try="$ac_compile"
11394 (eval $ac_compile) 2>conftest.er1 12010 case "(($ac_try" in
12011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12012 *) ac_try_echo=$ac_try;;
12013 esac
12014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12015 $as_echo "$ac_try_echo") >&5
12016 (eval "$ac_compile") 2>conftest.er1
11395 ac_status=$? 12017 ac_status=$?
11396 grep -v '^ *+' conftest.er1 >conftest.err 12018 grep -v '^ *+' conftest.er1 >conftest.err
11397 rm -f conftest.er1 12019 rm -f conftest.er1
11398 cat conftest.err >&5 12020 cat conftest.err >&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } && 12022 (exit $ac_status); } && {
11401 { ac_try='test -z "$ac_c_werror_flag" 12023 test -z "$ac_c_werror_flag" ||
11402 || test ! -s conftest.err' 12024 test ! -s conftest.err
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12025 } && test -s conftest.$ac_objext; then
11404 (eval $ac_try) 2>&5
11405 ac_status=$?
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; } &&
11408 { ac_try='test -s conftest.$ac_objext'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11411 ac_status=$?
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; }; then
11414 ac_cv_type_ino_t=yes
11415 else
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11418
11419 ac_cv_type_ino_t=no
11420 fi
11421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11422 fi
11423 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
11424 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
11425 if test $ac_cv_type_ino_t = yes; then
11426 :
11427 else
11428
11429 cat >>confdefs.h <<_ACEOF
11430 #define ino_t long
11431 _ACEOF
11432
11433 fi
11434
11435 echo "$as_me:$LINENO: checking for dev_t" >&5
11436 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
11437 if test "${ac_cv_type_dev_t+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 else
11440 cat >conftest.$ac_ext <<_ACEOF 12026 cat >conftest.$ac_ext <<_ACEOF
11441 /* confdefs.h. */ 12027 /* confdefs.h. */
11442 _ACEOF 12028 _ACEOF
11443 cat confdefs.h >>conftest.$ac_ext 12029 cat confdefs.h >>conftest.$ac_ext
11444 cat >>conftest.$ac_ext <<_ACEOF 12030 cat >>conftest.$ac_ext <<_ACEOF
11445 /* end confdefs.h. */ 12031 /* end confdefs.h. */
11446 $ac_includes_default 12032 $ac_includes_default
11447 int 12033 int
11448 main () 12034 main ()
11449 { 12035 {
11450 if ((dev_t *) 0) 12036 if (sizeof ((ino_t)))
11451 return 0; 12037 return 0;
11452 if (sizeof (dev_t))
11453 return 0;
11454 ; 12038 ;
11455 return 0; 12039 return 0;
11456 } 12040 }
11457 _ACEOF 12041 _ACEOF
11458 rm -f conftest.$ac_objext 12042 rm -f conftest.$ac_objext
11459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12043 if { (ac_try="$ac_compile"
11460 (eval $ac_compile) 2>conftest.er1 12044 case "(($ac_try" in
12045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12046 *) ac_try_echo=$ac_try;;
12047 esac
12048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12049 $as_echo "$ac_try_echo") >&5
12050 (eval "$ac_compile") 2>conftest.er1
11461 ac_status=$? 12051 ac_status=$?
11462 grep -v '^ *+' conftest.er1 >conftest.err 12052 grep -v '^ *+' conftest.er1 >conftest.err
11463 rm -f conftest.er1 12053 rm -f conftest.er1
11464 cat conftest.err >&5 12054 cat conftest.err >&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); } && 12056 (exit $ac_status); } && {
11467 { ac_try='test -z "$ac_c_werror_flag" 12057 test -z "$ac_c_werror_flag" ||
11468 || test ! -s conftest.err' 12058 test ! -s conftest.err
11469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12059 } && test -s conftest.$ac_objext; then
11470 (eval $ac_try) 2>&5 12060 :
11471 ac_status=$? 12061 else
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12062 $as_echo "$as_me: failed program was:" >&5
11473 (exit $ac_status); }; } &&
11474 { ac_try='test -s conftest.$ac_objext'
11475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 (eval $ac_try) 2>&5
11477 ac_status=$?
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); }; }; then
11480 ac_cv_type_dev_t=yes
11481 else
11482 echo "$as_me: failed program was:" >&5
11483 sed 's/^/| /' conftest.$ac_ext >&5 12063 sed 's/^/| /' conftest.$ac_ext >&5
11484 12064
11485 ac_cv_type_dev_t=no 12065 ac_cv_type_ino_t=yes
11486 fi 12066 fi
11487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12067
11488 fi 12068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11489 echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5 12069 else
11490 echo "${ECHO_T}$ac_cv_type_dev_t" >&6 12070 $as_echo "$as_me: failed program was:" >&5
11491 if test $ac_cv_type_dev_t = yes; then 12071 sed 's/^/| /' conftest.$ac_ext >&5
12072
12073
12074 fi
12075
12076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12077 fi
12078 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
12079 $as_echo "$ac_cv_type_ino_t" >&6; }
12080 if test $ac_cv_type_ino_t = yes; then
11492 : 12081 :
11493 else 12082 else
11494 12083
11495 cat >>confdefs.h <<_ACEOF 12084 cat >>confdefs.h <<_ACEOF
11496 #define dev_t unsigned 12085 #define ino_t long
11497 _ACEOF 12086 _ACEOF
11498 12087
11499 fi 12088 fi
11500 12089
11501 12090 { $as_echo "$as_me:$LINENO: checking for dev_t" >&5
11502 echo "$as_me:$LINENO: checking for rlim_t" >&5 12091 $as_echo_n "checking for dev_t... " >&6; }
11503 echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6 12092 if test "${ac_cv_type_dev_t+set}" = set; then
11504 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then 12093 $as_echo_n "(cached) " >&6
11505 echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5 12094 else
11506 echo "${ECHO_T}(cached) $ac_cv_type_rlim_t" >&6 12095 ac_cv_type_dev_t=no
11507 else 12096 cat >conftest.$ac_ext <<_ACEOF
11508 cat >conftest.$ac_ext <<_ACEOF
11509 /* confdefs.h. */ 12097 /* confdefs.h. */
11510 _ACEOF 12098 _ACEOF
11511 cat confdefs.h >>conftest.$ac_ext 12099 cat confdefs.h >>conftest.$ac_ext
11512 cat >>conftest.$ac_ext <<_ACEOF 12100 cat >>conftest.$ac_ext <<_ACEOF
11513 /* end confdefs.h. */ 12101 /* end confdefs.h. */
12102 $ac_includes_default
12103 int
12104 main ()
12105 {
12106 if (sizeof (dev_t))
12107 return 0;
12108 ;
12109 return 0;
12110 }
12111 _ACEOF
12112 rm -f conftest.$ac_objext
12113 if { (ac_try="$ac_compile"
12114 case "(($ac_try" in
12115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12116 *) ac_try_echo=$ac_try;;
12117 esac
12118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12119 $as_echo "$ac_try_echo") >&5
12120 (eval "$ac_compile") 2>conftest.er1
12121 ac_status=$?
12122 grep -v '^ *+' conftest.er1 >conftest.err
12123 rm -f conftest.er1
12124 cat conftest.err >&5
12125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } && {
12127 test -z "$ac_c_werror_flag" ||
12128 test ! -s conftest.err
12129 } && test -s conftest.$ac_objext; then
12130 cat >conftest.$ac_ext <<_ACEOF
12131 /* confdefs.h. */
12132 _ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12136 $ac_includes_default
12137 int
12138 main ()
12139 {
12140 if (sizeof ((dev_t)))
12141 return 0;
12142 ;
12143 return 0;
12144 }
12145 _ACEOF
12146 rm -f conftest.$ac_objext
12147 if { (ac_try="$ac_compile"
12148 case "(($ac_try" in
12149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12150 *) ac_try_echo=$ac_try;;
12151 esac
12152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12153 $as_echo "$ac_try_echo") >&5
12154 (eval "$ac_compile") 2>conftest.er1
12155 ac_status=$?
12156 grep -v '^ *+' conftest.er1 >conftest.err
12157 rm -f conftest.er1
12158 cat conftest.err >&5
12159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); } && {
12161 test -z "$ac_c_werror_flag" ||
12162 test ! -s conftest.err
12163 } && test -s conftest.$ac_objext; then
12164 :
12165 else
12166 $as_echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.$ac_ext >&5
12168
12169 ac_cv_type_dev_t=yes
12170 fi
12171
12172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12173 else
12174 $as_echo "$as_me: failed program was:" >&5
12175 sed 's/^/| /' conftest.$ac_ext >&5
12176
12177
12178 fi
12179
12180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12181 fi
12182 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
12183 $as_echo "$ac_cv_type_dev_t" >&6; }
12184 if test $ac_cv_type_dev_t = yes; then
12185 :
12186 else
12187
12188 cat >>confdefs.h <<_ACEOF
12189 #define dev_t unsigned
12190 _ACEOF
12191
12192 fi
12193
12194
12195 { $as_echo "$as_me:$LINENO: checking for rlim_t" >&5
12196 $as_echo_n "checking for rlim_t... " >&6; }
12197 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then
12198 { $as_echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
12199 $as_echo "(cached) $ac_cv_type_rlim_t" >&6; }
12200 else
12201 cat >conftest.$ac_ext <<_ACEOF
12202 /* confdefs.h. */
12203 _ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 cat >>conftest.$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
11514 12207
11515 #include <sys/types.h> 12208 #include <sys/types.h>
11516 #if STDC_HEADERS 12209 #if STDC_HEADERS
11517 #include <stdlib.h> 12210 # include <stdlib.h>
11518 #include <stddef.h> 12211 # include <stddef.h>
11519 #endif 12212 #endif
11520 #ifdef HAVE_SYS_RESOURCE_H 12213 #ifdef HAVE_SYS_RESOURCE_H
11521 #include <sys/resource.h> 12214 # include <sys/resource.h>
11522 #endif 12215 #endif
11523 12216
11524 _ACEOF 12217 _ACEOF
11525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11526 $EGREP "(^|[^a-zA-Z_0-9])rlim_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 12219 $EGREP "(^|[^a-zA-Z_0-9])rlim_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
11528 else 12221 else
11529 ac_cv_type_rlim_t=no 12222 ac_cv_type_rlim_t=no
11530 fi 12223 fi
11531 rm -f conftest* 12224 rm -f conftest*
11532 12225
11533 echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5 12226 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
11534 echo "${ECHO_T}$ac_cv_type_rlim_t" >&6 12227 $as_echo "$ac_cv_type_rlim_t" >&6; }
11535 fi 12228 fi
11536 if test $ac_cv_type_rlim_t = no; then 12229 if test $ac_cv_type_rlim_t = no; then
11537 cat >> confdefs.h <<\EOF 12230 cat >> confdefs.h <<\EOF
11538 #define rlim_t unsigned long 12231 #define rlim_t unsigned long
11539 EOF 12232 EOF
11540 fi 12233 fi
11541 12234
11542 echo "$as_me:$LINENO: checking for stack_t" >&5 12235 { $as_echo "$as_me:$LINENO: checking for stack_t" >&5
11543 echo $ECHO_N "checking for stack_t... $ECHO_C" >&6 12236 $as_echo_n "checking for stack_t... " >&6; }
11544 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then 12237 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then
11545 echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5 12238 { $as_echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
11546 echo "${ECHO_T}(cached) $ac_cv_type_stack_t" >&6 12239 $as_echo "(cached) $ac_cv_type_stack_t" >&6; }
11547 else 12240 else
11548 cat >conftest.$ac_ext <<_ACEOF 12241 cat >conftest.$ac_ext <<_ACEOF
11549 /* confdefs.h. */ 12242 /* confdefs.h. */
11550 _ACEOF 12243 _ACEOF
11551 cat confdefs.h >>conftest.$ac_ext 12244 cat confdefs.h >>conftest.$ac_ext
11552 cat >>conftest.$ac_ext <<_ACEOF 12245 cat >>conftest.$ac_ext <<_ACEOF
11553 /* end confdefs.h. */ 12246 /* end confdefs.h. */
11554 12247
11555 #include <sys/types.h> 12248 #include <sys/types.h>
11556 #if STDC_HEADERS 12249 #if STDC_HEADERS
11557 #include <stdlib.h> 12250 # include <stdlib.h>
11558 #include <stddef.h> 12251 # include <stddef.h>
11559 #endif 12252 #endif
11560 #include <signal.h> 12253 #include <signal.h>
11561 12254
11562 _ACEOF 12255 _ACEOF
11563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11566 else 12259 else
11567 ac_cv_type_stack_t=no 12260 ac_cv_type_stack_t=no
11568 fi 12261 fi
11569 rm -f conftest* 12262 rm -f conftest*
11570 12263
11571 echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5 12264 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
11572 echo "${ECHO_T}$ac_cv_type_stack_t" >&6 12265 $as_echo "$ac_cv_type_stack_t" >&6; }
11573 fi 12266 fi
11574 if test $ac_cv_type_stack_t = no; then 12267 if test $ac_cv_type_stack_t = no; then
11575 cat >> confdefs.h <<\EOF 12268 cat >> confdefs.h <<\EOF
11576 #define stack_t struct sigaltstack 12269 #define stack_t struct sigaltstack
11577 EOF 12270 EOF
11578 fi 12271 fi
11579 12272
11580 echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5 12273 { $as_echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
11581 echo $ECHO_N "checking whether stack_t has an ss_base field... $ECHO_C" >&6 12274 $as_echo_n "checking whether stack_t has an ss_base field... " >&6; }
11582 cat >conftest.$ac_ext <<_ACEOF 12275 cat >conftest.$ac_ext <<_ACEOF
11583 /* confdefs.h. */ 12276 /* confdefs.h. */
11584 _ACEOF 12277 _ACEOF
11585 cat confdefs.h >>conftest.$ac_ext 12278 cat confdefs.h >>conftest.$ac_ext
11586 cat >>conftest.$ac_ext <<_ACEOF 12279 cat >>conftest.$ac_ext <<_ACEOF
11587 /* end confdefs.h. */ 12280 /* end confdefs.h. */
11588 12281
11589 #include <sys/types.h> 12282 #include <sys/types.h>
11590 #if STDC_HEADERS 12283 #if STDC_HEADERS
11591 #include <stdlib.h> 12284 # include <stdlib.h>
11592 #include <stddef.h> 12285 # include <stddef.h>
11593 #endif 12286 #endif
11594 #include <signal.h> 12287 #include <signal.h>
11595 #include "confdefs.h" 12288 #include "confdefs.h"
11596 12289
11597 int 12290 int
11601 ; 12294 ;
11602 return 0; 12295 return 0;
11603 } 12296 }
11604 _ACEOF 12297 _ACEOF
11605 rm -f conftest.$ac_objext 12298 rm -f conftest.$ac_objext
11606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 12299 if { (ac_try="$ac_compile"
11607 (eval $ac_compile) 2>conftest.er1 12300 case "(($ac_try" in
12301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12302 *) ac_try_echo=$ac_try;;
12303 esac
12304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12305 $as_echo "$ac_try_echo") >&5
12306 (eval "$ac_compile") 2>conftest.er1
11608 ac_status=$? 12307 ac_status=$?
11609 grep -v '^ *+' conftest.er1 >conftest.err 12308 grep -v '^ *+' conftest.er1 >conftest.err
11610 rm -f conftest.er1 12309 rm -f conftest.er1
11611 cat conftest.err >&5 12310 cat conftest.err >&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } && 12312 (exit $ac_status); } && {
11614 { ac_try='test -z "$ac_c_werror_flag" 12313 test -z "$ac_c_werror_flag" ||
11615 || test ! -s conftest.err' 12314 test ! -s conftest.err
11616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12315 } && test -s conftest.$ac_objext; then
11617 (eval $ac_try) 2>&5 12316 { $as_echo "$as_me:$LINENO: result: yes" >&5
11618 ac_status=$? 12317 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; } &&
11621 { ac_try='test -s conftest.$ac_objext'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11624 ac_status=$?
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; }; then
11627 echo "$as_me:$LINENO: result: yes" >&5
11628 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
11629 #define HAVE_SS_BASE 1 12318 #define HAVE_SS_BASE 1
11630 _ACEOF 12319 _ACEOF
11631 12320
11632 else 12321 else
11633 echo "$as_me: failed program was:" >&5 12322 $as_echo "$as_me: failed program was:" >&5
11634 sed 's/^/| /' conftest.$ac_ext >&5 12323 sed 's/^/| /' conftest.$ac_ext >&5
11635 12324
11636 echo "$as_me:$LINENO: result: no" >&5 12325 { $as_echo "$as_me:$LINENO: result: no" >&5
11637 echo "${ECHO_T}no" >&6 12326 $as_echo "no" >&6; }
11638 fi 12327 fi
11639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 12328
12329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11640 12330
11641 olibs="$LIBS" 12331 olibs="$LIBS"
11642 echo "$as_me:$LINENO: checking --with-tlib argument" >&5 12332 { $as_echo "$as_me:$LINENO: checking --with-tlib argument" >&5
11643 echo $ECHO_N "checking --with-tlib argument... $ECHO_C" >&6 12333 $as_echo_n "checking --with-tlib argument... " >&6; }
11644 12334
11645 # Check whether --with-tlib or --without-tlib was given. 12335 # Check whether --with-tlib was given.
11646 if test "${with_tlib+set}" = set; then 12336 if test "${with_tlib+set}" = set; then
11647 withval="$with_tlib" 12337 withval=$with_tlib;
11648 12338 fi
11649 fi; 12339
11650 if test -n "$with_tlib"; then 12340 if test -n "$with_tlib"; then
11651 echo "$as_me:$LINENO: result: $with_tlib" >&5 12341 { $as_echo "$as_me:$LINENO: result: $with_tlib" >&5
11652 echo "${ECHO_T}$with_tlib" >&6 12342 $as_echo "$with_tlib" >&6; }
11653 LIBS="$LIBS -l$with_tlib" 12343 LIBS="$LIBS -l$with_tlib"
11654 echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5 12344 { $as_echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
11655 echo $ECHO_N "checking for linking with $with_tlib library... $ECHO_C" >&6 12345 $as_echo_n "checking for linking with $with_tlib library... " >&6; }
11656 cat >conftest.$ac_ext <<_ACEOF 12346 cat >conftest.$ac_ext <<_ACEOF
11657 /* confdefs.h. */ 12347 /* confdefs.h. */
11658 _ACEOF 12348 _ACEOF
11659 cat confdefs.h >>conftest.$ac_ext 12349 cat confdefs.h >>conftest.$ac_ext
11660 cat >>conftest.$ac_ext <<_ACEOF 12350 cat >>conftest.$ac_ext <<_ACEOF
11667 ; 12357 ;
11668 return 0; 12358 return 0;
11669 } 12359 }
11670 _ACEOF 12360 _ACEOF
11671 rm -f conftest.$ac_objext conftest$ac_exeext 12361 rm -f conftest.$ac_objext conftest$ac_exeext
11672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12362 if { (ac_try="$ac_link"
11673 (eval $ac_link) 2>conftest.er1 12363 case "(($ac_try" in
12364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12365 *) ac_try_echo=$ac_try;;
12366 esac
12367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12368 $as_echo "$ac_try_echo") >&5
12369 (eval "$ac_link") 2>conftest.er1
11674 ac_status=$? 12370 ac_status=$?
11675 grep -v '^ *+' conftest.er1 >conftest.err 12371 grep -v '^ *+' conftest.er1 >conftest.err
11676 rm -f conftest.er1 12372 rm -f conftest.er1
11677 cat conftest.err >&5 12373 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } && 12375 (exit $ac_status); } && {
11680 { ac_try='test -z "$ac_c_werror_flag" 12376 test -z "$ac_c_werror_flag" ||
11681 || test ! -s conftest.err' 12377 test ! -s conftest.err
11682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12378 } && test -s conftest$ac_exeext && {
11683 (eval $ac_try) 2>&5 12379 test "$cross_compiling" = yes ||
11684 ac_status=$? 12380 $as_test_x conftest$ac_exeext
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12381 }; then
11686 (exit $ac_status); }; } && 12382 { $as_echo "$as_me:$LINENO: result: OK" >&5
11687 { ac_try='test -s conftest$ac_exeext' 12383 $as_echo "OK" >&6; }
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12384 else
11689 (eval $ac_try) 2>&5 12385 $as_echo "$as_me: failed program was:" >&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; }; then
11693 echo "$as_me:$LINENO: result: OK" >&5
11694 echo "${ECHO_T}OK" >&6
11695 else
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.$ac_ext >&5 12386 sed 's/^/| /' conftest.$ac_ext >&5
11698 12387
11699 { { echo "$as_me:$LINENO: error: FAILED" >&5 12388 { { $as_echo "$as_me:$LINENO: error: FAILED" >&5
11700 echo "$as_me: error: FAILED" >&2;} 12389 $as_echo "$as_me: error: FAILED" >&2;}
11701 { (exit 1); exit 1; }; } 12390 { (exit 1); exit 1; }; }
11702 fi 12391 fi
11703 rm -f conftest.err conftest.$ac_objext \ 12392
12393 rm -rf conftest.dSYM
12394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11704 conftest$ac_exeext conftest.$ac_ext 12395 conftest$ac_exeext conftest.$ac_ext
11705 olibs="$LIBS" 12396 olibs="$LIBS"
11706 else 12397 else
11707 echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5 12398 { $as_echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
11708 echo "${ECHO_T}empty: automatic terminal library selection" >&6 12399 $as_echo "empty: automatic terminal library selection" >&6; }
11709 case "`uname -s 2>/dev/null`" in 12400 case "`uname -s 2>/dev/null`" in
11710 OSF1|SCO_SV) tlibs="ncurses curses termlib termcap";; 12401 OSF1|SCO_SV) tlibs="ncurses curses termlib termcap";;
11711 *) tlibs="ncurses termlib termcap curses";; 12402 *) tlibs="ncurses termlib termcap curses";;
11712 esac 12403 esac
11713 for libname in $tlibs; do 12404 for libname in $tlibs; do
11714 12405
11715 as_ac_Lib=`echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh` 12406 as_ac_Lib=`$as_echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
11716 echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5 12407 { $as_echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
11717 echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6 12408 $as_echo_n "checking for tgetent in -l${libname}... " >&6; }
11718 if eval "test \"\${$as_ac_Lib+set}\" = set"; then 12409 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
11719 echo $ECHO_N "(cached) $ECHO_C" >&6 12410 $as_echo_n "(cached) " >&6
11720 else 12411 else
11721 ac_check_lib_save_LIBS=$LIBS 12412 ac_check_lib_save_LIBS=$LIBS
11722 LIBS="-l${libname} $LIBS" 12413 LIBS="-l${libname} $LIBS"
11723 cat >conftest.$ac_ext <<_ACEOF 12414 cat >conftest.$ac_ext <<_ACEOF
11724 /* confdefs.h. */ 12415 /* confdefs.h. */
11725 _ACEOF 12416 _ACEOF
11726 cat confdefs.h >>conftest.$ac_ext 12417 cat confdefs.h >>conftest.$ac_ext
11727 cat >>conftest.$ac_ext <<_ACEOF 12418 cat >>conftest.$ac_ext <<_ACEOF
11728 /* end confdefs.h. */ 12419 /* end confdefs.h. */
11729 12420
11730 /* Override any gcc2 internal prototype to avoid an error. */ 12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
11731 #ifdef __cplusplus 12424 #ifdef __cplusplus
11732 extern "C" 12425 extern "C"
11733 #endif 12426 #endif
11734 /* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */
11736 char tgetent (); 12427 char tgetent ();
11737 int 12428 int
11738 main () 12429 main ()
11739 { 12430 {
11740 tgetent (); 12431 return tgetent ();
11741 ; 12432 ;
11742 return 0; 12433 return 0;
11743 } 12434 }
11744 _ACEOF 12435 _ACEOF
11745 rm -f conftest.$ac_objext conftest$ac_exeext 12436 rm -f conftest.$ac_objext conftest$ac_exeext
11746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12437 if { (ac_try="$ac_link"
11747 (eval $ac_link) 2>conftest.er1 12438 case "(($ac_try" in
12439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12440 *) ac_try_echo=$ac_try;;
12441 esac
12442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12443 $as_echo "$ac_try_echo") >&5
12444 (eval "$ac_link") 2>conftest.er1
11748 ac_status=$? 12445 ac_status=$?
11749 grep -v '^ *+' conftest.er1 >conftest.err 12446 grep -v '^ *+' conftest.er1 >conftest.err
11750 rm -f conftest.er1 12447 rm -f conftest.er1
11751 cat conftest.err >&5 12448 cat conftest.err >&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); } && 12450 (exit $ac_status); } && {
11754 { ac_try='test -z "$ac_c_werror_flag" 12451 test -z "$ac_c_werror_flag" ||
11755 || test ! -s conftest.err' 12452 test ! -s conftest.err
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12453 } && test -s conftest$ac_exeext && {
11757 (eval $ac_try) 2>&5 12454 test "$cross_compiling" = yes ||
11758 ac_status=$? 12455 $as_test_x conftest$ac_exeext
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12456 }; then
11760 (exit $ac_status); }; } &&
11761 { ac_try='test -s conftest$ac_exeext'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11764 ac_status=$?
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; }; then
11767 eval "$as_ac_Lib=yes" 12457 eval "$as_ac_Lib=yes"
11768 else 12458 else
11769 echo "$as_me: failed program was:" >&5 12459 $as_echo "$as_me: failed program was:" >&5
11770 sed 's/^/| /' conftest.$ac_ext >&5 12460 sed 's/^/| /' conftest.$ac_ext >&5
11771 12461
11772 eval "$as_ac_Lib=no" 12462 eval "$as_ac_Lib=no"
11773 fi 12463 fi
11774 rm -f conftest.err conftest.$ac_objext \ 12464
12465 rm -rf conftest.dSYM
12466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11775 conftest$ac_exeext conftest.$ac_ext 12467 conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_lib_save_LIBS 12468 LIBS=$ac_check_lib_save_LIBS
11777 fi 12469 fi
11778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 12470 ac_res=`eval 'as_val=${'$as_ac_Lib'}
11779 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 12471 $as_echo "$as_val"'`
11780 if test `eval echo '${'$as_ac_Lib'}'` = yes; then 12472 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12473 $as_echo "$ac_res" >&6; }
12474 if test `eval 'as_val=${'$as_ac_Lib'}
12475 $as_echo "$as_val"'` = yes; then
11781 cat >>confdefs.h <<_ACEOF 12476 cat >>confdefs.h <<_ACEOF
11782 #define `echo "HAVE_LIB${libname}" | $as_tr_cpp` 1 12477 #define `$as_echo "HAVE_LIB${libname}" | $as_tr_cpp` 1
11783 _ACEOF 12478 _ACEOF
11784 12479
11785 LIBS="-l${libname} $LIBS" 12480 LIBS="-l${libname} $LIBS"
11786 12481
11787 fi 12482 fi
11798 /* end confdefs.h. */ 12493 /* end confdefs.h. */
11799 12494
11800 #ifdef HAVE_TERMCAP_H 12495 #ifdef HAVE_TERMCAP_H
11801 # include <termcap.h> 12496 # include <termcap.h>
11802 #endif 12497 #endif
12498 #if STDC_HEADERS
12499 # include <stdlib.h>
12500 # include <stddef.h>
12501 #endif
11803 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } 12502 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }
11804 _ACEOF 12503 _ACEOF
11805 rm -f conftest$ac_exeext 12504 rm -f conftest$ac_exeext
11806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12505 if { (ac_try="$ac_link"
11807 (eval $ac_link) 2>&5 12506 case "(($ac_try" in
12507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12508 *) ac_try_echo=$ac_try;;
12509 esac
12510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12511 $as_echo "$ac_try_echo") >&5
12512 (eval "$ac_link") 2>&5
11808 ac_status=$? 12513 ac_status=$?
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12515 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12516 { (case "(($ac_try" in
11812 (eval $ac_try) 2>&5 12517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12518 *) ac_try_echo=$ac_try;;
12519 esac
12520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12521 $as_echo "$ac_try_echo") >&5
12522 (eval "$ac_try") 2>&5
11813 ac_status=$? 12523 ac_status=$?
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); }; }; then 12525 (exit $ac_status); }; }; then
11816 res="OK" 12526 res="OK"
11817 else 12527 else
11818 echo "$as_me: program exited with status $ac_status" >&5 12528 $as_echo "$as_me: program exited with status $ac_status" >&5
11819 echo "$as_me: failed program was:" >&5 12529 $as_echo "$as_me: failed program was:" >&5
11820 sed 's/^/| /' conftest.$ac_ext >&5 12530 sed 's/^/| /' conftest.$ac_ext >&5
11821 12531
11822 ( exit $ac_status ) 12532 ( exit $ac_status )
11823 res="FAIL" 12533 res="FAIL"
11824 fi 12534 fi
11825 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12535 rm -rf conftest.dSYM
11826 fi 12536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12537 fi
12538
12539
11827 if test "$res" = "OK"; then 12540 if test "$res" = "OK"; then
11828 break 12541 break
11829 fi 12542 fi
11830 echo "$as_me:$LINENO: result: $libname library is not usable" >&5 12543 { $as_echo "$as_me:$LINENO: result: $libname library is not usable" >&5
11831 echo "${ECHO_T}$libname library is not usable" >&6 12544 $as_echo "$libname library is not usable" >&6; }
11832 LIBS="$olibs" 12545 LIBS="$olibs"
11833 fi 12546 fi
11834 done 12547 done
11835 if test "x$olibs" = "x$LIBS"; then 12548 if test "x$olibs" = "x$LIBS"; then
11836 echo "$as_me:$LINENO: result: no terminal library found" >&5 12549 { $as_echo "$as_me:$LINENO: result: no terminal library found" >&5
11837 echo "${ECHO_T}no terminal library found" >&6 12550 $as_echo "no terminal library found" >&6; }
11838 fi 12551 fi
11839 fi 12552 fi
11840 12553
11841 if test "x$olibs" = "x$LIBS"; then 12554 if test "x$olibs" = "x$LIBS"; then
11842 echo "$as_me:$LINENO: checking for tgetent()" >&5 12555 { $as_echo "$as_me:$LINENO: checking for tgetent()" >&5
11843 echo $ECHO_N "checking for tgetent()... $ECHO_C" >&6 12556 $as_echo_n "checking for tgetent()... " >&6; }
11844 cat >conftest.$ac_ext <<_ACEOF 12557 cat >conftest.$ac_ext <<_ACEOF
11845 /* confdefs.h. */ 12558 /* confdefs.h. */
11846 _ACEOF 12559 _ACEOF
11847 cat confdefs.h >>conftest.$ac_ext 12560 cat confdefs.h >>conftest.$ac_ext
11848 cat >>conftest.$ac_ext <<_ACEOF 12561 cat >>conftest.$ac_ext <<_ACEOF
11855 ; 12568 ;
11856 return 0; 12569 return 0;
11857 } 12570 }
11858 _ACEOF 12571 _ACEOF
11859 rm -f conftest.$ac_objext conftest$ac_exeext 12572 rm -f conftest.$ac_objext conftest$ac_exeext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12573 if { (ac_try="$ac_link"
11861 (eval $ac_link) 2>conftest.er1 12574 case "(($ac_try" in
12575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12576 *) ac_try_echo=$ac_try;;
12577 esac
12578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12579 $as_echo "$ac_try_echo") >&5
12580 (eval "$ac_link") 2>conftest.er1
11862 ac_status=$? 12581 ac_status=$?
11863 grep -v '^ *+' conftest.er1 >conftest.err 12582 grep -v '^ *+' conftest.er1 >conftest.err
11864 rm -f conftest.er1 12583 rm -f conftest.er1
11865 cat conftest.err >&5 12584 cat conftest.err >&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && 12586 (exit $ac_status); } && {
11868 { ac_try='test -z "$ac_c_werror_flag" 12587 test -z "$ac_c_werror_flag" ||
11869 || test ! -s conftest.err' 12588 test ! -s conftest.err
11870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12589 } && test -s conftest$ac_exeext && {
11871 (eval $ac_try) 2>&5 12590 test "$cross_compiling" = yes ||
11872 ac_status=$? 12591 $as_test_x conftest$ac_exeext
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12592 }; then
11874 (exit $ac_status); }; } && 12593 { $as_echo "$as_me:$LINENO: result: yes" >&5
11875 { ac_try='test -s conftest$ac_exeext' 12594 $as_echo "yes" >&6; }
11876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12595 else
11877 (eval $ac_try) 2>&5 12596 $as_echo "$as_me: failed program was:" >&5
11878 ac_status=$?
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); }; }; then
11881 echo "$as_me:$LINENO: result: yes" >&5
11882 echo "${ECHO_T}yes" >&6
11883 else
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.$ac_ext >&5 12597 sed 's/^/| /' conftest.$ac_ext >&5
11886 12598
11887 { { echo "$as_me:$LINENO: error: NOT FOUND! 12599 { { $as_echo "$as_me:$LINENO: error: NOT FOUND!
11888 You need to install a terminal library; for example ncurses. 12600 You need to install a terminal library; for example ncurses.
11889 Or specify the name of the library with --with-tlib." >&5 12601 Or specify the name of the library with --with-tlib." >&5
11890 echo "$as_me: error: NOT FOUND! 12602 $as_echo "$as_me: error: NOT FOUND!
11891 You need to install a terminal library; for example ncurses. 12603 You need to install a terminal library; for example ncurses.
11892 Or specify the name of the library with --with-tlib." >&2;} 12604 Or specify the name of the library with --with-tlib." >&2;}
11893 { (exit 1); exit 1; }; } 12605 { (exit 1); exit 1; }; }
11894 fi 12606 fi
11895 rm -f conftest.err conftest.$ac_objext \ 12607
12608 rm -rf conftest.dSYM
12609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11896 conftest$ac_exeext conftest.$ac_ext 12610 conftest$ac_exeext conftest.$ac_ext
11897 fi 12611 fi
11898 12612
11899 echo "$as_me:$LINENO: checking whether we talk terminfo" >&5 12613 { $as_echo "$as_me:$LINENO: checking whether we talk terminfo" >&5
11900 echo $ECHO_N "checking whether we talk terminfo... $ECHO_C" >&6 12614 $as_echo_n "checking whether we talk terminfo... " >&6; }
11901 if test "$cross_compiling" = yes; then 12615 if test "${vim_cv_terminfo+set}" = set; then
11902 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5 12616 $as_echo_n "(cached) " >&6
11903 echo "$as_me: error: failed to compile test program." >&2;} 12617 else
12618
12619 if test "$cross_compiling" = yes; then
12620
12621 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_terminfo'" >&5
12622 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_terminfo'" >&2;}
11904 { (exit 1); exit 1; }; } 12623 { (exit 1); exit 1; }; }
12624
11905 else 12625 else
11906 cat >conftest.$ac_ext <<_ACEOF 12626 cat >conftest.$ac_ext <<_ACEOF
11907 /* confdefs.h. */ 12627
11908 _ACEOF 12628 #include "confdefs.h"
11909 cat confdefs.h >>conftest.$ac_ext
11910 cat >>conftest.$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11912
11913 #ifdef HAVE_TERMCAP_H 12629 #ifdef HAVE_TERMCAP_H
11914 # include <termcap.h> 12630 # include <termcap.h>
11915 #endif 12631 #endif
12632 #ifdef HAVE_STRING_H
12633 # include <string.h>
12634 #endif
12635 #if STDC_HEADERS
12636 # include <stdlib.h>
12637 # include <stddef.h>
12638 #endif
11916 main() 12639 main()
11917 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } 12640 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
12641
11918 _ACEOF 12642 _ACEOF
11919 rm -f conftest$ac_exeext 12643 rm -f conftest$ac_exeext
11920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12644 if { (ac_try="$ac_link"
11921 (eval $ac_link) 2>&5 12645 case "(($ac_try" in
12646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12647 *) ac_try_echo=$ac_try;;
12648 esac
12649 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12650 $as_echo "$ac_try_echo") >&5
12651 (eval "$ac_link") 2>&5
11922 ac_status=$? 12652 ac_status=$?
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12655 { (case "(($ac_try" in
11926 (eval $ac_try) 2>&5 12656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657 *) ac_try_echo=$ac_try;;
12658 esac
12659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12660 $as_echo "$ac_try_echo") >&5
12661 (eval "$ac_try") 2>&5
11927 ac_status=$? 12662 ac_status=$?
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then 12664 (exit $ac_status); }; }; then
11930 echo "$as_me:$LINENO: result: no -- we are in termcap land" >&5 12665
11931 echo "${ECHO_T}no -- we are in termcap land" >&6 12666 vim_cv_terminfo=no
11932 else 12667
11933 echo "$as_me: program exited with status $ac_status" >&5 12668 else
11934 echo "$as_me: failed program was:" >&5 12669 $as_echo "$as_me: program exited with status $ac_status" >&5
12670 $as_echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.$ac_ext >&5 12671 sed 's/^/| /' conftest.$ac_ext >&5
11936 12672
11937 ( exit $ac_status ) 12673 ( exit $ac_status )
11938 echo "$as_me:$LINENO: result: yes -- terminfo spoken here" >&5 12674
11939 echo "${ECHO_T}yes -- terminfo spoken here" >&6; cat >>confdefs.h <<\_ACEOF 12675 vim_cv_terminfo=yes
12676
12677 fi
12678 rm -rf conftest.dSYM
12679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12680 fi
12681
12682
12683
12684 fi
12685 { $as_echo "$as_me:$LINENO: result: $vim_cv_terminfo" >&5
12686 $as_echo "$vim_cv_terminfo" >&6; }
12687
12688 if test "x$vim_cv_terminfo" = "xyes" ; then
12689 cat >>confdefs.h <<\_ACEOF
11940 #define TERMINFO 1 12690 #define TERMINFO 1
11941 _ACEOF 12691 _ACEOF
11942 12692
11943 fi 12693 fi
11944 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11945 fi
11946 12694
11947 if test "x$olibs" != "x$LIBS"; then 12695 if test "x$olibs" != "x$LIBS"; then
11948 echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5 12696 { $as_echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5
11949 echo $ECHO_N "checking what tgetent() returns for an unknown terminal... $ECHO_C" >&6 12697 $as_echo_n "checking what tgetent() returns for an unknown terminal... " >&6; }
11950 if test "$cross_compiling" = yes; then 12698 if test "${vim_cv_tgent+set}" = set; then
11951 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5 12699 $as_echo_n "(cached) " >&6
11952 echo "$as_me: error: failed to compile test program." >&2;} 12700 else
12701
12702 if test "$cross_compiling" = yes; then
12703
12704 { { $as_echo "$as_me:$LINENO: error: failed to compile test program." >&5
12705 $as_echo "$as_me: error: failed to compile test program." >&2;}
11953 { (exit 1); exit 1; }; } 12706 { (exit 1); exit 1; }; }
12707
11954 else 12708 else
11955 cat >conftest.$ac_ext <<_ACEOF 12709 cat >conftest.$ac_ext <<_ACEOF
11956 /* confdefs.h. */ 12710
11957 _ACEOF 12711 #include "confdefs.h"
11958 cat confdefs.h >>conftest.$ac_ext
11959 cat >>conftest.$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11961
11962 #ifdef HAVE_TERMCAP_H 12712 #ifdef HAVE_TERMCAP_H
11963 # include <termcap.h> 12713 # include <termcap.h>
11964 #endif 12714 #endif
12715 #if STDC_HEADERS
12716 # include <stdlib.h>
12717 # include <stddef.h>
12718 #endif
11965 main() 12719 main()
11966 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } 12720 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
12721
11967 _ACEOF 12722 _ACEOF
11968 rm -f conftest$ac_exeext 12723 rm -f conftest$ac_exeext
11969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12724 if { (ac_try="$ac_link"
11970 (eval $ac_link) 2>&5 12725 case "(($ac_try" in
12726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12727 *) ac_try_echo=$ac_try;;
12728 esac
12729 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12730 $as_echo "$ac_try_echo") >&5
12731 (eval "$ac_link") 2>&5
11971 ac_status=$? 12732 ac_status=$?
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12735 { (case "(($ac_try" in
11975 (eval $ac_try) 2>&5 12736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12737 *) ac_try_echo=$ac_try;;
12738 esac
12739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12740 $as_echo "$ac_try_echo") >&5
12741 (eval "$ac_try") 2>&5
11976 ac_status=$? 12742 ac_status=$?
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; }; then 12744 (exit $ac_status); }; }; then
11979 echo "$as_me:$LINENO: result: zero" >&5 12745
11980 echo "${ECHO_T}zero" >&6; cat >>confdefs.h <<\_ACEOF 12746 vim_cv_tgent=zero
12747
12748 else
12749 $as_echo "$as_me: program exited with status $ac_status" >&5
12750 $as_echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12752
12753 ( exit $ac_status )
12754
12755 vim_cv_tgent=non-zero
12756
12757 fi
12758 rm -rf conftest.dSYM
12759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12760 fi
12761
12762
12763
12764 fi
12765 { $as_echo "$as_me:$LINENO: result: $vim_cv_tgent" >&5
12766 $as_echo "$vim_cv_tgent" >&6; }
12767
12768 if test "x$vim_cv_tgent" = "xzero" ; then
12769 cat >>confdefs.h <<\_ACEOF
11981 #define TGETENT_ZERO_ERR 0 12770 #define TGETENT_ZERO_ERR 0
11982 _ACEOF 12771 _ACEOF
11983 12772
11984 else 12773 fi
11985 echo "$as_me: program exited with status $ac_status" >&5 12774 fi
11986 echo "$as_me: failed program was:" >&5 12775
11987 sed 's/^/| /' conftest.$ac_ext >&5 12776 { $as_echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
11988 12777 $as_echo_n "checking whether termcap.h contains ospeed... " >&6; }
11989 ( exit $ac_status )
11990 echo "$as_me:$LINENO: result: non-zero" >&5
11991 echo "${ECHO_T}non-zero" >&6
11992 fi
11993 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11994 fi
11995 fi
11996
11997 echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
11998 echo $ECHO_N "checking whether termcap.h contains ospeed... $ECHO_C" >&6
11999 cat >conftest.$ac_ext <<_ACEOF 12778 cat >conftest.$ac_ext <<_ACEOF
12000 /* confdefs.h. */ 12779 /* confdefs.h. */
12001 _ACEOF 12780 _ACEOF
12002 cat confdefs.h >>conftest.$ac_ext 12781 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF 12782 cat >>conftest.$ac_ext <<_ACEOF
12014 ; 12793 ;
12015 return 0; 12794 return 0;
12016 } 12795 }
12017 _ACEOF 12796 _ACEOF
12018 rm -f conftest.$ac_objext conftest$ac_exeext 12797 rm -f conftest.$ac_objext conftest$ac_exeext
12019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12798 if { (ac_try="$ac_link"
12020 (eval $ac_link) 2>conftest.er1 12799 case "(($ac_try" in
12800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12801 *) ac_try_echo=$ac_try;;
12802 esac
12803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12804 $as_echo "$ac_try_echo") >&5
12805 (eval "$ac_link") 2>conftest.er1
12021 ac_status=$? 12806 ac_status=$?
12022 grep -v '^ *+' conftest.er1 >conftest.err 12807 grep -v '^ *+' conftest.er1 >conftest.err
12023 rm -f conftest.er1 12808 rm -f conftest.er1
12024 cat conftest.err >&5 12809 cat conftest.err >&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); } && 12811 (exit $ac_status); } && {
12027 { ac_try='test -z "$ac_c_werror_flag" 12812 test -z "$ac_c_werror_flag" ||
12028 || test ! -s conftest.err' 12813 test ! -s conftest.err
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12814 } && test -s conftest$ac_exeext && {
12030 (eval $ac_try) 2>&5 12815 test "$cross_compiling" = yes ||
12031 ac_status=$? 12816 $as_test_x conftest$ac_exeext
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12817 }; then
12033 (exit $ac_status); }; } && 12818 { $as_echo "$as_me:$LINENO: result: yes" >&5
12034 { ac_try='test -s conftest$ac_exeext' 12819 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12037 ac_status=$?
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; }; then
12040 echo "$as_me:$LINENO: result: yes" >&5
12041 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
12042 #define HAVE_OSPEED 1 12820 #define HAVE_OSPEED 1
12043 _ACEOF 12821 _ACEOF
12044 12822
12045 else 12823 else
12046 echo "$as_me: failed program was:" >&5 12824 $as_echo "$as_me: failed program was:" >&5
12047 sed 's/^/| /' conftest.$ac_ext >&5 12825 sed 's/^/| /' conftest.$ac_ext >&5
12048 12826
12049 echo "$as_me:$LINENO: result: no" >&5 12827 { $as_echo "$as_me:$LINENO: result: no" >&5
12050 echo "${ECHO_T}no" >&6 12828 $as_echo "no" >&6; }
12051 echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5 12829 { $as_echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
12052 echo $ECHO_N "checking whether ospeed can be extern... $ECHO_C" >&6 12830 $as_echo_n "checking whether ospeed can be extern... " >&6; }
12053 cat >conftest.$ac_ext <<_ACEOF 12831 cat >conftest.$ac_ext <<_ACEOF
12054 /* confdefs.h. */ 12832 /* confdefs.h. */
12055 _ACEOF 12833 _ACEOF
12056 cat confdefs.h >>conftest.$ac_ext 12834 cat confdefs.h >>conftest.$ac_ext
12057 cat >>conftest.$ac_ext <<_ACEOF 12835 cat >>conftest.$ac_ext <<_ACEOF
12069 ; 12847 ;
12070 return 0; 12848 return 0;
12071 } 12849 }
12072 _ACEOF 12850 _ACEOF
12073 rm -f conftest.$ac_objext conftest$ac_exeext 12851 rm -f conftest.$ac_objext conftest$ac_exeext
12074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12852 if { (ac_try="$ac_link"
12075 (eval $ac_link) 2>conftest.er1 12853 case "(($ac_try" in
12854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12855 *) ac_try_echo=$ac_try;;
12856 esac
12857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12858 $as_echo "$ac_try_echo") >&5
12859 (eval "$ac_link") 2>conftest.er1
12076 ac_status=$? 12860 ac_status=$?
12077 grep -v '^ *+' conftest.er1 >conftest.err 12861 grep -v '^ *+' conftest.er1 >conftest.err
12078 rm -f conftest.er1 12862 rm -f conftest.er1
12079 cat conftest.err >&5 12863 cat conftest.err >&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); } && 12865 (exit $ac_status); } && {
12082 { ac_try='test -z "$ac_c_werror_flag" 12866 test -z "$ac_c_werror_flag" ||
12083 || test ! -s conftest.err' 12867 test ! -s conftest.err
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12868 } && test -s conftest$ac_exeext && {
12085 (eval $ac_try) 2>&5 12869 test "$cross_compiling" = yes ||
12086 ac_status=$? 12870 $as_test_x conftest$ac_exeext
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12871 }; then
12088 (exit $ac_status); }; } && 12872 { $as_echo "$as_me:$LINENO: result: yes" >&5
12089 { ac_try='test -s conftest$ac_exeext' 12873 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12092 ac_status=$?
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; }; then
12095 echo "$as_me:$LINENO: result: yes" >&5
12096 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
12097 #define OSPEED_EXTERN 1 12874 #define OSPEED_EXTERN 1
12098 _ACEOF 12875 _ACEOF
12099 12876
12100 else 12877 else
12101 echo "$as_me: failed program was:" >&5 12878 $as_echo "$as_me: failed program was:" >&5
12102 sed 's/^/| /' conftest.$ac_ext >&5 12879 sed 's/^/| /' conftest.$ac_ext >&5
12103 12880
12104 echo "$as_me:$LINENO: result: no" >&5 12881 { $as_echo "$as_me:$LINENO: result: no" >&5
12105 echo "${ECHO_T}no" >&6 12882 $as_echo "no" >&6; }
12106 fi 12883 fi
12107 rm -f conftest.err conftest.$ac_objext \ 12884
12885 rm -rf conftest.dSYM
12886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12108 conftest$ac_exeext conftest.$ac_ext 12887 conftest$ac_exeext conftest.$ac_ext
12109 12888
12110 fi 12889 fi
12111 rm -f conftest.err conftest.$ac_objext \ 12890
12891 rm -rf conftest.dSYM
12892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12112 conftest$ac_exeext conftest.$ac_ext 12893 conftest$ac_exeext conftest.$ac_ext
12113 12894
12114 echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5 12895 { $as_echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
12115 echo $ECHO_N "checking whether termcap.h contains UP, BC and PC... $ECHO_C" >&6 12896 $as_echo_n "checking whether termcap.h contains UP, BC and PC... " >&6; }
12116 cat >conftest.$ac_ext <<_ACEOF 12897 cat >conftest.$ac_ext <<_ACEOF
12117 /* confdefs.h. */ 12898 /* confdefs.h. */
12118 _ACEOF 12899 _ACEOF
12119 cat confdefs.h >>conftest.$ac_ext 12900 cat confdefs.h >>conftest.$ac_ext
12120 cat >>conftest.$ac_ext <<_ACEOF 12901 cat >>conftest.$ac_ext <<_ACEOF
12131 ; 12912 ;
12132 return 0; 12913 return 0;
12133 } 12914 }
12134 _ACEOF 12915 _ACEOF
12135 rm -f conftest.$ac_objext conftest$ac_exeext 12916 rm -f conftest.$ac_objext conftest$ac_exeext
12136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12917 if { (ac_try="$ac_link"
12137 (eval $ac_link) 2>conftest.er1 12918 case "(($ac_try" in
12919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12920 *) ac_try_echo=$ac_try;;
12921 esac
12922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12923 $as_echo "$ac_try_echo") >&5
12924 (eval "$ac_link") 2>conftest.er1
12138 ac_status=$? 12925 ac_status=$?
12139 grep -v '^ *+' conftest.er1 >conftest.err 12926 grep -v '^ *+' conftest.er1 >conftest.err
12140 rm -f conftest.er1 12927 rm -f conftest.er1
12141 cat conftest.err >&5 12928 cat conftest.err >&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); } && 12930 (exit $ac_status); } && {
12144 { ac_try='test -z "$ac_c_werror_flag" 12931 test -z "$ac_c_werror_flag" ||
12145 || test ! -s conftest.err' 12932 test ! -s conftest.err
12146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12933 } && test -s conftest$ac_exeext && {
12147 (eval $ac_try) 2>&5 12934 test "$cross_compiling" = yes ||
12148 ac_status=$? 12935 $as_test_x conftest$ac_exeext
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12936 }; then
12150 (exit $ac_status); }; } && 12937 { $as_echo "$as_me:$LINENO: result: yes" >&5
12151 { ac_try='test -s conftest$ac_exeext' 12938 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12153 (eval $ac_try) 2>&5
12154 ac_status=$?
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); }; }; then
12157 echo "$as_me:$LINENO: result: yes" >&5
12158 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
12159 #define HAVE_UP_BC_PC 1 12939 #define HAVE_UP_BC_PC 1
12160 _ACEOF 12940 _ACEOF
12161 12941
12162 else 12942 else
12163 echo "$as_me: failed program was:" >&5 12943 $as_echo "$as_me: failed program was:" >&5
12164 sed 's/^/| /' conftest.$ac_ext >&5 12944 sed 's/^/| /' conftest.$ac_ext >&5
12165 12945
12166 echo "$as_me:$LINENO: result: no" >&5 12946 { $as_echo "$as_me:$LINENO: result: no" >&5
12167 echo "${ECHO_T}no" >&6 12947 $as_echo "no" >&6; }
12168 echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5 12948 { $as_echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
12169 echo $ECHO_N "checking whether UP, BC and PC can be extern... $ECHO_C" >&6 12949 $as_echo_n "checking whether UP, BC and PC can be extern... " >&6; }
12170 cat >conftest.$ac_ext <<_ACEOF 12950 cat >conftest.$ac_ext <<_ACEOF
12171 /* confdefs.h. */ 12951 /* confdefs.h. */
12172 _ACEOF 12952 _ACEOF
12173 cat confdefs.h >>conftest.$ac_ext 12953 cat confdefs.h >>conftest.$ac_ext
12174 cat >>conftest.$ac_ext <<_ACEOF 12954 cat >>conftest.$ac_ext <<_ACEOF
12186 ; 12966 ;
12187 return 0; 12967 return 0;
12188 } 12968 }
12189 _ACEOF 12969 _ACEOF
12190 rm -f conftest.$ac_objext conftest$ac_exeext 12970 rm -f conftest.$ac_objext conftest$ac_exeext
12191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12971 if { (ac_try="$ac_link"
12192 (eval $ac_link) 2>conftest.er1 12972 case "(($ac_try" in
12973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12974 *) ac_try_echo=$ac_try;;
12975 esac
12976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12977 $as_echo "$ac_try_echo") >&5
12978 (eval "$ac_link") 2>conftest.er1
12193 ac_status=$? 12979 ac_status=$?
12194 grep -v '^ *+' conftest.er1 >conftest.err 12980 grep -v '^ *+' conftest.er1 >conftest.err
12195 rm -f conftest.er1 12981 rm -f conftest.er1
12196 cat conftest.err >&5 12982 cat conftest.err >&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); } && 12984 (exit $ac_status); } && {
12199 { ac_try='test -z "$ac_c_werror_flag" 12985 test -z "$ac_c_werror_flag" ||
12200 || test ! -s conftest.err' 12986 test ! -s conftest.err
12201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12987 } && test -s conftest$ac_exeext && {
12202 (eval $ac_try) 2>&5 12988 test "$cross_compiling" = yes ||
12203 ac_status=$? 12989 $as_test_x conftest$ac_exeext
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12990 }; then
12205 (exit $ac_status); }; } && 12991 { $as_echo "$as_me:$LINENO: result: yes" >&5
12206 { ac_try='test -s conftest$ac_exeext' 12992 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12209 ac_status=$?
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 echo "$as_me:$LINENO: result: yes" >&5
12213 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
12214 #define UP_BC_PC_EXTERN 1 12993 #define UP_BC_PC_EXTERN 1
12215 _ACEOF 12994 _ACEOF
12216 12995
12217 else 12996 else
12218 echo "$as_me: failed program was:" >&5 12997 $as_echo "$as_me: failed program was:" >&5
12219 sed 's/^/| /' conftest.$ac_ext >&5 12998 sed 's/^/| /' conftest.$ac_ext >&5
12220 12999
12221 echo "$as_me:$LINENO: result: no" >&5 13000 { $as_echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6 13001 $as_echo "no" >&6; }
12223 fi 13002 fi
12224 rm -f conftest.err conftest.$ac_objext \ 13003
13004 rm -rf conftest.dSYM
13005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12225 conftest$ac_exeext conftest.$ac_ext 13006 conftest$ac_exeext conftest.$ac_ext
12226 13007
12227 fi 13008 fi
12228 rm -f conftest.err conftest.$ac_objext \ 13009
13010 rm -rf conftest.dSYM
13011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12229 conftest$ac_exeext conftest.$ac_ext 13012 conftest$ac_exeext conftest.$ac_ext
12230 13013
12231 echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5 13014 { $as_echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
12232 echo $ECHO_N "checking whether tputs() uses outfuntype... $ECHO_C" >&6 13015 $as_echo_n "checking whether tputs() uses outfuntype... " >&6; }
12233 cat >conftest.$ac_ext <<_ACEOF 13016 cat >conftest.$ac_ext <<_ACEOF
12234 /* confdefs.h. */ 13017 /* confdefs.h. */
12235 _ACEOF 13018 _ACEOF
12236 cat confdefs.h >>conftest.$ac_ext 13019 cat confdefs.h >>conftest.$ac_ext
12237 cat >>conftest.$ac_ext <<_ACEOF 13020 cat >>conftest.$ac_ext <<_ACEOF
12248 ; 13031 ;
12249 return 0; 13032 return 0;
12250 } 13033 }
12251 _ACEOF 13034 _ACEOF
12252 rm -f conftest.$ac_objext 13035 rm -f conftest.$ac_objext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13036 if { (ac_try="$ac_compile"
12254 (eval $ac_compile) 2>conftest.er1 13037 case "(($ac_try" in
13038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13039 *) ac_try_echo=$ac_try;;
13040 esac
13041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13042 $as_echo "$ac_try_echo") >&5
13043 (eval "$ac_compile") 2>conftest.er1
12255 ac_status=$? 13044 ac_status=$?
12256 grep -v '^ *+' conftest.er1 >conftest.err 13045 grep -v '^ *+' conftest.er1 >conftest.err
12257 rm -f conftest.er1 13046 rm -f conftest.er1
12258 cat conftest.err >&5 13047 cat conftest.err >&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); } && 13049 (exit $ac_status); } && {
12261 { ac_try='test -z "$ac_c_werror_flag" 13050 test -z "$ac_c_werror_flag" ||
12262 || test ! -s conftest.err' 13051 test ! -s conftest.err
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13052 } && test -s conftest.$ac_objext; then
12264 (eval $ac_try) 2>&5 13053 { $as_echo "$as_me:$LINENO: result: yes" >&5
12265 ac_status=$? 13054 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; } &&
12268 { ac_try='test -s conftest.$ac_objext'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12271 ac_status=$?
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; }; then
12274 echo "$as_me:$LINENO: result: yes" >&5
12275 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
12276 #define HAVE_OUTFUNTYPE 1 13055 #define HAVE_OUTFUNTYPE 1
12277 _ACEOF 13056 _ACEOF
12278 13057
12279 else 13058 else
12280 echo "$as_me: failed program was:" >&5 13059 $as_echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.$ac_ext >&5 13060 sed 's/^/| /' conftest.$ac_ext >&5
12282 13061
12283 echo "$as_me:$LINENO: result: no" >&5 13062 { $as_echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6 13063 $as_echo "no" >&6; }
12285 fi 13064 fi
12286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13065
12287 13066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288 echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5 13067
12289 echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6 13068 { $as_echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
13069 $as_echo_n "checking whether sys/select.h and sys/time.h may both be included... " >&6; }
12290 cat >conftest.$ac_ext <<_ACEOF 13070 cat >conftest.$ac_ext <<_ACEOF
12291 /* confdefs.h. */ 13071 /* confdefs.h. */
12292 _ACEOF 13072 _ACEOF
12293 cat confdefs.h >>conftest.$ac_ext 13073 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF 13074 cat >>conftest.$ac_ext <<_ACEOF
12304 ; 13084 ;
12305 return 0; 13085 return 0;
12306 } 13086 }
12307 _ACEOF 13087 _ACEOF
12308 rm -f conftest.$ac_objext 13088 rm -f conftest.$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13089 if { (ac_try="$ac_compile"
12310 (eval $ac_compile) 2>conftest.er1 13090 case "(($ac_try" in
13091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13092 *) ac_try_echo=$ac_try;;
13093 esac
13094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13095 $as_echo "$ac_try_echo") >&5
13096 (eval "$ac_compile") 2>conftest.er1
12311 ac_status=$? 13097 ac_status=$?
12312 grep -v '^ *+' conftest.er1 >conftest.err 13098 grep -v '^ *+' conftest.er1 >conftest.err
12313 rm -f conftest.er1 13099 rm -f conftest.er1
12314 cat conftest.err >&5 13100 cat conftest.err >&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } && 13102 (exit $ac_status); } && {
12317 { ac_try='test -z "$ac_c_werror_flag" 13103 test -z "$ac_c_werror_flag" ||
12318 || test ! -s conftest.err' 13104 test ! -s conftest.err
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13105 } && test -s conftest.$ac_objext; then
12320 (eval $ac_try) 2>&5 13106 { $as_echo "$as_me:$LINENO: result: yes" >&5
12321 ac_status=$? 13107 $as_echo "yes" >&6; }
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; } &&
12324 { ac_try='test -s conftest.$ac_objext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 echo "$as_me:$LINENO: result: yes" >&5
12331 echo "${ECHO_T}yes" >&6
12332 cat >>confdefs.h <<\_ACEOF 13108 cat >>confdefs.h <<\_ACEOF
12333 #define SYS_SELECT_WITH_SYS_TIME 1 13109 #define SYS_SELECT_WITH_SYS_TIME 1
12334 _ACEOF 13110 _ACEOF
12335 13111
12336 else 13112 else
12337 echo "$as_me: failed program was:" >&5 13113 $as_echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.$ac_ext >&5 13114 sed 's/^/| /' conftest.$ac_ext >&5
12339 13115
12340 echo "$as_me:$LINENO: result: no" >&5 13116 { $as_echo "$as_me:$LINENO: result: no" >&5
12341 echo "${ECHO_T}no" >&6 13117 $as_echo "no" >&6; }
12342 fi 13118 fi
12343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13119
12344 13120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12345 13121
12346 echo "$as_me:$LINENO: checking for /dev/ptc" >&5 13122
12347 echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6 13123 { $as_echo "$as_me:$LINENO: checking for /dev/ptc" >&5
13124 $as_echo_n "checking for /dev/ptc... " >&6; }
12348 if test -r /dev/ptc; then 13125 if test -r /dev/ptc; then
12349 cat >>confdefs.h <<\_ACEOF 13126 cat >>confdefs.h <<\_ACEOF
12350 #define HAVE_DEV_PTC 1 13127 #define HAVE_DEV_PTC 1
12351 _ACEOF 13128 _ACEOF
12352 13129
12353 echo "$as_me:$LINENO: result: yes" >&5 13130 { $as_echo "$as_me:$LINENO: result: yes" >&5
12354 echo "${ECHO_T}yes" >&6 13131 $as_echo "yes" >&6; }
12355 else 13132 else
12356 echo "$as_me:$LINENO: result: no" >&5 13133 { $as_echo "$as_me:$LINENO: result: no" >&5
12357 echo "${ECHO_T}no" >&6 13134 $as_echo "no" >&6; }
12358 fi 13135 fi
12359 13136
12360 echo "$as_me:$LINENO: checking for SVR4 ptys" >&5 13137 { $as_echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
12361 echo $ECHO_N "checking for SVR4 ptys... $ECHO_C" >&6 13138 $as_echo_n "checking for SVR4 ptys... " >&6; }
12362 if test -c /dev/ptmx ; then 13139 if test -c /dev/ptmx ; then
12363 cat >conftest.$ac_ext <<_ACEOF 13140 cat >conftest.$ac_ext <<_ACEOF
12364 /* confdefs.h. */ 13141 /* confdefs.h. */
12365 _ACEOF 13142 _ACEOF
12366 cat confdefs.h >>conftest.$ac_ext 13143 cat confdefs.h >>conftest.$ac_ext
12374 ; 13151 ;
12375 return 0; 13152 return 0;
12376 } 13153 }
12377 _ACEOF 13154 _ACEOF
12378 rm -f conftest.$ac_objext conftest$ac_exeext 13155 rm -f conftest.$ac_objext conftest$ac_exeext
12379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13156 if { (ac_try="$ac_link"
12380 (eval $ac_link) 2>conftest.er1 13157 case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13160 esac
13161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13162 $as_echo "$ac_try_echo") >&5
13163 (eval "$ac_link") 2>conftest.er1
12381 ac_status=$? 13164 ac_status=$?
12382 grep -v '^ *+' conftest.er1 >conftest.err 13165 grep -v '^ *+' conftest.er1 >conftest.err
12383 rm -f conftest.er1 13166 rm -f conftest.er1
12384 cat conftest.err >&5 13167 cat conftest.err >&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } && 13169 (exit $ac_status); } && {
12387 { ac_try='test -z "$ac_c_werror_flag" 13170 test -z "$ac_c_werror_flag" ||
12388 || test ! -s conftest.err' 13171 test ! -s conftest.err
12389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13172 } && test -s conftest$ac_exeext && {
12390 (eval $ac_try) 2>&5 13173 test "$cross_compiling" = yes ||
12391 ac_status=$? 13174 $as_test_x conftest$ac_exeext
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13175 }; then
12393 (exit $ac_status); }; } && 13176 { $as_echo "$as_me:$LINENO: result: yes" >&5
12394 { ac_try='test -s conftest$ac_exeext' 13177 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12397 ac_status=$?
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; }; then
12400 echo "$as_me:$LINENO: result: yes" >&5
12401 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
12402 #define HAVE_SVR4_PTYS 1 13178 #define HAVE_SVR4_PTYS 1
12403 _ACEOF 13179 _ACEOF
12404 13180
12405 else 13181 else
12406 echo "$as_me: failed program was:" >&5 13182 $as_echo "$as_me: failed program was:" >&5
12407 sed 's/^/| /' conftest.$ac_ext >&5 13183 sed 's/^/| /' conftest.$ac_ext >&5
12408 13184
12409 echo "$as_me:$LINENO: result: no" >&5 13185 { $as_echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6 13186 $as_echo "no" >&6; }
12411 fi 13187 fi
12412 rm -f conftest.err conftest.$ac_objext \ 13188
13189 rm -rf conftest.dSYM
13190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12413 conftest$ac_exeext conftest.$ac_ext 13191 conftest$ac_exeext conftest.$ac_ext
12414 else 13192 else
12415 echo "$as_me:$LINENO: result: no" >&5 13193 { $as_echo "$as_me:$LINENO: result: no" >&5
12416 echo "${ECHO_T}no" >&6 13194 $as_echo "no" >&6; }
12417 fi 13195 fi
12418 13196
12419 echo "$as_me:$LINENO: checking for ptyranges" >&5 13197 { $as_echo "$as_me:$LINENO: checking for ptyranges" >&5
12420 echo $ECHO_N "checking for ptyranges... $ECHO_C" >&6 13198 $as_echo_n "checking for ptyranges... " >&6; }
12421 if test -d /dev/ptym ; then 13199 if test -d /dev/ptym ; then
12422 pdir='/dev/ptym' 13200 pdir='/dev/ptym'
12423 else 13201 else
12424 pdir='/dev' 13202 pdir='/dev'
12425 fi 13203 fi
12451 13229
12452 cat >>confdefs.h <<_ACEOF 13230 cat >>confdefs.h <<_ACEOF
12453 #define PTYRANGE1 "$p1" 13231 #define PTYRANGE1 "$p1"
12454 _ACEOF 13232 _ACEOF
12455 13233
12456 echo "$as_me:$LINENO: result: $p0 / $p1" >&5 13234 { $as_echo "$as_me:$LINENO: result: $p0 / $p1" >&5
12457 echo "${ECHO_T}$p0 / $p1" >&6 13235 $as_echo "$p0 / $p1" >&6; }
12458 else 13236 else
12459 echo "$as_me:$LINENO: result: don't know" >&5 13237 { $as_echo "$as_me:$LINENO: result: don't know" >&5
12460 echo "${ECHO_T}don't know" >&6 13238 $as_echo "don't know" >&6; }
12461 fi 13239 fi
12462 13240
12463 echo "$as_me:$LINENO: checking default tty permissions/group" >&5
12464 echo $ECHO_N "checking default tty permissions/group... $ECHO_C" >&6
12465 rm -f conftest_grp 13241 rm -f conftest_grp
12466 if test "$cross_compiling" = yes; then 13242 { $as_echo "$as_me:$LINENO: checking default tty permissions/group" >&5
12467 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 13243 $as_echo_n "checking default tty permissions/group... " >&6; }
12468 echo "$as_me: error: failed to compile test program" >&2;} 13244 if test "${vim_cv_tty_group+set}" = set; then
13245 $as_echo_n "(cached) " >&6
13246 else
13247
13248 if test "$cross_compiling" = yes; then
13249
13250 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode'" >&5
13251 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode'" >&2;}
12469 { (exit 1); exit 1; }; } 13252 { (exit 1); exit 1; }; }
13253
12470 else 13254 else
12471 cat >conftest.$ac_ext <<_ACEOF 13255 cat >conftest.$ac_ext <<_ACEOF
12472 /* confdefs.h. */ 13256
12473 _ACEOF 13257 #include "confdefs.h"
12474 cat confdefs.h >>conftest.$ac_ext
12475 cat >>conftest.$ac_ext <<_ACEOF
12476 /* end confdefs.h. */
12477
12478 #include <sys/types.h> 13258 #include <sys/types.h>
13259 #if STDC_HEADERS
13260 # include <stdlib.h>
13261 # include <stddef.h>
13262 #endif
13263 #ifdef HAVE_UNISTD_H
13264 #include <unistd.h>
13265 #endif
12479 #include <sys/stat.h> 13266 #include <sys/stat.h>
12480 #include <stdio.h> 13267 #include <stdio.h>
12481 main() 13268 main()
12482 { 13269 {
12483 struct stat sb; 13270 struct stat sb;
12503 exit(0); 13290 exit(0);
12504 } 13291 }
12505 13292
12506 _ACEOF 13293 _ACEOF
12507 rm -f conftest$ac_exeext 13294 rm -f conftest$ac_exeext
12508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13295 if { (ac_try="$ac_link"
12509 (eval $ac_link) 2>&5 13296 case "(($ac_try" in
13297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13298 *) ac_try_echo=$ac_try;;
13299 esac
13300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13301 $as_echo "$ac_try_echo") >&5
13302 (eval "$ac_link") 2>&5
12510 ac_status=$? 13303 ac_status=$?
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13306 { (case "(($ac_try" in
12514 (eval $ac_try) 2>&5 13307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13308 *) ac_try_echo=$ac_try;;
13309 esac
13310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13311 $as_echo "$ac_try_echo") >&5
13312 (eval "$ac_try") 2>&5
12515 ac_status=$? 13313 ac_status=$?
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; }; then 13315 (exit $ac_status); }; }; then
12518 13316
12519 if test -f conftest_grp; then 13317 if test -f conftest_grp; then
12520 ptygrp=`cat conftest_grp` 13318 vim_cv_tty_group=`cat conftest_grp`
12521 echo "$as_me:$LINENO: result: pty mode: 0620, group: $ptygrp" >&5 13319 if test "x$vim_cv_tty_mode" = "x" ; then
12522 echo "${ECHO_T}pty mode: 0620, group: $ptygrp" >&6 13320 vim_cv_tty_mode=0620
12523 cat >>confdefs.h <<\_ACEOF 13321 fi
13322 { $as_echo "$as_me:$LINENO: result: pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&5
13323 $as_echo "pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&6; }
13324 else
13325 vim_cv_tty_group=world
13326 { $as_echo "$as_me:$LINENO: result: ptys are world accessable" >&5
13327 $as_echo "ptys are world accessable" >&6; }
13328 fi
13329
13330 else
13331 $as_echo "$as_me: program exited with status $ac_status" >&5
13332 $as_echo "$as_me: failed program was:" >&5
13333 sed 's/^/| /' conftest.$ac_ext >&5
13334
13335 ( exit $ac_status )
13336
13337 vim_cv_tty_group=world
13338 { $as_echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
13339 $as_echo "can't determine - assume ptys are world accessable" >&6; }
13340
13341 fi
13342 rm -rf conftest.dSYM
13343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13344 fi
13345
13346
13347
13348 fi
13349 { $as_echo "$as_me:$LINENO: result: $vim_cv_tty_group" >&5
13350 $as_echo "$vim_cv_tty_group" >&6; }
13351 rm -f conftest_grp
13352
13353 if test "x$vim_cv_tty_group" != "xworld" ; then
13354 cat >>confdefs.h <<_ACEOF
13355 #define PTYGROUP $vim_cv_tty_group
13356 _ACEOF
13357
13358 if test "x$vim_cv_tty_mode" = "x" ; then
13359 { { $as_echo "$as_me:$LINENO: error: It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)" >&5
13360 $as_echo "$as_me: error: It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)" >&2;}
13361 { (exit 1); exit 1; }; }
13362 else
13363 cat >>confdefs.h <<\_ACEOF
12524 #define PTYMODE 0620 13364 #define PTYMODE 0620
12525 _ACEOF 13365 _ACEOF
12526 13366
12527 cat >>confdefs.h <<_ACEOF 13367 fi
12528 #define PTYGROUP $ptygrp 13368 fi
12529 _ACEOF 13369
12530 13370
12531 else 13371 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12532 echo "$as_me:$LINENO: result: ptys are world accessable" >&5 13372 $as_echo_n "checking return type of signal handlers... " >&6; }
12533 echo "${ECHO_T}ptys are world accessable" >&6
12534 fi
12535
12536 else
12537 echo "$as_me: program exited with status $ac_status" >&5
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.$ac_ext >&5
12540
12541 ( exit $ac_status )
12542 echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
12543 echo "${ECHO_T}can't determine - assume ptys are world accessable" >&6
12544 fi
12545 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12546 fi
12547 rm -f conftest_grp
12548
12549
12550 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12551 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12552 if test "${ac_cv_type_signal+set}" = set; then 13373 if test "${ac_cv_type_signal+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6 13374 $as_echo_n "(cached) " >&6
12554 else 13375 else
12555 cat >conftest.$ac_ext <<_ACEOF 13376 cat >conftest.$ac_ext <<_ACEOF
12556 /* confdefs.h. */ 13377 /* confdefs.h. */
12557 _ACEOF 13378 _ACEOF
12558 cat confdefs.h >>conftest.$ac_ext 13379 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF 13380 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */ 13381 /* end confdefs.h. */
12561 #include <sys/types.h> 13382 #include <sys/types.h>
12562 #include <signal.h> 13383 #include <signal.h>
12563 #ifdef signal
12564 # undef signal
12565 #endif
12566 #ifdef __cplusplus
12567 extern "C" void (*signal (int, void (*)(int)))(int);
12568 #else
12569 void (*signal ()) ();
12570 #endif
12571 13384
12572 int 13385 int
12573 main () 13386 main ()
12574 { 13387 {
12575 int i; 13388 return *(signal (0, 0)) (0) == 1;
12576 ; 13389 ;
12577 return 0; 13390 return 0;
12578 } 13391 }
12579 _ACEOF 13392 _ACEOF
12580 rm -f conftest.$ac_objext 13393 rm -f conftest.$ac_objext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13394 if { (ac_try="$ac_compile"
12582 (eval $ac_compile) 2>conftest.er1 13395 case "(($ac_try" in
13396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13397 *) ac_try_echo=$ac_try;;
13398 esac
13399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13400 $as_echo "$ac_try_echo") >&5
13401 (eval "$ac_compile") 2>conftest.er1
12583 ac_status=$? 13402 ac_status=$?
12584 grep -v '^ *+' conftest.er1 >conftest.err 13403 grep -v '^ *+' conftest.er1 >conftest.err
12585 rm -f conftest.er1 13404 rm -f conftest.er1
12586 cat conftest.err >&5 13405 cat conftest.err >&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); } && 13407 (exit $ac_status); } && {
12589 { ac_try='test -z "$ac_c_werror_flag" 13408 test -z "$ac_c_werror_flag" ||
12590 || test ! -s conftest.err' 13409 test ! -s conftest.err
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13410 } && test -s conftest.$ac_objext; then
12592 (eval $ac_try) 2>&5 13411 ac_cv_type_signal=int
12593 ac_status=$? 13412 else
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13413 $as_echo "$as_me: failed program was:" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try='test -s conftest.$ac_objext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 ac_cv_type_signal=void
12603 else
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5 13414 sed 's/^/| /' conftest.$ac_ext >&5
12606 13415
12607 ac_cv_type_signal=int 13416 ac_cv_type_signal=void
12608 fi 13417 fi
12609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13418
12610 fi 13419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12611 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 13420 fi
12612 echo "${ECHO_T}$ac_cv_type_signal" >&6 13421 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13422 $as_echo "$ac_cv_type_signal" >&6; }
12613 13423
12614 cat >>confdefs.h <<_ACEOF 13424 cat >>confdefs.h <<_ACEOF
12615 #define RETSIGTYPE $ac_cv_type_signal 13425 #define RETSIGTYPE $ac_cv_type_signal
12616 _ACEOF 13426 _ACEOF
12617 13427
12627 #define SIGRETURN return 0 13437 #define SIGRETURN return 0
12628 _ACEOF 13438 _ACEOF
12629 13439
12630 fi 13440 fi
12631 13441
12632 echo "$as_me:$LINENO: checking for struct sigcontext" >&5 13442 { $as_echo "$as_me:$LINENO: checking for struct sigcontext" >&5
12633 echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6 13443 $as_echo_n "checking for struct sigcontext... " >&6; }
12634 cat >conftest.$ac_ext <<_ACEOF 13444 cat >conftest.$ac_ext <<_ACEOF
12635 /* confdefs.h. */ 13445 /* confdefs.h. */
12636 _ACEOF 13446 _ACEOF
12637 cat confdefs.h >>conftest.$ac_ext 13447 cat confdefs.h >>conftest.$ac_ext
12638 cat >>conftest.$ac_ext <<_ACEOF 13448 cat >>conftest.$ac_ext <<_ACEOF
12652 ; 13462 ;
12653 return 0; 13463 return 0;
12654 } 13464 }
12655 _ACEOF 13465 _ACEOF
12656 rm -f conftest.$ac_objext 13466 rm -f conftest.$ac_objext
12657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13467 if { (ac_try="$ac_compile"
12658 (eval $ac_compile) 2>conftest.er1 13468 case "(($ac_try" in
13469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13470 *) ac_try_echo=$ac_try;;
13471 esac
13472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13473 $as_echo "$ac_try_echo") >&5
13474 (eval "$ac_compile") 2>conftest.er1
12659 ac_status=$? 13475 ac_status=$?
12660 grep -v '^ *+' conftest.er1 >conftest.err 13476 grep -v '^ *+' conftest.er1 >conftest.err
12661 rm -f conftest.er1 13477 rm -f conftest.er1
12662 cat conftest.err >&5 13478 cat conftest.err >&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } && 13480 (exit $ac_status); } && {
12665 { ac_try='test -z "$ac_c_werror_flag" 13481 test -z "$ac_c_werror_flag" ||
12666 || test ! -s conftest.err' 13482 test ! -s conftest.err
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13483 } && test -s conftest.$ac_objext; then
12668 (eval $ac_try) 2>&5 13484 { $as_echo "$as_me:$LINENO: result: yes" >&5
12669 ac_status=$? 13485 $as_echo "yes" >&6; }
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try='test -s conftest.$ac_objext'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12675 ac_status=$?
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; }; then
12678 echo "$as_me:$LINENO: result: yes" >&5
12679 echo "${ECHO_T}yes" >&6
12680 cat >>confdefs.h <<\_ACEOF 13486 cat >>confdefs.h <<\_ACEOF
12681 #define HAVE_SIGCONTEXT 1 13487 #define HAVE_SIGCONTEXT 1
12682 _ACEOF 13488 _ACEOF
12683 13489
12684 else 13490 else
12685 echo "$as_me: failed program was:" >&5 13491 $as_echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.$ac_ext >&5 13492 sed 's/^/| /' conftest.$ac_ext >&5
12687 13493
12688 echo "$as_me:$LINENO: result: no" >&5 13494 { $as_echo "$as_me:$LINENO: result: no" >&5
12689 echo "${ECHO_T}no" >&6 13495 $as_echo "no" >&6; }
12690 fi 13496 fi
12691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13497
12692 13498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12693 echo "$as_me:$LINENO: checking getcwd implementation" >&5 13499
12694 echo $ECHO_N "checking getcwd implementation... $ECHO_C" >&6 13500 { $as_echo "$as_me:$LINENO: checking getcwd implementation is broken" >&5
12695 if test "$cross_compiling" = yes; then 13501 $as_echo_n "checking getcwd implementation is broken... " >&6; }
12696 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 13502 if test "${vim_cv_getcwd_broken+set}" = set; then
12697 echo "$as_me: error: failed to compile test program" >&2;} 13503 $as_echo_n "(cached) " >&6
13504 else
13505
13506 if test "$cross_compiling" = yes; then
13507
13508 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_getcwd_broken'" >&5
13509 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_getcwd_broken'" >&2;}
12698 { (exit 1); exit 1; }; } 13510 { (exit 1); exit 1; }; }
13511
12699 else 13512 else
12700 cat >conftest.$ac_ext <<_ACEOF 13513 cat >conftest.$ac_ext <<_ACEOF
12701 /* confdefs.h. */ 13514
12702 _ACEOF 13515 #include "confdefs.h"
12703 cat confdefs.h >>conftest.$ac_ext 13516 #ifdef HAVE_UNISTD_H
12704 cat >>conftest.$ac_ext <<_ACEOF 13517 #include <unistd.h>
12705 /* end confdefs.h. */ 13518 #endif
12706
12707 char *dagger[] = { "IFS=pwd", 0 }; 13519 char *dagger[] = { "IFS=pwd", 0 };
12708 main() 13520 main()
12709 { 13521 {
12710 char buffer[500]; 13522 char buffer[500];
12711 extern char **environ; 13523 extern char **environ;
12712 environ = dagger; 13524 environ = dagger;
12713 return getcwd(buffer, 500) ? 0 : 1; 13525 return getcwd(buffer, 500) ? 0 : 1;
12714 } 13526 }
13527
12715 _ACEOF 13528 _ACEOF
12716 rm -f conftest$ac_exeext 13529 rm -f conftest$ac_exeext
12717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13530 if { (ac_try="$ac_link"
12718 (eval $ac_link) 2>&5 13531 case "(($ac_try" in
13532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13533 *) ac_try_echo=$ac_try;;
13534 esac
13535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13536 $as_echo "$ac_try_echo") >&5
13537 (eval "$ac_link") 2>&5
12719 ac_status=$? 13538 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13541 { (case "(($ac_try" in
12723 (eval $ac_try) 2>&5 13542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13543 *) ac_try_echo=$ac_try;;
13544 esac
13545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13546 $as_echo "$ac_try_echo") >&5
13547 (eval "$ac_try") 2>&5
12724 ac_status=$? 13548 ac_status=$?
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; }; then 13550 (exit $ac_status); }; }; then
12727 echo "$as_me:$LINENO: result: it is usable" >&5 13551
12728 echo "${ECHO_T}it is usable" >&6 13552 vim_cv_getcwd_broken=no
12729 else 13553
12730 echo "$as_me: program exited with status $ac_status" >&5 13554 else
12731 echo "$as_me: failed program was:" >&5 13555 $as_echo "$as_me: program exited with status $ac_status" >&5
13556 $as_echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.$ac_ext >&5 13557 sed 's/^/| /' conftest.$ac_ext >&5
12733 13558
12734 ( exit $ac_status ) 13559 ( exit $ac_status )
12735 echo "$as_me:$LINENO: result: it stinks" >&5 13560
12736 echo "${ECHO_T}it stinks" >&6 13561 vim_cv_getcwd_broken=yes
12737 cat >>confdefs.h <<\_ACEOF 13562
13563 fi
13564 rm -rf conftest.dSYM
13565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13566 fi
13567
13568
13569
13570 fi
13571 { $as_echo "$as_me:$LINENO: result: $vim_cv_getcwd_broken" >&5
13572 $as_echo "$vim_cv_getcwd_broken" >&6; }
13573
13574 if test "x$vim_cv_getcwd_broken" = "xyes" ; then
13575 cat >>confdefs.h <<\_ACEOF
12738 #define BAD_GETCWD 1 13576 #define BAD_GETCWD 1
12739 _ACEOF 13577 _ACEOF
12740 13578
12741 fi
12742 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12743 fi 13579 fi
12744 13580
12745 13581
12746 13582
12747 13583
12794 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ 13630 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
12795 sigvec strcasecmp strerror strftime stricmp strncasecmp \ 13631 sigvec strcasecmp strerror strftime stricmp strncasecmp \
12796 strnicmp strpbrk strtol tgetent towlower towupper iswupper \ 13632 strnicmp strpbrk strtol tgetent towlower towupper iswupper \
12797 usleep utime utimes 13633 usleep utime utimes
12798 do 13634 do
12799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12800 echo "$as_me:$LINENO: checking for $ac_func" >&5 13636 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 13637 $as_echo_n "checking for $ac_func... " >&6; }
12802 if eval "test \"\${$as_ac_var+set}\" = set"; then 13638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6 13639 $as_echo_n "(cached) " >&6
12804 else 13640 else
12805 cat >conftest.$ac_ext <<_ACEOF 13641 cat >conftest.$ac_ext <<_ACEOF
12806 /* confdefs.h. */ 13642 /* confdefs.h. */
12807 _ACEOF 13643 _ACEOF
12808 cat confdefs.h >>conftest.$ac_ext 13644 cat confdefs.h >>conftest.$ac_ext
12823 # include <assert.h> 13659 # include <assert.h>
12824 #endif 13660 #endif
12825 13661
12826 #undef $ac_func 13662 #undef $ac_func
12827 13663
12828 /* Override any gcc2 internal prototype to avoid an error. */ 13664 /* Override any GCC internal prototype to avoid an error.
13665 Use char because int might match the return type of a GCC
13666 builtin and then its argument prototype would still apply. */
12829 #ifdef __cplusplus 13667 #ifdef __cplusplus
12830 extern "C" 13668 extern "C"
12831 {
12832 #endif 13669 #endif
12833 /* We use char because int might match the return type of a gcc2
12834 builtin and then its argument prototype would still apply. */
12835 char $ac_func (); 13670 char $ac_func ();
12836 /* The GNU C library defines this for functions which it implements 13671 /* The GNU C library defines this for functions which it implements
12837 to always fail with ENOSYS. Some functions are actually named 13672 to always fail with ENOSYS. Some functions are actually named
12838 something starting with __ and the normal name is an alias. */ 13673 something starting with __ and the normal name is an alias. */
12839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 13674 #if defined __stub_$ac_func || defined __stub___$ac_func
12840 choke me 13675 choke me
12841 #else
12842 char (*f) () = $ac_func;
12843 #endif
12844 #ifdef __cplusplus
12845 }
12846 #endif 13676 #endif
12847 13677
12848 int 13678 int
12849 main () 13679 main ()
12850 { 13680 {
12851 return f != $ac_func; 13681 return $ac_func ();
12852 ; 13682 ;
12853 return 0; 13683 return 0;
12854 } 13684 }
12855 _ACEOF 13685 _ACEOF
12856 rm -f conftest.$ac_objext conftest$ac_exeext 13686 rm -f conftest.$ac_objext conftest$ac_exeext
12857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13687 if { (ac_try="$ac_link"
12858 (eval $ac_link) 2>conftest.er1 13688 case "(($ac_try" in
13689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13690 *) ac_try_echo=$ac_try;;
13691 esac
13692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13693 $as_echo "$ac_try_echo") >&5
13694 (eval "$ac_link") 2>conftest.er1
12859 ac_status=$? 13695 ac_status=$?
12860 grep -v '^ *+' conftest.er1 >conftest.err 13696 grep -v '^ *+' conftest.er1 >conftest.err
12861 rm -f conftest.er1 13697 rm -f conftest.er1
12862 cat conftest.err >&5 13698 cat conftest.err >&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13699 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } && 13700 (exit $ac_status); } && {
12865 { ac_try='test -z "$ac_c_werror_flag" 13701 test -z "$ac_c_werror_flag" ||
12866 || test ! -s conftest.err' 13702 test ! -s conftest.err
12867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13703 } && test -s conftest$ac_exeext && {
12868 (eval $ac_try) 2>&5 13704 test "$cross_compiling" = yes ||
12869 ac_status=$? 13705 $as_test_x conftest$ac_exeext
12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13706 }; then
12871 (exit $ac_status); }; } &&
12872 { ac_try='test -s conftest$ac_exeext'
12873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12874 (eval $ac_try) 2>&5
12875 ac_status=$?
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); }; }; then
12878 eval "$as_ac_var=yes" 13707 eval "$as_ac_var=yes"
12879 else 13708 else
12880 echo "$as_me: failed program was:" >&5 13709 $as_echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5 13710 sed 's/^/| /' conftest.$ac_ext >&5
12882 13711
12883 eval "$as_ac_var=no" 13712 eval "$as_ac_var=no"
12884 fi 13713 fi
12885 rm -f conftest.err conftest.$ac_objext \ 13714
13715 rm -rf conftest.dSYM
13716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12886 conftest$ac_exeext conftest.$ac_ext 13717 conftest$ac_exeext conftest.$ac_ext
12887 fi 13718 fi
12888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 13719 ac_res=`eval 'as_val=${'$as_ac_var'}
12889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 13720 $as_echo "$as_val"'`
12890 if test `eval echo '${'$as_ac_var'}'` = yes; then 13721 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13722 $as_echo "$ac_res" >&6; }
13723 if test `eval 'as_val=${'$as_ac_var'}
13724 $as_echo "$as_val"'` = yes; then
12891 cat >>confdefs.h <<_ACEOF 13725 cat >>confdefs.h <<_ACEOF
12892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12893 _ACEOF 13727 _ACEOF
12894 13728
12895 fi 13729 fi
12896 done 13730 done
12897 13731
12898 13732
12899 echo "$as_me:$LINENO: checking for st_blksize" >&5 13733 { $as_echo "$as_me:$LINENO: checking for st_blksize" >&5
12900 echo $ECHO_N "checking for st_blksize... $ECHO_C" >&6 13734 $as_echo_n "checking for st_blksize... " >&6; }
12901 cat >conftest.$ac_ext <<_ACEOF 13735 cat >conftest.$ac_ext <<_ACEOF
12902 /* confdefs.h. */ 13736 /* confdefs.h. */
12903 _ACEOF 13737 _ACEOF
12904 cat confdefs.h >>conftest.$ac_ext 13738 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF 13739 cat >>conftest.$ac_ext <<_ACEOF
12917 ; 13751 ;
12918 return 0; 13752 return 0;
12919 } 13753 }
12920 _ACEOF 13754 _ACEOF
12921 rm -f conftest.$ac_objext 13755 rm -f conftest.$ac_objext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13756 if { (ac_try="$ac_compile"
12923 (eval $ac_compile) 2>conftest.er1 13757 case "(($ac_try" in
13758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13759 *) ac_try_echo=$ac_try;;
13760 esac
13761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13762 $as_echo "$ac_try_echo") >&5
13763 (eval "$ac_compile") 2>conftest.er1
12924 ac_status=$? 13764 ac_status=$?
12925 grep -v '^ *+' conftest.er1 >conftest.err 13765 grep -v '^ *+' conftest.er1 >conftest.err
12926 rm -f conftest.er1 13766 rm -f conftest.er1
12927 cat conftest.err >&5 13767 cat conftest.err >&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } && 13769 (exit $ac_status); } && {
12930 { ac_try='test -z "$ac_c_werror_flag" 13770 test -z "$ac_c_werror_flag" ||
12931 || test ! -s conftest.err' 13771 test ! -s conftest.err
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13772 } && test -s conftest.$ac_objext; then
12933 (eval $ac_try) 2>&5 13773 { $as_echo "$as_me:$LINENO: result: yes" >&5
12934 ac_status=$? 13774 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; } &&
12937 { ac_try='test -s conftest.$ac_objext'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; }; then
12943 echo "$as_me:$LINENO: result: yes" >&5
12944 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
12945 #define HAVE_ST_BLKSIZE 1 13775 #define HAVE_ST_BLKSIZE 1
12946 _ACEOF 13776 _ACEOF
12947 13777
12948 else 13778 else
12949 echo "$as_me: failed program was:" >&5 13779 $as_echo "$as_me: failed program was:" >&5
12950 sed 's/^/| /' conftest.$ac_ext >&5 13780 sed 's/^/| /' conftest.$ac_ext >&5
12951 13781
12952 echo "$as_me:$LINENO: result: no" >&5 13782 { $as_echo "$as_me:$LINENO: result: no" >&5
12953 echo "${ECHO_T}no" >&6 13783 $as_echo "no" >&6; }
12954 fi 13784 fi
12955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 13785
12956 13786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12957 echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5 13787
12958 echo $ECHO_N "checking whether stat() ignores a trailing slash... $ECHO_C" >&6 13788 { $as_echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5
12959 if test "$cross_compiling" = yes; then 13789 $as_echo_n "checking whether stat() ignores a trailing slash... " >&6; }
12960 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 13790 if test "${vim_cv_stat_ignores_slash+set}" = set; then
12961 echo "$as_me: error: failed to compile test program" >&2;} 13791 $as_echo_n "(cached) " >&6
13792 else
13793
13794 if test "$cross_compiling" = yes; then
13795
13796 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_stat_ignores_slash'" >&5
13797 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_stat_ignores_slash'" >&2;}
12962 { (exit 1); exit 1; }; } 13798 { (exit 1); exit 1; }; }
13799
12963 else 13800 else
12964 cat >conftest.$ac_ext <<_ACEOF 13801 cat >conftest.$ac_ext <<_ACEOF
12965 /* confdefs.h. */ 13802
12966 _ACEOF 13803 #include "confdefs.h"
12967 cat confdefs.h >>conftest.$ac_ext 13804 #if STDC_HEADERS
12968 cat >>conftest.$ac_ext <<_ACEOF 13805 # include <stdlib.h>
12969 /* end confdefs.h. */ 13806 # include <stddef.h>
13807 #endif
12970 #include <sys/types.h> 13808 #include <sys/types.h>
12971 #include <sys/stat.h> 13809 #include <sys/stat.h>
12972 main() {struct stat st; exit(stat("configure/", &st) != 0); } 13810 main() {struct stat st; exit(stat("configure/", &st) != 0); }
13811
12973 _ACEOF 13812 _ACEOF
12974 rm -f conftest$ac_exeext 13813 rm -f conftest$ac_exeext
12975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13814 if { (ac_try="$ac_link"
12976 (eval $ac_link) 2>&5 13815 case "(($ac_try" in
13816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13817 *) ac_try_echo=$ac_try;;
13818 esac
13819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13820 $as_echo "$ac_try_echo") >&5
13821 (eval "$ac_link") 2>&5
12977 ac_status=$? 13822 ac_status=$?
12978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13824 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13825 { (case "(($ac_try" in
12981 (eval $ac_try) 2>&5 13826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13827 *) ac_try_echo=$ac_try;;
13828 esac
13829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13830 $as_echo "$ac_try_echo") >&5
13831 (eval "$ac_try") 2>&5
12982 ac_status=$? 13832 ac_status=$?
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; }; then 13834 (exit $ac_status); }; }; then
12985 echo "$as_me:$LINENO: result: yes" >&5 13835
12986 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF 13836 vim_cv_stat_ignores_slash=yes
13837
13838 else
13839 $as_echo "$as_me: program exited with status $ac_status" >&5
13840 $as_echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.$ac_ext >&5
13842
13843 ( exit $ac_status )
13844
13845 vim_cv_stat_ignores_slash=no
13846
13847 fi
13848 rm -rf conftest.dSYM
13849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13850 fi
13851
13852
13853
13854 fi
13855 { $as_echo "$as_me:$LINENO: result: $vim_cv_stat_ignores_slash" >&5
13856 $as_echo "$vim_cv_stat_ignores_slash" >&6; }
13857
13858 if test "x$vim_cv_stat_ignores_slash" = "xyes" ; then
13859 cat >>confdefs.h <<\_ACEOF
12987 #define STAT_IGNORES_SLASH 1 13860 #define STAT_IGNORES_SLASH 1
12988 _ACEOF 13861 _ACEOF
12989 13862
12990 else 13863 fi
12991 echo "$as_me: program exited with status $ac_status" >&5 13864
12992 echo "$as_me: failed program was:" >&5 13865 { $as_echo "$as_me:$LINENO: checking for iconv_open()" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5 13866 $as_echo_n "checking for iconv_open()... " >&6; }
12994
12995 ( exit $ac_status )
12996 echo "$as_me:$LINENO: result: no" >&5
12997 echo "${ECHO_T}no" >&6
12998 fi
12999 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13000 fi
13001
13002 echo "$as_me:$LINENO: checking for iconv_open()" >&5
13003 echo $ECHO_N "checking for iconv_open()... $ECHO_C" >&6
13004 save_LIBS="$LIBS" 13867 save_LIBS="$LIBS"
13005 LIBS="$LIBS -liconv" 13868 LIBS="$LIBS -liconv"
13006 cat >conftest.$ac_ext <<_ACEOF 13869 cat >conftest.$ac_ext <<_ACEOF
13007 /* confdefs.h. */ 13870 /* confdefs.h. */
13008 _ACEOF 13871 _ACEOF
13021 ; 13884 ;
13022 return 0; 13885 return 0;
13023 } 13886 }
13024 _ACEOF 13887 _ACEOF
13025 rm -f conftest.$ac_objext conftest$ac_exeext 13888 rm -f conftest.$ac_objext conftest$ac_exeext
13026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13889 if { (ac_try="$ac_link"
13027 (eval $ac_link) 2>conftest.er1 13890 case "(($ac_try" in
13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13892 *) ac_try_echo=$ac_try;;
13893 esac
13894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13895 $as_echo "$ac_try_echo") >&5
13896 (eval "$ac_link") 2>conftest.er1
13028 ac_status=$? 13897 ac_status=$?
13029 grep -v '^ *+' conftest.er1 >conftest.err 13898 grep -v '^ *+' conftest.er1 >conftest.err
13030 rm -f conftest.er1 13899 rm -f conftest.er1
13031 cat conftest.err >&5 13900 cat conftest.err >&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); } && 13902 (exit $ac_status); } && {
13034 { ac_try='test -z "$ac_c_werror_flag" 13903 test -z "$ac_c_werror_flag" ||
13035 || test ! -s conftest.err' 13904 test ! -s conftest.err
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13905 } && test -s conftest$ac_exeext && {
13037 (eval $ac_try) 2>&5 13906 test "$cross_compiling" = yes ||
13038 ac_status=$? 13907 $as_test_x conftest$ac_exeext
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13908 }; then
13040 (exit $ac_status); }; } && 13909 { $as_echo "$as_me:$LINENO: result: yes; with -liconv" >&5
13041 { ac_try='test -s conftest$ac_exeext' 13910 $as_echo "yes; with -liconv" >&6; }; cat >>confdefs.h <<\_ACEOF
13042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13043 (eval $ac_try) 2>&5
13044 ac_status=$?
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); }; }; then
13047 echo "$as_me:$LINENO: result: yes; with -liconv" >&5
13048 echo "${ECHO_T}yes; with -liconv" >&6; cat >>confdefs.h <<\_ACEOF
13049 #define HAVE_ICONV 1 13911 #define HAVE_ICONV 1
13050 _ACEOF 13912 _ACEOF
13051 13913
13052 else 13914 else
13053 echo "$as_me: failed program was:" >&5 13915 $as_echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.$ac_ext >&5 13916 sed 's/^/| /' conftest.$ac_ext >&5
13055 13917
13056 LIBS="$save_LIBS" 13918 LIBS="$save_LIBS"
13057 cat >conftest.$ac_ext <<_ACEOF 13919 cat >conftest.$ac_ext <<_ACEOF
13058 /* confdefs.h. */ 13920 /* confdefs.h. */
13059 _ACEOF 13921 _ACEOF
13060 cat confdefs.h >>conftest.$ac_ext 13922 cat confdefs.h >>conftest.$ac_ext
13061 cat >>conftest.$ac_ext <<_ACEOF 13923 cat >>conftest.$ac_ext <<_ACEOF
13072 ; 13934 ;
13073 return 0; 13935 return 0;
13074 } 13936 }
13075 _ACEOF 13937 _ACEOF
13076 rm -f conftest.$ac_objext conftest$ac_exeext 13938 rm -f conftest.$ac_objext conftest$ac_exeext
13077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 13939 if { (ac_try="$ac_link"
13078 (eval $ac_link) 2>conftest.er1 13940 case "(($ac_try" in
13941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13942 *) ac_try_echo=$ac_try;;
13943 esac
13944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13945 $as_echo "$ac_try_echo") >&5
13946 (eval "$ac_link") 2>conftest.er1
13079 ac_status=$? 13947 ac_status=$?
13080 grep -v '^ *+' conftest.er1 >conftest.err 13948 grep -v '^ *+' conftest.er1 >conftest.err
13081 rm -f conftest.er1 13949 rm -f conftest.er1
13082 cat conftest.err >&5 13950 cat conftest.err >&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } && 13952 (exit $ac_status); } && {
13085 { ac_try='test -z "$ac_c_werror_flag" 13953 test -z "$ac_c_werror_flag" ||
13086 || test ! -s conftest.err' 13954 test ! -s conftest.err
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13955 } && test -s conftest$ac_exeext && {
13088 (eval $ac_try) 2>&5 13956 test "$cross_compiling" = yes ||
13089 ac_status=$? 13957 $as_test_x conftest$ac_exeext
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13958 }; then
13091 (exit $ac_status); }; } && 13959 { $as_echo "$as_me:$LINENO: result: yes" >&5
13092 { ac_try='test -s conftest$ac_exeext' 13960 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 echo "$as_me:$LINENO: result: yes" >&5
13099 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13100 #define HAVE_ICONV 1 13961 #define HAVE_ICONV 1
13101 _ACEOF 13962 _ACEOF
13102 13963
13103 else 13964 else
13104 echo "$as_me: failed program was:" >&5 13965 $as_echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.$ac_ext >&5 13966 sed 's/^/| /' conftest.$ac_ext >&5
13106 13967
13107 echo "$as_me:$LINENO: result: no" >&5 13968 { $as_echo "$as_me:$LINENO: result: no" >&5
13108 echo "${ECHO_T}no" >&6 13969 $as_echo "no" >&6; }
13109 fi 13970 fi
13110 rm -f conftest.err conftest.$ac_objext \ 13971
13972 rm -rf conftest.dSYM
13973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13111 conftest$ac_exeext conftest.$ac_ext 13974 conftest$ac_exeext conftest.$ac_ext
13112 fi 13975 fi
13113 rm -f conftest.err conftest.$ac_objext \ 13976
13977 rm -rf conftest.dSYM
13978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13114 conftest$ac_exeext conftest.$ac_ext 13979 conftest$ac_exeext conftest.$ac_ext
13115 13980
13116 13981
13117 echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5 13982 { $as_echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
13118 echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6 13983 $as_echo_n "checking for nl_langinfo(CODESET)... " >&6; }
13119 cat >conftest.$ac_ext <<_ACEOF 13984 cat >conftest.$ac_ext <<_ACEOF
13120 /* confdefs.h. */ 13985 /* confdefs.h. */
13121 _ACEOF 13986 _ACEOF
13122 cat confdefs.h >>conftest.$ac_ext 13987 cat confdefs.h >>conftest.$ac_ext
13123 cat >>conftest.$ac_ext <<_ACEOF 13988 cat >>conftest.$ac_ext <<_ACEOF
13134 ; 13999 ;
13135 return 0; 14000 return 0;
13136 } 14001 }
13137 _ACEOF 14002 _ACEOF
13138 rm -f conftest.$ac_objext conftest$ac_exeext 14003 rm -f conftest.$ac_objext conftest$ac_exeext
13139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14004 if { (ac_try="$ac_link"
13140 (eval $ac_link) 2>conftest.er1 14005 case "(($ac_try" in
14006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14007 *) ac_try_echo=$ac_try;;
14008 esac
14009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14010 $as_echo "$ac_try_echo") >&5
14011 (eval "$ac_link") 2>conftest.er1
13141 ac_status=$? 14012 ac_status=$?
13142 grep -v '^ *+' conftest.er1 >conftest.err 14013 grep -v '^ *+' conftest.er1 >conftest.err
13143 rm -f conftest.er1 14014 rm -f conftest.er1
13144 cat conftest.err >&5 14015 cat conftest.err >&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } && 14017 (exit $ac_status); } && {
13147 { ac_try='test -z "$ac_c_werror_flag" 14018 test -z "$ac_c_werror_flag" ||
13148 || test ! -s conftest.err' 14019 test ! -s conftest.err
13149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14020 } && test -s conftest$ac_exeext && {
13150 (eval $ac_try) 2>&5 14021 test "$cross_compiling" = yes ||
14022 $as_test_x conftest$ac_exeext
14023 }; then
14024 { $as_echo "$as_me:$LINENO: result: yes" >&5
14025 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14026 #define HAVE_NL_LANGINFO_CODESET 1
14027 _ACEOF
14028
14029 else
14030 $as_echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.$ac_ext >&5
14032
14033 { $as_echo "$as_me:$LINENO: result: no" >&5
14034 $as_echo "no" >&6; }
14035 fi
14036
14037 rm -rf conftest.dSYM
14038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14039 conftest$ac_exeext conftest.$ac_ext
14040
14041
14042 { $as_echo "$as_me:$LINENO: checking for strtod in -lm" >&5
14043 $as_echo_n "checking for strtod in -lm... " >&6; }
14044 if test "${ac_cv_lib_m_strtod+set}" = set; then
14045 $as_echo_n "(cached) " >&6
14046 else
14047 ac_check_lib_save_LIBS=$LIBS
14048 LIBS="-lm $LIBS"
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055
14056 /* Override any GCC internal prototype to avoid an error.
14057 Use char because int might match the return type of a GCC
14058 builtin and then its argument prototype would still apply. */
14059 #ifdef __cplusplus
14060 extern "C"
14061 #endif
14062 char strtod ();
14063 int
14064 main ()
14065 {
14066 return strtod ();
14067 ;
14068 return 0;
14069 }
14070 _ACEOF
14071 rm -f conftest.$ac_objext conftest$ac_exeext
14072 if { (ac_try="$ac_link"
14073 case "(($ac_try" in
14074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14075 *) ac_try_echo=$ac_try;;
14076 esac
14077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14078 $as_echo "$ac_try_echo") >&5
14079 (eval "$ac_link") 2>conftest.er1
13151 ac_status=$? 14080 ac_status=$?
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14081 grep -v '^ *+' conftest.er1 >conftest.err
13153 (exit $ac_status); }; } && 14082 rm -f conftest.er1
13154 { ac_try='test -s conftest$ac_exeext' 14083 cat conftest.err >&5
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (eval $ac_try) 2>&5 14085 (exit $ac_status); } && {
14086 test -z "$ac_c_werror_flag" ||
14087 test ! -s conftest.err
14088 } && test -s conftest$ac_exeext && {
14089 test "$cross_compiling" = yes ||
14090 $as_test_x conftest$ac_exeext
14091 }; then
14092 ac_cv_lib_m_strtod=yes
14093 else
14094 $as_echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.$ac_ext >&5
14096
14097 ac_cv_lib_m_strtod=no
14098 fi
14099
14100 rm -rf conftest.dSYM
14101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14102 conftest$ac_exeext conftest.$ac_ext
14103 LIBS=$ac_check_lib_save_LIBS
14104 fi
14105 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_strtod" >&5
14106 $as_echo "$ac_cv_lib_m_strtod" >&6; }
14107 if test $ac_cv_lib_m_strtod = yes; then
14108 cat >>confdefs.h <<_ACEOF
14109 #define HAVE_LIBM 1
14110 _ACEOF
14111
14112 LIBS="-lm $LIBS"
14113
14114 fi
14115
14116 { $as_echo "$as_me:$LINENO: checking for strtod() and other floating point functions" >&5
14117 $as_echo_n "checking for strtod() and other floating point functions... " >&6; }
14118 cat >conftest.$ac_ext <<_ACEOF
14119 /* confdefs.h. */
14120 _ACEOF
14121 cat confdefs.h >>conftest.$ac_ext
14122 cat >>conftest.$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124
14125 #ifdef HAVE_MATH_H
14126 # include <math.h>
14127 #endif
14128 #if STDC_HEADERS
14129 # include <stdlib.h>
14130 # include <stddef.h>
14131 #endif
14132
14133 int
14134 main ()
14135 {
14136 char *s; double d;
14137 d = strtod("1.1", &s);
14138 d = fabs(1.11);
14139 d = ceil(1.11);
14140 d = floor(1.11);
14141 d = log10(1.11);
14142 d = pow(1.11, 2.22);
14143 d = sqrt(1.11);
14144 d = sin(1.11);
14145 d = cos(1.11);
14146 d = atan(1.11);
14147
14148 ;
14149 return 0;
14150 }
14151 _ACEOF
14152 rm -f conftest.$ac_objext conftest$ac_exeext
14153 if { (ac_try="$ac_link"
14154 case "(($ac_try" in
14155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14156 *) ac_try_echo=$ac_try;;
14157 esac
14158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14159 $as_echo "$ac_try_echo") >&5
14160 (eval "$ac_link") 2>conftest.er1
13157 ac_status=$? 14161 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14162 grep -v '^ *+' conftest.er1 >conftest.err
13159 (exit $ac_status); }; }; then 14163 rm -f conftest.er1
13160 echo "$as_me:$LINENO: result: yes" >&5 14164 cat conftest.err >&5
13161 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF 14165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 #define HAVE_NL_LANGINFO_CODESET 1 14166 (exit $ac_status); } && {
13163 _ACEOF 14167 test -z "$ac_c_werror_flag" ||
13164 14168 test ! -s conftest.err
13165 else 14169 } && test -s conftest$ac_exeext && {
13166 echo "$as_me: failed program was:" >&5 14170 test "$cross_compiling" = yes ||
14171 $as_test_x conftest$ac_exeext
14172 }; then
14173 { $as_echo "$as_me:$LINENO: result: yes" >&5
14174 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14175 #define HAVE_FLOAT_FUNCS 1
14176 _ACEOF
14177
14178 else
14179 $as_echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.$ac_ext >&5 14180 sed 's/^/| /' conftest.$ac_ext >&5
13168 14181
13169 echo "$as_me:$LINENO: result: no" >&5 14182 { $as_echo "$as_me:$LINENO: result: no" >&5
13170 echo "${ECHO_T}no" >&6 14183 $as_echo "no" >&6; }
13171 fi 14184 fi
13172 rm -f conftest.err conftest.$ac_objext \ 14185
14186 rm -rf conftest.dSYM
14187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13173 conftest$ac_exeext conftest.$ac_ext 14188 conftest$ac_exeext conftest.$ac_ext
13174 14189
13175 echo "$as_me:$LINENO: checking --disable-acl argument" >&5 14190 { $as_echo "$as_me:$LINENO: checking --disable-acl argument" >&5
13176 echo $ECHO_N "checking --disable-acl argument... $ECHO_C" >&6 14191 $as_echo_n "checking --disable-acl argument... " >&6; }
13177 # Check whether --enable-acl or --disable-acl was given. 14192 # Check whether --enable-acl was given.
13178 if test "${enable_acl+set}" = set; then 14193 if test "${enable_acl+set}" = set; then
13179 enableval="$enable_acl" 14194 enableval=$enable_acl;
13180
13181 else 14195 else
13182 enable_acl="yes" 14196 enable_acl="yes"
13183 fi; 14197 fi
14198
13184 if test "$enable_acl" = "yes"; then 14199 if test "$enable_acl" = "yes"; then
13185 echo "$as_me:$LINENO: result: no" >&5 14200 { $as_echo "$as_me:$LINENO: result: no" >&5
13186 echo "${ECHO_T}no" >&6 14201 $as_echo "no" >&6; }
13187 echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5 14202 { $as_echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
13188 echo $ECHO_N "checking for acl_get_file in -lposix1e... $ECHO_C" >&6 14203 $as_echo_n "checking for acl_get_file in -lposix1e... " >&6; }
13189 if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then 14204 if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6 14205 $as_echo_n "(cached) " >&6
13191 else 14206 else
13192 ac_check_lib_save_LIBS=$LIBS 14207 ac_check_lib_save_LIBS=$LIBS
13193 LIBS="-lposix1e $LIBS" 14208 LIBS="-lposix1e $LIBS"
13194 cat >conftest.$ac_ext <<_ACEOF 14209 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */ 14210 /* confdefs.h. */
13196 _ACEOF 14211 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext 14212 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF 14213 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */ 14214 /* end confdefs.h. */
13200 14215
13201 /* Override any gcc2 internal prototype to avoid an error. */ 14216 /* Override any GCC internal prototype to avoid an error.
14217 Use char because int might match the return type of a GCC
14218 builtin and then its argument prototype would still apply. */
13202 #ifdef __cplusplus 14219 #ifdef __cplusplus
13203 extern "C" 14220 extern "C"
13204 #endif 14221 #endif
13205 /* We use char because int might match the return type of a gcc2
13206 builtin and then its argument prototype would still apply. */
13207 char acl_get_file (); 14222 char acl_get_file ();
13208 int 14223 int
13209 main () 14224 main ()
13210 { 14225 {
13211 acl_get_file (); 14226 return acl_get_file ();
13212 ; 14227 ;
13213 return 0; 14228 return 0;
13214 } 14229 }
13215 _ACEOF 14230 _ACEOF
13216 rm -f conftest.$ac_objext conftest$ac_exeext 14231 rm -f conftest.$ac_objext conftest$ac_exeext
13217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14232 if { (ac_try="$ac_link"
13218 (eval $ac_link) 2>conftest.er1 14233 case "(($ac_try" in
14234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14235 *) ac_try_echo=$ac_try;;
14236 esac
14237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14238 $as_echo "$ac_try_echo") >&5
14239 (eval "$ac_link") 2>conftest.er1
13219 ac_status=$? 14240 ac_status=$?
13220 grep -v '^ *+' conftest.er1 >conftest.err 14241 grep -v '^ *+' conftest.er1 >conftest.err
13221 rm -f conftest.er1 14242 rm -f conftest.er1
13222 cat conftest.err >&5 14243 cat conftest.err >&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } && 14245 (exit $ac_status); } && {
13225 { ac_try='test -z "$ac_c_werror_flag" 14246 test -z "$ac_c_werror_flag" ||
13226 || test ! -s conftest.err' 14247 test ! -s conftest.err
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14248 } && test -s conftest$ac_exeext && {
13228 (eval $ac_try) 2>&5 14249 test "$cross_compiling" = yes ||
13229 ac_status=$? 14250 $as_test_x conftest$ac_exeext
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14251 }; then
13231 (exit $ac_status); }; } &&
13232 { ac_try='test -s conftest$ac_exeext'
13233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13234 (eval $ac_try) 2>&5
13235 ac_status=$?
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; }; then
13238 ac_cv_lib_posix1e_acl_get_file=yes 14252 ac_cv_lib_posix1e_acl_get_file=yes
13239 else 14253 else
13240 echo "$as_me: failed program was:" >&5 14254 $as_echo "$as_me: failed program was:" >&5
13241 sed 's/^/| /' conftest.$ac_ext >&5 14255 sed 's/^/| /' conftest.$ac_ext >&5
13242 14256
13243 ac_cv_lib_posix1e_acl_get_file=no 14257 ac_cv_lib_posix1e_acl_get_file=no
13244 fi 14258 fi
13245 rm -f conftest.err conftest.$ac_objext \ 14259
14260 rm -rf conftest.dSYM
14261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13246 conftest$ac_exeext conftest.$ac_ext 14262 conftest$ac_exeext conftest.$ac_ext
13247 LIBS=$ac_check_lib_save_LIBS 14263 LIBS=$ac_check_lib_save_LIBS
13248 fi 14264 fi
13249 echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5 14265 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
13250 echo "${ECHO_T}$ac_cv_lib_posix1e_acl_get_file" >&6 14266 $as_echo "$ac_cv_lib_posix1e_acl_get_file" >&6; }
13251 if test $ac_cv_lib_posix1e_acl_get_file = yes; then 14267 if test $ac_cv_lib_posix1e_acl_get_file = yes; then
13252 LIBS="$LIBS -lposix1e" 14268 LIBS="$LIBS -lposix1e"
13253 else 14269 else
13254 echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5 14270 { $as_echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
13255 echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6 14271 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
13256 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then 14272 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6 14273 $as_echo_n "(cached) " >&6
13258 else 14274 else
13259 ac_check_lib_save_LIBS=$LIBS 14275 ac_check_lib_save_LIBS=$LIBS
13260 LIBS="-lacl $LIBS" 14276 LIBS="-lacl $LIBS"
13261 cat >conftest.$ac_ext <<_ACEOF 14277 cat >conftest.$ac_ext <<_ACEOF
13262 /* confdefs.h. */ 14278 /* confdefs.h. */
13263 _ACEOF 14279 _ACEOF
13264 cat confdefs.h >>conftest.$ac_ext 14280 cat confdefs.h >>conftest.$ac_ext
13265 cat >>conftest.$ac_ext <<_ACEOF 14281 cat >>conftest.$ac_ext <<_ACEOF
13266 /* end confdefs.h. */ 14282 /* end confdefs.h. */
13267 14283
13268 /* Override any gcc2 internal prototype to avoid an error. */ 14284 /* Override any GCC internal prototype to avoid an error.
14285 Use char because int might match the return type of a GCC
14286 builtin and then its argument prototype would still apply. */
13269 #ifdef __cplusplus 14287 #ifdef __cplusplus
13270 extern "C" 14288 extern "C"
13271 #endif 14289 #endif
13272 /* We use char because int might match the return type of a gcc2
13273 builtin and then its argument prototype would still apply. */
13274 char acl_get_file (); 14290 char acl_get_file ();
13275 int 14291 int
13276 main () 14292 main ()
13277 { 14293 {
13278 acl_get_file (); 14294 return acl_get_file ();
13279 ; 14295 ;
13280 return 0; 14296 return 0;
13281 } 14297 }
13282 _ACEOF 14298 _ACEOF
13283 rm -f conftest.$ac_objext conftest$ac_exeext 14299 rm -f conftest.$ac_objext conftest$ac_exeext
13284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14300 if { (ac_try="$ac_link"
13285 (eval $ac_link) 2>conftest.er1 14301 case "(($ac_try" in
14302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14303 *) ac_try_echo=$ac_try;;
14304 esac
14305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14306 $as_echo "$ac_try_echo") >&5
14307 (eval "$ac_link") 2>conftest.er1
13286 ac_status=$? 14308 ac_status=$?
13287 grep -v '^ *+' conftest.er1 >conftest.err 14309 grep -v '^ *+' conftest.er1 >conftest.err
13288 rm -f conftest.er1 14310 rm -f conftest.er1
13289 cat conftest.err >&5 14311 cat conftest.err >&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); } && 14313 (exit $ac_status); } && {
13292 { ac_try='test -z "$ac_c_werror_flag" 14314 test -z "$ac_c_werror_flag" ||
13293 || test ! -s conftest.err' 14315 test ! -s conftest.err
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14316 } && test -s conftest$ac_exeext && {
13295 (eval $ac_try) 2>&5 14317 test "$cross_compiling" = yes ||
13296 ac_status=$? 14318 $as_test_x conftest$ac_exeext
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14319 }; then
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest$ac_exeext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 ac_cv_lib_acl_acl_get_file=yes 14320 ac_cv_lib_acl_acl_get_file=yes
13306 else 14321 else
13307 echo "$as_me: failed program was:" >&5 14322 $as_echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5 14323 sed 's/^/| /' conftest.$ac_ext >&5
13309 14324
13310 ac_cv_lib_acl_acl_get_file=no 14325 ac_cv_lib_acl_acl_get_file=no
13311 fi 14326 fi
13312 rm -f conftest.err conftest.$ac_objext \ 14327
14328 rm -rf conftest.dSYM
14329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13313 conftest$ac_exeext conftest.$ac_ext 14330 conftest$ac_exeext conftest.$ac_ext
13314 LIBS=$ac_check_lib_save_LIBS 14331 LIBS=$ac_check_lib_save_LIBS
13315 fi 14332 fi
13316 echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5 14333 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
13317 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6 14334 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
13318 if test $ac_cv_lib_acl_acl_get_file = yes; then 14335 if test $ac_cv_lib_acl_acl_get_file = yes; then
13319 LIBS="$LIBS -lacl" 14336 LIBS="$LIBS -lacl"
13320 echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5 14337 { $as_echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
13321 echo $ECHO_N "checking for fgetxattr in -lattr... $ECHO_C" >&6 14338 $as_echo_n "checking for fgetxattr in -lattr... " >&6; }
13322 if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then 14339 if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then
13323 echo $ECHO_N "(cached) $ECHO_C" >&6 14340 $as_echo_n "(cached) " >&6
13324 else 14341 else
13325 ac_check_lib_save_LIBS=$LIBS 14342 ac_check_lib_save_LIBS=$LIBS
13326 LIBS="-lattr $LIBS" 14343 LIBS="-lattr $LIBS"
13327 cat >conftest.$ac_ext <<_ACEOF 14344 cat >conftest.$ac_ext <<_ACEOF
13328 /* confdefs.h. */ 14345 /* confdefs.h. */
13329 _ACEOF 14346 _ACEOF
13330 cat confdefs.h >>conftest.$ac_ext 14347 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF 14348 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */ 14349 /* end confdefs.h. */
13333 14350
13334 /* Override any gcc2 internal prototype to avoid an error. */ 14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
13335 #ifdef __cplusplus 14354 #ifdef __cplusplus
13336 extern "C" 14355 extern "C"
13337 #endif 14356 #endif
13338 /* We use char because int might match the return type of a gcc2
13339 builtin and then its argument prototype would still apply. */
13340 char fgetxattr (); 14357 char fgetxattr ();
13341 int 14358 int
13342 main () 14359 main ()
13343 { 14360 {
13344 fgetxattr (); 14361 return fgetxattr ();
13345 ; 14362 ;
13346 return 0; 14363 return 0;
13347 } 14364 }
13348 _ACEOF 14365 _ACEOF
13349 rm -f conftest.$ac_objext conftest$ac_exeext 14366 rm -f conftest.$ac_objext conftest$ac_exeext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14367 if { (ac_try="$ac_link"
13351 (eval $ac_link) 2>conftest.er1 14368 case "(($ac_try" in
14369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14370 *) ac_try_echo=$ac_try;;
14371 esac
14372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14373 $as_echo "$ac_try_echo") >&5
14374 (eval "$ac_link") 2>conftest.er1
13352 ac_status=$? 14375 ac_status=$?
13353 grep -v '^ *+' conftest.er1 >conftest.err 14376 grep -v '^ *+' conftest.er1 >conftest.err
13354 rm -f conftest.er1 14377 rm -f conftest.er1
13355 cat conftest.err >&5 14378 cat conftest.err >&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } && 14380 (exit $ac_status); } && {
13358 { ac_try='test -z "$ac_c_werror_flag" 14381 test -z "$ac_c_werror_flag" ||
13359 || test ! -s conftest.err' 14382 test ! -s conftest.err
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14383 } && test -s conftest$ac_exeext && {
13361 (eval $ac_try) 2>&5 14384 test "$cross_compiling" = yes ||
13362 ac_status=$? 14385 $as_test_x conftest$ac_exeext
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14386 }; then
13364 (exit $ac_status); }; } &&
13365 { ac_try='test -s conftest$ac_exeext'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13368 ac_status=$?
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; }; then
13371 ac_cv_lib_attr_fgetxattr=yes 14387 ac_cv_lib_attr_fgetxattr=yes
13372 else 14388 else
13373 echo "$as_me: failed program was:" >&5 14389 $as_echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.$ac_ext >&5 14390 sed 's/^/| /' conftest.$ac_ext >&5
13375 14391
13376 ac_cv_lib_attr_fgetxattr=no 14392 ac_cv_lib_attr_fgetxattr=no
13377 fi 14393 fi
13378 rm -f conftest.err conftest.$ac_objext \ 14394
14395 rm -rf conftest.dSYM
14396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13379 conftest$ac_exeext conftest.$ac_ext 14397 conftest$ac_exeext conftest.$ac_ext
13380 LIBS=$ac_check_lib_save_LIBS 14398 LIBS=$ac_check_lib_save_LIBS
13381 fi 14399 fi
13382 echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5 14400 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
13383 echo "${ECHO_T}$ac_cv_lib_attr_fgetxattr" >&6 14401 $as_echo "$ac_cv_lib_attr_fgetxattr" >&6; }
13384 if test $ac_cv_lib_attr_fgetxattr = yes; then 14402 if test $ac_cv_lib_attr_fgetxattr = yes; then
13385 LIBS="$LIBS -lattr" 14403 LIBS="$LIBS -lattr"
13386 fi 14404 fi
13387 14405
13388 fi 14406 fi
13389 14407
13390 fi 14408 fi
13391 14409
13392 14410
13393 echo "$as_me:$LINENO: checking for POSIX ACL support" >&5 14411 { $as_echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
13394 echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6 14412 $as_echo_n "checking for POSIX ACL support... " >&6; }
13395 cat >conftest.$ac_ext <<_ACEOF 14413 cat >conftest.$ac_ext <<_ACEOF
13396 /* confdefs.h. */ 14414 /* confdefs.h. */
13397 _ACEOF 14415 _ACEOF
13398 cat confdefs.h >>conftest.$ac_ext 14416 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF 14417 cat >>conftest.$ac_ext <<_ACEOF
13413 ; 14431 ;
13414 return 0; 14432 return 0;
13415 } 14433 }
13416 _ACEOF 14434 _ACEOF
13417 rm -f conftest.$ac_objext conftest$ac_exeext 14435 rm -f conftest.$ac_objext conftest$ac_exeext
13418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14436 if { (ac_try="$ac_link"
13419 (eval $ac_link) 2>conftest.er1 14437 case "(($ac_try" in
14438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14439 *) ac_try_echo=$ac_try;;
14440 esac
14441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14442 $as_echo "$ac_try_echo") >&5
14443 (eval "$ac_link") 2>conftest.er1
13420 ac_status=$? 14444 ac_status=$?
13421 grep -v '^ *+' conftest.er1 >conftest.err 14445 grep -v '^ *+' conftest.er1 >conftest.err
13422 rm -f conftest.er1 14446 rm -f conftest.er1
13423 cat conftest.err >&5 14447 cat conftest.err >&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } && 14449 (exit $ac_status); } && {
13426 { ac_try='test -z "$ac_c_werror_flag" 14450 test -z "$ac_c_werror_flag" ||
13427 || test ! -s conftest.err' 14451 test ! -s conftest.err
13428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14452 } && test -s conftest$ac_exeext && {
13429 (eval $ac_try) 2>&5 14453 test "$cross_compiling" = yes ||
13430 ac_status=$? 14454 $as_test_x conftest$ac_exeext
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14455 }; then
13432 (exit $ac_status); }; } && 14456 { $as_echo "$as_me:$LINENO: result: yes" >&5
13433 { ac_try='test -s conftest$ac_exeext' 14457 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13435 (eval $ac_try) 2>&5
13436 ac_status=$?
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); }; }; then
13439 echo "$as_me:$LINENO: result: yes" >&5
13440 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13441 #define HAVE_POSIX_ACL 1 14458 #define HAVE_POSIX_ACL 1
13442 _ACEOF 14459 _ACEOF
13443 14460
13444 else 14461 else
13445 echo "$as_me: failed program was:" >&5 14462 $as_echo "$as_me: failed program was:" >&5
13446 sed 's/^/| /' conftest.$ac_ext >&5 14463 sed 's/^/| /' conftest.$ac_ext >&5
13447 14464
13448 echo "$as_me:$LINENO: result: no" >&5 14465 { $as_echo "$as_me:$LINENO: result: no" >&5
13449 echo "${ECHO_T}no" >&6 14466 $as_echo "no" >&6; }
13450 fi 14467 fi
13451 rm -f conftest.err conftest.$ac_objext \ 14468
14469 rm -rf conftest.dSYM
14470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13452 conftest$ac_exeext conftest.$ac_ext 14471 conftest$ac_exeext conftest.$ac_ext
13453 14472
13454 echo "$as_me:$LINENO: checking for Solaris ACL support" >&5 14473 { $as_echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
13455 echo $ECHO_N "checking for Solaris ACL support... $ECHO_C" >&6 14474 $as_echo_n "checking for Solaris ACL support... " >&6; }
13456 cat >conftest.$ac_ext <<_ACEOF 14475 cat >conftest.$ac_ext <<_ACEOF
13457 /* confdefs.h. */ 14476 /* confdefs.h. */
13458 _ACEOF 14477 _ACEOF
13459 cat confdefs.h >>conftest.$ac_ext 14478 cat confdefs.h >>conftest.$ac_ext
13460 cat >>conftest.$ac_ext <<_ACEOF 14479 cat >>conftest.$ac_ext <<_ACEOF
13471 ; 14490 ;
13472 return 0; 14491 return 0;
13473 } 14492 }
13474 _ACEOF 14493 _ACEOF
13475 rm -f conftest.$ac_objext conftest$ac_exeext 14494 rm -f conftest.$ac_objext conftest$ac_exeext
13476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14495 if { (ac_try="$ac_link"
13477 (eval $ac_link) 2>conftest.er1 14496 case "(($ac_try" in
14497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14498 *) ac_try_echo=$ac_try;;
14499 esac
14500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14501 $as_echo "$ac_try_echo") >&5
14502 (eval "$ac_link") 2>conftest.er1
13478 ac_status=$? 14503 ac_status=$?
13479 grep -v '^ *+' conftest.er1 >conftest.err 14504 grep -v '^ *+' conftest.er1 >conftest.err
13480 rm -f conftest.er1 14505 rm -f conftest.er1
13481 cat conftest.err >&5 14506 cat conftest.err >&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); } && 14508 (exit $ac_status); } && {
13484 { ac_try='test -z "$ac_c_werror_flag" 14509 test -z "$ac_c_werror_flag" ||
13485 || test ! -s conftest.err' 14510 test ! -s conftest.err
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14511 } && test -s conftest$ac_exeext && {
13487 (eval $ac_try) 2>&5 14512 test "$cross_compiling" = yes ||
13488 ac_status=$? 14513 $as_test_x conftest$ac_exeext
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14514 }; then
13490 (exit $ac_status); }; } && 14515 { $as_echo "$as_me:$LINENO: result: yes" >&5
13491 { ac_try='test -s conftest$ac_exeext' 14516 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13494 ac_status=$?
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; }; then
13497 echo "$as_me:$LINENO: result: yes" >&5
13498 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13499 #define HAVE_SOLARIS_ACL 1 14517 #define HAVE_SOLARIS_ACL 1
13500 _ACEOF 14518 _ACEOF
13501 14519
13502 else 14520 else
13503 echo "$as_me: failed program was:" >&5 14521 $as_echo "$as_me: failed program was:" >&5
13504 sed 's/^/| /' conftest.$ac_ext >&5 14522 sed 's/^/| /' conftest.$ac_ext >&5
13505 14523
13506 echo "$as_me:$LINENO: result: no" >&5 14524 { $as_echo "$as_me:$LINENO: result: no" >&5
13507 echo "${ECHO_T}no" >&6 14525 $as_echo "no" >&6; }
13508 fi 14526 fi
13509 rm -f conftest.err conftest.$ac_objext \ 14527
14528 rm -rf conftest.dSYM
14529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13510 conftest$ac_exeext conftest.$ac_ext 14530 conftest$ac_exeext conftest.$ac_ext
13511 14531
13512 echo "$as_me:$LINENO: checking for AIX ACL support" >&5 14532 { $as_echo "$as_me:$LINENO: checking for AIX ACL support" >&5
13513 echo $ECHO_N "checking for AIX ACL support... $ECHO_C" >&6 14533 $as_echo_n "checking for AIX ACL support... " >&6; }
13514 cat >conftest.$ac_ext <<_ACEOF 14534 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */ 14535 /* confdefs.h. */
13516 _ACEOF 14536 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext 14537 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF 14538 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */ 14539 /* end confdefs.h. */
13520 14540
14541 #if STDC_HEADERS
14542 # include <stdlib.h>
14543 # include <stddef.h>
14544 #endif
13521 #ifdef HAVE_SYS_ACL_H 14545 #ifdef HAVE_SYS_ACL_H
13522 # include <sys/acl.h> 14546 # include <sys/acl.h>
13523 #endif 14547 #endif
13524 #ifdef HAVE_SYS_ACCESS_H 14548 #ifdef HAVE_SYS_ACCESS_H
13525 # include <sys/access.h> 14549 # include <sys/access.h>
13540 ; 14564 ;
13541 return 0; 14565 return 0;
13542 } 14566 }
13543 _ACEOF 14567 _ACEOF
13544 rm -f conftest.$ac_objext conftest$ac_exeext 14568 rm -f conftest.$ac_objext conftest$ac_exeext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14569 if { (ac_try="$ac_link"
13546 (eval $ac_link) 2>conftest.er1 14570 case "(($ac_try" in
14571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14572 *) ac_try_echo=$ac_try;;
14573 esac
14574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14575 $as_echo "$ac_try_echo") >&5
14576 (eval "$ac_link") 2>conftest.er1
13547 ac_status=$? 14577 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err 14578 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1 14579 rm -f conftest.er1
13550 cat conftest.err >&5 14580 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } && 14582 (exit $ac_status); } && {
13553 { ac_try='test -z "$ac_c_werror_flag" 14583 test -z "$ac_c_werror_flag" ||
13554 || test ! -s conftest.err' 14584 test ! -s conftest.err
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14585 } && test -s conftest$ac_exeext && {
13556 (eval $ac_try) 2>&5 14586 test "$cross_compiling" = yes ||
13557 ac_status=$? 14587 $as_test_x conftest$ac_exeext
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14588 }; then
13559 (exit $ac_status); }; } && 14589 { $as_echo "$as_me:$LINENO: result: yes" >&5
13560 { ac_try='test -s conftest$ac_exeext' 14590 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; }; then
13566 echo "$as_me:$LINENO: result: yes" >&5
13567 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13568 #define HAVE_AIX_ACL 1 14591 #define HAVE_AIX_ACL 1
13569 _ACEOF 14592 _ACEOF
13570 14593
13571 else 14594 else
13572 echo "$as_me: failed program was:" >&5 14595 $as_echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.$ac_ext >&5 14596 sed 's/^/| /' conftest.$ac_ext >&5
13574 14597
13575 echo "$as_me:$LINENO: result: no" >&5 14598 { $as_echo "$as_me:$LINENO: result: no" >&5
13576 echo "${ECHO_T}no" >&6 14599 $as_echo "no" >&6; }
13577 fi 14600 fi
13578 rm -f conftest.err conftest.$ac_objext \ 14601
14602 rm -rf conftest.dSYM
14603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13579 conftest$ac_exeext conftest.$ac_ext 14604 conftest$ac_exeext conftest.$ac_ext
13580 else 14605 else
13581 echo "$as_me:$LINENO: result: yes" >&5 14606 { $as_echo "$as_me:$LINENO: result: yes" >&5
13582 echo "${ECHO_T}yes" >&6 14607 $as_echo "yes" >&6; }
13583 fi 14608 fi
13584 14609
13585 echo "$as_me:$LINENO: checking --disable-gpm argument" >&5 14610 { $as_echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
13586 echo $ECHO_N "checking --disable-gpm argument... $ECHO_C" >&6 14611 $as_echo_n "checking --disable-gpm argument... " >&6; }
13587 # Check whether --enable-gpm or --disable-gpm was given. 14612 # Check whether --enable-gpm was given.
13588 if test "${enable_gpm+set}" = set; then 14613 if test "${enable_gpm+set}" = set; then
13589 enableval="$enable_gpm" 14614 enableval=$enable_gpm;
13590
13591 else 14615 else
13592 enable_gpm="yes" 14616 enable_gpm="yes"
13593 fi; 14617 fi
14618
13594 14619
13595 if test "$enable_gpm" = "yes"; then 14620 if test "$enable_gpm" = "yes"; then
13596 echo "$as_me:$LINENO: result: no" >&5 14621 { $as_echo "$as_me:$LINENO: result: no" >&5
13597 echo "${ECHO_T}no" >&6 14622 $as_echo "no" >&6; }
13598 echo "$as_me:$LINENO: checking for gpm" >&5 14623 { $as_echo "$as_me:$LINENO: checking for gpm" >&5
13599 echo $ECHO_N "checking for gpm... $ECHO_C" >&6 14624 $as_echo_n "checking for gpm... " >&6; }
13600 if test "${vi_cv_have_gpm+set}" = set; then 14625 if test "${vi_cv_have_gpm+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6 14626 $as_echo_n "(cached) " >&6
13602 else 14627 else
13603 olibs="$LIBS" ; LIBS="-lgpm" 14628 olibs="$LIBS" ; LIBS="-lgpm"
13604 cat >conftest.$ac_ext <<_ACEOF 14629 cat >conftest.$ac_ext <<_ACEOF
13605 /* confdefs.h. */ 14630 /* confdefs.h. */
13606 _ACEOF 14631 _ACEOF
13616 ; 14641 ;
13617 return 0; 14642 return 0;
13618 } 14643 }
13619 _ACEOF 14644 _ACEOF
13620 rm -f conftest.$ac_objext conftest$ac_exeext 14645 rm -f conftest.$ac_objext conftest$ac_exeext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14646 if { (ac_try="$ac_link"
13622 (eval $ac_link) 2>conftest.er1 14647 case "(($ac_try" in
14648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14649 *) ac_try_echo=$ac_try;;
14650 esac
14651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14652 $as_echo "$ac_try_echo") >&5
14653 (eval "$ac_link") 2>conftest.er1
13623 ac_status=$? 14654 ac_status=$?
13624 grep -v '^ *+' conftest.er1 >conftest.err 14655 grep -v '^ *+' conftest.er1 >conftest.err
13625 rm -f conftest.er1 14656 rm -f conftest.er1
13626 cat conftest.err >&5 14657 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } && 14659 (exit $ac_status); } && {
13629 { ac_try='test -z "$ac_c_werror_flag" 14660 test -z "$ac_c_werror_flag" ||
13630 || test ! -s conftest.err' 14661 test ! -s conftest.err
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14662 } && test -s conftest$ac_exeext && {
13632 (eval $ac_try) 2>&5 14663 test "$cross_compiling" = yes ||
13633 ac_status=$? 14664 $as_test_x conftest$ac_exeext
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14665 }; then
13635 (exit $ac_status); }; } &&
13636 { ac_try='test -s conftest$ac_exeext'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13639 ac_status=$?
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; }; then
13642 vi_cv_have_gpm=yes 14666 vi_cv_have_gpm=yes
13643 else 14667 else
13644 echo "$as_me: failed program was:" >&5 14668 $as_echo "$as_me: failed program was:" >&5
13645 sed 's/^/| /' conftest.$ac_ext >&5 14669 sed 's/^/| /' conftest.$ac_ext >&5
13646 14670
13647 vi_cv_have_gpm=no 14671 vi_cv_have_gpm=no
13648 fi 14672 fi
13649 rm -f conftest.err conftest.$ac_objext \ 14673
14674 rm -rf conftest.dSYM
14675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13650 conftest$ac_exeext conftest.$ac_ext 14676 conftest$ac_exeext conftest.$ac_ext
13651 LIBS="$olibs" 14677 LIBS="$olibs"
13652 14678
13653 fi 14679 fi
13654 echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5 14680 { $as_echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
13655 echo "${ECHO_T}$vi_cv_have_gpm" >&6 14681 $as_echo "$vi_cv_have_gpm" >&6; }
13656 if test $vi_cv_have_gpm = yes; then 14682 if test $vi_cv_have_gpm = yes; then
13657 LIBS="$LIBS -lgpm" 14683 LIBS="$LIBS -lgpm"
13658 cat >>confdefs.h <<\_ACEOF 14684 cat >>confdefs.h <<\_ACEOF
13659 #define HAVE_GPM 1 14685 #define HAVE_GPM 1
13660 _ACEOF 14686 _ACEOF
13661 14687
13662 fi 14688 fi
13663 else 14689 else
13664 echo "$as_me:$LINENO: result: yes" >&5 14690 { $as_echo "$as_me:$LINENO: result: yes" >&5
13665 echo "${ECHO_T}yes" >&6 14691 $as_echo "yes" >&6; }
13666 fi 14692 fi
13667 14693
13668 echo "$as_me:$LINENO: checking for rename" >&5 14694 { $as_echo "$as_me:$LINENO: checking --disable-sysmouse argument" >&5
13669 echo $ECHO_N "checking for rename... $ECHO_C" >&6 14695 $as_echo_n "checking --disable-sysmouse argument... " >&6; }
14696 # Check whether --enable-sysmouse was given.
14697 if test "${enable_sysmouse+set}" = set; then
14698 enableval=$enable_sysmouse;
14699 else
14700 enable_sysmouse="yes"
14701 fi
14702
14703
14704 if test "$enable_sysmouse" = "yes"; then
14705 { $as_echo "$as_me:$LINENO: result: no" >&5
14706 $as_echo "no" >&6; }
14707 { $as_echo "$as_me:$LINENO: checking for sysmouse" >&5
14708 $as_echo_n "checking for sysmouse... " >&6; }
14709 if test "${vi_cv_have_sysmouse+set}" = set; then
14710 $as_echo_n "(cached) " >&6
14711 else
14712 cat >conftest.$ac_ext <<_ACEOF
14713 /* confdefs.h. */
14714 _ACEOF
14715 cat confdefs.h >>conftest.$ac_ext
14716 cat >>conftest.$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14718 #include <sys/consio.h>
14719 #include <signal.h>
14720 #include <sys/fbio.h>
14721 int
14722 main ()
14723 {
14724 struct mouse_info mouse;
14725 mouse.operation = MOUSE_MODE;
14726 mouse.operation = MOUSE_SHOW;
14727 mouse.u.mode.mode = 0;
14728 mouse.u.mode.signal = SIGUSR2;
14729 ;
14730 return 0;
14731 }
14732 _ACEOF
14733 rm -f conftest.$ac_objext conftest$ac_exeext
14734 if { (ac_try="$ac_link"
14735 case "(($ac_try" in
14736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14737 *) ac_try_echo=$ac_try;;
14738 esac
14739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14740 $as_echo "$ac_try_echo") >&5
14741 (eval "$ac_link") 2>conftest.er1
14742 ac_status=$?
14743 grep -v '^ *+' conftest.er1 >conftest.err
14744 rm -f conftest.er1
14745 cat conftest.err >&5
14746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } && {
14748 test -z "$ac_c_werror_flag" ||
14749 test ! -s conftest.err
14750 } && test -s conftest$ac_exeext && {
14751 test "$cross_compiling" = yes ||
14752 $as_test_x conftest$ac_exeext
14753 }; then
14754 vi_cv_have_sysmouse=yes
14755 else
14756 $as_echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14758
14759 vi_cv_have_sysmouse=no
14760 fi
14761
14762 rm -rf conftest.dSYM
14763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14764 conftest$ac_exeext conftest.$ac_ext
14765
14766 fi
14767 { $as_echo "$as_me:$LINENO: result: $vi_cv_have_sysmouse" >&5
14768 $as_echo "$vi_cv_have_sysmouse" >&6; }
14769 if test $vi_cv_have_sysmouse = yes; then
14770 cat >>confdefs.h <<\_ACEOF
14771 #define HAVE_SYSMOUSE 1
14772 _ACEOF
14773
14774 fi
14775 else
14776 { $as_echo "$as_me:$LINENO: result: yes" >&5
14777 $as_echo "yes" >&6; }
14778 fi
14779
14780 { $as_echo "$as_me:$LINENO: checking for rename" >&5
14781 $as_echo_n "checking for rename... " >&6; }
13670 cat >conftest.$ac_ext <<_ACEOF 14782 cat >conftest.$ac_ext <<_ACEOF
13671 /* confdefs.h. */ 14783 /* confdefs.h. */
13672 _ACEOF 14784 _ACEOF
13673 cat confdefs.h >>conftest.$ac_ext 14785 cat confdefs.h >>conftest.$ac_ext
13674 cat >>conftest.$ac_ext <<_ACEOF 14786 cat >>conftest.$ac_ext <<_ACEOF
13681 ; 14793 ;
13682 return 0; 14794 return 0;
13683 } 14795 }
13684 _ACEOF 14796 _ACEOF
13685 rm -f conftest.$ac_objext conftest$ac_exeext 14797 rm -f conftest.$ac_objext conftest$ac_exeext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 14798 if { (ac_try="$ac_link"
13687 (eval $ac_link) 2>conftest.er1 14799 case "(($ac_try" in
14800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14801 *) ac_try_echo=$ac_try;;
14802 esac
14803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14804 $as_echo "$ac_try_echo") >&5
14805 (eval "$ac_link") 2>conftest.er1
13688 ac_status=$? 14806 ac_status=$?
13689 grep -v '^ *+' conftest.er1 >conftest.err 14807 grep -v '^ *+' conftest.er1 >conftest.err
13690 rm -f conftest.er1 14808 rm -f conftest.er1
13691 cat conftest.err >&5 14809 cat conftest.err >&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } && 14811 (exit $ac_status); } && {
13694 { ac_try='test -z "$ac_c_werror_flag" 14812 test -z "$ac_c_werror_flag" ||
13695 || test ! -s conftest.err' 14813 test ! -s conftest.err
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14814 } && test -s conftest$ac_exeext && {
13697 (eval $ac_try) 2>&5 14815 test "$cross_compiling" = yes ||
13698 ac_status=$? 14816 $as_test_x conftest$ac_exeext
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14817 }; then
13700 (exit $ac_status); }; } && 14818 { $as_echo "$as_me:$LINENO: result: yes" >&5
13701 { ac_try='test -s conftest$ac_exeext' 14819 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13703 (eval $ac_try) 2>&5
13704 ac_status=$?
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; }; then
13707 echo "$as_me:$LINENO: result: yes" >&5
13708 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13709 #define HAVE_RENAME 1 14820 #define HAVE_RENAME 1
13710 _ACEOF 14821 _ACEOF
13711 14822
13712 else 14823 else
13713 echo "$as_me: failed program was:" >&5 14824 $as_echo "$as_me: failed program was:" >&5
13714 sed 's/^/| /' conftest.$ac_ext >&5 14825 sed 's/^/| /' conftest.$ac_ext >&5
13715 14826
13716 echo "$as_me:$LINENO: result: no" >&5 14827 { $as_echo "$as_me:$LINENO: result: no" >&5
13717 echo "${ECHO_T}no" >&6 14828 $as_echo "no" >&6; }
13718 fi 14829 fi
13719 rm -f conftest.err conftest.$ac_objext \ 14830
14831 rm -rf conftest.dSYM
14832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13720 conftest$ac_exeext conftest.$ac_ext 14833 conftest$ac_exeext conftest.$ac_ext
13721 14834
13722 echo "$as_me:$LINENO: checking for sysctl" >&5 14835 { $as_echo "$as_me:$LINENO: checking for sysctl" >&5
13723 echo $ECHO_N "checking for sysctl... $ECHO_C" >&6 14836 $as_echo_n "checking for sysctl... " >&6; }
13724 cat >conftest.$ac_ext <<_ACEOF 14837 cat >conftest.$ac_ext <<_ACEOF
13725 /* confdefs.h. */ 14838 /* confdefs.h. */
13726 _ACEOF 14839 _ACEOF
13727 cat confdefs.h >>conftest.$ac_ext 14840 cat confdefs.h >>conftest.$ac_ext
13728 cat >>conftest.$ac_ext <<_ACEOF 14841 cat >>conftest.$ac_ext <<_ACEOF
13743 ; 14856 ;
13744 return 0; 14857 return 0;
13745 } 14858 }
13746 _ACEOF 14859 _ACEOF
13747 rm -f conftest.$ac_objext 14860 rm -f conftest.$ac_objext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14861 if { (ac_try="$ac_compile"
13749 (eval $ac_compile) 2>conftest.er1 14862 case "(($ac_try" in
14863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14864 *) ac_try_echo=$ac_try;;
14865 esac
14866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14867 $as_echo "$ac_try_echo") >&5
14868 (eval "$ac_compile") 2>conftest.er1
13750 ac_status=$? 14869 ac_status=$?
13751 grep -v '^ *+' conftest.er1 >conftest.err 14870 grep -v '^ *+' conftest.er1 >conftest.err
13752 rm -f conftest.er1 14871 rm -f conftest.er1
13753 cat conftest.err >&5 14872 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } && 14874 (exit $ac_status); } && {
13756 { ac_try='test -z "$ac_c_werror_flag" 14875 test -z "$ac_c_werror_flag" ||
13757 || test ! -s conftest.err' 14876 test ! -s conftest.err
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14877 } && test -s conftest.$ac_objext; then
13759 (eval $ac_try) 2>&5 14878 { $as_echo "$as_me:$LINENO: result: yes" >&5
13760 ac_status=$? 14879 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; } &&
13763 { ac_try='test -s conftest.$ac_objext'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13766 ac_status=$?
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13769 echo "$as_me:$LINENO: result: yes" >&5
13770 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13771 #define HAVE_SYSCTL 1 14880 #define HAVE_SYSCTL 1
13772 _ACEOF 14881 _ACEOF
13773 14882
13774 else 14883 else
13775 echo "$as_me: failed program was:" >&5 14884 $as_echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5 14885 sed 's/^/| /' conftest.$ac_ext >&5
13777 14886
13778 echo "$as_me:$LINENO: result: not usable" >&5 14887 { $as_echo "$as_me:$LINENO: result: not usable" >&5
13779 echo "${ECHO_T}not usable" >&6 14888 $as_echo "not usable" >&6; }
13780 fi 14889 fi
13781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14890
13782 14891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13783 echo "$as_me:$LINENO: checking for sysinfo" >&5 14892
13784 echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6 14893 { $as_echo "$as_me:$LINENO: checking for sysinfo" >&5
14894 $as_echo_n "checking for sysinfo... " >&6; }
13785 cat >conftest.$ac_ext <<_ACEOF 14895 cat >conftest.$ac_ext <<_ACEOF
13786 /* confdefs.h. */ 14896 /* confdefs.h. */
13787 _ACEOF 14897 _ACEOF
13788 cat confdefs.h >>conftest.$ac_ext 14898 cat confdefs.h >>conftest.$ac_ext
13789 cat >>conftest.$ac_ext <<_ACEOF 14899 cat >>conftest.$ac_ext <<_ACEOF
13802 ; 14912 ;
13803 return 0; 14913 return 0;
13804 } 14914 }
13805 _ACEOF 14915 _ACEOF
13806 rm -f conftest.$ac_objext 14916 rm -f conftest.$ac_objext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14917 if { (ac_try="$ac_compile"
13808 (eval $ac_compile) 2>conftest.er1 14918 case "(($ac_try" in
14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14921 esac
14922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14923 $as_echo "$ac_try_echo") >&5
14924 (eval "$ac_compile") 2>conftest.er1
13809 ac_status=$? 14925 ac_status=$?
13810 grep -v '^ *+' conftest.er1 >conftest.err 14926 grep -v '^ *+' conftest.er1 >conftest.err
13811 rm -f conftest.er1 14927 rm -f conftest.er1
13812 cat conftest.err >&5 14928 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } && 14930 (exit $ac_status); } && {
13815 { ac_try='test -z "$ac_c_werror_flag" 14931 test -z "$ac_c_werror_flag" ||
13816 || test ! -s conftest.err' 14932 test ! -s conftest.err
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14933 } && test -s conftest.$ac_objext; then
13818 (eval $ac_try) 2>&5 14934 { $as_echo "$as_me:$LINENO: result: yes" >&5
13819 ac_status=$? 14935 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 echo "$as_me:$LINENO: result: yes" >&5
13829 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13830 #define HAVE_SYSINFO 1 14936 #define HAVE_SYSINFO 1
13831 _ACEOF 14937 _ACEOF
13832 14938
13833 else 14939 else
13834 echo "$as_me: failed program was:" >&5 14940 $as_echo "$as_me: failed program was:" >&5
13835 sed 's/^/| /' conftest.$ac_ext >&5 14941 sed 's/^/| /' conftest.$ac_ext >&5
13836 14942
13837 echo "$as_me:$LINENO: result: not usable" >&5 14943 { $as_echo "$as_me:$LINENO: result: not usable" >&5
13838 echo "${ECHO_T}not usable" >&6 14944 $as_echo "not usable" >&6; }
13839 fi 14945 fi
13840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14946
13841 14947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13842 echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5 14948
13843 echo $ECHO_N "checking for sysinfo.mem_unit... $ECHO_C" >&6 14949 { $as_echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
14950 $as_echo_n "checking for sysinfo.mem_unit... " >&6; }
13844 cat >conftest.$ac_ext <<_ACEOF 14951 cat >conftest.$ac_ext <<_ACEOF
13845 /* confdefs.h. */ 14952 /* confdefs.h. */
13846 _ACEOF 14953 _ACEOF
13847 cat confdefs.h >>conftest.$ac_ext 14954 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF 14955 cat >>conftest.$ac_ext <<_ACEOF
13858 ; 14965 ;
13859 return 0; 14966 return 0;
13860 } 14967 }
13861 _ACEOF 14968 _ACEOF
13862 rm -f conftest.$ac_objext 14969 rm -f conftest.$ac_objext
13863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14970 if { (ac_try="$ac_compile"
13864 (eval $ac_compile) 2>conftest.er1 14971 case "(($ac_try" in
14972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14973 *) ac_try_echo=$ac_try;;
14974 esac
14975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14976 $as_echo "$ac_try_echo") >&5
14977 (eval "$ac_compile") 2>conftest.er1
13865 ac_status=$? 14978 ac_status=$?
13866 grep -v '^ *+' conftest.er1 >conftest.err 14979 grep -v '^ *+' conftest.er1 >conftest.err
13867 rm -f conftest.er1 14980 rm -f conftest.er1
13868 cat conftest.err >&5 14981 cat conftest.err >&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); } && 14983 (exit $ac_status); } && {
13871 { ac_try='test -z "$ac_c_werror_flag" 14984 test -z "$ac_c_werror_flag" ||
13872 || test ! -s conftest.err' 14985 test ! -s conftest.err
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 14986 } && test -s conftest.$ac_objext; then
13874 (eval $ac_try) 2>&5 14987 { $as_echo "$as_me:$LINENO: result: yes" >&5
13875 ac_status=$? 14988 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; } &&
13878 { ac_try='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 echo "$as_me:$LINENO: result: yes" >&5
13885 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13886 #define HAVE_SYSINFO_MEM_UNIT 1 14989 #define HAVE_SYSINFO_MEM_UNIT 1
13887 _ACEOF 14990 _ACEOF
13888 14991
13889 else 14992 else
13890 echo "$as_me: failed program was:" >&5 14993 $as_echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5 14994 sed 's/^/| /' conftest.$ac_ext >&5
13892 14995
13893 echo "$as_me:$LINENO: result: no" >&5 14996 { $as_echo "$as_me:$LINENO: result: no" >&5
13894 echo "${ECHO_T}no" >&6 14997 $as_echo "no" >&6; }
13895 fi 14998 fi
13896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 14999
13897 15000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898 echo "$as_me:$LINENO: checking for sysconf" >&5 15001
13899 echo $ECHO_N "checking for sysconf... $ECHO_C" >&6 15002 { $as_echo "$as_me:$LINENO: checking for sysconf" >&5
15003 $as_echo_n "checking for sysconf... " >&6; }
13900 cat >conftest.$ac_ext <<_ACEOF 15004 cat >conftest.$ac_ext <<_ACEOF
13901 /* confdefs.h. */ 15005 /* confdefs.h. */
13902 _ACEOF 15006 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext 15007 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF 15008 cat >>conftest.$ac_ext <<_ACEOF
13913 ; 15017 ;
13914 return 0; 15018 return 0;
13915 } 15019 }
13916 _ACEOF 15020 _ACEOF
13917 rm -f conftest.$ac_objext 15021 rm -f conftest.$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15022 if { (ac_try="$ac_compile"
13919 (eval $ac_compile) 2>conftest.er1 15023 case "(($ac_try" in
15024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15025 *) ac_try_echo=$ac_try;;
15026 esac
15027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15028 $as_echo "$ac_try_echo") >&5
15029 (eval "$ac_compile") 2>conftest.er1
13920 ac_status=$? 15030 ac_status=$?
13921 grep -v '^ *+' conftest.er1 >conftest.err 15031 grep -v '^ *+' conftest.er1 >conftest.err
13922 rm -f conftest.er1 15032 rm -f conftest.er1
13923 cat conftest.err >&5 15033 cat conftest.err >&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } && 15035 (exit $ac_status); } && {
13926 { ac_try='test -z "$ac_c_werror_flag" 15036 test -z "$ac_c_werror_flag" ||
13927 || test ! -s conftest.err' 15037 test ! -s conftest.err
13928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15038 } && test -s conftest.$ac_objext; then
13929 (eval $ac_try) 2>&5 15039 { $as_echo "$as_me:$LINENO: result: yes" >&5
13930 ac_status=$? 15040 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; } &&
13933 { ac_try='test -s conftest.$ac_objext'
13934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13935 (eval $ac_try) 2>&5
13936 ac_status=$?
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); }; }; then
13939 echo "$as_me:$LINENO: result: yes" >&5
13940 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
13941 #define HAVE_SYSCONF 1 15041 #define HAVE_SYSCONF 1
13942 _ACEOF 15042 _ACEOF
13943 15043
13944 else 15044 else
13945 echo "$as_me: failed program was:" >&5 15045 $as_echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5 15046 sed 's/^/| /' conftest.$ac_ext >&5
13947 15047
13948 echo "$as_me:$LINENO: result: not usable" >&5 15048 { $as_echo "$as_me:$LINENO: result: not usable" >&5
13949 echo "${ECHO_T}not usable" >&6 15049 $as_echo "not usable" >&6; }
13950 fi 15050 fi
13951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 15051
13952 15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13953 15053
13954 echo "$as_me:$LINENO: checking size of int" >&5 15054
13955 echo $ECHO_N "checking size of int... $ECHO_C" >&6 15055 { $as_echo "$as_me:$LINENO: checking size of int" >&5
15056 $as_echo_n "checking size of int... " >&6; }
13956 if test "${ac_cv_sizeof_int+set}" = set; then 15057 if test "${ac_cv_sizeof_int+set}" = set; then
13957 echo $ECHO_N "(cached) $ECHO_C" >&6 15058 $as_echo_n "(cached) " >&6
13958 else 15059 else
13959 if test "$cross_compiling" = yes; then 15060 if test "$cross_compiling" = yes; then
13960 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 15061 { { $as_echo "$as_me:$LINENO: error: failed to compile test program" >&5
13961 echo "$as_me: error: failed to compile test program" >&2;} 15062 $as_echo "$as_me: error: failed to compile test program" >&2;}
13962 { (exit 1); exit 1; }; } 15063 { (exit 1); exit 1; }; }
13963 else 15064 else
13964 cat >conftest.$ac_ext <<_ACEOF 15065 cat >conftest.$ac_ext <<_ACEOF
13965 /* confdefs.h. */ 15066 /* confdefs.h. */
13966 _ACEOF 15067 _ACEOF
13967 cat confdefs.h >>conftest.$ac_ext 15068 cat confdefs.h >>conftest.$ac_ext
13968 cat >>conftest.$ac_ext <<_ACEOF 15069 cat >>conftest.$ac_ext <<_ACEOF
13969 /* end confdefs.h. */ 15070 /* end confdefs.h. */
15071
13970 #include <stdio.h> 15072 #include <stdio.h>
13971 main() 15073 #if STDC_HEADERS
13972 { 15074 # include <stdlib.h>
13973 FILE *f=fopen("conftestval", "w"); 15075 # include <stddef.h>
13974 if (!f) exit(1); 15076 #endif
13975 fprintf(f, "%d\n", (int)sizeof(int)); 15077 main()
13976 exit(0); 15078 {
13977 } 15079 FILE *f=fopen("conftestval", "w");
15080 if (!f) exit(1);
15081 fprintf(f, "%d\n", (int)sizeof(int));
15082 exit(0);
15083 }
13978 _ACEOF 15084 _ACEOF
13979 rm -f conftest$ac_exeext 15085 rm -f conftest$ac_exeext
13980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15086 if { (ac_try="$ac_link"
13981 (eval $ac_link) 2>&5 15087 case "(($ac_try" in
15088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15089 *) ac_try_echo=$ac_try;;
15090 esac
15091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15092 $as_echo "$ac_try_echo") >&5
15093 (eval "$ac_link") 2>&5
13982 ac_status=$? 15094 ac_status=$?
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15097 { (case "(($ac_try" in
13986 (eval $ac_try) 2>&5 15098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15099 *) ac_try_echo=$ac_try;;
15100 esac
15101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15102 $as_echo "$ac_try_echo") >&5
15103 (eval "$ac_try") 2>&5
13987 ac_status=$? 15104 ac_status=$?
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; }; then 15106 (exit $ac_status); }; }; then
13990 ac_cv_sizeof_int=`cat conftestval` 15107 ac_cv_sizeof_int=`cat conftestval`
13991 else 15108 else
13992 echo "$as_me: program exited with status $ac_status" >&5 15109 $as_echo "$as_me: program exited with status $ac_status" >&5
13993 echo "$as_me: failed program was:" >&5 15110 $as_echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.$ac_ext >&5 15111 sed 's/^/| /' conftest.$ac_ext >&5
13995 15112
13996 ( exit $ac_status ) 15113 ( exit $ac_status )
13997 ac_cv_sizeof_int=0 15114 ac_cv_sizeof_int=0
13998 fi 15115 fi
13999 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15116 rm -rf conftest.dSYM
14000 fi 15117 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14001 fi 15118 fi
14002 15119
14003 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 15120
14004 echo "${ECHO_T}$ac_cv_sizeof_int" >&6 15121 fi
15122
15123 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15124 $as_echo "$ac_cv_sizeof_int" >&6; }
14005 cat >>confdefs.h <<_ACEOF 15125 cat >>confdefs.h <<_ACEOF
14006 #define SIZEOF_INT $ac_cv_sizeof_int 15126 #define SIZEOF_INT $ac_cv_sizeof_int
14007 _ACEOF 15127 _ACEOF
14008 15128
14009 15129
14010 echo "$as_me:$LINENO: checking whether memmove/bcopy/memcpy handle overlaps" >&5 15130
14011 echo $ECHO_N "checking whether memmove/bcopy/memcpy handle overlaps... $ECHO_C" >&6 15131
14012 bcopy_test_prog=' 15132 bcopy_test_prog='
15133 #include "confdefs.h"
15134 #ifdef HAVE_STRING_H
15135 # include <string.h>
15136 #endif
15137 #if STDC_HEADERS
15138 # include <stdlib.h>
15139 # include <stddef.h>
15140 #endif
14013 main() { 15141 main() {
14014 char buf[10]; 15142 char buf[10];
14015 strcpy(buf, "abcdefghi"); 15143 strcpy(buf, "abcdefghi");
14016 mch_memmove(buf, buf + 2, 3); 15144 mch_memmove(buf, buf + 2, 3);
14017 if (strncmp(buf, "ababcf", 6)) 15145 if (strncmp(buf, "ababcf", 6))
14021 if (strncmp(buf, "cdedef", 6)) 15149 if (strncmp(buf, "cdedef", 6))
14022 exit(1); 15150 exit(1);
14023 exit(0); /* libc version works properly. */ 15151 exit(0); /* libc version works properly. */
14024 }' 15152 }'
14025 15153
14026 15154 { $as_echo "$as_me:$LINENO: checking whether memmove handles overlaps" >&5
14027 if test "$cross_compiling" = yes; then 15155 $as_echo_n "checking whether memmove handles overlaps... " >&6; }
14028 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 15156 if test "${vim_cv_memmove_handles_overlap+set}" = set; then
14029 echo "$as_me: error: failed to compile test program" >&2;} 15157 $as_echo_n "(cached) " >&6
15158 else
15159
15160 if test "$cross_compiling" = yes; then
15161
15162 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_memmove_handles_overlap'" >&5
15163 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_memmove_handles_overlap'" >&2;}
14030 { (exit 1); exit 1; }; } 15164 { (exit 1); exit 1; }; }
15165
14031 else 15166 else
14032 cat >conftest.$ac_ext <<_ACEOF 15167 cat >conftest.$ac_ext <<_ACEOF
14033 /* confdefs.h. */
14034 _ACEOF
14035 cat confdefs.h >>conftest.$ac_ext
14036 cat >>conftest.$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14038 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog 15168 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog
14039 _ACEOF 15169 _ACEOF
14040 rm -f conftest$ac_exeext 15170 rm -f conftest$ac_exeext
14041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15171 if { (ac_try="$ac_link"
14042 (eval $ac_link) 2>&5 15172 case "(($ac_try" in
15173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15174 *) ac_try_echo=$ac_try;;
15175 esac
15176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15177 $as_echo "$ac_try_echo") >&5
15178 (eval "$ac_link") 2>&5
14043 ac_status=$? 15179 ac_status=$?
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15182 { (case "(($ac_try" in
14047 (eval $ac_try) 2>&5 15183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15185 esac
15186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15187 $as_echo "$ac_try_echo") >&5
15188 (eval "$ac_try") 2>&5
14048 ac_status=$? 15189 ac_status=$?
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; }; then 15191 (exit $ac_status); }; }; then
15192
15193 vim_cv_memmove_handles_overlap=yes
15194
15195 else
15196 $as_echo "$as_me: program exited with status $ac_status" >&5
15197 $as_echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.$ac_ext >&5
15199
15200 ( exit $ac_status )
15201
15202 vim_cv_memmove_handles_overlap=no
15203
15204 fi
15205 rm -rf conftest.dSYM
15206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15207 fi
15208
15209
15210
15211 fi
15212 { $as_echo "$as_me:$LINENO: result: $vim_cv_memmove_handles_overlap" >&5
15213 $as_echo "$vim_cv_memmove_handles_overlap" >&6; }
15214
15215 if test "x$vim_cv_memmove_handles_overlap" = "xyes" ; then
14051 cat >>confdefs.h <<\_ACEOF 15216 cat >>confdefs.h <<\_ACEOF
14052 #define USEMEMMOVE 1 15217 #define USEMEMMOVE 1
14053 _ACEOF 15218 _ACEOF
14054 echo "$as_me:$LINENO: result: memmove does" >&5 15219
14055 echo "${ECHO_T}memmove does" >&6 15220 else
14056 else 15221 { $as_echo "$as_me:$LINENO: checking whether bcopy handles overlaps" >&5
14057 echo "$as_me: program exited with status $ac_status" >&5 15222 $as_echo_n "checking whether bcopy handles overlaps... " >&6; }
14058 echo "$as_me: failed program was:" >&5 15223 if test "${vim_cv_bcopy_handles_overlap+set}" = set; then
15224 $as_echo_n "(cached) " >&6
15225 else
15226
15227 if test "$cross_compiling" = yes; then
15228
15229 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_bcopy_handles_overlap'" >&5
15230 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_bcopy_handles_overlap'" >&2;}
15231 { (exit 1); exit 1; }; }
15232
15233 else
15234 cat >conftest.$ac_ext <<_ACEOF
15235 #define mch_bcopy(s,d,l) bcopy(d,s,l) $bcopy_test_prog
15236 _ACEOF
15237 rm -f conftest$ac_exeext
15238 if { (ac_try="$ac_link"
15239 case "(($ac_try" in
15240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15241 *) ac_try_echo=$ac_try;;
15242 esac
15243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15244 $as_echo "$ac_try_echo") >&5
15245 (eval "$ac_link") 2>&5
15246 ac_status=$?
15247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15249 { (case "(($ac_try" in
15250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15251 *) ac_try_echo=$ac_try;;
15252 esac
15253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15254 $as_echo "$ac_try_echo") >&5
15255 (eval "$ac_try") 2>&5
15256 ac_status=$?
15257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }; }; then
15259
15260 vim_cv_bcopy_handles_overlap=yes
15261
15262 else
15263 $as_echo "$as_me: program exited with status $ac_status" >&5
15264 $as_echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.$ac_ext >&5 15265 sed 's/^/| /' conftest.$ac_ext >&5
14060 15266
14061 ( exit $ac_status ) 15267 ( exit $ac_status )
14062 if test "$cross_compiling" = yes; then 15268
14063 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 15269 vim_cv_bcopy_handles_overlap=no
14064 echo "$as_me: error: failed to compile test program" >&2;} 15270
15271 fi
15272 rm -rf conftest.dSYM
15273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15274 fi
15275
15276
15277
15278 fi
15279 { $as_echo "$as_me:$LINENO: result: $vim_cv_bcopy_handles_overlap" >&5
15280 $as_echo "$vim_cv_bcopy_handles_overlap" >&6; }
15281
15282 if test "x$vim_cv_bcopy_handles_overlap" = "xyes" ; then
15283 cat >>confdefs.h <<\_ACEOF
15284 #define USEBCOPY 1
15285 _ACEOF
15286
15287 else
15288 { $as_echo "$as_me:$LINENO: checking whether memcpy handles overlaps" >&5
15289 $as_echo_n "checking whether memcpy handles overlaps... " >&6; }
15290 if test "${vim_cv_memcpy_handles_overlap+set}" = set; then
15291 $as_echo_n "(cached) " >&6
15292 else
15293
15294 if test "$cross_compiling" = yes; then
15295
15296 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_memcpy_handles_overlap'" >&5
15297 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_memcpy_handles_overlap'" >&2;}
14065 { (exit 1); exit 1; }; } 15298 { (exit 1); exit 1; }; }
15299
14066 else 15300 else
14067 cat >conftest.$ac_ext <<_ACEOF 15301 cat >conftest.$ac_ext <<_ACEOF
14068 /* confdefs.h. */ 15302 #define mch_memcpy(s,d,l) memcpy(d,s,l) $bcopy_test_prog
14069 _ACEOF
14070 cat confdefs.h >>conftest.$ac_ext
14071 cat >>conftest.$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog
14074 _ACEOF 15303 _ACEOF
14075 rm -f conftest$ac_exeext 15304 rm -f conftest$ac_exeext
14076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15305 if { (ac_try="$ac_link"
14077 (eval $ac_link) 2>&5 15306 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15309 esac
15310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15311 $as_echo "$ac_try_echo") >&5
15312 (eval "$ac_link") 2>&5
14078 ac_status=$? 15313 ac_status=$?
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15316 { (case "(($ac_try" in
14082 (eval $ac_try) 2>&5 15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15319 esac
15320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15321 $as_echo "$ac_try_echo") >&5
15322 (eval "$ac_try") 2>&5
14083 ac_status=$? 15323 ac_status=$?
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; }; then 15325 (exit $ac_status); }; }; then
14086 cat >>confdefs.h <<\_ACEOF 15326
14087 #define USEBCOPY 1 15327 vim_cv_memcpy_handles_overlap=yes
14088 _ACEOF 15328
14089 echo "$as_me:$LINENO: result: bcopy does" >&5 15329 else
14090 echo "${ECHO_T}bcopy does" >&6 15330 $as_echo "$as_me: program exited with status $ac_status" >&5
14091 else 15331 $as_echo "$as_me: failed program was:" >&5
14092 echo "$as_me: program exited with status $ac_status" >&5
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.$ac_ext >&5 15332 sed 's/^/| /' conftest.$ac_ext >&5
14095 15333
14096 ( exit $ac_status ) 15334 ( exit $ac_status )
14097 if test "$cross_compiling" = yes; then 15335
14098 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 15336 vim_cv_memcpy_handles_overlap=no
14099 echo "$as_me: error: failed to compile test program" >&2;} 15337
14100 { (exit 1); exit 1; }; } 15338 fi
14101 else 15339 rm -rf conftest.dSYM
14102 cat >conftest.$ac_ext <<_ACEOF 15340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14103 /* confdefs.h. */ 15341 fi
14104 _ACEOF 15342
14105 cat confdefs.h >>conftest.$ac_ext 15343
14106 cat >>conftest.$ac_ext <<_ACEOF 15344
14107 /* end confdefs.h. */ 15345 fi
14108 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog 15346 { $as_echo "$as_me:$LINENO: result: $vim_cv_memcpy_handles_overlap" >&5
14109 _ACEOF 15347 $as_echo "$vim_cv_memcpy_handles_overlap" >&6; }
14110 rm -f conftest$ac_exeext 15348
14111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15349 if test "x$vim_cv_memcpy_handles_overlap" = "xyes" ; then
14112 (eval $ac_link) 2>&5 15350 cat >>confdefs.h <<\_ACEOF
14113 ac_status=$?
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14118 ac_status=$?
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; }; then
14121 cat >>confdefs.h <<\_ACEOF
14122 #define USEMEMCPY 1 15351 #define USEMEMCPY 1
14123 _ACEOF 15352 _ACEOF
14124 echo "$as_me:$LINENO: result: memcpy does" >&5 15353
14125 echo "${ECHO_T}memcpy does" >&6 15354 fi
14126 else 15355 fi
14127 echo "$as_me: program exited with status $ac_status" >&5 15356 fi
14128 echo "$as_me: failed program was:" >&5 15357
14129 sed 's/^/| /' conftest.$ac_ext >&5
14130
14131 ( exit $ac_status )
14132 echo "$as_me:$LINENO: result: no" >&5
14133 echo "${ECHO_T}no" >&6
14134 fi
14135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14136 fi
14137 fi
14138 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14139 fi
14140 fi
14141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14142 fi
14143 15358
14144 15359
14145 if test "$enable_multibyte" = "yes"; then 15360 if test "$enable_multibyte" = "yes"; then
14146 cflags_save=$CFLAGS 15361 cflags_save=$CFLAGS
14147 ldflags_save=$LDFLAGS 15362 ldflags_save=$LDFLAGS
14148 if test -n "$x_includes" ; then 15363 if test -n "$x_includes" ; then
14149 CFLAGS="$CFLAGS -I$x_includes" 15364 CFLAGS="$CFLAGS -I$x_includes"
14150 LDFLAGS="$X_LIBS $LDFLAGS -lX11" 15365 LDFLAGS="$X_LIBS $LDFLAGS -lX11"
14151 echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5 15366 { $as_echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
14152 echo $ECHO_N "checking whether X_LOCALE needed... $ECHO_C" >&6 15367 $as_echo_n "checking whether X_LOCALE needed... " >&6; }
14153 cat >conftest.$ac_ext <<_ACEOF 15368 cat >conftest.$ac_ext <<_ACEOF
14154 /* confdefs.h. */ 15369 /* confdefs.h. */
14155 _ACEOF 15370 _ACEOF
14156 cat confdefs.h >>conftest.$ac_ext 15371 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF 15372 cat >>conftest.$ac_ext <<_ACEOF
14164 ; 15379 ;
14165 return 0; 15380 return 0;
14166 } 15381 }
14167 _ACEOF 15382 _ACEOF
14168 rm -f conftest.$ac_objext 15383 rm -f conftest.$ac_objext
14169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15384 if { (ac_try="$ac_compile"
14170 (eval $ac_compile) 2>conftest.er1 15385 case "(($ac_try" in
15386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15388 esac
15389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15390 $as_echo "$ac_try_echo") >&5
15391 (eval "$ac_compile") 2>conftest.er1
14171 ac_status=$? 15392 ac_status=$?
14172 grep -v '^ *+' conftest.er1 >conftest.err 15393 grep -v '^ *+' conftest.er1 >conftest.err
14173 rm -f conftest.er1 15394 rm -f conftest.er1
14174 cat conftest.err >&5 15395 cat conftest.err >&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } && 15397 (exit $ac_status); } && {
14177 { ac_try='test -z "$ac_c_werror_flag" 15398 test -z "$ac_c_werror_flag" ||
14178 || test ! -s conftest.err' 15399 test ! -s conftest.err
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15400 } && test -s conftest.$ac_objext; then
14180 (eval $ac_try) 2>&5
14181 ac_status=$?
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; } &&
14184 { ac_try='test -s conftest.$ac_objext'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14187 ac_status=$?
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; }; then
14190 cat >conftest.$ac_ext <<_ACEOF 15401 cat >conftest.$ac_ext <<_ACEOF
14191 /* confdefs.h. */ 15402 /* confdefs.h. */
14192 _ACEOF 15403 _ACEOF
14193 cat confdefs.h >>conftest.$ac_ext 15404 cat confdefs.h >>conftest.$ac_ext
14194 cat >>conftest.$ac_ext <<_ACEOF 15405 cat >>conftest.$ac_ext <<_ACEOF
14195 /* end confdefs.h. */ 15406 /* end confdefs.h. */
14196 15407
14197 /* Override any gcc2 internal prototype to avoid an error. */ 15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
14198 #ifdef __cplusplus 15411 #ifdef __cplusplus
14199 extern "C" 15412 extern "C"
14200 #endif 15413 #endif
14201 /* We use char because int might match the return type of a gcc2
14202 builtin and then its argument prototype would still apply. */
14203 char _Xsetlocale (); 15414 char _Xsetlocale ();
14204 int 15415 int
14205 main () 15416 main ()
14206 { 15417 {
14207 _Xsetlocale (); 15418 return _Xsetlocale ();
14208 ; 15419 ;
14209 return 0; 15420 return 0;
14210 } 15421 }
14211 _ACEOF 15422 _ACEOF
14212 rm -f conftest.$ac_objext conftest$ac_exeext 15423 rm -f conftest.$ac_objext conftest$ac_exeext
14213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15424 if { (ac_try="$ac_link"
14214 (eval $ac_link) 2>conftest.er1 15425 case "(($ac_try" in
15426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427 *) ac_try_echo=$ac_try;;
15428 esac
15429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15430 $as_echo "$ac_try_echo") >&5
15431 (eval "$ac_link") 2>conftest.er1
14215 ac_status=$? 15432 ac_status=$?
14216 grep -v '^ *+' conftest.er1 >conftest.err 15433 grep -v '^ *+' conftest.er1 >conftest.err
14217 rm -f conftest.er1 15434 rm -f conftest.er1
14218 cat conftest.err >&5 15435 cat conftest.err >&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } && 15437 (exit $ac_status); } && {
14221 { ac_try='test -z "$ac_c_werror_flag" 15438 test -z "$ac_c_werror_flag" ||
14222 || test ! -s conftest.err' 15439 test ! -s conftest.err
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15440 } && test -s conftest$ac_exeext && {
14224 (eval $ac_try) 2>&5 15441 test "$cross_compiling" = yes ||
14225 ac_status=$? 15442 $as_test_x conftest$ac_exeext
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15443 }; then
14227 (exit $ac_status); }; } && 15444 { $as_echo "$as_me:$LINENO: result: yes" >&5
14228 { ac_try='test -s conftest$ac_exeext' 15445 $as_echo "yes" >&6; }
14229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14230 (eval $ac_try) 2>&5
14231 ac_status=$?
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); }; }; then
14234 echo "$as_me:$LINENO: result: yes" >&5
14235 echo "${ECHO_T}yes" >&6
14236 cat >>confdefs.h <<\_ACEOF 15446 cat >>confdefs.h <<\_ACEOF
14237 #define X_LOCALE 1 15447 #define X_LOCALE 1
14238 _ACEOF 15448 _ACEOF
14239 15449
14240 else 15450 else
14241 echo "$as_me: failed program was:" >&5 15451 $as_echo "$as_me: failed program was:" >&5
14242 sed 's/^/| /' conftest.$ac_ext >&5 15452 sed 's/^/| /' conftest.$ac_ext >&5
14243 15453
14244 echo "$as_me:$LINENO: result: no" >&5 15454 { $as_echo "$as_me:$LINENO: result: no" >&5
14245 echo "${ECHO_T}no" >&6 15455 $as_echo "no" >&6; }
14246 fi 15456 fi
14247 rm -f conftest.err conftest.$ac_objext \ 15457
15458 rm -rf conftest.dSYM
15459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14248 conftest$ac_exeext conftest.$ac_ext 15460 conftest$ac_exeext conftest.$ac_ext
14249 else 15461 else
14250 echo "$as_me: failed program was:" >&5 15462 $as_echo "$as_me: failed program was:" >&5
14251 sed 's/^/| /' conftest.$ac_ext >&5 15463 sed 's/^/| /' conftest.$ac_ext >&5
14252 15464
14253 echo "$as_me:$LINENO: result: no" >&5 15465 { $as_echo "$as_me:$LINENO: result: no" >&5
14254 echo "${ECHO_T}no" >&6 15466 $as_echo "no" >&6; }
14255 fi 15467 fi
14256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 15468
15469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14257 fi 15470 fi
14258 CFLAGS=$cflags_save 15471 CFLAGS=$cflags_save
14259 LDFLAGS=$ldflags_save 15472 LDFLAGS=$ldflags_save
14260 fi 15473 fi
14261 15474
14262 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5 15475 { $as_echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
14263 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6 15476 $as_echo_n "checking for _xpg4_setrunelocale in -lxpg4... " >&6; }
14264 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then 15477 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6 15478 $as_echo_n "(cached) " >&6
14266 else 15479 else
14267 ac_check_lib_save_LIBS=$LIBS 15480 ac_check_lib_save_LIBS=$LIBS
14268 LIBS="-lxpg4 $LIBS" 15481 LIBS="-lxpg4 $LIBS"
14269 cat >conftest.$ac_ext <<_ACEOF 15482 cat >conftest.$ac_ext <<_ACEOF
14270 /* confdefs.h. */ 15483 /* confdefs.h. */
14271 _ACEOF 15484 _ACEOF
14272 cat confdefs.h >>conftest.$ac_ext 15485 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF 15486 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */ 15487 /* end confdefs.h. */
14275 15488
14276 /* Override any gcc2 internal prototype to avoid an error. */ 15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
14277 #ifdef __cplusplus 15492 #ifdef __cplusplus
14278 extern "C" 15493 extern "C"
14279 #endif 15494 #endif
14280 /* We use char because int might match the return type of a gcc2
14281 builtin and then its argument prototype would still apply. */
14282 char _xpg4_setrunelocale (); 15495 char _xpg4_setrunelocale ();
14283 int 15496 int
14284 main () 15497 main ()
14285 { 15498 {
14286 _xpg4_setrunelocale (); 15499 return _xpg4_setrunelocale ();
14287 ; 15500 ;
14288 return 0; 15501 return 0;
14289 } 15502 }
14290 _ACEOF 15503 _ACEOF
14291 rm -f conftest.$ac_objext conftest$ac_exeext 15504 rm -f conftest.$ac_objext conftest$ac_exeext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15505 if { (ac_try="$ac_link"
14293 (eval $ac_link) 2>conftest.er1 15506 case "(($ac_try" in
15507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15508 *) ac_try_echo=$ac_try;;
15509 esac
15510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15511 $as_echo "$ac_try_echo") >&5
15512 (eval "$ac_link") 2>conftest.er1
14294 ac_status=$? 15513 ac_status=$?
14295 grep -v '^ *+' conftest.er1 >conftest.err 15514 grep -v '^ *+' conftest.er1 >conftest.err
14296 rm -f conftest.er1 15515 rm -f conftest.er1
14297 cat conftest.err >&5 15516 cat conftest.err >&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } && 15518 (exit $ac_status); } && {
14300 { ac_try='test -z "$ac_c_werror_flag" 15519 test -z "$ac_c_werror_flag" ||
14301 || test ! -s conftest.err' 15520 test ! -s conftest.err
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15521 } && test -s conftest$ac_exeext && {
14303 (eval $ac_try) 2>&5 15522 test "$cross_compiling" = yes ||
14304 ac_status=$? 15523 $as_test_x conftest$ac_exeext
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15524 }; then
14306 (exit $ac_status); }; } &&
14307 { ac_try='test -s conftest$ac_exeext'
14308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14309 (eval $ac_try) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); }; }; then
14313 ac_cv_lib_xpg4__xpg4_setrunelocale=yes 15525 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
14314 else 15526 else
14315 echo "$as_me: failed program was:" >&5 15527 $as_echo "$as_me: failed program was:" >&5
14316 sed 's/^/| /' conftest.$ac_ext >&5 15528 sed 's/^/| /' conftest.$ac_ext >&5
14317 15529
14318 ac_cv_lib_xpg4__xpg4_setrunelocale=no 15530 ac_cv_lib_xpg4__xpg4_setrunelocale=no
14319 fi 15531 fi
14320 rm -f conftest.err conftest.$ac_objext \ 15532
15533 rm -rf conftest.dSYM
15534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14321 conftest$ac_exeext conftest.$ac_ext 15535 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_lib_save_LIBS 15536 LIBS=$ac_check_lib_save_LIBS
14323 fi 15537 fi
14324 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5 15538 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
14325 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6 15539 $as_echo "$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
14326 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then 15540 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
14327 LIBS="$LIBS -lxpg4" 15541 LIBS="$LIBS -lxpg4"
14328 fi 15542 fi
14329 15543
14330 15544
14331 echo "$as_me:$LINENO: checking how to create tags" >&5 15545 { $as_echo "$as_me:$LINENO: checking how to create tags" >&5
14332 echo $ECHO_N "checking how to create tags... $ECHO_C" >&6 15546 $as_echo_n "checking how to create tags... " >&6; }
14333 test -f tags && mv tags tags.save 15547 test -f tags && mv tags tags.save
14334 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then 15548 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then
14335 TAGPRG="ctags -I INIT+ --fields=+S" 15549 TAGPRG="ctags -I INIT+ --fields=+S"
14336 else 15550 else
14337 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" 15551 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags"
14341 (eval ctags -ts /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -ts" 15555 (eval ctags -ts /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -ts"
14342 (eval ctags -tvs /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -tvs" 15556 (eval ctags -tvs /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -tvs"
14343 (eval ctags -i+m /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -i+m" 15557 (eval ctags -i+m /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="ctags -i+m"
14344 fi 15558 fi
14345 test -f tags.save && mv tags.save tags 15559 test -f tags.save && mv tags.save tags
14346 echo "$as_me:$LINENO: result: $TAGPRG" >&5 15560 { $as_echo "$as_me:$LINENO: result: $TAGPRG" >&5
14347 echo "${ECHO_T}$TAGPRG" >&6 15561 $as_echo "$TAGPRG" >&6; }
14348 15562
14349 echo "$as_me:$LINENO: checking how to run man with a section nr" >&5 15563 { $as_echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
14350 echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6 15564 $as_echo_n "checking how to run man with a section nr... " >&6; }
14351 MANDEF="man" 15565 MANDEF="man"
14352 (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s" 15566 (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
14353 echo "$as_me:$LINENO: result: $MANDEF" >&5 15567 { $as_echo "$as_me:$LINENO: result: $MANDEF" >&5
14354 echo "${ECHO_T}$MANDEF" >&6 15568 $as_echo "$MANDEF" >&6; }
14355 if test "$MANDEF" = "man -s"; then 15569 if test "$MANDEF" = "man -s"; then
14356 cat >>confdefs.h <<\_ACEOF 15570 cat >>confdefs.h <<\_ACEOF
14357 #define USEMAN_S 1 15571 #define USEMAN_S 1
14358 _ACEOF 15572 _ACEOF
14359 15573
14360 fi 15574 fi
14361 15575
14362 echo "$as_me:$LINENO: checking --disable-nls argument" >&5 15576 { $as_echo "$as_me:$LINENO: checking --disable-nls argument" >&5
14363 echo $ECHO_N "checking --disable-nls argument... $ECHO_C" >&6 15577 $as_echo_n "checking --disable-nls argument... " >&6; }
14364 # Check whether --enable-nls or --disable-nls was given. 15578 # Check whether --enable-nls was given.
14365 if test "${enable_nls+set}" = set; then 15579 if test "${enable_nls+set}" = set; then
14366 enableval="$enable_nls" 15580 enableval=$enable_nls;
14367
14368 else 15581 else
14369 enable_nls="yes" 15582 enable_nls="yes"
14370 fi; 15583 fi
15584
14371 15585
14372 if test "$enable_nls" = "yes"; then 15586 if test "$enable_nls" = "yes"; then
14373 echo "$as_me:$LINENO: result: no" >&5 15587 { $as_echo "$as_me:$LINENO: result: no" >&5
14374 echo "${ECHO_T}no" >&6 15588 $as_echo "no" >&6; }
14375 15589
14376 INSTALL_LANGS=install-languages 15590 INSTALL_LANGS=install-languages
14377 15591
14378 INSTALL_TOOL_LANGS=install-tool-languages 15592 INSTALL_TOOL_LANGS=install-tool-languages
14379 15593
14380 15594
14381 # Extract the first word of "msgfmt", so it can be a program name with args. 15595 # Extract the first word of "msgfmt", so it can be a program name with args.
14382 set dummy msgfmt; ac_word=$2 15596 set dummy msgfmt; ac_word=$2
14383 echo "$as_me:$LINENO: checking for $ac_word" >&5 15597 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 15598 $as_echo_n "checking for $ac_word... " >&6; }
14385 if test "${ac_cv_prog_MSGFMT+set}" = set; then 15599 if test "${ac_cv_prog_MSGFMT+set}" = set; then
14386 echo $ECHO_N "(cached) $ECHO_C" >&6 15600 $as_echo_n "(cached) " >&6
14387 else 15601 else
14388 if test -n "$MSGFMT"; then 15602 if test -n "$MSGFMT"; then
14389 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. 15603 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
14390 else 15604 else
14391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14392 for as_dir in $PATH 15606 for as_dir in $PATH
14393 do 15607 do
14394 IFS=$as_save_IFS 15608 IFS=$as_save_IFS
14395 test -z "$as_dir" && as_dir=. 15609 test -z "$as_dir" && as_dir=.
14396 for ac_exec_ext in '' $ac_executable_extensions; do 15610 for ac_exec_ext in '' $ac_executable_extensions; do
14397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14398 ac_cv_prog_MSGFMT="msgfmt" 15612 ac_cv_prog_MSGFMT="msgfmt"
14399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15613 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14400 break 2 15614 break 2
14401 fi 15615 fi
14402 done 15616 done
14403 done 15617 done
15618 IFS=$as_save_IFS
14404 15619
14405 fi 15620 fi
14406 fi 15621 fi
14407 MSGFMT=$ac_cv_prog_MSGFMT 15622 MSGFMT=$ac_cv_prog_MSGFMT
14408 if test -n "$MSGFMT"; then 15623 if test -n "$MSGFMT"; then
14409 echo "$as_me:$LINENO: result: $MSGFMT" >&5 15624 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
14410 echo "${ECHO_T}$MSGFMT" >&6 15625 $as_echo "$MSGFMT" >&6; }
14411 else 15626 else
14412 echo "$as_me:$LINENO: result: no" >&5 15627 { $as_echo "$as_me:$LINENO: result: no" >&5
14413 echo "${ECHO_T}no" >&6 15628 $as_echo "no" >&6; }
14414 fi 15629 fi
14415 15630
14416 echo "$as_me:$LINENO: checking for NLS" >&5 15631
14417 echo $ECHO_N "checking for NLS... $ECHO_C" >&6 15632 { $as_echo "$as_me:$LINENO: checking for NLS" >&5
15633 $as_echo_n "checking for NLS... " >&6; }
14418 if test -f po/Makefile; then 15634 if test -f po/Makefile; then
14419 have_gettext="no" 15635 have_gettext="no"
14420 if test -n "$MSGFMT"; then 15636 if test -n "$MSGFMT"; then
14421 cat >conftest.$ac_ext <<_ACEOF 15637 cat >conftest.$ac_ext <<_ACEOF
14422 /* confdefs.h. */ 15638 /* confdefs.h. */
14432 ; 15648 ;
14433 return 0; 15649 return 0;
14434 } 15650 }
14435 _ACEOF 15651 _ACEOF
14436 rm -f conftest.$ac_objext conftest$ac_exeext 15652 rm -f conftest.$ac_objext conftest$ac_exeext
14437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15653 if { (ac_try="$ac_link"
14438 (eval $ac_link) 2>conftest.er1 15654 case "(($ac_try" in
15655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15656 *) ac_try_echo=$ac_try;;
15657 esac
15658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15659 $as_echo "$ac_try_echo") >&5
15660 (eval "$ac_link") 2>conftest.er1
14439 ac_status=$? 15661 ac_status=$?
14440 grep -v '^ *+' conftest.er1 >conftest.err 15662 grep -v '^ *+' conftest.er1 >conftest.err
14441 rm -f conftest.er1 15663 rm -f conftest.er1
14442 cat conftest.err >&5 15664 cat conftest.err >&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } && 15666 (exit $ac_status); } && {
14445 { ac_try='test -z "$ac_c_werror_flag" 15667 test -z "$ac_c_werror_flag" ||
14446 || test ! -s conftest.err' 15668 test ! -s conftest.err
14447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15669 } && test -s conftest$ac_exeext && {
14448 (eval $ac_try) 2>&5 15670 test "$cross_compiling" = yes ||
14449 ac_status=$? 15671 $as_test_x conftest$ac_exeext
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15672 }; then
14451 (exit $ac_status); }; } && 15673 { $as_echo "$as_me:$LINENO: result: gettext() works" >&5
14452 { ac_try='test -s conftest$ac_exeext' 15674 $as_echo "gettext() works" >&6; }; have_gettext="yes"
14453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15675 else
14454 (eval $ac_try) 2>&5 15676 $as_echo "$as_me: failed program was:" >&5
14455 ac_status=$?
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); }; }; then
14458 echo "$as_me:$LINENO: result: gettext() works" >&5
14459 echo "${ECHO_T}gettext() works" >&6; have_gettext="yes"
14460 else
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5 15677 sed 's/^/| /' conftest.$ac_ext >&5
14463 15678
14464 olibs=$LIBS 15679 olibs=$LIBS
14465 LIBS="$LIBS -lintl" 15680 LIBS="$LIBS -lintl"
14466 cat >conftest.$ac_ext <<_ACEOF 15681 cat >conftest.$ac_ext <<_ACEOF
14467 /* confdefs.h. */ 15682 /* confdefs.h. */
14468 _ACEOF 15683 _ACEOF
14469 cat confdefs.h >>conftest.$ac_ext 15684 cat confdefs.h >>conftest.$ac_ext
14477 ; 15692 ;
14478 return 0; 15693 return 0;
14479 } 15694 }
14480 _ACEOF 15695 _ACEOF
14481 rm -f conftest.$ac_objext conftest$ac_exeext 15696 rm -f conftest.$ac_objext conftest$ac_exeext
14482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15697 if { (ac_try="$ac_link"
14483 (eval $ac_link) 2>conftest.er1 15698 case "(($ac_try" in
15699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15700 *) ac_try_echo=$ac_try;;
15701 esac
15702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15703 $as_echo "$ac_try_echo") >&5
15704 (eval "$ac_link") 2>conftest.er1
14484 ac_status=$? 15705 ac_status=$?
14485 grep -v '^ *+' conftest.er1 >conftest.err 15706 grep -v '^ *+' conftest.er1 >conftest.err
14486 rm -f conftest.er1 15707 rm -f conftest.er1
14487 cat conftest.err >&5 15708 cat conftest.err >&5
14488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489 (exit $ac_status); } && 15710 (exit $ac_status); } && {
14490 { ac_try='test -z "$ac_c_werror_flag" 15711 test -z "$ac_c_werror_flag" ||
14491 || test ! -s conftest.err' 15712 test ! -s conftest.err
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15713 } && test -s conftest$ac_exeext && {
14493 (eval $ac_try) 2>&5 15714 test "$cross_compiling" = yes ||
14494 ac_status=$? 15715 $as_test_x conftest$ac_exeext
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15716 }; then
14496 (exit $ac_status); }; } && 15717 { $as_echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
14497 { ac_try='test -s conftest$ac_exeext' 15718 $as_echo "gettext() works with -lintl" >&6; }; have_gettext="yes"
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15719 else
14499 (eval $ac_try) 2>&5 15720 $as_echo "$as_me: failed program was:" >&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; }; then
14503 echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
14504 echo "${ECHO_T}gettext() works with -lintl" >&6; have_gettext="yes"
14505 else
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.$ac_ext >&5 15721 sed 's/^/| /' conftest.$ac_ext >&5
14508 15722
14509 echo "$as_me:$LINENO: result: gettext() doesn't work" >&5 15723 { $as_echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
14510 echo "${ECHO_T}gettext() doesn't work" >&6; 15724 $as_echo "gettext() doesn't work" >&6; };
14511 LIBS=$olibs 15725 LIBS=$olibs
14512 fi 15726 fi
14513 rm -f conftest.err conftest.$ac_objext \ 15727
15728 rm -rf conftest.dSYM
15729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14514 conftest$ac_exeext conftest.$ac_ext 15730 conftest$ac_exeext conftest.$ac_ext
14515 fi 15731 fi
14516 rm -f conftest.err conftest.$ac_objext \ 15732
15733 rm -rf conftest.dSYM
15734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14517 conftest$ac_exeext conftest.$ac_ext 15735 conftest$ac_exeext conftest.$ac_ext
14518 else 15736 else
14519 echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5 15737 { $as_echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
14520 echo "${ECHO_T}msgfmt not found - disabled" >&6; 15738 $as_echo "msgfmt not found - disabled" >&6; };
14521 fi 15739 fi
14522 if test $have_gettext = "yes"; then 15740 if test $have_gettext = "yes"; then
14523 cat >>confdefs.h <<\_ACEOF 15741 cat >>confdefs.h <<\_ACEOF
14524 #define HAVE_GETTEXT 1 15742 #define HAVE_GETTEXT 1
14525 _ACEOF 15743 _ACEOF
14527 MAKEMO=yes 15745 MAKEMO=yes
14528 15746
14529 15747
14530 for ac_func in bind_textdomain_codeset 15748 for ac_func in bind_textdomain_codeset
14531 do 15749 do
14532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14533 echo "$as_me:$LINENO: checking for $ac_func" >&5 15751 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 15752 $as_echo_n "checking for $ac_func... " >&6; }
14535 if eval "test \"\${$as_ac_var+set}\" = set"; then 15753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6 15754 $as_echo_n "(cached) " >&6
14537 else 15755 else
14538 cat >conftest.$ac_ext <<_ACEOF 15756 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */ 15757 /* confdefs.h. */
14540 _ACEOF 15758 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext 15759 cat confdefs.h >>conftest.$ac_ext
14556 # include <assert.h> 15774 # include <assert.h>
14557 #endif 15775 #endif
14558 15776
14559 #undef $ac_func 15777 #undef $ac_func
14560 15778
14561 /* Override any gcc2 internal prototype to avoid an error. */ 15779 /* Override any GCC internal prototype to avoid an error.
15780 Use char because int might match the return type of a GCC
15781 builtin and then its argument prototype would still apply. */
14562 #ifdef __cplusplus 15782 #ifdef __cplusplus
14563 extern "C" 15783 extern "C"
14564 {
14565 #endif 15784 #endif
14566 /* We use char because int might match the return type of a gcc2
14567 builtin and then its argument prototype would still apply. */
14568 char $ac_func (); 15785 char $ac_func ();
14569 /* The GNU C library defines this for functions which it implements 15786 /* The GNU C library defines this for functions which it implements
14570 to always fail with ENOSYS. Some functions are actually named 15787 to always fail with ENOSYS. Some functions are actually named
14571 something starting with __ and the normal name is an alias. */ 15788 something starting with __ and the normal name is an alias. */
14572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 15789 #if defined __stub_$ac_func || defined __stub___$ac_func
14573 choke me 15790 choke me
14574 #else
14575 char (*f) () = $ac_func;
14576 #endif
14577 #ifdef __cplusplus
14578 }
14579 #endif 15791 #endif
14580 15792
14581 int 15793 int
14582 main () 15794 main ()
14583 { 15795 {
14584 return f != $ac_func; 15796 return $ac_func ();
14585 ; 15797 ;
14586 return 0; 15798 return 0;
14587 } 15799 }
14588 _ACEOF 15800 _ACEOF
14589 rm -f conftest.$ac_objext conftest$ac_exeext 15801 rm -f conftest.$ac_objext conftest$ac_exeext
14590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15802 if { (ac_try="$ac_link"
14591 (eval $ac_link) 2>conftest.er1 15803 case "(($ac_try" in
15804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15805 *) ac_try_echo=$ac_try;;
15806 esac
15807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15808 $as_echo "$ac_try_echo") >&5
15809 (eval "$ac_link") 2>conftest.er1
14592 ac_status=$? 15810 ac_status=$?
14593 grep -v '^ *+' conftest.er1 >conftest.err 15811 grep -v '^ *+' conftest.er1 >conftest.err
14594 rm -f conftest.er1 15812 rm -f conftest.er1
14595 cat conftest.err >&5 15813 cat conftest.err >&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } && 15815 (exit $ac_status); } && {
14598 { ac_try='test -z "$ac_c_werror_flag" 15816 test -z "$ac_c_werror_flag" ||
14599 || test ! -s conftest.err' 15817 test ! -s conftest.err
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15818 } && test -s conftest$ac_exeext && {
14601 (eval $ac_try) 2>&5 15819 test "$cross_compiling" = yes ||
14602 ac_status=$? 15820 $as_test_x conftest$ac_exeext
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15821 }; then
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest$ac_exeext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 eval "$as_ac_var=yes" 15822 eval "$as_ac_var=yes"
14612 else 15823 else
14613 echo "$as_me: failed program was:" >&5 15824 $as_echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5 15825 sed 's/^/| /' conftest.$ac_ext >&5
14615 15826
14616 eval "$as_ac_var=no" 15827 eval "$as_ac_var=no"
14617 fi 15828 fi
14618 rm -f conftest.err conftest.$ac_objext \ 15829
15830 rm -rf conftest.dSYM
15831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14619 conftest$ac_exeext conftest.$ac_ext 15832 conftest$ac_exeext conftest.$ac_ext
14620 fi 15833 fi
14621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 15834 ac_res=`eval 'as_val=${'$as_ac_var'}
14622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 15835 $as_echo "$as_val"'`
14623 if test `eval echo '${'$as_ac_var'}'` = yes; then 15836 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15837 $as_echo "$ac_res" >&6; }
15838 if test `eval 'as_val=${'$as_ac_var'}
15839 $as_echo "$as_val"'` = yes; then
14624 cat >>confdefs.h <<_ACEOF 15840 cat >>confdefs.h <<_ACEOF
14625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14626 _ACEOF 15842 _ACEOF
14627 15843
14628 fi 15844 fi
14629 done 15845 done
14630 15846
14631 echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5 15847 { $as_echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
14632 echo $ECHO_N "checking for _nl_msg_cat_cntr... $ECHO_C" >&6 15848 $as_echo_n "checking for _nl_msg_cat_cntr... " >&6; }
14633 cat >conftest.$ac_ext <<_ACEOF 15849 cat >conftest.$ac_ext <<_ACEOF
14634 /* confdefs.h. */ 15850 /* confdefs.h. */
14635 _ACEOF 15851 _ACEOF
14636 cat confdefs.h >>conftest.$ac_ext 15852 cat confdefs.h >>conftest.$ac_ext
14637 cat >>conftest.$ac_ext <<_ACEOF 15853 cat >>conftest.$ac_ext <<_ACEOF
14645 ; 15861 ;
14646 return 0; 15862 return 0;
14647 } 15863 }
14648 _ACEOF 15864 _ACEOF
14649 rm -f conftest.$ac_objext conftest$ac_exeext 15865 rm -f conftest.$ac_objext conftest$ac_exeext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 15866 if { (ac_try="$ac_link"
14651 (eval $ac_link) 2>conftest.er1 15867 case "(($ac_try" in
15868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15869 *) ac_try_echo=$ac_try;;
15870 esac
15871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15872 $as_echo "$ac_try_echo") >&5
15873 (eval "$ac_link") 2>conftest.er1
14652 ac_status=$? 15874 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err 15875 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1 15876 rm -f conftest.er1
14655 cat conftest.err >&5 15877 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } && 15879 (exit $ac_status); } && {
14658 { ac_try='test -z "$ac_c_werror_flag" 15880 test -z "$ac_c_werror_flag" ||
14659 || test ! -s conftest.err' 15881 test ! -s conftest.err
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15882 } && test -s conftest$ac_exeext && {
14661 (eval $ac_try) 2>&5 15883 test "$cross_compiling" = yes ||
14662 ac_status=$? 15884 $as_test_x conftest$ac_exeext
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15885 }; then
14664 (exit $ac_status); }; } && 15886 { $as_echo "$as_me:$LINENO: result: yes" >&5
14665 { ac_try='test -s conftest$ac_exeext' 15887 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 echo "$as_me:$LINENO: result: yes" >&5
14672 echo "${ECHO_T}yes" >&6; cat >>confdefs.h <<\_ACEOF
14673 #define HAVE_NL_MSG_CAT_CNTR 1 15888 #define HAVE_NL_MSG_CAT_CNTR 1
14674 _ACEOF 15889 _ACEOF
14675 15890
14676 else 15891 else
14677 echo "$as_me: failed program was:" >&5 15892 $as_echo "$as_me: failed program was:" >&5
14678 sed 's/^/| /' conftest.$ac_ext >&5 15893 sed 's/^/| /' conftest.$ac_ext >&5
14679 15894
14680 echo "$as_me:$LINENO: result: no" >&5 15895 { $as_echo "$as_me:$LINENO: result: no" >&5
14681 echo "${ECHO_T}no" >&6 15896 $as_echo "no" >&6; }
14682 fi 15897 fi
14683 rm -f conftest.err conftest.$ac_objext \ 15898
15899 rm -rf conftest.dSYM
15900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14684 conftest$ac_exeext conftest.$ac_ext 15901 conftest$ac_exeext conftest.$ac_ext
14685 fi 15902 fi
14686 else 15903 else
14687 echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5 15904 { $as_echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
14688 echo "${ECHO_T}no \"po/Makefile\" - disabled" >&6; 15905 $as_echo "no \"po/Makefile\" - disabled" >&6; };
14689 fi 15906 fi
14690 else 15907 else
14691 echo "$as_me:$LINENO: result: yes" >&5 15908 { $as_echo "$as_me:$LINENO: result: yes" >&5
14692 echo "${ECHO_T}yes" >&6 15909 $as_echo "yes" >&6; }
14693 fi 15910 fi
14694 15911
14695 if test "${ac_cv_header_dlfcn_h+set}" = set; then 15912 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14696 echo "$as_me:$LINENO: checking for dlfcn.h" >&5 15913 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
14697 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6 15914 $as_echo_n "checking for dlfcn.h... " >&6; }
14698 if test "${ac_cv_header_dlfcn_h+set}" = set; then 15915 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14699 echo $ECHO_N "(cached) $ECHO_C" >&6 15916 $as_echo_n "(cached) " >&6
14700 fi 15917 fi
14701 echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 15918 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
14702 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6 15919 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
14703 else 15920 else
14704 # Is the header compilable? 15921 # Is the header compilable?
14705 echo "$as_me:$LINENO: checking dlfcn.h usability" >&5 15922 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
14706 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6 15923 $as_echo_n "checking dlfcn.h usability... " >&6; }
14707 cat >conftest.$ac_ext <<_ACEOF 15924 cat >conftest.$ac_ext <<_ACEOF
14708 /* confdefs.h. */ 15925 /* confdefs.h. */
14709 _ACEOF 15926 _ACEOF
14710 cat confdefs.h >>conftest.$ac_ext 15927 cat confdefs.h >>conftest.$ac_ext
14711 cat >>conftest.$ac_ext <<_ACEOF 15928 cat >>conftest.$ac_ext <<_ACEOF
14712 /* end confdefs.h. */ 15929 /* end confdefs.h. */
14713 $ac_includes_default 15930 $ac_includes_default
14714 #include <dlfcn.h> 15931 #include <dlfcn.h>
14715 _ACEOF 15932 _ACEOF
14716 rm -f conftest.$ac_objext 15933 rm -f conftest.$ac_objext
14717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15934 if { (ac_try="$ac_compile"
14718 (eval $ac_compile) 2>conftest.er1 15935 case "(($ac_try" in
15936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15937 *) ac_try_echo=$ac_try;;
15938 esac
15939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15940 $as_echo "$ac_try_echo") >&5
15941 (eval "$ac_compile") 2>conftest.er1
14719 ac_status=$? 15942 ac_status=$?
14720 grep -v '^ *+' conftest.er1 >conftest.err 15943 grep -v '^ *+' conftest.er1 >conftest.err
14721 rm -f conftest.er1 15944 rm -f conftest.er1
14722 cat conftest.err >&5 15945 cat conftest.err >&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); } && 15947 (exit $ac_status); } && {
14725 { ac_try='test -z "$ac_c_werror_flag" 15948 test -z "$ac_c_werror_flag" ||
14726 || test ! -s conftest.err' 15949 test ! -s conftest.err
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 15950 } && test -s conftest.$ac_objext; then
14728 (eval $ac_try) 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; } &&
14732 { ac_try='test -s conftest.$ac_objext'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14735 ac_status=$?
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14738 ac_header_compiler=yes 15951 ac_header_compiler=yes
14739 else 15952 else
14740 echo "$as_me: failed program was:" >&5 15953 $as_echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.$ac_ext >&5 15954 sed 's/^/| /' conftest.$ac_ext >&5
14742 15955
14743 ac_header_compiler=no 15956 ac_header_compiler=no
14744 fi 15957 fi
14745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 15958
14746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14747 echo "${ECHO_T}$ac_header_compiler" >&6 15960 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15961 $as_echo "$ac_header_compiler" >&6; }
14748 15962
14749 # Is the header present? 15963 # Is the header present?
14750 echo "$as_me:$LINENO: checking dlfcn.h presence" >&5 15964 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
14751 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6 15965 $as_echo_n "checking dlfcn.h presence... " >&6; }
14752 cat >conftest.$ac_ext <<_ACEOF 15966 cat >conftest.$ac_ext <<_ACEOF
14753 /* confdefs.h. */ 15967 /* confdefs.h. */
14754 _ACEOF 15968 _ACEOF
14755 cat confdefs.h >>conftest.$ac_ext 15969 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF 15970 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */ 15971 /* end confdefs.h. */
14758 #include <dlfcn.h> 15972 #include <dlfcn.h>
14759 _ACEOF 15973 _ACEOF
14760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 15974 if { (ac_try="$ac_cpp conftest.$ac_ext"
14761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15975 case "(($ac_try" in
15976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15977 *) ac_try_echo=$ac_try;;
15978 esac
15979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15980 $as_echo "$ac_try_echo") >&5
15981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14762 ac_status=$? 15982 ac_status=$?
14763 grep -v '^ *+' conftest.er1 >conftest.err 15983 grep -v '^ *+' conftest.er1 >conftest.err
14764 rm -f conftest.er1 15984 rm -f conftest.er1
14765 cat conftest.err >&5 15985 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } >/dev/null; then 15987 (exit $ac_status); } >/dev/null && {
14768 if test -s conftest.err; then 15988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14769 ac_cpp_err=$ac_c_preproc_warn_flag 15989 test ! -s conftest.err
14770 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 15990 }; then
14771 else
14772 ac_cpp_err=
14773 fi
14774 else
14775 ac_cpp_err=yes
14776 fi
14777 if test -z "$ac_cpp_err"; then
14778 ac_header_preproc=yes 15991 ac_header_preproc=yes
14779 else 15992 else
14780 echo "$as_me: failed program was:" >&5 15993 $as_echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.$ac_ext >&5 15994 sed 's/^/| /' conftest.$ac_ext >&5
14782 15995
14783 ac_header_preproc=no 15996 ac_header_preproc=no
14784 fi 15997 fi
15998
14785 rm -f conftest.err conftest.$ac_ext 15999 rm -f conftest.err conftest.$ac_ext
14786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16000 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14787 echo "${ECHO_T}$ac_header_preproc" >&6 16001 $as_echo "$ac_header_preproc" >&6; }
14788 16002
14789 # So? What about this header? 16003 # So? What about this header?
14790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14791 yes:no: ) 16005 yes:no: )
14792 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5 16006 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
14793 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 16007 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14794 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5 16008 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
14795 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;} 16009 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
14796 ac_header_preproc=yes 16010 ac_header_preproc=yes
14797 ;; 16011 ;;
14798 no:yes:* ) 16012 no:yes:* )
14799 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5 16013 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
14800 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;} 16014 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
14801 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5 16015 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
14802 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;} 16016 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
14803 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5 16017 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
14804 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;} 16018 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
14805 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5 16019 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
14806 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;} 16020 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
14807 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5 16021 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
14808 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;} 16022 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
14809 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5 16023 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
14810 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;} 16024 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
14811 ( 16025
14812 cat <<\_ASBOX
14813 ## ------------------------------------------ ##
14814 ## Report this to the AC_PACKAGE_NAME lists. ##
14815 ## ------------------------------------------ ##
14816 _ASBOX
14817 ) |
14818 sed "s/^/$as_me: WARNING: /" >&2
14819 ;; 16026 ;;
14820 esac 16027 esac
14821 echo "$as_me:$LINENO: checking for dlfcn.h" >&5 16028 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
14822 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6 16029 $as_echo_n "checking for dlfcn.h... " >&6; }
14823 if test "${ac_cv_header_dlfcn_h+set}" = set; then 16030 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6 16031 $as_echo_n "(cached) " >&6
14825 else 16032 else
14826 ac_cv_header_dlfcn_h=$ac_header_preproc 16033 ac_cv_header_dlfcn_h=$ac_header_preproc
14827 fi 16034 fi
14828 echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5 16035 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
14829 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6 16036 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
14830 16037
14831 fi 16038 fi
14832 if test $ac_cv_header_dlfcn_h = yes; then 16039 if test $ac_cv_header_dlfcn_h = yes; then
14833 DLL=dlfcn.h 16040 DLL=dlfcn.h
14834 else 16041 else
14835 if test "${ac_cv_header_dl_h+set}" = set; then 16042 if test "${ac_cv_header_dl_h+set}" = set; then
14836 echo "$as_me:$LINENO: checking for dl.h" >&5 16043 { $as_echo "$as_me:$LINENO: checking for dl.h" >&5
14837 echo $ECHO_N "checking for dl.h... $ECHO_C" >&6 16044 $as_echo_n "checking for dl.h... " >&6; }
14838 if test "${ac_cv_header_dl_h+set}" = set; then 16045 if test "${ac_cv_header_dl_h+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6 16046 $as_echo_n "(cached) " >&6
14840 fi 16047 fi
14841 echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5 16048 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
14842 echo "${ECHO_T}$ac_cv_header_dl_h" >&6 16049 $as_echo "$ac_cv_header_dl_h" >&6; }
14843 else 16050 else
14844 # Is the header compilable? 16051 # Is the header compilable?
14845 echo "$as_me:$LINENO: checking dl.h usability" >&5 16052 { $as_echo "$as_me:$LINENO: checking dl.h usability" >&5
14846 echo $ECHO_N "checking dl.h usability... $ECHO_C" >&6 16053 $as_echo_n "checking dl.h usability... " >&6; }
14847 cat >conftest.$ac_ext <<_ACEOF 16054 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h. */ 16055 /* confdefs.h. */
14849 _ACEOF 16056 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext 16057 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF 16058 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */ 16059 /* end confdefs.h. */
14853 $ac_includes_default 16060 $ac_includes_default
14854 #include <dl.h> 16061 #include <dl.h>
14855 _ACEOF 16062 _ACEOF
14856 rm -f conftest.$ac_objext 16063 rm -f conftest.$ac_objext
14857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16064 if { (ac_try="$ac_compile"
14858 (eval $ac_compile) 2>conftest.er1 16065 case "(($ac_try" in
16066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16067 *) ac_try_echo=$ac_try;;
16068 esac
16069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16070 $as_echo "$ac_try_echo") >&5
16071 (eval "$ac_compile") 2>conftest.er1
14859 ac_status=$? 16072 ac_status=$?
14860 grep -v '^ *+' conftest.er1 >conftest.err 16073 grep -v '^ *+' conftest.er1 >conftest.err
14861 rm -f conftest.er1 16074 rm -f conftest.er1
14862 cat conftest.err >&5 16075 cat conftest.err >&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); } && 16077 (exit $ac_status); } && {
14865 { ac_try='test -z "$ac_c_werror_flag" 16078 test -z "$ac_c_werror_flag" ||
14866 || test ! -s conftest.err' 16079 test ! -s conftest.err
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16080 } && test -s conftest.$ac_objext; then
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; } &&
14872 { ac_try='test -s conftest.$ac_objext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14875 ac_status=$?
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14878 ac_header_compiler=yes 16081 ac_header_compiler=yes
14879 else 16082 else
14880 echo "$as_me: failed program was:" >&5 16083 $as_echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5 16084 sed 's/^/| /' conftest.$ac_ext >&5
14882 16085
14883 ac_header_compiler=no 16086 ac_header_compiler=no
14884 fi 16087 fi
14885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16088
14886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14887 echo "${ECHO_T}$ac_header_compiler" >&6 16090 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16091 $as_echo "$ac_header_compiler" >&6; }
14888 16092
14889 # Is the header present? 16093 # Is the header present?
14890 echo "$as_me:$LINENO: checking dl.h presence" >&5 16094 { $as_echo "$as_me:$LINENO: checking dl.h presence" >&5
14891 echo $ECHO_N "checking dl.h presence... $ECHO_C" >&6 16095 $as_echo_n "checking dl.h presence... " >&6; }
14892 cat >conftest.$ac_ext <<_ACEOF 16096 cat >conftest.$ac_ext <<_ACEOF
14893 /* confdefs.h. */ 16097 /* confdefs.h. */
14894 _ACEOF 16098 _ACEOF
14895 cat confdefs.h >>conftest.$ac_ext 16099 cat confdefs.h >>conftest.$ac_ext
14896 cat >>conftest.$ac_ext <<_ACEOF 16100 cat >>conftest.$ac_ext <<_ACEOF
14897 /* end confdefs.h. */ 16101 /* end confdefs.h. */
14898 #include <dl.h> 16102 #include <dl.h>
14899 _ACEOF 16103 _ACEOF
14900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16104 if { (ac_try="$ac_cpp conftest.$ac_ext"
14901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16105 case "(($ac_try" in
16106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16107 *) ac_try_echo=$ac_try;;
16108 esac
16109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16110 $as_echo "$ac_try_echo") >&5
16111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14902 ac_status=$? 16112 ac_status=$?
14903 grep -v '^ *+' conftest.er1 >conftest.err 16113 grep -v '^ *+' conftest.er1 >conftest.err
14904 rm -f conftest.er1 16114 rm -f conftest.er1
14905 cat conftest.err >&5 16115 cat conftest.err >&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } >/dev/null; then 16117 (exit $ac_status); } >/dev/null && {
14908 if test -s conftest.err; then 16118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14909 ac_cpp_err=$ac_c_preproc_warn_flag 16119 test ! -s conftest.err
14910 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 16120 }; then
14911 else
14912 ac_cpp_err=
14913 fi
14914 else
14915 ac_cpp_err=yes
14916 fi
14917 if test -z "$ac_cpp_err"; then
14918 ac_header_preproc=yes 16121 ac_header_preproc=yes
14919 else 16122 else
14920 echo "$as_me: failed program was:" >&5 16123 $as_echo "$as_me: failed program was:" >&5
14921 sed 's/^/| /' conftest.$ac_ext >&5 16124 sed 's/^/| /' conftest.$ac_ext >&5
14922 16125
14923 ac_header_preproc=no 16126 ac_header_preproc=no
14924 fi 16127 fi
16128
14925 rm -f conftest.err conftest.$ac_ext 16129 rm -f conftest.err conftest.$ac_ext
14926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16130 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14927 echo "${ECHO_T}$ac_header_preproc" >&6 16131 $as_echo "$ac_header_preproc" >&6; }
14928 16132
14929 # So? What about this header? 16133 # So? What about this header?
14930 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14931 yes:no: ) 16135 yes:no: )
14932 { echo "$as_me:$LINENO: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&5 16136 { $as_echo "$as_me:$LINENO: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14933 echo "$as_me: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 16137 $as_echo "$as_me: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14934 { echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the compiler's result" >&5 16138 { $as_echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the compiler's result" >&5
14935 echo "$as_me: WARNING: dl.h: proceeding with the compiler's result" >&2;} 16139 $as_echo "$as_me: WARNING: dl.h: proceeding with the compiler's result" >&2;}
14936 ac_header_preproc=yes 16140 ac_header_preproc=yes
14937 ;; 16141 ;;
14938 no:yes:* ) 16142 no:yes:* )
14939 { echo "$as_me:$LINENO: WARNING: dl.h: present but cannot be compiled" >&5 16143 { $as_echo "$as_me:$LINENO: WARNING: dl.h: present but cannot be compiled" >&5
14940 echo "$as_me: WARNING: dl.h: present but cannot be compiled" >&2;} 16144 $as_echo "$as_me: WARNING: dl.h: present but cannot be compiled" >&2;}
14941 { echo "$as_me:$LINENO: WARNING: dl.h: check for missing prerequisite headers?" >&5 16145 { $as_echo "$as_me:$LINENO: WARNING: dl.h: check for missing prerequisite headers?" >&5
14942 echo "$as_me: WARNING: dl.h: check for missing prerequisite headers?" >&2;} 16146 $as_echo "$as_me: WARNING: dl.h: check for missing prerequisite headers?" >&2;}
14943 { echo "$as_me:$LINENO: WARNING: dl.h: see the Autoconf documentation" >&5 16147 { $as_echo "$as_me:$LINENO: WARNING: dl.h: see the Autoconf documentation" >&5
14944 echo "$as_me: WARNING: dl.h: see the Autoconf documentation" >&2;} 16148 $as_echo "$as_me: WARNING: dl.h: see the Autoconf documentation" >&2;}
14945 { echo "$as_me:$LINENO: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&5 16149 { $as_echo "$as_me:$LINENO: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&5
14946 echo "$as_me: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&2;} 16150 $as_echo "$as_me: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&2;}
14947 { echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the preprocessor's result" >&5 16151 { $as_echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the preprocessor's result" >&5
14948 echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;} 16152 $as_echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;}
14949 { echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5 16153 { $as_echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5
14950 echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;} 16154 $as_echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;}
14951 ( 16155
14952 cat <<\_ASBOX
14953 ## ------------------------------------------ ##
14954 ## Report this to the AC_PACKAGE_NAME lists. ##
14955 ## ------------------------------------------ ##
14956 _ASBOX
14957 ) |
14958 sed "s/^/$as_me: WARNING: /" >&2
14959 ;; 16156 ;;
14960 esac 16157 esac
14961 echo "$as_me:$LINENO: checking for dl.h" >&5 16158 { $as_echo "$as_me:$LINENO: checking for dl.h" >&5
14962 echo $ECHO_N "checking for dl.h... $ECHO_C" >&6 16159 $as_echo_n "checking for dl.h... " >&6; }
14963 if test "${ac_cv_header_dl_h+set}" = set; then 16160 if test "${ac_cv_header_dl_h+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6 16161 $as_echo_n "(cached) " >&6
14965 else 16162 else
14966 ac_cv_header_dl_h=$ac_header_preproc 16163 ac_cv_header_dl_h=$ac_header_preproc
14967 fi 16164 fi
14968 echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5 16165 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
14969 echo "${ECHO_T}$ac_cv_header_dl_h" >&6 16166 $as_echo "$ac_cv_header_dl_h" >&6; }
14970 16167
14971 fi 16168 fi
14972 if test $ac_cv_header_dl_h = yes; then 16169 if test $ac_cv_header_dl_h = yes; then
14973 DLL=dl.h 16170 DLL=dl.h
14974 fi 16171 fi
14981 16178
14982 cat >>confdefs.h <<\_ACEOF 16179 cat >>confdefs.h <<\_ACEOF
14983 #define HAVE_DLFCN_H 1 16180 #define HAVE_DLFCN_H 1
14984 _ACEOF 16181 _ACEOF
14985 16182
14986 echo "$as_me:$LINENO: checking for dlopen()" >&5 16183 { $as_echo "$as_me:$LINENO: checking for dlopen()" >&5
14987 echo $ECHO_N "checking for dlopen()... $ECHO_C" >&6 16184 $as_echo_n "checking for dlopen()... " >&6; }
14988 cat >conftest.$ac_ext <<_ACEOF 16185 cat >conftest.$ac_ext <<_ACEOF
14989 /* confdefs.h. */ 16186 /* confdefs.h. */
14990 _ACEOF 16187 _ACEOF
14991 cat confdefs.h >>conftest.$ac_ext 16188 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF 16189 cat >>conftest.$ac_ext <<_ACEOF
15002 ; 16199 ;
15003 return 0; 16200 return 0;
15004 } 16201 }
15005 _ACEOF 16202 _ACEOF
15006 rm -f conftest.$ac_objext conftest$ac_exeext 16203 rm -f conftest.$ac_objext conftest$ac_exeext
15007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16204 if { (ac_try="$ac_link"
15008 (eval $ac_link) 2>conftest.er1 16205 case "(($ac_try" in
16206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16207 *) ac_try_echo=$ac_try;;
16208 esac
16209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16210 $as_echo "$ac_try_echo") >&5
16211 (eval "$ac_link") 2>conftest.er1
15009 ac_status=$? 16212 ac_status=$?
15010 grep -v '^ *+' conftest.er1 >conftest.err 16213 grep -v '^ *+' conftest.er1 >conftest.err
15011 rm -f conftest.er1 16214 rm -f conftest.er1
15012 cat conftest.err >&5 16215 cat conftest.err >&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); } && 16217 (exit $ac_status); } && {
15015 { ac_try='test -z "$ac_c_werror_flag" 16218 test -z "$ac_c_werror_flag" ||
15016 || test ! -s conftest.err' 16219 test ! -s conftest.err
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16220 } && test -s conftest$ac_exeext && {
15018 (eval $ac_try) 2>&5 16221 test "$cross_compiling" = yes ||
15019 ac_status=$? 16222 $as_test_x conftest$ac_exeext
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16223 }; then
15021 (exit $ac_status); }; } && 16224 { $as_echo "$as_me:$LINENO: result: yes" >&5
15022 { ac_try='test -s conftest$ac_exeext' 16225 $as_echo "yes" >&6; };
15023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15024 (eval $ac_try) 2>&5
15025 ac_status=$?
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; }; then
15028 echo "$as_me:$LINENO: result: yes" >&5
15029 echo "${ECHO_T}yes" >&6;
15030 16226
15031 cat >>confdefs.h <<\_ACEOF 16227 cat >>confdefs.h <<\_ACEOF
15032 #define HAVE_DLOPEN 1 16228 #define HAVE_DLOPEN 1
15033 _ACEOF 16229 _ACEOF
15034 16230
15035 else 16231 else
15036 echo "$as_me: failed program was:" >&5 16232 $as_echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.$ac_ext >&5 16233 sed 's/^/| /' conftest.$ac_ext >&5
15038 16234
15039 echo "$as_me:$LINENO: result: no" >&5 16235 { $as_echo "$as_me:$LINENO: result: no" >&5
15040 echo "${ECHO_T}no" >&6; 16236 $as_echo "no" >&6; };
15041 echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5 16237 { $as_echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
15042 echo $ECHO_N "checking for dlopen() in -ldl... $ECHO_C" >&6 16238 $as_echo_n "checking for dlopen() in -ldl... " >&6; }
15043 olibs=$LIBS 16239 olibs=$LIBS
15044 LIBS="$LIBS -ldl" 16240 LIBS="$LIBS -ldl"
15045 cat >conftest.$ac_ext <<_ACEOF 16241 cat >conftest.$ac_ext <<_ACEOF
15046 /* confdefs.h. */ 16242 /* confdefs.h. */
15047 _ACEOF 16243 _ACEOF
15059 ; 16255 ;
15060 return 0; 16256 return 0;
15061 } 16257 }
15062 _ACEOF 16258 _ACEOF
15063 rm -f conftest.$ac_objext conftest$ac_exeext 16259 rm -f conftest.$ac_objext conftest$ac_exeext
15064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16260 if { (ac_try="$ac_link"
15065 (eval $ac_link) 2>conftest.er1 16261 case "(($ac_try" in
16262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16263 *) ac_try_echo=$ac_try;;
16264 esac
16265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16266 $as_echo "$ac_try_echo") >&5
16267 (eval "$ac_link") 2>conftest.er1
15066 ac_status=$? 16268 ac_status=$?
15067 grep -v '^ *+' conftest.er1 >conftest.err 16269 grep -v '^ *+' conftest.er1 >conftest.err
15068 rm -f conftest.er1 16270 rm -f conftest.er1
15069 cat conftest.err >&5 16271 cat conftest.err >&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } && 16273 (exit $ac_status); } && {
15072 { ac_try='test -z "$ac_c_werror_flag" 16274 test -z "$ac_c_werror_flag" ||
15073 || test ! -s conftest.err' 16275 test ! -s conftest.err
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16276 } && test -s conftest$ac_exeext && {
15075 (eval $ac_try) 2>&5 16277 test "$cross_compiling" = yes ||
15076 ac_status=$? 16278 $as_test_x conftest$ac_exeext
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16279 }; then
15078 (exit $ac_status); }; } && 16280 { $as_echo "$as_me:$LINENO: result: yes" >&5
15079 { ac_try='test -s conftest$ac_exeext' 16281 $as_echo "yes" >&6; };
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 echo "$as_me:$LINENO: result: yes" >&5
15086 echo "${ECHO_T}yes" >&6;
15087 16282
15088 cat >>confdefs.h <<\_ACEOF 16283 cat >>confdefs.h <<\_ACEOF
15089 #define HAVE_DLOPEN 1 16284 #define HAVE_DLOPEN 1
15090 _ACEOF 16285 _ACEOF
15091 16286
15092 else 16287 else
15093 echo "$as_me: failed program was:" >&5 16288 $as_echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5 16289 sed 's/^/| /' conftest.$ac_ext >&5
15095 16290
15096 echo "$as_me:$LINENO: result: no" >&5 16291 { $as_echo "$as_me:$LINENO: result: no" >&5
15097 echo "${ECHO_T}no" >&6; 16292 $as_echo "no" >&6; };
15098 LIBS=$olibs 16293 LIBS=$olibs
15099 fi 16294 fi
15100 rm -f conftest.err conftest.$ac_objext \ 16295
16296 rm -rf conftest.dSYM
16297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15101 conftest$ac_exeext conftest.$ac_ext 16298 conftest$ac_exeext conftest.$ac_ext
15102 fi 16299 fi
15103 rm -f conftest.err conftest.$ac_objext \ 16300
16301 rm -rf conftest.dSYM
16302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15104 conftest$ac_exeext conftest.$ac_ext 16303 conftest$ac_exeext conftest.$ac_ext
15105 echo "$as_me:$LINENO: checking for dlsym()" >&5 16304 { $as_echo "$as_me:$LINENO: checking for dlsym()" >&5
15106 echo $ECHO_N "checking for dlsym()... $ECHO_C" >&6 16305 $as_echo_n "checking for dlsym()... " >&6; }
15107 cat >conftest.$ac_ext <<_ACEOF 16306 cat >conftest.$ac_ext <<_ACEOF
15108 /* confdefs.h. */ 16307 /* confdefs.h. */
15109 _ACEOF 16308 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext 16309 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF 16310 cat >>conftest.$ac_ext <<_ACEOF
15121 ; 16320 ;
15122 return 0; 16321 return 0;
15123 } 16322 }
15124 _ACEOF 16323 _ACEOF
15125 rm -f conftest.$ac_objext conftest$ac_exeext 16324 rm -f conftest.$ac_objext conftest$ac_exeext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16325 if { (ac_try="$ac_link"
15127 (eval $ac_link) 2>conftest.er1 16326 case "(($ac_try" in
16327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16328 *) ac_try_echo=$ac_try;;
16329 esac
16330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16331 $as_echo "$ac_try_echo") >&5
16332 (eval "$ac_link") 2>conftest.er1
15128 ac_status=$? 16333 ac_status=$?
15129 grep -v '^ *+' conftest.er1 >conftest.err 16334 grep -v '^ *+' conftest.er1 >conftest.err
15130 rm -f conftest.er1 16335 rm -f conftest.er1
15131 cat conftest.err >&5 16336 cat conftest.err >&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); } && 16338 (exit $ac_status); } && {
15134 { ac_try='test -z "$ac_c_werror_flag" 16339 test -z "$ac_c_werror_flag" ||
15135 || test ! -s conftest.err' 16340 test ! -s conftest.err
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16341 } && test -s conftest$ac_exeext && {
15137 (eval $ac_try) 2>&5 16342 test "$cross_compiling" = yes ||
15138 ac_status=$? 16343 $as_test_x conftest$ac_exeext
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16344 }; then
15140 (exit $ac_status); }; } && 16345 { $as_echo "$as_me:$LINENO: result: yes" >&5
15141 { ac_try='test -s conftest$ac_exeext' 16346 $as_echo "yes" >&6; };
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15144 ac_status=$?
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; }; then
15147 echo "$as_me:$LINENO: result: yes" >&5
15148 echo "${ECHO_T}yes" >&6;
15149 16347
15150 cat >>confdefs.h <<\_ACEOF 16348 cat >>confdefs.h <<\_ACEOF
15151 #define HAVE_DLSYM 1 16349 #define HAVE_DLSYM 1
15152 _ACEOF 16350 _ACEOF
15153 16351
15154 else 16352 else
15155 echo "$as_me: failed program was:" >&5 16353 $as_echo "$as_me: failed program was:" >&5
15156 sed 's/^/| /' conftest.$ac_ext >&5 16354 sed 's/^/| /' conftest.$ac_ext >&5
15157 16355
15158 echo "$as_me:$LINENO: result: no" >&5 16356 { $as_echo "$as_me:$LINENO: result: no" >&5
15159 echo "${ECHO_T}no" >&6; 16357 $as_echo "no" >&6; };
15160 echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5 16358 { $as_echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
15161 echo $ECHO_N "checking for dlsym() in -ldl... $ECHO_C" >&6 16359 $as_echo_n "checking for dlsym() in -ldl... " >&6; }
15162 olibs=$LIBS 16360 olibs=$LIBS
15163 LIBS="$LIBS -ldl" 16361 LIBS="$LIBS -ldl"
15164 cat >conftest.$ac_ext <<_ACEOF 16362 cat >conftest.$ac_ext <<_ACEOF
15165 /* confdefs.h. */ 16363 /* confdefs.h. */
15166 _ACEOF 16364 _ACEOF
15178 ; 16376 ;
15179 return 0; 16377 return 0;
15180 } 16378 }
15181 _ACEOF 16379 _ACEOF
15182 rm -f conftest.$ac_objext conftest$ac_exeext 16380 rm -f conftest.$ac_objext conftest$ac_exeext
15183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16381 if { (ac_try="$ac_link"
15184 (eval $ac_link) 2>conftest.er1 16382 case "(($ac_try" in
16383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16384 *) ac_try_echo=$ac_try;;
16385 esac
16386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16387 $as_echo "$ac_try_echo") >&5
16388 (eval "$ac_link") 2>conftest.er1
15185 ac_status=$? 16389 ac_status=$?
15186 grep -v '^ *+' conftest.er1 >conftest.err 16390 grep -v '^ *+' conftest.er1 >conftest.err
15187 rm -f conftest.er1 16391 rm -f conftest.er1
15188 cat conftest.err >&5 16392 cat conftest.err >&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } && 16394 (exit $ac_status); } && {
15191 { ac_try='test -z "$ac_c_werror_flag" 16395 test -z "$ac_c_werror_flag" ||
15192 || test ! -s conftest.err' 16396 test ! -s conftest.err
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16397 } && test -s conftest$ac_exeext && {
15194 (eval $ac_try) 2>&5 16398 test "$cross_compiling" = yes ||
15195 ac_status=$? 16399 $as_test_x conftest$ac_exeext
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16400 }; then
15197 (exit $ac_status); }; } && 16401 { $as_echo "$as_me:$LINENO: result: yes" >&5
15198 { ac_try='test -s conftest$ac_exeext' 16402 $as_echo "yes" >&6; };
15199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 (eval $ac_try) 2>&5
15201 ac_status=$?
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); }; }; then
15204 echo "$as_me:$LINENO: result: yes" >&5
15205 echo "${ECHO_T}yes" >&6;
15206 16403
15207 cat >>confdefs.h <<\_ACEOF 16404 cat >>confdefs.h <<\_ACEOF
15208 #define HAVE_DLSYM 1 16405 #define HAVE_DLSYM 1
15209 _ACEOF 16406 _ACEOF
15210 16407
15211 else 16408 else
15212 echo "$as_me: failed program was:" >&5 16409 $as_echo "$as_me: failed program was:" >&5
15213 sed 's/^/| /' conftest.$ac_ext >&5 16410 sed 's/^/| /' conftest.$ac_ext >&5
15214 16411
15215 echo "$as_me:$LINENO: result: no" >&5 16412 { $as_echo "$as_me:$LINENO: result: no" >&5
15216 echo "${ECHO_T}no" >&6; 16413 $as_echo "no" >&6; };
15217 LIBS=$olibs 16414 LIBS=$olibs
15218 fi 16415 fi
15219 rm -f conftest.err conftest.$ac_objext \ 16416
16417 rm -rf conftest.dSYM
16418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15220 conftest$ac_exeext conftest.$ac_ext 16419 conftest$ac_exeext conftest.$ac_ext
15221 fi 16420 fi
15222 rm -f conftest.err conftest.$ac_objext \ 16421
16422 rm -rf conftest.dSYM
16423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15223 conftest$ac_exeext conftest.$ac_ext 16424 conftest$ac_exeext conftest.$ac_ext
15224 elif test x${DLL} = xdl.h; then 16425 elif test x${DLL} = xdl.h; then
15225 16426
15226 cat >>confdefs.h <<\_ACEOF 16427 cat >>confdefs.h <<\_ACEOF
15227 #define HAVE_DL_H 1 16428 #define HAVE_DL_H 1
15228 _ACEOF 16429 _ACEOF
15229 16430
15230 echo "$as_me:$LINENO: checking for shl_load()" >&5 16431 { $as_echo "$as_me:$LINENO: checking for shl_load()" >&5
15231 echo $ECHO_N "checking for shl_load()... $ECHO_C" >&6 16432 $as_echo_n "checking for shl_load()... " >&6; }
15232 cat >conftest.$ac_ext <<_ACEOF 16433 cat >conftest.$ac_ext <<_ACEOF
15233 /* confdefs.h. */ 16434 /* confdefs.h. */
15234 _ACEOF 16435 _ACEOF
15235 cat confdefs.h >>conftest.$ac_ext 16436 cat confdefs.h >>conftest.$ac_ext
15236 cat >>conftest.$ac_ext <<_ACEOF 16437 cat >>conftest.$ac_ext <<_ACEOF
15246 ; 16447 ;
15247 return 0; 16448 return 0;
15248 } 16449 }
15249 _ACEOF 16450 _ACEOF
15250 rm -f conftest.$ac_objext conftest$ac_exeext 16451 rm -f conftest.$ac_objext conftest$ac_exeext
15251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16452 if { (ac_try="$ac_link"
15252 (eval $ac_link) 2>conftest.er1 16453 case "(($ac_try" in
16454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16456 esac
16457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16458 $as_echo "$ac_try_echo") >&5
16459 (eval "$ac_link") 2>conftest.er1
15253 ac_status=$? 16460 ac_status=$?
15254 grep -v '^ *+' conftest.er1 >conftest.err 16461 grep -v '^ *+' conftest.er1 >conftest.err
15255 rm -f conftest.er1 16462 rm -f conftest.er1
15256 cat conftest.err >&5 16463 cat conftest.err >&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } && 16465 (exit $ac_status); } && {
15259 { ac_try='test -z "$ac_c_werror_flag" 16466 test -z "$ac_c_werror_flag" ||
15260 || test ! -s conftest.err' 16467 test ! -s conftest.err
15261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16468 } && test -s conftest$ac_exeext && {
15262 (eval $ac_try) 2>&5 16469 test "$cross_compiling" = yes ||
15263 ac_status=$? 16470 $as_test_x conftest$ac_exeext
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16471 }; then
15265 (exit $ac_status); }; } && 16472 { $as_echo "$as_me:$LINENO: result: yes" >&5
15266 { ac_try='test -s conftest$ac_exeext' 16473 $as_echo "yes" >&6; };
15267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15268 (eval $ac_try) 2>&5
15269 ac_status=$?
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); }; }; then
15272 echo "$as_me:$LINENO: result: yes" >&5
15273 echo "${ECHO_T}yes" >&6;
15274 16474
15275 cat >>confdefs.h <<\_ACEOF 16475 cat >>confdefs.h <<\_ACEOF
15276 #define HAVE_SHL_LOAD 1 16476 #define HAVE_SHL_LOAD 1
15277 _ACEOF 16477 _ACEOF
15278 16478
15279 else 16479 else
15280 echo "$as_me: failed program was:" >&5 16480 $as_echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.$ac_ext >&5 16481 sed 's/^/| /' conftest.$ac_ext >&5
15282 16482
15283 echo "$as_me:$LINENO: result: no" >&5 16483 { $as_echo "$as_me:$LINENO: result: no" >&5
15284 echo "${ECHO_T}no" >&6; 16484 $as_echo "no" >&6; };
15285 echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5 16485 { $as_echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
15286 echo $ECHO_N "checking for shl_load() in -ldld... $ECHO_C" >&6 16486 $as_echo_n "checking for shl_load() in -ldld... " >&6; }
15287 olibs=$LIBS 16487 olibs=$LIBS
15288 LIBS="$LIBS -ldld" 16488 LIBS="$LIBS -ldld"
15289 cat >conftest.$ac_ext <<_ACEOF 16489 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */ 16490 /* confdefs.h. */
15291 _ACEOF 16491 _ACEOF
15303 ; 16503 ;
15304 return 0; 16504 return 0;
15305 } 16505 }
15306 _ACEOF 16506 _ACEOF
15307 rm -f conftest.$ac_objext conftest$ac_exeext 16507 rm -f conftest.$ac_objext conftest$ac_exeext
15308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 16508 if { (ac_try="$ac_link"
15309 (eval $ac_link) 2>conftest.er1 16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16512 esac
16513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16514 $as_echo "$ac_try_echo") >&5
16515 (eval "$ac_link") 2>conftest.er1
15310 ac_status=$? 16516 ac_status=$?
15311 grep -v '^ *+' conftest.er1 >conftest.err 16517 grep -v '^ *+' conftest.er1 >conftest.err
15312 rm -f conftest.er1 16518 rm -f conftest.er1
15313 cat conftest.err >&5 16519 cat conftest.err >&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && 16521 (exit $ac_status); } && {
15316 { ac_try='test -z "$ac_c_werror_flag" 16522 test -z "$ac_c_werror_flag" ||
15317 || test ! -s conftest.err' 16523 test ! -s conftest.err
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16524 } && test -s conftest$ac_exeext && {
15319 (eval $ac_try) 2>&5 16525 test "$cross_compiling" = yes ||
15320 ac_status=$? 16526 $as_test_x conftest$ac_exeext
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16527 }; then
15322 (exit $ac_status); }; } && 16528 { $as_echo "$as_me:$LINENO: result: yes" >&5
15323 { ac_try='test -s conftest$ac_exeext' 16529 $as_echo "yes" >&6; };
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15326 ac_status=$?
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; }; then
15329 echo "$as_me:$LINENO: result: yes" >&5
15330 echo "${ECHO_T}yes" >&6;
15331 16530
15332 cat >>confdefs.h <<\_ACEOF 16531 cat >>confdefs.h <<\_ACEOF
15333 #define HAVE_SHL_LOAD 1 16532 #define HAVE_SHL_LOAD 1
15334 _ACEOF 16533 _ACEOF
15335 16534
15336 else 16535 else
15337 echo "$as_me: failed program was:" >&5 16536 $as_echo "$as_me: failed program was:" >&5
15338 sed 's/^/| /' conftest.$ac_ext >&5 16537 sed 's/^/| /' conftest.$ac_ext >&5
15339 16538
15340 echo "$as_me:$LINENO: result: no" >&5 16539 { $as_echo "$as_me:$LINENO: result: no" >&5
15341 echo "${ECHO_T}no" >&6; 16540 $as_echo "no" >&6; };
15342 LIBS=$olibs 16541 LIBS=$olibs
15343 fi 16542 fi
15344 rm -f conftest.err conftest.$ac_objext \ 16543
16544 rm -rf conftest.dSYM
16545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15345 conftest$ac_exeext conftest.$ac_ext 16546 conftest$ac_exeext conftest.$ac_ext
15346 fi 16547 fi
15347 rm -f conftest.err conftest.$ac_objext \ 16548
16549 rm -rf conftest.dSYM
16550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15348 conftest$ac_exeext conftest.$ac_ext 16551 conftest$ac_exeext conftest.$ac_ext
15349 fi 16552 fi
15350 16553
15351 for ac_header in setjmp.h 16554 for ac_header in setjmp.h
15352 do 16555 do
15353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15354 if eval "test \"\${$as_ac_Header+set}\" = set"; then 16557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15355 echo "$as_me:$LINENO: checking for $ac_header" >&5 16558 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 16559 $as_echo_n "checking for $ac_header... " >&6; }
15357 if eval "test \"\${$as_ac_Header+set}\" = set"; then 16560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15358 echo $ECHO_N "(cached) $ECHO_C" >&6 16561 $as_echo_n "(cached) " >&6
15359 fi 16562 fi
15360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 16563 ac_res=`eval 'as_val=${'$as_ac_Header'}
15361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16564 $as_echo "$as_val"'`
16565 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16566 $as_echo "$ac_res" >&6; }
15362 else 16567 else
15363 # Is the header compilable? 16568 # Is the header compilable?
15364 echo "$as_me:$LINENO: checking $ac_header usability" >&5 16569 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 16570 $as_echo_n "checking $ac_header usability... " >&6; }
15366 cat >conftest.$ac_ext <<_ACEOF 16571 cat >conftest.$ac_ext <<_ACEOF
15367 /* confdefs.h. */ 16572 /* confdefs.h. */
15368 _ACEOF 16573 _ACEOF
15369 cat confdefs.h >>conftest.$ac_ext 16574 cat confdefs.h >>conftest.$ac_ext
15370 cat >>conftest.$ac_ext <<_ACEOF 16575 cat >>conftest.$ac_ext <<_ACEOF
15371 /* end confdefs.h. */ 16576 /* end confdefs.h. */
15372 $ac_includes_default 16577 $ac_includes_default
15373 #include <$ac_header> 16578 #include <$ac_header>
15374 _ACEOF 16579 _ACEOF
15375 rm -f conftest.$ac_objext 16580 rm -f conftest.$ac_objext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16581 if { (ac_try="$ac_compile"
15377 (eval $ac_compile) 2>conftest.er1 16582 case "(($ac_try" in
16583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16584 *) ac_try_echo=$ac_try;;
16585 esac
16586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16587 $as_echo "$ac_try_echo") >&5
16588 (eval "$ac_compile") 2>conftest.er1
15378 ac_status=$? 16589 ac_status=$?
15379 grep -v '^ *+' conftest.er1 >conftest.err 16590 grep -v '^ *+' conftest.er1 >conftest.err
15380 rm -f conftest.er1 16591 rm -f conftest.er1
15381 cat conftest.err >&5 16592 cat conftest.err >&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } && 16594 (exit $ac_status); } && {
15384 { ac_try='test -z "$ac_c_werror_flag" 16595 test -z "$ac_c_werror_flag" ||
15385 || test ! -s conftest.err' 16596 test ! -s conftest.err
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 16597 } && test -s conftest.$ac_objext; then
15387 (eval $ac_try) 2>&5
15388 ac_status=$?
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; } &&
15391 { ac_try='test -s conftest.$ac_objext'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15394 ac_status=$?
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; }; then
15397 ac_header_compiler=yes 16598 ac_header_compiler=yes
15398 else 16599 else
15399 echo "$as_me: failed program was:" >&5 16600 $as_echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5 16601 sed 's/^/| /' conftest.$ac_ext >&5
15401 16602
15402 ac_header_compiler=no 16603 ac_header_compiler=no
15403 fi 16604 fi
15404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 16605
15405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15406 echo "${ECHO_T}$ac_header_compiler" >&6 16607 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16608 $as_echo "$ac_header_compiler" >&6; }
15407 16609
15408 # Is the header present? 16610 # Is the header present?
15409 echo "$as_me:$LINENO: checking $ac_header presence" >&5 16611 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 16612 $as_echo_n "checking $ac_header presence... " >&6; }
15411 cat >conftest.$ac_ext <<_ACEOF 16613 cat >conftest.$ac_ext <<_ACEOF
15412 /* confdefs.h. */ 16614 /* confdefs.h. */
15413 _ACEOF 16615 _ACEOF
15414 cat confdefs.h >>conftest.$ac_ext 16616 cat confdefs.h >>conftest.$ac_ext
15415 cat >>conftest.$ac_ext <<_ACEOF 16617 cat >>conftest.$ac_ext <<_ACEOF
15416 /* end confdefs.h. */ 16618 /* end confdefs.h. */
15417 #include <$ac_header> 16619 #include <$ac_header>
15418 _ACEOF 16620 _ACEOF
15419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 16621 if { (ac_try="$ac_cpp conftest.$ac_ext"
15420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 16622 case "(($ac_try" in
16623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16624 *) ac_try_echo=$ac_try;;
16625 esac
16626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16627 $as_echo "$ac_try_echo") >&5
16628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15421 ac_status=$? 16629 ac_status=$?
15422 grep -v '^ *+' conftest.er1 >conftest.err 16630 grep -v '^ *+' conftest.er1 >conftest.err
15423 rm -f conftest.er1 16631 rm -f conftest.er1
15424 cat conftest.err >&5 16632 cat conftest.err >&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } >/dev/null; then 16634 (exit $ac_status); } >/dev/null && {
15427 if test -s conftest.err; then 16635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15428 ac_cpp_err=$ac_c_preproc_warn_flag 16636 test ! -s conftest.err
15429 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 16637 }; then
15430 else
15431 ac_cpp_err=
15432 fi
15433 else
15434 ac_cpp_err=yes
15435 fi
15436 if test -z "$ac_cpp_err"; then
15437 ac_header_preproc=yes 16638 ac_header_preproc=yes
15438 else 16639 else
15439 echo "$as_me: failed program was:" >&5 16640 $as_echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.$ac_ext >&5 16641 sed 's/^/| /' conftest.$ac_ext >&5
15441 16642
15442 ac_header_preproc=no 16643 ac_header_preproc=no
15443 fi 16644 fi
16645
15444 rm -f conftest.err conftest.$ac_ext 16646 rm -f conftest.err conftest.$ac_ext
15445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16647 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15446 echo "${ECHO_T}$ac_header_preproc" >&6 16648 $as_echo "$ac_header_preproc" >&6; }
15447 16649
15448 # So? What about this header? 16650 # So? What about this header?
15449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 16651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15450 yes:no: ) 16652 yes:no: )
15451 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16653 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16654 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16655 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16656 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15455 ac_header_preproc=yes 16657 ac_header_preproc=yes
15456 ;; 16658 ;;
15457 no:yes:* ) 16659 no:yes:* )
15458 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16660 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16661 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15460 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16662 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15461 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16663 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15462 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16664 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16665 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15464 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16666 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15465 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16667 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16668 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16669 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15468 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16671 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15470 ( 16672
15471 cat <<\_ASBOX
15472 ## ------------------------------------------ ##
15473 ## Report this to the AC_PACKAGE_NAME lists. ##
15474 ## ------------------------------------------ ##
15475 _ASBOX
15476 ) |
15477 sed "s/^/$as_me: WARNING: /" >&2
15478 ;; 16673 ;;
15479 esac 16674 esac
15480 echo "$as_me:$LINENO: checking for $ac_header" >&5 16675 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 16676 $as_echo_n "checking for $ac_header... " >&6; }
15482 if eval "test \"\${$as_ac_Header+set}\" = set"; then 16677 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6 16678 $as_echo_n "(cached) " >&6
15484 else 16679 else
15485 eval "$as_ac_Header=\$ac_header_preproc" 16680 eval "$as_ac_Header=\$ac_header_preproc"
15486 fi 16681 fi
15487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 16682 ac_res=`eval 'as_val=${'$as_ac_Header'}
15488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 16683 $as_echo "$as_val"'`
15489 16684 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15490 fi 16685 $as_echo "$ac_res" >&6; }
15491 if test `eval echo '${'$as_ac_Header'}'` = yes; then 16686
16687 fi
16688 if test `eval 'as_val=${'$as_ac_Header'}
16689 $as_echo "$as_val"'` = yes; then
15492 cat >>confdefs.h <<_ACEOF 16690 cat >>confdefs.h <<_ACEOF
15493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15494 _ACEOF 16692 _ACEOF
15495 16693
15496 fi 16694 fi
15497 16695
15498 done 16696 done
15505 fi 16703 fi
15506 fi 16704 fi
15507 16705
15508 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ 16706 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \
15509 && test "x$GUITYPE" != "xCARBONGUI"; then 16707 && test "x$GUITYPE" != "xCARBONGUI"; then
15510 echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5 16708 { $as_echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
15511 echo $ECHO_N "checking whether we need -framework Carbon... $ECHO_C" >&6 16709 $as_echo_n "checking whether we need -framework Carbon... " >&6; }
15512 if test "x$enable_multibyte" = "xyes" || test "x$features" = "xbig" \ 16710 if test "x$enable_multibyte" = "xyes" || test "x$features" = "xbig" \
15513 || test "x$features" = "xhuge"; then 16711 || test "x$features" = "xhuge"; then
15514 LIBS="$LIBS -framework Carbon" 16712 LIBS="$LIBS -framework Carbon"
15515 echo "$as_me:$LINENO: result: yes" >&5 16713 { $as_echo "$as_me:$LINENO: result: yes" >&5
15516 echo "${ECHO_T}yes" >&6 16714 $as_echo "yes" >&6; }
15517 else 16715 else
15518 echo "$as_me:$LINENO: result: no" >&5 16716 { $as_echo "$as_me:$LINENO: result: no" >&5
15519 echo "${ECHO_T}no" >&6 16717 $as_echo "no" >&6; }
15520 fi 16718 fi
15521 fi 16719 fi
15522 if test "x$MACARCH" = "xboth"; then 16720 if test "x$MACARCH" = "xboth"; then
15523 LDFLAGS="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" 16721 LDFLAGS="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
15524 fi 16722 fi
15525 16723
15526 echo "$as_me:$LINENO: checking for GCC 3 or later" >&5 16724 { $as_echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
15527 echo $ECHO_N "checking for GCC 3 or later... $ECHO_C" >&6 16725 $as_echo_n "checking for GCC 3 or later... " >&6; }
15528 DEPEND_CFLAGS_FILTER= 16726 DEPEND_CFLAGS_FILTER=
15529 if test "$GCC" = yes; then 16727 if test "$GCC" = yes; then
15530 gccmajor=`echo "$gccversion" | sed -e 's/^\([1-9]\)\..*$/\1/g'` 16728 gccmajor=`echo "$gccversion" | sed -e 's/^\([1-9]\)\..*$/\1/g'`
15531 if test "$gccmajor" -gt "2"; then 16729 if test "$gccmajor" -gt "2"; then
15532 DEPEND_CFLAGS_FILTER="| sed 's+-I */+-isystem /+g'" 16730 DEPEND_CFLAGS_FILTER="| sed 's+-I */+-isystem /+g'"
15533 fi 16731 fi
15534 fi 16732 fi
15535 if test "$DEPEND_CFLAGS_FILTER" = ""; then 16733 if test "$DEPEND_CFLAGS_FILTER" = ""; then
15536 echo "$as_me:$LINENO: result: no" >&5 16734 { $as_echo "$as_me:$LINENO: result: no" >&5
15537 echo "${ECHO_T}no" >&6 16735 $as_echo "no" >&6; }
15538 else 16736 else
15539 echo "$as_me:$LINENO: result: yes" >&5 16737 { $as_echo "$as_me:$LINENO: result: yes" >&5
15540 echo "${ECHO_T}yes" >&6 16738 $as_echo "yes" >&6; }
15541 fi 16739 fi
15542 16740
15543 16741
15544 ac_config_files="$ac_config_files auto/config.mk:config.mk.in" 16742 ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
16743
15545 cat >confcache <<\_ACEOF 16744 cat >confcache <<\_ACEOF
15546 # This file is a shell script that caches the results of configure 16745 # This file is a shell script that caches the results of configure
15547 # tests run on this system so they can be shared between configure 16746 # tests run on this system so they can be shared between configure
15548 # scripts and configure runs, see configure's option --config-cache. 16747 # scripts and configure runs, see configure's option --config-cache.
15549 # It is not useful on other systems. If it contains results you don't 16748 # It is not useful on other systems. If it contains results you don't
15558 16757
15559 _ACEOF 16758 _ACEOF
15560 16759
15561 # The following way of writing the cache mishandles newlines in values, 16760 # The following way of writing the cache mishandles newlines in values,
15562 # but we know of no workaround that is simple, portable, and efficient. 16761 # but we know of no workaround that is simple, portable, and efficient.
15563 # So, don't put newlines in cache variables' values. 16762 # So, we kill variables containing newlines.
15564 # Ultrix sh set writes to stderr and can't be redirected directly, 16763 # Ultrix sh set writes to stderr and can't be redirected directly,
15565 # and sets the high bit in the cache file unless we assign to the vars. 16764 # and sets the high bit in the cache file unless we assign to the vars.
15566 { 16765 (
16766 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16767 eval ac_val=\$$ac_var
16768 case $ac_val in #(
16769 *${as_nl}*)
16770 case $ac_var in #(
16771 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16772 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16773 esac
16774 case $ac_var in #(
16775 _ | IFS | as_nl) ;; #(
16776 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16777 *) $as_unset $ac_var ;;
16778 esac ;;
16779 esac
16780 done
16781
15567 (set) 2>&1 | 16782 (set) 2>&1 |
15568 case `(ac_space=' '; set | grep ac_space) 2>&1` in 16783 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15569 *ac_space=\ *) 16784 *${as_nl}ac_space=\ *)
15570 # `set' does not quote correctly, so add quotes (double-quote 16785 # `set' does not quote correctly, so add quotes (double-quote
15571 # substitution turns \\\\ into \\, and sed turns \\ into \). 16786 # substitution turns \\\\ into \\, and sed turns \\ into \).
15572 sed -n \ 16787 sed -n \
15573 "s/'/'\\\\''/g; 16788 "s/'/'\\\\''/g;
15574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 16789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15575 ;; 16790 ;; #(
15576 *) 16791 *)
15577 # `set' quotes correctly as required by POSIX, so do not add quotes. 16792 # `set' quotes correctly as required by POSIX, so do not add quotes.
15578 sed -n \ 16793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15579 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15580 ;; 16794 ;;
15581 esac; 16795 esac |
15582 } | 16796 sort
16797 ) |
15583 sed ' 16798 sed '
16799 /^ac_cv_env_/b end
15584 t clear 16800 t clear
15585 : clear 16801 :clear
15586 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 16802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15587 t end 16803 t end
15588 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 16804 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15589 : end' >>confcache 16805 :end' >>confcache
15590 if diff $cache_file confcache >/dev/null 2>&1; then :; else 16806 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15591 if test -w $cache_file; then 16807 if test -w "$cache_file"; then
15592 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 16808 test "x$cache_file" != "x/dev/null" &&
16809 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
16810 $as_echo "$as_me: updating cache $cache_file" >&6;}
15593 cat confcache >$cache_file 16811 cat confcache >$cache_file
15594 else 16812 else
15595 echo "not updating unwritable cache $cache_file" 16813 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16814 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15596 fi 16815 fi
15597 fi 16816 fi
15598 rm -f confcache 16817 rm -f confcache
15599 16818
15600 test "x$prefix" = xNONE && prefix=$ac_default_prefix 16819 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15601 # Let make expand exec_prefix. 16820 # Let make expand exec_prefix.
15602 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 16821 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15603
15604 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15605 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15606 # trailing colons and then remove the whole line if VPATH becomes empty
15607 # (actually we leave an empty line to preserve line numbers).
15608 if test "x$srcdir" = x.; then
15609 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15610 s/:*\$(srcdir):*/:/;
15611 s/:*\${srcdir}:*/:/;
15612 s/:*@srcdir@:*/:/;
15613 s/^\([^=]*=[ ]*\):*/\1/;
15614 s/:*$//;
15615 s/^[^=]*=[ ]*$//;
15616 }'
15617 fi
15618 16822
15619 DEFS=-DHAVE_CONFIG_H 16823 DEFS=-DHAVE_CONFIG_H
15620 16824
15621 ac_libobjs= 16825 ac_libobjs=
15622 ac_ltlibobjs= 16826 ac_ltlibobjs=
15623 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 16827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15624 # 1. Remove the extension, and $U if already installed. 16828 # 1. Remove the extension, and $U if already installed.
15625 ac_i=`echo "$ac_i" | 16829 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15626 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 16830 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15627 # 2. Add them. 16831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15628 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 16832 # will be set to the directory where LIBOBJS objects are built.
15629 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 16833 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16834 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15630 done 16835 done
15631 LIBOBJS=$ac_libobjs 16836 LIBOBJS=$ac_libobjs
15632 16837
15633 LTLIBOBJS=$ac_ltlibobjs 16838 LTLIBOBJS=$ac_ltlibobjs
15634 16839
15635 16840
15636 16841
15637 : ${CONFIG_STATUS=./config.status} 16842 : ${CONFIG_STATUS=./config.status}
16843 ac_write_fail=0
15638 ac_clean_files_save=$ac_clean_files 16844 ac_clean_files_save=$ac_clean_files
15639 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 16845 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15640 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 16846 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15641 echo "$as_me: creating $CONFIG_STATUS" >&6;} 16847 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15642 cat >$CONFIG_STATUS <<_ACEOF 16848 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15643 #! $SHELL 16849 #! $SHELL
15644 # Generated by $as_me. 16850 # Generated by $as_me.
15645 # Run this file to recreate the current configuration. 16851 # Run this file to recreate the current configuration.
15646 # Compiler output produced by configure, useful for debugging 16852 # Compiler output produced by configure, useful for debugging
15647 # configure, is in config.log if it exists. 16853 # configure, is in config.log if it exists.
15650 ac_cs_recheck=false 16856 ac_cs_recheck=false
15651 ac_cs_silent=false 16857 ac_cs_silent=false
15652 SHELL=\${CONFIG_SHELL-$SHELL} 16858 SHELL=\${CONFIG_SHELL-$SHELL}
15653 _ACEOF 16859 _ACEOF
15654 16860
15655 cat >>$CONFIG_STATUS <<\_ACEOF 16861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15656 ## --------------------- ## 16862 ## --------------------- ##
15657 ## M4sh Initialization. ## 16863 ## M4sh Initialization. ##
15658 ## --------------------- ## 16864 ## --------------------- ##
15659 16865
15660 # Be Bourne compatible 16866 # Be more Bourne compatible
16867 DUALCASE=1; export DUALCASE # for MKS sh
15661 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16868 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15662 emulate sh 16869 emulate sh
15663 NULLCMD=: 16870 NULLCMD=:
15664 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 16871 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15665 # is contrary to our usage. Disable this feature. 16872 # is contrary to our usage. Disable this feature.
15666 alias -g '${1+"$@"}'='"$@"' 16873 alias -g '${1+"$@"}'='"$@"'
15667 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 16874 setopt NO_GLOB_SUBST
15668 set -o posix 16875 else
15669 fi 16876 case `(set -o) 2>/dev/null` in
15670 DUALCASE=1; export DUALCASE # for MKS sh 16877 *posix*) set -o posix ;;
15671 16878 esac
15672 # Support unset when possible. 16879
15673 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 16880 fi
15674 as_unset=unset 16881
15675 else 16882
15676 as_unset=false 16883
15677 fi 16884
15678 16885 # PATH needs CR
15679
15680 # Work around bugs in pre-3.0 UWIN ksh.
15681 $as_unset ENV MAIL MAILPATH
15682 PS1='$ '
15683 PS2='> '
15684 PS4='+ '
15685
15686 # NLS nuisances.
15687 for as_var in \
15688 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15689 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15690 LC_TELEPHONE LC_TIME
15691 do
15692 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15693 eval $as_var=C; export $as_var
15694 else
15695 $as_unset $as_var
15696 fi
15697 done
15698
15699 # Required to use basename.
15700 if expr a : '\(a\)' >/dev/null 2>&1; then
15701 as_expr=expr
15702 else
15703 as_expr=false
15704 fi
15705
15706 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15707 as_basename=basename
15708 else
15709 as_basename=false
15710 fi
15711
15712
15713 # Name of the executable.
15714 as_me=`$as_basename "$0" ||
15715 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15716 X"$0" : 'X\(//\)$' \| \
15717 X"$0" : 'X\(/\)$' \| \
15718 . : '\(.\)' 2>/dev/null ||
15719 echo X/"$0" |
15720 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15721 /^X\/\(\/\/\)$/{ s//\1/; q; }
15722 /^X\/\(\/\).*/{ s//\1/; q; }
15723 s/.*/./; q'`
15724
15725
15726 # PATH needs CR, and LINENO needs CR and PATH.
15727 # Avoid depending upon Character Ranges. 16886 # Avoid depending upon Character Ranges.
15728 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16887 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15729 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16888 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15730 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 16889 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15731 as_cr_digits='0123456789' 16890 as_cr_digits='0123456789'
15732 as_cr_alnum=$as_cr_Letters$as_cr_digits 16891 as_cr_alnum=$as_cr_Letters$as_cr_digits
15733 16892
16893 as_nl='
16894 '
16895 export as_nl
16896 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16897 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16900 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16901 as_echo='printf %s\n'
16902 as_echo_n='printf %s'
16903 else
16904 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16905 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16906 as_echo_n='/usr/ucb/echo -n'
16907 else
16908 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16909 as_echo_n_body='eval
16910 arg=$1;
16911 case $arg in
16912 *"$as_nl"*)
16913 expr "X$arg" : "X\\(.*\\)$as_nl";
16914 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16915 esac;
16916 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16917 '
16918 export as_echo_n_body
16919 as_echo_n='sh -c $as_echo_n_body as_echo'
16920 fi
16921 export as_echo_body
16922 as_echo='sh -c $as_echo_body as_echo'
16923 fi
16924
15734 # The user is always right. 16925 # The user is always right.
15735 if test "${PATH_SEPARATOR+set}" != set; then 16926 if test "${PATH_SEPARATOR+set}" != set; then
15736 echo "#! /bin/sh" >conf$$.sh 16927 PATH_SEPARATOR=:
15737 echo "exit 0" >>conf$$.sh 16928 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15738 chmod +x conf$$.sh 16929 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15739 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 16930 PATH_SEPARATOR=';'
15740 PATH_SEPARATOR=';' 16931 }
15741 else 16932 fi
15742 PATH_SEPARATOR=: 16933
15743 fi 16934 # Support unset when possible.
15744 rm -f conf$$.sh 16935 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15745 fi 16936 as_unset=unset
15746 16937 else
15747 16938 as_unset=false
15748 as_lineno_1=$LINENO 16939 fi
15749 as_lineno_2=$LINENO 16940
15750 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 16941
15751 test "x$as_lineno_1" != "x$as_lineno_2" && 16942 # IFS
15752 test "x$as_lineno_3" = "x$as_lineno_2" || { 16943 # We need space, tab and new line, in precisely that order. Quoting is
15753 # Find who we are. Look in the path if we contain no path at all 16944 # there to prevent editors from complaining about space-tab.
15754 # relative or not. 16945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15755 case $0 in 16946 # splitting by setting IFS to empty value.)
15756 *[\\/]* ) as_myself=$0 ;; 16947 IFS=" "" $as_nl"
15757 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16948
16949 # Find who we are. Look in the path if we contain no directory separator.
16950 case $0 in
16951 *[\\/]* ) as_myself=$0 ;;
16952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15758 for as_dir in $PATH 16953 for as_dir in $PATH
15759 do 16954 do
15760 IFS=$as_save_IFS 16955 IFS=$as_save_IFS
15761 test -z "$as_dir" && as_dir=. 16956 test -z "$as_dir" && as_dir=.
15762 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 16957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15763 done 16958 done
15764 16959 IFS=$as_save_IFS
15765 ;; 16960
15766 esac 16961 ;;
15767 # We did not find ourselves, most probably we were run as `sh COMMAND' 16962 esac
15768 # in which case we are not to be found in the path. 16963 # We did not find ourselves, most probably we were run as `sh COMMAND'
15769 if test "x$as_myself" = x; then 16964 # in which case we are not to be found in the path.
15770 as_myself=$0 16965 if test "x$as_myself" = x; then
15771 fi 16966 as_myself=$0
15772 if test ! -f "$as_myself"; then 16967 fi
15773 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 16968 if test ! -f "$as_myself"; then
15774 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 16969 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15775 { (exit 1); exit 1; }; } 16970 { (exit 1); exit 1; }
15776 fi 16971 fi
15777 case $CONFIG_SHELL in 16972
15778 '') 16973 # Work around bugs in pre-3.0 UWIN ksh.
15779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16974 for as_var in ENV MAIL MAILPATH
15780 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 16975 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15781 do 16976 done
15782 IFS=$as_save_IFS 16977 PS1='$ '
15783 test -z "$as_dir" && as_dir=. 16978 PS2='> '
15784 for as_base in sh bash ksh sh5; do 16979 PS4='+ '
15785 case $as_dir in 16980
15786 /*) 16981 # NLS nuisances.
15787 if ("$as_dir/$as_base" -c ' 16982 LC_ALL=C
16983 export LC_ALL
16984 LANGUAGE=C
16985 export LANGUAGE
16986
16987 # Required to use basename.
16988 if expr a : '\(a\)' >/dev/null 2>&1 &&
16989 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16990 as_expr=expr
16991 else
16992 as_expr=false
16993 fi
16994
16995 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16996 as_basename=basename
16997 else
16998 as_basename=false
16999 fi
17000
17001
17002 # Name of the executable.
17003 as_me=`$as_basename -- "$0" ||
17004 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17005 X"$0" : 'X\(//\)$' \| \
17006 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17007 $as_echo X/"$0" |
17008 sed '/^.*\/\([^/][^/]*\)\/*$/{
17009 s//\1/
17010 q
17011 }
17012 /^X\/\(\/\/\)$/{
17013 s//\1/
17014 q
17015 }
17016 /^X\/\(\/\).*/{
17017 s//\1/
17018 q
17019 }
17020 s/.*/./; q'`
17021
17022 # CDPATH.
17023 $as_unset CDPATH
17024
17025
17026
15788 as_lineno_1=$LINENO 17027 as_lineno_1=$LINENO
15789 as_lineno_2=$LINENO 17028 as_lineno_2=$LINENO
15790 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15791 test "x$as_lineno_1" != "x$as_lineno_2" && 17029 test "x$as_lineno_1" != "x$as_lineno_2" &&
15792 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 17030 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15793 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15794 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15795 CONFIG_SHELL=$as_dir/$as_base
15796 export CONFIG_SHELL
15797 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15798 fi;;
15799 esac
15800 done
15801 done
15802 ;;
15803 esac
15804 17031
15805 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 17032 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15806 # uniformly replaced by the line number. The first 'sed' inserts a 17033 # uniformly replaced by the line number. The first 'sed' inserts a
15807 # line-number line before each line; the second 'sed' does the real 17034 # line-number line after each line using $LINENO; the second 'sed'
15808 # work. The second script uses 'N' to pair each line-number line 17035 # does the real work. The second script uses 'N' to pair each
15809 # with the numbered line, and appends trailing '-' during 17036 # line-number line with the line containing $LINENO, and appends
15810 # substitution so that $LINENO is not a special case at line end. 17037 # trailing '-' during substitution so that $LINENO is not a special
17038 # case at line end.
15811 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 17039 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15812 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 17040 # scripts with optimization help from Paolo Bonzini. Blame Lee
15813 sed '=' <$as_myself | 17041 # E. McMahon (1931-1989) for sed's syntax. :-)
17042 sed -n '
17043 p
17044 /[$]LINENO/=
17045 ' <$as_myself |
15814 sed ' 17046 sed '
17047 s/[$]LINENO.*/&-/
17048 t lineno
17049 b
17050 :lineno
15815 N 17051 N
15816 s,$,-, 17052 :loop
15817 : loop 17053 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15818 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15819 t loop 17054 t loop
15820 s,-$,, 17055 s/-\n.*//
15821 s,^['$as_cr_digits']*\n,,
15822 ' >$as_me.lineno && 17056 ' >$as_me.lineno &&
15823 chmod +x $as_me.lineno || 17057 chmod +x "$as_me.lineno" ||
15824 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 17058 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15825 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15826 { (exit 1); exit 1; }; } 17059 { (exit 1); exit 1; }; }
15827 17060
15828 # Don't try to exec as it changes $[0], causing all sort of problems 17061 # Don't try to exec as it changes $[0], causing all sort of problems
15829 # (the dirname of $[0] is not the place where we might find the 17062 # (the dirname of $[0] is not the place where we might find the
15830 # original and so on. Autoconf is especially sensible to this). 17063 # original and so on. Autoconf is especially sensitive to this).
15831 . ./$as_me.lineno 17064 . "./$as_me.lineno"
15832 # Exit status is that of the last command. 17065 # Exit status is that of the last command.
15833 exit 17066 exit
15834 } 17067 }
15835 17068
15836 17069
15837 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 17070 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15838 *c*,-n*) ECHO_N= ECHO_C=' 17071 as_dirname=dirname
15839 ' ECHO_T=' ' ;; 17072 else
15840 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 17073 as_dirname=false
15841 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 17074 fi
15842 esac 17075
15843 17076 ECHO_C= ECHO_N= ECHO_T=
15844 if expr a : '\(a\)' >/dev/null 2>&1; then 17077 case `echo -n x` in
17078 -n*)
17079 case `echo 'x\c'` in
17080 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17081 *) ECHO_C='\c';;
17082 esac;;
17083 *)
17084 ECHO_N='-n';;
17085 esac
17086 if expr a : '\(a\)' >/dev/null 2>&1 &&
17087 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15845 as_expr=expr 17088 as_expr=expr
15846 else 17089 else
15847 as_expr=false 17090 as_expr=false
15848 fi 17091 fi
15849 17092
15850 rm -f conf$$ conf$$.exe conf$$.file 17093 rm -f conf$$ conf$$.exe conf$$.file
15851 echo >conf$$.file 17094 if test -d conf$$.dir; then
15852 if ln -s conf$$.file conf$$ 2>/dev/null; then 17095 rm -f conf$$.dir/conf$$.file
15853 # We could just check for DJGPP; but this test a) works b) is more generic 17096 else
15854 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 17097 rm -f conf$$.dir
15855 if test -f conf$$.exe; then 17098 mkdir conf$$.dir 2>/dev/null
15856 # Don't use ln at all; we don't have any links 17099 fi
17100 if (echo >conf$$.file) 2>/dev/null; then
17101 if ln -s conf$$.file conf$$ 2>/dev/null; then
17102 as_ln_s='ln -s'
17103 # ... but there are two gotchas:
17104 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17105 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17106 # In both cases, we have to default to `cp -p'.
17107 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17108 as_ln_s='cp -p'
17109 elif ln conf$$.file conf$$ 2>/dev/null; then
17110 as_ln_s=ln
17111 else
15857 as_ln_s='cp -p' 17112 as_ln_s='cp -p'
15858 else
15859 as_ln_s='ln -s'
15860 fi 17113 fi
15861 elif ln conf$$.file conf$$ 2>/dev/null; then
15862 as_ln_s=ln
15863 else 17114 else
15864 as_ln_s='cp -p' 17115 as_ln_s='cp -p'
15865 fi 17116 fi
15866 rm -f conf$$ conf$$.exe conf$$.file 17117 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17118 rmdir conf$$.dir 2>/dev/null
15867 17119
15868 if mkdir -p . 2>/dev/null; then 17120 if mkdir -p . 2>/dev/null; then
15869 as_mkdir_p=: 17121 as_mkdir_p=:
15870 else 17122 else
15871 test -d ./-p && rmdir ./-p 17123 test -d ./-p && rmdir ./-p
15872 as_mkdir_p=false 17124 as_mkdir_p=false
15873 fi 17125 fi
15874 17126
15875 as_executable_p="test -f" 17127 if test -x / >/dev/null 2>&1; then
17128 as_test_x='test -x'
17129 else
17130 if ls -dL / >/dev/null 2>&1; then
17131 as_ls_L_option=L
17132 else
17133 as_ls_L_option=
17134 fi
17135 as_test_x='
17136 eval sh -c '\''
17137 if test -d "$1"; then
17138 test -d "$1/.";
17139 else
17140 case $1 in
17141 -*)set "./$1";;
17142 esac;
17143 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17144 ???[sx]*):;;*)false;;esac;fi
17145 '\'' sh
17146 '
17147 fi
17148 as_executable_p=$as_test_x
15876 17149
15877 # Sed expression to map a string onto a valid CPP name. 17150 # Sed expression to map a string onto a valid CPP name.
15878 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17151 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15879 17152
15880 # Sed expression to map a string onto a valid variable name. 17153 # Sed expression to map a string onto a valid variable name.
15881 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17154 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15882 17155
15883 17156
15884 # IFS
15885 # We need space, tab and new line, in precisely that order.
15886 as_nl='
15887 '
15888 IFS=" $as_nl"
15889
15890 # CDPATH.
15891 $as_unset CDPATH
15892
15893 exec 6>&1 17157 exec 6>&1
15894 17158
15895 # Open the log real soon, to keep \$[0] and so on meaningful, and to 17159 # Save the log message, to keep $[0] and so on meaningful, and to
15896 # report actual input values of CONFIG_FILES etc. instead of their 17160 # report actual input values of CONFIG_FILES etc. instead of their
15897 # values after options handling. Logging --version etc. is OK. 17161 # values after options handling.
17162 ac_log="
17163 This file was extended by $as_me, which was
17164 generated by GNU Autoconf 2.62. Invocation command line was
17165
17166 CONFIG_FILES = $CONFIG_FILES
17167 CONFIG_HEADERS = $CONFIG_HEADERS
17168 CONFIG_LINKS = $CONFIG_LINKS
17169 CONFIG_COMMANDS = $CONFIG_COMMANDS
17170 $ $0 $@
17171
17172 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17173 "
17174
17175 _ACEOF
17176
17177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17178 # Files that config.status was made for.
17179 config_files="$ac_config_files"
17180 config_headers="$ac_config_headers"
17181
17182 _ACEOF
17183
17184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17185 ac_cs_usage="\
17186 \`$as_me' instantiates files from templates according to the
17187 current configuration.
17188
17189 Usage: $0 [OPTIONS] [FILE]...
17190
17191 -h, --help print this help, then exit
17192 -V, --version print version number and configuration settings, then exit
17193 -q, --quiet do not print progress messages
17194 -d, --debug don't remove temporary files
17195 --recheck update $as_me by reconfiguring in the same conditions
17196 --file=FILE[:TEMPLATE]
17197 instantiate the configuration file FILE
17198 --header=FILE[:TEMPLATE]
17199 instantiate the configuration header FILE
17200
17201 Configuration files:
17202 $config_files
17203
17204 Configuration headers:
17205 $config_headers
17206
17207 Report bugs to <bug-autoconf@gnu.org>."
17208
17209 _ACEOF
17210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17211 ac_cs_version="\\
17212 config.status
17213 configured by $0, generated by GNU Autoconf 2.62,
17214 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17215
17216 Copyright (C) 2008 Free Software Foundation, Inc.
17217 This config.status script is free software; the Free Software Foundation
17218 gives unlimited permission to copy, distribute and modify it."
17219
17220 ac_pwd='$ac_pwd'
17221 srcdir='$srcdir'
17222 AWK='$AWK'
17223 test -n "\$AWK" || AWK=awk
17224 _ACEOF
17225
17226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17227 # The default lists apply if the user does not specify any file.
17228 ac_need_defaults=:
17229 while test $# != 0
17230 do
17231 case $1 in
17232 --*=*)
17233 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17234 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17235 ac_shift=:
17236 ;;
17237 *)
17238 ac_option=$1
17239 ac_optarg=$2
17240 ac_shift=shift
17241 ;;
17242 esac
17243
17244 case $ac_option in
17245 # Handling of the options.
17246 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17247 ac_cs_recheck=: ;;
17248 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17249 $as_echo "$ac_cs_version"; exit ;;
17250 --debug | --debu | --deb | --de | --d | -d )
17251 debug=: ;;
17252 --file | --fil | --fi | --f )
17253 $ac_shift
17254 case $ac_optarg in
17255 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17256 esac
17257 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
17258 ac_need_defaults=false;;
17259 --header | --heade | --head | --hea )
17260 $ac_shift
17261 case $ac_optarg in
17262 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17263 esac
17264 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
17265 ac_need_defaults=false;;
17266 --he | --h)
17267 # Conflict between --help and --header
17268 { $as_echo "$as_me: error: ambiguous option: $1
17269 Try \`$0 --help' for more information." >&2
17270 { (exit 1); exit 1; }; };;
17271 --help | --hel | -h )
17272 $as_echo "$ac_cs_usage"; exit ;;
17273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17274 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17275 ac_cs_silent=: ;;
17276
17277 # This is an error.
17278 -*) { $as_echo "$as_me: error: unrecognized option: $1
17279 Try \`$0 --help' for more information." >&2
17280 { (exit 1); exit 1; }; } ;;
17281
17282 *) ac_config_targets="$ac_config_targets $1"
17283 ac_need_defaults=false ;;
17284
17285 esac
17286 shift
17287 done
17288
17289 ac_configure_extra_args=
17290
17291 if $ac_cs_silent; then
17292 exec 6>/dev/null
17293 ac_configure_extra_args="$ac_configure_extra_args --silent"
17294 fi
17295
17296 _ACEOF
17297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17298 if \$ac_cs_recheck; then
17299 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17300 shift
17301 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17302 CONFIG_SHELL='$SHELL'
17303 export CONFIG_SHELL
17304 exec "\$@"
17305 fi
17306
17307 _ACEOF
17308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15898 exec 5>>auto/config.log 17309 exec 5>>auto/config.log
15899 { 17310 {
15900 echo 17311 echo
15901 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17312 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15902 ## Running $as_me. ## 17313 ## Running $as_me. ##
15903 _ASBOX 17314 _ASBOX
17315 $as_echo "$ac_log"
15904 } >&5 17316 } >&5
15905 cat >&5 <<_CSEOF 17317
15906 17318 _ACEOF
15907 This file was extended by $as_me, which was 17319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15908 generated by GNU Autoconf 2.59. Invocation command line was 17320 _ACEOF
15909 17321
15910 CONFIG_FILES = $CONFIG_FILES 17322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15911 CONFIG_HEADERS = $CONFIG_HEADERS 17323
15912 CONFIG_LINKS = $CONFIG_LINKS 17324 # Handling of arguments.
15913 CONFIG_COMMANDS = $CONFIG_COMMANDS
15914 $ $0 $@
15915
15916 _CSEOF
15917 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15918 echo >&5
15919 _ACEOF
15920
15921 # Files that config.status was made for.
15922 if test -n "$ac_config_files"; then
15923 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15924 fi
15925
15926 if test -n "$ac_config_headers"; then
15927 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15928 fi
15929
15930 if test -n "$ac_config_links"; then
15931 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15932 fi
15933
15934 if test -n "$ac_config_commands"; then
15935 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15936 fi
15937
15938 cat >>$CONFIG_STATUS <<\_ACEOF
15939
15940 ac_cs_usage="\
15941 \`$as_me' instantiates files from templates according to the
15942 current configuration.
15943
15944 Usage: $0 [OPTIONS] [FILE]...
15945
15946 -h, --help print this help, then exit
15947 -V, --version print version number, then exit
15948 -q, --quiet do not print progress messages
15949 -d, --debug don't remove temporary files
15950 --recheck update $as_me by reconfiguring in the same conditions
15951 --file=FILE[:TEMPLATE]
15952 instantiate the configuration file FILE
15953 --header=FILE[:TEMPLATE]
15954 instantiate the configuration header FILE
15955
15956 Configuration files:
15957 $config_files
15958
15959 Configuration headers:
15960 $config_headers
15961
15962 Report bugs to <bug-autoconf@gnu.org>."
15963 _ACEOF
15964
15965 cat >>$CONFIG_STATUS <<_ACEOF
15966 ac_cs_version="\\
15967 config.status
15968 configured by $0, generated by GNU Autoconf 2.59,
15969 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15970
15971 Copyright (C) 2003 Free Software Foundation, Inc.
15972 This config.status script is free software; the Free Software Foundation
15973 gives unlimited permission to copy, distribute and modify it."
15974 srcdir=$srcdir
15975 _ACEOF
15976
15977 cat >>$CONFIG_STATUS <<\_ACEOF
15978 # If no file are specified by the user, then we need to provide default
15979 # value. By we need to know if files were specified by the user.
15980 ac_need_defaults=:
15981 while test $# != 0
15982 do
15983 case $1 in
15984 --*=*)
15985 ac_option=`expr "x$1" : 'x\([^=]*\)='`
15986 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15987 ac_shift=:
15988 ;;
15989 -*)
15990 ac_option=$1
15991 ac_optarg=$2
15992 ac_shift=shift
15993 ;;
15994 *) # This is not an option, so the user has probably given explicit
15995 # arguments.
15996 ac_option=$1
15997 ac_need_defaults=false;;
15998 esac
15999
16000 case $ac_option in
16001 # Handling of the options.
16002 _ACEOF
16003 cat >>$CONFIG_STATUS <<\_ACEOF
16004 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16005 ac_cs_recheck=: ;;
16006 --version | --vers* | -V )
16007 echo "$ac_cs_version"; exit 0 ;;
16008 --he | --h)
16009 # Conflict between --help and --header
16010 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16011 Try \`$0 --help' for more information." >&5
16012 echo "$as_me: error: ambiguous option: $1
16013 Try \`$0 --help' for more information." >&2;}
16014 { (exit 1); exit 1; }; };;
16015 --help | --hel | -h )
16016 echo "$ac_cs_usage"; exit 0 ;;
16017 --debug | --d* | -d )
16018 debug=: ;;
16019 --file | --fil | --fi | --f )
16020 $ac_shift
16021 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16022 ac_need_defaults=false;;
16023 --header | --heade | --head | --hea )
16024 $ac_shift
16025 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16026 ac_need_defaults=false;;
16027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16028 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16029 ac_cs_silent=: ;;
16030
16031 # This is an error.
16032 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16033 Try \`$0 --help' for more information." >&5
16034 echo "$as_me: error: unrecognized option: $1
16035 Try \`$0 --help' for more information." >&2;}
16036 { (exit 1); exit 1; }; } ;;
16037
16038 *) ac_config_targets="$ac_config_targets $1" ;;
16039
16040 esac
16041 shift
16042 done
16043
16044 ac_configure_extra_args=
16045
16046 if $ac_cs_silent; then
16047 exec 6>/dev/null
16048 ac_configure_extra_args="$ac_configure_extra_args --silent"
16049 fi
16050
16051 _ACEOF
16052 cat >>$CONFIG_STATUS <<_ACEOF
16053 if \$ac_cs_recheck; then
16054 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16055 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16056 fi
16057
16058 _ACEOF
16059
16060
16061
16062
16063
16064 cat >>$CONFIG_STATUS <<\_ACEOF
16065 for ac_config_target in $ac_config_targets 17325 for ac_config_target in $ac_config_targets
16066 do 17326 do
16067 case "$ac_config_target" in 17327 case $ac_config_target in
16068 # Handling of arguments. 17328 "auto/config.h") CONFIG_HEADERS="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
16069 "auto/config.mk" ) CONFIG_FILES="$CONFIG_FILES auto/config.mk:config.mk.in" ;; 17329 "auto/config.mk") CONFIG_FILES="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
16070 "auto/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS auto/config.h:config.h.in" ;; 17330
16071 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 17331 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16072 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 17332 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16073 { (exit 1); exit 1; }; };; 17333 { (exit 1); exit 1; }; };;
16074 esac 17334 esac
16075 done 17335 done
17336
16076 17337
16077 # If the user did not use the arguments to specify the items to instantiate, 17338 # If the user did not use the arguments to specify the items to instantiate,
16078 # then the envvar interface is used. Set only those that are not. 17339 # then the envvar interface is used. Set only those that are not.
16079 # We use the long form for the default assignment because of an extremely 17340 # We use the long form for the default assignment because of an extremely
16080 # bizarre bug on SunOS 4.1.3. 17341 # bizarre bug on SunOS 4.1.3.
16082 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 17343 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16083 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 17344 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16084 fi 17345 fi
16085 17346
16086 # Have a temporary directory for convenience. Make it in the build tree 17347 # Have a temporary directory for convenience. Make it in the build tree
16087 # simply because there is no reason to put it here, and in addition, 17348 # simply because there is no reason against having it here, and in addition,
16088 # creating and moving files from /tmp can sometimes cause problems. 17349 # creating and moving files from /tmp can sometimes cause problems.
16089 # Create a temporary directory, and hook for its removal unless debugging. 17350 # Hook for its removal unless debugging.
17351 # Note that there is a small window in which the directory will not be cleaned:
17352 # after its creation but before its name has been assigned to `$tmp'.
16090 $debug || 17353 $debug ||
16091 { 17354 {
16092 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 17355 tmp=
17356 trap 'exit_status=$?
17357 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17358 ' 0
16093 trap '{ (exit 1); exit 1; }' 1 2 13 15 17359 trap '{ (exit 1); exit 1; }' 1 2 13 15
16094 } 17360 }
16095
16096 # Create a (secure) tmp directory for tmp files. 17361 # Create a (secure) tmp directory for tmp files.
16097 17362
16098 { 17363 {
16099 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 17364 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16100 test -n "$tmp" && test -d "$tmp" 17365 test -n "$tmp" && test -d "$tmp"
16101 } || 17366 } ||
16102 { 17367 {
16103 tmp=./confstat$$-$RANDOM 17368 tmp=./conf$$-$RANDOM
16104 (umask 077 && mkdir $tmp) 17369 (umask 077 && mkdir "$tmp")
16105 } || 17370 } ||
16106 { 17371 {
16107 echo "$me: cannot create a temporary directory in ." >&2 17372 $as_echo "$as_me: cannot create a temporary directory in ." >&2
16108 { (exit 1); exit 1; } 17373 { (exit 1); exit 1; }
16109 } 17374 }
16110 17375
16111 _ACEOF 17376 # Set up the scripts for CONFIG_FILES section.
16112 17377 # No need to generate them if there are no CONFIG_FILES.
16113 cat >>$CONFIG_STATUS <<_ACEOF 17378 # This happens for instance with `./config.status config.h'.
16114 17379 if test -n "$CONFIG_FILES"; then
16115 # 17380
16116 # CONFIG_FILES section. 17381
16117 # 17382 ac_cr='
16118 17383 '
16119 # No need to generate the scripts if there are no CONFIG_FILES. 17384 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16120 # This happens for instance when ./config.status config.h 17385 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16121 if test -n "\$CONFIG_FILES"; then 17386 ac_cs_awk_cr='\\r'
16122 # Protect against being on the right side of a sed subst in config.status. 17387 else
16123 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 17388 ac_cs_awk_cr=$ac_cr
16124 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 17389 fi
16125 s,@SHELL@,$SHELL,;t t 17390
16126 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 17391 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16127 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 17392 _ACEOF
16128 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 17393
16129 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 17394
16130 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 17395 {
16131 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 17396 echo "cat >conf$$subs.awk <<_ACEOF" &&
16132 s,@exec_prefix@,$exec_prefix,;t t 17397 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16133 s,@prefix@,$prefix,;t t 17398 echo "_ACEOF"
16134 s,@program_transform_name@,$program_transform_name,;t t 17399 } >conf$$subs.sh ||
16135 s,@bindir@,$bindir,;t t 17400 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16136 s,@sbindir@,$sbindir,;t t 17401 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16137 s,@libexecdir@,$libexecdir,;t t 17402 { (exit 1); exit 1; }; }
16138 s,@datadir@,$datadir,;t t 17403 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16139 s,@sysconfdir@,$sysconfdir,;t t 17404 ac_delim='%!_!# '
16140 s,@sharedstatedir@,$sharedstatedir,;t t 17405 for ac_last_try in false false false false false :; do
16141 s,@localstatedir@,$localstatedir,;t t 17406 . ./conf$$subs.sh ||
16142 s,@libdir@,$libdir,;t t 17407 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16143 s,@includedir@,$includedir,;t t 17408 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16144 s,@oldincludedir@,$oldincludedir,;t t 17409 { (exit 1); exit 1; }; }
16145 s,@infodir@,$infodir,;t t 17410
16146 s,@mandir@,$mandir,;t t 17411 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
16147 s,@build_alias@,$build_alias,;t t 17412 break
16148 s,@host_alias@,$host_alias,;t t 17413 elif $ac_last_try; then
16149 s,@target_alias@,$target_alias,;t t 17414 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16150 s,@DEFS@,$DEFS,;t t 17415 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16151 s,@ECHO_C@,$ECHO_C,;t t 17416 { (exit 1); exit 1; }; }
16152 s,@ECHO_N@,$ECHO_N,;t t 17417 else
16153 s,@ECHO_T@,$ECHO_T,;t t 17418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16154 s,@LIBS@,$LIBS,;t t 17419 fi
16155 s,@SET_MAKE@,$SET_MAKE,;t t 17420 done
16156 s,@CC@,$CC,;t t 17421 rm -f conf$$subs.sh
16157 s,@CFLAGS@,$CFLAGS,;t t 17422
16158 s,@LDFLAGS@,$LDFLAGS,;t t 17423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16159 s,@CPPFLAGS@,$CPPFLAGS,;t t 17424 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16160 s,@ac_ct_CC@,$ac_ct_CC,;t t 17425 _ACEOF
16161 s,@EXEEXT@,$EXEEXT,;t t 17426 sed -n '
16162 s,@OBJEXT@,$OBJEXT,;t t 17427 h
16163 s,@CPP@,$CPP,;t t 17428 s/^/S["/; s/!.*/"]=/
16164 s,@EGREP@,$EGREP,;t t 17429 p
16165 s,@AWK@,$AWK,;t t 17430 g
16166 s,@STRIP@,$STRIP,;t t 17431 s/^[^!]*!//
16167 s,@CPP_MM@,$CPP_MM,;t t 17432 :repl
16168 s,@OS_EXTRA_SRC@,$OS_EXTRA_SRC,;t t 17433 t repl
16169 s,@OS_EXTRA_OBJ@,$OS_EXTRA_OBJ,;t t 17434 s/'"$ac_delim"'$//
16170 s,@VIMNAME@,$VIMNAME,;t t 17435 t delim
16171 s,@EXNAME@,$EXNAME,;t t 17436 :nl
16172 s,@VIEWNAME@,$VIEWNAME,;t t 17437 h
16173 s,@line_break@,$line_break,;t t 17438 s/\(.\{148\}\).*/\1/
16174 s,@dovimdiff@,$dovimdiff,;t t 17439 t more1
16175 s,@dogvimdiff@,$dogvimdiff,;t t 17440 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16176 s,@compiledby@,$compiledby,;t t 17441 p
16177 s,@vi_cv_path_mzscheme@,$vi_cv_path_mzscheme,;t t 17442 n
16178 s,@MZSCHEME_SRC@,$MZSCHEME_SRC,;t t 17443 b repl
16179 s,@MZSCHEME_OBJ@,$MZSCHEME_OBJ,;t t 17444 :more1
16180 s,@MZSCHEME_PRO@,$MZSCHEME_PRO,;t t 17445 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16181 s,@MZSCHEME_LIBS@,$MZSCHEME_LIBS,;t t 17446 p
16182 s,@MZSCHEME_CFLAGS@,$MZSCHEME_CFLAGS,;t t 17447 g
16183 s,@vi_cv_path_perl@,$vi_cv_path_perl,;t t 17448 s/.\{148\}//
16184 s,@vi_cv_perllib@,$vi_cv_perllib,;t t 17449 t nl
16185 s,@shrpenv@,$shrpenv,;t t 17450 :delim
16186 s,@PERL_SRC@,$PERL_SRC,;t t 17451 h
16187 s,@PERL_OBJ@,$PERL_OBJ,;t t 17452 s/\(.\{148\}\).*/\1/
16188 s,@PERL_PRO@,$PERL_PRO,;t t 17453 t more2
16189 s,@PERL_CFLAGS@,$PERL_CFLAGS,;t t 17454 s/["\\]/\\&/g; s/^/"/; s/$/"/
16190 s,@PERL_LIBS@,$PERL_LIBS,;t t 17455 p
16191 s,@vi_cv_path_python@,$vi_cv_path_python,;t t 17456 b
16192 s,@PYTHON_CONFDIR@,$PYTHON_CONFDIR,;t t 17457 :more2
16193 s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t 17458 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16194 s,@PYTHON_GETPATH_CFLAGS@,$PYTHON_GETPATH_CFLAGS,;t t 17459 p
16195 s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t 17460 g
16196 s,@PYTHON_SRC@,$PYTHON_SRC,;t t 17461 s/.\{148\}//
16197 s,@PYTHON_OBJ@,$PYTHON_OBJ,;t t 17462 t delim
16198 s,@vi_cv_path_tcl@,$vi_cv_path_tcl,;t t 17463 ' <conf$$subs.awk | sed '
16199 s,@TCL_SRC@,$TCL_SRC,;t t 17464 /^[^""]/{
16200 s,@TCL_OBJ@,$TCL_OBJ,;t t 17465 N
16201 s,@TCL_PRO@,$TCL_PRO,;t t 17466 s/\n//
16202 s,@TCL_CFLAGS@,$TCL_CFLAGS,;t t 17467 }
16203 s,@TCL_LIBS@,$TCL_LIBS,;t t 17468 ' >>$CONFIG_STATUS || ac_write_fail=1
16204 s,@vi_cv_path_ruby@,$vi_cv_path_ruby,;t t 17469 rm -f conf$$subs.awk
16205 s,@RUBY_SRC@,$RUBY_SRC,;t t 17470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16206 s,@RUBY_OBJ@,$RUBY_OBJ,;t t 17471 _ACAWK
16207 s,@RUBY_PRO@,$RUBY_PRO,;t t 17472 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16208 s,@RUBY_CFLAGS@,$RUBY_CFLAGS,;t t 17473 for (key in S) S_is_set[key] = 1
16209 s,@RUBY_LIBS@,$RUBY_LIBS,;t t 17474 FS = ""
16210 s,@WORKSHOP_SRC@,$WORKSHOP_SRC,;t t 17475
16211 s,@WORKSHOP_OBJ@,$WORKSHOP_OBJ,;t t 17476 }
16212 s,@NETBEANS_SRC@,$NETBEANS_SRC,;t t 17477 {
16213 s,@NETBEANS_OBJ@,$NETBEANS_OBJ,;t t 17478 line = $ 0
16214 s,@SNIFF_SRC@,$SNIFF_SRC,;t t 17479 nfields = split(line, field, "@")
16215 s,@SNIFF_OBJ@,$SNIFF_OBJ,;t t 17480 substed = 0
16216 s,@xmkmfpath@,$xmkmfpath,;t t 17481 len = length(field[1])
16217 s,@X_CFLAGS@,$X_CFLAGS,;t t 17482 for (i = 2; i < nfields; i++) {
16218 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 17483 key = field[i]
16219 s,@X_LIBS@,$X_LIBS,;t t 17484 keylen = length(key)
16220 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 17485 if (S_is_set[key]) {
16221 s,@X_LIB@,$X_LIB,;t t 17486 value = S[key]
16222 s,@GTK_CONFIG@,$GTK_CONFIG,;t t 17487 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16223 s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t 17488 len += length(value) + length(field[++i])
16224 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 17489 substed = 1
16225 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t 17490 } else
16226 s,@GTK_LIBS@,$GTK_LIBS,;t t 17491 len += 1 + keylen
16227 s,@GTK_LIBNAME@,$GTK_LIBNAME,;t t 17492 }
16228 s,@GNOME_LIBS@,$GNOME_LIBS,;t t 17493
16229 s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t 17494 print line
16230 s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t 17495 }
16231 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t 17496
16232 s,@MOTIF_LIBNAME@,$MOTIF_LIBNAME,;t t 17497 _ACAWK
16233 s,@NARROW_PROTO@,$NARROW_PROTO,;t t 17498 _ACEOF
16234 s,@GUI_INC_LOC@,$GUI_INC_LOC,;t t 17499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16235 s,@GUI_LIB_LOC@,$GUI_LIB_LOC,;t t 17500 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16236 s,@GUITYPE@,$GUITYPE,;t t 17501 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16237 s,@GUI_X_LIBS@,$GUI_X_LIBS,;t t 17502 else
16238 s,@HANGULIN_SRC@,$HANGULIN_SRC,;t t 17503 cat
16239 s,@HANGULIN_OBJ@,$HANGULIN_OBJ,;t t 17504 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16240 s,@TAGPRG@,$TAGPRG,;t t 17505 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
16241 s,@INSTALL_LANGS@,$INSTALL_LANGS,;t t 17506 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
16242 s,@INSTALL_TOOL_LANGS@,$INSTALL_TOOL_LANGS,;t t 17507 { (exit 1); exit 1; }; }
16243 s,@MSGFMT@,$MSGFMT,;t t 17508 _ACEOF
16244 s,@MAKEMO@,$MAKEMO,;t t 17509
16245 s,@DEPEND_CFLAGS_FILTER@,$DEPEND_CFLAGS_FILTER,;t t 17510 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16246 s,@LIBOBJS@,$LIBOBJS,;t t 17511 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16247 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 17512 # trailing colons and then remove the whole line if VPATH becomes empty
16248 CEOF 17513 # (actually we leave an empty line to preserve line numbers).
16249 17514 if test "x$srcdir" = x.; then
16250 _ACEOF 17515 ac_vpsub='/^[ ]*VPATH[ ]*=/{
16251 17516 s/:*\$(srcdir):*/:/
16252 cat >>$CONFIG_STATUS <<\_ACEOF 17517 s/:*\${srcdir}:*/:/
16253 # Split the substitutions into bite-sized pieces for seds with 17518 s/:*@srcdir@:*/:/
16254 # small command number limits, like on Digital OSF/1 and HP-UX. 17519 s/^\([^=]*=[ ]*\):*/\1/
16255 ac_max_sed_lines=48 17520 s/:*$//
16256 ac_sed_frag=1 # Number of current file. 17521 s/^[^=]*=[ ]*$//
16257 ac_beg=1 # First line for current file. 17522 }'
16258 ac_end=$ac_max_sed_lines # Line after last line for current file. 17523 fi
16259 ac_more_lines=: 17524
16260 ac_sed_cmds= 17525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16261 while $ac_more_lines; do 17526 fi # test -n "$CONFIG_FILES"
16262 if test $ac_beg -gt 1; then 17527
16263 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 17528 # Set up the scripts for CONFIG_HEADERS section.
16264 else 17529 # No need to generate them if there are no CONFIG_HEADERS.
16265 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 17530 # This happens for instance with `./config.status Makefile'.
17531 if test -n "$CONFIG_HEADERS"; then
17532 cat >"$tmp/defines.awk" <<\_ACAWK ||
17533 BEGIN {
17534 _ACEOF
17535
17536 # Transform confdefs.h into an awk script `defines.awk', embedded as
17537 # here-document in config.status, that substitutes the proper values into
17538 # config.h.in to produce config.h.
17539
17540 # Create a delimiter string that does not exist in confdefs.h, to ease
17541 # handling of long lines.
17542 ac_delim='%!_!# '
17543 for ac_last_try in false false :; do
17544 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17545 if test -z "$ac_t"; then
17546 break
17547 elif $ac_last_try; then
17548 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
17549 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
17550 { (exit 1); exit 1; }; }
17551 else
17552 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17553 fi
17554 done
17555
17556 # For the awk script, D is an array of macro values keyed by name,
17557 # likewise P contains macro parameters if any. Preserve backslash
17558 # newline sequences.
17559
17560 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17561 sed -n '
17562 s/.\{148\}/&'"$ac_delim"'/g
17563 t rset
17564 :rset
17565 s/^[ ]*#[ ]*define[ ][ ]*/ /
17566 t def
17567 d
17568 :def
17569 s/\\$//
17570 t bsnl
17571 s/["\\]/\\&/g
17572 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17573 D["\1"]=" \3"/p
17574 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17575 d
17576 :bsnl
17577 s/["\\]/\\&/g
17578 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17579 D["\1"]=" \3\\\\\\n"\\/p
17580 t cont
17581 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17582 t cont
17583 d
17584 :cont
17585 n
17586 s/.\{148\}/&'"$ac_delim"'/g
17587 t clear
17588 :clear
17589 s/\\$//
17590 t bsnlc
17591 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17592 d
17593 :bsnlc
17594 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17595 b cont
17596 ' <confdefs.h | sed '
17597 s/'"$ac_delim"'/"\\\
17598 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17599
17600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17601 for (key in D) D_is_set[key] = 1
17602 FS = ""
17603 }
17604 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17605 line = \$ 0
17606 split(line, arg, " ")
17607 if (arg[1] == "#") {
17608 defundef = arg[2]
17609 mac1 = arg[3]
17610 } else {
17611 defundef = substr(arg[1], 2)
17612 mac1 = arg[2]
17613 }
17614 split(mac1, mac2, "(") #)
17615 macro = mac2[1]
17616 if (D_is_set[macro]) {
17617 # Preserve the white space surrounding the "#".
17618 prefix = substr(line, 1, index(line, defundef) - 1)
17619 print prefix "define", macro P[macro] D[macro]
17620 next
17621 } else {
17622 # Replace #undef with comments. This is necessary, for example,
17623 # in the case of _POSIX_SOURCE, which is predefined and required
17624 # on some systems where configure will not decide to define it.
17625 if (defundef == "undef") {
17626 print "/*", line, "*/"
17627 next
17628 }
17629 }
17630 }
17631 { print }
17632 _ACAWK
17633 _ACEOF
17634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17635 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
17636 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
17637 { (exit 1); exit 1; }; }
17638 fi # test -n "$CONFIG_HEADERS"
17639
17640
17641 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
17642 shift
17643 for ac_tag
17644 do
17645 case $ac_tag in
17646 :[FHLC]) ac_mode=$ac_tag; continue;;
17647 esac
17648 case $ac_mode$ac_tag in
17649 :[FHL]*:*);;
17650 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
17651 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
17652 { (exit 1); exit 1; }; };;
17653 :[FH]-) ac_tag=-:-;;
17654 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17655 esac
17656 ac_save_IFS=$IFS
17657 IFS=:
17658 set x $ac_tag
17659 IFS=$ac_save_IFS
17660 shift
17661 ac_file=$1
17662 shift
17663
17664 case $ac_mode in
17665 :L) ac_source=$1;;
17666 :[FH])
17667 ac_file_inputs=
17668 for ac_f
17669 do
17670 case $ac_f in
17671 -) ac_f="$tmp/stdin";;
17672 *) # Look for the file first in the build tree, then in the source tree
17673 # (if the path is not absolute). The absolute path cannot be DOS-style,
17674 # because $ac_f cannot contain `:'.
17675 test -f "$ac_f" ||
17676 case $ac_f in
17677 [\\/$]*) false;;
17678 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17679 esac ||
17680 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17681 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17682 { (exit 1); exit 1; }; };;
17683 esac
17684 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17685 ac_file_inputs="$ac_file_inputs '$ac_f'"
17686 done
17687
17688 # Let's still pretend it is `configure' which instantiates (i.e., don't
17689 # use $as_me), people would be surprised to read:
17690 # /* config.h. Generated by config.status. */
17691 configure_input='Generated from '`
17692 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17693 `' by configure.'
17694 if test x"$ac_file" != x-; then
17695 configure_input="$ac_file. $configure_input"
17696 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
17697 $as_echo "$as_me: creating $ac_file" >&6;}
16266 fi 17698 fi
16267 if test ! -s $tmp/subs.frag; then 17699 # Neutralize special characters interpreted by sed in replacement strings.
16268 ac_more_lines=false 17700 case $configure_input in #(
16269 else 17701 *\&* | *\|* | *\\* )
16270 # The purpose of the label and of the branching condition is to 17702 ac_sed_conf_input=`$as_echo "$configure_input" |
16271 # speed up the sed processing (if there are no `@' at all, there 17703 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16272 # is no need to browse any of the substitutions). 17704 *) ac_sed_conf_input=$configure_input;;
16273 # These are the two extra sed commands mentioned above. 17705 esac
16274 (echo ':t 17706
16275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 17707 case $ac_tag in
16276 if test -z "$ac_sed_cmds"; then 17708 *:-:* | *:-) cat >"$tmp/stdin" \
16277 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 17709 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16278 else 17710 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16279 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 17711 { (exit 1); exit 1; }; } ;;
16280 fi 17712 esac
16281 ac_sed_frag=`expr $ac_sed_frag + 1` 17713 ;;
16282 ac_beg=$ac_end
16283 ac_end=`expr $ac_end + $ac_max_sed_lines`
16284 fi
16285 done
16286 if test -z "$ac_sed_cmds"; then
16287 ac_sed_cmds=cat
16288 fi
16289 fi # test -n "$CONFIG_FILES"
16290
16291 _ACEOF
16292 cat >>$CONFIG_STATUS <<\_ACEOF
16293 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16294 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16295 case $ac_file in
16296 - | *:- | *:-:* ) # input from stdin
16297 cat >$tmp/stdin
16298 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16299 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16300 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16301 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16302 * ) ac_file_in=$ac_file.in ;;
16303 esac 17714 esac
16304 17715
16305 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 17716 ac_dir=`$as_dirname -- "$ac_file" ||
16306 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16308 X"$ac_file" : 'X\(//\)[^/]' \| \ 17718 X"$ac_file" : 'X\(//\)[^/]' \| \
16309 X"$ac_file" : 'X\(//\)$' \| \ 17719 X"$ac_file" : 'X\(//\)$' \| \
16310 X"$ac_file" : 'X\(/\)' \| \ 17720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16311 . : '\(.\)' 2>/dev/null || 17721 $as_echo X"$ac_file" |
16312 echo X"$ac_file" | 17722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 17723 s//\1/
16314 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 17724 q
16315 /^X\(\/\/\)$/{ s//\1/; q; } 17725 }
16316 /^X\(\/\).*/{ s//\1/; q; } 17726 /^X\(\/\/\)[^/].*/{
16317 s/.*/./; q'` 17727 s//\1/
16318 { if $as_mkdir_p; then 17728 q
16319 mkdir -p "$ac_dir" 17729 }
16320 else 17730 /^X\(\/\/\)$/{
16321 as_dir="$ac_dir" 17731 s//\1/
17732 q
17733 }
17734 /^X\(\/\).*/{
17735 s//\1/
17736 q
17737 }
17738 s/.*/./; q'`
17739 { as_dir="$ac_dir"
17740 case $as_dir in #(
17741 -*) as_dir=./$as_dir;;
17742 esac
17743 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16322 as_dirs= 17744 as_dirs=
16323 while test ! -d "$as_dir"; do 17745 while :; do
16324 as_dirs="$as_dir $as_dirs" 17746 case $as_dir in #(
16325 as_dir=`(dirname "$as_dir") 2>/dev/null || 17747 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17748 *) as_qdir=$as_dir;;
17749 esac
17750 as_dirs="'$as_qdir' $as_dirs"
17751 as_dir=`$as_dirname -- "$as_dir" ||
16326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16327 X"$as_dir" : 'X\(//\)[^/]' \| \ 17753 X"$as_dir" : 'X\(//\)[^/]' \| \
16328 X"$as_dir" : 'X\(//\)$' \| \ 17754 X"$as_dir" : 'X\(//\)$' \| \
16329 X"$as_dir" : 'X\(/\)' \| \ 17755 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16330 . : '\(.\)' 2>/dev/null || 17756 $as_echo X"$as_dir" |
16331 echo X"$as_dir" | 17757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 17758 s//\1/
16333 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 17759 q
16334 /^X\(\/\/\)$/{ s//\1/; q; } 17760 }
16335 /^X\(\/\).*/{ s//\1/; q; } 17761 /^X\(\/\/\)[^/].*/{
16336 s/.*/./; q'` 17762 s//\1/
17763 q
17764 }
17765 /^X\(\/\/\)$/{
17766 s//\1/
17767 q
17768 }
17769 /^X\(\/\).*/{
17770 s//\1/
17771 q
17772 }
17773 s/.*/./; q'`
17774 test -d "$as_dir" && break
16337 done 17775 done
16338 test ! -n "$as_dirs" || mkdir $as_dirs 17776 test -z "$as_dirs" || eval "mkdir $as_dirs"
16339 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 17777 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16340 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 17778 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16341 { (exit 1); exit 1; }; }; } 17779 { (exit 1); exit 1; }; }; }
16342
16343 ac_builddir=. 17780 ac_builddir=.
16344 17781
16345 if test "$ac_dir" != .; then 17782 case "$ac_dir" in
16346 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 17783 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16347 # A "../" for each directory in $ac_dir_suffix. 17784 *)
16348 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 17785 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16349 else 17786 # A ".." for each directory in $ac_dir_suffix.
16350 ac_dir_suffix= ac_top_builddir= 17787 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16351 fi 17788 case $ac_top_builddir_sub in
17789 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17790 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17791 esac ;;
17792 esac
17793 ac_abs_top_builddir=$ac_pwd
17794 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17795 # for backward compatibility:
17796 ac_top_builddir=$ac_top_build_prefix
16352 17797
16353 case $srcdir in 17798 case $srcdir in
16354 .) # No --srcdir option. We are building in place. 17799 .) # We are building in place.
16355 ac_srcdir=. 17800 ac_srcdir=.
16356 if test -z "$ac_top_builddir"; then 17801 ac_top_srcdir=$ac_top_builddir_sub
16357 ac_top_srcdir=. 17802 ac_abs_top_srcdir=$ac_pwd ;;
16358 else 17803 [\\/]* | ?:[\\/]* ) # Absolute name.
16359 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16360 fi ;;
16361 [\\/]* | ?:[\\/]* ) # Absolute path.
16362 ac_srcdir=$srcdir$ac_dir_suffix; 17804 ac_srcdir=$srcdir$ac_dir_suffix;
16363 ac_top_srcdir=$srcdir ;; 17805 ac_top_srcdir=$srcdir
16364 *) # Relative path. 17806 ac_abs_top_srcdir=$srcdir ;;
16365 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 17807 *) # Relative name.
16366 ac_top_srcdir=$ac_top_builddir$srcdir ;; 17808 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16367 esac 17809 ac_top_srcdir=$ac_top_build_prefix$srcdir
16368 17810 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16369 # Do not use `cd foo && pwd` to compute absolute paths, because 17811 esac
16370 # the directories may not exist. 17812 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16371 case `pwd` in 17813
16372 .) ac_abs_builddir="$ac_dir";; 17814
16373 *) 17815 case $ac_mode in
16374 case "$ac_dir" in 17816 :F)
16375 .) ac_abs_builddir=`pwd`;; 17817 #
16376 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 17818 # CONFIG_FILE
16377 *) ac_abs_builddir=`pwd`/"$ac_dir";; 17819 #
16378 esac;; 17820
16379 esac 17821 _ACEOF
16380 case $ac_abs_builddir in 17822
16381 .) ac_abs_top_builddir=${ac_top_builddir}.;; 17823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16382 *) 17824 # If the template does not know about datarootdir, expand it.
16383 case ${ac_top_builddir}. in 17825 # FIXME: This hack should be removed a few years after 2.60.
16384 .) ac_abs_top_builddir=$ac_abs_builddir;; 17826 ac_datarootdir_hack=; ac_datarootdir_seen=
16385 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 17827
16386 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 17828 ac_sed_dataroot='
16387 esac;; 17829 /datarootdir/ {
16388 esac 17830 p
16389 case $ac_abs_builddir in 17831 q
16390 .) ac_abs_srcdir=$ac_srcdir;; 17832 }
16391 *) 17833 /@datadir@/p
16392 case $ac_srcdir in 17834 /@docdir@/p
16393 .) ac_abs_srcdir=$ac_abs_builddir;; 17835 /@infodir@/p
16394 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 17836 /@localedir@/p
16395 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 17837 /@mandir@/p
16396 esac;; 17838 '
16397 esac 17839 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16398 case $ac_abs_builddir in 17840 *datarootdir*) ac_datarootdir_seen=yes;;
16399 .) ac_abs_top_srcdir=$ac_top_srcdir;; 17841 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16400 *) 17842 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16401 case $ac_top_srcdir in 17843 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16402 .) ac_abs_top_srcdir=$ac_abs_builddir;; 17844 _ACEOF
16403 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 17845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16404 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 17846 ac_datarootdir_hack='
16405 esac;; 17847 s&@datadir@&$datadir&g
16406 esac 17848 s&@docdir@&$docdir&g
16407 17849 s&@infodir@&$infodir&g
16408 17850 s&@localedir@&$localedir&g
16409 17851 s&@mandir@&$mandir&g
16410 if test x"$ac_file" != x-; then 17852 s&\\\${datarootdir}&$datarootdir&g' ;;
16411 { echo "$as_me:$LINENO: creating $ac_file" >&5 17853 esac
16412 echo "$as_me: creating $ac_file" >&6;} 17854 _ACEOF
16413 rm -f "$ac_file" 17855
16414 fi 17856 # Neutralize VPATH when `$srcdir' = `.'.
16415 # Let's still pretend it is `configure' which instantiates (i.e., don't 17857 # Shell code in configure.ac might set extrasub.
16416 # use $as_me), people would be surprised to read: 17858 # FIXME: do we really want to maintain this feature?
16417 # /* config.h. Generated by config.status. */ 17859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16418 if test x"$ac_file" = x-; then 17860 ac_sed_extra="$ac_vpsub
16419 configure_input=
16420 else
16421 configure_input="$ac_file. "
16422 fi
16423 configure_input=$configure_input"Generated from `echo $ac_file_in |
16424 sed 's,.*/,,'` by configure."
16425
16426 # First look for the input files in the build tree, otherwise in the
16427 # src tree.
16428 ac_file_inputs=`IFS=:
16429 for f in $ac_file_in; do
16430 case $f in
16431 -) echo $tmp/stdin ;;
16432 [\\/$]*)
16433 # Absolute (can't be DOS-style, as IFS=:)
16434 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16435 echo "$as_me: error: cannot find input file: $f" >&2;}
16436 { (exit 1); exit 1; }; }
16437 echo "$f";;
16438 *) # Relative
16439 if test -f "$f"; then
16440 # Build tree
16441 echo "$f"
16442 elif test -f "$srcdir/$f"; then
16443 # Source tree
16444 echo "$srcdir/$f"
16445 else
16446 # /dev/null tree
16447 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16448 echo "$as_me: error: cannot find input file: $f" >&2;}
16449 { (exit 1); exit 1; }; }
16450 fi;;
16451 esac
16452 done` || { (exit 1); exit 1; }
16453 _ACEOF
16454 cat >>$CONFIG_STATUS <<_ACEOF
16455 sed "$ac_vpsub
16456 $extrasub 17861 $extrasub
16457 _ACEOF 17862 _ACEOF
16458 cat >>$CONFIG_STATUS <<\_ACEOF 17863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16459 :t 17864 :t
16460 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 17865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16461 s,@configure_input@,$configure_input,;t t 17866 s|@configure_input@|$ac_sed_conf_input|;t t
16462 s,@srcdir@,$ac_srcdir,;t t 17867 s&@top_builddir@&$ac_top_builddir_sub&;t t
16463 s,@abs_srcdir@,$ac_abs_srcdir,;t t 17868 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16464 s,@top_srcdir@,$ac_top_srcdir,;t t 17869 s&@srcdir@&$ac_srcdir&;t t
16465 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 17870 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16466 s,@builddir@,$ac_builddir,;t t 17871 s&@top_srcdir@&$ac_top_srcdir&;t t
16467 s,@abs_builddir@,$ac_abs_builddir,;t t 17872 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16468 s,@top_builddir@,$ac_top_builddir,;t t 17873 s&@builddir@&$ac_builddir&;t t
16469 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 17874 s&@abs_builddir@&$ac_abs_builddir&;t t
16470 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 17875 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16471 rm -f $tmp/stdin 17876 $ac_datarootdir_hack
17877 "
17878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17879 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17880 $as_echo "$as_me: error: could not create $ac_file" >&2;}
17881 { (exit 1); exit 1; }; }
17882
17883 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17884 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17885 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17886 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17887 which seems to be undefined. Please make sure it is defined." >&5
17888 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17889 which seems to be undefined. Please make sure it is defined." >&2;}
17890
17891 rm -f "$tmp/stdin"
17892 case $ac_file in
17893 -) cat "$tmp/out" && rm -f "$tmp/out";;
17894 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17895 esac \
17896 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17897 $as_echo "$as_me: error: could not create $ac_file" >&2;}
17898 { (exit 1); exit 1; }; }
17899 ;;
17900 :H)
17901 #
17902 # CONFIG_HEADER
17903 #
16472 if test x"$ac_file" != x-; then 17904 if test x"$ac_file" != x-; then
16473 mv $tmp/out $ac_file 17905 {
16474 else 17906 $as_echo "/* $configure_input */" \
16475 cat $tmp/out 17907 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16476 rm -f $tmp/out 17908 } >"$tmp/config.h" \
16477 fi 17909 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16478 17910 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16479 done
16480 _ACEOF
16481 cat >>$CONFIG_STATUS <<\_ACEOF
16482
16483 #
16484 # CONFIG_HEADER section.
16485 #
16486
16487 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16488 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16489 #
16490 # ac_d sets the value in "#define NAME VALUE" lines.
16491 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16492 ac_dB='[ ].*$,\1#\2'
16493 ac_dC=' '
16494 ac_dD=',;t'
16495 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16496 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16497 ac_uB='$,\1#\2define\3'
16498 ac_uC=' '
16499 ac_uD=',;t'
16500
16501 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16502 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16503 case $ac_file in
16504 - | *:- | *:-:* ) # input from stdin
16505 cat >$tmp/stdin
16506 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16507 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16508 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16509 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16510 * ) ac_file_in=$ac_file.in ;;
16511 esac
16512
16513 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16514 echo "$as_me: creating $ac_file" >&6;}
16515
16516 # First look for the input files in the build tree, otherwise in the
16517 # src tree.
16518 ac_file_inputs=`IFS=:
16519 for f in $ac_file_in; do
16520 case $f in
16521 -) echo $tmp/stdin ;;
16522 [\\/$]*)
16523 # Absolute (can't be DOS-style, as IFS=:)
16524 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16525 echo "$as_me: error: cannot find input file: $f" >&2;}
16526 { (exit 1); exit 1; }; } 17911 { (exit 1); exit 1; }; }
16527 # Do quote $f, to prevent DOS paths from being IFS'd. 17912 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16528 echo "$f";; 17913 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16529 *) # Relative 17914 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16530 if test -f "$f"; then 17915 else
16531 # Build tree 17916 rm -f "$ac_file"
16532 echo "$f" 17917 mv "$tmp/config.h" "$ac_file" \
16533 elif test -f "$srcdir/$f"; then 17918 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16534 # Source tree 17919 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16535 echo "$srcdir/$f"
16536 else
16537 # /dev/null tree
16538 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16539 echo "$as_me: error: cannot find input file: $f" >&2;}
16540 { (exit 1); exit 1; }; } 17920 { (exit 1); exit 1; }; }
16541 fi;;
16542 esac
16543 done` || { (exit 1); exit 1; }
16544 # Remove the trailing spaces.
16545 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16546
16547 _ACEOF
16548
16549 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16550 # `conftest.undefs', that substitutes the proper values into
16551 # config.h.in to produce config.h. The first handles `#define'
16552 # templates, and the second `#undef' templates.
16553 # And first: Protect against being on the right side of a sed subst in
16554 # config.status. Protect against being in an unquoted here document
16555 # in config.status.
16556 rm -f conftest.defines conftest.undefs
16557 # Using a here document instead of a string reduces the quoting nightmare.
16558 # Putting comments in sed scripts is not portable.
16559 #
16560 # `end' is used to avoid that the second main sed command (meant for
16561 # 0-ary CPP macros) applies to n-ary macro definitions.
16562 # See the Autoconf documentation for `clear'.
16563 cat >confdef2sed.sed <<\_ACEOF
16564 s/[\\&,]/\\&/g
16565 s,[\\$`],\\&,g
16566 t clear
16567 : clear
16568 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16569 t end
16570 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16571 : end
16572 _ACEOF
16573 # If some macros were called several times there might be several times
16574 # the same #defines, which is useless. Nevertheless, we may not want to
16575 # sort them, since we want the *last* AC-DEFINE to be honored.
16576 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16577 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16578 rm -f confdef2sed.sed
16579
16580 # This sed command replaces #undef with comments. This is necessary, for
16581 # example, in the case of _POSIX_SOURCE, which is predefined and required
16582 # on some systems where configure will not decide to define it.
16583 cat >>conftest.undefs <<\_ACEOF
16584 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16585 _ACEOF
16586
16587 # Break up conftest.defines because some shells have a limit on the size
16588 # of here documents, and old seds have small limits too (100 cmds).
16589 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16590 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16591 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16592 echo ' :' >>$CONFIG_STATUS
16593 rm -f conftest.tail
16594 while grep . conftest.defines >/dev/null
16595 do
16596 # Write a limited-size here document to $tmp/defines.sed.
16597 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16598 # Speed up: don't consider the non `#define' lines.
16599 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16600 # Work around the forget-to-reset-the-flag bug.
16601 echo 't clr' >>$CONFIG_STATUS
16602 echo ': clr' >>$CONFIG_STATUS
16603 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16604 echo 'CEOF
16605 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16606 rm -f $tmp/in
16607 mv $tmp/out $tmp/in
16608 ' >>$CONFIG_STATUS
16609 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16610 rm -f conftest.defines
16611 mv conftest.tail conftest.defines
16612 done
16613 rm -f conftest.defines
16614 echo ' fi # grep' >>$CONFIG_STATUS
16615 echo >>$CONFIG_STATUS
16616
16617 # Break up conftest.undefs because some shells have a limit on the size
16618 # of here documents, and old seds have small limits too (100 cmds).
16619 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16620 rm -f conftest.tail
16621 while grep . conftest.undefs >/dev/null
16622 do
16623 # Write a limited-size here document to $tmp/undefs.sed.
16624 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16625 # Speed up: don't consider the non `#undef'
16626 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16627 # Work around the forget-to-reset-the-flag bug.
16628 echo 't clr' >>$CONFIG_STATUS
16629 echo ': clr' >>$CONFIG_STATUS
16630 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16631 echo 'CEOF
16632 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16633 rm -f $tmp/in
16634 mv $tmp/out $tmp/in
16635 ' >>$CONFIG_STATUS
16636 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16637 rm -f conftest.undefs
16638 mv conftest.tail conftest.undefs
16639 done
16640 rm -f conftest.undefs
16641
16642 cat >>$CONFIG_STATUS <<\_ACEOF
16643 # Let's still pretend it is `configure' which instantiates (i.e., don't
16644 # use $as_me), people would be surprised to read:
16645 # /* config.h. Generated by config.status. */
16646 if test x"$ac_file" = x-; then
16647 echo "/* Generated by configure. */" >$tmp/config.h
16648 else
16649 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16650 fi
16651 cat $tmp/in >>$tmp/config.h
16652 rm -f $tmp/in
16653 if test x"$ac_file" != x-; then
16654 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16655 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16656 echo "$as_me: $ac_file is unchanged" >&6;}
16657 else
16658 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16659 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16660 X"$ac_file" : 'X\(//\)[^/]' \| \
16661 X"$ac_file" : 'X\(//\)$' \| \
16662 X"$ac_file" : 'X\(/\)' \| \
16663 . : '\(.\)' 2>/dev/null ||
16664 echo X"$ac_file" |
16665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16667 /^X\(\/\/\)$/{ s//\1/; q; }
16668 /^X\(\/\).*/{ s//\1/; q; }
16669 s/.*/./; q'`
16670 { if $as_mkdir_p; then
16671 mkdir -p "$ac_dir"
16672 else
16673 as_dir="$ac_dir"
16674 as_dirs=
16675 while test ! -d "$as_dir"; do
16676 as_dirs="$as_dir $as_dirs"
16677 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16679 X"$as_dir" : 'X\(//\)[^/]' \| \
16680 X"$as_dir" : 'X\(//\)$' \| \
16681 X"$as_dir" : 'X\(/\)' \| \
16682 . : '\(.\)' 2>/dev/null ||
16683 echo X"$as_dir" |
16684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16685 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16686 /^X\(\/\/\)$/{ s//\1/; q; }
16687 /^X\(\/\).*/{ s//\1/; q; }
16688 s/.*/./; q'`
16689 done
16690 test ! -n "$as_dirs" || mkdir $as_dirs
16691 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16692 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16693 { (exit 1); exit 1; }; }; }
16694
16695 rm -f $ac_file
16696 mv $tmp/config.h $ac_file
16697 fi 17921 fi
16698 else 17922 else
16699 cat $tmp/config.h 17923 $as_echo "/* $configure_input */" \
16700 rm -f $tmp/config.h 17924 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17925 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
17926 $as_echo "$as_me: error: could not create -" >&2;}
17927 { (exit 1); exit 1; }; }
16701 fi 17928 fi
16702 done 17929 ;;
16703 _ACEOF 17930
16704 17931
16705 cat >>$CONFIG_STATUS <<\_ACEOF 17932 esac
17933
17934 done # for ac_tag
17935
16706 17936
16707 { (exit 0); exit 0; } 17937 { (exit 0); exit 0; }
16708 _ACEOF 17938 _ACEOF
16709 chmod +x $CONFIG_STATUS 17939 chmod +x $CONFIG_STATUS
16710 ac_clean_files=$ac_clean_files_save 17940 ac_clean_files=$ac_clean_files_save
17941
17942 test $ac_write_fail = 0 ||
17943 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17944 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17945 { (exit 1); exit 1; }; }
16711 17946
16712 17947
16713 # configure is writing to config.log, and then calls config.status. 17948 # configure is writing to config.log, and then calls config.status.
16714 # config.status does its own redirection, appending to config.log. 17949 # config.status does its own redirection, appending to config.log.
16715 # Unfortunately, on DOS this fails, as config.log is still kept open 17950 # Unfortunately, on DOS this fails, as config.log is still kept open
16728 exec 5>>auto/config.log 17963 exec 5>>auto/config.log
16729 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17964 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16730 # would make configure fail if this is the last instruction. 17965 # would make configure fail if this is the last instruction.
16731 $ac_cs_success || { (exit 1); exit 1; } 17966 $ac_cs_success || { (exit 1); exit 1; }
16732 fi 17967 fi
16733 17968 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16734 17969 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
17970 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
17971 fi
17972
17973