comparison configure @ 1:af25f5c39d90 0.2.21-4

added diff from debian (masqmail-0.2.21-4)
author meillo@marmaro.de
date Fri, 26 Sep 2008 20:56:23 +0200
parents 08114f7dcc23
children 8c55886cacd8
comparison
equal deleted inserted replaced
0:08114f7dcc23 1:af25f5c39d90
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 for masqmail 0.2.21. 3 # Generated by GNU Autoconf 2.61 for masqmail 0.2.21.
4 # 4 #
5 # Report bugs to <oku@debian.org>. 5 # Report bugs to <oku@debian.org>.
6 # 6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc. 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation 9 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it. 10 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ## 11 ## --------------------- ##
11 ## M4sh Initialization. ## 12 ## M4sh Initialization. ##
12 ## --------------------- ## 13 ## --------------------- ##
13 14
14 # Be Bourne compatible 15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh 18 emulate sh
17 NULLCMD=: 19 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature. 21 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"' 22 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23 setopt NO_GLOB_SUBST
22 set -o posix 24 else
23 fi 25 case `(set -o) 2>/dev/null` in
24 DUALCASE=1; export DUALCASE # for MKS sh 26 *posix*) set -o posix ;;
25 27 esac
26 # Support unset when possible. 28
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 29 fi
28 as_unset=unset 30
29 else 31
30 as_unset=false 32
31 fi 33
32 34 # PATH needs CR
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges. 35 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789' 39 as_cr_digits='0123456789'
96 PATH_SEPARATOR=: 50 PATH_SEPARATOR=:
97 fi 51 fi
98 rm -f conf$$.sh 52 rm -f conf$$.sh
99 fi 53 fi
100 54
101 55 # Support unset when possible.
102 as_lineno_1=$LINENO 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
103 as_lineno_2=$LINENO 57 as_unset=unset
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 58 else
105 test "x$as_lineno_1" != "x$as_lineno_2" && 59 as_unset=false
106 test "x$as_lineno_3" = "x$as_lineno_2" || { 60 fi
107 # Find who we are. Look in the path if we contain no path at all 61
108 # relative or not. 62
109 case $0 in 63 # IFS
110 *[\\/]* ) as_myself=$0 ;; 64 # We need space, tab and new line, in precisely that order. Quoting is
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH 76 for as_dir in $PATH
113 do 77 do
114 IFS=$as_save_IFS 78 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=. 79 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done 81 done
118 82 IFS=$as_save_IFS
119 ;; 83
120 esac 84 ;;
121 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 esac
122 # in which case we are not to be found in the path. 86 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 if test "x$as_myself" = x; then 87 # in which case we are not to be found in the path.
124 as_myself=$0 88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 fi 114 fi
126 if test ! -f "$as_myself"; then 115 done
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 116
128 { (exit 1); exit 1; }; } 117 # Required to use basename.
129 fi 118 if expr a : '\(a\)' >/dev/null 2>&1 &&
130 case $CONFIG_SHELL in 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
131 '') 120 as_expr=expr
121 else
122 as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do 225 do
135 IFS=$as_save_IFS 226 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=. 227 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do 228 case $as_dir in
138 case $as_dir in
139 /*) 229 /*)
140 if ("$as_dir/$as_base" -c ' 230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
141 as_lineno_1=$LINENO 330 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO 331 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" && 332 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 334
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 335 _ASEOF
148 CONFIG_SHELL=$as_dir/$as_base 336 }; then
149 export CONFIG_SHELL 337 break
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 338 fi
151 fi;; 339
152 esac 340 fi
153 done 341
154 done 342 done
155 ;; 343
156 esac 344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157 429
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a 431 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real 432 # line-number line after each line using $LINENO; the second 'sed'
161 # work. The second script uses 'N' to pair each line-number line 433 # does the real work. The second script uses 'N' to pair each
162 # with the numbered line, and appends trailing '-' during 434 # line-number line with the line containing $LINENO, and appends
163 # substitution so that $LINENO is not a special case at line end. 435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 438 # scripts with optimization help from Paolo Bonzini. Blame Lee
166 sed '=' <$as_myself | 439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
167 sed ' 444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
168 N 449 N
169 s,$,-, 450 :loop
170 : loop 451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop 452 t loop
173 s,-$,, 453 s/-\n.*//
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno && 454 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno || 455 chmod +x "$as_me.lineno" ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; } 457 { (exit 1); exit 1; }; }
179 458
180 # Don't try to exec as it changes $[0], causing all sort of problems 459 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the 460 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this). 461 # original and so on. Autoconf is especially sensitive to this).
183 . ./$as_me.lineno 462 . "./$as_me.lineno"
184 # Exit status is that of the last command. 463 # Exit status is that of the last command.
185 exit 464 exit
186 } 465 }
187 466
188 467
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
190 *c*,-n*) ECHO_N= ECHO_C=' 469 as_dirname=dirname
191 ' ECHO_T=' ' ;; 470 else
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 471 as_dirname=false
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
194 esac 483 esac
195 484
196 if expr a : '\(a\)' >/dev/null 2>&1; then 485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
197 as_expr=expr 487 as_expr=expr
198 else 488 else
199 as_expr=false 489 as_expr=false
200 fi 490 fi
201 491
202 rm -f conf$$ conf$$.exe conf$$.file 492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
203 echo >conf$$.file 499 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then 500 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic 501 as_ln_s='ln -s'
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 502 # ... but there are two gotchas:
207 if test -f conf$$.exe; then 503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
208 # Don't use ln at all; we don't have any links 504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209 as_ln_s='cp -p' 507 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then 508 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln 509 as_ln_s=ln
215 else 510 else
216 as_ln_s='cp -p' 511 as_ln_s='cp -p'
217 fi 512 fi
218 rm -f conf$$ conf$$.exe conf$$.file 513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
219 515
220 if mkdir -p . 2>/dev/null; then 516 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=: 517 as_mkdir_p=:
222 else 518 else
223 test -d ./-p && rmdir ./-p 519 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false 520 as_mkdir_p=false
225 fi 521 fi
226 522
227 as_executable_p="test -f" 523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543 fi
544 as_executable_p=$as_test_x
228 545
229 # Sed expression to map a string onto a valid CPP name. 546 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 548
232 # Sed expression to map a string onto a valid variable name. 549 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 551
235 552
236 # IFS 553
237 # We need space, tab and new line, in precisely that order. 554 exec 7<&0 </dev/null 6>&1
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245 555
246 # Name of the host. 556 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too. 558 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 560
251 exec 6>&1
252
253 # 561 #
254 # Initializations. 562 # Initializations.
255 # 563 #
256 ac_default_prefix=/usr/local 564 ac_default_prefix=/usr/local
565 ac_clean_files=
257 ac_config_libobj_dir=. 566 ac_config_libobj_dir=.
567 LIBOBJS=
258 cross_compiling=no 568 cross_compiling=no
259 subdirs= 569 subdirs=
260 MFLAGS= 570 MFLAGS=
261 MAKEFLAGS= 571 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh} 572 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268 573
269 # Identity of this package. 574 # Identity of this package.
270 PACKAGE_NAME='masqmail' 575 PACKAGE_NAME='masqmail'
271 PACKAGE_TARNAME='masqmail' 576 PACKAGE_TARNAME='masqmail'
272 PACKAGE_VERSION='0.2.21' 577 PACKAGE_VERSION='0.2.21'
276 ac_unique_file="src/masqmail.c" 581 ac_unique_file="src/masqmail.c"
277 ac_default_prefix=/usr 582 ac_default_prefix=/usr
278 # Factoring default headers for most tests. 583 # Factoring default headers for most tests.
279 ac_includes_default="\ 584 ac_includes_default="\
280 #include <stdio.h> 585 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H 586 #ifdef HAVE_SYS_TYPES_H
282 # include <sys/types.h> 587 # include <sys/types.h>
283 #endif 588 #endif
284 #if HAVE_SYS_STAT_H 589 #ifdef HAVE_SYS_STAT_H
285 # include <sys/stat.h> 590 # include <sys/stat.h>
286 #endif 591 #endif
287 #if STDC_HEADERS 592 #ifdef STDC_HEADERS
288 # include <stdlib.h> 593 # include <stdlib.h>
289 # include <stddef.h> 594 # include <stddef.h>
290 #else 595 #else
291 # if HAVE_STDLIB_H 596 # ifdef HAVE_STDLIB_H
292 # include <stdlib.h> 597 # include <stdlib.h>
293 # endif 598 # endif
294 #endif 599 #endif
295 #if HAVE_STRING_H 600 #ifdef HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H 601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
297 # include <memory.h> 602 # include <memory.h>
298 # endif 603 # endif
299 # include <string.h> 604 # include <string.h>
300 #endif 605 #endif
301 #if HAVE_STRINGS_H 606 #ifdef HAVE_STRINGS_H
302 # include <strings.h> 607 # include <strings.h>
303 #endif 608 #endif
304 #if HAVE_INTTYPES_H 609 #ifdef HAVE_INTTYPES_H
305 # include <inttypes.h> 610 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif 611 #endif
311 #if HAVE_UNISTD_H 612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
312 # include <unistd.h> 616 # include <unistd.h>
313 #endif" 617 #endif"
314 618
315 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB PKG_CONFIG ac_pt_PKG_CONFIG GLIB_CFLAGS GLIB_LIBS RESOLV_LIBS with_user with_group BASE64_LIBS MD5_LIBS has_ident IDENT_LIBS LOCKFILE_LIBS USE_LIBLOCKFILE with_logdir with_spooldir with_confdir LIBOBJS LTLIBOBJS' 619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 INSTALL_PROGRAM
657 INSTALL_SCRIPT
658 INSTALL_DATA
659 CYGPATH_W
660 PACKAGE
661 VERSION
662 ACLOCAL
663 AUTOCONF
664 AUTOMAKE
665 AUTOHEADER
666 MAKEINFO
667 AMTAR
668 install_sh
669 STRIP
670 INSTALL_STRIP_PROGRAM
671 AWK
672 SET_MAKE
673 am__leading_dot
674 CC
675 CFLAGS
676 LDFLAGS
677 CPPFLAGS
678 ac_ct_CC
679 EXEEXT
680 OBJEXT
681 DEPDIR
682 am__include
683 am__quote
684 AMDEP_TRUE
685 AMDEP_FALSE
686 AMDEPBACKSLASH
687 CCDEPMODE
688 am__fastdepCC_TRUE
689 am__fastdepCC_FALSE
690 CPP
691 GREP
692 EGREP
693 RANLIB
694 PKG_CONFIG
695 GLIB_CFLAGS
696 GLIB_LIBS
697 RESOLV_LIBS
698 with_user
699 with_group
700 BASE64_LIBS
701 MD5_LIBS
702 has_ident
703 IDENT_LIBS
704 LOCKFILE_LIBS
705 USE_LIBLOCKFILE
706 with_logdir
707 with_spooldir
708 with_confdir
709 LIBOBJS
710 LTLIBOBJS'
316 ac_subst_files='' 711 ac_subst_files=''
712 ac_precious_vars='build_alias
713 host_alias
714 target_alias
715 CC
716 CFLAGS
717 LDFLAGS
718 LIBS
719 CPPFLAGS
720 CPP
721 PKG_CONFIG
722 GLIB_CFLAGS
723 GLIB_LIBS'
724
317 725
318 # Initialize some variables set by options. 726 # Initialize some variables set by options.
319 ac_init_help= 727 ac_init_help=
320 ac_init_version=false 728 ac_init_version=false
321 # The variables have the same names as the options, with 729 # The variables have the same names as the options, with
338 # Installation directory options. 746 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo" 747 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix 748 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change. 749 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them. 750 # Use braces instead of parens because sh, perl, etc. also accept them.
751 # (The list follows the same order as the GNU Coding Standards.)
343 bindir='${exec_prefix}/bin' 752 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin' 753 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec' 754 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share' 755 datarootdir='${prefix}/share'
756 datadir='${datarootdir}'
347 sysconfdir='${prefix}/etc' 757 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com' 758 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var' 759 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include' 760 includedir='${prefix}/include'
352 oldincludedir='/usr/include' 761 oldincludedir='/usr/include'
353 infodir='${prefix}/info' 762 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
354 mandir='${prefix}/man' 763 infodir='${datarootdir}/info'
764 htmldir='${docdir}'
765 dvidir='${docdir}'
766 pdfdir='${docdir}'
767 psdir='${docdir}'
768 libdir='${exec_prefix}/lib'
769 localedir='${datarootdir}/locale'
770 mandir='${datarootdir}/man'
355 771
356 ac_prev= 772 ac_prev=
773 ac_dashdash=
357 for ac_option 774 for ac_option
358 do 775 do
359 # If the previous option needs an argument, assign it. 776 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then 777 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option" 778 eval $ac_prev=\$ac_option
362 ac_prev= 779 ac_prev=
363 continue 780 continue
364 fi 781 fi
365 782
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 783 case $ac_option in
784 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
785 *) ac_optarg=yes ;;
786 esac
367 787
368 # Accept the important Cygnus configure options, so we can diagnose typos. 788 # Accept the important Cygnus configure options, so we can diagnose typos.
369 789
370 case $ac_option in 790 case $ac_dashdash$ac_option in
791 --)
792 ac_dashdash=yes ;;
371 793
372 -bindir | --bindir | --bindi | --bind | --bin | --bi) 794 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;; 795 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 796 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;; 797 bindir=$ac_optarg ;;
387 cache_file=$ac_optarg ;; 809 cache_file=$ac_optarg ;;
388 810
389 --config-cache | -C) 811 --config-cache | -C)
390 cache_file=config.cache ;; 812 cache_file=config.cache ;;
391 813
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 814 -datadir | --datadir | --datadi | --datad)
393 ac_prev=datadir ;; 815 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 816 -datadir=* | --datadir=* | --datadi=* | --datad=*)
395 | --da=*)
396 datadir=$ac_optarg ;; 817 datadir=$ac_optarg ;;
818
819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
820 | --dataroo | --dataro | --datar)
821 ac_prev=datarootdir ;;
822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
824 datarootdir=$ac_optarg ;;
397 825
398 -disable-* | --disable-*) 826 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 827 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names. 828 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; } 831 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
405 eval "enable_$ac_feature=no" ;; 833 eval enable_$ac_feature=no ;;
834
835 -docdir | --docdir | --docdi | --doc | --do)
836 ac_prev=docdir ;;
837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
838 docdir=$ac_optarg ;;
839
840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
841 ac_prev=dvidir ;;
842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
843 dvidir=$ac_optarg ;;
406 844
407 -enable-* | --enable-*) 845 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 846 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names. 847 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; } 850 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
414 case $ac_option in 852 eval enable_$ac_feature=\$ac_optarg ;;
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419 853
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 855 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex) 856 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;; 857 ac_prev=exec_prefix ;;
440 -host | --host | --hos | --ho) 874 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;; 875 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*) 876 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;; 877 host_alias=$ac_optarg ;;
444 878
879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
880 ac_prev=htmldir ;;
881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
882 | --ht=*)
883 htmldir=$ac_optarg ;;
884
445 -includedir | --includedir | --includedi | --included | --include \ 885 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc) 886 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;; 887 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 888 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*) 889 | --includ=* | --inclu=* | --incl=* | --inc=*)
464 ac_prev=libexecdir ;; 904 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 905 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*) 906 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;; 907 libexecdir=$ac_optarg ;;
468 908
909 -localedir | --localedir | --localedi | --localed | --locale)
910 ac_prev=localedir ;;
911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
912 localedir=$ac_optarg ;;
913
469 -localstatedir | --localstatedir | --localstatedi | --localstated \ 914 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \ 915 | --localstate | --localstat | --localsta | --localst | --locals)
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;; 916 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;; 919 localstatedir=$ac_optarg ;;
477 920
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 921 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;; 922 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 923 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
535 | --program-transfo=* | --program-transf=* \ 978 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \ 979 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*) 980 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;; 981 program_transform_name=$ac_optarg ;;
539 982
983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984 ac_prev=pdfdir ;;
985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
986 pdfdir=$ac_optarg ;;
987
988 -psdir | --psdir | --psdi | --psd | --ps)
989 ac_prev=psdir ;;
990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
991 psdir=$ac_optarg ;;
992
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil) 994 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;; 995 silent=yes ;;
543 996
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 997 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
587 ac_init_version=: ;; 1040 ac_init_version=: ;;
588 1041
589 -with-* | --with-*) 1042 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1043 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names. 1044 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2 1046 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; } 1047 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'` 1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
596 case $ac_option in 1049 eval with_$ac_package=\$ac_optarg ;;
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601 1050
602 -without-* | --without-*) 1051 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1052 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names. 1053 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2 1055 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; } 1056 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'` 1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
609 eval "with_$ac_package=no" ;; 1058 eval with_$ac_package=no ;;
610 1059
611 --x) 1060 --x)
612 # Obsolete; use --with-x. 1061 # Obsolete; use --with-x.
613 with_x=yes ;; 1062 with_x=yes ;;
614 1063
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1084 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names. 1085 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1086 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; } 1088 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 1089 eval $ac_envvar=\$ac_optarg
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;; 1090 export $ac_envvar ;;
643 1091
644 *) 1092 *)
645 # FIXME: should be removed in autoconf 3.0. 1093 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1094 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2 1105 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; } 1106 { (exit 1); exit 1; }; }
659 fi 1107 fi
660 1108
661 # Be sure to have absolute paths. 1109 # Be sure to have absolute directory names.
662 for ac_var in exec_prefix prefix 1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1111 datadir sysconfdir sharedstatedir localstatedir includedir \
1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1113 libdir localedir mandir
663 do 1114 do
664 eval ac_val=$`echo $ac_var` 1115 eval ac_val=\$$ac_var
665 case $ac_val in 1116 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 1117 [\\/$]* | ?:[\\/]* ) continue;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
668 { (exit 1); exit 1; }; };;
669 esac 1119 esac
670 done 1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
671 1121 { (exit 1); exit 1; }; }
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done 1122 done
683 1123
684 # There might be people who depend on the old broken behavior: `$host' 1124 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc. 1125 # used to hold the argument of --host etc.
686 # FIXME: To remove some day. 1126 # FIXME: To remove some day.
703 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 1144
705 test "$silent" = yes && exec 6>/dev/null 1145 test "$silent" = yes && exec 6>/dev/null
706 1146
707 1147
1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 { echo "$as_me: error: Working directory cannot be determined" >&2
1152 { (exit 1); exit 1; }; }
1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1154 { echo "$as_me: error: pwd does not report name of working directory" >&2
1155 { (exit 1); exit 1; }; }
1156
1157
708 # Find the source files, if location was not specified. 1158 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then 1159 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes 1160 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent. 1161 # Try the directory containing this script, then the parent directory.
712 ac_confdir=`(dirname "$0") 2>/dev/null || 1162 ac_confdir=`$as_dirname -- "$0" ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1163 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \ 1164 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \ 1165 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \ 1166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" | 1167 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1169 s//\1/
721 /^X\(\/\/\)$/{ s//\1/; q; } 1170 q
722 /^X\(\/\).*/{ s//\1/; q; } 1171 }
723 s/.*/./; q'` 1172 /^X\(\/\/\)[^/].*/{
1173 s//\1/
1174 q
1175 }
1176 /^X\(\/\/\)$/{
1177 s//\1/
1178 q
1179 }
1180 /^X\(\/\).*/{
1181 s//\1/
1182 q
1183 }
1184 s/.*/./; q'`
724 srcdir=$ac_confdir 1185 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then 1186 if test ! -r "$srcdir/$ac_unique_file"; then
726 srcdir=.. 1187 srcdir=..
727 fi 1188 fi
728 else 1189 else
729 ac_srcdir_defaulted=no 1190 ac_srcdir_defaulted=no
730 fi 1191 fi
731 if test ! -r $srcdir/$ac_unique_file; then 1192 if test ! -r "$srcdir/$ac_unique_file"; then
732 if test "$ac_srcdir_defaulted" = yes; then 1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; } 1195 { (exit 1); exit 1; }; }
735 else 1196 fi
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1198 ac_abs_confdir=`(
1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
737 { (exit 1); exit 1; }; } 1200 { (exit 1); exit 1; }; }
738 fi 1201 pwd)`
739 fi 1202 # When building in place, set srcdir=.
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 1203 if test "$ac_abs_confdir" = "$ac_pwd"; then
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 1204 srcdir=.
742 { (exit 1); exit 1; }; } 1205 fi
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 1206 # Remove unnecessary trailing slashes from srcdir.
744 ac_env_build_alias_set=${build_alias+set} 1207 # Double slashes in file names in object file debugging info
745 ac_env_build_alias_value=$build_alias 1208 # mess up M-x gdb in Emacs.
746 ac_cv_env_build_alias_set=${build_alias+set} 1209 case $srcdir in
747 ac_cv_env_build_alias_value=$build_alias 1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
748 ac_env_host_alias_set=${host_alias+set} 1211 esac
749 ac_env_host_alias_value=$host_alias 1212 for ac_var in $ac_precious_vars; do
750 ac_cv_env_host_alias_set=${host_alias+set} 1213 eval ac_env_${ac_var}_set=\${${ac_var}+set}
751 ac_cv_env_host_alias_value=$host_alias 1214 eval ac_env_${ac_var}_value=\$${ac_var}
752 ac_env_target_alias_set=${target_alias+set} 1215 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
753 ac_env_target_alias_value=$target_alias 1216 eval ac_cv_env_${ac_var}_value=\$${ac_var}
754 ac_cv_env_target_alias_set=${target_alias+set} 1217 done
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
777 ac_env_PKG_CONFIG_value=$PKG_CONFIG
778 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
779 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
780 ac_env_GLIB_CFLAGS_set=${GLIB_CFLAGS+set}
781 ac_env_GLIB_CFLAGS_value=$GLIB_CFLAGS
782 ac_cv_env_GLIB_CFLAGS_set=${GLIB_CFLAGS+set}
783 ac_cv_env_GLIB_CFLAGS_value=$GLIB_CFLAGS
784 ac_env_GLIB_LIBS_set=${GLIB_LIBS+set}
785 ac_env_GLIB_LIBS_value=$GLIB_LIBS
786 ac_cv_env_GLIB_LIBS_set=${GLIB_LIBS+set}
787 ac_cv_env_GLIB_LIBS_value=$GLIB_LIBS
788 1218
789 # 1219 #
790 # Report the --help message. 1220 # Report the --help message.
791 # 1221 #
792 if test "$ac_init_help" = "long"; then 1222 if test "$ac_init_help" = "long"; then
811 --cache-file=FILE cache test results in FILE [disabled] 1241 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache' 1242 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files 1243 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1244 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815 1245
816 _ACEOF
817
818 cat <<_ACEOF
819 Installation directories: 1246 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX 1247 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix] 1248 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1249 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX] 1250 [PREFIX]
831 1258
832 Fine tuning of the installation directories: 1259 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin] 1260 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin] 1261 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec] 1262 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1265 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib] 1266 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include] 1267 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1268 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info] 1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
844 --mandir=DIR man documentation [PREFIX/man] 1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1271 --infodir=DIR info documentation [DATAROOTDIR/info]
1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1273 --mandir=DIR man documentation [DATAROOTDIR/man]
1274 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail]
1275 --htmldir=DIR html documentation [DOCDIR]
1276 --dvidir=DIR dvi documentation [DOCDIR]
1277 --pdfdir=DIR pdf documentation [DOCDIR]
1278 --psdir=DIR ps documentation [DOCDIR]
845 _ACEOF 1279 _ACEOF
846 1280
847 cat <<\_ACEOF 1281 cat <<\_ACEOF
848 1282
849 Program names: 1283 Program names:
888 Some influential environment variables: 1322 Some influential environment variables:
889 CC C compiler command 1323 CC C compiler command
890 CFLAGS C compiler flags 1324 CFLAGS C compiler flags
891 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1325 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
892 nonstandard directory <lib dir> 1326 nonstandard directory <lib dir>
893 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 1327 LIBS libraries to pass to the linker, e.g. -l<library>
894 headers in a nonstandard directory <include dir> 1328 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1329 you have headers in a nonstandard directory <include dir>
895 CPP C preprocessor 1330 CPP C preprocessor
896 PKG_CONFIG path to pkg-config utility 1331 PKG_CONFIG path to pkg-config utility
897 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1332 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
898 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1333 GLIB_LIBS linker flags for GLIB, overriding pkg-config
899 1334
900 Use these variables to override the choices made by `configure' or to help 1335 Use these variables to override the choices made by `configure' or to help
901 it to find libraries and programs with nonstandard names/locations. 1336 it to find libraries and programs with nonstandard names/locations.
902 1337
903 Report bugs to <oku@debian.org>. 1338 Report bugs to <oku@debian.org>.
904 _ACEOF 1339 _ACEOF
1340 ac_status=$?
905 fi 1341 fi
906 1342
907 if test "$ac_init_help" = "recursive"; then 1343 if test "$ac_init_help" = "recursive"; then
908 # If there are subdirs, report their specific --help. 1344 # If there are subdirs, report their specific --help.
909 ac_popdir=`pwd`
910 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1345 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
911 test -d $ac_dir || continue 1346 test -d "$ac_dir" || continue
912 ac_builddir=. 1347 ac_builddir=.
913 1348
914 if test "$ac_dir" != .; then 1349 case "$ac_dir" in
1350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 *)
915 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
916 # A "../" for each directory in $ac_dir_suffix. 1353 # A ".." for each directory in $ac_dir_suffix.
917 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1354 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
918 else 1355 case $ac_top_builddir_sub in
919 ac_dir_suffix= ac_top_builddir= 1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
920 fi 1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358 esac ;;
1359 esac
1360 ac_abs_top_builddir=$ac_pwd
1361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1362 # for backward compatibility:
1363 ac_top_builddir=$ac_top_build_prefix
921 1364
922 case $srcdir in 1365 case $srcdir in
923 .) # No --srcdir option. We are building in place. 1366 .) # We are building in place.
924 ac_srcdir=. 1367 ac_srcdir=.
925 if test -z "$ac_top_builddir"; then 1368 ac_top_srcdir=$ac_top_builddir_sub
926 ac_top_srcdir=. 1369 ac_abs_top_srcdir=$ac_pwd ;;
927 else 1370 [\\/]* | ?:[\\/]* ) # Absolute name.
928 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
929 fi ;;
930 [\\/]* | ?:[\\/]* ) # Absolute path.
931 ac_srcdir=$srcdir$ac_dir_suffix; 1371 ac_srcdir=$srcdir$ac_dir_suffix;
932 ac_top_srcdir=$srcdir ;; 1372 ac_top_srcdir=$srcdir
933 *) # Relative path. 1373 ac_abs_top_srcdir=$srcdir ;;
934 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1374 *) # Relative name.
935 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376 ac_top_srcdir=$ac_top_build_prefix$srcdir
1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
936 esac 1378 esac
937 1379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
938 # Do not use `cd foo && pwd` to compute absolute paths, because 1380
939 # the directories may not exist. 1381 cd "$ac_dir" || { ac_status=$?; continue; }
940 case `pwd` in 1382 # Check for guested configure.
941 .) ac_abs_builddir="$ac_dir";; 1383 if test -f "$ac_srcdir/configure.gnu"; then
942 *) 1384 echo &&
943 case "$ac_dir" in 1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
944 .) ac_abs_builddir=`pwd`;; 1386 elif test -f "$ac_srcdir/configure"; then
945 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1387 echo &&
946 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1388 $SHELL "$ac_srcdir/configure" --help=recursive
947 esac;;
948 esac
949 case $ac_abs_builddir in
950 .) ac_abs_top_builddir=${ac_top_builddir}.;;
951 *)
952 case ${ac_top_builddir}. in
953 .) ac_abs_top_builddir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
955 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
956 esac;;
957 esac
958 case $ac_abs_builddir in
959 .) ac_abs_srcdir=$ac_srcdir;;
960 *)
961 case $ac_srcdir in
962 .) ac_abs_srcdir=$ac_abs_builddir;;
963 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
964 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
965 esac;;
966 esac
967 case $ac_abs_builddir in
968 .) ac_abs_top_srcdir=$ac_top_srcdir;;
969 *)
970 case $ac_top_srcdir in
971 .) ac_abs_top_srcdir=$ac_abs_builddir;;
972 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
973 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
974 esac;;
975 esac
976
977 cd $ac_dir
978 # Check for guested configure; otherwise get Cygnus style configure.
979 if test -f $ac_srcdir/configure.gnu; then
980 echo
981 $SHELL $ac_srcdir/configure.gnu --help=recursive
982 elif test -f $ac_srcdir/configure; then
983 echo
984 $SHELL $ac_srcdir/configure --help=recursive
985 elif test -f $ac_srcdir/configure.ac ||
986 test -f $ac_srcdir/configure.in; then
987 echo
988 $ac_configure --help
989 else 1389 else
990 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1390 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
991 fi 1391 fi || ac_status=$?
992 cd "$ac_popdir" 1392 cd "$ac_pwd" || { ac_status=$?; break; }
993 done 1393 done
994 fi 1394 fi
995 1395
996 test -n "$ac_init_help" && exit 0 1396 test -n "$ac_init_help" && exit $ac_status
997 if $ac_init_version; then 1397 if $ac_init_version; then
998 cat <<\_ACEOF 1398 cat <<\_ACEOF
999 masqmail configure 0.2.21 1399 masqmail configure 0.2.21
1000 generated by GNU Autoconf 2.59 1400 generated by GNU Autoconf 2.61
1001 1401
1002 Copyright (C) 2003 Free Software Foundation, Inc. 1402 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1403 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1003 This configure script is free software; the Free Software Foundation 1404 This configure script is free software; the Free Software Foundation
1004 gives unlimited permission to copy, distribute and modify it. 1405 gives unlimited permission to copy, distribute and modify it.
1005 _ACEOF 1406 _ACEOF
1006 exit 0 1407 exit
1007 fi 1408 fi
1008 exec 5>config.log 1409 cat >config.log <<_ACEOF
1009 cat >&5 <<_ACEOF
1010 This file contains any messages produced by compilers while 1410 This file contains any messages produced by compilers while
1011 running configure, to aid debugging if configure makes a mistake. 1411 running configure, to aid debugging if configure makes a mistake.
1012 1412
1013 It was created by masqmail $as_me 0.2.21, which was 1413 It was created by masqmail $as_me 0.2.21, which was
1014 generated by GNU Autoconf 2.59. Invocation command line was 1414 generated by GNU Autoconf 2.61. Invocation command line was
1015 1415
1016 $ $0 $@ 1416 $ $0 $@
1017 1417
1018 _ACEOF 1418 _ACEOF
1419 exec 5>>config.log
1019 { 1420 {
1020 cat <<_ASUNAME 1421 cat <<_ASUNAME
1021 ## --------- ## 1422 ## --------- ##
1022 ## Platform. ## 1423 ## Platform. ##
1023 ## --------- ## 1424 ## --------- ##
1032 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1433 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1033 1434
1034 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1435 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1035 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1436 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1036 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1437 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1037 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1438 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1038 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1439 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1039 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1440 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1040 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1441 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1041 1442
1042 _ASUNAME 1443 _ASUNAME
1046 do 1447 do
1047 IFS=$as_save_IFS 1448 IFS=$as_save_IFS
1048 test -z "$as_dir" && as_dir=. 1449 test -z "$as_dir" && as_dir=.
1049 echo "PATH: $as_dir" 1450 echo "PATH: $as_dir"
1050 done 1451 done
1452 IFS=$as_save_IFS
1051 1453
1052 } >&5 1454 } >&5
1053 1455
1054 cat >&5 <<_ACEOF 1456 cat >&5 <<_ACEOF
1055 1457
1067 # Also quote any args containing shell meta-characters. 1469 # Also quote any args containing shell meta-characters.
1068 # Make two passes to allow for proper duplicate-argument suppression. 1470 # Make two passes to allow for proper duplicate-argument suppression.
1069 ac_configure_args= 1471 ac_configure_args=
1070 ac_configure_args0= 1472 ac_configure_args0=
1071 ac_configure_args1= 1473 ac_configure_args1=
1072 ac_sep=
1073 ac_must_keep_next=false 1474 ac_must_keep_next=false
1074 for ac_pass in 1 2 1475 for ac_pass in 1 2
1075 do 1476 do
1076 for ac_arg 1477 for ac_arg
1077 do 1478 do
1078 case $ac_arg in 1479 case $ac_arg in
1079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1480 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil) 1482 | -silent | --silent | --silen | --sile | --sil)
1082 continue ;; 1483 continue ;;
1083 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1484 *\'*)
1084 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1485 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1085 esac 1486 esac
1086 case $ac_pass in 1487 case $ac_pass in
1087 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1488 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1088 2) 1489 2)
1100 esac 1501 esac
1101 ;; 1502 ;;
1102 -* ) ac_must_keep_next=true ;; 1503 -* ) ac_must_keep_next=true ;;
1103 esac 1504 esac
1104 fi 1505 fi
1105 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1506 ac_configure_args="$ac_configure_args '$ac_arg'"
1106 # Get rid of the leading space.
1107 ac_sep=" "
1108 ;; 1507 ;;
1109 esac 1508 esac
1110 done 1509 done
1111 done 1510 done
1112 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1511 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1113 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1512 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1114 1513
1115 # When interrupted or exit'd, cleanup temporary files, and complete 1514 # When interrupted or exit'd, cleanup temporary files, and complete
1116 # config.log. We remove comments because anyway the quotes in there 1515 # config.log. We remove comments because anyway the quotes in there
1117 # would cause problems or look ugly. 1516 # would cause problems or look ugly.
1118 # WARNING: Be sure not to use single quotes in there, as some shells, 1517 # WARNING: Use '\'' to represent an apostrophe within the trap.
1119 # such as our DU 5.0 friend, will then `close' the trap. 1518 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1120 trap 'exit_status=$? 1519 trap 'exit_status=$?
1121 # Save into config.log some information that might help in debugging. 1520 # Save into config.log some information that might help in debugging.
1122 { 1521 {
1123 echo 1522 echo
1124 1523
1127 ## Cache variables. ## 1526 ## Cache variables. ##
1128 ## ---------------- ## 1527 ## ---------------- ##
1129 _ASBOX 1528 _ASBOX
1130 echo 1529 echo
1131 # The following way of writing the cache mishandles newlines in values, 1530 # The following way of writing the cache mishandles newlines in values,
1132 { 1531 (
1532 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1533 eval ac_val=\$$ac_var
1534 case $ac_val in #(
1535 *${as_nl}*)
1536 case $ac_var in #(
1537 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1538 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1539 esac
1540 case $ac_var in #(
1541 _ | IFS | as_nl) ;; #(
1542 *) $as_unset $ac_var ;;
1543 esac ;;
1544 esac
1545 done
1133 (set) 2>&1 | 1546 (set) 2>&1 |
1134 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1547 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1135 *ac_space=\ *) 1548 *${as_nl}ac_space=\ *)
1136 sed -n \ 1549 sed -n \
1137 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1550 "s/'\''/'\''\\\\'\'''\''/g;
1138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1552 ;; #(
1553 *)
1554 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1139 ;; 1555 ;;
1140 *) 1556 esac |
1141 sed -n \ 1557 sort
1142 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1558 )
1143 ;;
1144 esac;
1145 }
1146 echo 1559 echo
1147 1560
1148 cat <<\_ASBOX 1561 cat <<\_ASBOX
1149 ## ----------------- ## 1562 ## ----------------- ##
1150 ## Output variables. ## 1563 ## Output variables. ##
1151 ## ----------------- ## 1564 ## ----------------- ##
1152 _ASBOX 1565 _ASBOX
1153 echo 1566 echo
1154 for ac_var in $ac_subst_vars 1567 for ac_var in $ac_subst_vars
1155 do 1568 do
1156 eval ac_val=$`echo $ac_var` 1569 eval ac_val=\$$ac_var
1157 echo "$ac_var='"'"'$ac_val'"'"'" 1570 case $ac_val in
1571 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1572 esac
1573 echo "$ac_var='\''$ac_val'\''"
1158 done | sort 1574 done | sort
1159 echo 1575 echo
1160 1576
1161 if test -n "$ac_subst_files"; then 1577 if test -n "$ac_subst_files"; then
1162 cat <<\_ASBOX 1578 cat <<\_ASBOX
1163 ## ------------- ## 1579 ## ------------------- ##
1164 ## Output files. ## 1580 ## File substitutions. ##
1165 ## ------------- ## 1581 ## ------------------- ##
1166 _ASBOX 1582 _ASBOX
1167 echo 1583 echo
1168 for ac_var in $ac_subst_files 1584 for ac_var in $ac_subst_files
1169 do 1585 do
1170 eval ac_val=$`echo $ac_var` 1586 eval ac_val=\$$ac_var
1171 echo "$ac_var='"'"'$ac_val'"'"'" 1587 case $ac_val in
1588 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589 esac
1590 echo "$ac_var='\''$ac_val'\''"
1172 done | sort 1591 done | sort
1173 echo 1592 echo
1174 fi 1593 fi
1175 1594
1176 if test -s confdefs.h; then 1595 if test -s confdefs.h; then
1178 ## ----------- ## 1597 ## ----------- ##
1179 ## confdefs.h. ## 1598 ## confdefs.h. ##
1180 ## ----------- ## 1599 ## ----------- ##
1181 _ASBOX 1600 _ASBOX
1182 echo 1601 echo
1183 sed "/^$/d" confdefs.h | sort 1602 cat confdefs.h
1184 echo 1603 echo
1185 fi 1604 fi
1186 test "$ac_signal" != 0 && 1605 test "$ac_signal" != 0 &&
1187 echo "$as_me: caught signal $ac_signal" 1606 echo "$as_me: caught signal $ac_signal"
1188 echo "$as_me: exit $exit_status" 1607 echo "$as_me: exit $exit_status"
1189 } >&5 1608 } >&5
1190 rm -f core *.core && 1609 rm -f core *.core core.conftest.* &&
1191 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1610 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1192 exit $exit_status 1611 exit $exit_status
1193 ' 0 1612 ' 0
1194 for ac_signal in 1 2 13 15; do 1613 for ac_signal in 1 2 13 15; do
1195 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1614 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1196 done 1615 done
1197 ac_signal=0 1616 ac_signal=0
1198 1617
1199 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1618 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1200 rm -rf conftest* confdefs.h 1619 rm -f -r conftest* confdefs.h
1201 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1202 echo >confdefs.h
1203 1620
1204 # Predefined preprocessor variables. 1621 # Predefined preprocessor variables.
1205 1622
1206 cat >>confdefs.h <<_ACEOF 1623 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_NAME "$PACKAGE_NAME" 1624 #define PACKAGE_NAME "$PACKAGE_NAME"
1228 _ACEOF 1645 _ACEOF
1229 1646
1230 1647
1231 # Let the site file select an alternate cache file if it wants to. 1648 # Let the site file select an alternate cache file if it wants to.
1232 # Prefer explicitly selected file to automatically selected ones. 1649 # Prefer explicitly selected file to automatically selected ones.
1233 if test -z "$CONFIG_SITE"; then 1650 if test -n "$CONFIG_SITE"; then
1234 if test "x$prefix" != xNONE; then 1651 set x "$CONFIG_SITE"
1235 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1652 elif test "x$prefix" != xNONE; then
1236 else 1653 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1237 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1654 else
1238 fi 1655 set x "$ac_default_prefix/share/config.site" \
1239 fi 1656 "$ac_default_prefix/etc/config.site"
1240 for ac_site_file in $CONFIG_SITE; do 1657 fi
1658 shift
1659 for ac_site_file
1660 do
1241 if test -r "$ac_site_file"; then 1661 if test -r "$ac_site_file"; then
1242 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1662 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1243 echo "$as_me: loading site script $ac_site_file" >&6;} 1663 echo "$as_me: loading site script $ac_site_file" >&6;}
1244 sed 's/^/| /' "$ac_site_file" >&5 1664 sed 's/^/| /' "$ac_site_file" >&5
1245 . "$ac_site_file" 1665 . "$ac_site_file"
1251 # files actually), so we avoid doing that. 1671 # files actually), so we avoid doing that.
1252 if test -f "$cache_file"; then 1672 if test -f "$cache_file"; then
1253 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1673 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1254 echo "$as_me: loading cache $cache_file" >&6;} 1674 echo "$as_me: loading cache $cache_file" >&6;}
1255 case $cache_file in 1675 case $cache_file in
1256 [\\/]* | ?:[\\/]* ) . $cache_file;; 1676 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1257 *) . ./$cache_file;; 1677 *) . "./$cache_file";;
1258 esac 1678 esac
1259 fi 1679 fi
1260 else 1680 else
1261 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1681 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1262 echo "$as_me: creating cache $cache_file" >&6;} 1682 echo "$as_me: creating cache $cache_file" >&6;}
1264 fi 1684 fi
1265 1685
1266 # Check that the precious variables saved in the cache have kept the same 1686 # Check that the precious variables saved in the cache have kept the same
1267 # value. 1687 # value.
1268 ac_cache_corrupted=false 1688 ac_cache_corrupted=false
1269 for ac_var in `(set) 2>&1 | 1689 for ac_var in $ac_precious_vars; do
1270 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1271 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1690 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1272 eval ac_new_set=\$ac_env_${ac_var}_set 1691 eval ac_new_set=\$ac_env_${ac_var}_set
1273 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1692 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1274 eval ac_new_val="\$ac_env_${ac_var}_value" 1693 eval ac_new_val=\$ac_env_${ac_var}_value
1275 case $ac_old_set,$ac_new_set in 1694 case $ac_old_set,$ac_new_set in
1276 set,) 1695 set,)
1277 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1696 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1278 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1697 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1279 ac_cache_corrupted=: ;; 1698 ac_cache_corrupted=: ;;
1294 fi;; 1713 fi;;
1295 esac 1714 esac
1296 # Pass precious variables to config.status. 1715 # Pass precious variables to config.status.
1297 if test "$ac_new_set" = set; then 1716 if test "$ac_new_set" = set; then
1298 case $ac_new_val in 1717 case $ac_new_val in
1299 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1718 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1300 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1301 *) ac_arg=$ac_var=$ac_new_val ;; 1719 *) ac_arg=$ac_var=$ac_new_val ;;
1302 esac 1720 esac
1303 case " $ac_configure_args " in 1721 case " $ac_configure_args " in
1304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1722 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1305 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1723 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1312 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1730 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1313 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1731 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1314 { (exit 1); exit 1; }; } 1732 { (exit 1); exit 1; }; }
1315 fi 1733 fi
1316 1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1317 ac_ext=c 1759 ac_ext=c
1318 ac_cpp='$CPP $CPPFLAGS' 1760 ac_cpp='$CPP $CPPFLAGS'
1319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1321 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 1764
1323 1765
1324 1766
1325 1767 ac_config_headers="$ac_config_headers config.h"
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350 ac_config_headers="$ac_config_headers config.h"
1351 1768
1352 am__api_version="1.7" 1769 am__api_version="1.7"
1353 ac_aux_dir= 1770 ac_aux_dir=
1354 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1771 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1355 if test -f $ac_dir/install-sh; then 1772 if test -f "$ac_dir/install-sh"; then
1356 ac_aux_dir=$ac_dir 1773 ac_aux_dir=$ac_dir
1357 ac_install_sh="$ac_aux_dir/install-sh -c" 1774 ac_install_sh="$ac_aux_dir/install-sh -c"
1358 break 1775 break
1359 elif test -f $ac_dir/install.sh; then 1776 elif test -f "$ac_dir/install.sh"; then
1360 ac_aux_dir=$ac_dir 1777 ac_aux_dir=$ac_dir
1361 ac_install_sh="$ac_aux_dir/install.sh -c" 1778 ac_install_sh="$ac_aux_dir/install.sh -c"
1362 break 1779 break
1363 elif test -f $ac_dir/shtool; then 1780 elif test -f "$ac_dir/shtool"; then
1364 ac_aux_dir=$ac_dir 1781 ac_aux_dir=$ac_dir
1365 ac_install_sh="$ac_aux_dir/shtool install -c" 1782 ac_install_sh="$ac_aux_dir/shtool install -c"
1366 break 1783 break
1367 fi 1784 fi
1368 done 1785 done
1369 if test -z "$ac_aux_dir"; then 1786 if test -z "$ac_aux_dir"; then
1370 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1787 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1371 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1788 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1372 { (exit 1); exit 1; }; } 1789 { (exit 1); exit 1; }; }
1373 fi 1790 fi
1374 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1791
1375 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1792 # These three variables are undocumented and unsupported,
1376 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1793 # and are intended to be withdrawn in a future Autoconf release.
1794 # They can cause serious problems if a builder's source tree is in a directory
1795 # whose full name contains unusual characters.
1796 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1797 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1798 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1799
1377 1800
1378 # Find a good install program. We prefer a C program (faster), 1801 # Find a good install program. We prefer a C program (faster),
1379 # so one script is as good as another. But avoid the broken or 1802 # so one script is as good as another. But avoid the broken or
1380 # incompatible versions: 1803 # incompatible versions:
1381 # SysV /etc/install, /usr/sbin/install 1804 # SysV /etc/install, /usr/sbin/install
1386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1809 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1810 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1811 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1389 # OS/2's system install, which has a completely different semantic 1812 # OS/2's system install, which has a completely different semantic
1390 # ./install, which can be erroneously created by make from ./install.sh. 1813 # ./install, which can be erroneously created by make from ./install.sh.
1391 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1814 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1392 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1815 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1393 if test -z "$INSTALL"; then 1816 if test -z "$INSTALL"; then
1394 if test "${ac_cv_path_install+set}" = set; then 1817 if test "${ac_cv_path_install+set}" = set; then
1395 echo $ECHO_N "(cached) $ECHO_C" >&6 1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1396 else 1819 else
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 # OSF1 and SCO ODT 3.0 have their own names for install. 1832 # OSF1 and SCO ODT 3.0 have their own names for install.
1410 # Don't use installbsd from OSF since it installs stuff as root 1833 # Don't use installbsd from OSF since it installs stuff as root
1411 # by default. 1834 # by default.
1412 for ac_prog in ginstall scoinst install; do 1835 for ac_prog in ginstall scoinst install; do
1413 for ac_exec_ext in '' $ac_executable_extensions; do 1836 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1837 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1415 if test $ac_prog = install && 1838 if test $ac_prog = install &&
1416 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1839 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1417 # AIX install. It has an incompatible calling convention. 1840 # AIX install. It has an incompatible calling convention.
1418 : 1841 :
1419 elif test $ac_prog = install && 1842 elif test $ac_prog = install &&
1428 done 1851 done
1429 done 1852 done
1430 ;; 1853 ;;
1431 esac 1854 esac
1432 done 1855 done
1856 IFS=$as_save_IFS
1433 1857
1434 1858
1435 fi 1859 fi
1436 if test "${ac_cv_path_install+set}" = set; then 1860 if test "${ac_cv_path_install+set}" = set; then
1437 INSTALL=$ac_cv_path_install 1861 INSTALL=$ac_cv_path_install
1438 else 1862 else
1439 # As a last resort, use the slow shell script. We don't cache a 1863 # As a last resort, use the slow shell script. Don't cache a
1440 # path for INSTALL within a source directory, because that will 1864 # value for INSTALL within a source directory, because that will
1441 # break other packages using the cache if that directory is 1865 # break other packages using the cache if that directory is
1442 # removed, or if the path is relative. 1866 # removed, or if the value is a relative name.
1443 INSTALL=$ac_install_sh 1867 INSTALL=$ac_install_sh
1444 fi 1868 fi
1445 fi 1869 fi
1446 echo "$as_me:$LINENO: result: $INSTALL" >&5 1870 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1447 echo "${ECHO_T}$INSTALL" >&6 1871 echo "${ECHO_T}$INSTALL" >&6; }
1448 1872
1449 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1873 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1450 # It thinks the first close brace ends the variable substitution. 1874 # It thinks the first close brace ends the variable substitution.
1451 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1875 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1452 1876
1453 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1877 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1454 1878
1455 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1879 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1456 1880
1457 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1881 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1458 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1882 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1459 # Just in case 1883 # Just in case
1460 sleep 1 1884 sleep 1
1461 echo timestamp > conftest.file 1885 echo timestamp > conftest.file
1462 # Do `set' in a subshell so we don't clobber the current shell's 1886 # Do `set' in a subshell so we don't clobber the current shell's
1463 # arguments. Must try -L first in case configure is actually a 1887 # arguments. Must try -L first in case configure is actually a
1495 Check your system clock" >&5 1919 Check your system clock" >&5
1496 echo "$as_me: error: newly created file is older than distributed files! 1920 echo "$as_me: error: newly created file is older than distributed files!
1497 Check your system clock" >&2;} 1921 Check your system clock" >&2;}
1498 { (exit 1); exit 1; }; } 1922 { (exit 1); exit 1; }; }
1499 fi 1923 fi
1500 echo "$as_me:$LINENO: result: yes" >&5 1924 { echo "$as_me:$LINENO: result: yes" >&5
1501 echo "${ECHO_T}yes" >&6 1925 echo "${ECHO_T}yes" >&6; }
1502 test "$program_prefix" != NONE && 1926 test "$program_prefix" != NONE &&
1503 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1927 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1504 # Use a double $ so make ignores it. 1928 # Use a double $ so make ignores it.
1505 test "$program_suffix" != NONE && 1929 test "$program_suffix" != NONE &&
1506 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1930 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1507 # Double any \ or $. echo might interpret backslashes. 1931 # Double any \ or $. echo might interpret backslashes.
1508 # By default was `s,x,x', remove it if useless. 1932 # By default was `s,x,x', remove it if useless.
1509 cat <<\_ACEOF >conftest.sed 1933 cat <<\_ACEOF >conftest.sed
1510 s/[\\$]/&&/g;s/;s,x,x,$// 1934 s/[\\$]/&&/g;s/;s,x,x,$//
1511 _ACEOF 1935 _ACEOF
1512 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1936 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1513 rm conftest.sed 1937 rm -f conftest.sed
1514 1938
1515 1939
1516 # expand $ac_aux_dir to an absolute path 1940 # expand $ac_aux_dir to an absolute path
1517 am_aux_dir=`cd $ac_aux_dir && pwd` 1941 am_aux_dir=`cd $ac_aux_dir && pwd`
1518 1942
1528 1952
1529 for ac_prog in gawk mawk nawk awk 1953 for ac_prog in gawk mawk nawk awk
1530 do 1954 do
1531 # Extract the first word of "$ac_prog", so it can be a program name with args. 1955 # Extract the first word of "$ac_prog", so it can be a program name with args.
1532 set dummy $ac_prog; ac_word=$2 1956 set dummy $ac_prog; ac_word=$2
1533 echo "$as_me:$LINENO: checking for $ac_word" >&5 1957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1535 if test "${ac_cv_prog_AWK+set}" = set; then 1959 if test "${ac_cv_prog_AWK+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6 1960 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 else 1961 else
1538 if test -n "$AWK"; then 1962 if test -n "$AWK"; then
1539 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1963 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1542 for as_dir in $PATH 1966 for as_dir in $PATH
1543 do 1967 do
1544 IFS=$as_save_IFS 1968 IFS=$as_save_IFS
1545 test -z "$as_dir" && as_dir=. 1969 test -z "$as_dir" && as_dir=.
1546 for ac_exec_ext in '' $ac_executable_extensions; do 1970 for ac_exec_ext in '' $ac_executable_extensions; do
1547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1548 ac_cv_prog_AWK="$ac_prog" 1972 ac_cv_prog_AWK="$ac_prog"
1549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1550 break 2 1974 break 2
1551 fi 1975 fi
1552 done 1976 done
1553 done 1977 done
1978 IFS=$as_save_IFS
1554 1979
1555 fi 1980 fi
1556 fi 1981 fi
1557 AWK=$ac_cv_prog_AWK 1982 AWK=$ac_cv_prog_AWK
1558 if test -n "$AWK"; then 1983 if test -n "$AWK"; then
1559 echo "$as_me:$LINENO: result: $AWK" >&5 1984 { echo "$as_me:$LINENO: result: $AWK" >&5
1560 echo "${ECHO_T}$AWK" >&6 1985 echo "${ECHO_T}$AWK" >&6; }
1561 else 1986 else
1562 echo "$as_me:$LINENO: result: no" >&5 1987 { echo "$as_me:$LINENO: result: no" >&5
1563 echo "${ECHO_T}no" >&6 1988 echo "${ECHO_T}no" >&6; }
1564 fi 1989 fi
1990
1565 1991
1566 test -n "$AWK" && break 1992 test -n "$AWK" && break
1567 done 1993 done
1568 1994
1569 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1995 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1570 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1996 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1571 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1997 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1572 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1998 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6 1999 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 else 2000 else
1575 cat >conftest.make <<\_ACEOF 2001 cat >conftest.make <<\_ACEOF
2002 SHELL = /bin/sh
1576 all: 2003 all:
1577 @echo 'ac_maketemp="$(MAKE)"' 2004 @echo '@@@%%%=$(MAKE)=@@@%%%'
1578 _ACEOF 2005 _ACEOF
1579 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1580 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1581 if test -n "$ac_maketemp"; then 2008 *@@@%%%=?*=@@@%%%*)
1582 eval ac_cv_prog_make_${ac_make}_set=yes 2009 eval ac_cv_prog_make_${ac_make}_set=yes;;
1583 else 2010 *)
1584 eval ac_cv_prog_make_${ac_make}_set=no 2011 eval ac_cv_prog_make_${ac_make}_set=no;;
1585 fi 2012 esac
1586 rm -f conftest.make 2013 rm -f conftest.make
1587 fi 2014 fi
1588 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1589 echo "$as_me:$LINENO: result: yes" >&5 2016 { echo "$as_me:$LINENO: result: yes" >&5
1590 echo "${ECHO_T}yes" >&6 2017 echo "${ECHO_T}yes" >&6; }
1591 SET_MAKE= 2018 SET_MAKE=
1592 else 2019 else
1593 echo "$as_me:$LINENO: result: no" >&5 2020 { echo "$as_me:$LINENO: result: no" >&5
1594 echo "${ECHO_T}no" >&6 2021 echo "${ECHO_T}no" >&6; }
1595 SET_MAKE="MAKE=${MAKE-make}" 2022 SET_MAKE="MAKE=${MAKE-make}"
1596 fi 2023 fi
1597 2024
1598 rm -rf .tst 2>/dev/null 2025 rm -rf .tst 2>/dev/null
1599 mkdir .tst 2>/dev/null 2026 mkdir .tst 2>/dev/null
1663 # will honor the `STRIP' environment variable to overrule this program. 2090 # will honor the `STRIP' environment variable to overrule this program.
1664 if test "$cross_compiling" != no; then 2091 if test "$cross_compiling" != no; then
1665 if test -n "$ac_tool_prefix"; then 2092 if test -n "$ac_tool_prefix"; then
1666 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2093 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1667 set dummy ${ac_tool_prefix}strip; ac_word=$2 2094 set dummy ${ac_tool_prefix}strip; ac_word=$2
1668 echo "$as_me:$LINENO: checking for $ac_word" >&5 2095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1670 if test "${ac_cv_prog_STRIP+set}" = set; then 2097 if test "${ac_cv_prog_STRIP+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6 2098 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 else 2099 else
1673 if test -n "$STRIP"; then 2100 if test -n "$STRIP"; then
1674 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2101 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1677 for as_dir in $PATH 2104 for as_dir in $PATH
1678 do 2105 do
1679 IFS=$as_save_IFS 2106 IFS=$as_save_IFS
1680 test -z "$as_dir" && as_dir=. 2107 test -z "$as_dir" && as_dir=.
1681 for ac_exec_ext in '' $ac_executable_extensions; do 2108 for ac_exec_ext in '' $ac_executable_extensions; do
1682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1683 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2110 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 break 2 2112 break 2
1686 fi 2113 fi
1687 done 2114 done
1688 done 2115 done
2116 IFS=$as_save_IFS
1689 2117
1690 fi 2118 fi
1691 fi 2119 fi
1692 STRIP=$ac_cv_prog_STRIP 2120 STRIP=$ac_cv_prog_STRIP
1693 if test -n "$STRIP"; then 2121 if test -n "$STRIP"; then
1694 echo "$as_me:$LINENO: result: $STRIP" >&5 2122 { echo "$as_me:$LINENO: result: $STRIP" >&5
1695 echo "${ECHO_T}$STRIP" >&6 2123 echo "${ECHO_T}$STRIP" >&6; }
1696 else 2124 else
1697 echo "$as_me:$LINENO: result: no" >&5 2125 { echo "$as_me:$LINENO: result: no" >&5
1698 echo "${ECHO_T}no" >&6 2126 echo "${ECHO_T}no" >&6; }
1699 fi 2127 fi
2128
1700 2129
1701 fi 2130 fi
1702 if test -z "$ac_cv_prog_STRIP"; then 2131 if test -z "$ac_cv_prog_STRIP"; then
1703 ac_ct_STRIP=$STRIP 2132 ac_ct_STRIP=$STRIP
1704 # Extract the first word of "strip", so it can be a program name with args. 2133 # Extract the first word of "strip", so it can be a program name with args.
1705 set dummy strip; ac_word=$2 2134 set dummy strip; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5 2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1708 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6 2138 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 else 2139 else
1711 if test -n "$ac_ct_STRIP"; then 2140 if test -n "$ac_ct_STRIP"; then
1712 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2141 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1715 for as_dir in $PATH 2144 for as_dir in $PATH
1716 do 2145 do
1717 IFS=$as_save_IFS 2146 IFS=$as_save_IFS
1718 test -z "$as_dir" && as_dir=. 2147 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do 2148 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1721 ac_cv_prog_ac_ct_STRIP="strip" 2150 ac_cv_prog_ac_ct_STRIP="strip"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 break 2 2152 break 2
1724 fi 2153 fi
1725 done 2154 done
1726 done 2155 done
1727 2156 IFS=$as_save_IFS
1728 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 2157
1729 fi 2158 fi
1730 fi 2159 fi
1731 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1732 if test -n "$ac_ct_STRIP"; then 2161 if test -n "$ac_ct_STRIP"; then
1733 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2162 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1734 echo "${ECHO_T}$ac_ct_STRIP" >&6 2163 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1735 else 2164 else
1736 echo "$as_me:$LINENO: result: no" >&5 2165 { echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6 2166 echo "${ECHO_T}no" >&6; }
1738 fi 2167 fi
1739 2168
1740 STRIP=$ac_ct_STRIP 2169 if test "x$ac_ct_STRIP" = x; then
2170 STRIP=":"
2171 else
2172 case $cross_compiling:$ac_tool_warned in
2173 yes:)
2174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2175 whose name does not start with the host triplet. If you think this
2176 configuration is useful to you, please write to autoconf@gnu.org." >&5
2177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2178 whose name does not start with the host triplet. If you think this
2179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2180 ac_tool_warned=yes ;;
2181 esac
2182 STRIP=$ac_ct_STRIP
2183 fi
1741 else 2184 else
1742 STRIP="$ac_cv_prog_STRIP" 2185 STRIP="$ac_cv_prog_STRIP"
1743 fi 2186 fi
1744 2187
1745 fi 2188 fi
1761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1762 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1763 if test -n "$ac_tool_prefix"; then 2206 if test -n "$ac_tool_prefix"; then
1764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2207 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1765 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2208 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5 2209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1768 if test "${ac_cv_prog_CC+set}" = set; then 2211 if test "${ac_cv_prog_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6 2212 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 else 2213 else
1771 if test -n "$CC"; then 2214 if test -n "$CC"; then
1772 ac_cv_prog_CC="$CC" # Let the user override the test. 2215 ac_cv_prog_CC="$CC" # Let the user override the test.
1775 for as_dir in $PATH 2218 for as_dir in $PATH
1776 do 2219 do
1777 IFS=$as_save_IFS 2220 IFS=$as_save_IFS
1778 test -z "$as_dir" && as_dir=. 2221 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do 2222 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1781 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2224 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 break 2 2226 break 2
1784 fi 2227 fi
1785 done 2228 done
1786 done 2229 done
2230 IFS=$as_save_IFS
1787 2231
1788 fi 2232 fi
1789 fi 2233 fi
1790 CC=$ac_cv_prog_CC 2234 CC=$ac_cv_prog_CC
1791 if test -n "$CC"; then 2235 if test -n "$CC"; then
1792 echo "$as_me:$LINENO: result: $CC" >&5 2236 { echo "$as_me:$LINENO: result: $CC" >&5
1793 echo "${ECHO_T}$CC" >&6 2237 echo "${ECHO_T}$CC" >&6; }
1794 else 2238 else
1795 echo "$as_me:$LINENO: result: no" >&5 2239 { echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6 2240 echo "${ECHO_T}no" >&6; }
1797 fi 2241 fi
2242
1798 2243
1799 fi 2244 fi
1800 if test -z "$ac_cv_prog_CC"; then 2245 if test -z "$ac_cv_prog_CC"; then
1801 ac_ct_CC=$CC 2246 ac_ct_CC=$CC
1802 # Extract the first word of "gcc", so it can be a program name with args. 2247 # Extract the first word of "gcc", so it can be a program name with args.
1803 set dummy gcc; ac_word=$2 2248 set dummy gcc; ac_word=$2
1804 echo "$as_me:$LINENO: checking for $ac_word" >&5 2249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1806 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2251 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1807 echo $ECHO_N "(cached) $ECHO_C" >&6 2252 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 else 2253 else
1809 if test -n "$ac_ct_CC"; then 2254 if test -n "$ac_ct_CC"; then
1810 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2255 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1813 for as_dir in $PATH 2258 for as_dir in $PATH
1814 do 2259 do
1815 IFS=$as_save_IFS 2260 IFS=$as_save_IFS
1816 test -z "$as_dir" && as_dir=. 2261 test -z "$as_dir" && as_dir=.
1817 for ac_exec_ext in '' $ac_executable_extensions; do 2262 for ac_exec_ext in '' $ac_executable_extensions; do
1818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1819 ac_cv_prog_ac_ct_CC="gcc" 2264 ac_cv_prog_ac_ct_CC="gcc"
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1821 break 2 2266 break 2
1822 fi 2267 fi
1823 done 2268 done
1824 done 2269 done
2270 IFS=$as_save_IFS
1825 2271
1826 fi 2272 fi
1827 fi 2273 fi
1828 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1829 if test -n "$ac_ct_CC"; then 2275 if test -n "$ac_ct_CC"; then
1830 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2276 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1831 echo "${ECHO_T}$ac_ct_CC" >&6 2277 echo "${ECHO_T}$ac_ct_CC" >&6; }
1832 else 2278 else
1833 echo "$as_me:$LINENO: result: no" >&5 2279 { echo "$as_me:$LINENO: result: no" >&5
1834 echo "${ECHO_T}no" >&6 2280 echo "${ECHO_T}no" >&6; }
1835 fi 2281 fi
1836 2282
1837 CC=$ac_ct_CC 2283 if test "x$ac_ct_CC" = x; then
2284 CC=""
2285 else
2286 case $cross_compiling:$ac_tool_warned in
2287 yes:)
2288 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
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 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
1838 else 2298 else
1839 CC="$ac_cv_prog_CC" 2299 CC="$ac_cv_prog_CC"
1840 fi 2300 fi
1841 2301
1842 if test -z "$CC"; then 2302 if test -z "$CC"; then
1843 if test -n "$ac_tool_prefix"; then 2303 if test -n "$ac_tool_prefix"; then
1844 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1845 set dummy ${ac_tool_prefix}cc; ac_word=$2 2305 set dummy ${ac_tool_prefix}cc; ac_word=$2
1846 echo "$as_me:$LINENO: checking for $ac_word" >&5 2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1848 if test "${ac_cv_prog_CC+set}" = set; then 2308 if test "${ac_cv_prog_CC+set}" = set; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6 2309 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 else 2310 else
1851 if test -n "$CC"; then 2311 if test -n "$CC"; then
1852 ac_cv_prog_CC="$CC" # Let the user override the test. 2312 ac_cv_prog_CC="$CC" # Let the user override the test.
1855 for as_dir in $PATH 2315 for as_dir in $PATH
1856 do 2316 do
1857 IFS=$as_save_IFS 2317 IFS=$as_save_IFS
1858 test -z "$as_dir" && as_dir=. 2318 test -z "$as_dir" && as_dir=.
1859 for ac_exec_ext in '' $ac_executable_extensions; do 2319 for ac_exec_ext in '' $ac_executable_extensions; do
1860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1861 ac_cv_prog_CC="${ac_tool_prefix}cc" 2321 ac_cv_prog_CC="${ac_tool_prefix}cc"
1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 break 2 2323 break 2
1864 fi 2324 fi
1865 done 2325 done
1866 done 2326 done
2327 IFS=$as_save_IFS
1867 2328
1868 fi 2329 fi
1869 fi 2330 fi
1870 CC=$ac_cv_prog_CC 2331 CC=$ac_cv_prog_CC
1871 if test -n "$CC"; then 2332 if test -n "$CC"; then
1872 echo "$as_me:$LINENO: result: $CC" >&5 2333 { echo "$as_me:$LINENO: result: $CC" >&5
1873 echo "${ECHO_T}$CC" >&6 2334 echo "${ECHO_T}$CC" >&6; }
1874 else 2335 else
1875 echo "$as_me:$LINENO: result: no" >&5 2336 { echo "$as_me:$LINENO: result: no" >&5
1876 echo "${ECHO_T}no" >&6 2337 echo "${ECHO_T}no" >&6; }
1877 fi 2338 fi
1878 2339
1879 fi 2340
1880 if test -z "$ac_cv_prog_CC"; then
1881 ac_ct_CC=$CC
1882 # Extract the first word of "cc", so it can be a program name with args.
1883 set dummy cc; ac_word=$2
1884 echo "$as_me:$LINENO: checking for $ac_word" >&5
1885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1886 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 else
1889 if test -n "$ac_ct_CC"; then
1890 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1891 else
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 for as_dir in $PATH
1894 do
1895 IFS=$as_save_IFS
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899 ac_cv_prog_ac_ct_CC="cc"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 break 2
1902 fi 2341 fi
1903 done
1904 done
1905
1906 fi
1907 fi
1908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1909 if test -n "$ac_ct_CC"; then
1910 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1911 echo "${ECHO_T}$ac_ct_CC" >&6
1912 else
1913 echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1915 fi
1916
1917 CC=$ac_ct_CC
1918 else
1919 CC="$ac_cv_prog_CC"
1920 fi
1921
1922 fi 2342 fi
1923 if test -z "$CC"; then 2343 if test -z "$CC"; then
1924 # Extract the first word of "cc", so it can be a program name with args. 2344 # Extract the first word of "cc", so it can be a program name with args.
1925 set dummy cc; ac_word=$2 2345 set dummy cc; ac_word=$2
1926 echo "$as_me:$LINENO: checking for $ac_word" >&5 2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1928 if test "${ac_cv_prog_CC+set}" = set; then 2348 if test "${ac_cv_prog_CC+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6 2349 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 else 2350 else
1931 if test -n "$CC"; then 2351 if test -n "$CC"; then
1932 ac_cv_prog_CC="$CC" # Let the user override the test. 2352 ac_cv_prog_CC="$CC" # Let the user override the test.
1936 for as_dir in $PATH 2356 for as_dir in $PATH
1937 do 2357 do
1938 IFS=$as_save_IFS 2358 IFS=$as_save_IFS
1939 test -z "$as_dir" && as_dir=. 2359 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do 2360 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1942 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2362 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1943 ac_prog_rejected=yes 2363 ac_prog_rejected=yes
1944 continue 2364 continue
1945 fi 2365 fi
1946 ac_cv_prog_CC="cc" 2366 ac_cv_prog_CC="cc"
1947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 break 2 2368 break 2
1949 fi 2369 fi
1950 done 2370 done
1951 done 2371 done
2372 IFS=$as_save_IFS
1952 2373
1953 if test $ac_prog_rejected = yes; then 2374 if test $ac_prog_rejected = yes; then
1954 # We found a bogon in the path, so make sure we never use it. 2375 # We found a bogon in the path, so make sure we never use it.
1955 set dummy $ac_cv_prog_CC 2376 set dummy $ac_cv_prog_CC
1956 shift 2377 shift
1964 fi 2385 fi
1965 fi 2386 fi
1966 fi 2387 fi
1967 CC=$ac_cv_prog_CC 2388 CC=$ac_cv_prog_CC
1968 if test -n "$CC"; then 2389 if test -n "$CC"; then
1969 echo "$as_me:$LINENO: result: $CC" >&5 2390 { echo "$as_me:$LINENO: result: $CC" >&5
1970 echo "${ECHO_T}$CC" >&6 2391 echo "${ECHO_T}$CC" >&6; }
1971 else 2392 else
1972 echo "$as_me:$LINENO: result: no" >&5 2393 { echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6 2394 echo "${ECHO_T}no" >&6; }
1974 fi 2395 fi
2396
1975 2397
1976 fi 2398 fi
1977 if test -z "$CC"; then 2399 if test -z "$CC"; then
1978 if test -n "$ac_tool_prefix"; then 2400 if test -n "$ac_tool_prefix"; then
1979 for ac_prog in cl 2401 for ac_prog in cl.exe
1980 do 2402 do
1981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1983 echo "$as_me:$LINENO: checking for $ac_word" >&5 2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1985 if test "${ac_cv_prog_CC+set}" = set; then 2407 if test "${ac_cv_prog_CC+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6 2408 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 else 2409 else
1988 if test -n "$CC"; then 2410 if test -n "$CC"; then
1989 ac_cv_prog_CC="$CC" # Let the user override the test. 2411 ac_cv_prog_CC="$CC" # Let the user override the test.
1992 for as_dir in $PATH 2414 for as_dir in $PATH
1993 do 2415 do
1994 IFS=$as_save_IFS 2416 IFS=$as_save_IFS
1995 test -z "$as_dir" && as_dir=. 2417 test -z "$as_dir" && as_dir=.
1996 for ac_exec_ext in '' $ac_executable_extensions; do 2418 for ac_exec_ext in '' $ac_executable_extensions; do
1997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1998 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2420 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 break 2 2422 break 2
2001 fi 2423 fi
2002 done 2424 done
2003 done 2425 done
2426 IFS=$as_save_IFS
2004 2427
2005 fi 2428 fi
2006 fi 2429 fi
2007 CC=$ac_cv_prog_CC 2430 CC=$ac_cv_prog_CC
2008 if test -n "$CC"; then 2431 if test -n "$CC"; then
2009 echo "$as_me:$LINENO: result: $CC" >&5 2432 { echo "$as_me:$LINENO: result: $CC" >&5
2010 echo "${ECHO_T}$CC" >&6 2433 echo "${ECHO_T}$CC" >&6; }
2011 else 2434 else
2012 echo "$as_me:$LINENO: result: no" >&5 2435 { echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6 2436 echo "${ECHO_T}no" >&6; }
2014 fi 2437 fi
2438
2015 2439
2016 test -n "$CC" && break 2440 test -n "$CC" && break
2017 done 2441 done
2018 fi 2442 fi
2019 if test -z "$CC"; then 2443 if test -z "$CC"; then
2020 ac_ct_CC=$CC 2444 ac_ct_CC=$CC
2021 for ac_prog in cl 2445 for ac_prog in cl.exe
2022 do 2446 do
2023 # Extract the first word of "$ac_prog", so it can be a program name with args. 2447 # Extract the first word of "$ac_prog", so it can be a program name with args.
2024 set dummy $ac_prog; ac_word=$2 2448 set dummy $ac_prog; ac_word=$2
2025 echo "$as_me:$LINENO: checking for $ac_word" >&5 2449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6 2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 else 2453 else
2030 if test -n "$ac_ct_CC"; then 2454 if test -n "$ac_ct_CC"; then
2031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2034 for as_dir in $PATH 2458 for as_dir in $PATH
2035 do 2459 do
2036 IFS=$as_save_IFS 2460 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=. 2461 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do 2462 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2040 ac_cv_prog_ac_ct_CC="$ac_prog" 2464 ac_cv_prog_ac_ct_CC="$ac_prog"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2 2466 break 2
2043 fi 2467 fi
2044 done 2468 done
2045 done 2469 done
2470 IFS=$as_save_IFS
2046 2471
2047 fi 2472 fi
2048 fi 2473 fi
2049 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2050 if test -n "$ac_ct_CC"; then 2475 if test -n "$ac_ct_CC"; then
2051 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2476 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2052 echo "${ECHO_T}$ac_ct_CC" >&6 2477 echo "${ECHO_T}$ac_ct_CC" >&6; }
2053 else 2478 else
2054 echo "$as_me:$LINENO: result: no" >&5 2479 { echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6 2480 echo "${ECHO_T}no" >&6; }
2056 fi 2481 fi
2482
2057 2483
2058 test -n "$ac_ct_CC" && break 2484 test -n "$ac_ct_CC" && break
2059 done 2485 done
2060 2486
2061 CC=$ac_ct_CC 2487 if test "x$ac_ct_CC" = x; then
2488 CC=""
2489 else
2490 case $cross_compiling:$ac_tool_warned in
2491 yes:)
2492 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2493 whose name does not start with the host triplet. If you think this
2494 configuration is useful to you, please write to autoconf@gnu.org." >&5
2495 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2496 whose name does not start with the host triplet. If you think this
2497 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2498 ac_tool_warned=yes ;;
2499 esac
2500 CC=$ac_ct_CC
2501 fi
2062 fi 2502 fi
2063 2503
2064 fi 2504 fi
2065 2505
2066 2506
2069 echo "$as_me: error: no acceptable C compiler found in \$PATH 2509 echo "$as_me: error: no acceptable C compiler found in \$PATH
2070 See \`config.log' for more details." >&2;} 2510 See \`config.log' for more details." >&2;}
2071 { (exit 1); exit 1; }; } 2511 { (exit 1); exit 1; }; }
2072 2512
2073 # Provide some information about the compiler. 2513 # Provide some information about the compiler.
2074 echo "$as_me:$LINENO:" \ 2514 echo "$as_me:$LINENO: checking for C compiler version" >&5
2075 "checking for C compiler version" >&5
2076 ac_compiler=`set X $ac_compile; echo $2` 2515 ac_compiler=`set X $ac_compile; echo $2`
2077 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2516 { (ac_try="$ac_compiler --version >&5"
2078 (eval $ac_compiler --version </dev/null >&5) 2>&5 2517 case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_compiler --version >&5") 2>&5
2079 ac_status=$? 2523 ac_status=$?
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); } 2525 (exit $ac_status); }
2082 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2526 { (ac_try="$ac_compiler -v >&5"
2083 (eval $ac_compiler -v </dev/null >&5) 2>&5 2527 case "(($ac_try" in
2528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529 *) ac_try_echo=$ac_try;;
2530 esac
2531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2532 (eval "$ac_compiler -v >&5") 2>&5
2084 ac_status=$? 2533 ac_status=$?
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); } 2535 (exit $ac_status); }
2087 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2536 { (ac_try="$ac_compiler -V >&5"
2088 (eval $ac_compiler -V </dev/null >&5) 2>&5 2537 case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542 (eval "$ac_compiler -V >&5") 2>&5
2089 ac_status=$? 2543 ac_status=$?
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); } 2545 (exit $ac_status); }
2092 2546
2093 cat >conftest.$ac_ext <<_ACEOF 2547 cat >conftest.$ac_ext <<_ACEOF
2108 ac_clean_files_save=$ac_clean_files 2562 ac_clean_files_save=$ac_clean_files
2109 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2563 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2110 # Try to create an executable without -o first, disregard a.out. 2564 # Try to create an executable without -o first, disregard a.out.
2111 # It will help us diagnose broken compilers, and finding out an intuition 2565 # It will help us diagnose broken compilers, and finding out an intuition
2112 # of exeext. 2566 # of exeext.
2113 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2567 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2114 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2568 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2115 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2569 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2116 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2570 #
2117 (eval $ac_link_default) 2>&5 2571 # List of possible output files, starting from the most likely.
2572 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2573 # only as a last resort. b.out is created by i960 compilers.
2574 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2575 #
2576 # The IRIX 6 linker writes into existing files which may not be
2577 # executable, retaining their permissions. Remove them first so a
2578 # subsequent execution test works.
2579 ac_rmfiles=
2580 for ac_file in $ac_files
2581 do
2582 case $ac_file in
2583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2584 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2585 esac
2586 done
2587 rm -f $ac_rmfiles
2588
2589 if { (ac_try="$ac_link_default"
2590 case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2593 esac
2594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2595 (eval "$ac_link_default") 2>&5
2118 ac_status=$? 2596 ac_status=$?
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; then 2598 (exit $ac_status); }; then
2121 # Find the output, starting from the most likely. This scheme is 2599 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2122 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2600 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2123 # resort. 2601 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2124 2602 # so that the user can short-circuit this test for compilers unknown to
2125 # Be careful to initialize this variable, since it used to be cached. 2603 # Autoconf.
2126 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2604 for ac_file in $ac_files ''
2127 ac_cv_exeext=
2128 # b.out is created by i960 compilers.
2129 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2130 do 2605 do
2131 test -f "$ac_file" || continue 2606 test -f "$ac_file" || continue
2132 case $ac_file in 2607 case $ac_file in
2133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2134 ;;
2135 conftest.$ac_ext )
2136 # This is the source file.
2137 ;; 2609 ;;
2138 [ab].out ) 2610 [ab].out )
2139 # We found the default executable, but exeext='' is most 2611 # We found the default executable, but exeext='' is most
2140 # certainly right. 2612 # certainly right.
2141 break;; 2613 break;;
2142 *.* ) 2614 *.* )
2143 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2615 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2144 # FIXME: I believe we export ac_cv_exeext for Libtool, 2616 then :; else
2145 # but it would be cool to find out if it's true. Does anybody 2617 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2146 # maintain Libtool? --akim. 2618 fi
2147 export ac_cv_exeext 2619 # We set ac_cv_exeext here because the later test for it is not
2620 # safe: cross compilers may not add the suffix if given an `-o'
2621 # argument, so we may need to know it at that point already.
2622 # Even if this section looks crufty: it has the advantage of
2623 # actually working.
2148 break;; 2624 break;;
2149 * ) 2625 * )
2150 break;; 2626 break;;
2151 esac 2627 esac
2152 done 2628 done
2153 else 2629 test "$ac_cv_exeext" = no && ac_cv_exeext=
2630
2631 else
2632 ac_file=''
2633 fi
2634
2635 { echo "$as_me:$LINENO: result: $ac_file" >&5
2636 echo "${ECHO_T}$ac_file" >&6; }
2637 if test -z "$ac_file"; then
2154 echo "$as_me: failed program was:" >&5 2638 echo "$as_me: failed program was:" >&5
2155 sed 's/^/| /' conftest.$ac_ext >&5 2639 sed 's/^/| /' conftest.$ac_ext >&5
2156 2640
2157 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2641 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2158 See \`config.log' for more details." >&5 2642 See \`config.log' for more details." >&5
2160 See \`config.log' for more details." >&2;} 2644 See \`config.log' for more details." >&2;}
2161 { (exit 77); exit 77; }; } 2645 { (exit 77); exit 77; }; }
2162 fi 2646 fi
2163 2647
2164 ac_exeext=$ac_cv_exeext 2648 ac_exeext=$ac_cv_exeext
2165 echo "$as_me:$LINENO: result: $ac_file" >&5 2649
2166 echo "${ECHO_T}$ac_file" >&6 2650 # Check that the compiler produces executables we can run. If not, either
2167
2168 # Check the compiler produces executables we can run. If not, either
2169 # the compiler is broken, or we cross compile. 2651 # the compiler is broken, or we cross compile.
2170 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2652 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2171 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2653 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2172 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2654 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2173 # If not cross compiling, check that we can run a simple program. 2655 # If not cross compiling, check that we can run a simple program.
2174 if test "$cross_compiling" != yes; then 2656 if test "$cross_compiling" != yes; then
2175 if { ac_try='./$ac_file' 2657 if { ac_try='./$ac_file'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2658 { (case "(($ac_try" in
2177 (eval $ac_try) 2>&5 2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_try") 2>&5
2178 ac_status=$? 2664 ac_status=$?
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then 2666 (exit $ac_status); }; }; then
2181 cross_compiling=no 2667 cross_compiling=no
2182 else 2668 else
2191 See \`config.log' for more details." >&2;} 2677 See \`config.log' for more details." >&2;}
2192 { (exit 1); exit 1; }; } 2678 { (exit 1); exit 1; }; }
2193 fi 2679 fi
2194 fi 2680 fi
2195 fi 2681 fi
2196 echo "$as_me:$LINENO: result: yes" >&5 2682 { echo "$as_me:$LINENO: result: yes" >&5
2197 echo "${ECHO_T}yes" >&6 2683 echo "${ECHO_T}yes" >&6; }
2198 2684
2199 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2685 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2200 ac_clean_files=$ac_clean_files_save 2686 ac_clean_files=$ac_clean_files_save
2201 # Check the compiler produces executables we can run. If not, either 2687 # Check that the compiler produces executables we can run. If not, either
2202 # the compiler is broken, or we cross compile. 2688 # the compiler is broken, or we cross compile.
2203 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2689 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2204 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2690 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2205 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2691 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2206 echo "${ECHO_T}$cross_compiling" >&6 2692 echo "${ECHO_T}$cross_compiling" >&6; }
2207 2693
2208 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2694 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2209 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2695 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2696 if { (ac_try="$ac_link"
2211 (eval $ac_link) 2>&5 2697 case "(($ac_try" in
2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2700 esac
2701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2702 (eval "$ac_link") 2>&5
2212 ac_status=$? 2703 ac_status=$?
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; then 2705 (exit $ac_status); }; then
2215 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2706 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2216 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2707 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2217 # work properly (i.e., refer to `conftest.exe'), while it won't with 2708 # work properly (i.e., refer to `conftest.exe'), while it won't with
2218 # `rm'. 2709 # `rm'.
2219 for ac_file in conftest.exe conftest conftest.*; do 2710 for ac_file in conftest.exe conftest conftest.*; do
2220 test -f "$ac_file" || continue 2711 test -f "$ac_file" || continue
2221 case $ac_file in 2712 case $ac_file in
2222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2713 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2223 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2714 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2224 export ac_cv_exeext
2225 break;; 2715 break;;
2226 * ) break;; 2716 * ) break;;
2227 esac 2717 esac
2228 done 2718 done
2229 else 2719 else
2233 See \`config.log' for more details." >&2;} 2723 See \`config.log' for more details." >&2;}
2234 { (exit 1); exit 1; }; } 2724 { (exit 1); exit 1; }; }
2235 fi 2725 fi
2236 2726
2237 rm -f conftest$ac_cv_exeext 2727 rm -f conftest$ac_cv_exeext
2238 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2728 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2239 echo "${ECHO_T}$ac_cv_exeext" >&6 2729 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2240 2730
2241 rm -f conftest.$ac_ext 2731 rm -f conftest.$ac_ext
2242 EXEEXT=$ac_cv_exeext 2732 EXEEXT=$ac_cv_exeext
2243 ac_exeext=$EXEEXT 2733 ac_exeext=$EXEEXT
2244 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2734 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2245 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2735 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2246 if test "${ac_cv_objext+set}" = set; then 2736 if test "${ac_cv_objext+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6 2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else 2738 else
2249 cat >conftest.$ac_ext <<_ACEOF 2739 cat >conftest.$ac_ext <<_ACEOF
2250 /* confdefs.h. */ 2740 /* confdefs.h. */
2260 ; 2750 ;
2261 return 0; 2751 return 0;
2262 } 2752 }
2263 _ACEOF 2753 _ACEOF
2264 rm -f conftest.o conftest.obj 2754 rm -f conftest.o conftest.obj
2265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2755 if { (ac_try="$ac_compile"
2266 (eval $ac_compile) 2>&5 2756 case "(($ac_try" in
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2759 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2761 (eval "$ac_compile") 2>&5
2267 ac_status=$? 2762 ac_status=$?
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; then 2764 (exit $ac_status); }; then
2270 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2765 for ac_file in conftest.o conftest.obj conftest.*; do
2766 test -f "$ac_file" || continue;
2271 case $ac_file in 2767 case $ac_file in
2272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2273 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2769 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2274 break;; 2770 break;;
2275 esac 2771 esac
2276 done 2772 done
2277 else 2773 else
2285 { (exit 1); exit 1; }; } 2781 { (exit 1); exit 1; }; }
2286 fi 2782 fi
2287 2783
2288 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2784 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2289 fi 2785 fi
2290 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2786 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2291 echo "${ECHO_T}$ac_cv_objext" >&6 2787 echo "${ECHO_T}$ac_cv_objext" >&6; }
2292 OBJEXT=$ac_cv_objext 2788 OBJEXT=$ac_cv_objext
2293 ac_objext=$OBJEXT 2789 ac_objext=$OBJEXT
2294 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2790 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2295 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2791 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2296 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2792 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6 2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else 2794 else
2299 cat >conftest.$ac_ext <<_ACEOF 2795 cat >conftest.$ac_ext <<_ACEOF
2300 /* confdefs.h. */ 2796 /* confdefs.h. */
2313 ; 2809 ;
2314 return 0; 2810 return 0;
2315 } 2811 }
2316 _ACEOF 2812 _ACEOF
2317 rm -f conftest.$ac_objext 2813 rm -f conftest.$ac_objext
2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2814 if { (ac_try="$ac_compile"
2319 (eval $ac_compile) 2>conftest.er1 2815 case "(($ac_try" in
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2818 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compile") 2>conftest.er1
2320 ac_status=$? 2821 ac_status=$?
2321 grep -v '^ *+' conftest.er1 >conftest.err 2822 grep -v '^ *+' conftest.er1 >conftest.err
2322 rm -f conftest.er1 2823 rm -f conftest.er1
2323 cat conftest.err >&5 2824 cat conftest.err >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); } && 2826 (exit $ac_status); } && {
2326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2827 test -z "$ac_c_werror_flag" ||
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2828 test ! -s conftest.err
2328 (eval $ac_try) 2>&5 2829 } && test -s conftest.$ac_objext; then
2329 ac_status=$?
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; } &&
2332 { ac_try='test -s conftest.$ac_objext'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 (eval $ac_try) 2>&5
2335 ac_status=$?
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; }; then
2338 ac_compiler_gnu=yes 2830 ac_compiler_gnu=yes
2339 else 2831 else
2340 echo "$as_me: failed program was:" >&5 2832 echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.$ac_ext >&5 2833 sed 's/^/| /' conftest.$ac_ext >&5
2342 2834
2343 ac_compiler_gnu=no 2835 ac_compiler_gnu=no
2344 fi 2836 fi
2345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2837
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2346 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2839 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2347 2840
2348 fi 2841 fi
2349 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2842 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2350 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2843 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2351 GCC=`test $ac_compiler_gnu = yes && echo yes` 2844 GCC=`test $ac_compiler_gnu = yes && echo yes`
2352 ac_test_CFLAGS=${CFLAGS+set} 2845 ac_test_CFLAGS=${CFLAGS+set}
2353 ac_save_CFLAGS=$CFLAGS 2846 ac_save_CFLAGS=$CFLAGS
2354 CFLAGS="-g" 2847 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2355 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2848 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2356 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2357 if test "${ac_cv_prog_cc_g+set}" = set; then 2849 if test "${ac_cv_prog_cc_g+set}" = set; then
2358 echo $ECHO_N "(cached) $ECHO_C" >&6 2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 else 2851 else
2360 cat >conftest.$ac_ext <<_ACEOF 2852 ac_save_c_werror_flag=$ac_c_werror_flag
2853 ac_c_werror_flag=yes
2854 ac_cv_prog_cc_g=no
2855 CFLAGS="-g"
2856 cat >conftest.$ac_ext <<_ACEOF
2361 /* confdefs.h. */ 2857 /* confdefs.h. */
2362 _ACEOF 2858 _ACEOF
2363 cat confdefs.h >>conftest.$ac_ext 2859 cat confdefs.h >>conftest.$ac_ext
2364 cat >>conftest.$ac_ext <<_ACEOF 2860 cat >>conftest.$ac_ext <<_ACEOF
2365 /* end confdefs.h. */ 2861 /* end confdefs.h. */
2371 ; 2867 ;
2372 return 0; 2868 return 0;
2373 } 2869 }
2374 _ACEOF 2870 _ACEOF
2375 rm -f conftest.$ac_objext 2871 rm -f conftest.$ac_objext
2376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2872 if { (ac_try="$ac_compile"
2377 (eval $ac_compile) 2>conftest.er1 2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878 (eval "$ac_compile") 2>conftest.er1
2378 ac_status=$? 2879 ac_status=$?
2379 grep -v '^ *+' conftest.er1 >conftest.err 2880 grep -v '^ *+' conftest.er1 >conftest.err
2380 rm -f conftest.er1 2881 rm -f conftest.er1
2381 cat conftest.err >&5 2882 cat conftest.err >&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } && 2884 (exit $ac_status); } && {
2384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2885 test -z "$ac_c_werror_flag" ||
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2886 test ! -s conftest.err
2386 (eval $ac_try) 2>&5 2887 } && test -s conftest.$ac_objext; then
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; } &&
2390 { ac_try='test -s conftest.$ac_objext'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392 (eval $ac_try) 2>&5
2393 ac_status=$?
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2396 ac_cv_prog_cc_g=yes 2888 ac_cv_prog_cc_g=yes
2397 else 2889 else
2398 echo "$as_me: failed program was:" >&5 2890 echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5 2891 sed 's/^/| /' conftest.$ac_ext >&5
2400 2892
2401 ac_cv_prog_cc_g=no 2893 CFLAGS=""
2402 fi 2894 cat >conftest.$ac_ext <<_ACEOF
2403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2895 /* confdefs.h. */
2404 fi 2896 _ACEOF
2405 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2897 cat confdefs.h >>conftest.$ac_ext
2406 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2900
2901 int
2902 main ()
2903 {
2904
2905 ;
2906 return 0;
2907 }
2908 _ACEOF
2909 rm -f conftest.$ac_objext
2910 if { (ac_try="$ac_compile"
2911 case "(($ac_try" in
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2914 esac
2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916 (eval "$ac_compile") 2>conftest.er1
2917 ac_status=$?
2918 grep -v '^ *+' conftest.er1 >conftest.err
2919 rm -f conftest.er1
2920 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && {
2923 test -z "$ac_c_werror_flag" ||
2924 test ! -s conftest.err
2925 } && test -s conftest.$ac_objext; then
2926 :
2927 else
2928 echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2930
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2932 CFLAGS="-g"
2933 cat >conftest.$ac_ext <<_ACEOF
2934 /* confdefs.h. */
2935 _ACEOF
2936 cat confdefs.h >>conftest.$ac_ext
2937 cat >>conftest.$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2939
2940 int
2941 main ()
2942 {
2943
2944 ;
2945 return 0;
2946 }
2947 _ACEOF
2948 rm -f conftest.$ac_objext
2949 if { (ac_try="$ac_compile"
2950 case "(($ac_try" in
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2953 esac
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compile") 2>conftest.er1
2956 ac_status=$?
2957 grep -v '^ *+' conftest.er1 >conftest.err
2958 rm -f conftest.er1
2959 cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); } && {
2962 test -z "$ac_c_werror_flag" ||
2963 test ! -s conftest.err
2964 } && test -s conftest.$ac_objext; then
2965 ac_cv_prog_cc_g=yes
2966 else
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2969
2970
2971 fi
2972
2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 fi
2975
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 fi
2978
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 ac_c_werror_flag=$ac_save_c_werror_flag
2981 fi
2982 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2983 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2407 if test "$ac_test_CFLAGS" = set; then 2984 if test "$ac_test_CFLAGS" = set; then
2408 CFLAGS=$ac_save_CFLAGS 2985 CFLAGS=$ac_save_CFLAGS
2409 elif test $ac_cv_prog_cc_g = yes; then 2986 elif test $ac_cv_prog_cc_g = yes; then
2410 if test "$GCC" = yes; then 2987 if test "$GCC" = yes; then
2411 CFLAGS="-g -O2" 2988 CFLAGS="-g -O2"
2417 CFLAGS="-O2" 2994 CFLAGS="-O2"
2418 else 2995 else
2419 CFLAGS= 2996 CFLAGS=
2420 fi 2997 fi
2421 fi 2998 fi
2422 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2999 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2423 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3000 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2424 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3001 if test "${ac_cv_prog_cc_c89+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6 3002 echo $ECHO_N "(cached) $ECHO_C" >&6
2426 else 3003 else
2427 ac_cv_prog_cc_stdc=no 3004 ac_cv_prog_cc_c89=no
2428 ac_save_CC=$CC 3005 ac_save_CC=$CC
2429 cat >conftest.$ac_ext <<_ACEOF 3006 cat >conftest.$ac_ext <<_ACEOF
2430 /* confdefs.h. */ 3007 /* confdefs.h. */
2431 _ACEOF 3008 _ACEOF
2432 cat confdefs.h >>conftest.$ac_ext 3009 cat confdefs.h >>conftest.$ac_ext
2456 } 3033 }
2457 3034
2458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3035 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2459 function prototypes and stuff, but not '\xHH' hex character constants. 3036 function prototypes and stuff, but not '\xHH' hex character constants.
2460 These don't provoke an error unfortunately, instead are silently treated 3037 These don't provoke an error unfortunately, instead are silently treated
2461 as 'x'. The following induces an error, until -std1 is added to get 3038 as 'x'. The following induces an error, until -std is added to get
2462 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3039 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2463 array size at least. It's necessary to write '\x00'==0 to get something 3040 array size at least. It's necessary to write '\x00'==0 to get something
2464 that's true only with -std1. */ 3041 that's true only with -std. */
2465 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3042 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3043
3044 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3045 inside strings and character constants. */
3046 #define FOO(x) 'x'
3047 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2466 3048
2467 int test (int i, double x); 3049 int test (int i, double x);
2468 struct s1 {int (*f) (int a);}; 3050 struct s1 {int (*f) (int a);};
2469 struct s2 {int (*f) (double a);}; 3051 struct s2 {int (*f) (double a);};
2470 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3052 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2476 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3058 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2477 ; 3059 ;
2478 return 0; 3060 return 0;
2479 } 3061 }
2480 _ACEOF 3062 _ACEOF
2481 # Don't try gcc -ansi; that turns off useful extensions and 3063 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2482 # breaks some systems' header files. 3064 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2483 # AIX -qlanglvl=ansi
2484 # Ultrix and OSF/1 -std1
2485 # HP-UX 10.20 and later -Ae
2486 # HP-UX older versions -Aa -D_HPUX_SOURCE
2487 # SVR4 -Xc -D__EXTENSIONS__
2488 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2489 do 3065 do
2490 CC="$ac_save_CC $ac_arg" 3066 CC="$ac_save_CC $ac_arg"
2491 rm -f conftest.$ac_objext 3067 rm -f conftest.$ac_objext
2492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3068 if { (ac_try="$ac_compile"
2493 (eval $ac_compile) 2>conftest.er1 3069 case "(($ac_try" in
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3072 esac
3073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3074 (eval "$ac_compile") 2>conftest.er1
2494 ac_status=$? 3075 ac_status=$?
2495 grep -v '^ *+' conftest.er1 >conftest.err 3076 grep -v '^ *+' conftest.er1 >conftest.err
2496 rm -f conftest.er1 3077 rm -f conftest.er1
2497 cat conftest.err >&5 3078 cat conftest.err >&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); } && 3080 (exit $ac_status); } && {
2500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3081 test -z "$ac_c_werror_flag" ||
2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3082 test ! -s conftest.err
2502 (eval $ac_try) 2>&5 3083 } && test -s conftest.$ac_objext; then
2503 ac_status=$? 3084 ac_cv_prog_cc_c89=$ac_arg
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; } &&
2506 { ac_try='test -s conftest.$ac_objext'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508 (eval $ac_try) 2>&5
2509 ac_status=$?
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; }; then
2512 ac_cv_prog_cc_stdc=$ac_arg
2513 break
2514 else 3085 else
2515 echo "$as_me: failed program was:" >&5 3086 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5 3087 sed 's/^/| /' conftest.$ac_ext >&5
2517 3088
2518 fi 3089
2519 rm -f conftest.err conftest.$ac_objext 3090 fi
3091
3092 rm -f core conftest.err conftest.$ac_objext
3093 test "x$ac_cv_prog_cc_c89" != "xno" && break
2520 done 3094 done
2521 rm -f conftest.$ac_ext conftest.$ac_objext 3095 rm -f conftest.$ac_ext
2522 CC=$ac_save_CC 3096 CC=$ac_save_CC
2523 3097
2524 fi 3098 fi
2525 3099 # AC_CACHE_VAL
2526 case "x$ac_cv_prog_cc_stdc" in 3100 case "x$ac_cv_prog_cc_c89" in
2527 x|xno) 3101 x)
2528 echo "$as_me:$LINENO: result: none needed" >&5 3102 { echo "$as_me:$LINENO: result: none needed" >&5
2529 echo "${ECHO_T}none needed" >&6 ;; 3103 echo "${ECHO_T}none needed" >&6; } ;;
3104 xno)
3105 { echo "$as_me:$LINENO: result: unsupported" >&5
3106 echo "${ECHO_T}unsupported" >&6; } ;;
2530 *) 3107 *)
2531 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 3108 CC="$CC $ac_cv_prog_cc_c89"
2532 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3109 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2533 CC="$CC $ac_cv_prog_cc_stdc" ;; 3110 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2534 esac 3111 esac
2535 3112
2536 # Some people use a C++ compiler to compile C. Since we use `exit', 3113
2537 # in C++ we need to declare it. In case someone uses the same compiler
2538 # for both compiling C and C++ we need to have the C++ compiler decide
2539 # the declaration of exit, since it's the most demanding environment.
2540 cat >conftest.$ac_ext <<_ACEOF
2541 #ifndef __cplusplus
2542 choke me
2543 #endif
2544 _ACEOF
2545 rm -f conftest.$ac_objext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 2>conftest.er1
2548 ac_status=$?
2549 grep -v '^ *+' conftest.er1 >conftest.err
2550 rm -f conftest.er1
2551 cat conftest.err >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } &&
2554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 (eval $ac_try) 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; } &&
2560 { ac_try='test -s conftest.$ac_objext'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 (eval $ac_try) 2>&5
2563 ac_status=$?
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; }; then
2566 for ac_declaration in \
2567 '' \
2568 'extern "C" void std::exit (int) throw (); using std::exit;' \
2569 'extern "C" void std::exit (int); using std::exit;' \
2570 'extern "C" void exit (int) throw ();' \
2571 'extern "C" void exit (int);' \
2572 'void exit (int);'
2573 do
2574 cat >conftest.$ac_ext <<_ACEOF
2575 /* confdefs.h. */
2576 _ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2580 $ac_declaration
2581 #include <stdlib.h>
2582 int
2583 main ()
2584 {
2585 exit (42);
2586 ;
2587 return 0;
2588 }
2589 _ACEOF
2590 rm -f conftest.$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>conftest.er1
2593 ac_status=$?
2594 grep -v '^ *+' conftest.er1 >conftest.err
2595 rm -f conftest.er1
2596 cat conftest.err >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } &&
2599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 (eval $ac_try) 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; } &&
2605 { ac_try='test -s conftest.$ac_objext'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 (eval $ac_try) 2>&5
2608 ac_status=$?
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; }; then
2611 :
2612 else
2613 echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2615
2616 continue
2617 fi
2618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2619 cat >conftest.$ac_ext <<_ACEOF
2620 /* confdefs.h. */
2621 _ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2625 $ac_declaration
2626 int
2627 main ()
2628 {
2629 exit (42);
2630 ;
2631 return 0;
2632 }
2633 _ACEOF
2634 rm -f conftest.$ac_objext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>conftest.er1
2637 ac_status=$?
2638 grep -v '^ *+' conftest.er1 >conftest.err
2639 rm -f conftest.er1
2640 cat conftest.err >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 (eval $ac_try) 2>&5
2646 ac_status=$?
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; } &&
2649 { ac_try='test -s conftest.$ac_objext'
2650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 (eval $ac_try) 2>&5
2652 ac_status=$?
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; }; then
2655 break
2656 else
2657 echo "$as_me: failed program was:" >&5
2658 sed 's/^/| /' conftest.$ac_ext >&5
2659
2660 fi
2661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2662 done
2663 rm -f conftest*
2664 if test -n "$ac_declaration"; then
2665 echo '#ifdef __cplusplus' >>confdefs.h
2666 echo $ac_declaration >>confdefs.h
2667 echo '#endif' >>confdefs.h
2668 fi
2669
2670 else
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2673
2674 fi
2675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_ext=c 3114 ac_ext=c
2677 ac_cpp='$CPP $CPPFLAGS' 3115 ac_cpp='$CPP $CPPFLAGS'
2678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2681 DEPDIR="${am__leading_dot}deps" 3119 DEPDIR="${am__leading_dot}deps"
2682 3120
2683 ac_config_commands="$ac_config_commands depfiles" 3121 ac_config_commands="$ac_config_commands depfiles"
2684 3122
2685 3123
2686 am_make=${MAKE-make} 3124 am_make=${MAKE-make}
2687 cat > confinc << 'END' 3125 cat > confinc << 'END'
2688 am__doit: 3126 am__doit:
2689 @echo done 3127 @echo done
2690 .PHONY: am__doit 3128 .PHONY: am__doit
2691 END 3129 END
2692 # If we don't find an include directive, just comment out the code. 3130 # If we don't find an include directive, just comment out the code.
2693 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3131 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2694 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3132 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2695 am__include="#" 3133 am__include="#"
2696 am__quote= 3134 am__quote=
2697 _am_result=none 3135 _am_result=none
2698 # First try GNU make style include. 3136 # First try GNU make style include.
2699 echo "include confinc" > confmf 3137 echo "include confinc" > confmf
2716 _am_result=BSD 3154 _am_result=BSD
2717 fi 3155 fi
2718 fi 3156 fi
2719 3157
2720 3158
2721 echo "$as_me:$LINENO: result: $_am_result" >&5 3159 { echo "$as_me:$LINENO: result: $_am_result" >&5
2722 echo "${ECHO_T}$_am_result" >&6 3160 echo "${ECHO_T}$_am_result" >&6; }
2723 rm -f confinc confmf 3161 rm -f confinc confmf
2724 3162
2725 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 3163 # Check whether --enable-dependency-tracking was given.
2726 if test "${enable_dependency_tracking+set}" = set; then 3164 if test "${enable_dependency_tracking+set}" = set; then
2727 enableval="$enable_dependency_tracking" 3165 enableval=$enable_dependency_tracking;
2728 3166 fi
2729 fi; 3167
2730 if test "x$enable_dependency_tracking" != xno; then 3168 if test "x$enable_dependency_tracking" != xno; then
2731 am_depcomp="$ac_aux_dir/depcomp" 3169 am_depcomp="$ac_aux_dir/depcomp"
2732 AMDEPBACKSLASH='\' 3170 AMDEPBACKSLASH='\'
2733 fi 3171 fi
2734 3172
2744 3182
2745 3183
2746 3184
2747 depcc="$CC" am_compiler_list= 3185 depcc="$CC" am_compiler_list=
2748 3186
2749 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3187 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2750 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3188 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2751 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3189 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6 3190 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 else 3191 else
2754 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3192 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2755 # We make a subdir and do the tests there. Otherwise we can end up 3193 # We make a subdir and do the tests there. Otherwise we can end up
2827 else 3265 else
2828 am_cv_CC_dependencies_compiler_type=none 3266 am_cv_CC_dependencies_compiler_type=none
2829 fi 3267 fi
2830 3268
2831 fi 3269 fi
2832 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3270 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2833 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3271 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
2834 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3272 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2835 3273
2836 3274
2837 3275
2838 if 3276 if
2845 am__fastdepCC_FALSE= 3283 am__fastdepCC_FALSE=
2846 fi 3284 fi
2847 3285
2848 3286
2849 3287
2850 3288 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
2851 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 3289 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
2852 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6 3290 if test "${ac_cv_search_strerror+set}" = set; then
2853 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6 3291 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 else 3292 else
2856 ac_check_lib_save_LIBS=$LIBS 3293 ac_func_search_save_LIBS=$LIBS
2857 LIBS="-lcposix $LIBS"
2858 cat >conftest.$ac_ext <<_ACEOF 3294 cat >conftest.$ac_ext <<_ACEOF
2859 /* confdefs.h. */ 3295 /* confdefs.h. */
2860 _ACEOF 3296 _ACEOF
2861 cat confdefs.h >>conftest.$ac_ext 3297 cat confdefs.h >>conftest.$ac_ext
2862 cat >>conftest.$ac_ext <<_ACEOF 3298 cat >>conftest.$ac_ext <<_ACEOF
2863 /* end confdefs.h. */ 3299 /* end confdefs.h. */
2864 3300
2865 /* Override any gcc2 internal prototype to avoid an error. */ 3301 /* Override any GCC internal prototype to avoid an error.
3302 Use char because int might match the return type of a GCC
3303 builtin and then its argument prototype would still apply. */
2866 #ifdef __cplusplus 3304 #ifdef __cplusplus
2867 extern "C" 3305 extern "C"
2868 #endif 3306 #endif
2869 /* We use char because int might match the return type of a gcc2
2870 builtin and then its argument prototype would still apply. */
2871 char strerror (); 3307 char strerror ();
2872 int 3308 int
2873 main () 3309 main ()
2874 { 3310 {
2875 strerror (); 3311 return strerror ();
2876 ; 3312 ;
2877 return 0; 3313 return 0;
2878 } 3314 }
2879 _ACEOF 3315 _ACEOF
2880 rm -f conftest.$ac_objext conftest$ac_exeext 3316 for ac_lib in '' cposix; do
2881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3317 if test -z "$ac_lib"; then
2882 (eval $ac_link) 2>conftest.er1 3318 ac_res="none required"
3319 else
3320 ac_res=-l$ac_lib
3321 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3322 fi
3323 rm -f conftest.$ac_objext conftest$ac_exeext
3324 if { (ac_try="$ac_link"
3325 case "(($ac_try" in
3326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3328 esac
3329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3330 (eval "$ac_link") 2>conftest.er1
2883 ac_status=$? 3331 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err 3332 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1 3333 rm -f conftest.er1
2886 cat conftest.err >&5 3334 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } && 3336 (exit $ac_status); } && {
2889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3337 test -z "$ac_c_werror_flag" ||
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3338 test ! -s conftest.err
2891 (eval $ac_try) 2>&5 3339 } && test -s conftest$ac_exeext &&
2892 ac_status=$? 3340 $as_test_x conftest$ac_exeext; then
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3341 ac_cv_search_strerror=$ac_res
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest$ac_exeext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 (eval $ac_try) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 ac_cv_lib_cposix_strerror=yes
2902 else 3342 else
2903 echo "$as_me: failed program was:" >&5 3343 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.$ac_ext >&5 3344 sed 's/^/| /' conftest.$ac_ext >&5
2905 3345
2906 ac_cv_lib_cposix_strerror=no 3346
2907 fi 3347 fi
2908 rm -f conftest.err conftest.$ac_objext \ 3348
2909 conftest$ac_exeext conftest.$ac_ext 3349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2910 LIBS=$ac_check_lib_save_LIBS 3350 conftest$ac_exeext
2911 fi 3351 if test "${ac_cv_search_strerror+set}" = set; then
2912 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 3352 break
2913 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6 3353 fi
2914 if test $ac_cv_lib_cposix_strerror = yes; then 3354 done
2915 LIBS="$LIBS -lcposix" 3355 if test "${ac_cv_search_strerror+set}" = set; then
2916 fi 3356 :
2917 3357 else
2918 3358 ac_cv_search_strerror=no
3359 fi
3360 rm conftest.$ac_ext
3361 LIBS=$ac_func_search_save_LIBS
3362 fi
3363 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3364 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3365 ac_res=$ac_cv_search_strerror
3366 if test "$ac_res" != no; then
3367 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3368
3369 fi
2919 3370
2920 ac_ext=c 3371 ac_ext=c
2921 ac_cpp='$CPP $CPPFLAGS' 3372 ac_cpp='$CPP $CPPFLAGS'
2922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2924 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2925 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3376 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2926 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3377 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2927 # On Suns, sometimes $CPP names a directory. 3378 # On Suns, sometimes $CPP names a directory.
2928 if test -n "$CPP" && test -d "$CPP"; then 3379 if test -n "$CPP" && test -d "$CPP"; then
2929 CPP= 3380 CPP=
2930 fi 3381 fi
2931 if test -z "$CPP"; then 3382 if test -z "$CPP"; then
2955 #else 3406 #else
2956 # include <assert.h> 3407 # include <assert.h>
2957 #endif 3408 #endif
2958 Syntax error 3409 Syntax error
2959 _ACEOF 3410 _ACEOF
2960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3411 if { (ac_try="$ac_cpp conftest.$ac_ext"
2961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3412 case "(($ac_try" in
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3415 esac
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2962 ac_status=$? 3418 ac_status=$?
2963 grep -v '^ *+' conftest.er1 >conftest.err 3419 grep -v '^ *+' conftest.er1 >conftest.err
2964 rm -f conftest.er1 3420 rm -f conftest.er1
2965 cat conftest.err >&5 3421 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } >/dev/null; then 3423 (exit $ac_status); } >/dev/null && {
2968 if test -s conftest.err; then 3424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2969 ac_cpp_err=$ac_c_preproc_warn_flag 3425 test ! -s conftest.err
2970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3426 }; then
2971 else
2972 ac_cpp_err=
2973 fi
2974 else
2975 ac_cpp_err=yes
2976 fi
2977 if test -z "$ac_cpp_err"; then
2978 : 3427 :
2979 else 3428 else
2980 echo "$as_me: failed program was:" >&5 3429 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5 3430 sed 's/^/| /' conftest.$ac_ext >&5
2982 3431
2983 # Broken: fails on valid input. 3432 # Broken: fails on valid input.
2984 continue 3433 continue
2985 fi 3434 fi
3435
2986 rm -f conftest.err conftest.$ac_ext 3436 rm -f conftest.err conftest.$ac_ext
2987 3437
2988 # OK, works on sane cases. Now check whether non-existent headers 3438 # OK, works on sane cases. Now check whether nonexistent headers
2989 # can be detected and how. 3439 # can be detected and how.
2990 cat >conftest.$ac_ext <<_ACEOF 3440 cat >conftest.$ac_ext <<_ACEOF
2991 /* confdefs.h. */ 3441 /* confdefs.h. */
2992 _ACEOF 3442 _ACEOF
2993 cat confdefs.h >>conftest.$ac_ext 3443 cat confdefs.h >>conftest.$ac_ext
2994 cat >>conftest.$ac_ext <<_ACEOF 3444 cat >>conftest.$ac_ext <<_ACEOF
2995 /* end confdefs.h. */ 3445 /* end confdefs.h. */
2996 #include <ac_nonexistent.h> 3446 #include <ac_nonexistent.h>
2997 _ACEOF 3447 _ACEOF
2998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3448 if { (ac_try="$ac_cpp conftest.$ac_ext"
2999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3449 case "(($ac_try" in
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3452 esac
3453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3000 ac_status=$? 3455 ac_status=$?
3001 grep -v '^ *+' conftest.er1 >conftest.err 3456 grep -v '^ *+' conftest.er1 >conftest.err
3002 rm -f conftest.er1 3457 rm -f conftest.er1
3003 cat conftest.err >&5 3458 cat conftest.err >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } >/dev/null; then 3460 (exit $ac_status); } >/dev/null && {
3006 if test -s conftest.err; then 3461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3007 ac_cpp_err=$ac_c_preproc_warn_flag 3462 test ! -s conftest.err
3008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3463 }; then
3009 else
3010 ac_cpp_err=
3011 fi
3012 else
3013 ac_cpp_err=yes
3014 fi
3015 if test -z "$ac_cpp_err"; then
3016 # Broken: success on invalid input. 3464 # Broken: success on invalid input.
3017 continue 3465 continue
3018 else 3466 else
3019 echo "$as_me: failed program was:" >&5 3467 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5 3468 sed 's/^/| /' conftest.$ac_ext >&5
3021 3469
3022 # Passes both tests. 3470 # Passes both tests.
3023 ac_preproc_ok=: 3471 ac_preproc_ok=:
3024 break 3472 break
3025 fi 3473 fi
3474
3026 rm -f conftest.err conftest.$ac_ext 3475 rm -f conftest.err conftest.$ac_ext
3027 3476
3028 done 3477 done
3029 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3030 rm -f conftest.err conftest.$ac_ext 3479 rm -f conftest.err conftest.$ac_ext
3038 fi 3487 fi
3039 CPP=$ac_cv_prog_CPP 3488 CPP=$ac_cv_prog_CPP
3040 else 3489 else
3041 ac_cv_prog_CPP=$CPP 3490 ac_cv_prog_CPP=$CPP
3042 fi 3491 fi
3043 echo "$as_me:$LINENO: result: $CPP" >&5 3492 { echo "$as_me:$LINENO: result: $CPP" >&5
3044 echo "${ECHO_T}$CPP" >&6 3493 echo "${ECHO_T}$CPP" >&6; }
3045 ac_preproc_ok=false 3494 ac_preproc_ok=false
3046 for ac_c_preproc_warn_flag in '' yes 3495 for ac_c_preproc_warn_flag in '' yes
3047 do 3496 do
3048 # Use a header file that comes with gcc, so configuring glibc 3497 # Use a header file that comes with gcc, so configuring glibc
3049 # with a fresh cross-compiler works. 3498 # with a fresh cross-compiler works.
3062 #else 3511 #else
3063 # include <assert.h> 3512 # include <assert.h>
3064 #endif 3513 #endif
3065 Syntax error 3514 Syntax error
3066 _ACEOF 3515 _ACEOF
3067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3516 if { (ac_try="$ac_cpp conftest.$ac_ext"
3068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3517 case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3520 esac
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3069 ac_status=$? 3523 ac_status=$?
3070 grep -v '^ *+' conftest.er1 >conftest.err 3524 grep -v '^ *+' conftest.er1 >conftest.err
3071 rm -f conftest.er1 3525 rm -f conftest.er1
3072 cat conftest.err >&5 3526 cat conftest.err >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } >/dev/null; then 3528 (exit $ac_status); } >/dev/null && {
3075 if test -s conftest.err; then 3529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3076 ac_cpp_err=$ac_c_preproc_warn_flag 3530 test ! -s conftest.err
3077 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3531 }; then
3078 else
3079 ac_cpp_err=
3080 fi
3081 else
3082 ac_cpp_err=yes
3083 fi
3084 if test -z "$ac_cpp_err"; then
3085 : 3532 :
3086 else 3533 else
3087 echo "$as_me: failed program was:" >&5 3534 echo "$as_me: failed program was:" >&5
3088 sed 's/^/| /' conftest.$ac_ext >&5 3535 sed 's/^/| /' conftest.$ac_ext >&5
3089 3536
3090 # Broken: fails on valid input. 3537 # Broken: fails on valid input.
3091 continue 3538 continue
3092 fi 3539 fi
3540
3093 rm -f conftest.err conftest.$ac_ext 3541 rm -f conftest.err conftest.$ac_ext
3094 3542
3095 # OK, works on sane cases. Now check whether non-existent headers 3543 # OK, works on sane cases. Now check whether nonexistent headers
3096 # can be detected and how. 3544 # can be detected and how.
3097 cat >conftest.$ac_ext <<_ACEOF 3545 cat >conftest.$ac_ext <<_ACEOF
3098 /* confdefs.h. */ 3546 /* confdefs.h. */
3099 _ACEOF 3547 _ACEOF
3100 cat confdefs.h >>conftest.$ac_ext 3548 cat confdefs.h >>conftest.$ac_ext
3101 cat >>conftest.$ac_ext <<_ACEOF 3549 cat >>conftest.$ac_ext <<_ACEOF
3102 /* end confdefs.h. */ 3550 /* end confdefs.h. */
3103 #include <ac_nonexistent.h> 3551 #include <ac_nonexistent.h>
3104 _ACEOF 3552 _ACEOF
3105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3553 if { (ac_try="$ac_cpp conftest.$ac_ext"
3106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3554 case "(($ac_try" in
3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3557 esac
3558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3107 ac_status=$? 3560 ac_status=$?
3108 grep -v '^ *+' conftest.er1 >conftest.err 3561 grep -v '^ *+' conftest.er1 >conftest.err
3109 rm -f conftest.er1 3562 rm -f conftest.er1
3110 cat conftest.err >&5 3563 cat conftest.err >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); } >/dev/null; then 3565 (exit $ac_status); } >/dev/null && {
3113 if test -s conftest.err; then 3566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3114 ac_cpp_err=$ac_c_preproc_warn_flag 3567 test ! -s conftest.err
3115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3568 }; then
3116 else
3117 ac_cpp_err=
3118 fi
3119 else
3120 ac_cpp_err=yes
3121 fi
3122 if test -z "$ac_cpp_err"; then
3123 # Broken: success on invalid input. 3569 # Broken: success on invalid input.
3124 continue 3570 continue
3125 else 3571 else
3126 echo "$as_me: failed program was:" >&5 3572 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5 3573 sed 's/^/| /' conftest.$ac_ext >&5
3128 3574
3129 # Passes both tests. 3575 # Passes both tests.
3130 ac_preproc_ok=: 3576 ac_preproc_ok=:
3131 break 3577 break
3132 fi 3578 fi
3579
3133 rm -f conftest.err conftest.$ac_ext 3580 rm -f conftest.err conftest.$ac_ext
3134 3581
3135 done 3582 done
3136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3583 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3137 rm -f conftest.err conftest.$ac_ext 3584 rm -f conftest.err conftest.$ac_ext
3150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3152 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3153 3600
3154 3601
3155 echo "$as_me:$LINENO: checking for egrep" >&5 3602 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3156 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3603 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3157 if test "${ac_cv_prog_egrep+set}" = set; then 3604 if test "${ac_cv_path_GREP+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6 3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else 3606 else
3160 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3607 # Extract the first word of "grep ggrep" to use in msg output
3161 then ac_cv_prog_egrep='grep -E' 3608 if test -z "$GREP"; then
3162 else ac_cv_prog_egrep='egrep' 3609 set dummy grep ggrep; ac_prog_name=$2
3610 if test "${ac_cv_path_GREP+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 else
3613 ac_path_GREP_found=false
3614 # Loop through the user's path and test for each of PROGNAME-LIST
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3617 do
3618 IFS=$as_save_IFS
3619 test -z "$as_dir" && as_dir=.
3620 for ac_prog in grep ggrep; do
3621 for ac_exec_ext in '' $ac_executable_extensions; do
3622 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3623 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3624 # Check for GNU ac_path_GREP and select it if it is found.
3625 # Check for GNU $ac_path_GREP
3626 case `"$ac_path_GREP" --version 2>&1` in
3627 *GNU*)
3628 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3629 *)
3630 ac_count=0
3631 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3632 while :
3633 do
3634 cat "conftest.in" "conftest.in" >"conftest.tmp"
3635 mv "conftest.tmp" "conftest.in"
3636 cp "conftest.in" "conftest.nl"
3637 echo 'GREP' >> "conftest.nl"
3638 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3639 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3640 ac_count=`expr $ac_count + 1`
3641 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3642 # Best one so far, save it but keep looking for a better one
3643 ac_cv_path_GREP="$ac_path_GREP"
3644 ac_path_GREP_max=$ac_count
3163 fi 3645 fi
3164 fi 3646 # 10*(2^10) chars as input seems more than enough
3165 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3647 test $ac_count -gt 10 && break
3166 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3648 done
3167 EGREP=$ac_cv_prog_egrep 3649 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3168 3650 esac
3169 3651
3170 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3652
3171 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3653 $ac_path_GREP_found && break 3
3654 done
3655 done
3656
3657 done
3658 IFS=$as_save_IFS
3659
3660
3661 fi
3662
3663 GREP="$ac_cv_path_GREP"
3664 if test -z "$GREP"; then
3665 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3666 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3667 { (exit 1); exit 1; }; }
3668 fi
3669
3670 else
3671 ac_cv_path_GREP=$GREP
3672 fi
3673
3674
3675 fi
3676 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3677 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3678 GREP="$ac_cv_path_GREP"
3679
3680
3681 { echo "$as_me:$LINENO: checking for egrep" >&5
3682 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3683 if test "${ac_cv_path_EGREP+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 else
3686 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3687 then ac_cv_path_EGREP="$GREP -E"
3688 else
3689 # Extract the first word of "egrep" to use in msg output
3690 if test -z "$EGREP"; then
3691 set dummy egrep; ac_prog_name=$2
3692 if test "${ac_cv_path_EGREP+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 else
3695 ac_path_EGREP_found=false
3696 # Loop through the user's path and test for each of PROGNAME-LIST
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3699 do
3700 IFS=$as_save_IFS
3701 test -z "$as_dir" && as_dir=.
3702 for ac_prog in egrep; do
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3705 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3706 # Check for GNU ac_path_EGREP and select it if it is found.
3707 # Check for GNU $ac_path_EGREP
3708 case `"$ac_path_EGREP" --version 2>&1` in
3709 *GNU*)
3710 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3711 *)
3712 ac_count=0
3713 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3714 while :
3715 do
3716 cat "conftest.in" "conftest.in" >"conftest.tmp"
3717 mv "conftest.tmp" "conftest.in"
3718 cp "conftest.in" "conftest.nl"
3719 echo 'EGREP' >> "conftest.nl"
3720 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3721 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3722 ac_count=`expr $ac_count + 1`
3723 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3724 # Best one so far, save it but keep looking for a better one
3725 ac_cv_path_EGREP="$ac_path_EGREP"
3726 ac_path_EGREP_max=$ac_count
3727 fi
3728 # 10*(2^10) chars as input seems more than enough
3729 test $ac_count -gt 10 && break
3730 done
3731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3732 esac
3733
3734
3735 $ac_path_EGREP_found && break 3
3736 done
3737 done
3738
3739 done
3740 IFS=$as_save_IFS
3741
3742
3743 fi
3744
3745 EGREP="$ac_cv_path_EGREP"
3746 if test -z "$EGREP"; then
3747 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3748 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3749 { (exit 1); exit 1; }; }
3750 fi
3751
3752 else
3753 ac_cv_path_EGREP=$EGREP
3754 fi
3755
3756
3757 fi
3758 fi
3759 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3760 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3761 EGREP="$ac_cv_path_EGREP"
3762
3763
3764 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3765 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3172 if test "${ac_cv_header_stdc+set}" = set; then 3766 if test "${ac_cv_header_stdc+set}" = set; then
3173 echo $ECHO_N "(cached) $ECHO_C" >&6 3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 else 3768 else
3175 cat >conftest.$ac_ext <<_ACEOF 3769 cat >conftest.$ac_ext <<_ACEOF
3176 /* confdefs.h. */ 3770 /* confdefs.h. */
3190 ; 3784 ;
3191 return 0; 3785 return 0;
3192 } 3786 }
3193 _ACEOF 3787 _ACEOF
3194 rm -f conftest.$ac_objext 3788 rm -f conftest.$ac_objext
3195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3789 if { (ac_try="$ac_compile"
3196 (eval $ac_compile) 2>conftest.er1 3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_compile") 2>conftest.er1
3197 ac_status=$? 3796 ac_status=$?
3198 grep -v '^ *+' conftest.er1 >conftest.err 3797 grep -v '^ *+' conftest.er1 >conftest.err
3199 rm -f conftest.er1 3798 rm -f conftest.er1
3200 cat conftest.err >&5 3799 cat conftest.err >&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } && 3801 (exit $ac_status); } && {
3203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3802 test -z "$ac_c_werror_flag" ||
3204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3803 test ! -s conftest.err
3205 (eval $ac_try) 2>&5 3804 } && test -s conftest.$ac_objext; then
3206 ac_status=$?
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); }; } &&
3209 { ac_try='test -s conftest.$ac_objext'
3210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211 (eval $ac_try) 2>&5
3212 ac_status=$?
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); }; }; then
3215 ac_cv_header_stdc=yes 3805 ac_cv_header_stdc=yes
3216 else 3806 else
3217 echo "$as_me: failed program was:" >&5 3807 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5 3808 sed 's/^/| /' conftest.$ac_ext >&5
3219 3809
3220 ac_cv_header_stdc=no 3810 ac_cv_header_stdc=no
3221 fi 3811 fi
3222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3812
3813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 3814
3224 if test $ac_cv_header_stdc = yes; then 3815 if test $ac_cv_header_stdc = yes; then
3225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3816 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3226 cat >conftest.$ac_ext <<_ACEOF 3817 cat >conftest.$ac_ext <<_ACEOF
3227 /* confdefs.h. */ 3818 /* confdefs.h. */
3273 _ACEOF 3864 _ACEOF
3274 cat confdefs.h >>conftest.$ac_ext 3865 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF 3866 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */ 3867 /* end confdefs.h. */
3277 #include <ctype.h> 3868 #include <ctype.h>
3869 #include <stdlib.h>
3278 #if ((' ' & 0x0FF) == 0x020) 3870 #if ((' ' & 0x0FF) == 0x020)
3279 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3280 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3281 #else 3873 #else
3282 # define ISLOWER(c) \ 3874 # define ISLOWER(c) \
3292 { 3884 {
3293 int i; 3885 int i;
3294 for (i = 0; i < 256; i++) 3886 for (i = 0; i < 256; i++)
3295 if (XOR (islower (i), ISLOWER (i)) 3887 if (XOR (islower (i), ISLOWER (i))
3296 || toupper (i) != TOUPPER (i)) 3888 || toupper (i) != TOUPPER (i))
3297 exit(2); 3889 return 2;
3298 exit (0); 3890 return 0;
3299 } 3891 }
3300 _ACEOF 3892 _ACEOF
3301 rm -f conftest$ac_exeext 3893 rm -f conftest$ac_exeext
3302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3894 if { (ac_try="$ac_link"
3303 (eval $ac_link) 2>&5 3895 case "(($ac_try" in
3896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897 *) ac_try_echo=$ac_try;;
3898 esac
3899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3900 (eval "$ac_link") 2>&5
3304 ac_status=$? 3901 ac_status=$?
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3904 { (case "(($ac_try" in
3308 (eval $ac_try) 2>&5 3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3907 esac
3908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3909 (eval "$ac_try") 2>&5
3309 ac_status=$? 3910 ac_status=$?
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; }; then 3912 (exit $ac_status); }; }; then
3312 : 3913 :
3313 else 3914 else
3316 sed 's/^/| /' conftest.$ac_ext >&5 3917 sed 's/^/| /' conftest.$ac_ext >&5
3317 3918
3318 ( exit $ac_status ) 3919 ( exit $ac_status )
3319 ac_cv_header_stdc=no 3920 ac_cv_header_stdc=no
3320 fi 3921 fi
3321 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3322 fi 3923 fi
3323 fi 3924
3324 fi 3925
3325 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3926 fi
3326 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3927 fi
3928 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3929 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3327 if test $ac_cv_header_stdc = yes; then 3930 if test $ac_cv_header_stdc = yes; then
3328 3931
3329 cat >>confdefs.h <<\_ACEOF 3932 cat >>confdefs.h <<\_ACEOF
3330 #define STDC_HEADERS 1 3933 #define STDC_HEADERS 1
3331 _ACEOF 3934 _ACEOF
3333 fi 3936 fi
3334 3937
3335 if test -n "$ac_tool_prefix"; then 3938 if test -n "$ac_tool_prefix"; then
3336 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3939 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3337 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3940 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3338 echo "$as_me:$LINENO: checking for $ac_word" >&5 3941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3340 if test "${ac_cv_prog_RANLIB+set}" = set; then 3943 if test "${ac_cv_prog_RANLIB+set}" = set; then
3341 echo $ECHO_N "(cached) $ECHO_C" >&6 3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 else 3945 else
3343 if test -n "$RANLIB"; then 3946 if test -n "$RANLIB"; then
3344 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3947 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3347 for as_dir in $PATH 3950 for as_dir in $PATH
3348 do 3951 do
3349 IFS=$as_save_IFS 3952 IFS=$as_save_IFS
3350 test -z "$as_dir" && as_dir=. 3953 test -z "$as_dir" && as_dir=.
3351 for ac_exec_ext in '' $ac_executable_extensions; do 3954 for ac_exec_ext in '' $ac_executable_extensions; do
3352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3956 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 break 2 3958 break 2
3356 fi 3959 fi
3357 done 3960 done
3358 done 3961 done
3962 IFS=$as_save_IFS
3359 3963
3360 fi 3964 fi
3361 fi 3965 fi
3362 RANLIB=$ac_cv_prog_RANLIB 3966 RANLIB=$ac_cv_prog_RANLIB
3363 if test -n "$RANLIB"; then 3967 if test -n "$RANLIB"; then
3364 echo "$as_me:$LINENO: result: $RANLIB" >&5 3968 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3365 echo "${ECHO_T}$RANLIB" >&6 3969 echo "${ECHO_T}$RANLIB" >&6; }
3366 else 3970 else
3367 echo "$as_me:$LINENO: result: no" >&5 3971 { echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6 3972 echo "${ECHO_T}no" >&6; }
3369 fi 3973 fi
3974
3370 3975
3371 fi 3976 fi
3372 if test -z "$ac_cv_prog_RANLIB"; then 3977 if test -z "$ac_cv_prog_RANLIB"; then
3373 ac_ct_RANLIB=$RANLIB 3978 ac_ct_RANLIB=$RANLIB
3374 # Extract the first word of "ranlib", so it can be a program name with args. 3979 # Extract the first word of "ranlib", so it can be a program name with args.
3375 set dummy ranlib; ac_word=$2 3980 set dummy ranlib; ac_word=$2
3376 echo "$as_me:$LINENO: checking for $ac_word" >&5 3981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3378 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3983 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6 3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 else 3985 else
3381 if test -n "$ac_ct_RANLIB"; then 3986 if test -n "$ac_ct_RANLIB"; then
3382 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3987 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3385 for as_dir in $PATH 3990 for as_dir in $PATH
3386 do 3991 do
3387 IFS=$as_save_IFS 3992 IFS=$as_save_IFS
3388 test -z "$as_dir" && as_dir=. 3993 test -z "$as_dir" && as_dir=.
3389 for ac_exec_ext in '' $ac_executable_extensions; do 3994 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3391 ac_cv_prog_ac_ct_RANLIB="ranlib" 3996 ac_cv_prog_ac_ct_RANLIB="ranlib"
3392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 break 2 3998 break 2
3394 fi 3999 fi
3395 done 4000 done
3396 done 4001 done
3397 4002 IFS=$as_save_IFS
3398 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 4003
3399 fi 4004 fi
3400 fi 4005 fi
3401 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4006 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3402 if test -n "$ac_ct_RANLIB"; then 4007 if test -n "$ac_ct_RANLIB"; then
3403 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4008 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3404 echo "${ECHO_T}$ac_ct_RANLIB" >&6 4009 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3405 else 4010 else
3406 echo "$as_me:$LINENO: result: no" >&5 4011 { echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6 4012 echo "${ECHO_T}no" >&6; }
3408 fi 4013 fi
3409 4014
3410 RANLIB=$ac_ct_RANLIB 4015 if test "x$ac_ct_RANLIB" = x; then
4016 RANLIB=":"
4017 else
4018 case $cross_compiling:$ac_tool_warned in
4019 yes:)
4020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4021 whose name does not start with the host triplet. If you think this
4022 configuration is useful to you, please write to autoconf@gnu.org." >&5
4023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4024 whose name does not start with the host triplet. If you think this
4025 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4026 ac_tool_warned=yes ;;
4027 esac
4028 RANLIB=$ac_ct_RANLIB
4029 fi
3411 else 4030 else
3412 RANLIB="$ac_cv_prog_RANLIB" 4031 RANLIB="$ac_cv_prog_RANLIB"
3413 fi 4032 fi
3414 4033
3415 4034
3417 4036
3418 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4037 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3419 if test -n "$ac_tool_prefix"; then 4038 if test -n "$ac_tool_prefix"; then
3420 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4039 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4040 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3422 echo "$as_me:$LINENO: checking for $ac_word" >&5 4041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3424 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4043 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6 4044 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 else 4045 else
3427 case $PKG_CONFIG in 4046 case $PKG_CONFIG in
3428 [\\/]* | ?:[\\/]*) 4047 [\\/]* | ?:[\\/]*)
3433 for as_dir in $PATH 4052 for as_dir in $PATH
3434 do 4053 do
3435 IFS=$as_save_IFS 4054 IFS=$as_save_IFS
3436 test -z "$as_dir" && as_dir=. 4055 test -z "$as_dir" && as_dir=.
3437 for ac_exec_ext in '' $ac_executable_extensions; do 4056 for ac_exec_ext in '' $ac_executable_extensions; do
3438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4058 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 break 2 4060 break 2
3442 fi 4061 fi
3443 done 4062 done
3444 done 4063 done
4064 IFS=$as_save_IFS
3445 4065
3446 ;; 4066 ;;
3447 esac 4067 esac
3448 fi 4068 fi
3449 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4069 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3450
3451 if test -n "$PKG_CONFIG"; then 4070 if test -n "$PKG_CONFIG"; then
3452 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4071 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3453 echo "${ECHO_T}$PKG_CONFIG" >&6 4072 echo "${ECHO_T}$PKG_CONFIG" >&6; }
3454 else 4073 else
3455 echo "$as_me:$LINENO: result: no" >&5 4074 { echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6 4075 echo "${ECHO_T}no" >&6; }
3457 fi 4076 fi
4077
3458 4078
3459 fi 4079 fi
3460 if test -z "$ac_cv_path_PKG_CONFIG"; then 4080 if test -z "$ac_cv_path_PKG_CONFIG"; then
3461 ac_pt_PKG_CONFIG=$PKG_CONFIG 4081 ac_pt_PKG_CONFIG=$PKG_CONFIG
3462 # Extract the first word of "pkg-config", so it can be a program name with args. 4082 # Extract the first word of "pkg-config", so it can be a program name with args.
3463 set dummy pkg-config; ac_word=$2 4083 set dummy pkg-config; ac_word=$2
3464 echo "$as_me:$LINENO: checking for $ac_word" >&5 4084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3466 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4086 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6 4087 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else 4088 else
3469 case $ac_pt_PKG_CONFIG in 4089 case $ac_pt_PKG_CONFIG in
3470 [\\/]* | ?:[\\/]*) 4090 [\\/]* | ?:[\\/]*)
3475 for as_dir in $PATH 4095 for as_dir in $PATH
3476 do 4096 do
3477 IFS=$as_save_IFS 4097 IFS=$as_save_IFS
3478 test -z "$as_dir" && as_dir=. 4098 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do 4099 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3481 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4101 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 break 2 4103 break 2
3484 fi 4104 fi
3485 done 4105 done
3486 done 4106 done
4107 IFS=$as_save_IFS
3487 4108
3488 ;; 4109 ;;
3489 esac 4110 esac
3490 fi 4111 fi
3491 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4112 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3492
3493 if test -n "$ac_pt_PKG_CONFIG"; then 4113 if test -n "$ac_pt_PKG_CONFIG"; then
3494 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 4114 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3495 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 4115 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3496 else 4116 else
3497 echo "$as_me:$LINENO: result: no" >&5 4117 { echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6 4118 echo "${ECHO_T}no" >&6; }
3499 fi 4119 fi
3500 4120
3501 PKG_CONFIG=$ac_pt_PKG_CONFIG 4121 if test "x$ac_pt_PKG_CONFIG" = x; then
4122 PKG_CONFIG=""
4123 else
4124 case $cross_compiling:$ac_tool_warned in
4125 yes:)
4126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4127 whose name does not start with the host triplet. If you think this
4128 configuration is useful to you, please write to autoconf@gnu.org." >&5
4129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4130 whose name does not start with the host triplet. If you think this
4131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4132 ac_tool_warned=yes ;;
4133 esac
4134 PKG_CONFIG=$ac_pt_PKG_CONFIG
4135 fi
3502 else 4136 else
3503 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4137 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3504 fi 4138 fi
3505 4139
3506 fi 4140 fi
3507 if test -n "$PKG_CONFIG"; then 4141 if test -n "$PKG_CONFIG"; then
3508 _pkg_min_version=0.9.0 4142 _pkg_min_version=0.9.0
3509 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 4143 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3510 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 4144 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3511 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4145 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3512 echo "$as_me:$LINENO: result: yes" >&5 4146 { echo "$as_me:$LINENO: result: yes" >&5
3513 echo "${ECHO_T}yes" >&6 4147 echo "${ECHO_T}yes" >&6; }
3514 else 4148 else
3515 echo "$as_me:$LINENO: result: no" >&5 4149 { echo "$as_me:$LINENO: result: no" >&5
3516 echo "${ECHO_T}no" >&6 4150 echo "${ECHO_T}no" >&6; }
3517 PKG_CONFIG="" 4151 PKG_CONFIG=""
3518 fi 4152 fi
3519 4153
3520 fi 4154 fi
3521 4155
3522 pkg_failed=no 4156 pkg_failed=no
3523 echo "$as_me:$LINENO: checking for GLIB" >&5 4157 { echo "$as_me:$LINENO: checking for GLIB" >&5
3524 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6 4158 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
3525 4159
3526 if test -n "$PKG_CONFIG"; then 4160 if test -n "$PKG_CONFIG"; then
4161 if test -n "$GLIB_CFLAGS"; then
4162 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
4163 else
3527 if test -n "$PKG_CONFIG" && \ 4164 if test -n "$PKG_CONFIG" && \
3528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 4165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
3529 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 4166 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
3530 ac_status=$? 4167 ac_status=$?
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; then 4169 (exit $ac_status); }; then
3533 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` 4170 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
3534 else 4171 else
3535 pkg_failed=yes 4172 pkg_failed=yes
3536 fi 4173 fi
4174 fi
3537 else 4175 else
3538 pkg_failed=untried 4176 pkg_failed=untried
3539 fi 4177 fi
3540 if test -n "$PKG_CONFIG"; then 4178 if test -n "$PKG_CONFIG"; then
4179 if test -n "$GLIB_LIBS"; then
4180 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
4181 else
3541 if test -n "$PKG_CONFIG" && \ 4182 if test -n "$PKG_CONFIG" && \
3542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 4183 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
3543 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 4184 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
3544 ac_status=$? 4185 ac_status=$?
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; then 4187 (exit $ac_status); }; then
3547 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` 4188 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
3548 else 4189 else
3549 pkg_failed=yes 4190 pkg_failed=yes
3550 fi 4191 fi
4192 fi
3551 else 4193 else
3552 pkg_failed=untried 4194 pkg_failed=untried
3553 fi 4195 fi
3554 4196
4197
4198
3555 if test $pkg_failed = yes; then 4199 if test $pkg_failed = yes; then
3556 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` 4200
4201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4202 _pkg_short_errors_supported=yes
4203 else
4204 _pkg_short_errors_supported=no
4205 fi
4206 if test $_pkg_short_errors_supported = yes; then
4207 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
4208 else
4209 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
4210 fi
3557 # Put the nasty error message in config.log where it belongs 4211 # Put the nasty error message in config.log where it belongs
3558 echo "$GLIB_PKG_ERRORS" 1>&5 4212 echo "$GLIB_PKG_ERRORS" >&5
3559 4213
3560 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met. 4214 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
4215
4216 $GLIB_PKG_ERRORS
4217
3561 Consider adjusting the PKG_CONFIG_PATH environment variable if you 4218 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3562 installed software in a non-standard prefix. 4219 installed software in a non-standard prefix.
3563 4220
3564 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables 4221 Alternatively, you may set the environment variables GLIB_CFLAGS
3565 to avoid the need to call pkg-config. See the pkg-config man page for 4222 and GLIB_LIBS to avoid the need to call pkg-config.
3566 more details." >&5 4223 See the pkg-config man page for more details.
3567 echo "$as_me: error: Package requirements (glib-2.0) were not met. 4224 " >&5
4225 echo "$as_me: error: Package requirements (glib-2.0) were not met:
4226
4227 $GLIB_PKG_ERRORS
4228
3568 Consider adjusting the PKG_CONFIG_PATH environment variable if you 4229 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3569 installed software in a non-standard prefix. 4230 installed software in a non-standard prefix.
3570 4231
3571 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables 4232 Alternatively, you may set the environment variables GLIB_CFLAGS
3572 to avoid the need to call pkg-config. See the pkg-config man page for 4233 and GLIB_LIBS to avoid the need to call pkg-config.
3573 more details." >&2;} 4234 See the pkg-config man page for more details.
4235 " >&2;}
3574 { (exit 1); exit 1; }; } 4236 { (exit 1); exit 1; }; }
3575 elif test $pkg_failed = untried; then 4237 elif test $pkg_failed = untried; then
3576 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 4238 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3577 is in your PATH or set the PKG_CONFIG environment variable to the full 4239 is in your PATH or set the PKG_CONFIG environment variable to the full
3578 path to pkg-config. 4240 path to pkg-config.
3579 4241
3580 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables 4242 Alternatively, you may set the environment variables GLIB_CFLAGS
3581 to avoid the need to call pkg-config. See the pkg-config man page for 4243 and GLIB_LIBS to avoid the need to call pkg-config.
3582 more details. 4244 See the pkg-config man page for more details.
3583 4245
3584 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4246 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3585 See \`config.log' for more details." >&5 4247 See \`config.log' for more details." >&5
3586 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 4248 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3587 is in your PATH or set the PKG_CONFIG environment variable to the full 4249 is in your PATH or set the PKG_CONFIG environment variable to the full
3588 path to pkg-config. 4250 path to pkg-config.
3589 4251
3590 Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables 4252 Alternatively, you may set the environment variables GLIB_CFLAGS
3591 to avoid the need to call pkg-config. See the pkg-config man page for 4253 and GLIB_LIBS to avoid the need to call pkg-config.
3592 more details. 4254 See the pkg-config man page for more details.
3593 4255
3594 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4256 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3595 See \`config.log' for more details." >&2;} 4257 See \`config.log' for more details." >&2;}
3596 { (exit 1); exit 1; }; } 4258 { (exit 1); exit 1; }; }
3597 else 4259 else
3598 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 4260 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
3599 GLIB_LIBS=$pkg_cv_GLIB_LIBS 4261 GLIB_LIBS=$pkg_cv_GLIB_LIBS
3600 echo "$as_me:$LINENO: result: yes" >&5 4262 { echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6 4263 echo "${ECHO_T}yes" >&6; }
3602 : 4264 :
3603 fi 4265 fi
3604 4266
3605 4267
3606 4268
3607 # Check whether --enable-resolver or --disable-resolver was given. 4269 # Check whether --enable-resolver was given.
3608 if test "${enable_resolver+set}" = set; then 4270 if test "${enable_resolver+set}" = set; then
3609 enableval="$enable_resolver" 4271 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then
3610 if test "$enable_resolver" != 'no'; then
3611 resolver_enabled='yes' 4272 resolver_enabled='yes'
3612 fi 4273 fi
3613 else 4274 else
3614 resolver_enabled='yes' 4275 resolver_enabled='yes'
3615 4276
3616 fi; 4277 fi
4278
3617 4279
3618 if test "$resolver_enabled" = yes; then 4280 if test "$resolver_enabled" = yes; then
3619 4281
3620 cat >>confdefs.h <<\_ACEOF 4282 cat >>confdefs.h <<\_ACEOF
3621 #define ENABLE_RESOLVER 1 4283 #define ENABLE_RESOLVER 1
3622 _ACEOF 4284 _ACEOF
3623 4285
3624 echo "$as_me:$LINENO: checking for res_search in -lc" >&5 4286 { echo "$as_me:$LINENO: checking for res_search in -lc" >&5
3625 echo $ECHO_N "checking for res_search in -lc... $ECHO_C" >&6 4287 echo $ECHO_N "checking for res_search in -lc... $ECHO_C" >&6; }
3626 if test "${ac_cv_lib_c_res_search+set}" = set; then 4288 if test "${ac_cv_lib_c_res_search+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6 4289 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 else 4290 else
3629 ac_check_lib_save_LIBS=$LIBS 4291 ac_check_lib_save_LIBS=$LIBS
3630 LIBS="-lc $LIBS" 4292 LIBS="-lc $LIBS"
3633 _ACEOF 4295 _ACEOF
3634 cat confdefs.h >>conftest.$ac_ext 4296 cat confdefs.h >>conftest.$ac_ext
3635 cat >>conftest.$ac_ext <<_ACEOF 4297 cat >>conftest.$ac_ext <<_ACEOF
3636 /* end confdefs.h. */ 4298 /* end confdefs.h. */
3637 4299
3638 /* Override any gcc2 internal prototype to avoid an error. */ 4300 /* Override any GCC internal prototype to avoid an error.
4301 Use char because int might match the return type of a GCC
4302 builtin and then its argument prototype would still apply. */
3639 #ifdef __cplusplus 4303 #ifdef __cplusplus
3640 extern "C" 4304 extern "C"
3641 #endif 4305 #endif
3642 /* We use char because int might match the return type of a gcc2
3643 builtin and then its argument prototype would still apply. */
3644 char res_search (); 4306 char res_search ();
3645 int 4307 int
3646 main () 4308 main ()
3647 { 4309 {
3648 res_search (); 4310 return res_search ();
3649 ; 4311 ;
3650 return 0; 4312 return 0;
3651 } 4313 }
3652 _ACEOF 4314 _ACEOF
3653 rm -f conftest.$ac_objext conftest$ac_exeext 4315 rm -f conftest.$ac_objext conftest$ac_exeext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4316 if { (ac_try="$ac_link"
3655 (eval $ac_link) 2>conftest.er1 4317 case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_link") 2>conftest.er1
3656 ac_status=$? 4323 ac_status=$?
3657 grep -v '^ *+' conftest.er1 >conftest.err 4324 grep -v '^ *+' conftest.er1 >conftest.err
3658 rm -f conftest.er1 4325 rm -f conftest.er1
3659 cat conftest.err >&5 4326 cat conftest.err >&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } && 4328 (exit $ac_status); } && {
3662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4329 test -z "$ac_c_werror_flag" ||
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4330 test ! -s conftest.err
3664 (eval $ac_try) 2>&5 4331 } && test -s conftest$ac_exeext &&
3665 ac_status=$? 4332 $as_test_x conftest$ac_exeext; then
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; } &&
3668 { ac_try='test -s conftest$ac_exeext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 (eval $ac_try) 2>&5
3671 ac_status=$?
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3674 ac_cv_lib_c_res_search=yes 4333 ac_cv_lib_c_res_search=yes
3675 else 4334 else
3676 echo "$as_me: failed program was:" >&5 4335 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.$ac_ext >&5 4336 sed 's/^/| /' conftest.$ac_ext >&5
3678 4337
3679 ac_cv_lib_c_res_search=no 4338 ac_cv_lib_c_res_search=no
3680 fi 4339 fi
3681 rm -f conftest.err conftest.$ac_objext \ 4340
4341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3682 conftest$ac_exeext conftest.$ac_ext 4342 conftest$ac_exeext conftest.$ac_ext
3683 LIBS=$ac_check_lib_save_LIBS 4343 LIBS=$ac_check_lib_save_LIBS
3684 fi 4344 fi
3685 echo "$as_me:$LINENO: result: $ac_cv_lib_c_res_search" >&5 4345 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_res_search" >&5
3686 echo "${ECHO_T}$ac_cv_lib_c_res_search" >&6 4346 echo "${ECHO_T}$ac_cv_lib_c_res_search" >&6; }
3687 if test $ac_cv_lib_c_res_search = yes; then 4347 if test $ac_cv_lib_c_res_search = yes; then
3688 need_resolv=no 4348 need_resolv=no
3689 else 4349 else
3690 need_resolv=yes 4350 need_resolv=yes
3691 fi 4351 fi
3692 4352
3693 if test "$need_resolv" = yes; then 4353 if test "$need_resolv" = yes; then
3694 echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 4354 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3695 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6 4355 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
3696 if test "${ac_cv_lib_resolv_res_search+set}" = set; then 4356 if test "${ac_cv_lib_resolv_res_search+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6 4357 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 else 4358 else
3699 ac_check_lib_save_LIBS=$LIBS 4359 ac_check_lib_save_LIBS=$LIBS
3700 LIBS="-lresolv $LIBS" 4360 LIBS="-lresolv $LIBS"
3703 _ACEOF 4363 _ACEOF
3704 cat confdefs.h >>conftest.$ac_ext 4364 cat confdefs.h >>conftest.$ac_ext
3705 cat >>conftest.$ac_ext <<_ACEOF 4365 cat >>conftest.$ac_ext <<_ACEOF
3706 /* end confdefs.h. */ 4366 /* end confdefs.h. */
3707 4367
3708 /* Override any gcc2 internal prototype to avoid an error. */ 4368 /* Override any GCC internal prototype to avoid an error.
4369 Use char because int might match the return type of a GCC
4370 builtin and then its argument prototype would still apply. */
3709 #ifdef __cplusplus 4371 #ifdef __cplusplus
3710 extern "C" 4372 extern "C"
3711 #endif 4373 #endif
3712 /* We use char because int might match the return type of a gcc2
3713 builtin and then its argument prototype would still apply. */
3714 char res_search (); 4374 char res_search ();
3715 int 4375 int
3716 main () 4376 main ()
3717 { 4377 {
3718 res_search (); 4378 return res_search ();
3719 ; 4379 ;
3720 return 0; 4380 return 0;
3721 } 4381 }
3722 _ACEOF 4382 _ACEOF
3723 rm -f conftest.$ac_objext conftest$ac_exeext 4383 rm -f conftest.$ac_objext conftest$ac_exeext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4384 if { (ac_try="$ac_link"
3725 (eval $ac_link) 2>conftest.er1 4385 case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_link") 2>conftest.er1
3726 ac_status=$? 4391 ac_status=$?
3727 grep -v '^ *+' conftest.er1 >conftest.err 4392 grep -v '^ *+' conftest.er1 >conftest.err
3728 rm -f conftest.er1 4393 rm -f conftest.er1
3729 cat conftest.err >&5 4394 cat conftest.err >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } && 4396 (exit $ac_status); } && {
3732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4397 test -z "$ac_c_werror_flag" ||
3733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4398 test ! -s conftest.err
3734 (eval $ac_try) 2>&5 4399 } && test -s conftest$ac_exeext &&
3735 ac_status=$? 4400 $as_test_x conftest$ac_exeext; then
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); }; } &&
3738 { ac_try='test -s conftest$ac_exeext'
3739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 (eval $ac_try) 2>&5
3741 ac_status=$?
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); }; }; then
3744 ac_cv_lib_resolv_res_search=yes 4401 ac_cv_lib_resolv_res_search=yes
3745 else 4402 else
3746 echo "$as_me: failed program was:" >&5 4403 echo "$as_me: failed program was:" >&5
3747 sed 's/^/| /' conftest.$ac_ext >&5 4404 sed 's/^/| /' conftest.$ac_ext >&5
3748 4405
3749 ac_cv_lib_resolv_res_search=no 4406 ac_cv_lib_resolv_res_search=no
3750 fi 4407 fi
3751 rm -f conftest.err conftest.$ac_objext \ 4408
4409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3752 conftest$ac_exeext conftest.$ac_ext 4410 conftest$ac_exeext conftest.$ac_ext
3753 LIBS=$ac_check_lib_save_LIBS 4411 LIBS=$ac_check_lib_save_LIBS
3754 fi 4412 fi
3755 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 4413 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
3756 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6 4414 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
3757 if test $ac_cv_lib_resolv_res_search = yes; then 4415 if test $ac_cv_lib_resolv_res_search = yes; then
3758 has_resolv=yes 4416 has_resolv=yes; RESOLV_LIBS="-lresolv"
3759 else 4417 else
3760 { { echo "$as_me:$LINENO: error: \"no libresolv\"" >&5 4418 has_resolv=no
4419 fi
4420
4421 if test "$has_resolv" = no; then
4422 saved_LIBS="$LIBS"
4423 LIBS="$LIBS -lresolv"
4424 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
4425 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
4426 cat >conftest.$ac_ext <<_ACEOF
4427 /* confdefs.h. */
4428 _ACEOF
4429 cat confdefs.h >>conftest.$ac_ext
4430 cat >>conftest.$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4432 #include <resolv.h>
4433 int
4434 main ()
4435 {
4436 res_search (0, 0, 0, 0, 0);
4437 ;
4438 return 0;
4439 }
4440 _ACEOF
4441 rm -f conftest.$ac_objext conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4443 case "(($ac_try" in
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4446 esac
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_link") 2>conftest.er1
4449 ac_status=$?
4450 grep -v '^ *+' conftest.er1 >conftest.err
4451 rm -f conftest.er1
4452 cat conftest.err >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } && {
4455 test -z "$ac_c_werror_flag" ||
4456 test ! -s conftest.err
4457 } && test -s conftest$ac_exeext &&
4458 $as_test_x conftest$ac_exeext; then
4459 RESOLV_LIBS="-lresolv"; has_resolv=yes; { echo "$as_me:$LINENO: result: yes" >&5
4460 echo "${ECHO_T}yes" >&6; }
4461 else
4462 echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.$ac_ext >&5
4464
4465 { echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6; }
4467 fi
4468
4469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4470 conftest$ac_exeext conftest.$ac_ext;
4471 LIBS="$saved_LIBS"
4472 fi
4473 if test "$has_resolv" = no; then
4474 { { echo "$as_me:$LINENO: error: \"no libresolv\"" >&5
3761 echo "$as_me: error: \"no libresolv\"" >&2;} 4475 echo "$as_me: error: \"no libresolv\"" >&2;}
3762 { (exit 1); exit 1; }; } 4476 { (exit 1); exit 1; }; }
3763 fi 4477 RESOLV_LIBS=''
3764 4478 fi
3765 RESOLV_LIBS='-lresolv'
3766 else
3767 RESOLV_LIBS=''
3768 fi 4479 fi
3769 else 4480 else
3770 RESOLV_LIBS='' 4481 RESOLV_LIBS=''
3771 fi 4482 fi
3772 4483
3773 4484
3774 4485
3775 for ac_func in getline 4486 for ac_func in getline
3776 do 4487 do
3777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3778 echo "$as_me:$LINENO: checking for $ac_func" >&5 4489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3780 if eval "test \"\${$as_ac_var+set}\" = set"; then 4491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6 4492 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 else 4493 else
3783 cat >conftest.$ac_ext <<_ACEOF 4494 cat >conftest.$ac_ext <<_ACEOF
3784 /* confdefs.h. */ 4495 /* confdefs.h. */
3785 _ACEOF 4496 _ACEOF
3801 # include <assert.h> 4512 # include <assert.h>
3802 #endif 4513 #endif
3803 4514
3804 #undef $ac_func 4515 #undef $ac_func
3805 4516
3806 /* Override any gcc2 internal prototype to avoid an error. */ 4517 /* Override any GCC internal prototype to avoid an error.
4518 Use char because int might match the return type of a GCC
4519 builtin and then its argument prototype would still apply. */
3807 #ifdef __cplusplus 4520 #ifdef __cplusplus
3808 extern "C" 4521 extern "C"
3809 {
3810 #endif 4522 #endif
3811 /* We use char because int might match the return type of a gcc2
3812 builtin and then its argument prototype would still apply. */
3813 char $ac_func (); 4523 char $ac_func ();
3814 /* The GNU C library defines this for functions which it implements 4524 /* The GNU C library defines this for functions which it implements
3815 to always fail with ENOSYS. Some functions are actually named 4525 to always fail with ENOSYS. Some functions are actually named
3816 something starting with __ and the normal name is an alias. */ 4526 something starting with __ and the normal name is an alias. */
3817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4527 #if defined __stub_$ac_func || defined __stub___$ac_func
3818 choke me 4528 choke me
3819 #else
3820 char (*f) () = $ac_func;
3821 #endif
3822 #ifdef __cplusplus
3823 }
3824 #endif 4529 #endif
3825 4530
3826 int 4531 int
3827 main () 4532 main ()
3828 { 4533 {
3829 return f != $ac_func; 4534 return $ac_func ();
3830 ; 4535 ;
3831 return 0; 4536 return 0;
3832 } 4537 }
3833 _ACEOF 4538 _ACEOF
3834 rm -f conftest.$ac_objext conftest$ac_exeext 4539 rm -f conftest.$ac_objext conftest$ac_exeext
3835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4540 if { (ac_try="$ac_link"
3836 (eval $ac_link) 2>conftest.er1 4541 case "(($ac_try" in
4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543 *) ac_try_echo=$ac_try;;
4544 esac
4545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4546 (eval "$ac_link") 2>conftest.er1
3837 ac_status=$? 4547 ac_status=$?
3838 grep -v '^ *+' conftest.er1 >conftest.err 4548 grep -v '^ *+' conftest.er1 >conftest.err
3839 rm -f conftest.er1 4549 rm -f conftest.er1
3840 cat conftest.err >&5 4550 cat conftest.err >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } && 4552 (exit $ac_status); } && {
3843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4553 test -z "$ac_c_werror_flag" ||
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4554 test ! -s conftest.err
3845 (eval $ac_try) 2>&5 4555 } && test -s conftest$ac_exeext &&
3846 ac_status=$? 4556 $as_test_x conftest$ac_exeext; then
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; } &&
3849 { ac_try='test -s conftest$ac_exeext'
3850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 (eval $ac_try) 2>&5
3852 ac_status=$?
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); }; }; then
3855 eval "$as_ac_var=yes" 4557 eval "$as_ac_var=yes"
3856 else 4558 else
3857 echo "$as_me: failed program was:" >&5 4559 echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5 4560 sed 's/^/| /' conftest.$ac_ext >&5
3859 4561
3860 eval "$as_ac_var=no" 4562 eval "$as_ac_var=no"
3861 fi 4563 fi
3862 rm -f conftest.err conftest.$ac_objext \ 4564
4565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3863 conftest$ac_exeext conftest.$ac_ext 4566 conftest$ac_exeext conftest.$ac_ext
3864 fi 4567 fi
3865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4568 ac_res=`eval echo '${'$as_ac_var'}'`
3866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4569 { echo "$as_me:$LINENO: result: $ac_res" >&5
4570 echo "${ECHO_T}$ac_res" >&6; }
3867 if test `eval echo '${'$as_ac_var'}'` = yes; then 4571 if test `eval echo '${'$as_ac_var'}'` = yes; then
3868 cat >>confdefs.h <<_ACEOF 4572 cat >>confdefs.h <<_ACEOF
3869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3870 _ACEOF 4574 _ACEOF
3871 4575
3875 4579
3876 4580
3877 for ac_func in fdatasync 4581 for ac_func in fdatasync
3878 do 4582 do
3879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3880 echo "$as_me:$LINENO: checking for $ac_func" >&5 4584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3882 if eval "test \"\${$as_ac_var+set}\" = set"; then 4586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6 4587 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 else 4588 else
3885 cat >conftest.$ac_ext <<_ACEOF 4589 cat >conftest.$ac_ext <<_ACEOF
3886 /* confdefs.h. */ 4590 /* confdefs.h. */
3887 _ACEOF 4591 _ACEOF
3903 # include <assert.h> 4607 # include <assert.h>
3904 #endif 4608 #endif
3905 4609
3906 #undef $ac_func 4610 #undef $ac_func
3907 4611
3908 /* Override any gcc2 internal prototype to avoid an error. */ 4612 /* Override any GCC internal prototype to avoid an error.
4613 Use char because int might match the return type of a GCC
4614 builtin and then its argument prototype would still apply. */
3909 #ifdef __cplusplus 4615 #ifdef __cplusplus
3910 extern "C" 4616 extern "C"
3911 {
3912 #endif 4617 #endif
3913 /* We use char because int might match the return type of a gcc2
3914 builtin and then its argument prototype would still apply. */
3915 char $ac_func (); 4618 char $ac_func ();
3916 /* The GNU C library defines this for functions which it implements 4619 /* The GNU C library defines this for functions which it implements
3917 to always fail with ENOSYS. Some functions are actually named 4620 to always fail with ENOSYS. Some functions are actually named
3918 something starting with __ and the normal name is an alias. */ 4621 something starting with __ and the normal name is an alias. */
3919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4622 #if defined __stub_$ac_func || defined __stub___$ac_func
3920 choke me 4623 choke me
3921 #else
3922 char (*f) () = $ac_func;
3923 #endif
3924 #ifdef __cplusplus
3925 }
3926 #endif 4624 #endif
3927 4625
3928 int 4626 int
3929 main () 4627 main ()
3930 { 4628 {
3931 return f != $ac_func; 4629 return $ac_func ();
3932 ; 4630 ;
3933 return 0; 4631 return 0;
3934 } 4632 }
3935 _ACEOF 4633 _ACEOF
3936 rm -f conftest.$ac_objext conftest$ac_exeext 4634 rm -f conftest.$ac_objext conftest$ac_exeext
3937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4635 if { (ac_try="$ac_link"
3938 (eval $ac_link) 2>conftest.er1 4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4641 (eval "$ac_link") 2>conftest.er1
3939 ac_status=$? 4642 ac_status=$?
3940 grep -v '^ *+' conftest.er1 >conftest.err 4643 grep -v '^ *+' conftest.er1 >conftest.err
3941 rm -f conftest.er1 4644 rm -f conftest.er1
3942 cat conftest.err >&5 4645 cat conftest.err >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); } && 4647 (exit $ac_status); } && {
3945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4648 test -z "$ac_c_werror_flag" ||
3946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4649 test ! -s conftest.err
3947 (eval $ac_try) 2>&5 4650 } && test -s conftest$ac_exeext &&
3948 ac_status=$? 4651 $as_test_x conftest$ac_exeext; then
3949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950 (exit $ac_status); }; } &&
3951 { ac_try='test -s conftest$ac_exeext'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953 (eval $ac_try) 2>&5
3954 ac_status=$?
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; }; then
3957 eval "$as_ac_var=yes" 4652 eval "$as_ac_var=yes"
3958 else 4653 else
3959 echo "$as_me: failed program was:" >&5 4654 echo "$as_me: failed program was:" >&5
3960 sed 's/^/| /' conftest.$ac_ext >&5 4655 sed 's/^/| /' conftest.$ac_ext >&5
3961 4656
3962 eval "$as_ac_var=no" 4657 eval "$as_ac_var=no"
3963 fi 4658 fi
3964 rm -f conftest.err conftest.$ac_objext \ 4659
4660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3965 conftest$ac_exeext conftest.$ac_ext 4661 conftest$ac_exeext conftest.$ac_ext
3966 fi 4662 fi
3967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4663 ac_res=`eval echo '${'$as_ac_var'}'`
3968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4664 { echo "$as_me:$LINENO: result: $ac_res" >&5
4665 echo "${ECHO_T}$ac_res" >&6; }
3969 if test `eval echo '${'$as_ac_var'}'` = yes; then 4666 if test `eval echo '${'$as_ac_var'}'` = yes; then
3970 cat >>confdefs.h <<_ACEOF 4667 cat >>confdefs.h <<_ACEOF
3971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3972 _ACEOF 4669 _ACEOF
3973 4670
3974 fi 4671 fi
3975 done 4672 done
3976 4673
3977 4674
3978 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4675 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3979 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4676 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3980 if test "${ac_cv_header_stdc+set}" = set; then 4677 if test "${ac_cv_header_stdc+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6 4678 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 else 4679 else
3983 cat >conftest.$ac_ext <<_ACEOF 4680 cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h. */ 4681 /* confdefs.h. */
3998 ; 4695 ;
3999 return 0; 4696 return 0;
4000 } 4697 }
4001 _ACEOF 4698 _ACEOF
4002 rm -f conftest.$ac_objext 4699 rm -f conftest.$ac_objext
4003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4700 if { (ac_try="$ac_compile"
4004 (eval $ac_compile) 2>conftest.er1 4701 case "(($ac_try" in
4702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4704 esac
4705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4706 (eval "$ac_compile") 2>conftest.er1
4005 ac_status=$? 4707 ac_status=$?
4006 grep -v '^ *+' conftest.er1 >conftest.err 4708 grep -v '^ *+' conftest.er1 >conftest.err
4007 rm -f conftest.er1 4709 rm -f conftest.er1
4008 cat conftest.err >&5 4710 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && 4712 (exit $ac_status); } && {
4011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4713 test -z "$ac_c_werror_flag" ||
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4714 test ! -s conftest.err
4013 (eval $ac_try) 2>&5 4715 } && test -s conftest.$ac_objext; then
4014 ac_status=$?
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; } &&
4017 { ac_try='test -s conftest.$ac_objext'
4018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4019 (eval $ac_try) 2>&5
4020 ac_status=$?
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); }; }; then
4023 ac_cv_header_stdc=yes 4716 ac_cv_header_stdc=yes
4024 else 4717 else
4025 echo "$as_me: failed program was:" >&5 4718 echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.$ac_ext >&5 4719 sed 's/^/| /' conftest.$ac_ext >&5
4027 4720
4028 ac_cv_header_stdc=no 4721 ac_cv_header_stdc=no
4029 fi 4722 fi
4030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4723
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4031 4725
4032 if test $ac_cv_header_stdc = yes; then 4726 if test $ac_cv_header_stdc = yes; then
4033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4034 cat >conftest.$ac_ext <<_ACEOF 4728 cat >conftest.$ac_ext <<_ACEOF
4035 /* confdefs.h. */ 4729 /* confdefs.h. */
4081 _ACEOF 4775 _ACEOF
4082 cat confdefs.h >>conftest.$ac_ext 4776 cat confdefs.h >>conftest.$ac_ext
4083 cat >>conftest.$ac_ext <<_ACEOF 4777 cat >>conftest.$ac_ext <<_ACEOF
4084 /* end confdefs.h. */ 4778 /* end confdefs.h. */
4085 #include <ctype.h> 4779 #include <ctype.h>
4780 #include <stdlib.h>
4086 #if ((' ' & 0x0FF) == 0x020) 4781 #if ((' ' & 0x0FF) == 0x020)
4087 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4782 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4088 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4783 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4089 #else 4784 #else
4090 # define ISLOWER(c) \ 4785 # define ISLOWER(c) \
4100 { 4795 {
4101 int i; 4796 int i;
4102 for (i = 0; i < 256; i++) 4797 for (i = 0; i < 256; i++)
4103 if (XOR (islower (i), ISLOWER (i)) 4798 if (XOR (islower (i), ISLOWER (i))
4104 || toupper (i) != TOUPPER (i)) 4799 || toupper (i) != TOUPPER (i))
4105 exit(2); 4800 return 2;
4106 exit (0); 4801 return 0;
4107 } 4802 }
4108 _ACEOF 4803 _ACEOF
4109 rm -f conftest$ac_exeext 4804 rm -f conftest$ac_exeext
4110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4805 if { (ac_try="$ac_link"
4111 (eval $ac_link) 2>&5 4806 case "(($ac_try" in
4807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4808 *) ac_try_echo=$ac_try;;
4809 esac
4810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4811 (eval "$ac_link") 2>&5
4112 ac_status=$? 4812 ac_status=$?
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4815 { (case "(($ac_try" in
4116 (eval $ac_try) 2>&5 4816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4817 *) ac_try_echo=$ac_try;;
4818 esac
4819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4820 (eval "$ac_try") 2>&5
4117 ac_status=$? 4821 ac_status=$?
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then 4823 (exit $ac_status); }; }; then
4120 : 4824 :
4121 else 4825 else
4124 sed 's/^/| /' conftest.$ac_ext >&5 4828 sed 's/^/| /' conftest.$ac_ext >&5
4125 4829
4126 ( exit $ac_status ) 4830 ( exit $ac_status )
4127 ac_cv_header_stdc=no 4831 ac_cv_header_stdc=no
4128 fi 4832 fi
4129 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4130 fi 4834 fi
4131 fi 4835
4132 fi 4836
4133 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4837 fi
4134 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4838 fi
4839 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4840 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4135 if test $ac_cv_header_stdc = yes; then 4841 if test $ac_cv_header_stdc = yes; then
4136 4842
4137 cat >>confdefs.h <<\_ACEOF 4843 cat >>confdefs.h <<\_ACEOF
4138 #define STDC_HEADERS 1 4844 #define STDC_HEADERS 1
4139 _ACEOF 4845 _ACEOF
4152 4858
4153 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4859 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4154 inttypes.h stdint.h unistd.h 4860 inttypes.h stdint.h unistd.h
4155 do 4861 do
4156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4157 echo "$as_me:$LINENO: checking for $ac_header" >&5 4863 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4159 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6 4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 else 4867 else
4162 cat >conftest.$ac_ext <<_ACEOF 4868 cat >conftest.$ac_ext <<_ACEOF
4163 /* confdefs.h. */ 4869 /* confdefs.h. */
4164 _ACEOF 4870 _ACEOF
4168 $ac_includes_default 4874 $ac_includes_default
4169 4875
4170 #include <$ac_header> 4876 #include <$ac_header>
4171 _ACEOF 4877 _ACEOF
4172 rm -f conftest.$ac_objext 4878 rm -f conftest.$ac_objext
4173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4879 if { (ac_try="$ac_compile"
4174 (eval $ac_compile) 2>conftest.er1 4880 case "(($ac_try" in
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4883 esac
4884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4885 (eval "$ac_compile") 2>conftest.er1
4175 ac_status=$? 4886 ac_status=$?
4176 grep -v '^ *+' conftest.er1 >conftest.err 4887 grep -v '^ *+' conftest.er1 >conftest.err
4177 rm -f conftest.er1 4888 rm -f conftest.er1
4178 cat conftest.err >&5 4889 cat conftest.err >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } && 4891 (exit $ac_status); } && {
4181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4892 test -z "$ac_c_werror_flag" ||
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4893 test ! -s conftest.err
4183 (eval $ac_try) 2>&5 4894 } && test -s conftest.$ac_objext; then
4184 ac_status=$?
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; } &&
4187 { ac_try='test -s conftest.$ac_objext'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 (eval $ac_try) 2>&5
4190 ac_status=$?
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4193 eval "$as_ac_Header=yes" 4895 eval "$as_ac_Header=yes"
4194 else 4896 else
4195 echo "$as_me: failed program was:" >&5 4897 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.$ac_ext >&5 4898 sed 's/^/| /' conftest.$ac_ext >&5
4197 4899
4198 eval "$as_ac_Header=no" 4900 eval "$as_ac_Header=no"
4199 fi 4901 fi
4200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4902
4201 fi 4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4904 fi
4203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4905 ac_res=`eval echo '${'$as_ac_Header'}'`
4906 { echo "$as_me:$LINENO: result: $ac_res" >&5
4907 echo "${ECHO_T}$ac_res" >&6; }
4204 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4205 cat >>confdefs.h <<_ACEOF 4909 cat >>confdefs.h <<_ACEOF
4206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4207 _ACEOF 4911 _ACEOF
4208 4912
4216 4920
4217 4921
4218 for ac_header in fcntl.h sys/time.h syslog.h unistd.h 4922 for ac_header in fcntl.h sys/time.h syslog.h unistd.h
4219 do 4923 do
4220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4221 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4222 echo "$as_me:$LINENO: checking for $ac_header" >&5 4926 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4224 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6 4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 fi 4930 fi
4227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4931 ac_res=`eval echo '${'$as_ac_Header'}'`
4228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4932 { echo "$as_me:$LINENO: result: $ac_res" >&5
4933 echo "${ECHO_T}$ac_res" >&6; }
4229 else 4934 else
4230 # Is the header compilable? 4935 # Is the header compilable?
4231 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4936 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4233 cat >conftest.$ac_ext <<_ACEOF 4938 cat >conftest.$ac_ext <<_ACEOF
4234 /* confdefs.h. */ 4939 /* confdefs.h. */
4235 _ACEOF 4940 _ACEOF
4236 cat confdefs.h >>conftest.$ac_ext 4941 cat confdefs.h >>conftest.$ac_ext
4237 cat >>conftest.$ac_ext <<_ACEOF 4942 cat >>conftest.$ac_ext <<_ACEOF
4238 /* end confdefs.h. */ 4943 /* end confdefs.h. */
4239 $ac_includes_default 4944 $ac_includes_default
4240 #include <$ac_header> 4945 #include <$ac_header>
4241 _ACEOF 4946 _ACEOF
4242 rm -f conftest.$ac_objext 4947 rm -f conftest.$ac_objext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4948 if { (ac_try="$ac_compile"
4244 (eval $ac_compile) 2>conftest.er1 4949 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4952 esac
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_compile") 2>conftest.er1
4245 ac_status=$? 4955 ac_status=$?
4246 grep -v '^ *+' conftest.er1 >conftest.err 4956 grep -v '^ *+' conftest.er1 >conftest.err
4247 rm -f conftest.er1 4957 rm -f conftest.er1
4248 cat conftest.err >&5 4958 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } && 4960 (exit $ac_status); } && {
4251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 4961 test -z "$ac_c_werror_flag" ||
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4962 test ! -s conftest.err
4253 (eval $ac_try) 2>&5 4963 } && test -s conftest.$ac_objext; then
4254 ac_status=$?
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; } &&
4257 { ac_try='test -s conftest.$ac_objext'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 (eval $ac_try) 2>&5
4260 ac_status=$?
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then
4263 ac_header_compiler=yes 4964 ac_header_compiler=yes
4264 else 4965 else
4265 echo "$as_me: failed program was:" >&5 4966 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5 4967 sed 's/^/| /' conftest.$ac_ext >&5
4267 4968
4268 ac_header_compiler=no 4969 ac_header_compiler=no
4269 fi 4970 fi
4270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4971
4271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 echo "${ECHO_T}$ac_header_compiler" >&6 4973 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4974 echo "${ECHO_T}$ac_header_compiler" >&6; }
4273 4975
4274 # Is the header present? 4976 # Is the header present?
4275 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4977 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4277 cat >conftest.$ac_ext <<_ACEOF 4979 cat >conftest.$ac_ext <<_ACEOF
4278 /* confdefs.h. */ 4980 /* confdefs.h. */
4279 _ACEOF 4981 _ACEOF
4280 cat confdefs.h >>conftest.$ac_ext 4982 cat confdefs.h >>conftest.$ac_ext
4281 cat >>conftest.$ac_ext <<_ACEOF 4983 cat >>conftest.$ac_ext <<_ACEOF
4282 /* end confdefs.h. */ 4984 /* end confdefs.h. */
4283 #include <$ac_header> 4985 #include <$ac_header>
4284 _ACEOF 4986 _ACEOF
4285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4987 if { (ac_try="$ac_cpp conftest.$ac_ext"
4286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4988 case "(($ac_try" in
4989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4990 *) ac_try_echo=$ac_try;;
4991 esac
4992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4287 ac_status=$? 4994 ac_status=$?
4288 grep -v '^ *+' conftest.er1 >conftest.err 4995 grep -v '^ *+' conftest.er1 >conftest.err
4289 rm -f conftest.er1 4996 rm -f conftest.er1
4290 cat conftest.err >&5 4997 cat conftest.err >&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); } >/dev/null; then 4999 (exit $ac_status); } >/dev/null && {
4293 if test -s conftest.err; then 5000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4294 ac_cpp_err=$ac_c_preproc_warn_flag 5001 test ! -s conftest.err
4295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5002 }; then
4296 else
4297 ac_cpp_err=
4298 fi
4299 else
4300 ac_cpp_err=yes
4301 fi
4302 if test -z "$ac_cpp_err"; then
4303 ac_header_preproc=yes 5003 ac_header_preproc=yes
4304 else 5004 else
4305 echo "$as_me: failed program was:" >&5 5005 echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.$ac_ext >&5 5006 sed 's/^/| /' conftest.$ac_ext >&5
4307 5007
4308 ac_header_preproc=no 5008 ac_header_preproc=no
4309 fi 5009 fi
5010
4310 rm -f conftest.err conftest.$ac_ext 5011 rm -f conftest.err conftest.$ac_ext
4311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5012 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4312 echo "${ECHO_T}$ac_header_preproc" >&6 5013 echo "${ECHO_T}$ac_header_preproc" >&6; }
4313 5014
4314 # So? What about this header? 5015 # So? What about this header?
4315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4316 yes:no: ) 5017 yes:no: )
4317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4336 ( 5037 ( cat <<\_ASBOX
4337 cat <<\_ASBOX
4338 ## ----------------------------- ## 5038 ## ----------------------------- ##
4339 ## Report this to oku@debian.org ## 5039 ## Report this to oku@debian.org ##
4340 ## ----------------------------- ## 5040 ## ----------------------------- ##
4341 _ASBOX 5041 _ASBOX
4342 ) | 5042 ) | sed "s/^/$as_me: WARNING: /" >&2
4343 sed "s/^/$as_me: WARNING: /" >&2
4344 ;; 5043 ;;
4345 esac 5044 esac
4346 echo "$as_me:$LINENO: checking for $ac_header" >&5 5045 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4348 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6 5048 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 else 5049 else
4351 eval "$as_ac_Header=\$ac_header_preproc" 5050 eval "$as_ac_Header=\$ac_header_preproc"
4352 fi 5051 fi
4353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5052 ac_res=`eval echo '${'$as_ac_Header'}'`
4354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5053 { echo "$as_me:$LINENO: result: $ac_res" >&5
5054 echo "${ECHO_T}$ac_res" >&6; }
4355 5055
4356 fi 5056 fi
4357 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4358 cat >>confdefs.h <<_ACEOF 5058 cat >>confdefs.h <<_ACEOF
4359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4362 fi 5062 fi
4363 5063
4364 done 5064 done
4365 5065
4366 5066
4367 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 5067 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4368 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 5068 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4369 if test "${ac_cv_c_const+set}" = set; then 5069 if test "${ac_cv_c_const+set}" = set; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6 5070 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 else 5071 else
4372 cat >conftest.$ac_ext <<_ACEOF 5072 cat >conftest.$ac_ext <<_ACEOF
4373 /* confdefs.h. */ 5073 /* confdefs.h. */
4381 { 5081 {
4382 /* FIXME: Include the comments suggested by Paul. */ 5082 /* FIXME: Include the comments suggested by Paul. */
4383 #ifndef __cplusplus 5083 #ifndef __cplusplus
4384 /* Ultrix mips cc rejects this. */ 5084 /* Ultrix mips cc rejects this. */
4385 typedef int charset[2]; 5085 typedef int charset[2];
4386 const charset x; 5086 const charset cs;
4387 /* SunOS 4.1.1 cc rejects this. */ 5087 /* SunOS 4.1.1 cc rejects this. */
4388 char const *const *ccp; 5088 char const *const *pcpcc;
4389 char **p; 5089 char **ppc;
4390 /* NEC SVR4.0.2 mips cc rejects this. */ 5090 /* NEC SVR4.0.2 mips cc rejects this. */
4391 struct point {int x, y;}; 5091 struct point {int x, y;};
4392 static struct point const zero = {0,0}; 5092 static struct point const zero = {0,0};
4393 /* AIX XL C 1.02.0.0 rejects this. 5093 /* AIX XL C 1.02.0.0 rejects this.
4394 It does not let you subtract one const X* pointer from another in 5094 It does not let you subtract one const X* pointer from another in
4395 an arm of an if-expression whose if-part is not a constant 5095 an arm of an if-expression whose if-part is not a constant
4396 expression */ 5096 expression */
4397 const char *g = "string"; 5097 const char *g = "string";
4398 ccp = &g + (g ? g-g : 0); 5098 pcpcc = &g + (g ? g-g : 0);
4399 /* HPUX 7.0 cc rejects these. */ 5099 /* HPUX 7.0 cc rejects these. */
4400 ++ccp; 5100 ++pcpcc;
4401 p = (char**) ccp; 5101 ppc = (char**) pcpcc;
4402 ccp = (char const *const *) p; 5102 pcpcc = (char const *const *) ppc;
4403 { /* SCO 3.2v4 cc rejects this. */ 5103 { /* SCO 3.2v4 cc rejects this. */
4404 char *t; 5104 char *t;
4405 char const *s = 0 ? (char *) 0 : (char const *) 0; 5105 char const *s = 0 ? (char *) 0 : (char const *) 0;
4406 5106
4407 *t++ = 0; 5107 *t++ = 0;
5108 if (s) return 0;
4408 } 5109 }
4409 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 5110 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4410 int x[] = {25, 17}; 5111 int x[] = {25, 17};
4411 const int *foo = &x[0]; 5112 const int *foo = &x[0];
4412 ++foo; 5113 ++foo;
4421 struct s { int j; const int *ap[3]; }; 5122 struct s { int j; const int *ap[3]; };
4422 struct s *b; b->j = 5; 5123 struct s *b; b->j = 5;
4423 } 5124 }
4424 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5125 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4425 const int foo = 10; 5126 const int foo = 10;
5127 if (!foo) return 0;
4426 } 5128 }
5129 return !cs[0] && !zero.x;
4427 #endif 5130 #endif
4428 5131
4429 ; 5132 ;
4430 return 0; 5133 return 0;
4431 } 5134 }
4432 _ACEOF 5135 _ACEOF
4433 rm -f conftest.$ac_objext 5136 rm -f conftest.$ac_objext
4434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5137 if { (ac_try="$ac_compile"
4435 (eval $ac_compile) 2>conftest.er1 5138 case "(($ac_try" in
5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140 *) ac_try_echo=$ac_try;;
5141 esac
5142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5143 (eval "$ac_compile") 2>conftest.er1
4436 ac_status=$? 5144 ac_status=$?
4437 grep -v '^ *+' conftest.er1 >conftest.err 5145 grep -v '^ *+' conftest.er1 >conftest.err
4438 rm -f conftest.er1 5146 rm -f conftest.er1
4439 cat conftest.err >&5 5147 cat conftest.err >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && 5149 (exit $ac_status); } && {
4442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5150 test -z "$ac_c_werror_flag" ||
4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5151 test ! -s conftest.err
4444 (eval $ac_try) 2>&5 5152 } && test -s conftest.$ac_objext; then
4445 ac_status=$?
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; } &&
4448 { ac_try='test -s conftest.$ac_objext'
4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4450 (eval $ac_try) 2>&5
4451 ac_status=$?
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; }; then
4454 ac_cv_c_const=yes 5153 ac_cv_c_const=yes
4455 else 5154 else
4456 echo "$as_me: failed program was:" >&5 5155 echo "$as_me: failed program was:" >&5
4457 sed 's/^/| /' conftest.$ac_ext >&5 5156 sed 's/^/| /' conftest.$ac_ext >&5
4458 5157
4459 ac_cv_c_const=no 5158 ac_cv_c_const=no
4460 fi 5159 fi
4461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5160
4462 fi 5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4463 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 5162 fi
4464 echo "${ECHO_T}$ac_cv_c_const" >&6 5163 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5164 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4465 if test $ac_cv_c_const = no; then 5165 if test $ac_cv_c_const = no; then
4466 5166
4467 cat >>confdefs.h <<\_ACEOF 5167 cat >>confdefs.h <<\_ACEOF
4468 #define const 5168 #define const
4469 _ACEOF 5169 _ACEOF
4470 5170
4471 fi 5171 fi
4472 5172
4473 echo "$as_me:$LINENO: checking for pid_t" >&5 5173 { echo "$as_me:$LINENO: checking for pid_t" >&5
4474 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 5174 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
4475 if test "${ac_cv_type_pid_t+set}" = set; then 5175 if test "${ac_cv_type_pid_t+set}" = set; then
4476 echo $ECHO_N "(cached) $ECHO_C" >&6 5176 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 else 5177 else
4478 cat >conftest.$ac_ext <<_ACEOF 5178 cat >conftest.$ac_ext <<_ACEOF
4479 /* confdefs.h. */ 5179 /* confdefs.h. */
4480 _ACEOF 5180 _ACEOF
4481 cat confdefs.h >>conftest.$ac_ext 5181 cat confdefs.h >>conftest.$ac_ext
4482 cat >>conftest.$ac_ext <<_ACEOF 5182 cat >>conftest.$ac_ext <<_ACEOF
4483 /* end confdefs.h. */ 5183 /* end confdefs.h. */
4484 $ac_includes_default 5184 $ac_includes_default
5185 typedef pid_t ac__type_new_;
4485 int 5186 int
4486 main () 5187 main ()
4487 { 5188 {
4488 if ((pid_t *) 0) 5189 if ((ac__type_new_ *) 0)
4489 return 0; 5190 return 0;
4490 if (sizeof (pid_t)) 5191 if (sizeof (ac__type_new_))
4491 return 0; 5192 return 0;
4492 ; 5193 ;
4493 return 0; 5194 return 0;
4494 } 5195 }
4495 _ACEOF 5196 _ACEOF
4496 rm -f conftest.$ac_objext 5197 rm -f conftest.$ac_objext
4497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5198 if { (ac_try="$ac_compile"
4498 (eval $ac_compile) 2>conftest.er1 5199 case "(($ac_try" in
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5202 esac
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_compile") 2>conftest.er1
4499 ac_status=$? 5205 ac_status=$?
4500 grep -v '^ *+' conftest.er1 >conftest.err 5206 grep -v '^ *+' conftest.er1 >conftest.err
4501 rm -f conftest.er1 5207 rm -f conftest.er1
4502 cat conftest.err >&5 5208 cat conftest.err >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); } && 5210 (exit $ac_status); } && {
4505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5211 test -z "$ac_c_werror_flag" ||
4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5212 test ! -s conftest.err
4507 (eval $ac_try) 2>&5 5213 } && test -s conftest.$ac_objext; then
4508 ac_status=$?
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; } &&
4511 { ac_try='test -s conftest.$ac_objext'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 (eval $ac_try) 2>&5
4514 ac_status=$?
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; }; then
4517 ac_cv_type_pid_t=yes 5214 ac_cv_type_pid_t=yes
4518 else 5215 else
4519 echo "$as_me: failed program was:" >&5 5216 echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.$ac_ext >&5 5217 sed 's/^/| /' conftest.$ac_ext >&5
4521 5218
4522 ac_cv_type_pid_t=no 5219 ac_cv_type_pid_t=no
4523 fi 5220 fi
4524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5221
4525 fi 5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 5223 fi
4527 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 5224 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5225 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
4528 if test $ac_cv_type_pid_t = yes; then 5226 if test $ac_cv_type_pid_t = yes; then
4529 : 5227 :
4530 else 5228 else
4531 5229
4532 cat >>confdefs.h <<_ACEOF 5230 cat >>confdefs.h <<_ACEOF
4533 #define pid_t int 5231 #define pid_t int
4534 _ACEOF 5232 _ACEOF
4535 5233
4536 fi 5234 fi
4537 5235
4538 echo "$as_me:$LINENO: checking for size_t" >&5 5236 { echo "$as_me:$LINENO: checking for size_t" >&5
4539 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 5237 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4540 if test "${ac_cv_type_size_t+set}" = set; then 5238 if test "${ac_cv_type_size_t+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6 5239 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 else 5240 else
4543 cat >conftest.$ac_ext <<_ACEOF 5241 cat >conftest.$ac_ext <<_ACEOF
4544 /* confdefs.h. */ 5242 /* confdefs.h. */
4545 _ACEOF 5243 _ACEOF
4546 cat confdefs.h >>conftest.$ac_ext 5244 cat confdefs.h >>conftest.$ac_ext
4547 cat >>conftest.$ac_ext <<_ACEOF 5245 cat >>conftest.$ac_ext <<_ACEOF
4548 /* end confdefs.h. */ 5246 /* end confdefs.h. */
4549 $ac_includes_default 5247 $ac_includes_default
5248 typedef size_t ac__type_new_;
4550 int 5249 int
4551 main () 5250 main ()
4552 { 5251 {
4553 if ((size_t *) 0) 5252 if ((ac__type_new_ *) 0)
4554 return 0; 5253 return 0;
4555 if (sizeof (size_t)) 5254 if (sizeof (ac__type_new_))
4556 return 0; 5255 return 0;
4557 ; 5256 ;
4558 return 0; 5257 return 0;
4559 } 5258 }
4560 _ACEOF 5259 _ACEOF
4561 rm -f conftest.$ac_objext 5260 rm -f conftest.$ac_objext
4562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5261 if { (ac_try="$ac_compile"
4563 (eval $ac_compile) 2>conftest.er1 5262 case "(($ac_try" in
5263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5265 esac
5266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5267 (eval "$ac_compile") 2>conftest.er1
4564 ac_status=$? 5268 ac_status=$?
4565 grep -v '^ *+' conftest.er1 >conftest.err 5269 grep -v '^ *+' conftest.er1 >conftest.err
4566 rm -f conftest.er1 5270 rm -f conftest.er1
4567 cat conftest.err >&5 5271 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } && 5273 (exit $ac_status); } && {
4570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5274 test -z "$ac_c_werror_flag" ||
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5275 test ! -s conftest.err
4572 (eval $ac_try) 2>&5 5276 } && test -s conftest.$ac_objext; then
4573 ac_status=$?
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try='test -s conftest.$ac_objext'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4578 (eval $ac_try) 2>&5
4579 ac_status=$?
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; }; then
4582 ac_cv_type_size_t=yes 5277 ac_cv_type_size_t=yes
4583 else 5278 else
4584 echo "$as_me: failed program was:" >&5 5279 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5 5280 sed 's/^/| /' conftest.$ac_ext >&5
4586 5281
4587 ac_cv_type_size_t=no 5282 ac_cv_type_size_t=no
4588 fi 5283 fi
4589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5284
4590 fi 5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5286 fi
4592 echo "${ECHO_T}$ac_cv_type_size_t" >&6 5287 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5288 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4593 if test $ac_cv_type_size_t = yes; then 5289 if test $ac_cv_type_size_t = yes; then
4594 : 5290 :
4595 else 5291 else
4596 5292
4597 cat >>confdefs.h <<_ACEOF 5293 cat >>confdefs.h <<_ACEOF
4598 #define size_t unsigned 5294 #define size_t unsigned int
4599 _ACEOF 5295 _ACEOF
4600 5296
4601 fi 5297 fi
4602 5298
4603 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5299 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4604 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 5300 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4605 if test "${ac_cv_header_time+set}" = set; then 5301 if test "${ac_cv_header_time+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6 5302 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 else 5303 else
4608 cat >conftest.$ac_ext <<_ACEOF 5304 cat >conftest.$ac_ext <<_ACEOF
4609 /* confdefs.h. */ 5305 /* confdefs.h. */
4623 ; 5319 ;
4624 return 0; 5320 return 0;
4625 } 5321 }
4626 _ACEOF 5322 _ACEOF
4627 rm -f conftest.$ac_objext 5323 rm -f conftest.$ac_objext
4628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5324 if { (ac_try="$ac_compile"
4629 (eval $ac_compile) 2>conftest.er1 5325 case "(($ac_try" in
5326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5327 *) ac_try_echo=$ac_try;;
5328 esac
5329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5330 (eval "$ac_compile") 2>conftest.er1
4630 ac_status=$? 5331 ac_status=$?
4631 grep -v '^ *+' conftest.er1 >conftest.err 5332 grep -v '^ *+' conftest.er1 >conftest.err
4632 rm -f conftest.er1 5333 rm -f conftest.er1
4633 cat conftest.err >&5 5334 cat conftest.err >&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } && 5336 (exit $ac_status); } && {
4636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5337 test -z "$ac_c_werror_flag" ||
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5338 test ! -s conftest.err
4638 (eval $ac_try) 2>&5 5339 } && test -s conftest.$ac_objext; then
4639 ac_status=$?
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; } &&
4642 { ac_try='test -s conftest.$ac_objext'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 (eval $ac_try) 2>&5
4645 ac_status=$?
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; }; then
4648 ac_cv_header_time=yes 5340 ac_cv_header_time=yes
4649 else 5341 else
4650 echo "$as_me: failed program was:" >&5 5342 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.$ac_ext >&5 5343 sed 's/^/| /' conftest.$ac_ext >&5
4652 5344
4653 ac_cv_header_time=no 5345 ac_cv_header_time=no
4654 fi 5346 fi
4655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5347
4656 fi 5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4657 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5349 fi
4658 echo "${ECHO_T}$ac_cv_header_time" >&6 5350 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5351 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4659 if test $ac_cv_header_time = yes; then 5352 if test $ac_cv_header_time = yes; then
4660 5353
4661 cat >>confdefs.h <<\_ACEOF 5354 cat >>confdefs.h <<\_ACEOF
4662 #define TIME_WITH_SYS_TIME 1 5355 #define TIME_WITH_SYS_TIME 1
4663 _ACEOF 5356 _ACEOF
4664 5357
4665 fi 5358 fi
4666 5359
4667 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5360 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4668 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5361 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4669 if test "${ac_cv_struct_tm+set}" = set; then 5362 if test "${ac_cv_struct_tm+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6 5363 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 else 5364 else
4672 cat >conftest.$ac_ext <<_ACEOF 5365 cat >conftest.$ac_ext <<_ACEOF
4673 /* confdefs.h. */ 5366 /* confdefs.h. */
4679 #include <time.h> 5372 #include <time.h>
4680 5373
4681 int 5374 int
4682 main () 5375 main ()
4683 { 5376 {
4684 struct tm *tp; tp->tm_sec; 5377 struct tm tm;
5378 int *p = &tm.tm_sec;
5379 return !p;
4685 ; 5380 ;
4686 return 0; 5381 return 0;
4687 } 5382 }
4688 _ACEOF 5383 _ACEOF
4689 rm -f conftest.$ac_objext 5384 rm -f conftest.$ac_objext
4690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5385 if { (ac_try="$ac_compile"
4691 (eval $ac_compile) 2>conftest.er1 5386 case "(($ac_try" in
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5389 esac
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_compile") 2>conftest.er1
4692 ac_status=$? 5392 ac_status=$?
4693 grep -v '^ *+' conftest.er1 >conftest.err 5393 grep -v '^ *+' conftest.er1 >conftest.err
4694 rm -f conftest.er1 5394 rm -f conftest.er1
4695 cat conftest.err >&5 5395 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } && 5397 (exit $ac_status); } && {
4698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5398 test -z "$ac_c_werror_flag" ||
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5399 test ! -s conftest.err
4700 (eval $ac_try) 2>&5 5400 } && test -s conftest.$ac_objext; then
4701 ac_status=$?
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 (eval $ac_try) 2>&5
4707 ac_status=$?
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 ac_cv_struct_tm=time.h 5401 ac_cv_struct_tm=time.h
4711 else 5402 else
4712 echo "$as_me: failed program was:" >&5 5403 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5 5404 sed 's/^/| /' conftest.$ac_ext >&5
4714 5405
4715 ac_cv_struct_tm=sys/time.h 5406 ac_cv_struct_tm=sys/time.h
4716 fi 5407 fi
4717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5408
4718 fi 5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4719 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5410 fi
4720 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5411 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5412 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4721 if test $ac_cv_struct_tm = sys/time.h; then 5413 if test $ac_cv_struct_tm = sys/time.h; then
4722 5414
4723 cat >>confdefs.h <<\_ACEOF 5415 cat >>confdefs.h <<\_ACEOF
4724 #define TM_IN_SYS_TIME 1 5416 #define TM_IN_SYS_TIME 1
4725 _ACEOF 5417 _ACEOF
4726 5418
4727 fi 5419 fi
4728 5420
4729 5421
4730 echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5 5422 { echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
4731 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6 5423 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6; }
4732 if test "${ac_cv_func_fnmatch_works+set}" = set; then 5424 if test "${ac_cv_func_fnmatch_works+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6 5425 echo $ECHO_N "(cached) $ECHO_C" >&6
4734 else 5426 else
4735 # Some versions of Solaris, SCO, and the GNU C Library 5427 # Some versions of Solaris, SCO, and the GNU C Library
4736 # have a broken or incompatible fnmatch. 5428 # have a broken or incompatible fnmatch.
4750 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) 5442 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
4751 5443
4752 int 5444 int
4753 main () 5445 main ()
4754 { 5446 {
4755 exit 5447 return
4756 (!(y ("a*", "abc", 0) 5448 (!(y ("a*", "abc", 0)
4757 && n ("d*/*1", "d/s/1", FNM_PATHNAME) 5449 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
4758 && y ("a\\\\bc", "abc", 0) 5450 && y ("a\\\\bc", "abc", 0)
4759 && n ("a\\\\bc", "abc", FNM_NOESCAPE) 5451 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
4760 && y ("*x", ".x", 0) 5452 && y ("*x", ".x", 0)
4763 ; 5455 ;
4764 return 0; 5456 return 0;
4765 } 5457 }
4766 _ACEOF 5458 _ACEOF
4767 rm -f conftest$ac_exeext 5459 rm -f conftest$ac_exeext
4768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5460 if { (ac_try="$ac_link"
4769 (eval $ac_link) 2>&5 5461 case "(($ac_try" in
5462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5463 *) ac_try_echo=$ac_try;;
5464 esac
5465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5466 (eval "$ac_link") 2>&5
4770 ac_status=$? 5467 ac_status=$?
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5469 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5470 { (case "(($ac_try" in
4774 (eval $ac_try) 2>&5 5471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5472 *) ac_try_echo=$ac_try;;
5473 esac
5474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5475 (eval "$ac_try") 2>&5
4775 ac_status=$? 5476 ac_status=$?
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; }; then 5478 (exit $ac_status); }; }; then
4778 ac_cv_func_fnmatch_works=yes 5479 ac_cv_func_fnmatch_works=yes
4779 else 5480 else
4782 sed 's/^/| /' conftest.$ac_ext >&5 5483 sed 's/^/| /' conftest.$ac_ext >&5
4783 5484
4784 ( exit $ac_status ) 5485 ( exit $ac_status )
4785 ac_cv_func_fnmatch_works=no 5486 ac_cv_func_fnmatch_works=no
4786 fi 5487 fi
4787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4788 fi 5489 fi
4789 fi 5490
4790 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5 5491
4791 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6 5492 fi
5493 { echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
5494 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6; }
4792 if test $ac_cv_func_fnmatch_works = yes; then 5495 if test $ac_cv_func_fnmatch_works = yes; then
4793 5496
4794 cat >>confdefs.h <<\_ACEOF 5497 cat >>confdefs.h <<\_ACEOF
4795 #define HAVE_FNMATCH 1 5498 #define HAVE_FNMATCH 1
4796 _ACEOF 5499 _ACEOF
4797 5500
4798 fi 5501 fi
4799 5502
4800 5503
4801 5504
4802 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5505 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4803 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 5506 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
4804 if test "${ac_cv_type_signal+set}" = set; then 5507 if test "${ac_cv_type_signal+set}" = set; then
4805 echo $ECHO_N "(cached) $ECHO_C" >&6 5508 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 else 5509 else
4807 cat >conftest.$ac_ext <<_ACEOF 5510 cat >conftest.$ac_ext <<_ACEOF
4808 /* confdefs.h. */ 5511 /* confdefs.h. */
4810 cat confdefs.h >>conftest.$ac_ext 5513 cat confdefs.h >>conftest.$ac_ext
4811 cat >>conftest.$ac_ext <<_ACEOF 5514 cat >>conftest.$ac_ext <<_ACEOF
4812 /* end confdefs.h. */ 5515 /* end confdefs.h. */
4813 #include <sys/types.h> 5516 #include <sys/types.h>
4814 #include <signal.h> 5517 #include <signal.h>
4815 #ifdef signal
4816 # undef signal
4817 #endif
4818 #ifdef __cplusplus
4819 extern "C" void (*signal (int, void (*)(int)))(int);
4820 #else
4821 void (*signal ()) ();
4822 #endif
4823 5518
4824 int 5519 int
4825 main () 5520 main ()
4826 { 5521 {
4827 int i; 5522 return *(signal (0, 0)) (0) == 1;
4828 ; 5523 ;
4829 return 0; 5524 return 0;
4830 } 5525 }
4831 _ACEOF 5526 _ACEOF
4832 rm -f conftest.$ac_objext 5527 rm -f conftest.$ac_objext
4833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5528 if { (ac_try="$ac_compile"
4834 (eval $ac_compile) 2>conftest.er1 5529 case "(($ac_try" in
5530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5532 esac
5533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5534 (eval "$ac_compile") 2>conftest.er1
4835 ac_status=$? 5535 ac_status=$?
4836 grep -v '^ *+' conftest.er1 >conftest.err 5536 grep -v '^ *+' conftest.er1 >conftest.err
4837 rm -f conftest.er1 5537 rm -f conftest.er1
4838 cat conftest.err >&5 5538 cat conftest.err >&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); } && 5540 (exit $ac_status); } && {
4841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5541 test -z "$ac_c_werror_flag" ||
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5542 test ! -s conftest.err
4843 (eval $ac_try) 2>&5 5543 } && test -s conftest.$ac_objext; then
4844 ac_status=$? 5544 ac_cv_type_signal=int
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; } &&
4847 { ac_try='test -s conftest.$ac_objext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 (eval $ac_try) 2>&5
4850 ac_status=$?
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 ac_cv_type_signal=void
4854 else 5545 else
4855 echo "$as_me: failed program was:" >&5 5546 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5 5547 sed 's/^/| /' conftest.$ac_ext >&5
4857 5548
4858 ac_cv_type_signal=int 5549 ac_cv_type_signal=void
4859 fi 5550 fi
4860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5551
4861 fi 5552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4862 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5553 fi
4863 echo "${ECHO_T}$ac_cv_type_signal" >&6 5554 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5555 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
4864 5556
4865 cat >>confdefs.h <<_ACEOF 5557 cat >>confdefs.h <<_ACEOF
4866 #define RETSIGTYPE $ac_cv_type_signal 5558 #define RETSIGTYPE $ac_cv_type_signal
4867 _ACEOF 5559 _ACEOF
4868 5560
4869 5561
4870 5562
4871 for ac_func in strftime 5563 for ac_func in strftime
4872 do 5564 do
4873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4874 echo "$as_me:$LINENO: checking for $ac_func" >&5 5566 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4876 if eval "test \"\${$as_ac_var+set}\" = set"; then 5568 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6 5569 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 else 5570 else
4879 cat >conftest.$ac_ext <<_ACEOF 5571 cat >conftest.$ac_ext <<_ACEOF
4880 /* confdefs.h. */ 5572 /* confdefs.h. */
4881 _ACEOF 5573 _ACEOF
4897 # include <assert.h> 5589 # include <assert.h>
4898 #endif 5590 #endif
4899 5591
4900 #undef $ac_func 5592 #undef $ac_func
4901 5593
4902 /* Override any gcc2 internal prototype to avoid an error. */ 5594 /* Override any GCC internal prototype to avoid an error.
5595 Use char because int might match the return type of a GCC
5596 builtin and then its argument prototype would still apply. */
4903 #ifdef __cplusplus 5597 #ifdef __cplusplus
4904 extern "C" 5598 extern "C"
4905 {
4906 #endif 5599 #endif
4907 /* We use char because int might match the return type of a gcc2
4908 builtin and then its argument prototype would still apply. */
4909 char $ac_func (); 5600 char $ac_func ();
4910 /* The GNU C library defines this for functions which it implements 5601 /* The GNU C library defines this for functions which it implements
4911 to always fail with ENOSYS. Some functions are actually named 5602 to always fail with ENOSYS. Some functions are actually named
4912 something starting with __ and the normal name is an alias. */ 5603 something starting with __ and the normal name is an alias. */
4913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5604 #if defined __stub_$ac_func || defined __stub___$ac_func
4914 choke me 5605 choke me
4915 #else
4916 char (*f) () = $ac_func;
4917 #endif
4918 #ifdef __cplusplus
4919 }
4920 #endif 5606 #endif
4921 5607
4922 int 5608 int
4923 main () 5609 main ()
4924 { 5610 {
4925 return f != $ac_func; 5611 return $ac_func ();
4926 ; 5612 ;
4927 return 0; 5613 return 0;
4928 } 5614 }
4929 _ACEOF 5615 _ACEOF
4930 rm -f conftest.$ac_objext conftest$ac_exeext 5616 rm -f conftest.$ac_objext conftest$ac_exeext
4931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5617 if { (ac_try="$ac_link"
4932 (eval $ac_link) 2>conftest.er1 5618 case "(($ac_try" in
5619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5620 *) ac_try_echo=$ac_try;;
5621 esac
5622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5623 (eval "$ac_link") 2>conftest.er1
4933 ac_status=$? 5624 ac_status=$?
4934 grep -v '^ *+' conftest.er1 >conftest.err 5625 grep -v '^ *+' conftest.er1 >conftest.err
4935 rm -f conftest.er1 5626 rm -f conftest.er1
4936 cat conftest.err >&5 5627 cat conftest.err >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); } && 5629 (exit $ac_status); } && {
4939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5630 test -z "$ac_c_werror_flag" ||
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5631 test ! -s conftest.err
4941 (eval $ac_try) 2>&5 5632 } && test -s conftest$ac_exeext &&
4942 ac_status=$? 5633 $as_test_x conftest$ac_exeext; then
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; } &&
4945 { ac_try='test -s conftest$ac_exeext'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4947 (eval $ac_try) 2>&5
4948 ac_status=$?
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; }; then
4951 eval "$as_ac_var=yes" 5634 eval "$as_ac_var=yes"
4952 else 5635 else
4953 echo "$as_me: failed program was:" >&5 5636 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.$ac_ext >&5 5637 sed 's/^/| /' conftest.$ac_ext >&5
4955 5638
4956 eval "$as_ac_var=no" 5639 eval "$as_ac_var=no"
4957 fi 5640 fi
4958 rm -f conftest.err conftest.$ac_objext \ 5641
5642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4959 conftest$ac_exeext conftest.$ac_ext 5643 conftest$ac_exeext conftest.$ac_ext
4960 fi 5644 fi
4961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5645 ac_res=`eval echo '${'$as_ac_var'}'`
4962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5646 { echo "$as_me:$LINENO: result: $ac_res" >&5
5647 echo "${ECHO_T}$ac_res" >&6; }
4963 if test `eval echo '${'$as_ac_var'}'` = yes; then 5648 if test `eval echo '${'$as_ac_var'}'` = yes; then
4964 cat >>confdefs.h <<_ACEOF 5649 cat >>confdefs.h <<_ACEOF
4965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4966 _ACEOF 5651 _ACEOF
4967 5652
4968 else 5653 else
4969 # strftime is in -lintl on SCO UNIX. 5654 # strftime is in -lintl on SCO UNIX.
4970 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 5655 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
4971 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 5656 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
4972 if test "${ac_cv_lib_intl_strftime+set}" = set; then 5657 if test "${ac_cv_lib_intl_strftime+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6 5658 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 else 5659 else
4975 ac_check_lib_save_LIBS=$LIBS 5660 ac_check_lib_save_LIBS=$LIBS
4976 LIBS="-lintl $LIBS" 5661 LIBS="-lintl $LIBS"
4979 _ACEOF 5664 _ACEOF
4980 cat confdefs.h >>conftest.$ac_ext 5665 cat confdefs.h >>conftest.$ac_ext
4981 cat >>conftest.$ac_ext <<_ACEOF 5666 cat >>conftest.$ac_ext <<_ACEOF
4982 /* end confdefs.h. */ 5667 /* end confdefs.h. */
4983 5668
4984 /* Override any gcc2 internal prototype to avoid an error. */ 5669 /* Override any GCC internal prototype to avoid an error.
5670 Use char because int might match the return type of a GCC
5671 builtin and then its argument prototype would still apply. */
4985 #ifdef __cplusplus 5672 #ifdef __cplusplus
4986 extern "C" 5673 extern "C"
4987 #endif 5674 #endif
4988 /* We use char because int might match the return type of a gcc2
4989 builtin and then its argument prototype would still apply. */
4990 char strftime (); 5675 char strftime ();
4991 int 5676 int
4992 main () 5677 main ()
4993 { 5678 {
4994 strftime (); 5679 return strftime ();
4995 ; 5680 ;
4996 return 0; 5681 return 0;
4997 } 5682 }
4998 _ACEOF 5683 _ACEOF
4999 rm -f conftest.$ac_objext conftest$ac_exeext 5684 rm -f conftest.$ac_objext conftest$ac_exeext
5000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5685 if { (ac_try="$ac_link"
5001 (eval $ac_link) 2>conftest.er1 5686 case "(($ac_try" in
5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688 *) ac_try_echo=$ac_try;;
5689 esac
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_link") 2>conftest.er1
5002 ac_status=$? 5692 ac_status=$?
5003 grep -v '^ *+' conftest.er1 >conftest.err 5693 grep -v '^ *+' conftest.er1 >conftest.err
5004 rm -f conftest.er1 5694 rm -f conftest.er1
5005 cat conftest.err >&5 5695 cat conftest.err >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); } && 5697 (exit $ac_status); } && {
5008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5698 test -z "$ac_c_werror_flag" ||
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5699 test ! -s conftest.err
5010 (eval $ac_try) 2>&5 5700 } && test -s conftest$ac_exeext &&
5011 ac_status=$? 5701 $as_test_x conftest$ac_exeext; then
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; } &&
5014 { ac_try='test -s conftest$ac_exeext'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 (eval $ac_try) 2>&5
5017 ac_status=$?
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; }; then
5020 ac_cv_lib_intl_strftime=yes 5702 ac_cv_lib_intl_strftime=yes
5021 else 5703 else
5022 echo "$as_me: failed program was:" >&5 5704 echo "$as_me: failed program was:" >&5
5023 sed 's/^/| /' conftest.$ac_ext >&5 5705 sed 's/^/| /' conftest.$ac_ext >&5
5024 5706
5025 ac_cv_lib_intl_strftime=no 5707 ac_cv_lib_intl_strftime=no
5026 fi 5708 fi
5027 rm -f conftest.err conftest.$ac_objext \ 5709
5710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5028 conftest$ac_exeext conftest.$ac_ext 5711 conftest$ac_exeext conftest.$ac_ext
5029 LIBS=$ac_check_lib_save_LIBS 5712 LIBS=$ac_check_lib_save_LIBS
5030 fi 5713 fi
5031 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 5714 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
5032 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 5715 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
5033 if test $ac_cv_lib_intl_strftime = yes; then 5716 if test $ac_cv_lib_intl_strftime = yes; then
5034 cat >>confdefs.h <<\_ACEOF 5717 cat >>confdefs.h <<\_ACEOF
5035 #define HAVE_STRFTIME 1 5718 #define HAVE_STRFTIME 1
5036 _ACEOF 5719 _ACEOF
5037 5720
5043 5726
5044 5727
5045 for ac_func in vprintf 5728 for ac_func in vprintf
5046 do 5729 do
5047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5048 echo "$as_me:$LINENO: checking for $ac_func" >&5 5731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5050 if eval "test \"\${$as_ac_var+set}\" = set"; then 5733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6 5734 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 else 5735 else
5053 cat >conftest.$ac_ext <<_ACEOF 5736 cat >conftest.$ac_ext <<_ACEOF
5054 /* confdefs.h. */ 5737 /* confdefs.h. */
5055 _ACEOF 5738 _ACEOF
5071 # include <assert.h> 5754 # include <assert.h>
5072 #endif 5755 #endif
5073 5756
5074 #undef $ac_func 5757 #undef $ac_func
5075 5758
5076 /* Override any gcc2 internal prototype to avoid an error. */ 5759 /* Override any GCC internal prototype to avoid an error.
5760 Use char because int might match the return type of a GCC
5761 builtin and then its argument prototype would still apply. */
5077 #ifdef __cplusplus 5762 #ifdef __cplusplus
5078 extern "C" 5763 extern "C"
5079 {
5080 #endif 5764 #endif
5081 /* We use char because int might match the return type of a gcc2
5082 builtin and then its argument prototype would still apply. */
5083 char $ac_func (); 5765 char $ac_func ();
5084 /* The GNU C library defines this for functions which it implements 5766 /* The GNU C library defines this for functions which it implements
5085 to always fail with ENOSYS. Some functions are actually named 5767 to always fail with ENOSYS. Some functions are actually named
5086 something starting with __ and the normal name is an alias. */ 5768 something starting with __ and the normal name is an alias. */
5087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5769 #if defined __stub_$ac_func || defined __stub___$ac_func
5088 choke me 5770 choke me
5089 #else
5090 char (*f) () = $ac_func;
5091 #endif
5092 #ifdef __cplusplus
5093 }
5094 #endif 5771 #endif
5095 5772
5096 int 5773 int
5097 main () 5774 main ()
5098 { 5775 {
5099 return f != $ac_func; 5776 return $ac_func ();
5100 ; 5777 ;
5101 return 0; 5778 return 0;
5102 } 5779 }
5103 _ACEOF 5780 _ACEOF
5104 rm -f conftest.$ac_objext conftest$ac_exeext 5781 rm -f conftest.$ac_objext conftest$ac_exeext
5105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5782 if { (ac_try="$ac_link"
5106 (eval $ac_link) 2>conftest.er1 5783 case "(($ac_try" in
5784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5785 *) ac_try_echo=$ac_try;;
5786 esac
5787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5788 (eval "$ac_link") 2>conftest.er1
5107 ac_status=$? 5789 ac_status=$?
5108 grep -v '^ *+' conftest.er1 >conftest.err 5790 grep -v '^ *+' conftest.er1 >conftest.err
5109 rm -f conftest.er1 5791 rm -f conftest.er1
5110 cat conftest.err >&5 5792 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } && 5794 (exit $ac_status); } && {
5113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5795 test -z "$ac_c_werror_flag" ||
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5796 test ! -s conftest.err
5115 (eval $ac_try) 2>&5 5797 } && test -s conftest$ac_exeext &&
5116 ac_status=$? 5798 $as_test_x conftest$ac_exeext; then
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; } &&
5119 { ac_try='test -s conftest$ac_exeext'
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 (eval $ac_try) 2>&5
5122 ac_status=$?
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 eval "$as_ac_var=yes" 5799 eval "$as_ac_var=yes"
5126 else 5800 else
5127 echo "$as_me: failed program was:" >&5 5801 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5 5802 sed 's/^/| /' conftest.$ac_ext >&5
5129 5803
5130 eval "$as_ac_var=no" 5804 eval "$as_ac_var=no"
5131 fi 5805 fi
5132 rm -f conftest.err conftest.$ac_objext \ 5806
5807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5133 conftest$ac_exeext conftest.$ac_ext 5808 conftest$ac_exeext conftest.$ac_ext
5134 fi 5809 fi
5135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5810 ac_res=`eval echo '${'$as_ac_var'}'`
5136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5811 { echo "$as_me:$LINENO: result: $ac_res" >&5
5812 echo "${ECHO_T}$ac_res" >&6; }
5137 if test `eval echo '${'$as_ac_var'}'` = yes; then 5813 if test `eval echo '${'$as_ac_var'}'` = yes; then
5138 cat >>confdefs.h <<_ACEOF 5814 cat >>confdefs.h <<_ACEOF
5139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5140 _ACEOF 5816 _ACEOF
5141 5817
5142 echo "$as_me:$LINENO: checking for _doprnt" >&5 5818 { echo "$as_me:$LINENO: checking for _doprnt" >&5
5143 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 5819 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
5144 if test "${ac_cv_func__doprnt+set}" = set; then 5820 if test "${ac_cv_func__doprnt+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6 5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 else 5822 else
5147 cat >conftest.$ac_ext <<_ACEOF 5823 cat >conftest.$ac_ext <<_ACEOF
5148 /* confdefs.h. */ 5824 /* confdefs.h. */
5165 # include <assert.h> 5841 # include <assert.h>
5166 #endif 5842 #endif
5167 5843
5168 #undef _doprnt 5844 #undef _doprnt
5169 5845
5170 /* Override any gcc2 internal prototype to avoid an error. */ 5846 /* Override any GCC internal prototype to avoid an error.
5847 Use char because int might match the return type of a GCC
5848 builtin and then its argument prototype would still apply. */
5171 #ifdef __cplusplus 5849 #ifdef __cplusplus
5172 extern "C" 5850 extern "C"
5173 {
5174 #endif 5851 #endif
5175 /* We use char because int might match the return type of a gcc2
5176 builtin and then its argument prototype would still apply. */
5177 char _doprnt (); 5852 char _doprnt ();
5178 /* The GNU C library defines this for functions which it implements 5853 /* The GNU C library defines this for functions which it implements
5179 to always fail with ENOSYS. Some functions are actually named 5854 to always fail with ENOSYS. Some functions are actually named
5180 something starting with __ and the normal name is an alias. */ 5855 something starting with __ and the normal name is an alias. */
5181 #if defined (__stub__doprnt) || defined (__stub____doprnt) 5856 #if defined __stub__doprnt || defined __stub____doprnt
5182 choke me 5857 choke me
5183 #else
5184 char (*f) () = _doprnt;
5185 #endif
5186 #ifdef __cplusplus
5187 }
5188 #endif 5858 #endif
5189 5859
5190 int 5860 int
5191 main () 5861 main ()
5192 { 5862 {
5193 return f != _doprnt; 5863 return _doprnt ();
5194 ; 5864 ;
5195 return 0; 5865 return 0;
5196 } 5866 }
5197 _ACEOF 5867 _ACEOF
5198 rm -f conftest.$ac_objext conftest$ac_exeext 5868 rm -f conftest.$ac_objext conftest$ac_exeext
5199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5869 if { (ac_try="$ac_link"
5200 (eval $ac_link) 2>conftest.er1 5870 case "(($ac_try" in
5871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5872 *) ac_try_echo=$ac_try;;
5873 esac
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_link") 2>conftest.er1
5201 ac_status=$? 5876 ac_status=$?
5202 grep -v '^ *+' conftest.er1 >conftest.err 5877 grep -v '^ *+' conftest.er1 >conftest.err
5203 rm -f conftest.er1 5878 rm -f conftest.er1
5204 cat conftest.err >&5 5879 cat conftest.err >&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); } && 5881 (exit $ac_status); } && {
5207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5882 test -z "$ac_c_werror_flag" ||
5208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5883 test ! -s conftest.err
5209 (eval $ac_try) 2>&5 5884 } && test -s conftest$ac_exeext &&
5210 ac_status=$? 5885 $as_test_x conftest$ac_exeext; then
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); }; } &&
5213 { ac_try='test -s conftest$ac_exeext'
5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5215 (eval $ac_try) 2>&5
5216 ac_status=$?
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; }; then
5219 ac_cv_func__doprnt=yes 5886 ac_cv_func__doprnt=yes
5220 else 5887 else
5221 echo "$as_me: failed program was:" >&5 5888 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5 5889 sed 's/^/| /' conftest.$ac_ext >&5
5223 5890
5224 ac_cv_func__doprnt=no 5891 ac_cv_func__doprnt=no
5225 fi 5892 fi
5226 rm -f conftest.err conftest.$ac_objext \ 5893
5894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5227 conftest$ac_exeext conftest.$ac_ext 5895 conftest$ac_exeext conftest.$ac_ext
5228 fi 5896 fi
5229 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 5897 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5230 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 5898 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
5231 if test $ac_cv_func__doprnt = yes; then 5899 if test $ac_cv_func__doprnt = yes; then
5232 5900
5233 cat >>confdefs.h <<\_ACEOF 5901 cat >>confdefs.h <<\_ACEOF
5234 #define HAVE_DOPRNT 1 5902 #define HAVE_DOPRNT 1
5235 _ACEOF 5903 _ACEOF
5245 5913
5246 5914
5247 for ac_func in select socket strerror strstr 5915 for ac_func in select socket strerror strstr
5248 do 5916 do
5249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5250 echo "$as_me:$LINENO: checking for $ac_func" >&5 5918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5252 if eval "test \"\${$as_ac_var+set}\" = set"; then 5920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6 5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5254 else 5922 else
5255 cat >conftest.$ac_ext <<_ACEOF 5923 cat >conftest.$ac_ext <<_ACEOF
5256 /* confdefs.h. */ 5924 /* confdefs.h. */
5257 _ACEOF 5925 _ACEOF
5273 # include <assert.h> 5941 # include <assert.h>
5274 #endif 5942 #endif
5275 5943
5276 #undef $ac_func 5944 #undef $ac_func
5277 5945
5278 /* Override any gcc2 internal prototype to avoid an error. */ 5946 /* Override any GCC internal prototype to avoid an error.
5947 Use char because int might match the return type of a GCC
5948 builtin and then its argument prototype would still apply. */
5279 #ifdef __cplusplus 5949 #ifdef __cplusplus
5280 extern "C" 5950 extern "C"
5281 {
5282 #endif 5951 #endif
5283 /* We use char because int might match the return type of a gcc2
5284 builtin and then its argument prototype would still apply. */
5285 char $ac_func (); 5952 char $ac_func ();
5286 /* The GNU C library defines this for functions which it implements 5953 /* The GNU C library defines this for functions which it implements
5287 to always fail with ENOSYS. Some functions are actually named 5954 to always fail with ENOSYS. Some functions are actually named
5288 something starting with __ and the normal name is an alias. */ 5955 something starting with __ and the normal name is an alias. */
5289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5956 #if defined __stub_$ac_func || defined __stub___$ac_func
5290 choke me 5957 choke me
5291 #else
5292 char (*f) () = $ac_func;
5293 #endif
5294 #ifdef __cplusplus
5295 }
5296 #endif 5958 #endif
5297 5959
5298 int 5960 int
5299 main () 5961 main ()
5300 { 5962 {
5301 return f != $ac_func; 5963 return $ac_func ();
5302 ; 5964 ;
5303 return 0; 5965 return 0;
5304 } 5966 }
5305 _ACEOF 5967 _ACEOF
5306 rm -f conftest.$ac_objext conftest$ac_exeext 5968 rm -f conftest.$ac_objext conftest$ac_exeext
5307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5969 if { (ac_try="$ac_link"
5308 (eval $ac_link) 2>conftest.er1 5970 case "(($ac_try" in
5971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5972 *) ac_try_echo=$ac_try;;
5973 esac
5974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5975 (eval "$ac_link") 2>conftest.er1
5309 ac_status=$? 5976 ac_status=$?
5310 grep -v '^ *+' conftest.er1 >conftest.err 5977 grep -v '^ *+' conftest.er1 >conftest.err
5311 rm -f conftest.er1 5978 rm -f conftest.er1
5312 cat conftest.err >&5 5979 cat conftest.err >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); } && 5981 (exit $ac_status); } && {
5315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5982 test -z "$ac_c_werror_flag" ||
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5983 test ! -s conftest.err
5317 (eval $ac_try) 2>&5 5984 } && test -s conftest$ac_exeext &&
5318 ac_status=$? 5985 $as_test_x conftest$ac_exeext; then
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; } &&
5321 { ac_try='test -s conftest$ac_exeext'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323 (eval $ac_try) 2>&5
5324 ac_status=$?
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; }; then
5327 eval "$as_ac_var=yes" 5986 eval "$as_ac_var=yes"
5328 else 5987 else
5329 echo "$as_me: failed program was:" >&5 5988 echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5 5989 sed 's/^/| /' conftest.$ac_ext >&5
5331 5990
5332 eval "$as_ac_var=no" 5991 eval "$as_ac_var=no"
5333 fi 5992 fi
5334 rm -f conftest.err conftest.$ac_objext \ 5993
5994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5335 conftest$ac_exeext conftest.$ac_ext 5995 conftest$ac_exeext conftest.$ac_ext
5336 fi 5996 fi
5337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5997 ac_res=`eval echo '${'$as_ac_var'}'`
5338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5998 { echo "$as_me:$LINENO: result: $ac_res" >&5
5999 echo "${ECHO_T}$ac_res" >&6; }
5339 if test `eval echo '${'$as_ac_var'}'` = yes; then 6000 if test `eval echo '${'$as_ac_var'}'` = yes; then
5340 cat >>confdefs.h <<_ACEOF 6001 cat >>confdefs.h <<_ACEOF
5341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5342 _ACEOF 6003 _ACEOF
5343 6004
5344 fi 6005 fi
5345 done 6006 done
5346 6007
5347 6008
5348 6009
5349 # Check whether --with-user or --without-user was given. 6010 # Check whether --with-user was given.
5350 if test "${with_user+set}" = set; then 6011 if test "${with_user+set}" = set; then
5351 withval="$with_user" 6012 withval=$with_user;
5352 6013 fi
5353 fi; 6014
5354 if test "x$with_user" = 'x'; then 6015 if test "x$with_user" = 'x'; then
5355 with_user='mail' 6016 with_user='mail'
5356 fi 6017 fi
5357 6018
5358 6019
5359 # Check whether --with-group or --without-group was given. 6020 # Check whether --with-group was given.
5360 if test "${with_group+set}" = set; then 6021 if test "${with_group+set}" = set; then
5361 withval="$with_group" 6022 withval=$with_group;
5362 6023 fi
5363 fi; 6024
5364 if test "x$with_group" = 'x'; then 6025 if test "x$with_group" = 'x'; then
5365 with_group='trusted' 6026 with_group='trusted'
5366 fi 6027 fi
5367 6028
5368 # Check whether --enable-debug or --disable-debug was given. 6029 # Check whether --enable-debug was given.
5369 if test "${enable_debug+set}" = set; then 6030 if test "${enable_debug+set}" = set; then
5370 enableval="$enable_debug" 6031 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then
5371 if test "x$enable_debug" != 'xno'; then
5372 debug_enabled='yes' 6032 debug_enabled='yes'
5373 fi 6033 fi
5374 else 6034 else
5375 debug_enabled='yes' 6035 debug_enabled='yes'
5376 6036
5377 fi; 6037 fi
6038
5378 if test "x$debug_enabled" = xyes; then 6039 if test "x$debug_enabled" = xyes; then
5379 6040
5380 cat >>confdefs.h <<\_ACEOF 6041 cat >>confdefs.h <<\_ACEOF
5381 #define ENABLE_DEBUG 1 6042 #define ENABLE_DEBUG 1
5382 _ACEOF 6043 _ACEOF
5395 _ACEOF 6056 _ACEOF
5396 6057
5397 6058
5398 6059
5399 6060
5400 # Check whether --with-glib_static or --without-glib_static was given. 6061 # Check whether --with-glib_static was given.
5401 if test "${with_glib_static+set}" = set; then 6062 if test "${with_glib_static+set}" = set; then
5402 withval="$with_glib_static" 6063 withval=$with_glib_static;
5403 6064 fi
5404 fi; 6065
5405 if test "x$with_glib_static" != 'x'; then 6066 if test "x$with_glib_static" != 'x'; then
5406 GLIB_LIBS=$with_glib_static 6067 GLIB_LIBS=$with_glib_static
5407 6068
5408 fi 6069 fi
5409 6070
5410 MD5_LIBS='' 6071 MD5_LIBS=''
5411 BASE64_LIBS='' 6072 BASE64_LIBS=''
5412 6073
5413 # Check whether --enable-smtp_server or --disable-smtp_server was given. 6074 # Check whether --enable-smtp_server was given.
5414 if test "${enable_smtp_server+set}" = set; then 6075 if test "${enable_smtp_server+set}" = set; then
5415 enableval="$enable_smtp_server" 6076 enableval=$enable_smtp_server; if test "x$enable_smtp_server" != 'xno'; then
5416 if test "x$enable_smtp_server" != 'xno'; then
5417 smtp_server_enabled='yes' 6077 smtp_server_enabled='yes'
5418 fi 6078 fi
5419 else 6079 else
5420 smtp_server_enabled='yes' 6080 smtp_server_enabled='yes'
5421 6081
5422 fi; 6082 fi
6083
5423 if test "x$smtp_server_enabled" = xyes; then 6084 if test "x$smtp_server_enabled" = xyes; then
5424 6085
5425 cat >>confdefs.h <<\_ACEOF 6086 cat >>confdefs.h <<\_ACEOF
5426 #define ENABLE_SMTP_SERVER 1 6087 #define ENABLE_SMTP_SERVER 1
5427 _ACEOF 6088 _ACEOF
5428 6089
5429 fi 6090 fi
5430 6091
5431 # Check whether --enable-pop3 or --disable-pop3 was given. 6092 # Check whether --enable-pop3 was given.
5432 if test "${enable_pop3+set}" = set; then 6093 if test "${enable_pop3+set}" = set; then
5433 enableval="$enable_pop3" 6094 enableval=$enable_pop3; if test "x$enable_pop3" != 'xno'; then
5434 if test "x$enable_pop3" != 'xno'; then
5435 pop3_enabled='yes' 6095 pop3_enabled='yes'
5436 fi 6096 fi
5437 else 6097 else
5438 pop3_enabled='yes' 6098 pop3_enabled='yes'
5439 6099
5440 fi; 6100 fi
6101
5441 if test "x$pop3_enabled" = xyes; then 6102 if test "x$pop3_enabled" = xyes; then
5442 6103
5443 cat >>confdefs.h <<\_ACEOF 6104 cat >>confdefs.h <<\_ACEOF
5444 #define ENABLE_POP3 1 6105 #define ENABLE_POP3 1
5445 _ACEOF 6106 _ACEOF
5446 6107
5447 # MD5_LIBS='md5/libmd5c.a' 6108 # MD5_LIBS='md5/libmd5c.a'
5448 need_md5='yes' 6109 need_md5='yes'
5449 fi 6110 fi
5450 6111
5451 # Check whether --enable-auth or --disable-auth was given. 6112 # Check whether --enable-auth was given.
5452 if test "${enable_auth+set}" = set; then 6113 if test "${enable_auth+set}" = set; then
5453 enableval="$enable_auth" 6114 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then
5454 if test "x$enable_auth" != 'xno'; then
5455 auth_enabled='yes' 6115 auth_enabled='yes'
5456 fi 6116 fi
5457 fi; 6117 fi
6118
5458 if test "x$auth_enabled" = xyes; then 6119 if test "x$auth_enabled" = xyes; then
5459 6120
5460 cat >>confdefs.h <<\_ACEOF 6121 cat >>confdefs.h <<\_ACEOF
5461 #define ENABLE_AUTH 1 6122 #define ENABLE_AUTH 1
5462 _ACEOF 6123 _ACEOF
5465 # MD5_LIBS='md5/libmd5c.a' 6126 # MD5_LIBS='md5/libmd5c.a'
5466 need_md5='yes' 6127 need_md5='yes'
5467 fi 6128 fi
5468 6129
5469 6130
5470 # Check whether --enable-maildir or --disable-maildir was given. 6131 # Check whether --enable-maildir was given.
5471 if test "${enable_maildir+set}" = set; then 6132 if test "${enable_maildir+set}" = set; then
5472 enableval="$enable_maildir" 6133 enableval=$enable_maildir; if test "x$enable_maildir" != 'xno'; then
5473 if test "x$enable_maildir" != 'xno'; then
5474 maildir_enabled='yes' 6134 maildir_enabled='yes'
5475 fi 6135 fi
5476 fi; 6136 fi
6137
5477 if test "x$maildir_enabled" = xyes; then 6138 if test "x$maildir_enabled" = xyes; then
5478 6139
5479 cat >>confdefs.h <<\_ACEOF 6140 cat >>confdefs.h <<\_ACEOF
5480 #define ENABLE_MAILDIR 1 6141 #define ENABLE_MAILDIR 1
5481 _ACEOF 6142 _ACEOF
5482 6143
5483 fi 6144 fi
5484 6145
5485 6146
5486 # Check whether --with-libcrypto or --without-libcrypto was given. 6147 # Check whether --with-libcrypto was given.
5487 if test "${with_libcrypto+set}" = set; then 6148 if test "${with_libcrypto+set}" = set; then
5488 withval="$with_libcrypto" 6149 withval=$with_libcrypto;
5489 6150 fi
5490 fi; 6151
5491 if test "x$with_libcrypto" != 'xyes'; then 6152 if test "x$with_libcrypto" != 'xyes'; then
5492 with_libcrypto='no' 6153 with_libcrypto='no'
5493 fi 6154 fi
5494 6155
5495 if test "x$need_md5" = 'xyes'; then 6156 if test "x$need_md5" = 'xyes'; then
5496 if test "x$with_libcrypto" = "xyes"; then 6157 if test "x$with_libcrypto" = "xyes"; then
5497 echo "$as_me:$LINENO: checking for MD5 in -lcrypto" >&5 6158 { echo "$as_me:$LINENO: checking for MD5 in -lcrypto" >&5
5498 echo $ECHO_N "checking for MD5 in -lcrypto... $ECHO_C" >&6 6159 echo $ECHO_N "checking for MD5 in -lcrypto... $ECHO_C" >&6; }
5499 if test "${ac_cv_lib_crypto_MD5+set}" = set; then 6160 if test "${ac_cv_lib_crypto_MD5+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6 6161 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else 6162 else
5502 ac_check_lib_save_LIBS=$LIBS 6163 ac_check_lib_save_LIBS=$LIBS
5503 LIBS="-lcrypto $LIBS" 6164 LIBS="-lcrypto $LIBS"
5506 _ACEOF 6167 _ACEOF
5507 cat confdefs.h >>conftest.$ac_ext 6168 cat confdefs.h >>conftest.$ac_ext
5508 cat >>conftest.$ac_ext <<_ACEOF 6169 cat >>conftest.$ac_ext <<_ACEOF
5509 /* end confdefs.h. */ 6170 /* end confdefs.h. */
5510 6171
5511 /* Override any gcc2 internal prototype to avoid an error. */ 6172 /* Override any GCC internal prototype to avoid an error.
6173 Use char because int might match the return type of a GCC
6174 builtin and then its argument prototype would still apply. */
5512 #ifdef __cplusplus 6175 #ifdef __cplusplus
5513 extern "C" 6176 extern "C"
5514 #endif 6177 #endif
5515 /* We use char because int might match the return type of a gcc2
5516 builtin and then its argument prototype would still apply. */
5517 char MD5 (); 6178 char MD5 ();
5518 int 6179 int
5519 main () 6180 main ()
5520 { 6181 {
5521 MD5 (); 6182 return MD5 ();
5522 ; 6183 ;
5523 return 0; 6184 return 0;
5524 } 6185 }
5525 _ACEOF 6186 _ACEOF
5526 rm -f conftest.$ac_objext conftest$ac_exeext 6187 rm -f conftest.$ac_objext conftest$ac_exeext
5527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6188 if { (ac_try="$ac_link"
5528 (eval $ac_link) 2>conftest.er1 6189 case "(($ac_try" in
6190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6191 *) ac_try_echo=$ac_try;;
6192 esac
6193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6194 (eval "$ac_link") 2>conftest.er1
5529 ac_status=$? 6195 ac_status=$?
5530 grep -v '^ *+' conftest.er1 >conftest.err 6196 grep -v '^ *+' conftest.er1 >conftest.err
5531 rm -f conftest.er1 6197 rm -f conftest.er1
5532 cat conftest.err >&5 6198 cat conftest.err >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } && 6200 (exit $ac_status); } && {
5535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6201 test -z "$ac_c_werror_flag" ||
5536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6202 test ! -s conftest.err
5537 (eval $ac_try) 2>&5 6203 } && test -s conftest$ac_exeext &&
5538 ac_status=$? 6204 $as_test_x conftest$ac_exeext; then
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; } &&
5541 { ac_try='test -s conftest$ac_exeext'
5542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5543 (eval $ac_try) 2>&5
5544 ac_status=$?
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; }; then
5547 ac_cv_lib_crypto_MD5=yes 6205 ac_cv_lib_crypto_MD5=yes
5548 else 6206 else
5549 echo "$as_me: failed program was:" >&5 6207 echo "$as_me: failed program was:" >&5
5550 sed 's/^/| /' conftest.$ac_ext >&5 6208 sed 's/^/| /' conftest.$ac_ext >&5
5551 6209
5552 ac_cv_lib_crypto_MD5=no 6210 ac_cv_lib_crypto_MD5=no
5553 fi 6211 fi
5554 rm -f conftest.err conftest.$ac_objext \ 6212
6213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5555 conftest$ac_exeext conftest.$ac_ext 6214 conftest$ac_exeext conftest.$ac_ext
5556 LIBS=$ac_check_lib_save_LIBS 6215 LIBS=$ac_check_lib_save_LIBS
5557 fi 6216 fi
5558 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5" >&5 6217 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5" >&5
5559 echo "${ECHO_T}$ac_cv_lib_crypto_MD5" >&6 6218 echo "${ECHO_T}$ac_cv_lib_crypto_MD5" >&6; }
5560 if test $ac_cv_lib_crypto_MD5 = yes; then 6219 if test $ac_cv_lib_crypto_MD5 = yes; then
5561 has_crypto='yes' 6220 has_crypto='yes'
5562 else 6221 else
5563 { { echo "$as_me:$LINENO: error: 'no libcrypto'" >&5 6222 { { echo "$as_me:$LINENO: error: 'no libcrypto'" >&5
5564 echo "$as_me: error: 'no libcrypto'" >&2;} 6223 echo "$as_me: error: 'no libcrypto'" >&2;}
5578 fi 6237 fi
5579 fi 6238 fi
5580 6239
5581 6240
5582 IDENT_LIBS='' 6241 IDENT_LIBS=''
5583 # Check whether --enable-ident or --disable-ident was given. 6242 # Check whether --enable-ident was given.
5584 if test "${enable_ident+set}" = set; then 6243 if test "${enable_ident+set}" = set; then
5585 enableval="$enable_ident" 6244 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then
5586 if test "x$enable_ident" != 'xno'; then
5587 ident_enabled='yes' 6245 ident_enabled='yes'
5588 fi 6246 fi
5589 fi; 6247 fi
6248
5590 6249
5591 if test "x$ident_enabled" = xyes; then 6250 if test "x$ident_enabled" = xyes; then
5592 6251
5593 cat >>confdefs.h <<\_ACEOF 6252 cat >>confdefs.h <<\_ACEOF
5594 #define ENABLE_IDENT 1 6253 #define ENABLE_IDENT 1
5595 _ACEOF 6254 _ACEOF
5596 6255
5597 echo "$as_me:$LINENO: checking for ident_id in -lident" >&5 6256 { echo "$as_me:$LINENO: checking for ident_id in -lident" >&5
5598 echo $ECHO_N "checking for ident_id in -lident... $ECHO_C" >&6 6257 echo $ECHO_N "checking for ident_id in -lident... $ECHO_C" >&6; }
5599 if test "${ac_cv_lib_ident_ident_id+set}" = set; then 6258 if test "${ac_cv_lib_ident_ident_id+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6 6259 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 else 6260 else
5602 ac_check_lib_save_LIBS=$LIBS 6261 ac_check_lib_save_LIBS=$LIBS
5603 LIBS="-lident $LIBS" 6262 LIBS="-lident $LIBS"
5606 _ACEOF 6265 _ACEOF
5607 cat confdefs.h >>conftest.$ac_ext 6266 cat confdefs.h >>conftest.$ac_ext
5608 cat >>conftest.$ac_ext <<_ACEOF 6267 cat >>conftest.$ac_ext <<_ACEOF
5609 /* end confdefs.h. */ 6268 /* end confdefs.h. */
5610 6269
5611 /* Override any gcc2 internal prototype to avoid an error. */ 6270 /* Override any GCC internal prototype to avoid an error.
6271 Use char because int might match the return type of a GCC
6272 builtin and then its argument prototype would still apply. */
5612 #ifdef __cplusplus 6273 #ifdef __cplusplus
5613 extern "C" 6274 extern "C"
5614 #endif 6275 #endif
5615 /* We use char because int might match the return type of a gcc2
5616 builtin and then its argument prototype would still apply. */
5617 char ident_id (); 6276 char ident_id ();
5618 int 6277 int
5619 main () 6278 main ()
5620 { 6279 {
5621 ident_id (); 6280 return ident_id ();
5622 ; 6281 ;
5623 return 0; 6282 return 0;
5624 } 6283 }
5625 _ACEOF 6284 _ACEOF
5626 rm -f conftest.$ac_objext conftest$ac_exeext 6285 rm -f conftest.$ac_objext conftest$ac_exeext
5627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6286 if { (ac_try="$ac_link"
5628 (eval $ac_link) 2>conftest.er1 6287 case "(($ac_try" in
6288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6289 *) ac_try_echo=$ac_try;;
6290 esac
6291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6292 (eval "$ac_link") 2>conftest.er1
5629 ac_status=$? 6293 ac_status=$?
5630 grep -v '^ *+' conftest.er1 >conftest.err 6294 grep -v '^ *+' conftest.er1 >conftest.err
5631 rm -f conftest.er1 6295 rm -f conftest.er1
5632 cat conftest.err >&5 6296 cat conftest.err >&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && 6298 (exit $ac_status); } && {
5635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6299 test -z "$ac_c_werror_flag" ||
5636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6300 test ! -s conftest.err
5637 (eval $ac_try) 2>&5 6301 } && test -s conftest$ac_exeext &&
5638 ac_status=$? 6302 $as_test_x conftest$ac_exeext; then
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); }; } &&
5641 { ac_try='test -s conftest$ac_exeext'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 (eval $ac_try) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; }; then
5647 ac_cv_lib_ident_ident_id=yes 6303 ac_cv_lib_ident_ident_id=yes
5648 else 6304 else
5649 echo "$as_me: failed program was:" >&5 6305 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.$ac_ext >&5 6306 sed 's/^/| /' conftest.$ac_ext >&5
5651 6307
5652 ac_cv_lib_ident_ident_id=no 6308 ac_cv_lib_ident_ident_id=no
5653 fi 6309 fi
5654 rm -f conftest.err conftest.$ac_objext \ 6310
6311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5655 conftest$ac_exeext conftest.$ac_ext 6312 conftest$ac_exeext conftest.$ac_ext
5656 LIBS=$ac_check_lib_save_LIBS 6313 LIBS=$ac_check_lib_save_LIBS
5657 fi 6314 fi
5658 echo "$as_me:$LINENO: result: $ac_cv_lib_ident_ident_id" >&5 6315 { echo "$as_me:$LINENO: result: $ac_cv_lib_ident_ident_id" >&5
5659 echo "${ECHO_T}$ac_cv_lib_ident_ident_id" >&6 6316 echo "${ECHO_T}$ac_cv_lib_ident_ident_id" >&6; }
5660 if test $ac_cv_lib_ident_ident_id = yes; then 6317 if test $ac_cv_lib_ident_ident_id = yes; then
5661 IDENT_LIBS='-lident' 6318 IDENT_LIBS='-lident'
5662 else 6319 else
5663 IDENT_LIBS='libident/libident.a' 6320 IDENT_LIBS='libident/libident.a'
5664 fi 6321 fi
5665 6322
5666 fi 6323 fi
5667 6324
5668 6325
5669 # Check whether --enable-mserver or --disable-mserver was given. 6326 # Check whether --enable-mserver was given.
5670 if test "${enable_mserver+set}" = set; then 6327 if test "${enable_mserver+set}" = set; then
5671 enableval="$enable_mserver" 6328 enableval=$enable_mserver; if test "x$enable_mserver" != 'xno'; then
5672 if test "x$enable_mserver" != 'xno'; then
5673 mserver_enabled='yes' 6329 mserver_enabled='yes'
5674 fi 6330 fi
5675 fi; 6331 fi
6332
5676 if test "x$mserver_enabled" = xyes; then 6333 if test "x$mserver_enabled" = xyes; then
5677 6334
5678 cat >>confdefs.h <<\_ACEOF 6335 cat >>confdefs.h <<\_ACEOF
5679 #define ENABLE_MSERVER 1 6336 #define ENABLE_MSERVER 1
5680 _ACEOF 6337 _ACEOF
5681 6338
5682 fi 6339 fi
5683 6340
5684 6341
5685 # Check whether --with-liblockfile or --without-liblockfile was given. 6342 # Check whether --with-liblockfile was given.
5686 if test "${with_liblockfile+set}" = set; then 6343 if test "${with_liblockfile+set}" = set; then
5687 withval="$with_liblockfile" 6344 withval=$with_liblockfile;
5688 6345 fi
5689 fi; 6346
5690 if test "x$with_liblockfile" != 'x'; then 6347 if test "x$with_liblockfile" != 'x'; then
5691 with_liblockfile='yes' 6348 with_liblockfile='yes'
5692 fi 6349 fi
5693 if test "x$with_liblockfile" = xyes; then 6350 if test "x$with_liblockfile" = xyes; then
5694 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 6351 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5
5695 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 6352 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; }
5696 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 6353 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
5697 echo $ECHO_N "(cached) $ECHO_C" >&6 6354 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 else 6355 else
5699 ac_check_lib_save_LIBS=$LIBS 6356 ac_check_lib_save_LIBS=$LIBS
5700 LIBS="-llockfile $LIBS" 6357 LIBS="-llockfile $LIBS"
5703 _ACEOF 6360 _ACEOF
5704 cat confdefs.h >>conftest.$ac_ext 6361 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF 6362 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */ 6363 /* end confdefs.h. */
5707 6364
5708 /* Override any gcc2 internal prototype to avoid an error. */ 6365 /* Override any GCC internal prototype to avoid an error.
6366 Use char because int might match the return type of a GCC
6367 builtin and then its argument prototype would still apply. */
5709 #ifdef __cplusplus 6368 #ifdef __cplusplus
5710 extern "C" 6369 extern "C"
5711 #endif 6370 #endif
5712 /* We use char because int might match the return type of a gcc2
5713 builtin and then its argument prototype would still apply. */
5714 char maillock (); 6371 char maillock ();
5715 int 6372 int
5716 main () 6373 main ()
5717 { 6374 {
5718 maillock (); 6375 return maillock ();
5719 ; 6376 ;
5720 return 0; 6377 return 0;
5721 } 6378 }
5722 _ACEOF 6379 _ACEOF
5723 rm -f conftest.$ac_objext conftest$ac_exeext 6380 rm -f conftest.$ac_objext conftest$ac_exeext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6381 if { (ac_try="$ac_link"
5725 (eval $ac_link) 2>conftest.er1 6382 case "(($ac_try" in
6383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6384 *) ac_try_echo=$ac_try;;
6385 esac
6386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6387 (eval "$ac_link") 2>conftest.er1
5726 ac_status=$? 6388 ac_status=$?
5727 grep -v '^ *+' conftest.er1 >conftest.err 6389 grep -v '^ *+' conftest.er1 >conftest.err
5728 rm -f conftest.er1 6390 rm -f conftest.er1
5729 cat conftest.err >&5 6391 cat conftest.err >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } && 6393 (exit $ac_status); } && {
5732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6394 test -z "$ac_c_werror_flag" ||
5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6395 test ! -s conftest.err
5734 (eval $ac_try) 2>&5 6396 } && test -s conftest$ac_exeext &&
5735 ac_status=$? 6397 $as_test_x conftest$ac_exeext; then
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; } &&
5738 { ac_try='test -s conftest$ac_exeext'
5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 (eval $ac_try) 2>&5
5741 ac_status=$?
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); }; }; then
5744 ac_cv_lib_lockfile_maillock=yes 6398 ac_cv_lib_lockfile_maillock=yes
5745 else 6399 else
5746 echo "$as_me: failed program was:" >&5 6400 echo "$as_me: failed program was:" >&5
5747 sed 's/^/| /' conftest.$ac_ext >&5 6401 sed 's/^/| /' conftest.$ac_ext >&5
5748 6402
5749 ac_cv_lib_lockfile_maillock=no 6403 ac_cv_lib_lockfile_maillock=no
5750 fi 6404 fi
5751 rm -f conftest.err conftest.$ac_objext \ 6405
6406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5752 conftest$ac_exeext conftest.$ac_ext 6407 conftest$ac_exeext conftest.$ac_ext
5753 LIBS=$ac_check_lib_save_LIBS 6408 LIBS=$ac_check_lib_save_LIBS
5754 fi 6409 fi
5755 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 6410 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5
5756 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 6411 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; }
5757 if test $ac_cv_lib_lockfile_maillock = yes; then 6412 if test $ac_cv_lib_lockfile_maillock = yes; then
5758 has_lockfile=yes 6413 has_lockfile=yes
5759 else 6414 else
5760 { { echo "$as_me:$LINENO: error: \"no liblockfile\"" >&5 6415 { { echo "$as_me:$LINENO: error: \"no liblockfile\"" >&5
5761 echo "$as_me: error: \"no liblockfile\"" >&2;} 6416 echo "$as_me: error: \"no liblockfile\"" >&2;}
5773 fi 6428 fi
5774 6429
5775 6430
5776 6431
5777 6432
5778 # Check whether --with-logdir or --without-logdir was given. 6433 # Check whether --with-logdir was given.
5779 if test "${with_logdir+set}" = set; then 6434 if test "${with_logdir+set}" = set; then
5780 withval="$with_logdir" 6435 withval=$with_logdir;
5781
5782 else 6436 else
5783 with_logdir='/var/log/masqmail/' 6437 with_logdir='/var/log/masqmail/'
5784 6438
5785 fi; 6439 fi
5786 6440
5787 6441
5788 6442
5789 # Check whether --with-spooldir or --without-spooldir was given. 6443
6444 # Check whether --with-spooldir was given.
5790 if test "${with_spooldir+set}" = set; then 6445 if test "${with_spooldir+set}" = set; then
5791 withval="$with_spooldir" 6446 withval=$with_spooldir;
5792
5793 else 6447 else
5794 with_spooldir='/var/spool/masqmail/' 6448 with_spooldir='/var/spool/masqmail/'
5795 6449
5796 fi; 6450 fi
5797 6451
5798 6452
5799 6453
5800 # Check whether --with-confdir or --without-confdir was given. 6454
6455 # Check whether --with-confdir was given.
5801 if test "${with_confdir+set}" = set; then 6456 if test "${with_confdir+set}" = set; then
5802 withval="$with_confdir" 6457 withval=$with_confdir;
5803
5804 else 6458 else
5805 with_confdir='/etc/masqmail' 6459 with_confdir='/etc/masqmail'
5806 6460
5807 fi; 6461 fi
6462
5808 6463
5809 cat >>confdefs.h <<_ACEOF 6464 cat >>confdefs.h <<_ACEOF
5810 #define CONF_DIR "${with_confdir}" 6465 #define CONF_DIR "${with_confdir}"
5811 _ACEOF 6466 _ACEOF
5812 6467
5837 _ACEOF 6492 _ACEOF
5838 6493
5839 fi 6494 fi
5840 fi 6495 fi
5841 6496
5842 ac_config_files="$ac_config_files Makefile debian/Makefile docs/Makefile docs/man/Makefile docs/xml/Makefile tests/Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile suse/masqmail.spec redhat/masqmail.spec" 6497 ac_config_files="$ac_config_files Makefile debian/Makefile docs/Makefile docs/man/Makefile docs/xml/Makefile tests/Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile suse/masqmail.spec redhat/masqmail.spec"
6498
5843 cat >confcache <<\_ACEOF 6499 cat >confcache <<\_ACEOF
5844 # This file is a shell script that caches the results of configure 6500 # This file is a shell script that caches the results of configure
5845 # tests run on this system so they can be shared between configure 6501 # tests run on this system so they can be shared between configure
5846 # scripts and configure runs, see configure's option --config-cache. 6502 # scripts and configure runs, see configure's option --config-cache.
5847 # It is not useful on other systems. If it contains results you don't 6503 # It is not useful on other systems. If it contains results you don't
5856 6512
5857 _ACEOF 6513 _ACEOF
5858 6514
5859 # The following way of writing the cache mishandles newlines in values, 6515 # The following way of writing the cache mishandles newlines in values,
5860 # but we know of no workaround that is simple, portable, and efficient. 6516 # but we know of no workaround that is simple, portable, and efficient.
5861 # So, don't put newlines in cache variables' values. 6517 # So, we kill variables containing newlines.
5862 # Ultrix sh set writes to stderr and can't be redirected directly, 6518 # Ultrix sh set writes to stderr and can't be redirected directly,
5863 # and sets the high bit in the cache file unless we assign to the vars. 6519 # and sets the high bit in the cache file unless we assign to the vars.
5864 { 6520 (
6521 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6522 eval ac_val=\$$ac_var
6523 case $ac_val in #(
6524 *${as_nl}*)
6525 case $ac_var in #(
6526 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6527 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6528 esac
6529 case $ac_var in #(
6530 _ | IFS | as_nl) ;; #(
6531 *) $as_unset $ac_var ;;
6532 esac ;;
6533 esac
6534 done
6535
5865 (set) 2>&1 | 6536 (set) 2>&1 |
5866 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5867 *ac_space=\ *) 6538 *${as_nl}ac_space=\ *)
5868 # `set' does not quote correctly, so add quotes (double-quote 6539 # `set' does not quote correctly, so add quotes (double-quote
5869 # substitution turns \\\\ into \\, and sed turns \\ into \). 6540 # substitution turns \\\\ into \\, and sed turns \\ into \).
5870 sed -n \ 6541 sed -n \
5871 "s/'/'\\\\''/g; 6542 "s/'/'\\\\''/g;
5872 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5873 ;; 6544 ;; #(
5874 *) 6545 *)
5875 # `set' quotes correctly as required by POSIX, so do not add quotes. 6546 # `set' quotes correctly as required by POSIX, so do not add quotes.
5876 sed -n \ 6547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5877 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5878 ;; 6548 ;;
5879 esac; 6549 esac |
5880 } | 6550 sort
6551 ) |
5881 sed ' 6552 sed '
6553 /^ac_cv_env_/b end
5882 t clear 6554 t clear
5883 : clear 6555 :clear
5884 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5885 t end 6557 t end
5886 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5887 : end' >>confcache 6559 :end' >>confcache
5888 if diff $cache_file confcache >/dev/null 2>&1; then :; else 6560 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5889 if test -w $cache_file; then 6561 if test -w "$cache_file"; then
5890 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6562 test "x$cache_file" != "x/dev/null" &&
6563 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6564 echo "$as_me: updating cache $cache_file" >&6;}
5891 cat confcache >$cache_file 6565 cat confcache >$cache_file
5892 else 6566 else
5893 echo "not updating unwritable cache $cache_file" 6567 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6568 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5894 fi 6569 fi
5895 fi 6570 fi
5896 rm -f confcache 6571 rm -f confcache
5897 6572
5898 test "x$prefix" = xNONE && prefix=$ac_default_prefix 6573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5899 # Let make expand exec_prefix. 6574 # Let make expand exec_prefix.
5900 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5901
5902 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5903 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5904 # trailing colons and then remove the whole line if VPATH becomes empty
5905 # (actually we leave an empty line to preserve line numbers).
5906 if test "x$srcdir" = x.; then
5907 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5908 s/:*\$(srcdir):*/:/;
5909 s/:*\${srcdir}:*/:/;
5910 s/:*@srcdir@:*/:/;
5911 s/^\([^=]*=[ ]*\):*/\1/;
5912 s/:*$//;
5913 s/^[^=]*=[ ]*$//;
5914 }'
5915 fi
5916 6576
5917 DEFS=-DHAVE_CONFIG_H 6577 DEFS=-DHAVE_CONFIG_H
5918 6578
5919 ac_libobjs= 6579 ac_libobjs=
5920 ac_ltlibobjs= 6580 ac_ltlibobjs=
5921 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6581 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5922 # 1. Remove the extension, and $U if already installed. 6582 # 1. Remove the extension, and $U if already installed.
5923 ac_i=`echo "$ac_i" | 6583 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5924 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 6584 ac_i=`echo "$ac_i" | sed "$ac_script"`
5925 # 2. Add them. 6585 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5926 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 6586 # will be set to the directory where LIBOBJS objects are built.
5927 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6587 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6588 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5928 done 6589 done
5929 LIBOBJS=$ac_libobjs 6590 LIBOBJS=$ac_libobjs
5930 6591
5931 LTLIBOBJS=$ac_ltlibobjs 6592 LTLIBOBJS=$ac_ltlibobjs
5932 6593
5967 cat >>$CONFIG_STATUS <<\_ACEOF 6628 cat >>$CONFIG_STATUS <<\_ACEOF
5968 ## --------------------- ## 6629 ## --------------------- ##
5969 ## M4sh Initialization. ## 6630 ## M4sh Initialization. ##
5970 ## --------------------- ## 6631 ## --------------------- ##
5971 6632
5972 # Be Bourne compatible 6633 # Be more Bourne compatible
6634 DUALCASE=1; export DUALCASE # for MKS sh
5973 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6635 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5974 emulate sh 6636 emulate sh
5975 NULLCMD=: 6637 NULLCMD=:
5976 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6638 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5977 # is contrary to our usage. Disable this feature. 6639 # is contrary to our usage. Disable this feature.
5978 alias -g '${1+"$@"}'='"$@"' 6640 alias -g '${1+"$@"}'='"$@"'
5979 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 6641 setopt NO_GLOB_SUBST
5980 set -o posix 6642 else
5981 fi 6643 case `(set -o) 2>/dev/null` in
5982 DUALCASE=1; export DUALCASE # for MKS sh 6644 *posix*) set -o posix ;;
5983 6645 esac
5984 # Support unset when possible. 6646
5985 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6647 fi
5986 as_unset=unset 6648
5987 else 6649
5988 as_unset=false 6650
5989 fi 6651
5990 6652 # PATH needs CR
5991
5992 # Work around bugs in pre-3.0 UWIN ksh.
5993 $as_unset ENV MAIL MAILPATH
5994 PS1='$ '
5995 PS2='> '
5996 PS4='+ '
5997
5998 # NLS nuisances.
5999 for as_var in \
6000 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6001 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6002 LC_TELEPHONE LC_TIME
6003 do
6004 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6005 eval $as_var=C; export $as_var
6006 else
6007 $as_unset $as_var
6008 fi
6009 done
6010
6011 # Required to use basename.
6012 if expr a : '\(a\)' >/dev/null 2>&1; then
6013 as_expr=expr
6014 else
6015 as_expr=false
6016 fi
6017
6018 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6019 as_basename=basename
6020 else
6021 as_basename=false
6022 fi
6023
6024
6025 # Name of the executable.
6026 as_me=`$as_basename "$0" ||
6027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6028 X"$0" : 'X\(//\)$' \| \
6029 X"$0" : 'X\(/\)$' \| \
6030 . : '\(.\)' 2>/dev/null ||
6031 echo X/"$0" |
6032 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6033 /^X\/\(\/\/\)$/{ s//\1/; q; }
6034 /^X\/\(\/\).*/{ s//\1/; q; }
6035 s/.*/./; q'`
6036
6037
6038 # PATH needs CR, and LINENO needs CR and PATH.
6039 # Avoid depending upon Character Ranges. 6653 # Avoid depending upon Character Ranges.
6040 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6654 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6041 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6655 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6042 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6656 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6043 as_cr_digits='0123456789' 6657 as_cr_digits='0123456789'
6054 PATH_SEPARATOR=: 6668 PATH_SEPARATOR=:
6055 fi 6669 fi
6056 rm -f conf$$.sh 6670 rm -f conf$$.sh
6057 fi 6671 fi
6058 6672
6059 6673 # Support unset when possible.
6060 as_lineno_1=$LINENO 6674 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6061 as_lineno_2=$LINENO 6675 as_unset=unset
6062 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 6676 else
6063 test "x$as_lineno_1" != "x$as_lineno_2" && 6677 as_unset=false
6064 test "x$as_lineno_3" = "x$as_lineno_2" || { 6678 fi
6065 # Find who we are. Look in the path if we contain no path at all 6679
6066 # relative or not. 6680
6067 case $0 in 6681 # IFS
6068 *[\\/]* ) as_myself=$0 ;; 6682 # We need space, tab and new line, in precisely that order. Quoting is
6069 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6683 # there to prevent editors from complaining about space-tab.
6684 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6685 # splitting by setting IFS to empty value.)
6686 as_nl='
6687 '
6688 IFS=" "" $as_nl"
6689
6690 # Find who we are. Look in the path if we contain no directory separator.
6691 case $0 in
6692 *[\\/]* ) as_myself=$0 ;;
6693 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH 6694 for as_dir in $PATH
6071 do 6695 do
6072 IFS=$as_save_IFS 6696 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=. 6697 test -z "$as_dir" && as_dir=.
6074 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6698 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6075 done 6699 done
6076 6700 IFS=$as_save_IFS
6077 ;; 6701
6078 esac 6702 ;;
6079 # We did not find ourselves, most probably we were run as `sh COMMAND' 6703 esac
6080 # in which case we are not to be found in the path. 6704 # We did not find ourselves, most probably we were run as `sh COMMAND'
6081 if test "x$as_myself" = x; then 6705 # in which case we are not to be found in the path.
6082 as_myself=$0 6706 if test "x$as_myself" = x; then
6707 as_myself=$0
6708 fi
6709 if test ! -f "$as_myself"; then
6710 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6711 { (exit 1); exit 1; }
6712 fi
6713
6714 # Work around bugs in pre-3.0 UWIN ksh.
6715 for as_var in ENV MAIL MAILPATH
6716 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6717 done
6718 PS1='$ '
6719 PS2='> '
6720 PS4='+ '
6721
6722 # NLS nuisances.
6723 for as_var in \
6724 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6725 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6726 LC_TELEPHONE LC_TIME
6727 do
6728 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6729 eval $as_var=C; export $as_var
6730 else
6731 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6083 fi 6732 fi
6084 if test ! -f "$as_myself"; then 6733 done
6085 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 6734
6086 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 6735 # Required to use basename.
6087 { (exit 1); exit 1; }; } 6736 if expr a : '\(a\)' >/dev/null 2>&1 &&
6088 fi 6737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6089 case $CONFIG_SHELL in 6738 as_expr=expr
6090 '') 6739 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6740 as_expr=false
6092 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 6741 fi
6093 do 6742
6094 IFS=$as_save_IFS 6743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6095 test -z "$as_dir" && as_dir=. 6744 as_basename=basename
6096 for as_base in sh bash ksh sh5; do 6745 else
6097 case $as_dir in 6746 as_basename=false
6098 /*) 6747 fi
6099 if ("$as_dir/$as_base" -c ' 6748
6749
6750 # Name of the executable.
6751 as_me=`$as_basename -- "$0" ||
6752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6753 X"$0" : 'X\(//\)$' \| \
6754 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6755 echo X/"$0" |
6756 sed '/^.*\/\([^/][^/]*\)\/*$/{
6757 s//\1/
6758 q
6759 }
6760 /^X\/\(\/\/\)$/{
6761 s//\1/
6762 q
6763 }
6764 /^X\/\(\/\).*/{
6765 s//\1/
6766 q
6767 }
6768 s/.*/./; q'`
6769
6770 # CDPATH.
6771 $as_unset CDPATH
6772
6773
6774
6100 as_lineno_1=$LINENO 6775 as_lineno_1=$LINENO
6101 as_lineno_2=$LINENO 6776 as_lineno_2=$LINENO
6102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6103 test "x$as_lineno_1" != "x$as_lineno_2" && 6777 test "x$as_lineno_1" != "x$as_lineno_2" &&
6104 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 6778 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6105 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6106 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6107 CONFIG_SHELL=$as_dir/$as_base
6108 export CONFIG_SHELL
6109 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6110 fi;;
6111 esac
6112 done
6113 done
6114 ;;
6115 esac
6116 6779
6117 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6780 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6118 # uniformly replaced by the line number. The first 'sed' inserts a 6781 # uniformly replaced by the line number. The first 'sed' inserts a
6119 # line-number line before each line; the second 'sed' does the real 6782 # line-number line after each line using $LINENO; the second 'sed'
6120 # work. The second script uses 'N' to pair each line-number line 6783 # does the real work. The second script uses 'N' to pair each
6121 # with the numbered line, and appends trailing '-' during 6784 # line-number line with the line containing $LINENO, and appends
6122 # substitution so that $LINENO is not a special case at line end. 6785 # trailing '-' during substitution so that $LINENO is not a special
6786 # case at line end.
6123 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6787 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6124 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 6788 # scripts with optimization help from Paolo Bonzini. Blame Lee
6125 sed '=' <$as_myself | 6789 # E. McMahon (1931-1989) for sed's syntax. :-)
6790 sed -n '
6791 p
6792 /[$]LINENO/=
6793 ' <$as_myself |
6126 sed ' 6794 sed '
6795 s/[$]LINENO.*/&-/
6796 t lineno
6797 b
6798 :lineno
6127 N 6799 N
6128 s,$,-, 6800 :loop
6129 : loop 6801 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6130 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6131 t loop 6802 t loop
6132 s,-$,, 6803 s/-\n.*//
6133 s,^['$as_cr_digits']*\n,,
6134 ' >$as_me.lineno && 6804 ' >$as_me.lineno &&
6135 chmod +x $as_me.lineno || 6805 chmod +x "$as_me.lineno" ||
6136 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 6806 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6137 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6138 { (exit 1); exit 1; }; } 6807 { (exit 1); exit 1; }; }
6139 6808
6140 # Don't try to exec as it changes $[0], causing all sort of problems 6809 # Don't try to exec as it changes $[0], causing all sort of problems
6141 # (the dirname of $[0] is not the place where we might find the 6810 # (the dirname of $[0] is not the place where we might find the
6142 # original and so on. Autoconf is especially sensible to this). 6811 # original and so on. Autoconf is especially sensitive to this).
6143 . ./$as_me.lineno 6812 . "./$as_me.lineno"
6144 # Exit status is that of the last command. 6813 # Exit status is that of the last command.
6145 exit 6814 exit
6146 } 6815 }
6147 6816
6148 6817
6149 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 6818 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6150 *c*,-n*) ECHO_N= ECHO_C=' 6819 as_dirname=dirname
6151 ' ECHO_T=' ' ;; 6820 else
6152 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 6821 as_dirname=false
6153 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 6822 fi
6823
6824 ECHO_C= ECHO_N= ECHO_T=
6825 case `echo -n x` in
6826 -n*)
6827 case `echo 'x\c'` in
6828 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6829 *) ECHO_C='\c';;
6830 esac;;
6831 *)
6832 ECHO_N='-n';;
6154 esac 6833 esac
6155 6834
6156 if expr a : '\(a\)' >/dev/null 2>&1; then 6835 if expr a : '\(a\)' >/dev/null 2>&1 &&
6836 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6157 as_expr=expr 6837 as_expr=expr
6158 else 6838 else
6159 as_expr=false 6839 as_expr=false
6160 fi 6840 fi
6161 6841
6162 rm -f conf$$ conf$$.exe conf$$.file 6842 rm -f conf$$ conf$$.exe conf$$.file
6843 if test -d conf$$.dir; then
6844 rm -f conf$$.dir/conf$$.file
6845 else
6846 rm -f conf$$.dir
6847 mkdir conf$$.dir
6848 fi
6163 echo >conf$$.file 6849 echo >conf$$.file
6164 if ln -s conf$$.file conf$$ 2>/dev/null; then 6850 if ln -s conf$$.file conf$$ 2>/dev/null; then
6165 # We could just check for DJGPP; but this test a) works b) is more generic 6851 as_ln_s='ln -s'
6166 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 6852 # ... but there are two gotchas:
6167 if test -f conf$$.exe; then 6853 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6168 # Don't use ln at all; we don't have any links 6854 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6855 # In both cases, we have to default to `cp -p'.
6856 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6169 as_ln_s='cp -p' 6857 as_ln_s='cp -p'
6170 else
6171 as_ln_s='ln -s'
6172 fi
6173 elif ln conf$$.file conf$$ 2>/dev/null; then 6858 elif ln conf$$.file conf$$ 2>/dev/null; then
6174 as_ln_s=ln 6859 as_ln_s=ln
6175 else 6860 else
6176 as_ln_s='cp -p' 6861 as_ln_s='cp -p'
6177 fi 6862 fi
6178 rm -f conf$$ conf$$.exe conf$$.file 6863 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6864 rmdir conf$$.dir 2>/dev/null
6179 6865
6180 if mkdir -p . 2>/dev/null; then 6866 if mkdir -p . 2>/dev/null; then
6181 as_mkdir_p=: 6867 as_mkdir_p=:
6182 else 6868 else
6183 test -d ./-p && rmdir ./-p 6869 test -d ./-p && rmdir ./-p
6184 as_mkdir_p=false 6870 as_mkdir_p=false
6185 fi 6871 fi
6186 6872
6187 as_executable_p="test -f" 6873 if test -x / >/dev/null 2>&1; then
6874 as_test_x='test -x'
6875 else
6876 if ls -dL / >/dev/null 2>&1; then
6877 as_ls_L_option=L
6878 else
6879 as_ls_L_option=
6880 fi
6881 as_test_x='
6882 eval sh -c '\''
6883 if test -d "$1"; then
6884 test -d "$1/.";
6885 else
6886 case $1 in
6887 -*)set "./$1";;
6888 esac;
6889 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6890 ???[sx]*):;;*)false;;esac;fi
6891 '\'' sh
6892 '
6893 fi
6894 as_executable_p=$as_test_x
6188 6895
6189 # Sed expression to map a string onto a valid CPP name. 6896 # Sed expression to map a string onto a valid CPP name.
6190 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6897 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6191 6898
6192 # Sed expression to map a string onto a valid variable name. 6899 # Sed expression to map a string onto a valid variable name.
6193 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6900 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6194 6901
6195 6902
6196 # IFS
6197 # We need space, tab and new line, in precisely that order.
6198 as_nl='
6199 '
6200 IFS=" $as_nl"
6201
6202 # CDPATH.
6203 $as_unset CDPATH
6204
6205 exec 6>&1 6903 exec 6>&1
6206 6904
6207 # Open the log real soon, to keep \$[0] and so on meaningful, and to 6905 # Save the log message, to keep $[0] and so on meaningful, and to
6208 # report actual input values of CONFIG_FILES etc. instead of their 6906 # report actual input values of CONFIG_FILES etc. instead of their
6209 # values after options handling. Logging --version etc. is OK. 6907 # values after options handling.
6210 exec 5>>config.log 6908 ac_log="
6211 {
6212 echo
6213 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6214 ## Running $as_me. ##
6215 _ASBOX
6216 } >&5
6217 cat >&5 <<_CSEOF
6218
6219 This file was extended by masqmail $as_me 0.2.21, which was 6909 This file was extended by masqmail $as_me 0.2.21, which was
6220 generated by GNU Autoconf 2.59. Invocation command line was 6910 generated by GNU Autoconf 2.61. Invocation command line was
6221 6911
6222 CONFIG_FILES = $CONFIG_FILES 6912 CONFIG_FILES = $CONFIG_FILES
6223 CONFIG_HEADERS = $CONFIG_HEADERS 6913 CONFIG_HEADERS = $CONFIG_HEADERS
6224 CONFIG_LINKS = $CONFIG_LINKS 6914 CONFIG_LINKS = $CONFIG_LINKS
6225 CONFIG_COMMANDS = $CONFIG_COMMANDS 6915 CONFIG_COMMANDS = $CONFIG_COMMANDS
6226 $ $0 $@ 6916 $ $0 $@
6227 6917
6228 _CSEOF 6918 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6229 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 6919 "
6230 echo >&5 6920
6231 _ACEOF 6921 _ACEOF
6232 6922
6923 cat >>$CONFIG_STATUS <<_ACEOF
6233 # Files that config.status was made for. 6924 # Files that config.status was made for.
6234 if test -n "$ac_config_files"; then 6925 config_files="$ac_config_files"
6235 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 6926 config_headers="$ac_config_headers"
6236 fi 6927 config_commands="$ac_config_commands"
6237 6928
6238 if test -n "$ac_config_headers"; then 6929 _ACEOF
6239 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6240 fi
6241
6242 if test -n "$ac_config_links"; then
6243 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6244 fi
6245
6246 if test -n "$ac_config_commands"; then
6247 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6248 fi
6249 6930
6250 cat >>$CONFIG_STATUS <<\_ACEOF 6931 cat >>$CONFIG_STATUS <<\_ACEOF
6251
6252 ac_cs_usage="\ 6932 ac_cs_usage="\
6253 \`$as_me' instantiates files from templates according to the 6933 \`$as_me' instantiates files from templates according to the
6254 current configuration. 6934 current configuration.
6255 6935
6256 Usage: $0 [OPTIONS] [FILE]... 6936 Usage: $0 [OPTIONS] [FILE]...
6257 6937
6258 -h, --help print this help, then exit 6938 -h, --help print this help, then exit
6259 -V, --version print version number, then exit 6939 -V, --version print version number and configuration settings, then exit
6260 -q, --quiet do not print progress messages 6940 -q, --quiet do not print progress messages
6261 -d, --debug don't remove temporary files 6941 -d, --debug don't remove temporary files
6262 --recheck update $as_me by reconfiguring in the same conditions 6942 --recheck update $as_me by reconfiguring in the same conditions
6263 --file=FILE[:TEMPLATE] 6943 --file=FILE[:TEMPLATE]
6264 instantiate the configuration file FILE 6944 instantiate the configuration file FILE
6273 6953
6274 Configuration commands: 6954 Configuration commands:
6275 $config_commands 6955 $config_commands
6276 6956
6277 Report bugs to <bug-autoconf@gnu.org>." 6957 Report bugs to <bug-autoconf@gnu.org>."
6278 _ACEOF 6958
6279 6959 _ACEOF
6280 cat >>$CONFIG_STATUS <<_ACEOF 6960 cat >>$CONFIG_STATUS <<_ACEOF
6281 ac_cs_version="\\ 6961 ac_cs_version="\\
6282 masqmail config.status 0.2.21 6962 masqmail config.status 0.2.21
6283 configured by $0, generated by GNU Autoconf 2.59, 6963 configured by $0, generated by GNU Autoconf 2.61,
6284 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 6964 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6285 6965
6286 Copyright (C) 2003 Free Software Foundation, Inc. 6966 Copyright (C) 2006 Free Software Foundation, Inc.
6287 This config.status script is free software; the Free Software Foundation 6967 This config.status script is free software; the Free Software Foundation
6288 gives unlimited permission to copy, distribute and modify it." 6968 gives unlimited permission to copy, distribute and modify it."
6289 srcdir=$srcdir 6969
6290 INSTALL="$INSTALL" 6970 ac_pwd='$ac_pwd'
6971 srcdir='$srcdir'
6972 INSTALL='$INSTALL'
6291 _ACEOF 6973 _ACEOF
6292 6974
6293 cat >>$CONFIG_STATUS <<\_ACEOF 6975 cat >>$CONFIG_STATUS <<\_ACEOF
6294 # If no file are specified by the user, then we need to provide default 6976 # If no file are specified by the user, then we need to provide default
6295 # value. By we need to know if files were specified by the user. 6977 # value. By we need to know if files were specified by the user.
6296 ac_need_defaults=: 6978 ac_need_defaults=:
6297 while test $# != 0 6979 while test $# != 0
6298 do 6980 do
6299 case $1 in 6981 case $1 in
6300 --*=*) 6982 --*=*)
6301 ac_option=`expr "x$1" : 'x\([^=]*\)='` 6983 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6302 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 6984 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6303 ac_shift=: 6985 ac_shift=:
6304 ;; 6986 ;;
6305 -*) 6987 *)
6306 ac_option=$1 6988 ac_option=$1
6307 ac_optarg=$2 6989 ac_optarg=$2
6308 ac_shift=shift 6990 ac_shift=shift
6309 ;; 6991 ;;
6310 *) # This is not an option, so the user has probably given explicit
6311 # arguments.
6312 ac_option=$1
6313 ac_need_defaults=false;;
6314 esac 6992 esac
6315 6993
6316 case $ac_option in 6994 case $ac_option in
6317 # Handling of the options. 6995 # Handling of the options.
6318 _ACEOF
6319 cat >>$CONFIG_STATUS <<\_ACEOF
6320 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6996 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6321 ac_cs_recheck=: ;; 6997 ac_cs_recheck=: ;;
6322 --version | --vers* | -V ) 6998 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6323 echo "$ac_cs_version"; exit 0 ;; 6999 echo "$ac_cs_version"; exit ;;
6324 --he | --h) 7000 --debug | --debu | --deb | --de | --d | -d )
6325 # Conflict between --help and --header
6326 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6327 Try \`$0 --help' for more information." >&5
6328 echo "$as_me: error: ambiguous option: $1
6329 Try \`$0 --help' for more information." >&2;}
6330 { (exit 1); exit 1; }; };;
6331 --help | --hel | -h )
6332 echo "$ac_cs_usage"; exit 0 ;;
6333 --debug | --d* | -d )
6334 debug=: ;; 7001 debug=: ;;
6335 --file | --fil | --fi | --f ) 7002 --file | --fil | --fi | --f )
6336 $ac_shift 7003 $ac_shift
6337 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7004 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6338 ac_need_defaults=false;; 7005 ac_need_defaults=false;;
6339 --header | --heade | --head | --hea ) 7006 --header | --heade | --head | --hea )
6340 $ac_shift 7007 $ac_shift
6341 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7008 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6342 ac_need_defaults=false;; 7009 ac_need_defaults=false;;
7010 --he | --h)
7011 # Conflict between --help and --header
7012 { echo "$as_me: error: ambiguous option: $1
7013 Try \`$0 --help' for more information." >&2
7014 { (exit 1); exit 1; }; };;
7015 --help | --hel | -h )
7016 echo "$ac_cs_usage"; exit ;;
6343 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6344 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7018 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6345 ac_cs_silent=: ;; 7019 ac_cs_silent=: ;;
6346 7020
6347 # This is an error. 7021 # This is an error.
6348 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7022 -*) { echo "$as_me: error: unrecognized option: $1
6349 Try \`$0 --help' for more information." >&5 7023 Try \`$0 --help' for more information." >&2
6350 echo "$as_me: error: unrecognized option: $1
6351 Try \`$0 --help' for more information." >&2;}
6352 { (exit 1); exit 1; }; } ;; 7024 { (exit 1); exit 1; }; } ;;
6353 7025
6354 *) ac_config_targets="$ac_config_targets $1" ;; 7026 *) ac_config_targets="$ac_config_targets $1"
7027 ac_need_defaults=false ;;
6355 7028
6356 esac 7029 esac
6357 shift 7030 shift
6358 done 7031 done
6359 7032
6365 fi 7038 fi
6366 7039
6367 _ACEOF 7040 _ACEOF
6368 cat >>$CONFIG_STATUS <<_ACEOF 7041 cat >>$CONFIG_STATUS <<_ACEOF
6369 if \$ac_cs_recheck; then 7042 if \$ac_cs_recheck; then
6370 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7043 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6371 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7044 CONFIG_SHELL=$SHELL
6372 fi 7045 export CONFIG_SHELL
6373 7046 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6374 _ACEOF 7047 fi
6375 7048
7049 _ACEOF
7050 cat >>$CONFIG_STATUS <<\_ACEOF
7051 exec 5>>config.log
7052 {
7053 echo
7054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7055 ## Running $as_me. ##
7056 _ASBOX
7057 echo "$ac_log"
7058 } >&5
7059
7060 _ACEOF
6376 cat >>$CONFIG_STATUS <<_ACEOF 7061 cat >>$CONFIG_STATUS <<_ACEOF
6377 # 7062 #
6378 # INIT-COMMANDS section. 7063 # INIT-COMMANDS
6379 # 7064 #
6380
6381 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7065 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6382 7066
6383 _ACEOF 7067 _ACEOF
6384 7068
6385
6386
6387 cat >>$CONFIG_STATUS <<\_ACEOF 7069 cat >>$CONFIG_STATUS <<\_ACEOF
7070
7071 # Handling of arguments.
6388 for ac_config_target in $ac_config_targets 7072 for ac_config_target in $ac_config_targets
6389 do 7073 do
6390 case "$ac_config_target" in 7074 case $ac_config_target in
6391 # Handling of arguments. 7075 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6392 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7076 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6393 "debian/Makefile" ) CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; 7077 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6394 "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; 7078 "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
6395 "docs/man/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/man/Makefile" ;; 7079 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
6396 "docs/xml/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/xml/Makefile" ;; 7080 "docs/man/Makefile") CONFIG_FILES="$CONFIG_FILES docs/man/Makefile" ;;
6397 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 7081 "docs/xml/Makefile") CONFIG_FILES="$CONFIG_FILES docs/xml/Makefile" ;;
6398 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7082 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6399 "src/base64/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;; 7083 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6400 "src/md5/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;; 7084 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
6401 "src/libident/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;; 7085 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
6402 "suse/masqmail.spec" ) CONFIG_FILES="$CONFIG_FILES suse/masqmail.spec" ;; 7086 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
6403 "redhat/masqmail.spec" ) CONFIG_FILES="$CONFIG_FILES redhat/masqmail.spec" ;; 7087 "suse/masqmail.spec") CONFIG_FILES="$CONFIG_FILES suse/masqmail.spec" ;;
6404 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7088 "redhat/masqmail.spec") CONFIG_FILES="$CONFIG_FILES redhat/masqmail.spec" ;;
6405 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7089
6406 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7090 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6407 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7091 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6408 { (exit 1); exit 1; }; };; 7092 { (exit 1); exit 1; }; };;
6409 esac 7093 esac
6410 done 7094 done
7095
6411 7096
6412 # If the user did not use the arguments to specify the items to instantiate, 7097 # If the user did not use the arguments to specify the items to instantiate,
6413 # then the envvar interface is used. Set only those that are not. 7098 # then the envvar interface is used. Set only those that are not.
6414 # We use the long form for the default assignment because of an extremely 7099 # We use the long form for the default assignment because of an extremely
6415 # bizarre bug on SunOS 4.1.3. 7100 # bizarre bug on SunOS 4.1.3.
6418 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7103 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6419 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7104 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6420 fi 7105 fi
6421 7106
6422 # Have a temporary directory for convenience. Make it in the build tree 7107 # Have a temporary directory for convenience. Make it in the build tree
6423 # simply because there is no reason to put it here, and in addition, 7108 # simply because there is no reason against having it here, and in addition,
6424 # creating and moving files from /tmp can sometimes cause problems. 7109 # creating and moving files from /tmp can sometimes cause problems.
6425 # Create a temporary directory, and hook for its removal unless debugging. 7110 # Hook for its removal unless debugging.
7111 # Note that there is a small window in which the directory will not be cleaned:
7112 # after its creation but before its name has been assigned to `$tmp'.
6426 $debug || 7113 $debug ||
6427 { 7114 {
6428 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 7115 tmp=
7116 trap 'exit_status=$?
7117 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7118 ' 0
6429 trap '{ (exit 1); exit 1; }' 1 2 13 15 7119 trap '{ (exit 1); exit 1; }' 1 2 13 15
6430 } 7120 }
6431
6432 # Create a (secure) tmp directory for tmp files. 7121 # Create a (secure) tmp directory for tmp files.
6433 7122
6434 { 7123 {
6435 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 7124 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6436 test -n "$tmp" && test -d "$tmp" 7125 test -n "$tmp" && test -d "$tmp"
6437 } || 7126 } ||
6438 { 7127 {
6439 tmp=./confstat$$-$RANDOM 7128 tmp=./conf$$-$RANDOM
6440 (umask 077 && mkdir $tmp) 7129 (umask 077 && mkdir "$tmp")
6441 } || 7130 } ||
6442 { 7131 {
6443 echo "$me: cannot create a temporary directory in ." >&2 7132 echo "$me: cannot create a temporary directory in ." >&2
6444 { (exit 1); exit 1; } 7133 { (exit 1); exit 1; }
6445 } 7134 }
6446 7135
6447 _ACEOF
6448
6449 cat >>$CONFIG_STATUS <<_ACEOF
6450
6451 # 7136 #
6452 # CONFIG_FILES section. 7137 # Set up the sed scripts for CONFIG_FILES section.
6453 # 7138 #
6454 7139
6455 # No need to generate the scripts if there are no CONFIG_FILES. 7140 # No need to generate the scripts if there are no CONFIG_FILES.
6456 # This happens for instance when ./config.status config.h 7141 # This happens for instance when ./config.status config.h
6457 if test -n "\$CONFIG_FILES"; then 7142 if test -n "$CONFIG_FILES"; then
6458 # Protect against being on the right side of a sed subst in config.status. 7143
6459 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7144 _ACEOF
6460 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7145
6461 s,@SHELL@,$SHELL,;t t 7146
6462 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7147
6463 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7148 ac_delim='%!_!# '
6464 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7149 for ac_last_try in false false false false false :; do
6465 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7150 cat >conf$$subs.sed <<_ACEOF
6466 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7151 SHELL!$SHELL$ac_delim
6467 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7152 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6468 s,@exec_prefix@,$exec_prefix,;t t 7153 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6469 s,@prefix@,$prefix,;t t 7154 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6470 s,@program_transform_name@,$program_transform_name,;t t 7155 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6471 s,@bindir@,$bindir,;t t 7156 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6472 s,@sbindir@,$sbindir,;t t 7157 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6473 s,@libexecdir@,$libexecdir,;t t 7158 exec_prefix!$exec_prefix$ac_delim
6474 s,@datadir@,$datadir,;t t 7159 prefix!$prefix$ac_delim
6475 s,@sysconfdir@,$sysconfdir,;t t 7160 program_transform_name!$program_transform_name$ac_delim
6476 s,@sharedstatedir@,$sharedstatedir,;t t 7161 bindir!$bindir$ac_delim
6477 s,@localstatedir@,$localstatedir,;t t 7162 sbindir!$sbindir$ac_delim
6478 s,@libdir@,$libdir,;t t 7163 libexecdir!$libexecdir$ac_delim
6479 s,@includedir@,$includedir,;t t 7164 datarootdir!$datarootdir$ac_delim
6480 s,@oldincludedir@,$oldincludedir,;t t 7165 datadir!$datadir$ac_delim
6481 s,@infodir@,$infodir,;t t 7166 sysconfdir!$sysconfdir$ac_delim
6482 s,@mandir@,$mandir,;t t 7167 sharedstatedir!$sharedstatedir$ac_delim
6483 s,@build_alias@,$build_alias,;t t 7168 localstatedir!$localstatedir$ac_delim
6484 s,@host_alias@,$host_alias,;t t 7169 includedir!$includedir$ac_delim
6485 s,@target_alias@,$target_alias,;t t 7170 oldincludedir!$oldincludedir$ac_delim
6486 s,@DEFS@,$DEFS,;t t 7171 docdir!$docdir$ac_delim
6487 s,@ECHO_C@,$ECHO_C,;t t 7172 infodir!$infodir$ac_delim
6488 s,@ECHO_N@,$ECHO_N,;t t 7173 htmldir!$htmldir$ac_delim
6489 s,@ECHO_T@,$ECHO_T,;t t 7174 dvidir!$dvidir$ac_delim
6490 s,@LIBS@,$LIBS,;t t 7175 pdfdir!$pdfdir$ac_delim
6491 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7176 psdir!$psdir$ac_delim
6492 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7177 libdir!$libdir$ac_delim
6493 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7178 localedir!$localedir$ac_delim
6494 s,@CYGPATH_W@,$CYGPATH_W,;t t 7179 mandir!$mandir$ac_delim
6495 s,@PACKAGE@,$PACKAGE,;t t 7180 DEFS!$DEFS$ac_delim
6496 s,@VERSION@,$VERSION,;t t 7181 ECHO_C!$ECHO_C$ac_delim
6497 s,@ACLOCAL@,$ACLOCAL,;t t 7182 ECHO_N!$ECHO_N$ac_delim
6498 s,@AUTOCONF@,$AUTOCONF,;t t 7183 ECHO_T!$ECHO_T$ac_delim
6499 s,@AUTOMAKE@,$AUTOMAKE,;t t 7184 LIBS!$LIBS$ac_delim
6500 s,@AUTOHEADER@,$AUTOHEADER,;t t 7185 build_alias!$build_alias$ac_delim
6501 s,@MAKEINFO@,$MAKEINFO,;t t 7186 host_alias!$host_alias$ac_delim
6502 s,@AMTAR@,$AMTAR,;t t 7187 target_alias!$target_alias$ac_delim
6503 s,@install_sh@,$install_sh,;t t 7188 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6504 s,@STRIP@,$STRIP,;t t 7189 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6505 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 7190 INSTALL_DATA!$INSTALL_DATA$ac_delim
6506 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 7191 CYGPATH_W!$CYGPATH_W$ac_delim
6507 s,@AWK@,$AWK,;t t 7192 PACKAGE!$PACKAGE$ac_delim
6508 s,@SET_MAKE@,$SET_MAKE,;t t 7193 VERSION!$VERSION$ac_delim
6509 s,@am__leading_dot@,$am__leading_dot,;t t 7194 ACLOCAL!$ACLOCAL$ac_delim
6510 s,@CC@,$CC,;t t 7195 AUTOCONF!$AUTOCONF$ac_delim
6511 s,@CFLAGS@,$CFLAGS,;t t 7196 AUTOMAKE!$AUTOMAKE$ac_delim
6512 s,@LDFLAGS@,$LDFLAGS,;t t 7197 AUTOHEADER!$AUTOHEADER$ac_delim
6513 s,@CPPFLAGS@,$CPPFLAGS,;t t 7198 MAKEINFO!$MAKEINFO$ac_delim
6514 s,@ac_ct_CC@,$ac_ct_CC,;t t 7199 AMTAR!$AMTAR$ac_delim
6515 s,@EXEEXT@,$EXEEXT,;t t 7200 install_sh!$install_sh$ac_delim
6516 s,@OBJEXT@,$OBJEXT,;t t 7201 STRIP!$STRIP$ac_delim
6517 s,@DEPDIR@,$DEPDIR,;t t 7202 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6518 s,@am__include@,$am__include,;t t 7203 AWK!$AWK$ac_delim
6519 s,@am__quote@,$am__quote,;t t 7204 SET_MAKE!$SET_MAKE$ac_delim
6520 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 7205 am__leading_dot!$am__leading_dot$ac_delim
6521 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 7206 CC!$CC$ac_delim
6522 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 7207 CFLAGS!$CFLAGS$ac_delim
6523 s,@CCDEPMODE@,$CCDEPMODE,;t t 7208 LDFLAGS!$LDFLAGS$ac_delim
6524 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 7209 CPPFLAGS!$CPPFLAGS$ac_delim
6525 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 7210 ac_ct_CC!$ac_ct_CC$ac_delim
6526 s,@CPP@,$CPP,;t t 7211 EXEEXT!$EXEEXT$ac_delim
6527 s,@EGREP@,$EGREP,;t t 7212 OBJEXT!$OBJEXT$ac_delim
6528 s,@RANLIB@,$RANLIB,;t t 7213 DEPDIR!$DEPDIR$ac_delim
6529 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7214 am__include!$am__include$ac_delim
6530 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 7215 am__quote!$am__quote$ac_delim
6531 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 7216 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6532 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t 7217 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6533 s,@GLIB_LIBS@,$GLIB_LIBS,;t t 7218 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6534 s,@RESOLV_LIBS@,$RESOLV_LIBS,;t t 7219 CCDEPMODE!$CCDEPMODE$ac_delim
6535 s,@with_user@,$with_user,;t t 7220 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6536 s,@with_group@,$with_group,;t t 7221 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6537 s,@BASE64_LIBS@,$BASE64_LIBS,;t t 7222 CPP!$CPP$ac_delim
6538 s,@MD5_LIBS@,$MD5_LIBS,;t t 7223 GREP!$GREP$ac_delim
6539 s,@has_ident@,$has_ident,;t t 7224 EGREP!$EGREP$ac_delim
6540 s,@IDENT_LIBS@,$IDENT_LIBS,;t t 7225 RANLIB!$RANLIB$ac_delim
6541 s,@LOCKFILE_LIBS@,$LOCKFILE_LIBS,;t t 7226 PKG_CONFIG!$PKG_CONFIG$ac_delim
6542 s,@USE_LIBLOCKFILE@,$USE_LIBLOCKFILE,;t t 7227 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
6543 s,@with_logdir@,$with_logdir,;t t 7228 GLIB_LIBS!$GLIB_LIBS$ac_delim
6544 s,@with_spooldir@,$with_spooldir,;t t 7229 RESOLV_LIBS!$RESOLV_LIBS$ac_delim
6545 s,@with_confdir@,$with_confdir,;t t 7230 with_user!$with_user$ac_delim
6546 s,@LIBOBJS@,$LIBOBJS,;t t 7231 with_group!$with_group$ac_delim
6547 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7232 BASE64_LIBS!$BASE64_LIBS$ac_delim
6548 CEOF 7233 MD5_LIBS!$MD5_LIBS$ac_delim
6549 7234 has_ident!$has_ident$ac_delim
6550 _ACEOF 7235 IDENT_LIBS!$IDENT_LIBS$ac_delim
6551 7236 LOCKFILE_LIBS!$LOCKFILE_LIBS$ac_delim
6552 cat >>$CONFIG_STATUS <<\_ACEOF 7237 USE_LIBLOCKFILE!$USE_LIBLOCKFILE$ac_delim
6553 # Split the substitutions into bite-sized pieces for seds with 7238 with_logdir!$with_logdir$ac_delim
6554 # small command number limits, like on Digital OSF/1 and HP-UX. 7239 with_spooldir!$with_spooldir$ac_delim
6555 ac_max_sed_lines=48 7240 with_confdir!$with_confdir$ac_delim
6556 ac_sed_frag=1 # Number of current file. 7241 LIBOBJS!$LIBOBJS$ac_delim
6557 ac_beg=1 # First line for current file. 7242 LTLIBOBJS!$LTLIBOBJS$ac_delim
6558 ac_end=$ac_max_sed_lines # Line after last line for current file. 7243 _ACEOF
6559 ac_more_lines=: 7244
6560 ac_sed_cmds= 7245 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
6561 while $ac_more_lines; do 7246 break
6562 if test $ac_beg -gt 1; then 7247 elif $ac_last_try; then
6563 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7248 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6564 else 7249 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6565 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7250 { (exit 1); exit 1; }; }
7251 else
7252 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7253 fi
7254 done
7255
7256 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7257 if test -n "$ac_eof"; then
7258 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7259 ac_eof=`expr $ac_eof + 1`
7260 fi
7261
7262 cat >>$CONFIG_STATUS <<_ACEOF
7263 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7264 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7265 _ACEOF
7266 sed '
7267 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7268 s/^/s,@/; s/!/@,|#_!!_#|/
7269 :n
7270 t n
7271 s/'"$ac_delim"'$/,g/; t
7272 s/$/\\/; p
7273 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7274 ' >>$CONFIG_STATUS <conf$$subs.sed
7275 rm -f conf$$subs.sed
7276 cat >>$CONFIG_STATUS <<_ACEOF
7277 :end
7278 s/|#_!!_#|//g
7279 CEOF$ac_eof
7280 _ACEOF
7281
7282
7283 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7284 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7285 # trailing colons and then remove the whole line if VPATH becomes empty
7286 # (actually we leave an empty line to preserve line numbers).
7287 if test "x$srcdir" = x.; then
7288 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7289 s/:*\$(srcdir):*/:/
7290 s/:*\${srcdir}:*/:/
7291 s/:*@srcdir@:*/:/
7292 s/^\([^=]*=[ ]*\):*/\1/
7293 s/:*$//
7294 s/^[^=]*=[ ]*$//
7295 }'
7296 fi
7297
7298 cat >>$CONFIG_STATUS <<\_ACEOF
7299 fi # test -n "$CONFIG_FILES"
7300
7301
7302 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
7303 do
7304 case $ac_tag in
7305 :[FHLC]) ac_mode=$ac_tag; continue;;
7306 esac
7307 case $ac_mode$ac_tag in
7308 :[FHL]*:*);;
7309 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7310 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7311 { (exit 1); exit 1; }; };;
7312 :[FH]-) ac_tag=-:-;;
7313 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7314 esac
7315 ac_save_IFS=$IFS
7316 IFS=:
7317 set x $ac_tag
7318 IFS=$ac_save_IFS
7319 shift
7320 ac_file=$1
7321 shift
7322
7323 case $ac_mode in
7324 :L) ac_source=$1;;
7325 :[FH])
7326 ac_file_inputs=
7327 for ac_f
7328 do
7329 case $ac_f in
7330 -) ac_f="$tmp/stdin";;
7331 *) # Look for the file first in the build tree, then in the source tree
7332 # (if the path is not absolute). The absolute path cannot be DOS-style,
7333 # because $ac_f cannot contain `:'.
7334 test -f "$ac_f" ||
7335 case $ac_f in
7336 [\\/$]*) false;;
7337 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7338 esac ||
7339 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7340 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7341 { (exit 1); exit 1; }; };;
7342 esac
7343 ac_file_inputs="$ac_file_inputs $ac_f"
7344 done
7345
7346 # Let's still pretend it is `configure' which instantiates (i.e., don't
7347 # use $as_me), people would be surprised to read:
7348 # /* config.h. Generated by config.status. */
7349 configure_input="Generated from "`IFS=:
7350 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7351 if test x"$ac_file" != x-; then
7352 configure_input="$ac_file. $configure_input"
7353 { echo "$as_me:$LINENO: creating $ac_file" >&5
7354 echo "$as_me: creating $ac_file" >&6;}
6566 fi 7355 fi
6567 if test ! -s $tmp/subs.frag; then 7356
6568 ac_more_lines=false 7357 case $ac_tag in
6569 else 7358 *:-:* | *:-) cat >"$tmp/stdin";;
6570 # The purpose of the label and of the branching condition is to 7359 esac
6571 # speed up the sed processing (if there are no `@' at all, there 7360 ;;
6572 # is no need to browse any of the substitutions).
6573 # These are the two extra sed commands mentioned above.
6574 (echo ':t
6575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6576 if test -z "$ac_sed_cmds"; then
6577 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6578 else
6579 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6580 fi
6581 ac_sed_frag=`expr $ac_sed_frag + 1`
6582 ac_beg=$ac_end
6583 ac_end=`expr $ac_end + $ac_max_sed_lines`
6584 fi
6585 done
6586 if test -z "$ac_sed_cmds"; then
6587 ac_sed_cmds=cat
6588 fi
6589 fi # test -n "$CONFIG_FILES"
6590
6591 _ACEOF
6592 cat >>$CONFIG_STATUS <<\_ACEOF
6593 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6594 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6595 case $ac_file in
6596 - | *:- | *:-:* ) # input from stdin
6597 cat >$tmp/stdin
6598 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6599 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6600 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6601 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6602 * ) ac_file_in=$ac_file.in ;;
6603 esac 7361 esac
6604 7362
6605 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 7363 ac_dir=`$as_dirname -- "$ac_file" ||
6606 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6607 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7364 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6608 X"$ac_file" : 'X\(//\)[^/]' \| \ 7365 X"$ac_file" : 'X\(//\)[^/]' \| \
6609 X"$ac_file" : 'X\(//\)$' \| \ 7366 X"$ac_file" : 'X\(//\)$' \| \
6610 X"$ac_file" : 'X\(/\)' \| \ 7367 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6611 . : '\(.\)' 2>/dev/null ||
6612 echo X"$ac_file" | 7368 echo X"$ac_file" |
6613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6614 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7370 s//\1/
6615 /^X\(\/\/\)$/{ s//\1/; q; } 7371 q
6616 /^X\(\/\).*/{ s//\1/; q; } 7372 }
6617 s/.*/./; q'` 7373 /^X\(\/\/\)[^/].*/{
6618 { if $as_mkdir_p; then 7374 s//\1/
6619 mkdir -p "$ac_dir" 7375 q
6620 else 7376 }
6621 as_dir="$ac_dir" 7377 /^X\(\/\/\)$/{
7378 s//\1/
7379 q
7380 }
7381 /^X\(\/\).*/{
7382 s//\1/
7383 q
7384 }
7385 s/.*/./; q'`
7386 { as_dir="$ac_dir"
7387 case $as_dir in #(
7388 -*) as_dir=./$as_dir;;
7389 esac
7390 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6622 as_dirs= 7391 as_dirs=
6623 while test ! -d "$as_dir"; do 7392 while :; do
6624 as_dirs="$as_dir $as_dirs" 7393 case $as_dir in #(
6625 as_dir=`(dirname "$as_dir") 2>/dev/null || 7394 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7395 *) as_qdir=$as_dir;;
7396 esac
7397 as_dirs="'$as_qdir' $as_dirs"
7398 as_dir=`$as_dirname -- "$as_dir" ||
6626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6627 X"$as_dir" : 'X\(//\)[^/]' \| \ 7400 X"$as_dir" : 'X\(//\)[^/]' \| \
6628 X"$as_dir" : 'X\(//\)$' \| \ 7401 X"$as_dir" : 'X\(//\)$' \| \
6629 X"$as_dir" : 'X\(/\)' \| \ 7402 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6630 . : '\(.\)' 2>/dev/null ||
6631 echo X"$as_dir" | 7403 echo X"$as_dir" |
6632 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6633 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7405 s//\1/
6634 /^X\(\/\/\)$/{ s//\1/; q; } 7406 q
6635 /^X\(\/\).*/{ s//\1/; q; } 7407 }
6636 s/.*/./; q'` 7408 /^X\(\/\/\)[^/].*/{
7409 s//\1/
7410 q
7411 }
7412 /^X\(\/\/\)$/{
7413 s//\1/
7414 q
7415 }
7416 /^X\(\/\).*/{
7417 s//\1/
7418 q
7419 }
7420 s/.*/./; q'`
7421 test -d "$as_dir" && break
6637 done 7422 done
6638 test ! -n "$as_dirs" || mkdir $as_dirs 7423 test -z "$as_dirs" || eval "mkdir $as_dirs"
6639 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7424 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6640 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7425 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6641 { (exit 1); exit 1; }; }; } 7426 { (exit 1); exit 1; }; }; }
6642
6643 ac_builddir=. 7427 ac_builddir=.
6644 7428
6645 if test "$ac_dir" != .; then 7429 case "$ac_dir" in
7430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7431 *)
6646 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7432 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6647 # A "../" for each directory in $ac_dir_suffix. 7433 # A ".." for each directory in $ac_dir_suffix.
6648 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 7434 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6649 else 7435 case $ac_top_builddir_sub in
6650 ac_dir_suffix= ac_top_builddir= 7436 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6651 fi 7437 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7438 esac ;;
7439 esac
7440 ac_abs_top_builddir=$ac_pwd
7441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7442 # for backward compatibility:
7443 ac_top_builddir=$ac_top_build_prefix
6652 7444
6653 case $srcdir in 7445 case $srcdir in
6654 .) # No --srcdir option. We are building in place. 7446 .) # We are building in place.
6655 ac_srcdir=. 7447 ac_srcdir=.
6656 if test -z "$ac_top_builddir"; then 7448 ac_top_srcdir=$ac_top_builddir_sub
6657 ac_top_srcdir=. 7449 ac_abs_top_srcdir=$ac_pwd ;;
6658 else 7450 [\\/]* | ?:[\\/]* ) # Absolute name.
6659 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6660 fi ;;
6661 [\\/]* | ?:[\\/]* ) # Absolute path.
6662 ac_srcdir=$srcdir$ac_dir_suffix; 7451 ac_srcdir=$srcdir$ac_dir_suffix;
6663 ac_top_srcdir=$srcdir ;; 7452 ac_top_srcdir=$srcdir
6664 *) # Relative path. 7453 ac_abs_top_srcdir=$srcdir ;;
6665 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7454 *) # Relative name.
6666 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7455 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7456 ac_top_srcdir=$ac_top_build_prefix$srcdir
7457 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6667 esac 7458 esac
6668 7459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6669 # Do not use `cd foo && pwd` to compute absolute paths, because 7460
6670 # the directories may not exist. 7461
6671 case `pwd` in 7462 case $ac_mode in
6672 .) ac_abs_builddir="$ac_dir";; 7463 :F)
6673 *) 7464 #
6674 case "$ac_dir" in 7465 # CONFIG_FILE
6675 .) ac_abs_builddir=`pwd`;; 7466 #
6676 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6677 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6678 esac;;
6679 esac
6680 case $ac_abs_builddir in
6681 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6682 *)
6683 case ${ac_top_builddir}. in
6684 .) ac_abs_top_builddir=$ac_abs_builddir;;
6685 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6686 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6687 esac;;
6688 esac
6689 case $ac_abs_builddir in
6690 .) ac_abs_srcdir=$ac_srcdir;;
6691 *)
6692 case $ac_srcdir in
6693 .) ac_abs_srcdir=$ac_abs_builddir;;
6694 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6695 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6696 esac;;
6697 esac
6698 case $ac_abs_builddir in
6699 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6700 *)
6701 case $ac_top_srcdir in
6702 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6703 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6704 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6705 esac;;
6706 esac
6707
6708 7467
6709 case $INSTALL in 7468 case $INSTALL in
6710 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7469 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6711 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 7470 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6712 esac 7471 esac
6713 7472 _ACEOF
6714 # Let's still pretend it is `configure' which instantiates (i.e., don't 7473
6715 # use $as_me), people would be surprised to read: 7474 cat >>$CONFIG_STATUS <<\_ACEOF
6716 # /* config.h. Generated by config.status. */ 7475 # If the template does not know about datarootdir, expand it.
6717 if test x"$ac_file" = x-; then 7476 # FIXME: This hack should be removed a few years after 2.60.
6718 configure_input= 7477 ac_datarootdir_hack=; ac_datarootdir_seen=
6719 else 7478
6720 configure_input="$ac_file. " 7479 case `sed -n '/datarootdir/ {
6721 fi 7480 p
6722 configure_input=$configure_input"Generated from `echo $ac_file_in | 7481 q
6723 sed 's,.*/,,'` by configure." 7482 }
6724 7483 /@datadir@/p
6725 # First look for the input files in the build tree, otherwise in the 7484 /@docdir@/p
6726 # src tree. 7485 /@infodir@/p
6727 ac_file_inputs=`IFS=: 7486 /@localedir@/p
6728 for f in $ac_file_in; do 7487 /@mandir@/p
6729 case $f in 7488 ' $ac_file_inputs` in
6730 -) echo $tmp/stdin ;; 7489 *datarootdir*) ac_datarootdir_seen=yes;;
6731 [\\/$]*) 7490 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6732 # Absolute (can't be DOS-style, as IFS=:) 7491 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6733 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7492 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6734 echo "$as_me: error: cannot find input file: $f" >&2;} 7493 _ACEOF
6735 { (exit 1); exit 1; }; } 7494 cat >>$CONFIG_STATUS <<_ACEOF
6736 echo "$f";; 7495 ac_datarootdir_hack='
6737 *) # Relative 7496 s&@datadir@&$datadir&g
6738 if test -f "$f"; then 7497 s&@docdir@&$docdir&g
6739 # Build tree 7498 s&@infodir@&$infodir&g
6740 echo "$f" 7499 s&@localedir@&$localedir&g
6741 elif test -f "$srcdir/$f"; then 7500 s&@mandir@&$mandir&g
6742 # Source tree 7501 s&\\\${datarootdir}&$datarootdir&g' ;;
6743 echo "$srcdir/$f" 7502 esac
6744 else 7503 _ACEOF
6745 # /dev/null tree 7504
6746 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7505 # Neutralize VPATH when `$srcdir' = `.'.
6747 echo "$as_me: error: cannot find input file: $f" >&2;} 7506 # Shell code in configure.ac might set extrasub.
6748 { (exit 1); exit 1; }; } 7507 # FIXME: do we really want to maintain this feature?
6749 fi;;
6750 esac
6751 done` || { (exit 1); exit 1; }
6752
6753 if test x"$ac_file" != x-; then
6754 { echo "$as_me:$LINENO: creating $ac_file" >&5
6755 echo "$as_me: creating $ac_file" >&6;}
6756 rm -f "$ac_file"
6757 fi
6758 _ACEOF
6759 cat >>$CONFIG_STATUS <<_ACEOF 7508 cat >>$CONFIG_STATUS <<_ACEOF
6760 sed "$ac_vpsub 7509 sed "$ac_vpsub
6761 $extrasub 7510 $extrasub
6762 _ACEOF 7511 _ACEOF
6763 cat >>$CONFIG_STATUS <<\_ACEOF 7512 cat >>$CONFIG_STATUS <<\_ACEOF
6764 :t 7513 :t
6765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7514 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6766 s,@configure_input@,$configure_input,;t t 7515 s&@configure_input@&$configure_input&;t t
6767 s,@srcdir@,$ac_srcdir,;t t 7516 s&@top_builddir@&$ac_top_builddir_sub&;t t
6768 s,@abs_srcdir@,$ac_abs_srcdir,;t t 7517 s&@srcdir@&$ac_srcdir&;t t
6769 s,@top_srcdir@,$ac_top_srcdir,;t t 7518 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6770 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 7519 s&@top_srcdir@&$ac_top_srcdir&;t t
6771 s,@builddir@,$ac_builddir,;t t 7520 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6772 s,@abs_builddir@,$ac_abs_builddir,;t t 7521 s&@builddir@&$ac_builddir&;t t
6773 s,@top_builddir@,$ac_top_builddir,;t t 7522 s&@abs_builddir@&$ac_abs_builddir&;t t
6774 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 7523 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6775 s,@INSTALL@,$ac_INSTALL,;t t 7524 s&@INSTALL@&$ac_INSTALL&;t t
6776 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 7525 $ac_datarootdir_hack
6777 rm -f $tmp/stdin 7526 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6778 if test x"$ac_file" != x-; then 7527
6779 mv $tmp/out $ac_file 7528 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6780 else 7529 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6781 cat $tmp/out 7530 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6782 rm -f $tmp/out 7531 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6783 fi 7532 which seems to be undefined. Please make sure it is defined." >&5
6784 7533 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6785 done 7534 which seems to be undefined. Please make sure it is defined." >&2;}
6786 _ACEOF 7535
6787 cat >>$CONFIG_STATUS <<\_ACEOF 7536 rm -f "$tmp/stdin"
6788 7537 case $ac_file in
6789 # 7538 -) cat "$tmp/out"; rm -f "$tmp/out";;
6790 # CONFIG_HEADER section. 7539 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6791 # 7540 esac
6792 7541 ;;
6793 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 7542 :H)
6794 # NAME is the cpp macro being defined and VALUE is the value it is being given. 7543 #
6795 # 7544 # CONFIG_HEADER
6796 # ac_d sets the value in "#define NAME VALUE" lines. 7545 #
6797 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 7546 _ACEOF
6798 ac_dB='[ ].*$,\1#\2' 7547
7548 # Transform confdefs.h into a sed script `conftest.defines', that
7549 # substitutes the proper values into config.h.in to produce config.h.
7550 rm -f conftest.defines conftest.tail
7551 # First, append a space to every undef/define line, to ease matching.
7552 echo 's/$/ /' >conftest.defines
7553 # Then, protect against being on the right side of a sed subst, or in
7554 # an unquoted here document, in config.status. If some macros were
7555 # called several times there might be several #defines for the same
7556 # symbol, which is useless. But do not sort them, since the last
7557 # AC_DEFINE must be honored.
7558 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7559 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7560 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7561 # PARAMS is the parameter list in the macro definition--in most cases, it's
7562 # just an empty string.
7563 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7564 ac_dB='\\)[ (].*,\\1define\\2'
6799 ac_dC=' ' 7565 ac_dC=' '
6800 ac_dD=',;t' 7566 ac_dD=' ,'
6801 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 7567
6802 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 7568 uniq confdefs.h |
6803 ac_uB='$,\1#\2define\3' 7569 sed -n '
6804 ac_uC=' ' 7570 t rset
6805 ac_uD=',;t' 7571 :rset
6806 7572 s/^[ ]*#[ ]*define[ ][ ]*//
6807 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 7573 t ok
6808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7574 d
6809 case $ac_file in 7575 :ok
6810 - | *:- | *:-:* ) # input from stdin 7576 s/[\\&,]/\\&/g
6811 cat >$tmp/stdin 7577 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6812 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7578 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6813 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7579 ' >>conftest.defines
6814 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7580
6815 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7581 # Remove the space that was appended to ease matching.
6816 * ) ac_file_in=$ac_file.in ;; 7582 # Then replace #undef with comments. This is necessary, for
6817 esac
6818
6819 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6820 echo "$as_me: creating $ac_file" >&6;}
6821
6822 # First look for the input files in the build tree, otherwise in the
6823 # src tree.
6824 ac_file_inputs=`IFS=:
6825 for f in $ac_file_in; do
6826 case $f in
6827 -) echo $tmp/stdin ;;
6828 [\\/$]*)
6829 # Absolute (can't be DOS-style, as IFS=:)
6830 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6831 echo "$as_me: error: cannot find input file: $f" >&2;}
6832 { (exit 1); exit 1; }; }
6833 # Do quote $f, to prevent DOS paths from being IFS'd.
6834 echo "$f";;
6835 *) # Relative
6836 if test -f "$f"; then
6837 # Build tree
6838 echo "$f"
6839 elif test -f "$srcdir/$f"; then
6840 # Source tree
6841 echo "$srcdir/$f"
6842 else
6843 # /dev/null tree
6844 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6845 echo "$as_me: error: cannot find input file: $f" >&2;}
6846 { (exit 1); exit 1; }; }
6847 fi;;
6848 esac
6849 done` || { (exit 1); exit 1; }
6850 # Remove the trailing spaces.
6851 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6852
6853 _ACEOF
6854
6855 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6856 # `conftest.undefs', that substitutes the proper values into
6857 # config.h.in to produce config.h. The first handles `#define'
6858 # templates, and the second `#undef' templates.
6859 # And first: Protect against being on the right side of a sed subst in
6860 # config.status. Protect against being in an unquoted here document
6861 # in config.status.
6862 rm -f conftest.defines conftest.undefs
6863 # Using a here document instead of a string reduces the quoting nightmare.
6864 # Putting comments in sed scripts is not portable.
6865 #
6866 # `end' is used to avoid that the second main sed command (meant for
6867 # 0-ary CPP macros) applies to n-ary macro definitions.
6868 # See the Autoconf documentation for `clear'.
6869 cat >confdef2sed.sed <<\_ACEOF
6870 s/[\\&,]/\\&/g
6871 s,[\\$`],\\&,g
6872 t clear
6873 : clear
6874 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6875 t end
6876 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6877 : end
6878 _ACEOF
6879 # If some macros were called several times there might be several times
6880 # the same #defines, which is useless. Nevertheless, we may not want to
6881 # sort them, since we want the *last* AC-DEFINE to be honored.
6882 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6883 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6884 rm -f confdef2sed.sed
6885
6886 # This sed command replaces #undef with comments. This is necessary, for
6887 # example, in the case of _POSIX_SOURCE, which is predefined and required 7583 # example, in the case of _POSIX_SOURCE, which is predefined and required
6888 # on some systems where configure will not decide to define it. 7584 # on some systems where configure will not decide to define it.
6889 cat >>conftest.undefs <<\_ACEOF 7585 # (The regexp can be short, since the line contains either #define or #undef.)
6890 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 7586 echo 's/ $//
6891 _ACEOF 7587 s,^[ #]*u.*,/* & */,' >>conftest.defines
6892 7588
6893 # Break up conftest.defines because some shells have a limit on the size 7589 # Break up conftest.defines:
6894 # of here documents, and old seds have small limits too (100 cmds). 7590 ac_max_sed_lines=50
6895 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 7591
6896 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 7592 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6897 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 7593 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6898 echo ' :' >>$CONFIG_STATUS 7594 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6899 rm -f conftest.tail 7595 # et cetera.
6900 while grep . conftest.defines >/dev/null 7596 ac_in='$ac_file_inputs'
7597 ac_out='"$tmp/out1"'
7598 ac_nxt='"$tmp/out2"'
7599
7600 while :
6901 do 7601 do
6902 # Write a limited-size here document to $tmp/defines.sed. 7602 # Write a here document:
6903 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 7603 cat >>$CONFIG_STATUS <<_ACEOF
6904 # Speed up: don't consider the non `#define' lines. 7604 # First, check the format of the line:
6905 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 7605 cat >"\$tmp/defines.sed" <<\\CEOF
6906 # Work around the forget-to-reset-the-flag bug. 7606 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6907 echo 't clr' >>$CONFIG_STATUS 7607 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6908 echo ': clr' >>$CONFIG_STATUS 7608 b
6909 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 7609 :def
7610 _ACEOF
7611 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6910 echo 'CEOF 7612 echo 'CEOF
6911 sed -f $tmp/defines.sed $tmp/in >$tmp/out 7613 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6912 rm -f $tmp/in 7614 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6913 mv $tmp/out $tmp/in 7615 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6914 ' >>$CONFIG_STATUS 7616 grep . conftest.tail >/dev/null || break
6915 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6916 rm -f conftest.defines 7617 rm -f conftest.defines
6917 mv conftest.tail conftest.defines 7618 mv conftest.tail conftest.defines
6918 done 7619 done
6919 rm -f conftest.defines 7620 rm -f conftest.defines conftest.tail
6920 echo ' fi # grep' >>$CONFIG_STATUS 7621
6921 echo >>$CONFIG_STATUS 7622 echo "ac_result=$ac_in" >>$CONFIG_STATUS
6922
6923 # Break up conftest.undefs because some shells have a limit on the size
6924 # of here documents, and old seds have small limits too (100 cmds).
6925 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6926 rm -f conftest.tail
6927 while grep . conftest.undefs >/dev/null
6928 do
6929 # Write a limited-size here document to $tmp/undefs.sed.
6930 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6931 # Speed up: don't consider the non `#undef'
6932 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6933 # Work around the forget-to-reset-the-flag bug.
6934 echo 't clr' >>$CONFIG_STATUS
6935 echo ': clr' >>$CONFIG_STATUS
6936 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6937 echo 'CEOF
6938 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6939 rm -f $tmp/in
6940 mv $tmp/out $tmp/in
6941 ' >>$CONFIG_STATUS
6942 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6943 rm -f conftest.undefs
6944 mv conftest.tail conftest.undefs
6945 done
6946 rm -f conftest.undefs
6947
6948 cat >>$CONFIG_STATUS <<\_ACEOF 7623 cat >>$CONFIG_STATUS <<\_ACEOF
6949 # Let's still pretend it is `configure' which instantiates (i.e., don't
6950 # use $as_me), people would be surprised to read:
6951 # /* config.h. Generated by config.status. */
6952 if test x"$ac_file" = x-; then
6953 echo "/* Generated by configure. */" >$tmp/config.h
6954 else
6955 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6956 fi
6957 cat $tmp/in >>$tmp/config.h
6958 rm -f $tmp/in
6959 if test x"$ac_file" != x-; then 7624 if test x"$ac_file" != x-; then
6960 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 7625 echo "/* $configure_input */" >"$tmp/config.h"
7626 cat "$ac_result" >>"$tmp/config.h"
7627 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6961 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7628 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6962 echo "$as_me: $ac_file is unchanged" >&6;} 7629 echo "$as_me: $ac_file is unchanged" >&6;}
6963 else 7630 else
6964 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6965 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6966 X"$ac_file" : 'X\(//\)[^/]' \| \
6967 X"$ac_file" : 'X\(//\)$' \| \
6968 X"$ac_file" : 'X\(/\)' \| \
6969 . : '\(.\)' 2>/dev/null ||
6970 echo X"$ac_file" |
6971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6972 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6973 /^X\(\/\/\)$/{ s//\1/; q; }
6974 /^X\(\/\).*/{ s//\1/; q; }
6975 s/.*/./; q'`
6976 { if $as_mkdir_p; then
6977 mkdir -p "$ac_dir"
6978 else
6979 as_dir="$ac_dir"
6980 as_dirs=
6981 while test ! -d "$as_dir"; do
6982 as_dirs="$as_dir $as_dirs"
6983 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6984 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6985 X"$as_dir" : 'X\(//\)[^/]' \| \
6986 X"$as_dir" : 'X\(//\)$' \| \
6987 X"$as_dir" : 'X\(/\)' \| \
6988 . : '\(.\)' 2>/dev/null ||
6989 echo X"$as_dir" |
6990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6991 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6992 /^X\(\/\/\)$/{ s//\1/; q; }
6993 /^X\(\/\).*/{ s//\1/; q; }
6994 s/.*/./; q'`
6995 done
6996 test ! -n "$as_dirs" || mkdir $as_dirs
6997 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6998 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6999 { (exit 1); exit 1; }; }; }
7000
7001 rm -f $ac_file 7631 rm -f $ac_file
7002 mv $tmp/config.h $ac_file 7632 mv "$tmp/config.h" $ac_file
7003 fi 7633 fi
7004 else 7634 else
7005 cat $tmp/config.h 7635 echo "/* $configure_input */"
7006 rm -f $tmp/config.h 7636 cat "$ac_result"
7007 fi 7637 fi
7638 rm -f "$tmp/out12"
7008 # Compute $ac_file's index in $config_headers. 7639 # Compute $ac_file's index in $config_headers.
7009 _am_stamp_count=1 7640 _am_stamp_count=1
7010 for _am_header in $config_headers :; do 7641 for _am_header in $config_headers :; do
7011 case $_am_header in 7642 case $_am_header in
7012 $ac_file | $ac_file:* ) 7643 $ac_file | $ac_file:* )
7013 break ;; 7644 break ;;
7014 * ) 7645 * )
7015 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7646 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7016 esac 7647 esac
7017 done 7648 done
7018 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 7649 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
7019 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7650 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7020 X$ac_file : 'X\(//\)[^/]' \| \ 7651 X$ac_file : 'X\(//\)[^/]' \| \
7021 X$ac_file : 'X\(//\)$' \| \ 7652 X$ac_file : 'X\(//\)$' \| \
7022 X$ac_file : 'X\(/\)' \| \ 7653 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
7023 . : '\(.\)' 2>/dev/null ||
7024 echo X$ac_file | 7654 echo X$ac_file |
7025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7026 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7656 s//\1/
7027 /^X\(\/\/\)$/{ s//\1/; q; } 7657 q
7028 /^X\(\/\).*/{ s//\1/; q; } 7658 }
7029 s/.*/./; q'`/stamp-h$_am_stamp_count 7659 /^X\(\/\/\)[^/].*/{
7030 done 7660 s//\1/
7031 _ACEOF 7661 q
7032 cat >>$CONFIG_STATUS <<\_ACEOF 7662 }
7033 7663 /^X\(\/\/\)$/{
7034 # 7664 s//\1/
7035 # CONFIG_COMMANDS section. 7665 q
7036 # 7666 }
7037 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 7667 /^X\(\/\).*/{
7038 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 7668 s//\1/
7039 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 7669 q
7040 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 7670 }
7041 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7671 s/.*/./; q'`/stamp-h$_am_stamp_count
7042 X"$ac_dest" : 'X\(//\)[^/]' \| \ 7672 ;;
7043 X"$ac_dest" : 'X\(//\)$' \| \ 7673
7044 X"$ac_dest" : 'X\(/\)' \| \ 7674 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
7045 . : '\(.\)' 2>/dev/null || 7675 echo "$as_me: executing $ac_file commands" >&6;}
7046 echo X"$ac_dest" | 7676 ;;
7047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7677 esac
7048 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7678
7049 /^X\(\/\/\)$/{ s//\1/; q; } 7679
7050 /^X\(\/\).*/{ s//\1/; q; } 7680 case $ac_file$ac_mode in
7051 s/.*/./; q'` 7681 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7052 { if $as_mkdir_p; then
7053 mkdir -p "$ac_dir"
7054 else
7055 as_dir="$ac_dir"
7056 as_dirs=
7057 while test ! -d "$as_dir"; do
7058 as_dirs="$as_dir $as_dirs"
7059 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7061 X"$as_dir" : 'X\(//\)[^/]' \| \
7062 X"$as_dir" : 'X\(//\)$' \| \
7063 X"$as_dir" : 'X\(/\)' \| \
7064 . : '\(.\)' 2>/dev/null ||
7065 echo X"$as_dir" |
7066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7067 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7068 /^X\(\/\/\)$/{ s//\1/; q; }
7069 /^X\(\/\).*/{ s//\1/; q; }
7070 s/.*/./; q'`
7071 done
7072 test ! -n "$as_dirs" || mkdir $as_dirs
7073 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7074 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7075 { (exit 1); exit 1; }; }; }
7076
7077 ac_builddir=.
7078
7079 if test "$ac_dir" != .; then
7080 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7081 # A "../" for each directory in $ac_dir_suffix.
7082 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7083 else
7084 ac_dir_suffix= ac_top_builddir=
7085 fi
7086
7087 case $srcdir in
7088 .) # No --srcdir option. We are building in place.
7089 ac_srcdir=.
7090 if test -z "$ac_top_builddir"; then
7091 ac_top_srcdir=.
7092 else
7093 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7094 fi ;;
7095 [\\/]* | ?:[\\/]* ) # Absolute path.
7096 ac_srcdir=$srcdir$ac_dir_suffix;
7097 ac_top_srcdir=$srcdir ;;
7098 *) # Relative path.
7099 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7100 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7101 esac
7102
7103 # Do not use `cd foo && pwd` to compute absolute paths, because
7104 # the directories may not exist.
7105 case `pwd` in
7106 .) ac_abs_builddir="$ac_dir";;
7107 *)
7108 case "$ac_dir" in
7109 .) ac_abs_builddir=`pwd`;;
7110 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7111 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7112 esac;;
7113 esac
7114 case $ac_abs_builddir in
7115 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7116 *)
7117 case ${ac_top_builddir}. in
7118 .) ac_abs_top_builddir=$ac_abs_builddir;;
7119 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7120 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7121 esac;;
7122 esac
7123 case $ac_abs_builddir in
7124 .) ac_abs_srcdir=$ac_srcdir;;
7125 *)
7126 case $ac_srcdir in
7127 .) ac_abs_srcdir=$ac_abs_builddir;;
7128 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7129 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7130 esac;;
7131 esac
7132 case $ac_abs_builddir in
7133 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7134 *)
7135 case $ac_top_srcdir in
7136 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7137 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7138 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7139 esac;;
7140 esac
7141
7142
7143 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7144 echo "$as_me: executing $ac_dest commands" >&6;}
7145 case $ac_dest in
7146 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7147 # Strip MF so we end up with the name of the file. 7682 # Strip MF so we end up with the name of the file.
7148 mf=`echo "$mf" | sed -e 's/:.*$//'` 7683 mf=`echo "$mf" | sed -e 's/:.*$//'`
7149 # Check whether this is an Automake generated Makefile or not. 7684 # Check whether this is an Automake generated Makefile or not.
7150 # We used to match only the files named `Makefile.in', but 7685 # We used to match only the files named `Makefile.in', but
7151 # some people rename them; so instead we look at the file content. 7686 # some people rename them; so instead we look at the file content.
7152 # Grep'ing the first line is not enough: some people post-process 7687 # Grep'ing the first line is not enough: some people post-process
7153 # each Makefile.in and add a new line on top of each file to say so. 7688 # each Makefile.in and add a new line on top of each file to say so.
7154 # So let's grep whole file. 7689 # So let's grep whole file.
7155 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 7690 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7156 dirpart=`(dirname "$mf") 2>/dev/null || 7691 dirpart=`$as_dirname -- "$mf" ||
7157 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7692 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7158 X"$mf" : 'X\(//\)[^/]' \| \ 7693 X"$mf" : 'X\(//\)[^/]' \| \
7159 X"$mf" : 'X\(//\)$' \| \ 7694 X"$mf" : 'X\(//\)$' \| \
7160 X"$mf" : 'X\(/\)' \| \ 7695 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7161 . : '\(.\)' 2>/dev/null ||
7162 echo X"$mf" | 7696 echo X"$mf" |
7163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7164 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7698 s//\1/
7165 /^X\(\/\/\)$/{ s//\1/; q; } 7699 q
7166 /^X\(\/\).*/{ s//\1/; q; } 7700 }
7167 s/.*/./; q'` 7701 /^X\(\/\/\)[^/].*/{
7702 s//\1/
7703 q
7704 }
7705 /^X\(\/\/\)$/{
7706 s//\1/
7707 q
7708 }
7709 /^X\(\/\).*/{
7710 s//\1/
7711 q
7712 }
7713 s/.*/./; q'`
7168 else 7714 else
7169 continue 7715 continue
7170 fi 7716 fi
7171 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 7717 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7172 # Extract the definition of DEP_FILES from the Makefile without 7718 # Extract the definition of DEP_FILES from the Makefile without
7190 } 7736 }
7191 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 7737 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7192 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7738 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7193 # Make sure the directory exists. 7739 # Make sure the directory exists.
7194 test -f "$dirpart/$file" && continue 7740 test -f "$dirpart/$file" && continue
7195 fdir=`(dirname "$file") 2>/dev/null || 7741 fdir=`$as_dirname -- "$file" ||
7196 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7742 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7197 X"$file" : 'X\(//\)[^/]' \| \ 7743 X"$file" : 'X\(//\)[^/]' \| \
7198 X"$file" : 'X\(//\)$' \| \ 7744 X"$file" : 'X\(//\)$' \| \
7199 X"$file" : 'X\(/\)' \| \ 7745 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7200 . : '\(.\)' 2>/dev/null ||
7201 echo X"$file" | 7746 echo X"$file" |
7202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7203 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7748 s//\1/
7204 /^X\(\/\/\)$/{ s//\1/; q; } 7749 q
7205 /^X\(\/\).*/{ s//\1/; q; } 7750 }
7206 s/.*/./; q'` 7751 /^X\(\/\/\)[^/].*/{
7207 { if $as_mkdir_p; then 7752 s//\1/
7208 mkdir -p $dirpart/$fdir 7753 q
7209 else 7754 }
7210 as_dir=$dirpart/$fdir 7755 /^X\(\/\/\)$/{
7756 s//\1/
7757 q
7758 }
7759 /^X\(\/\).*/{
7760 s//\1/
7761 q
7762 }
7763 s/.*/./; q'`
7764 { as_dir=$dirpart/$fdir
7765 case $as_dir in #(
7766 -*) as_dir=./$as_dir;;
7767 esac
7768 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7211 as_dirs= 7769 as_dirs=
7212 while test ! -d "$as_dir"; do 7770 while :; do
7213 as_dirs="$as_dir $as_dirs" 7771 case $as_dir in #(
7214 as_dir=`(dirname "$as_dir") 2>/dev/null || 7772 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7773 *) as_qdir=$as_dir;;
7774 esac
7775 as_dirs="'$as_qdir' $as_dirs"
7776 as_dir=`$as_dirname -- "$as_dir" ||
7215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7777 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7216 X"$as_dir" : 'X\(//\)[^/]' \| \ 7778 X"$as_dir" : 'X\(//\)[^/]' \| \
7217 X"$as_dir" : 'X\(//\)$' \| \ 7779 X"$as_dir" : 'X\(//\)$' \| \
7218 X"$as_dir" : 'X\(/\)' \| \ 7780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7219 . : '\(.\)' 2>/dev/null ||
7220 echo X"$as_dir" | 7781 echo X"$as_dir" |
7221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7222 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7783 s//\1/
7223 /^X\(\/\/\)$/{ s//\1/; q; } 7784 q
7224 /^X\(\/\).*/{ s//\1/; q; } 7785 }
7225 s/.*/./; q'` 7786 /^X\(\/\/\)[^/].*/{
7787 s//\1/
7788 q
7789 }
7790 /^X\(\/\/\)$/{
7791 s//\1/
7792 q
7793 }
7794 /^X\(\/\).*/{
7795 s//\1/
7796 q
7797 }
7798 s/.*/./; q'`
7799 test -d "$as_dir" && break
7226 done 7800 done
7227 test ! -n "$as_dirs" || mkdir $as_dirs 7801 test -z "$as_dirs" || eval "mkdir $as_dirs"
7228 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 7802 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7229 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 7803 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7230 { (exit 1); exit 1; }; }; } 7804 { (exit 1); exit 1; }; }; }
7231
7232 # echo "creating $dirpart/$file" 7805 # echo "creating $dirpart/$file"
7233 echo '# dummy' > "$dirpart/$file" 7806 echo '# dummy' > "$dirpart/$file"
7234 done 7807 done
7235 done 7808 done
7236 ;; 7809 ;;
7810
7237 esac 7811 esac
7238 done 7812 done # for ac_tag
7239 _ACEOF 7813
7240
7241 cat >>$CONFIG_STATUS <<\_ACEOF
7242 7814
7243 { (exit 0); exit 0; } 7815 { (exit 0); exit 0; }
7244 _ACEOF 7816 _ACEOF
7245 chmod +x $CONFIG_STATUS 7817 chmod +x $CONFIG_STATUS
7246 ac_clean_files=$ac_clean_files_save 7818 ac_clean_files=$ac_clean_files_save