bump version
[buildroot.git] / package / rp-pppoe / rp-pppoe-3.8-002-autoreconf.patch
blob47cdb8d2bb70226f6f582ab82f07ad8107b45d12
1 --- rp-pppoe-3.8.oorig/src/configure 2006-04-02 16:29:42.000000000 +0200
2 +++ rp-pppoe-3.8/src/configure 2007-08-24 11:52:30.000000000 +0200
3 @@ -1,25 +1,54 @@
4 #! /bin/sh
5 # Guess values for system-dependent variables and create Makefiles.
6 -# Generated by GNU Autoconf 2.59.
7 +# Generated by GNU Autoconf 2.61.
9 -# Copyright (C) 2003 Free Software Foundation, Inc.
10 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
11 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## --------------------- ##
15 ## M4sh Initialization. ##
16 ## --------------------- ##
18 -# Be Bourne compatible
19 +# Be more Bourne compatible
20 +DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22 emulate sh
23 NULLCMD=:
24 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28 - set -o posix
29 + setopt NO_GLOB_SUBST
30 +else
31 + case `(set -o) 2>/dev/null` in
32 + *posix*) set -o posix ;;
33 +esac
35 +fi
40 +# PATH needs CR
41 +# Avoid depending upon Character Ranges.
42 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
43 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
45 +as_cr_digits='0123456789'
46 +as_cr_alnum=$as_cr_Letters$as_cr_digits
48 +# The user is always right.
49 +if test "${PATH_SEPARATOR+set}" != set; then
50 + echo "#! /bin/sh" >conf$$.sh
51 + echo "exit 0" >>conf$$.sh
52 + chmod +x conf$$.sh
53 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
54 + PATH_SEPARATOR=';'
55 + else
56 + PATH_SEPARATOR=:
57 + fi
58 + rm -f conf$$.sh
60 -DUALCASE=1; export DUALCASE # for MKS sh
62 # Support unset when possible.
63 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 @@ -29,8 +58,43 @@ else
68 +# IFS
69 +# We need space, tab and new line, in precisely that order. Quoting is
70 +# there to prevent editors from complaining about space-tab.
71 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
72 +# splitting by setting IFS to empty value.)
73 +as_nl='
75 +IFS=" "" $as_nl"
77 +# Find who we are. Look in the path if we contain no directory separator.
78 +case $0 in
79 + *[\\/]* ) as_myself=$0 ;;
80 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81 +for as_dir in $PATH
82 +do
83 + IFS=$as_save_IFS
84 + test -z "$as_dir" && as_dir=.
85 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 +done
87 +IFS=$as_save_IFS
89 + ;;
90 +esac
91 +# We did not find ourselves, most probably we were run as `sh COMMAND'
92 +# in which case we are not to be found in the path.
93 +if test "x$as_myself" = x; then
94 + as_myself=$0
95 +fi
96 +if test ! -f "$as_myself"; then
97 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
98 + { (exit 1); exit 1; }
99 +fi
101 # Work around bugs in pre-3.0 UWIN ksh.
102 -$as_unset ENV MAIL MAILPATH
103 +for as_var in ENV MAIL MAILPATH
104 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
105 +done
106 PS1='$ '
107 PS2='> '
108 PS4='+ '
109 @@ -44,18 +108,19 @@ 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
114 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
116 done
118 # Required to use basename.
119 -if expr a : '\(a\)' >/dev/null 2>&1; then
120 +if expr a : '\(a\)' >/dev/null 2>&1 &&
121 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
122 as_expr=expr
123 else
124 as_expr=false
127 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
128 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 as_basename=basename
130 else
131 as_basename=false
132 @@ -63,157 +128,388 @@ fi
135 # Name of the executable.
136 -as_me=`$as_basename "$0" ||
137 +as_me=`$as_basename -- "$0" ||
138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
139 X"$0" : 'X\(//\)$' \| \
140 - X"$0" : 'X\(/\)$' \| \
141 - . : '\(.\)' 2>/dev/null ||
142 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
143 echo X/"$0" |
144 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
145 - /^X\/\(\/\/\)$/{ s//\1/; q; }
146 - /^X\/\(\/\).*/{ s//\1/; q; }
147 - s/.*/./; q'`
148 + sed '/^.*\/\([^/][^/]*\)\/*$/{
149 + s//\1/
152 + /^X\/\(\/\/\)$/{
153 + s//\1/
156 + /^X\/\(\/\).*/{
157 + s//\1/
160 + s/.*/./; q'`
162 +# CDPATH.
163 +$as_unset CDPATH
165 -# PATH needs CR, and LINENO needs CR and PATH.
166 -# Avoid depending upon Character Ranges.
167 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
168 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
169 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
170 -as_cr_digits='0123456789'
171 -as_cr_alnum=$as_cr_Letters$as_cr_digits
173 -# The user is always right.
174 -if test "${PATH_SEPARATOR+set}" != set; then
175 - echo "#! /bin/sh" >conf$$.sh
176 - echo "exit 0" >>conf$$.sh
177 - chmod +x conf$$.sh
178 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
179 - PATH_SEPARATOR=';'
180 - else
181 - PATH_SEPARATOR=:
182 - fi
183 - rm -f conf$$.sh
184 +if test "x$CONFIG_SHELL" = x; then
185 + if (eval ":") 2>/dev/null; then
186 + as_have_required=yes
187 +else
188 + as_have_required=no
191 + if test $as_have_required = yes && (eval ":
192 +(as_func_return () {
193 + (exit \$1)
195 +as_func_success () {
196 + as_func_return 0
198 +as_func_failure () {
199 + as_func_return 1
201 +as_func_ret_success () {
202 + return 0
204 +as_func_ret_failure () {
205 + return 1
208 - as_lineno_1=$LINENO
209 - as_lineno_2=$LINENO
210 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
211 - test "x$as_lineno_1" != "x$as_lineno_2" &&
212 - test "x$as_lineno_3" = "x$as_lineno_2" || {
213 - # Find who we are. Look in the path if we contain no path at all
214 - # relative or not.
215 - case $0 in
216 - *[\\/]* ) as_myself=$0 ;;
217 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 -for as_dir in $PATH
220 - IFS=$as_save_IFS
221 - test -z "$as_dir" && as_dir=.
222 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
223 -done
224 +exitcode=0
225 +if as_func_success; then
227 +else
228 + exitcode=1
229 + echo as_func_success failed.
232 - ;;
233 - esac
234 - # We did not find ourselves, most probably we were run as `sh COMMAND'
235 - # in which case we are not to be found in the path.
236 - if test "x$as_myself" = x; then
237 - as_myself=$0
238 - fi
239 - if test ! -f "$as_myself"; then
240 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
241 - { (exit 1); exit 1; }; }
242 - fi
243 - case $CONFIG_SHELL in
244 - '')
245 +if as_func_failure; then
246 + exitcode=1
247 + echo as_func_failure succeeded.
250 +if as_func_ret_success; then
252 +else
253 + exitcode=1
254 + echo as_func_ret_success failed.
257 +if as_func_ret_failure; then
258 + exitcode=1
259 + echo as_func_ret_failure succeeded.
262 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
264 +else
265 + exitcode=1
266 + echo positional parameters were not saved.
269 +test \$exitcode = 0) || { (exit 1); exit 1; }
272 + as_lineno_1=\$LINENO
273 + as_lineno_2=\$LINENO
274 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
275 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
276 +") 2> /dev/null; then
278 +else
279 + as_candidate_shells=
280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
281 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
283 IFS=$as_save_IFS
284 test -z "$as_dir" && as_dir=.
285 - for as_base in sh bash ksh sh5; do
286 - case $as_dir in
287 + case $as_dir in
289 - if ("$as_dir/$as_base" -c '
290 + for as_base in sh bash ksh sh5; do
291 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
292 + done;;
293 + esac
294 +done
295 +IFS=$as_save_IFS
298 + for as_shell in $as_candidate_shells $SHELL; do
299 + # Try only shells that exist, to save several forks.
300 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
301 + { ("$as_shell") 2> /dev/null <<\_ASEOF
302 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
303 + emulate sh
304 + NULLCMD=:
305 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
306 + # is contrary to our usage. Disable this feature.
307 + alias -g '${1+"$@"}'='"$@"'
308 + setopt NO_GLOB_SUBST
309 +else
310 + case `(set -o) 2>/dev/null` in
311 + *posix*) set -o posix ;;
312 +esac
318 +_ASEOF
319 +}; then
320 + CONFIG_SHELL=$as_shell
321 + as_have_required=yes
322 + if { "$as_shell" 2> /dev/null <<\_ASEOF
323 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
324 + emulate sh
325 + NULLCMD=:
326 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
327 + # is contrary to our usage. Disable this feature.
328 + alias -g '${1+"$@"}'='"$@"'
329 + setopt NO_GLOB_SUBST
330 +else
331 + case `(set -o) 2>/dev/null` in
332 + *posix*) set -o posix ;;
333 +esac
339 +(as_func_return () {
340 + (exit $1)
342 +as_func_success () {
343 + as_func_return 0
345 +as_func_failure () {
346 + as_func_return 1
348 +as_func_ret_success () {
349 + return 0
351 +as_func_ret_failure () {
352 + return 1
355 +exitcode=0
356 +if as_func_success; then
358 +else
359 + exitcode=1
360 + echo as_func_success failed.
363 +if as_func_failure; then
364 + exitcode=1
365 + echo as_func_failure succeeded.
368 +if as_func_ret_success; then
370 +else
371 + exitcode=1
372 + echo as_func_ret_success failed.
375 +if as_func_ret_failure; then
376 + exitcode=1
377 + echo as_func_ret_failure succeeded.
380 +if ( set x; as_func_ret_success y && test x = "$1" ); then
382 +else
383 + exitcode=1
384 + echo positional parameters were not saved.
387 +test $exitcode = 0) || { (exit 1); exit 1; }
390 as_lineno_1=$LINENO
391 as_lineno_2=$LINENO
392 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
393 test "x$as_lineno_1" != "x$as_lineno_2" &&
394 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
395 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
396 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
397 - CONFIG_SHELL=$as_dir/$as_base
398 - export CONFIG_SHELL
399 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
400 - fi;;
401 - esac
402 - done
403 -done
405 - esac
406 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
408 +_ASEOF
409 +}; then
410 + break
415 + done
417 + if test "x$CONFIG_SHELL" != x; then
418 + for as_var in BASH_ENV ENV
419 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
420 + done
421 + export CONFIG_SHELL
422 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
426 + if test $as_have_required = no; then
427 + echo This script requires a shell more modern than all the
428 + echo shells that I found on your system. Please install a
429 + echo modern shell, or manually run the script under such a
430 + echo shell if you do have one.
431 + { (exit 1); exit 1; }
441 +(eval "as_func_return () {
442 + (exit \$1)
444 +as_func_success () {
445 + as_func_return 0
447 +as_func_failure () {
448 + as_func_return 1
450 +as_func_ret_success () {
451 + return 0
453 +as_func_ret_failure () {
454 + return 1
457 +exitcode=0
458 +if as_func_success; then
460 +else
461 + exitcode=1
462 + echo as_func_success failed.
465 +if as_func_failure; then
466 + exitcode=1
467 + echo as_func_failure succeeded.
470 +if as_func_ret_success; then
472 +else
473 + exitcode=1
474 + echo as_func_ret_success failed.
477 +if as_func_ret_failure; then
478 + exitcode=1
479 + echo as_func_ret_failure succeeded.
482 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
484 +else
485 + exitcode=1
486 + echo positional parameters were not saved.
489 +test \$exitcode = 0") || {
490 + echo No shell found that supports shell functions.
491 + echo Please tell autoconf@gnu.org about your system,
492 + echo including any error possibly output before this
493 + echo message
498 + as_lineno_1=$LINENO
499 + as_lineno_2=$LINENO
500 + test "x$as_lineno_1" != "x$as_lineno_2" &&
501 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
503 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
504 # uniformly replaced by the line number. The first 'sed' inserts a
505 - # line-number line before each line; the second 'sed' does the real
506 - # work. The second script uses 'N' to pair each line-number line
507 - # with the numbered line, and appends trailing '-' during
508 - # substitution so that $LINENO is not a special case at line end.
509 + # line-number line after each line using $LINENO; the second 'sed'
510 + # does the real work. The second script uses 'N' to pair each
511 + # line-number line with the line containing $LINENO, and appends
512 + # trailing '-' during substitution so that $LINENO is not a special
513 + # case at line end.
514 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
515 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
516 - sed '=' <$as_myself |
517 + # scripts with optimization help from Paolo Bonzini. Blame Lee
518 + # E. McMahon (1931-1989) for sed's syntax. :-)
519 + sed -n '
521 + /[$]LINENO/=
522 + ' <$as_myself |
523 sed '
524 + s/[$]LINENO.*/&-/
525 + t lineno
527 + :lineno
529 - s,$,-,
530 - : loop
531 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
532 + :loop
533 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
534 t loop
535 - s,-$,,
536 - s,^['$as_cr_digits']*\n,,
537 + s/-\n.*//
538 ' >$as_me.lineno &&
539 - chmod +x $as_me.lineno ||
540 + chmod +x "$as_me.lineno" ||
541 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
542 { (exit 1); exit 1; }; }
544 # Don't try to exec as it changes $[0], causing all sort of problems
545 # (the dirname of $[0] is not the place where we might find the
546 - # original and so on. Autoconf is especially sensible to this).
547 - . ./$as_me.lineno
548 + # original and so on. Autoconf is especially sensitive to this).
549 + . "./$as_me.lineno"
550 # Exit status is that of the last command.
551 exit
555 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
556 - *c*,-n*) ECHO_N= ECHO_C='
557 -' ECHO_T=' ' ;;
558 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
559 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
560 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
561 + as_dirname=dirname
562 +else
563 + as_dirname=false
566 +ECHO_C= ECHO_N= ECHO_T=
567 +case `echo -n x` in
568 +-n*)
569 + case `echo 'x\c'` in
570 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
571 + *) ECHO_C='\c';;
572 + esac;;
574 + ECHO_N='-n';;
575 esac
577 -if expr a : '\(a\)' >/dev/null 2>&1; then
578 +if expr a : '\(a\)' >/dev/null 2>&1 &&
579 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
580 as_expr=expr
581 else
582 as_expr=false
585 rm -f conf$$ conf$$.exe conf$$.file
586 +if test -d conf$$.dir; then
587 + rm -f conf$$.dir/conf$$.file
588 +else
589 + rm -f conf$$.dir
590 + mkdir conf$$.dir
592 echo >conf$$.file
593 if ln -s conf$$.file conf$$ 2>/dev/null; then
594 - # We could just check for DJGPP; but this test a) works b) is more generic
595 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
596 - if test -f conf$$.exe; then
597 - # Don't use ln at all; we don't have any links
598 + as_ln_s='ln -s'
599 + # ... but there are two gotchas:
600 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
601 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
602 + # In both cases, we have to default to `cp -p'.
603 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
604 as_ln_s='cp -p'
605 - else
606 - as_ln_s='ln -s'
607 - fi
608 elif ln conf$$.file conf$$ 2>/dev/null; then
609 as_ln_s=ln
610 else
611 as_ln_s='cp -p'
613 -rm -f conf$$ conf$$.exe conf$$.file
614 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
615 +rmdir conf$$.dir 2>/dev/null
617 if mkdir -p . 2>/dev/null; then
618 as_mkdir_p=:
619 @@ -222,7 +518,28 @@ else
620 as_mkdir_p=false
623 -as_executable_p="test -f"
624 +if test -x / >/dev/null 2>&1; then
625 + as_test_x='test -x'
626 +else
627 + if ls -dL / >/dev/null 2>&1; then
628 + as_ls_L_option=L
629 + else
630 + as_ls_L_option=
631 + fi
632 + as_test_x='
633 + eval sh -c '\''
634 + if test -d "$1"; then
635 + test -d "$1/.";
636 + else
637 + case $1 in
638 + -*)set "./$1";;
639 + esac;
640 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
641 + ???[sx]*):;;*)false;;esac;fi
642 + '\'' sh
645 +as_executable_p=$as_test_x
647 # Sed expression to map a string onto a valid CPP name.
648 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
649 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
650 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
653 -# IFS
654 -# We need space, tab and new line, in precisely that order.
655 -as_nl='
657 -IFS=" $as_nl"
659 -# CDPATH.
660 -$as_unset CDPATH
662 +exec 7<&0 </dev/null 6>&1
664 # Name of the host.
665 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
666 # so uname gets run too.
667 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
669 -exec 6>&1
672 # Initializations.
674 ac_default_prefix=/usr/local
675 +ac_clean_files=
676 ac_config_libobj_dir=.
677 +LIBOBJS=
678 cross_compiling=no
679 subdirs=
680 MFLAGS=
681 MAKEFLAGS=
682 SHELL=${CONFIG_SHELL-/bin/sh}
684 -# Maximum number of lines to put in a shell here document.
685 -# This variable seems obsolete. It should probably be removed, and
686 -# only ac_max_sed_lines should be used.
687 -: ${ac_max_here_lines=38}
689 # Identity of this package.
690 PACKAGE_NAME=
691 PACKAGE_TARNAME=
692 @@ -276,42 +581,122 @@ ac_default_prefix=/usr
693 # Factoring default headers for most tests.
694 ac_includes_default="\
695 #include <stdio.h>
696 -#if HAVE_SYS_TYPES_H
697 +#ifdef HAVE_SYS_TYPES_H
698 # include <sys/types.h>
699 #endif
700 -#if HAVE_SYS_STAT_H
701 +#ifdef HAVE_SYS_STAT_H
702 # include <sys/stat.h>
703 #endif
704 -#if STDC_HEADERS
705 +#ifdef STDC_HEADERS
706 # include <stdlib.h>
707 # include <stddef.h>
708 #else
709 -# if HAVE_STDLIB_H
710 +# ifdef HAVE_STDLIB_H
711 # include <stdlib.h>
712 # endif
713 #endif
714 -#if HAVE_STRING_H
715 -# if !STDC_HEADERS && HAVE_MEMORY_H
716 +#ifdef HAVE_STRING_H
717 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
718 # include <memory.h>
719 # endif
720 # include <string.h>
721 #endif
722 -#if HAVE_STRINGS_H
723 +#ifdef HAVE_STRINGS_H
724 # include <strings.h>
725 #endif
726 -#if HAVE_INTTYPES_H
727 +#ifdef HAVE_INTTYPES_H
728 # include <inttypes.h>
729 -#else
730 -# if HAVE_STDINT_H
731 -# include <stdint.h>
732 -# endif
733 #endif
734 -#if HAVE_UNISTD_H
735 +#ifdef HAVE_STDINT_H
736 +# include <stdint.h>
737 +#endif
738 +#ifdef HAVE_UNISTD_H
739 # include <unistd.h>
740 #endif"
742 -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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB CPP EGREP PPPD_H LINUX_KERNELMODE_PLUGIN PPPD_INCDIR PPPOE_RELAY LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PPPD ECHO SETSID ID WRAPPER TARGETS LIC_INCDIR LIC_LIBDIR LIC_LIB LIC_MAKEFILE_INCLUDE LIC_DEFINE PPPOE_SERVER_DEPS RDYNAMIC LIBEVENT datadir_evaluated LTLIBOBJS'
743 +ac_subst_vars='SHELL
744 +PATH_SEPARATOR
745 +PACKAGE_NAME
746 +PACKAGE_TARNAME
747 +PACKAGE_VERSION
748 +PACKAGE_STRING
749 +PACKAGE_BUGREPORT
750 +exec_prefix
751 +prefix
752 +program_transform_name
753 +bindir
754 +sbindir
755 +libexecdir
756 +datarootdir
757 +datadir
758 +sysconfdir
759 +sharedstatedir
760 +localstatedir
761 +includedir
762 +oldincludedir
763 +docdir
764 +infodir
765 +htmldir
766 +dvidir
767 +pdfdir
768 +psdir
769 +libdir
770 +localedir
771 +mandir
772 +DEFS
773 +ECHO_C
774 +ECHO_N
775 +ECHO_T
776 +LIBS
777 +build_alias
778 +host_alias
779 +target_alias
781 +CFLAGS
782 +LDFLAGS
783 +CPPFLAGS
784 +ac_ct_CC
785 +EXEEXT
786 +OBJEXT
787 +RANLIB
788 +CPP
789 +GREP
790 +EGREP
791 +PPPD_H
792 +LINUX_KERNELMODE_PLUGIN
793 +PPPD_INCDIR
794 +PPPOE_RELAY
795 +LIBOBJS
796 +INSTALL_PROGRAM
797 +INSTALL_SCRIPT
798 +INSTALL_DATA
799 +PPPD
800 +ECHO
801 +SETSID
803 +WRAPPER
804 +TARGETS
805 +LIC_INCDIR
806 +LIC_LIBDIR
807 +LIC_LIB
808 +LIC_MAKEFILE_INCLUDE
809 +LIC_DEFINE
810 +PPPOE_SERVER_DEPS
811 +RDYNAMIC
812 +LIBEVENT
813 +datadir_evaluated
814 +LTLIBOBJS'
815 ac_subst_files=''
816 + ac_precious_vars='build_alias
817 +host_alias
818 +target_alias
820 +CFLAGS
821 +LDFLAGS
822 +LIBS
823 +CPPFLAGS
824 +CPP'
827 # Initialize some variables set by options.
828 ac_init_help=
829 @@ -338,34 +723,48 @@ x_libraries=NONE
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 +# (The list follows the same order as the GNU Coding Standards.)
834 bindir='${exec_prefix}/bin'
835 sbindir='${exec_prefix}/sbin'
836 libexecdir='${exec_prefix}/libexec'
837 -datadir='${prefix}/share'
838 +datarootdir='${prefix}/share'
839 +datadir='${datarootdir}'
840 sysconfdir='${prefix}/etc'
841 sharedstatedir='${prefix}/com'
842 localstatedir='${prefix}/var'
843 -libdir='${exec_prefix}/lib'
844 includedir='${prefix}/include'
845 oldincludedir='/usr/include'
846 -infodir='${prefix}/info'
847 -mandir='${prefix}/man'
848 +docdir='${datarootdir}/doc/${PACKAGE}'
849 +infodir='${datarootdir}/info'
850 +htmldir='${docdir}'
851 +dvidir='${docdir}'
852 +pdfdir='${docdir}'
853 +psdir='${docdir}'
854 +libdir='${exec_prefix}/lib'
855 +localedir='${datarootdir}/locale'
856 +mandir='${datarootdir}/man'
858 ac_prev=
859 +ac_dashdash=
860 for ac_option
862 # If the previous option needs an argument, assign it.
863 if test -n "$ac_prev"; then
864 - eval "$ac_prev=\$ac_option"
865 + eval $ac_prev=\$ac_option
866 ac_prev=
867 continue
870 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
871 + case $ac_option in
872 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
873 + *) ac_optarg=yes ;;
874 + esac
876 # Accept the important Cygnus configure options, so we can diagnose typos.
878 - case $ac_option in
879 + case $ac_dashdash$ac_option in
880 + --)
881 + ac_dashdash=yes ;;
883 -bindir | --bindir | --bindi | --bind | --bin | --bi)
884 ac_prev=bindir ;;
885 @@ -387,33 +786,45 @@ do
886 --config-cache | -C)
887 cache_file=config.cache ;;
889 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
890 + -datadir | --datadir | --datadi | --datad)
891 ac_prev=datadir ;;
892 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
893 - | --da=*)
894 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
895 datadir=$ac_optarg ;;
897 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
898 + | --dataroo | --dataro | --datar)
899 + ac_prev=datarootdir ;;
900 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
901 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
902 + datarootdir=$ac_optarg ;;
904 -disable-* | --disable-*)
905 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
906 # Reject names that are not valid shell variable names.
907 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
908 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
909 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
910 { (exit 1); exit 1; }; }
911 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
912 - eval "enable_$ac_feature=no" ;;
913 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
914 + eval enable_$ac_feature=no ;;
916 + -docdir | --docdir | --docdi | --doc | --do)
917 + ac_prev=docdir ;;
918 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 + docdir=$ac_optarg ;;
921 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922 + ac_prev=dvidir ;;
923 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 + dvidir=$ac_optarg ;;
926 -enable-* | --enable-*)
927 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
930 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
931 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
932 { (exit 1); exit 1; }; }
933 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
934 - case $ac_option in
935 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
936 - *) ac_optarg=yes ;;
937 - esac
938 - eval "enable_$ac_feature='$ac_optarg'" ;;
939 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
940 + eval enable_$ac_feature=\$ac_optarg ;;
942 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944 @@ -440,6 +851,12 @@ do
945 -host=* | --host=* | --hos=* | --ho=*)
946 host_alias=$ac_optarg ;;
948 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 + ac_prev=htmldir ;;
950 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 + | --ht=*)
952 + htmldir=$ac_optarg ;;
954 -includedir | --includedir | --includedi | --included | --include \
955 | --includ | --inclu | --incl | --inc)
956 ac_prev=includedir ;;
957 @@ -464,13 +881,16 @@ do
958 | --libexe=* | --libex=* | --libe=*)
959 libexecdir=$ac_optarg ;;
961 + -localedir | --localedir | --localedi | --localed | --locale)
962 + ac_prev=localedir ;;
963 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
964 + localedir=$ac_optarg ;;
966 -localstatedir | --localstatedir | --localstatedi | --localstated \
967 - | --localstate | --localstat | --localsta | --localst \
968 - | --locals | --local | --loca | --loc | --lo)
969 + | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
973 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
974 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 @@ -535,6 +955,16 @@ do
979 | --progr-tra=* | --program-tr=* | --program-t=*)
980 program_transform_name=$ac_optarg ;;
982 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
983 + ac_prev=pdfdir ;;
984 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
985 + pdfdir=$ac_optarg ;;
987 + -psdir | --psdir | --psdi | --psd | --ps)
988 + ac_prev=psdir ;;
989 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
990 + psdir=$ac_optarg ;;
992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993 | -silent | --silent | --silen | --sile | --sil)
994 silent=yes ;;
995 @@ -587,24 +1017,20 @@ do
996 -with-* | --with-*)
997 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1000 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1001 { echo "$as_me: error: invalid package name: $ac_package" >&2
1002 { (exit 1); exit 1; }; }
1003 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1004 - case $ac_option in
1005 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1006 - *) ac_optarg=yes ;;
1007 - esac
1008 - eval "with_$ac_package='$ac_optarg'" ;;
1009 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1010 + eval with_$ac_package=\$ac_optarg ;;
1012 -without-* | --without-*)
1013 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1014 # Reject names that are not valid shell variable names.
1015 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1016 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 { echo "$as_me: error: invalid package name: $ac_package" >&2
1018 { (exit 1); exit 1; }; }
1019 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1020 - eval "with_$ac_package=no" ;;
1021 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1022 + eval with_$ac_package=no ;;
1024 --x)
1025 # Obsolete; use --with-x.
1026 @@ -635,8 +1061,7 @@ Try \`$0 --help' for more information."
1027 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1028 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1029 { (exit 1); exit 1; }; }
1030 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1031 - eval "$ac_envvar='$ac_optarg'"
1032 + eval $ac_envvar=\$ac_optarg
1033 export $ac_envvar ;;
1036 @@ -656,27 +1081,19 @@ if test -n "$ac_prev"; then
1037 { (exit 1); exit 1; }; }
1040 -# Be sure to have absolute paths.
1041 -for ac_var in exec_prefix prefix
1043 - eval ac_val=$`echo $ac_var`
1044 - case $ac_val in
1045 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1046 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1047 - { (exit 1); exit 1; }; };;
1048 - esac
1049 -done
1051 -# Be sure to have absolute paths.
1052 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1053 - localstatedir libdir includedir oldincludedir infodir mandir
1054 +# Be sure to have absolute directory names.
1055 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1056 + datadir sysconfdir sharedstatedir localstatedir includedir \
1057 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1058 + libdir localedir mandir
1060 - eval ac_val=$`echo $ac_var`
1061 + eval ac_val=\$$ac_var
1062 case $ac_val in
1063 - [\\/$]* | ?:[\\/]* ) ;;
1064 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1065 - { (exit 1); exit 1; }; };;
1066 + [\\/$]* | ?:[\\/]* ) continue;;
1067 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1068 esac
1069 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1070 + { (exit 1); exit 1; }; }
1071 done
1073 # There might be people who depend on the old broken behavior: `$host'
1074 @@ -703,74 +1120,76 @@ test -n "$host_alias" && ac_tool_prefix=
1075 test "$silent" = yes && exec 6>/dev/null
1078 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1079 +ac_ls_di=`ls -di .` &&
1080 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1081 + { echo "$as_me: error: Working directory cannot be determined" >&2
1082 + { (exit 1); exit 1; }; }
1083 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1084 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1085 + { (exit 1); exit 1; }; }
1088 # Find the source files, if location was not specified.
1089 if test -z "$srcdir"; then
1090 ac_srcdir_defaulted=yes
1091 - # Try the directory containing this script, then its parent.
1092 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1093 + # Try the directory containing this script, then the parent directory.
1094 + ac_confdir=`$as_dirname -- "$0" ||
1095 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1096 X"$0" : 'X\(//\)[^/]' \| \
1097 X"$0" : 'X\(//\)$' \| \
1098 - X"$0" : 'X\(/\)' \| \
1099 - . : '\(.\)' 2>/dev/null ||
1100 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1101 echo X"$0" |
1102 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1103 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1104 - /^X\(\/\/\)$/{ s//\1/; q; }
1105 - /^X\(\/\).*/{ s//\1/; q; }
1106 - s/.*/./; q'`
1107 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1108 + s//\1/
1111 + /^X\(\/\/\)[^/].*/{
1112 + s//\1/
1115 + /^X\(\/\/\)$/{
1116 + s//\1/
1119 + /^X\(\/\).*/{
1120 + s//\1/
1123 + s/.*/./; q'`
1124 srcdir=$ac_confdir
1125 - if test ! -r $srcdir/$ac_unique_file; then
1126 + if test ! -r "$srcdir/$ac_unique_file"; then
1127 srcdir=..
1129 else
1130 ac_srcdir_defaulted=no
1132 -if test ! -r $srcdir/$ac_unique_file; then
1133 - if test "$ac_srcdir_defaulted" = yes; then
1134 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1135 - { (exit 1); exit 1; }; }
1136 - else
1137 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1138 +if test ! -r "$srcdir/$ac_unique_file"; then
1139 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1140 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1141 { (exit 1); exit 1; }; }
1142 - fi
1144 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1145 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1146 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1147 +ac_abs_confdir=`(
1148 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1149 { (exit 1); exit 1; }; }
1150 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1151 -ac_env_build_alias_set=${build_alias+set}
1152 -ac_env_build_alias_value=$build_alias
1153 -ac_cv_env_build_alias_set=${build_alias+set}
1154 -ac_cv_env_build_alias_value=$build_alias
1155 -ac_env_host_alias_set=${host_alias+set}
1156 -ac_env_host_alias_value=$host_alias
1157 -ac_cv_env_host_alias_set=${host_alias+set}
1158 -ac_cv_env_host_alias_value=$host_alias
1159 -ac_env_target_alias_set=${target_alias+set}
1160 -ac_env_target_alias_value=$target_alias
1161 -ac_cv_env_target_alias_set=${target_alias+set}
1162 -ac_cv_env_target_alias_value=$target_alias
1163 -ac_env_CC_set=${CC+set}
1164 -ac_env_CC_value=$CC
1165 -ac_cv_env_CC_set=${CC+set}
1166 -ac_cv_env_CC_value=$CC
1167 -ac_env_CFLAGS_set=${CFLAGS+set}
1168 -ac_env_CFLAGS_value=$CFLAGS
1169 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1170 -ac_cv_env_CFLAGS_value=$CFLAGS
1171 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1172 -ac_env_LDFLAGS_value=$LDFLAGS
1173 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1174 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1175 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1176 -ac_env_CPPFLAGS_value=$CPPFLAGS
1177 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1178 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1179 -ac_env_CPP_set=${CPP+set}
1180 -ac_env_CPP_value=$CPP
1181 -ac_cv_env_CPP_set=${CPP+set}
1182 -ac_cv_env_CPP_value=$CPP
1183 + pwd)`
1184 +# When building in place, set srcdir=.
1185 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1186 + srcdir=.
1188 +# Remove unnecessary trailing slashes from srcdir.
1189 +# Double slashes in file names in object file debugging info
1190 +# mess up M-x gdb in Emacs.
1191 +case $srcdir in
1192 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1193 +esac
1194 +for ac_var in $ac_precious_vars; do
1195 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1196 + eval ac_env_${ac_var}_value=\$${ac_var}
1197 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1198 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1199 +done
1202 # Report the --help message.
1203 @@ -799,9 +1218,6 @@ Configuration:
1204 -n, --no-create do not create output files
1205 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1207 -_ACEOF
1209 - cat <<_ACEOF
1210 Installation directories:
1211 --prefix=PREFIX install architecture-independent files in PREFIX
1212 [$ac_default_prefix]
1213 @@ -819,15 +1235,22 @@ Fine tuning of the installation director
1214 --bindir=DIR user executables [EPREFIX/bin]
1215 --sbindir=DIR system admin executables [EPREFIX/sbin]
1216 --libexecdir=DIR program executables [EPREFIX/libexec]
1217 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1218 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1219 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1220 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1221 --libdir=DIR object code libraries [EPREFIX/lib]
1222 --includedir=DIR C header files [PREFIX/include]
1223 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1224 - --infodir=DIR info documentation [PREFIX/info]
1225 - --mandir=DIR man documentation [PREFIX/man]
1226 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1227 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1228 + --infodir=DIR info documentation [DATAROOTDIR/info]
1229 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1230 + --mandir=DIR man documentation [DATAROOTDIR/man]
1231 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1232 + --htmldir=DIR html documentation [DOCDIR]
1233 + --dvidir=DIR dvi documentation [DOCDIR]
1234 + --pdfdir=DIR pdf documentation [DOCDIR]
1235 + --psdir=DIR ps documentation [DOCDIR]
1236 _ACEOF
1238 cat <<\_ACEOF
1239 @@ -850,126 +1273,95 @@ Some influential environment variables:
1240 CFLAGS C compiler flags
1241 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1242 nonstandard directory <lib dir>
1243 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1244 - headers in a nonstandard directory <include dir>
1245 + LIBS libraries to pass to the linker, e.g. -l<library>
1246 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1247 + you have headers in a nonstandard directory <include dir>
1248 CPP C preprocessor
1250 Use these variables to override the choices made by `configure' or to help
1251 it to find libraries and programs with nonstandard names/locations.
1253 _ACEOF
1254 +ac_status=$?
1257 if test "$ac_init_help" = "recursive"; then
1258 # If there are subdirs, report their specific --help.
1259 - ac_popdir=`pwd`
1260 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1261 - test -d $ac_dir || continue
1262 + test -d "$ac_dir" || continue
1263 ac_builddir=.
1265 -if test "$ac_dir" != .; then
1266 +case "$ac_dir" in
1267 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1269 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1270 - # A "../" for each directory in $ac_dir_suffix.
1271 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1272 -else
1273 - ac_dir_suffix= ac_top_builddir=
1275 + # A ".." for each directory in $ac_dir_suffix.
1276 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1277 + case $ac_top_builddir_sub in
1278 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1279 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1280 + esac ;;
1281 +esac
1282 +ac_abs_top_builddir=$ac_pwd
1283 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1284 +# for backward compatibility:
1285 +ac_top_builddir=$ac_top_build_prefix
1287 case $srcdir in
1288 - .) # No --srcdir option. We are building in place.
1289 + .) # We are building in place.
1290 ac_srcdir=.
1291 - if test -z "$ac_top_builddir"; then
1292 - ac_top_srcdir=.
1293 - else
1294 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1295 - fi ;;
1296 - [\\/]* | ?:[\\/]* ) # Absolute path.
1297 + ac_top_srcdir=$ac_top_builddir_sub
1298 + ac_abs_top_srcdir=$ac_pwd ;;
1299 + [\\/]* | ?:[\\/]* ) # Absolute name.
1300 ac_srcdir=$srcdir$ac_dir_suffix;
1301 - ac_top_srcdir=$srcdir ;;
1302 - *) # Relative path.
1303 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1304 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1305 -esac
1307 -# Do not use `cd foo && pwd` to compute absolute paths, because
1308 -# the directories may not exist.
1309 -case `pwd` in
1310 -.) ac_abs_builddir="$ac_dir";;
1312 - case "$ac_dir" in
1313 - .) ac_abs_builddir=`pwd`;;
1314 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1315 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1316 - esac;;
1317 -esac
1318 -case $ac_abs_builddir in
1319 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1321 - case ${ac_top_builddir}. in
1322 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1323 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1324 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1325 - esac;;
1326 -esac
1327 -case $ac_abs_builddir in
1328 -.) ac_abs_srcdir=$ac_srcdir;;
1330 - case $ac_srcdir in
1331 - .) ac_abs_srcdir=$ac_abs_builddir;;
1332 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1333 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1334 - esac;;
1335 -esac
1336 -case $ac_abs_builddir in
1337 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1339 - case $ac_top_srcdir in
1340 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1341 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1342 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1343 - esac;;
1344 + ac_top_srcdir=$srcdir
1345 + ac_abs_top_srcdir=$srcdir ;;
1346 + *) # Relative name.
1347 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1348 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1349 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1350 esac
1351 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353 - cd $ac_dir
1354 - # Check for guested configure; otherwise get Cygnus style configure.
1355 - if test -f $ac_srcdir/configure.gnu; then
1356 - echo
1357 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1358 - elif test -f $ac_srcdir/configure; then
1359 - echo
1360 - $SHELL $ac_srcdir/configure --help=recursive
1361 - elif test -f $ac_srcdir/configure.ac ||
1362 - test -f $ac_srcdir/configure.in; then
1363 - echo
1364 - $ac_configure --help
1365 + cd "$ac_dir" || { ac_status=$?; continue; }
1366 + # Check for guested configure.
1367 + if test -f "$ac_srcdir/configure.gnu"; then
1368 + echo &&
1369 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 + elif test -f "$ac_srcdir/configure"; then
1371 + echo &&
1372 + $SHELL "$ac_srcdir/configure" --help=recursive
1373 else
1374 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1375 - fi
1376 - cd "$ac_popdir"
1377 + fi || ac_status=$?
1378 + cd "$ac_pwd" || { ac_status=$?; break; }
1379 done
1382 -test -n "$ac_init_help" && exit 0
1383 +test -n "$ac_init_help" && exit $ac_status
1384 if $ac_init_version; then
1385 cat <<\_ACEOF
1386 +configure
1387 +generated by GNU Autoconf 2.61
1389 -Copyright (C) 2003 Free Software Foundation, Inc.
1390 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1391 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1392 This configure script is free software; the Free Software Foundation
1393 gives unlimited permission to copy, distribute and modify it.
1394 _ACEOF
1395 - exit 0
1396 + exit
1398 -exec 5>config.log
1399 -cat >&5 <<_ACEOF
1400 +cat >config.log <<_ACEOF
1401 This file contains any messages produced by compilers while
1402 running configure, to aid debugging if configure makes a mistake.
1404 It was created by $as_me, which was
1405 -generated by GNU Autoconf 2.59. Invocation command line was
1406 +generated by GNU Autoconf 2.61. Invocation command line was
1408 $ $0 $@
1410 _ACEOF
1411 +exec 5>>config.log
1413 cat <<_ASUNAME
1414 ## --------- ##
1415 @@ -988,7 +1380,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
1416 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1417 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1418 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1419 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1420 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1421 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1422 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1423 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1424 @@ -1002,6 +1394,7 @@ do
1425 test -z "$as_dir" && as_dir=.
1426 echo "PATH: $as_dir"
1427 done
1428 +IFS=$as_save_IFS
1430 } >&5
1432 @@ -1023,7 +1416,6 @@ _ACEOF
1433 ac_configure_args=
1434 ac_configure_args0=
1435 ac_configure_args1=
1436 -ac_sep=
1437 ac_must_keep_next=false
1438 for ac_pass in 1 2
1440 @@ -1034,7 +1426,7 @@ do
1441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1442 | -silent | --silent | --silen | --sile | --sil)
1443 continue ;;
1444 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1445 + *\'*)
1446 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1447 esac
1448 case $ac_pass in
1449 @@ -1056,9 +1448,7 @@ do
1450 -* ) ac_must_keep_next=true ;;
1451 esac
1453 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1454 - # Get rid of the leading space.
1455 - ac_sep=" "
1456 + ac_configure_args="$ac_configure_args '$ac_arg'"
1458 esac
1459 done
1460 @@ -1069,8 +1459,8 @@ $as_unset ac_configure_args1 || test "${
1461 # When interrupted or exit'd, cleanup temporary files, and complete
1462 # config.log. We remove comments because anyway the quotes in there
1463 # would cause problems or look ugly.
1464 -# WARNING: Be sure not to use single quotes in there, as some shells,
1465 -# such as our DU 5.0 friend, will then `close' the trap.
1466 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1467 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1468 trap 'exit_status=$?
1469 # Save into config.log some information that might help in debugging.
1471 @@ -1083,20 +1473,34 @@ trap 'exit_status=$?
1472 _ASBOX
1473 echo
1474 # The following way of writing the cache mishandles newlines in values,
1477 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1478 + eval ac_val=\$$ac_var
1479 + case $ac_val in #(
1480 + *${as_nl}*)
1481 + case $ac_var in #(
1482 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1483 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1484 + esac
1485 + case $ac_var in #(
1486 + _ | IFS | as_nl) ;; #(
1487 + *) $as_unset $ac_var ;;
1488 + esac ;;
1489 + esac
1490 + done
1491 (set) 2>&1 |
1492 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1493 - *ac_space=\ *)
1494 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1495 + *${as_nl}ac_space=\ *)
1496 sed -n \
1497 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1498 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1499 - ;;
1500 + "s/'\''/'\''\\\\'\'''\''/g;
1501 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1502 + ;; #(
1504 - sed -n \
1505 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1506 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1508 - esac;
1510 + esac |
1511 + sort
1513 echo
1515 cat <<\_ASBOX
1516 @@ -1107,22 +1511,28 @@ _ASBOX
1517 echo
1518 for ac_var in $ac_subst_vars
1520 - eval ac_val=$`echo $ac_var`
1521 - echo "$ac_var='"'"'$ac_val'"'"'"
1522 + eval ac_val=\$$ac_var
1523 + case $ac_val in
1524 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1525 + esac
1526 + echo "$ac_var='\''$ac_val'\''"
1527 done | sort
1528 echo
1530 if test -n "$ac_subst_files"; then
1531 cat <<\_ASBOX
1532 -## ------------- ##
1533 -## Output files. ##
1534 -## ------------- ##
1535 +## ------------------- ##
1536 +## File substitutions. ##
1537 +## ------------------- ##
1538 _ASBOX
1539 echo
1540 for ac_var in $ac_subst_files
1542 - eval ac_val=$`echo $ac_var`
1543 - echo "$ac_var='"'"'$ac_val'"'"'"
1544 + eval ac_val=\$$ac_var
1545 + case $ac_val in
1546 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1547 + esac
1548 + echo "$ac_var='\''$ac_val'\''"
1549 done | sort
1550 echo
1552 @@ -1134,26 +1544,24 @@ _ASBOX
1553 ## ----------- ##
1554 _ASBOX
1555 echo
1556 - sed "/^$/d" confdefs.h | sort
1557 + cat confdefs.h
1558 echo
1560 test "$ac_signal" != 0 &&
1561 echo "$as_me: caught signal $ac_signal"
1562 echo "$as_me: exit $exit_status"
1563 } >&5
1564 - rm -f core *.core &&
1565 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1566 + rm -f core *.core core.conftest.* &&
1567 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1568 exit $exit_status
1569 - ' 0
1570 +' 0
1571 for ac_signal in 1 2 13 15; do
1572 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1573 done
1574 ac_signal=0
1576 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1577 -rm -rf conftest* confdefs.h
1578 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1579 -echo >confdefs.h
1580 +rm -f -r conftest* confdefs.h
1582 # Predefined preprocessor variables.
1584 @@ -1184,14 +1592,17 @@ _ACEOF
1586 # Let the site file select an alternate cache file if it wants to.
1587 # Prefer explicitly selected file to automatically selected ones.
1588 -if test -z "$CONFIG_SITE"; then
1589 - if test "x$prefix" != xNONE; then
1590 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1591 - else
1592 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1593 - fi
1594 +if test -n "$CONFIG_SITE"; then
1595 + set x "$CONFIG_SITE"
1596 +elif test "x$prefix" != xNONE; then
1597 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1598 +else
1599 + set x "$ac_default_prefix/share/config.site" \
1600 + "$ac_default_prefix/etc/config.site"
1602 -for ac_site_file in $CONFIG_SITE; do
1603 +shift
1604 +for ac_site_file
1606 if test -r "$ac_site_file"; then
1607 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1608 echo "$as_me: loading site script $ac_site_file" >&6;}
1609 @@ -1207,8 +1618,8 @@ if test -r "$cache_file"; then
1610 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1611 echo "$as_me: loading cache $cache_file" >&6;}
1612 case $cache_file in
1613 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1614 - *) . ./$cache_file;;
1615 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1616 + *) . "./$cache_file";;
1617 esac
1619 else
1620 @@ -1220,12 +1631,11 @@ fi
1621 # Check that the precious variables saved in the cache have kept the same
1622 # value.
1623 ac_cache_corrupted=false
1624 -for ac_var in `(set) 2>&1 |
1625 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1626 +for ac_var in $ac_precious_vars; do
1627 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1628 eval ac_new_set=\$ac_env_${ac_var}_set
1629 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1630 - eval ac_new_val="\$ac_env_${ac_var}_value"
1631 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1632 + eval ac_new_val=\$ac_env_${ac_var}_value
1633 case $ac_old_set,$ac_new_set in
1634 set,)
1635 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1636 @@ -1250,8 +1660,7 @@ echo "$as_me: current value: $ac_new_v
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 *) ac_arg=$ac_var=$ac_new_val ;;
1644 esac
1645 case " $ac_configure_args " in
1646 @@ -1268,12 +1677,6 @@ echo "$as_me: error: run \`make distclea
1647 { (exit 1); exit 1; }; }
1650 -ac_ext=c
1651 -ac_cpp='$CPP $CPPFLAGS'
1652 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1653 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1654 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659 @@ -1290,12 +1693,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663 +ac_ext=c
1664 +ac_cpp='$CPP $CPPFLAGS'
1665 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1666 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1667 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1671 PPPD_DIR=ppp-2.4.1.pppoe2
1673 - ac_config_headers="$ac_config_headers config.h"
1674 +ac_config_headers="$ac_config_headers config.h"
1678 @@ -1308,8 +1716,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679 if test -n "$ac_tool_prefix"; then
1680 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1682 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1686 if test "${ac_cv_prog_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 else
1689 @@ -1322,32 +1730,34 @@ do
1690 IFS=$as_save_IFS
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1695 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1697 break 2
1699 done
1700 done
1701 +IFS=$as_save_IFS
1705 CC=$ac_cv_prog_CC
1706 if test -n "$CC"; then
1707 - echo "$as_me:$LINENO: result: $CC" >&5
1708 -echo "${ECHO_T}$CC" >&6
1709 + { echo "$as_me:$LINENO: result: $CC" >&5
1710 +echo "${ECHO_T}$CC" >&6; }
1711 else
1712 - echo "$as_me:$LINENO: result: no" >&5
1713 -echo "${ECHO_T}no" >&6
1714 + { echo "$as_me:$LINENO: result: no" >&5
1715 +echo "${ECHO_T}no" >&6; }
1720 if test -z "$ac_cv_prog_CC"; then
1721 ac_ct_CC=$CC
1722 # Extract the first word of "gcc", so it can be a program name with args.
1723 set dummy gcc; ac_word=$2
1724 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1728 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 else
1731 @@ -1360,36 +1770,51 @@ do
1732 IFS=$as_save_IFS
1733 test -z "$as_dir" && as_dir=.
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1737 ac_cv_prog_ac_ct_CC="gcc"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739 break 2
1741 done
1742 done
1743 +IFS=$as_save_IFS
1747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1748 if test -n "$ac_ct_CC"; then
1749 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1750 -echo "${ECHO_T}$ac_ct_CC" >&6
1751 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1752 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1753 else
1754 - echo "$as_me:$LINENO: result: no" >&5
1755 -echo "${ECHO_T}no" >&6
1756 + { echo "$as_me:$LINENO: result: no" >&5
1757 +echo "${ECHO_T}no" >&6; }
1760 - CC=$ac_ct_CC
1761 + if test "x$ac_ct_CC" = x; then
1762 + CC=""
1763 + else
1764 + case $cross_compiling:$ac_tool_warned in
1765 +yes:)
1766 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1767 +whose name does not start with the host triplet. If you think this
1768 +configuration is useful to you, please write to autoconf@gnu.org." >&5
1769 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1770 +whose name does not start with the host triplet. If you think this
1771 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1772 +ac_tool_warned=yes ;;
1773 +esac
1774 + CC=$ac_ct_CC
1775 + fi
1776 else
1777 CC="$ac_cv_prog_CC"
1780 if test -z "$CC"; then
1781 - if test -n "$ac_tool_prefix"; then
1782 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1783 + if test -n "$ac_tool_prefix"; then
1784 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1785 set dummy ${ac_tool_prefix}cc; ac_word=$2
1786 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1787 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1790 if test "${ac_cv_prog_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 else
1793 @@ -1402,74 +1827,34 @@ do
1794 IFS=$as_save_IFS
1795 test -z "$as_dir" && as_dir=.
1796 for ac_exec_ext in '' $ac_executable_extensions; do
1797 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1798 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1799 ac_cv_prog_CC="${ac_tool_prefix}cc"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 break 2
1803 done
1804 done
1805 +IFS=$as_save_IFS
1809 CC=$ac_cv_prog_CC
1810 if test -n "$CC"; then
1811 - echo "$as_me:$LINENO: result: $CC" >&5
1812 -echo "${ECHO_T}$CC" >&6
1813 -else
1814 - echo "$as_me:$LINENO: result: no" >&5
1815 -echo "${ECHO_T}no" >&6
1819 -if test -z "$ac_cv_prog_CC"; then
1820 - ac_ct_CC=$CC
1821 - # Extract the first word of "cc", so it can be a program name with args.
1822 -set dummy cc; ac_word=$2
1823 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1824 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1825 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1826 - echo $ECHO_N "(cached) $ECHO_C" >&6
1827 -else
1828 - if test -n "$ac_ct_CC"; then
1829 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830 -else
1831 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 -for as_dir in $PATH
1834 - IFS=$as_save_IFS
1835 - test -z "$as_dir" && as_dir=.
1836 - for ac_exec_ext in '' $ac_executable_extensions; do
1837 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1838 - ac_cv_prog_ac_ct_CC="cc"
1839 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840 - break 2
1841 - fi
1842 -done
1843 -done
1847 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
1848 -if test -n "$ac_ct_CC"; then
1849 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1850 -echo "${ECHO_T}$ac_ct_CC" >&6
1851 + { echo "$as_me:$LINENO: result: $CC" >&5
1852 +echo "${ECHO_T}$CC" >&6; }
1853 else
1854 - echo "$as_me:$LINENO: result: no" >&5
1855 -echo "${ECHO_T}no" >&6
1856 + { echo "$as_me:$LINENO: result: no" >&5
1857 +echo "${ECHO_T}no" >&6; }
1860 - CC=$ac_ct_CC
1861 -else
1862 - CC="$ac_cv_prog_CC"
1865 + fi
1867 if test -z "$CC"; then
1868 # Extract the first word of "cc", so it can be a program name with args.
1869 set dummy cc; ac_word=$2
1870 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1871 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1874 if test "${ac_cv_prog_CC+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 @@ -1483,7 +1868,7 @@ do
1878 IFS=$as_save_IFS
1879 test -z "$as_dir" && as_dir=.
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1884 ac_prog_rejected=yes
1885 continue
1886 @@ -1494,6 +1879,7 @@ do
1888 done
1889 done
1890 +IFS=$as_save_IFS
1892 if test $ac_prog_rejected = yes; then
1893 # We found a bogon in the path, so make sure we never use it.
1894 @@ -1511,22 +1897,23 @@ fi
1896 CC=$ac_cv_prog_CC
1897 if test -n "$CC"; then
1898 - echo "$as_me:$LINENO: result: $CC" >&5
1899 -echo "${ECHO_T}$CC" >&6
1900 + { echo "$as_me:$LINENO: result: $CC" >&5
1901 +echo "${ECHO_T}$CC" >&6; }
1902 else
1903 - echo "$as_me:$LINENO: result: no" >&5
1904 -echo "${ECHO_T}no" >&6
1905 + { echo "$as_me:$LINENO: result: no" >&5
1906 +echo "${ECHO_T}no" >&6; }
1911 if test -z "$CC"; then
1912 if test -n "$ac_tool_prefix"; then
1913 - for ac_prog in cl
1914 + for ac_prog in cl.exe
1916 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1917 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1918 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1919 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1921 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1922 if test "${ac_cv_prog_CC+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 else
1925 @@ -1539,36 +1926,38 @@ do
1926 IFS=$as_save_IFS
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1930 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1931 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 break 2
1935 done
1936 done
1937 +IFS=$as_save_IFS
1941 CC=$ac_cv_prog_CC
1942 if test -n "$CC"; then
1943 - echo "$as_me:$LINENO: result: $CC" >&5
1944 -echo "${ECHO_T}$CC" >&6
1945 + { echo "$as_me:$LINENO: result: $CC" >&5
1946 +echo "${ECHO_T}$CC" >&6; }
1947 else
1948 - echo "$as_me:$LINENO: result: no" >&5
1949 -echo "${ECHO_T}no" >&6
1950 + { echo "$as_me:$LINENO: result: no" >&5
1951 +echo "${ECHO_T}no" >&6; }
1955 test -n "$CC" && break
1956 done
1958 if test -z "$CC"; then
1959 ac_ct_CC=$CC
1960 - for ac_prog in cl
1961 + for ac_prog in cl.exe
1963 # Extract the first word of "$ac_prog", so it can be a program name with args.
1964 set dummy $ac_prog; ac_word=$2
1965 -echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972 @@ -1581,29 +1970,45 @@ do
1973 IFS=$as_save_IFS
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1978 ac_cv_prog_ac_ct_CC="$ac_prog"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1980 break 2
1982 done
1983 done
1984 +IFS=$as_save_IFS
1988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1989 if test -n "$ac_ct_CC"; then
1990 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991 -echo "${ECHO_T}$ac_ct_CC" >&6
1992 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1993 +echo "${ECHO_T}$ac_ct_CC" >&6; }
1994 else
1995 - echo "$as_me:$LINENO: result: no" >&5
1996 -echo "${ECHO_T}no" >&6
1997 + { echo "$as_me:$LINENO: result: no" >&5
1998 +echo "${ECHO_T}no" >&6; }
2002 test -n "$ac_ct_CC" && break
2003 done
2005 - CC=$ac_ct_CC
2006 + if test "x$ac_ct_CC" = x; then
2007 + CC=""
2008 + else
2009 + case $cross_compiling:$ac_tool_warned in
2010 +yes:)
2011 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2012 +whose name does not start with the host triplet. If you think this
2013 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2014 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2015 +whose name does not start with the host triplet. If you think this
2016 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2017 +ac_tool_warned=yes ;;
2018 +esac
2019 + CC=$ac_ct_CC
2020 + fi
2024 @@ -1616,21 +2021,35 @@ See \`config.log' for more details." >&2
2025 { (exit 1); exit 1; }; }
2027 # Provide some information about the compiler.
2028 -echo "$as_me:$LINENO:" \
2029 - "checking for C compiler version" >&5
2030 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2031 ac_compiler=`set X $ac_compile; echo $2`
2032 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2033 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2034 +{ (ac_try="$ac_compiler --version >&5"
2035 +case "(($ac_try" in
2036 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2037 + *) ac_try_echo=$ac_try;;
2038 +esac
2039 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2040 + (eval "$ac_compiler --version >&5") 2>&5
2041 ac_status=$?
2042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043 (exit $ac_status); }
2044 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2045 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2046 +{ (ac_try="$ac_compiler -v >&5"
2047 +case "(($ac_try" in
2048 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 + *) ac_try_echo=$ac_try;;
2050 +esac
2051 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2052 + (eval "$ac_compiler -v >&5") 2>&5
2053 ac_status=$?
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }
2056 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2057 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2058 +{ (ac_try="$ac_compiler -V >&5"
2059 +case "(($ac_try" in
2060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 + *) ac_try_echo=$ac_try;;
2062 +esac
2063 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2064 + (eval "$ac_compiler -V >&5") 2>&5
2065 ac_status=$?
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }
2068 @@ -1655,47 +2074,77 @@ ac_clean_files="$ac_clean_files a.out a.
2069 # Try to create an executable without -o first, disregard a.out.
2070 # It will help us diagnose broken compilers, and finding out an intuition
2071 # of exeext.
2072 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2073 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2074 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2075 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2076 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2077 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2078 - (eval $ac_link_default) 2>&5
2080 +# List of possible output files, starting from the most likely.
2081 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2082 +# only as a last resort. b.out is created by i960 compilers.
2083 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2085 +# The IRIX 6 linker writes into existing files which may not be
2086 +# executable, retaining their permissions. Remove them first so a
2087 +# subsequent execution test works.
2088 +ac_rmfiles=
2089 +for ac_file in $ac_files
2091 + case $ac_file in
2092 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2093 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2094 + esac
2095 +done
2096 +rm -f $ac_rmfiles
2098 +if { (ac_try="$ac_link_default"
2099 +case "(($ac_try" in
2100 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2101 + *) ac_try_echo=$ac_try;;
2102 +esac
2103 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2104 + (eval "$ac_link_default") 2>&5
2105 ac_status=$?
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; then
2108 - # Find the output, starting from the most likely. This scheme is
2109 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2110 -# resort.
2112 -# Be careful to initialize this variable, since it used to be cached.
2113 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2114 -ac_cv_exeext=
2115 -# b.out is created by i960 compilers.
2116 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2117 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2118 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2119 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2120 +# so that the user can short-circuit this test for compilers unknown to
2121 +# Autoconf.
2122 +for ac_file in $ac_files ''
2124 test -f "$ac_file" || continue
2125 case $ac_file in
2126 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2127 - ;;
2128 - conftest.$ac_ext )
2129 - # This is the source file.
2130 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2132 [ab].out )
2133 # We found the default executable, but exeext='' is most
2134 # certainly right.
2135 break;;
2136 *.* )
2137 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2138 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2139 - # but it would be cool to find out if it's true. Does anybody
2140 - # maintain Libtool? --akim.
2141 - export ac_cv_exeext
2142 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2143 + then :; else
2144 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2145 + fi
2146 + # We set ac_cv_exeext here because the later test for it is not
2147 + # safe: cross compilers may not add the suffix if given an `-o'
2148 + # argument, so we may need to know it at that point already.
2149 + # Even if this section looks crufty: it has the advantage of
2150 + # actually working.
2151 break;;
2153 break;;
2154 esac
2155 done
2156 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2158 else
2159 + ac_file=''
2162 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2163 +echo "${ECHO_T}$ac_file" >&6; }
2164 +if test -z "$ac_file"; then
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2168 @@ -1707,19 +2156,21 @@ See \`config.log' for more details." >&2
2171 ac_exeext=$ac_cv_exeext
2172 -echo "$as_me:$LINENO: result: $ac_file" >&5
2173 -echo "${ECHO_T}$ac_file" >&6
2175 -# Check the compiler produces executables we can run. If not, either
2176 +# Check that the compiler produces executables we can run. If not, either
2177 # the compiler is broken, or we cross compile.
2178 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2179 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2180 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2181 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2182 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2183 # If not cross compiling, check that we can run a simple program.
2184 if test "$cross_compiling" != yes; then
2185 if { ac_try='./$ac_file'
2186 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 - (eval $ac_try) 2>&5
2188 + { (case "(($ac_try" in
2189 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190 + *) ac_try_echo=$ac_try;;
2191 +esac
2192 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2193 + (eval "$ac_try") 2>&5
2194 ac_status=$?
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; }; then
2197 @@ -1738,22 +2189,27 @@ See \`config.log' for more details." >&2
2201 -echo "$as_me:$LINENO: result: yes" >&5
2202 -echo "${ECHO_T}yes" >&6
2203 +{ echo "$as_me:$LINENO: result: yes" >&5
2204 +echo "${ECHO_T}yes" >&6; }
2206 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2207 ac_clean_files=$ac_clean_files_save
2208 -# Check the compiler produces executables we can run. If not, either
2209 +# Check that the compiler produces executables we can run. If not, either
2210 # the compiler is broken, or we cross compile.
2211 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2212 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2213 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2214 -echo "${ECHO_T}$cross_compiling" >&6
2215 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2216 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2217 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2218 +echo "${ECHO_T}$cross_compiling" >&6; }
2220 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2221 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2222 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2223 - (eval $ac_link) 2>&5
2224 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2225 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2226 +if { (ac_try="$ac_link"
2227 +case "(($ac_try" in
2228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2229 + *) ac_try_echo=$ac_try;;
2230 +esac
2231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2232 + (eval "$ac_link") 2>&5
2233 ac_status=$?
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; then
2236 @@ -1764,9 +2220,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
2237 for ac_file in conftest.exe conftest conftest.*; do
2238 test -f "$ac_file" || continue
2239 case $ac_file in
2240 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2241 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2242 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2243 - export ac_cv_exeext
2244 break;;
2245 * ) break;;
2246 esac
2247 @@ -1780,14 +2235,14 @@ See \`config.log' for more details." >&2
2250 rm -f conftest$ac_cv_exeext
2251 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2252 -echo "${ECHO_T}$ac_cv_exeext" >&6
2253 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2254 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2256 rm -f conftest.$ac_ext
2257 EXEEXT=$ac_cv_exeext
2258 ac_exeext=$EXEEXT
2259 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2260 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2261 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2262 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2263 if test "${ac_cv_objext+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 else
2266 @@ -1807,14 +2262,20 @@ main ()
2268 _ACEOF
2269 rm -f conftest.o conftest.obj
2270 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 - (eval $ac_compile) 2>&5
2272 +if { (ac_try="$ac_compile"
2273 +case "(($ac_try" in
2274 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2275 + *) ac_try_echo=$ac_try;;
2276 +esac
2277 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2278 + (eval "$ac_compile") 2>&5
2279 ac_status=$?
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; then
2282 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2283 + for ac_file in conftest.o conftest.obj conftest.*; do
2284 + test -f "$ac_file" || continue;
2285 case $ac_file in
2286 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2287 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2288 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2289 break;;
2290 esac
2291 @@ -1832,12 +2293,12 @@ fi
2293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2295 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296 -echo "${ECHO_T}$ac_cv_objext" >&6
2297 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2298 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2299 OBJEXT=$ac_cv_objext
2300 ac_objext=$OBJEXT
2301 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2302 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2303 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2304 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2305 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 else
2308 @@ -1860,49 +2321,49 @@ main ()
2310 _ACEOF
2311 rm -f conftest.$ac_objext
2312 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2313 - (eval $ac_compile) 2>conftest.er1
2314 +if { (ac_try="$ac_compile"
2315 +case "(($ac_try" in
2316 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2317 + *) ac_try_echo=$ac_try;;
2318 +esac
2319 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2320 + (eval "$ac_compile") 2>conftest.er1
2321 ac_status=$?
2322 grep -v '^ *+' conftest.er1 >conftest.err
2323 rm -f conftest.er1
2324 cat conftest.err >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 - (exit $ac_status); } &&
2327 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2328 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 - (eval $ac_try) 2>&5
2330 - ac_status=$?
2331 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 - (exit $ac_status); }; } &&
2333 - { ac_try='test -s conftest.$ac_objext'
2334 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 - (eval $ac_try) 2>&5
2336 - ac_status=$?
2337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 - (exit $ac_status); }; }; then
2339 + (exit $ac_status); } && {
2340 + test -z "$ac_c_werror_flag" ||
2341 + test ! -s conftest.err
2342 + } && test -s conftest.$ac_objext; then
2343 ac_compiler_gnu=yes
2344 else
2345 echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.$ac_ext >&5
2348 -ac_compiler_gnu=no
2349 + ac_compiler_gnu=no
2351 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2353 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2357 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2358 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2359 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2360 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2361 GCC=`test $ac_compiler_gnu = yes && echo yes`
2362 ac_test_CFLAGS=${CFLAGS+set}
2363 ac_save_CFLAGS=$CFLAGS
2364 -CFLAGS="-g"
2365 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2366 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2367 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2368 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2369 if test "${ac_cv_prog_cc_g+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 else
2372 - cat >conftest.$ac_ext <<_ACEOF
2373 + ac_save_c_werror_flag=$ac_c_werror_flag
2374 + ac_c_werror_flag=yes
2375 + ac_cv_prog_cc_g=no
2376 + CFLAGS="-g"
2377 + cat >conftest.$ac_ext <<_ACEOF
2378 /* confdefs.h. */
2379 _ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 @@ -1918,37 +2379,118 @@ main ()
2383 _ACEOF
2384 rm -f conftest.$ac_objext
2385 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2386 - (eval $ac_compile) 2>conftest.er1
2387 +if { (ac_try="$ac_compile"
2388 +case "(($ac_try" in
2389 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 + *) ac_try_echo=$ac_try;;
2391 +esac
2392 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2393 + (eval "$ac_compile") 2>conftest.er1
2394 ac_status=$?
2395 grep -v '^ *+' conftest.er1 >conftest.err
2396 rm -f conftest.er1
2397 cat conftest.err >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 - (exit $ac_status); } &&
2400 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2401 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 - (eval $ac_try) 2>&5
2403 + (exit $ac_status); } && {
2404 + test -z "$ac_c_werror_flag" ||
2405 + test ! -s conftest.err
2406 + } && test -s conftest.$ac_objext; then
2407 + ac_cv_prog_cc_g=yes
2408 +else
2409 + echo "$as_me: failed program was:" >&5
2410 +sed 's/^/| /' conftest.$ac_ext >&5
2412 + CFLAGS=""
2413 + cat >conftest.$ac_ext <<_ACEOF
2414 +/* confdefs.h. */
2415 +_ACEOF
2416 +cat confdefs.h >>conftest.$ac_ext
2417 +cat >>conftest.$ac_ext <<_ACEOF
2418 +/* end confdefs.h. */
2420 +int
2421 +main ()
2425 + return 0;
2427 +_ACEOF
2428 +rm -f conftest.$ac_objext
2429 +if { (ac_try="$ac_compile"
2430 +case "(($ac_try" in
2431 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 + *) ac_try_echo=$ac_try;;
2433 +esac
2434 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 + (eval "$ac_compile") 2>conftest.er1
2436 ac_status=$?
2437 + grep -v '^ *+' conftest.er1 >conftest.err
2438 + rm -f conftest.er1
2439 + cat conftest.err >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 - (exit $ac_status); }; } &&
2442 - { ac_try='test -s conftest.$ac_objext'
2443 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 - (eval $ac_try) 2>&5
2445 + (exit $ac_status); } && {
2446 + test -z "$ac_c_werror_flag" ||
2447 + test ! -s conftest.err
2448 + } && test -s conftest.$ac_objext; then
2450 +else
2451 + echo "$as_me: failed program was:" >&5
2452 +sed 's/^/| /' conftest.$ac_ext >&5
2454 + ac_c_werror_flag=$ac_save_c_werror_flag
2455 + CFLAGS="-g"
2456 + cat >conftest.$ac_ext <<_ACEOF
2457 +/* confdefs.h. */
2458 +_ACEOF
2459 +cat confdefs.h >>conftest.$ac_ext
2460 +cat >>conftest.$ac_ext <<_ACEOF
2461 +/* end confdefs.h. */
2463 +int
2464 +main ()
2468 + return 0;
2470 +_ACEOF
2471 +rm -f conftest.$ac_objext
2472 +if { (ac_try="$ac_compile"
2473 +case "(($ac_try" in
2474 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 + *) ac_try_echo=$ac_try;;
2476 +esac
2477 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478 + (eval "$ac_compile") 2>conftest.er1
2479 ac_status=$?
2480 + grep -v '^ *+' conftest.er1 >conftest.err
2481 + rm -f conftest.er1
2482 + cat conftest.err >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 - (exit $ac_status); }; }; then
2485 + (exit $ac_status); } && {
2486 + test -z "$ac_c_werror_flag" ||
2487 + test ! -s conftest.err
2488 + } && test -s conftest.$ac_objext; then
2489 ac_cv_prog_cc_g=yes
2490 else
2491 echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 -ac_cv_prog_cc_g=no
2497 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2499 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2502 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2504 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 + ac_c_werror_flag=$ac_save_c_werror_flag
2510 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2511 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2512 if test "$ac_test_CFLAGS" = set; then
2513 CFLAGS=$ac_save_CFLAGS
2514 elif test $ac_cv_prog_cc_g = yes; then
2515 @@ -1964,12 +2506,12 @@ else
2516 CFLAGS=
2519 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2520 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2521 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
2522 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2523 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2524 +if test "${ac_cv_prog_cc_c89+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 else
2527 - ac_cv_prog_cc_stdc=no
2528 + ac_cv_prog_cc_c89=no
2529 ac_save_CC=$CC
2530 cat >conftest.$ac_ext <<_ACEOF
2531 /* confdefs.h. */
2532 @@ -2003,12 +2545,17 @@ static char *f (char * (*g) (char **, in
2533 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2534 function prototypes and stuff, but not '\xHH' hex character constants.
2535 These don't provoke an error unfortunately, instead are silently treated
2536 - as 'x'. The following induces an error, until -std1 is added to get
2537 + as 'x'. The following induces an error, until -std is added to get
2538 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2539 array size at least. It's necessary to write '\x00'==0 to get something
2540 - that's true only with -std1. */
2541 + that's true only with -std. */
2542 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2544 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2545 + inside strings and character constants. */
2546 +#define FOO(x) 'x'
2547 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2549 int test (int i, double x);
2550 struct s1 {int (*f) (int a);};
2551 struct s2 {int (*f) (double a);};
2552 @@ -2023,201 +2570,57 @@ return f (e, argv, 0) != argv[0] || f
2553 return 0;
2555 _ACEOF
2556 -# Don't try gcc -ansi; that turns off useful extensions and
2557 -# breaks some systems' header files.
2558 -# AIX -qlanglvl=ansi
2559 -# Ultrix and OSF/1 -std1
2560 -# HP-UX 10.20 and later -Ae
2561 -# HP-UX older versions -Aa -D_HPUX_SOURCE
2562 -# SVR4 -Xc -D__EXTENSIONS__
2563 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2564 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2565 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2567 CC="$ac_save_CC $ac_arg"
2568 rm -f conftest.$ac_objext
2569 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2570 - (eval $ac_compile) 2>conftest.er1
2571 +if { (ac_try="$ac_compile"
2572 +case "(($ac_try" in
2573 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574 + *) ac_try_echo=$ac_try;;
2575 +esac
2576 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2577 + (eval "$ac_compile") 2>conftest.er1
2578 ac_status=$?
2579 grep -v '^ *+' conftest.er1 >conftest.err
2580 rm -f conftest.er1
2581 cat conftest.err >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 - (exit $ac_status); } &&
2584 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2585 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 - (eval $ac_try) 2>&5
2587 - ac_status=$?
2588 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 - (exit $ac_status); }; } &&
2590 - { ac_try='test -s conftest.$ac_objext'
2591 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 - (eval $ac_try) 2>&5
2593 - ac_status=$?
2594 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 - (exit $ac_status); }; }; then
2596 - ac_cv_prog_cc_stdc=$ac_arg
2597 -break
2598 + (exit $ac_status); } && {
2599 + test -z "$ac_c_werror_flag" ||
2600 + test ! -s conftest.err
2601 + } && test -s conftest.$ac_objext; then
2602 + ac_cv_prog_cc_c89=$ac_arg
2603 else
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2609 -rm -f conftest.err conftest.$ac_objext
2611 +rm -f core conftest.err conftest.$ac_objext
2612 + test "x$ac_cv_prog_cc_c89" != "xno" && break
2613 done
2614 -rm -f conftest.$ac_ext conftest.$ac_objext
2615 +rm -f conftest.$ac_ext
2616 CC=$ac_save_CC
2620 -case "x$ac_cv_prog_cc_stdc" in
2621 - x|xno)
2622 - echo "$as_me:$LINENO: result: none needed" >&5
2623 -echo "${ECHO_T}none needed" >&6 ;;
2624 +# AC_CACHE_VAL
2625 +case "x$ac_cv_prog_cc_c89" in
2626 + x)
2627 + { echo "$as_me:$LINENO: result: none needed" >&5
2628 +echo "${ECHO_T}none needed" >&6; } ;;
2629 + xno)
2630 + { echo "$as_me:$LINENO: result: unsupported" >&5
2631 +echo "${ECHO_T}unsupported" >&6; } ;;
2633 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2634 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2635 - CC="$CC $ac_cv_prog_cc_stdc" ;;
2636 + CC="$CC $ac_cv_prog_cc_c89"
2637 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2638 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2639 esac
2641 -# Some people use a C++ compiler to compile C. Since we use `exit',
2642 -# in C++ we need to declare it. In case someone uses the same compiler
2643 -# for both compiling C and C++ we need to have the C++ compiler decide
2644 -# the declaration of exit, since it's the most demanding environment.
2645 -cat >conftest.$ac_ext <<_ACEOF
2646 -#ifndef __cplusplus
2647 - choke me
2648 -#endif
2649 -_ACEOF
2650 -rm -f conftest.$ac_objext
2651 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2652 - (eval $ac_compile) 2>conftest.er1
2653 - ac_status=$?
2654 - grep -v '^ *+' conftest.er1 >conftest.err
2655 - rm -f conftest.er1
2656 - cat conftest.err >&5
2657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 - (exit $ac_status); } &&
2659 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 - (eval $ac_try) 2>&5
2662 - ac_status=$?
2663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 - (exit $ac_status); }; } &&
2665 - { ac_try='test -s conftest.$ac_objext'
2666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 - (eval $ac_try) 2>&5
2668 - ac_status=$?
2669 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 - (exit $ac_status); }; }; then
2671 - for ac_declaration in \
2672 - '' \
2673 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
2674 - 'extern "C" void std::exit (int); using std::exit;' \
2675 - 'extern "C" void exit (int) throw ();' \
2676 - 'extern "C" void exit (int);' \
2677 - 'void exit (int);'
2679 - cat >conftest.$ac_ext <<_ACEOF
2680 -/* confdefs.h. */
2681 -_ACEOF
2682 -cat confdefs.h >>conftest.$ac_ext
2683 -cat >>conftest.$ac_ext <<_ACEOF
2684 -/* end confdefs.h. */
2685 -$ac_declaration
2686 -#include <stdlib.h>
2687 -int
2688 -main ()
2690 -exit (42);
2692 - return 0;
2694 -_ACEOF
2695 -rm -f conftest.$ac_objext
2696 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 - (eval $ac_compile) 2>conftest.er1
2698 - ac_status=$?
2699 - grep -v '^ *+' conftest.er1 >conftest.err
2700 - rm -f conftest.er1
2701 - cat conftest.err >&5
2702 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 - (exit $ac_status); } &&
2704 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2705 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 - (eval $ac_try) 2>&5
2707 - ac_status=$?
2708 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 - (exit $ac_status); }; } &&
2710 - { ac_try='test -s conftest.$ac_objext'
2711 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 - (eval $ac_try) 2>&5
2713 - ac_status=$?
2714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 - (exit $ac_status); }; }; then
2717 -else
2718 - echo "$as_me: failed program was:" >&5
2719 -sed 's/^/| /' conftest.$ac_ext >&5
2721 -continue
2723 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2724 - cat >conftest.$ac_ext <<_ACEOF
2725 -/* confdefs.h. */
2726 -_ACEOF
2727 -cat confdefs.h >>conftest.$ac_ext
2728 -cat >>conftest.$ac_ext <<_ACEOF
2729 -/* end confdefs.h. */
2730 -$ac_declaration
2731 -int
2732 -main ()
2734 -exit (42);
2736 - return 0;
2738 -_ACEOF
2739 -rm -f conftest.$ac_objext
2740 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 - (eval $ac_compile) 2>conftest.er1
2742 - ac_status=$?
2743 - grep -v '^ *+' conftest.er1 >conftest.err
2744 - rm -f conftest.er1
2745 - cat conftest.err >&5
2746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 - (exit $ac_status); } &&
2748 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2749 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2750 - (eval $ac_try) 2>&5
2751 - ac_status=$?
2752 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 - (exit $ac_status); }; } &&
2754 - { ac_try='test -s conftest.$ac_objext'
2755 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 - (eval $ac_try) 2>&5
2757 - ac_status=$?
2758 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 - (exit $ac_status); }; }; then
2760 - break
2761 -else
2762 - echo "$as_me: failed program was:" >&5
2763 -sed 's/^/| /' conftest.$ac_ext >&5
2766 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2767 -done
2768 -rm -f conftest*
2769 -if test -n "$ac_declaration"; then
2770 - echo '#ifdef __cplusplus' >>confdefs.h
2771 - echo $ac_declaration >>confdefs.h
2772 - echo '#endif' >>confdefs.h
2775 -else
2776 - echo "$as_me: failed program was:" >&5
2777 -sed 's/^/| /' conftest.$ac_ext >&5
2780 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2781 ac_ext=c
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 @@ -2227,8 +2630,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2788 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2791 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2792 if test "${ac_cv_prog_RANLIB+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 else
2795 @@ -2241,32 +2644,34 @@ do
2796 IFS=$as_save_IFS
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2800 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 break 2
2805 done
2806 done
2807 +IFS=$as_save_IFS
2811 RANLIB=$ac_cv_prog_RANLIB
2812 if test -n "$RANLIB"; then
2813 - echo "$as_me:$LINENO: result: $RANLIB" >&5
2814 -echo "${ECHO_T}$RANLIB" >&6
2815 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
2816 +echo "${ECHO_T}$RANLIB" >&6; }
2817 else
2818 - echo "$as_me:$LINENO: result: no" >&5
2819 -echo "${ECHO_T}no" >&6
2820 + { echo "$as_me:$LINENO: result: no" >&5
2821 +echo "${ECHO_T}no" >&6; }
2826 if test -z "$ac_cv_prog_RANLIB"; then
2827 ac_ct_RANLIB=$RANLIB
2828 # Extract the first word of "ranlib", so it can be a program name with args.
2829 set dummy ranlib; ac_word=$2
2830 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2831 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2832 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2833 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2834 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 else
2837 @@ -2279,27 +2684,41 @@ do
2838 IFS=$as_save_IFS
2839 test -z "$as_dir" && as_dir=.
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_ac_ct_RANLIB="ranlib"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 break 2
2847 done
2848 done
2849 +IFS=$as_save_IFS
2851 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2854 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2855 if test -n "$ac_ct_RANLIB"; then
2856 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2857 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
2858 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2859 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2860 else
2861 - echo "$as_me:$LINENO: result: no" >&5
2862 -echo "${ECHO_T}no" >&6
2863 + { echo "$as_me:$LINENO: result: no" >&5
2864 +echo "${ECHO_T}no" >&6; }
2867 - RANLIB=$ac_ct_RANLIB
2868 + if test "x$ac_ct_RANLIB" = x; then
2869 + RANLIB=":"
2870 + else
2871 + case $cross_compiling:$ac_tool_warned in
2872 +yes:)
2873 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2874 +whose name does not start with the host triplet. If you think this
2875 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2876 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2877 +whose name does not start with the host triplet. If you think this
2878 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2879 +ac_tool_warned=yes ;;
2880 +esac
2881 + RANLIB=$ac_ct_RANLIB
2882 + fi
2883 else
2884 RANLIB="$ac_cv_prog_RANLIB"
2886 @@ -2312,8 +2731,8 @@ ac_cpp='$CPP $CPPFLAGS'
2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2890 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2891 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2892 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2893 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2894 # On Suns, sometimes $CPP names a directory.
2895 if test -n "$CPP" && test -d "$CPP"; then
2896 CPP=
2897 @@ -2347,24 +2766,22 @@ cat >>conftest.$ac_ext <<_ACEOF
2898 #endif
2899 Syntax error
2900 _ACEOF
2901 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2902 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2903 +if { (ac_try="$ac_cpp conftest.$ac_ext"
2904 +case "(($ac_try" in
2905 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 + *) ac_try_echo=$ac_try;;
2907 +esac
2908 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2910 ac_status=$?
2911 grep -v '^ *+' conftest.er1 >conftest.err
2912 rm -f conftest.er1
2913 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 - (exit $ac_status); } >/dev/null; then
2916 - if test -s conftest.err; then
2917 - ac_cpp_err=$ac_c_preproc_warn_flag
2918 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2919 - else
2920 - ac_cpp_err=
2921 - fi
2922 -else
2923 - ac_cpp_err=yes
2925 -if test -z "$ac_cpp_err"; then
2926 + (exit $ac_status); } >/dev/null && {
2927 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2928 + test ! -s conftest.err
2929 + }; then
2931 else
2932 echo "$as_me: failed program was:" >&5
2933 @@ -2373,9 +2790,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
2934 # Broken: fails on valid input.
2935 continue
2938 rm -f conftest.err conftest.$ac_ext
2940 - # OK, works on sane cases. Now check whether non-existent headers
2941 + # OK, works on sane cases. Now check whether nonexistent headers
2942 # can be detected and how.
2943 cat >conftest.$ac_ext <<_ACEOF
2944 /* confdefs.h. */
2945 @@ -2385,24 +2803,22 @@ cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2947 #include <ac_nonexistent.h>
2948 _ACEOF
2949 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2950 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2951 +if { (ac_try="$ac_cpp conftest.$ac_ext"
2952 +case "(($ac_try" in
2953 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2954 + *) ac_try_echo=$ac_try;;
2955 +esac
2956 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2957 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2958 ac_status=$?
2959 grep -v '^ *+' conftest.er1 >conftest.err
2960 rm -f conftest.er1
2961 cat conftest.err >&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 - (exit $ac_status); } >/dev/null; then
2964 - if test -s conftest.err; then
2965 - ac_cpp_err=$ac_c_preproc_warn_flag
2966 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2967 - else
2968 - ac_cpp_err=
2969 - fi
2970 -else
2971 - ac_cpp_err=yes
2973 -if test -z "$ac_cpp_err"; then
2974 + (exit $ac_status); } >/dev/null && {
2975 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2976 + test ! -s conftest.err
2977 + }; then
2978 # Broken: success on invalid input.
2979 continue
2980 else
2981 @@ -2413,6 +2829,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_preproc_ok=:
2983 break
2986 rm -f conftest.err conftest.$ac_ext
2988 done
2989 @@ -2430,8 +2847,8 @@ fi
2990 else
2991 ac_cv_prog_CPP=$CPP
2993 -echo "$as_me:$LINENO: result: $CPP" >&5
2994 -echo "${ECHO_T}$CPP" >&6
2995 +{ echo "$as_me:$LINENO: result: $CPP" >&5
2996 +echo "${ECHO_T}$CPP" >&6; }
2997 ac_preproc_ok=false
2998 for ac_c_preproc_warn_flag in '' yes
3000 @@ -2454,24 +2871,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3001 #endif
3002 Syntax error
3003 _ACEOF
3004 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3005 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3006 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3007 +case "(($ac_try" in
3008 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 + *) ac_try_echo=$ac_try;;
3010 +esac
3011 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3012 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3013 ac_status=$?
3014 grep -v '^ *+' conftest.er1 >conftest.err
3015 rm -f conftest.er1
3016 cat conftest.err >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 - (exit $ac_status); } >/dev/null; then
3019 - if test -s conftest.err; then
3020 - ac_cpp_err=$ac_c_preproc_warn_flag
3021 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3022 - else
3023 - ac_cpp_err=
3024 - fi
3025 -else
3026 - ac_cpp_err=yes
3028 -if test -z "$ac_cpp_err"; then
3029 + (exit $ac_status); } >/dev/null && {
3030 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3031 + test ! -s conftest.err
3032 + }; then
3034 else
3035 echo "$as_me: failed program was:" >&5
3036 @@ -2480,9 +2895,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
3037 # Broken: fails on valid input.
3038 continue
3041 rm -f conftest.err conftest.$ac_ext
3043 - # OK, works on sane cases. Now check whether non-existent headers
3044 + # OK, works on sane cases. Now check whether nonexistent headers
3045 # can be detected and how.
3046 cat >conftest.$ac_ext <<_ACEOF
3047 /* confdefs.h. */
3048 @@ -2492,24 +2908,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3050 #include <ac_nonexistent.h>
3051 _ACEOF
3052 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3053 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3054 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3055 +case "(($ac_try" in
3056 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 + *) ac_try_echo=$ac_try;;
3058 +esac
3059 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3061 ac_status=$?
3062 grep -v '^ *+' conftest.er1 >conftest.err
3063 rm -f conftest.er1
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 - (exit $ac_status); } >/dev/null; then
3067 - if test -s conftest.err; then
3068 - ac_cpp_err=$ac_c_preproc_warn_flag
3069 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3070 - else
3071 - ac_cpp_err=
3072 - fi
3073 -else
3074 - ac_cpp_err=yes
3076 -if test -z "$ac_cpp_err"; then
3077 + (exit $ac_status); } >/dev/null && {
3078 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3079 + test ! -s conftest.err
3080 + }; then
3081 # Broken: success on invalid input.
3082 continue
3083 else
3084 @@ -2520,6 +2934,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
3085 ac_preproc_ok=:
3086 break
3089 rm -f conftest.err conftest.$ac_ext
3091 done
3092 @@ -2542,23 +2957,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
3093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096 -echo "$as_me:$LINENO: checking for egrep" >&5
3097 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3098 -if test "${ac_cv_prog_egrep+set}" = set; then
3099 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3100 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3101 +if test "${ac_cv_path_GREP+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 else
3104 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3105 - then ac_cv_prog_egrep='grep -E'
3106 - else ac_cv_prog_egrep='egrep'
3107 + # Extract the first word of "grep ggrep" to use in msg output
3108 +if test -z "$GREP"; then
3109 +set dummy grep ggrep; ac_prog_name=$2
3110 +if test "${ac_cv_path_GREP+set}" = set; then
3111 + echo $ECHO_N "(cached) $ECHO_C" >&6
3112 +else
3113 + ac_path_GREP_found=false
3114 +# Loop through the user's path and test for each of PROGNAME-LIST
3115 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3118 + IFS=$as_save_IFS
3119 + test -z "$as_dir" && as_dir=.
3120 + for ac_prog in grep ggrep; do
3121 + for ac_exec_ext in '' $ac_executable_extensions; do
3122 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3123 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3124 + # Check for GNU ac_path_GREP and select it if it is found.
3125 + # Check for GNU $ac_path_GREP
3126 +case `"$ac_path_GREP" --version 2>&1` in
3127 +*GNU*)
3128 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3130 + ac_count=0
3131 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3132 + while :
3133 + do
3134 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3135 + mv "conftest.tmp" "conftest.in"
3136 + cp "conftest.in" "conftest.nl"
3137 + echo 'GREP' >> "conftest.nl"
3138 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3139 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3140 + ac_count=`expr $ac_count + 1`
3141 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
3142 + # Best one so far, save it but keep looking for a better one
3143 + ac_cv_path_GREP="$ac_path_GREP"
3144 + ac_path_GREP_max=$ac_count
3146 + # 10*(2^10) chars as input seems more than enough
3147 + test $ac_count -gt 10 && break
3148 + done
3149 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3150 +esac
3153 + $ac_path_GREP_found && break 3
3154 + done
3155 +done
3157 +done
3158 +IFS=$as_save_IFS
3163 +GREP="$ac_cv_path_GREP"
3164 +if test -z "$GREP"; then
3165 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3166 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3167 + { (exit 1); exit 1; }; }
3169 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3170 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3171 - EGREP=$ac_cv_prog_egrep
3173 +else
3174 + ac_cv_path_GREP=$GREP
3177 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3178 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3181 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3182 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3183 + GREP="$ac_cv_path_GREP"
3186 +{ echo "$as_me:$LINENO: checking for egrep" >&5
3187 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3188 +if test "${ac_cv_path_EGREP+set}" = set; then
3189 + echo $ECHO_N "(cached) $ECHO_C" >&6
3190 +else
3191 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3192 + then ac_cv_path_EGREP="$GREP -E"
3193 + else
3194 + # Extract the first word of "egrep" to use in msg output
3195 +if test -z "$EGREP"; then
3196 +set dummy egrep; ac_prog_name=$2
3197 +if test "${ac_cv_path_EGREP+set}" = set; then
3198 + echo $ECHO_N "(cached) $ECHO_C" >&6
3199 +else
3200 + ac_path_EGREP_found=false
3201 +# Loop through the user's path and test for each of PROGNAME-LIST
3202 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3205 + IFS=$as_save_IFS
3206 + test -z "$as_dir" && as_dir=.
3207 + for ac_prog in egrep; do
3208 + for ac_exec_ext in '' $ac_executable_extensions; do
3209 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3210 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3211 + # Check for GNU ac_path_EGREP and select it if it is found.
3212 + # Check for GNU $ac_path_EGREP
3213 +case `"$ac_path_EGREP" --version 2>&1` in
3214 +*GNU*)
3215 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3217 + ac_count=0
3218 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3219 + while :
3220 + do
3221 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3222 + mv "conftest.tmp" "conftest.in"
3223 + cp "conftest.in" "conftest.nl"
3224 + echo 'EGREP' >> "conftest.nl"
3225 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3226 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3227 + ac_count=`expr $ac_count + 1`
3228 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3229 + # Best one so far, save it but keep looking for a better one
3230 + ac_cv_path_EGREP="$ac_path_EGREP"
3231 + ac_path_EGREP_max=$ac_count
3232 + fi
3233 + # 10*(2^10) chars as input seems more than enough
3234 + test $ac_count -gt 10 && break
3235 + done
3236 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3237 +esac
3240 + $ac_path_EGREP_found && break 3
3241 + done
3242 +done
3244 +done
3245 +IFS=$as_save_IFS
3250 +EGREP="$ac_cv_path_EGREP"
3251 +if test -z "$EGREP"; then
3252 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3253 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3254 + { (exit 1); exit 1; }; }
3257 +else
3258 + ac_cv_path_EGREP=$EGREP
3262 + fi
3264 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3265 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3266 + EGREP="$ac_cv_path_EGREP"
3269 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3270 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3271 if test "${ac_cv_header_stdc+set}" = set; then
3272 echo $ECHO_N "(cached) $ECHO_C" >&6
3273 else
3274 @@ -2582,34 +3144,31 @@ main ()
3276 _ACEOF
3277 rm -f conftest.$ac_objext
3278 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3279 - (eval $ac_compile) 2>conftest.er1
3280 +if { (ac_try="$ac_compile"
3281 +case "(($ac_try" in
3282 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 + *) ac_try_echo=$ac_try;;
3284 +esac
3285 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286 + (eval "$ac_compile") 2>conftest.er1
3287 ac_status=$?
3288 grep -v '^ *+' conftest.er1 >conftest.err
3289 rm -f conftest.er1
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 - (exit $ac_status); } &&
3293 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3294 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295 - (eval $ac_try) 2>&5
3296 - ac_status=$?
3297 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 - (exit $ac_status); }; } &&
3299 - { ac_try='test -s conftest.$ac_objext'
3300 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 - (eval $ac_try) 2>&5
3302 - ac_status=$?
3303 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 - (exit $ac_status); }; }; then
3305 + (exit $ac_status); } && {
3306 + test -z "$ac_c_werror_flag" ||
3307 + test ! -s conftest.err
3308 + } && test -s conftest.$ac_objext; then
3309 ac_cv_header_stdc=yes
3310 else
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3314 -ac_cv_header_stdc=no
3315 + ac_cv_header_stdc=no
3317 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3319 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 if test $ac_cv_header_stdc = yes; then
3322 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3323 @@ -2665,6 +3224,7 @@ cat confdefs.h >>conftest.$ac_ext
3324 cat >>conftest.$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3326 #include <ctype.h>
3327 +#include <stdlib.h>
3328 #if ((' ' & 0x0FF) == 0x020)
3329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3331 @@ -2684,18 +3244,27 @@ main ()
3332 for (i = 0; i < 256; i++)
3333 if (XOR (islower (i), ISLOWER (i))
3334 || toupper (i) != TOUPPER (i))
3335 - exit(2);
3336 - exit (0);
3337 + return 2;
3338 + return 0;
3340 _ACEOF
3341 rm -f conftest$ac_exeext
3342 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3343 - (eval $ac_link) 2>&5
3344 +if { (ac_try="$ac_link"
3345 +case "(($ac_try" in
3346 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 + *) ac_try_echo=$ac_try;;
3348 +esac
3349 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 + (eval "$ac_link") 2>&5
3351 ac_status=$?
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 - (eval $ac_try) 2>&5
3356 + { (case "(($ac_try" in
3357 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 + *) ac_try_echo=$ac_try;;
3359 +esac
3360 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 + (eval "$ac_try") 2>&5
3362 ac_status=$?
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3365 @@ -2708,12 +3277,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
3366 ( exit $ac_status )
3367 ac_cv_header_stdc=no
3369 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3370 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3376 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3377 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
3378 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3379 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3380 if test $ac_cv_header_stdc = yes; then
3382 cat >>confdefs.h <<\_ACEOF
3383 @@ -2722,8 +3293,8 @@ _ACEOF
3387 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3388 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
3389 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3390 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
3391 if test "${ac_cv_header_sys_wait_h+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 else
3394 @@ -2736,7 +3307,7 @@ cat >>conftest.$ac_ext <<_ACEOF
3395 #include <sys/types.h>
3396 #include <sys/wait.h>
3397 #ifndef WEXITSTATUS
3398 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3399 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3400 #endif
3401 #ifndef WIFEXITED
3402 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3403 @@ -2753,37 +3324,34 @@ main ()
3405 _ACEOF
3406 rm -f conftest.$ac_objext
3407 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3408 - (eval $ac_compile) 2>conftest.er1
3409 +if { (ac_try="$ac_compile"
3410 +case "(($ac_try" in
3411 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 + *) ac_try_echo=$ac_try;;
3413 +esac
3414 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3415 + (eval "$ac_compile") 2>conftest.er1
3416 ac_status=$?
3417 grep -v '^ *+' conftest.er1 >conftest.err
3418 rm -f conftest.er1
3419 cat conftest.err >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 - (exit $ac_status); } &&
3422 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3423 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 - (eval $ac_try) 2>&5
3425 - ac_status=$?
3426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 - (exit $ac_status); }; } &&
3428 - { ac_try='test -s conftest.$ac_objext'
3429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430 - (eval $ac_try) 2>&5
3431 - ac_status=$?
3432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433 - (exit $ac_status); }; }; then
3434 + (exit $ac_status); } && {
3435 + test -z "$ac_c_werror_flag" ||
3436 + test ! -s conftest.err
3437 + } && test -s conftest.$ac_objext; then
3438 ac_cv_header_sys_wait_h=yes
3439 else
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 -ac_cv_header_sys_wait_h=no
3444 + ac_cv_header_sys_wait_h=no
3446 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3448 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3450 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3451 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
3452 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3453 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
3454 if test $ac_cv_header_sys_wait_h = yes; then
3456 cat >>confdefs.h <<\_ACEOF
3457 @@ -2806,9 +3374,9 @@ for ac_header in sys/types.h sys/stat.h
3458 inttypes.h stdint.h unistd.h
3460 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3461 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3462 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3463 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3464 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3465 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3466 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 else
3469 cat >conftest.$ac_ext <<_ACEOF
3470 @@ -2822,37 +3390,35 @@ $ac_includes_default
3471 #include <$ac_header>
3472 _ACEOF
3473 rm -f conftest.$ac_objext
3474 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3475 - (eval $ac_compile) 2>conftest.er1
3476 +if { (ac_try="$ac_compile"
3477 +case "(($ac_try" in
3478 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479 + *) ac_try_echo=$ac_try;;
3480 +esac
3481 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3482 + (eval "$ac_compile") 2>conftest.er1
3483 ac_status=$?
3484 grep -v '^ *+' conftest.er1 >conftest.err
3485 rm -f conftest.er1
3486 cat conftest.err >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 - (exit $ac_status); } &&
3489 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3490 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491 - (eval $ac_try) 2>&5
3492 - ac_status=$?
3493 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 - (exit $ac_status); }; } &&
3495 - { ac_try='test -s conftest.$ac_objext'
3496 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 - (eval $ac_try) 2>&5
3498 - ac_status=$?
3499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 - (exit $ac_status); }; }; then
3501 + (exit $ac_status); } && {
3502 + test -z "$ac_c_werror_flag" ||
3503 + test ! -s conftest.err
3504 + } && test -s conftest.$ac_objext; then
3505 eval "$as_ac_Header=yes"
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 -eval "$as_ac_Header=no"
3511 + eval "$as_ac_Header=no"
3513 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3515 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3518 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3519 +ac_res=`eval echo '${'$as_ac_Header'}'`
3520 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3521 +echo "${ECHO_T}$ac_res" >&6; }
3522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3523 cat >>confdefs.h <<_ACEOF
3524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3525 @@ -2893,18 +3459,19 @@ done
3526 for ac_header in fcntl.h sys/dlpi.h sys/ioctl.h sys/time.h syslog.h unistd.h net/if_arp.h netinet/if_ether.h getopt.h sys/uio.h sys/param.h fcntl.h net/bpf.h netpacket/packet.h net/ethernet.h asm/types.h linux/if_packet.h linux/if_ether.h sys/socket.h sys/cdefs.h net/if.h net/if_dl.h net/if_ether.h net/if_types.h netinet/if_ether.h net/if_types.h net/if_dl.h
3528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3529 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3530 - echo "$as_me:$LINENO: checking for $ac_header" >&5
3531 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3532 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3533 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3534 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
3535 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3536 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3540 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3541 +ac_res=`eval echo '${'$as_ac_Header'}'`
3542 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3543 +echo "${ECHO_T}$ac_res" >&6; }
3544 else
3545 # Is the header compilable?
3546 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
3547 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3548 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3549 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3550 cat >conftest.$ac_ext <<_ACEOF
3551 /* confdefs.h. */
3552 _ACEOF
3553 @@ -2915,40 +3482,37 @@ $ac_includes_default
3554 #include <$ac_header>
3555 _ACEOF
3556 rm -f conftest.$ac_objext
3557 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 - (eval $ac_compile) 2>conftest.er1
3559 +if { (ac_try="$ac_compile"
3560 +case "(($ac_try" in
3561 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 + *) ac_try_echo=$ac_try;;
3563 +esac
3564 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3565 + (eval "$ac_compile") 2>conftest.er1
3566 ac_status=$?
3567 grep -v '^ *+' conftest.er1 >conftest.err
3568 rm -f conftest.er1
3569 cat conftest.err >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 - (exit $ac_status); } &&
3572 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 - (eval $ac_try) 2>&5
3575 - ac_status=$?
3576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 - (exit $ac_status); }; } &&
3578 - { ac_try='test -s conftest.$ac_objext'
3579 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 - (eval $ac_try) 2>&5
3581 - ac_status=$?
3582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 - (exit $ac_status); }; }; then
3584 + (exit $ac_status); } && {
3585 + test -z "$ac_c_werror_flag" ||
3586 + test ! -s conftest.err
3587 + } && test -s conftest.$ac_objext; then
3588 ac_header_compiler=yes
3589 else
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.$ac_ext >&5
3593 -ac_header_compiler=no
3594 + ac_header_compiler=no
3596 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3597 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3598 -echo "${ECHO_T}$ac_header_compiler" >&6
3600 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3601 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3602 +echo "${ECHO_T}$ac_header_compiler" >&6; }
3604 # Is the header present?
3605 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
3606 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3607 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3608 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3609 cat >conftest.$ac_ext <<_ACEOF
3610 /* confdefs.h. */
3611 _ACEOF
3612 @@ -2957,24 +3521,22 @@ cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3614 #include <$ac_header>
3615 _ACEOF
3616 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3617 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3618 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3619 +case "(($ac_try" in
3620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 + *) ac_try_echo=$ac_try;;
3622 +esac
3623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3624 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3625 ac_status=$?
3626 grep -v '^ *+' conftest.er1 >conftest.err
3627 rm -f conftest.er1
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 - (exit $ac_status); } >/dev/null; then
3631 - if test -s conftest.err; then
3632 - ac_cpp_err=$ac_c_preproc_warn_flag
3633 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3634 - else
3635 - ac_cpp_err=
3636 - fi
3637 -else
3638 - ac_cpp_err=yes
3640 -if test -z "$ac_cpp_err"; then
3641 + (exit $ac_status); } >/dev/null && {
3642 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3643 + test ! -s conftest.err
3644 + }; then
3645 ac_header_preproc=yes
3646 else
3647 echo "$as_me: failed program was:" >&5
3648 @@ -2982,9 +3544,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_header_preproc=no
3653 rm -f conftest.err conftest.$ac_ext
3654 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3655 -echo "${ECHO_T}$ac_header_preproc" >&6
3656 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3657 +echo "${ECHO_T}$ac_header_preproc" >&6; }
3659 # So? What about this header?
3660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3661 @@ -3008,25 +3571,19 @@ echo "$as_me: WARNING: $ac_header: s
3662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3663 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3666 - cat <<\_ASBOX
3667 -## ------------------------------------------ ##
3668 -## Report this to the AC_PACKAGE_NAME lists. ##
3669 -## ------------------------------------------ ##
3670 -_ASBOX
3671 - ) |
3672 - sed "s/^/$as_me: WARNING: /" >&2
3675 esac
3676 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3677 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3678 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3679 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3680 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3681 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 else
3684 eval "$as_ac_Header=\$ac_header_preproc"
3686 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3687 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3688 +ac_res=`eval echo '${'$as_ac_Header'}'`
3689 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3690 +echo "${ECHO_T}$ac_res" >&6; }
3693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3694 @@ -3042,9 +3599,9 @@ done
3695 for ac_header in linux/if.h
3697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3698 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3699 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3700 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3701 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3702 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3703 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 else
3706 cat >conftest.$ac_ext <<_ACEOF
3707 @@ -3058,37 +3615,35 @@ cat >>conftest.$ac_ext <<_ACEOF
3708 #include <$ac_header>
3709 _ACEOF
3710 rm -f conftest.$ac_objext
3711 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3712 - (eval $ac_compile) 2>conftest.er1
3713 +if { (ac_try="$ac_compile"
3714 +case "(($ac_try" in
3715 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716 + *) ac_try_echo=$ac_try;;
3717 +esac
3718 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3719 + (eval "$ac_compile") 2>conftest.er1
3720 ac_status=$?
3721 grep -v '^ *+' conftest.er1 >conftest.err
3722 rm -f conftest.er1
3723 cat conftest.err >&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 - (exit $ac_status); } &&
3726 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3727 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 - (eval $ac_try) 2>&5
3729 - ac_status=$?
3730 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 - (exit $ac_status); }; } &&
3732 - { ac_try='test -s conftest.$ac_objext'
3733 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 - (eval $ac_try) 2>&5
3735 - ac_status=$?
3736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 - (exit $ac_status); }; }; then
3738 + (exit $ac_status); } && {
3739 + test -z "$ac_c_werror_flag" ||
3740 + test ! -s conftest.err
3741 + } && test -s conftest.$ac_objext; then
3742 eval "$as_ac_Header=yes"
3743 else
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.$ac_ext >&5
3747 -eval "$as_ac_Header=no"
3748 + eval "$as_ac_Header=no"
3750 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3752 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3755 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3756 +ac_res=`eval echo '${'$as_ac_Header'}'`
3757 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3758 +echo "${ECHO_T}$ac_res" >&6; }
3759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3760 cat >>confdefs.h <<_ACEOF
3761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3762 @@ -3102,9 +3657,9 @@ done
3763 for ac_header in linux/if_pppox.h
3765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3766 -echo "$as_me:$LINENO: checking for $ac_header" >&5
3767 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3768 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
3769 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3770 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3771 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 else
3774 cat >conftest.$ac_ext <<_ACEOF
3775 @@ -3122,37 +3677,35 @@ cat >>conftest.$ac_ext <<_ACEOF
3776 #include <$ac_header>
3777 _ACEOF
3778 rm -f conftest.$ac_objext
3779 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3780 - (eval $ac_compile) 2>conftest.er1
3781 +if { (ac_try="$ac_compile"
3782 +case "(($ac_try" in
3783 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 + *) ac_try_echo=$ac_try;;
3785 +esac
3786 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3787 + (eval "$ac_compile") 2>conftest.er1
3788 ac_status=$?
3789 grep -v '^ *+' conftest.er1 >conftest.err
3790 rm -f conftest.er1
3791 cat conftest.err >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 - (exit $ac_status); } &&
3794 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3795 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 - (eval $ac_try) 2>&5
3797 - ac_status=$?
3798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 - (exit $ac_status); }; } &&
3800 - { ac_try='test -s conftest.$ac_objext'
3801 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 - (eval $ac_try) 2>&5
3803 - ac_status=$?
3804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 - (exit $ac_status); }; }; then
3806 + (exit $ac_status); } && {
3807 + test -z "$ac_c_werror_flag" ||
3808 + test ! -s conftest.err
3809 + } && test -s conftest.$ac_objext; then
3810 eval "$as_ac_Header=yes"
3811 else
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3815 -eval "$as_ac_Header=no"
3816 + eval "$as_ac_Header=no"
3818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3820 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3822 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3823 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3824 +ac_res=`eval echo '${'$as_ac_Header'}'`
3825 + { echo "$as_me:$LINENO: result: $ac_res" >&5
3826 +echo "${ECHO_T}$ac_res" >&6; }
3827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3828 cat >>confdefs.h <<_ACEOF
3829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3830 @@ -3163,8 +3716,8 @@ fi
3831 done
3834 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3835 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3836 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3837 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3838 if test "${ac_cv_c_const+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 else
3841 @@ -3182,10 +3735,10 @@ main ()
3842 #ifndef __cplusplus
3843 /* Ultrix mips cc rejects this. */
3844 typedef int charset[2];
3845 - const charset x;
3846 + const charset cs;
3847 /* SunOS 4.1.1 cc rejects this. */
3848 - char const *const *ccp;
3849 - char **p;
3850 + char const *const *pcpcc;
3851 + char **ppc;
3852 /* NEC SVR4.0.2 mips cc rejects this. */
3853 struct point {int x, y;};
3854 static struct point const zero = {0,0};
3855 @@ -3194,16 +3747,17 @@ main ()
3856 an arm of an if-expression whose if-part is not a constant
3857 expression */
3858 const char *g = "string";
3859 - ccp = &g + (g ? g-g : 0);
3860 + pcpcc = &g + (g ? g-g : 0);
3861 /* HPUX 7.0 cc rejects these. */
3862 - ++ccp;
3863 - p = (char**) ccp;
3864 - ccp = (char const *const *) p;
3865 + ++pcpcc;
3866 + ppc = (char**) pcpcc;
3867 + pcpcc = (char const *const *) ppc;
3868 { /* SCO 3.2v4 cc rejects this. */
3869 char *t;
3870 char const *s = 0 ? (char *) 0 : (char const *) 0;
3872 *t++ = 0;
3873 + if (s) return 0;
3875 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3876 int x[] = {25, 17};
3877 @@ -3222,7 +3776,9 @@ main ()
3879 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3880 const int foo = 10;
3881 + if (!foo) return 0;
3883 + return !cs[0] && !zero.x;
3884 #endif
3887 @@ -3230,37 +3786,34 @@ main ()
3889 _ACEOF
3890 rm -f conftest.$ac_objext
3891 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3892 - (eval $ac_compile) 2>conftest.er1
3893 +if { (ac_try="$ac_compile"
3894 +case "(($ac_try" in
3895 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896 + *) ac_try_echo=$ac_try;;
3897 +esac
3898 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3899 + (eval "$ac_compile") 2>conftest.er1
3900 ac_status=$?
3901 grep -v '^ *+' conftest.er1 >conftest.err
3902 rm -f conftest.er1
3903 cat conftest.err >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 - (exit $ac_status); } &&
3906 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3907 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3908 - (eval $ac_try) 2>&5
3909 - ac_status=$?
3910 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 - (exit $ac_status); }; } &&
3912 - { ac_try='test -s conftest.$ac_objext'
3913 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914 - (eval $ac_try) 2>&5
3915 - ac_status=$?
3916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 - (exit $ac_status); }; }; then
3918 + (exit $ac_status); } && {
3919 + test -z "$ac_c_werror_flag" ||
3920 + test ! -s conftest.err
3921 + } && test -s conftest.$ac_objext; then
3922 ac_cv_c_const=yes
3923 else
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.$ac_ext >&5
3927 -ac_cv_c_const=no
3928 + ac_cv_c_const=no
3930 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3932 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3935 -echo "${ECHO_T}$ac_cv_c_const" >&6
3936 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3937 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
3938 if test $ac_cv_c_const = no; then
3940 cat >>confdefs.h <<\_ACEOF
3941 @@ -3269,8 +3822,8 @@ _ACEOF
3945 -echo "$as_me:$LINENO: checking for pid_t" >&5
3946 -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3947 +{ echo "$as_me:$LINENO: checking for pid_t" >&5
3948 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
3949 if test "${ac_cv_type_pid_t+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 else
3952 @@ -3281,49 +3834,47 @@ cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 $ac_includes_default
3956 +typedef pid_t ac__type_new_;
3958 main ()
3960 -if ((pid_t *) 0)
3961 +if ((ac__type_new_ *) 0)
3962 return 0;
3963 -if (sizeof (pid_t))
3964 +if (sizeof (ac__type_new_))
3965 return 0;
3967 return 0;
3969 _ACEOF
3970 rm -f conftest.$ac_objext
3971 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3972 - (eval $ac_compile) 2>conftest.er1
3973 +if { (ac_try="$ac_compile"
3974 +case "(($ac_try" in
3975 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976 + *) ac_try_echo=$ac_try;;
3977 +esac
3978 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3979 + (eval "$ac_compile") 2>conftest.er1
3980 ac_status=$?
3981 grep -v '^ *+' conftest.er1 >conftest.err
3982 rm -f conftest.er1
3983 cat conftest.err >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 - (exit $ac_status); } &&
3986 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3987 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 - (eval $ac_try) 2>&5
3989 - ac_status=$?
3990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 - (exit $ac_status); }; } &&
3992 - { ac_try='test -s conftest.$ac_objext'
3993 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 - (eval $ac_try) 2>&5
3995 - ac_status=$?
3996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 - (exit $ac_status); }; }; then
3998 + (exit $ac_status); } && {
3999 + test -z "$ac_c_werror_flag" ||
4000 + test ! -s conftest.err
4001 + } && test -s conftest.$ac_objext; then
4002 ac_cv_type_pid_t=yes
4003 else
4004 echo "$as_me: failed program was:" >&5
4005 sed 's/^/| /' conftest.$ac_ext >&5
4007 -ac_cv_type_pid_t=no
4008 + ac_cv_type_pid_t=no
4010 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4012 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014 -echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4015 -echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4016 +{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4017 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
4018 if test $ac_cv_type_pid_t = yes; then
4020 else
4021 @@ -3334,8 +3885,8 @@ _ACEOF
4025 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4026 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4027 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4028 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4029 if test "${ac_cv_header_time+set}" = set; then
4030 echo $ECHO_N "(cached) $ECHO_C" >&6
4031 else
4032 @@ -3359,37 +3910,34 @@ return 0;
4034 _ACEOF
4035 rm -f conftest.$ac_objext
4036 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4037 - (eval $ac_compile) 2>conftest.er1
4038 +if { (ac_try="$ac_compile"
4039 +case "(($ac_try" in
4040 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 + *) ac_try_echo=$ac_try;;
4042 +esac
4043 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 + (eval "$ac_compile") 2>conftest.er1
4045 ac_status=$?
4046 grep -v '^ *+' conftest.er1 >conftest.err
4047 rm -f conftest.er1
4048 cat conftest.err >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 - (exit $ac_status); } &&
4051 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 - (eval $ac_try) 2>&5
4054 - ac_status=$?
4055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 - (exit $ac_status); }; } &&
4057 - { ac_try='test -s conftest.$ac_objext'
4058 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 - (eval $ac_try) 2>&5
4060 - ac_status=$?
4061 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 - (exit $ac_status); }; }; then
4063 + (exit $ac_status); } && {
4064 + test -z "$ac_c_werror_flag" ||
4065 + test ! -s conftest.err
4066 + } && test -s conftest.$ac_objext; then
4067 ac_cv_header_time=yes
4068 else
4069 echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072 -ac_cv_header_time=no
4073 + ac_cv_header_time=no
4075 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4077 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4080 -echo "${ECHO_T}$ac_cv_header_time" >&6
4081 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4082 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
4083 if test $ac_cv_header_time = yes; then
4085 cat >>confdefs.h <<\_ACEOF
4086 @@ -3398,8 +3946,8 @@ _ACEOF
4090 -echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4091 -echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4092 +{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4093 +echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4094 if test "${ac_cv_struct_tm+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 @@ -3415,43 +3963,42 @@ cat >>conftest.$ac_ext <<_ACEOF
4099 main ()
4101 -struct tm *tp; tp->tm_sec;
4102 +struct tm tm;
4103 + int *p = &tm.tm_sec;
4104 + return !p;
4106 return 0;
4108 _ACEOF
4109 rm -f conftest.$ac_objext
4110 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4111 - (eval $ac_compile) 2>conftest.er1
4112 +if { (ac_try="$ac_compile"
4113 +case "(($ac_try" in
4114 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 + *) ac_try_echo=$ac_try;;
4116 +esac
4117 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4118 + (eval "$ac_compile") 2>conftest.er1
4119 ac_status=$?
4120 grep -v '^ *+' conftest.er1 >conftest.err
4121 rm -f conftest.er1
4122 cat conftest.err >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 - (exit $ac_status); } &&
4125 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4126 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127 - (eval $ac_try) 2>&5
4128 - ac_status=$?
4129 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 - (exit $ac_status); }; } &&
4131 - { ac_try='test -s conftest.$ac_objext'
4132 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133 - (eval $ac_try) 2>&5
4134 - ac_status=$?
4135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 - (exit $ac_status); }; }; then
4137 + (exit $ac_status); } && {
4138 + test -z "$ac_c_werror_flag" ||
4139 + test ! -s conftest.err
4140 + } && test -s conftest.$ac_objext; then
4141 ac_cv_struct_tm=time.h
4142 else
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 -ac_cv_struct_tm=sys/time.h
4147 + ac_cv_struct_tm=sys/time.h
4149 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4151 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 -echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4154 -echo "${ECHO_T}$ac_cv_struct_tm" >&6
4155 +{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4156 +echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4157 if test $ac_cv_struct_tm = sys/time.h; then
4159 cat >>confdefs.h <<\_ACEOF
4160 @@ -3461,8 +4008,8 @@ _ACEOF
4164 -echo "$as_me:$LINENO: checking for struct sockaddr_ll" >&5
4165 -echo $ECHO_N "checking for struct sockaddr_ll... $ECHO_C" >&6
4166 +{ echo "$as_me:$LINENO: checking for struct sockaddr_ll" >&5
4167 +echo $ECHO_N "checking for struct sockaddr_ll... $ECHO_C" >&6; }
4168 cat >conftest.$ac_ext <<_ACEOF
4169 /* confdefs.h. */
4170 _ACEOF
4171 @@ -3482,36 +4029,33 @@ struct sockaddr_ll sa;
4173 _ACEOF
4174 rm -f conftest.$ac_objext
4175 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176 - (eval $ac_compile) 2>conftest.er1
4177 +if { (ac_try="$ac_compile"
4178 +case "(($ac_try" in
4179 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 + *) ac_try_echo=$ac_try;;
4181 +esac
4182 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4183 + (eval "$ac_compile") 2>conftest.er1
4184 ac_status=$?
4185 grep -v '^ *+' conftest.er1 >conftest.err
4186 rm -f conftest.er1
4187 cat conftest.err >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 - (exit $ac_status); } &&
4190 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4191 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 - (eval $ac_try) 2>&5
4193 - ac_status=$?
4194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 - (exit $ac_status); }; } &&
4196 - { ac_try='test -s conftest.$ac_objext'
4197 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 - (eval $ac_try) 2>&5
4199 - ac_status=$?
4200 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 - (exit $ac_status); }; }; then
4202 + (exit $ac_status); } && {
4203 + test -z "$ac_c_werror_flag" ||
4204 + test ! -s conftest.err
4205 + } && test -s conftest.$ac_objext; then
4206 ac_cv_struct_sockaddr_ll=yes
4207 else
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 -ac_cv_struct_sockaddr_ll=no
4212 + ac_cv_struct_sockaddr_ll=no
4214 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4215 -echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_ll" >&5
4216 -echo "${ECHO_T}$ac_cv_struct_sockaddr_ll" >&6
4218 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4219 +{ echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_ll" >&5
4220 +echo "${ECHO_T}$ac_cv_struct_sockaddr_ll" >&6; }
4222 if test "$ac_cv_struct_sockaddr_ll" = yes ; then
4223 cat >>confdefs.h <<\_ACEOF
4224 @@ -3520,8 +4064,8 @@ _ACEOF
4228 -echo "$as_me:$LINENO: checking for N_HDLC line discipline" >&5
4229 -echo $ECHO_N "checking for N_HDLC line discipline... $ECHO_C" >&6
4230 +{ echo "$as_me:$LINENO: checking for N_HDLC line discipline" >&5
4231 +echo $ECHO_N "checking for N_HDLC line discipline... $ECHO_C" >&6; }
4232 cat >conftest.$ac_ext <<_ACEOF
4233 /* confdefs.h. */
4234 _ACEOF
4235 @@ -3538,36 +4082,33 @@ int x = N_HDLC;
4237 _ACEOF
4238 rm -f conftest.$ac_objext
4239 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4240 - (eval $ac_compile) 2>conftest.er1
4241 +if { (ac_try="$ac_compile"
4242 +case "(($ac_try" in
4243 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 + *) ac_try_echo=$ac_try;;
4245 +esac
4246 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4247 + (eval "$ac_compile") 2>conftest.er1
4248 ac_status=$?
4249 grep -v '^ *+' conftest.er1 >conftest.err
4250 rm -f conftest.er1
4251 cat conftest.err >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 - (exit $ac_status); } &&
4254 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4255 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 - (eval $ac_try) 2>&5
4257 - ac_status=$?
4258 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 - (exit $ac_status); }; } &&
4260 - { ac_try='test -s conftest.$ac_objext'
4261 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 - (eval $ac_try) 2>&5
4263 - ac_status=$?
4264 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 - (exit $ac_status); }; }; then
4266 + (exit $ac_status); } && {
4267 + test -z "$ac_c_werror_flag" ||
4268 + test ! -s conftest.err
4269 + } && test -s conftest.$ac_objext; then
4270 ac_cv_n_hdlc=yes
4271 else
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.$ac_ext >&5
4275 -ac_cv_n_hdlc=no
4276 + ac_cv_n_hdlc=no
4278 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4279 -echo "$as_me:$LINENO: result: $ac_cv_n_hdlc" >&5
4280 -echo "${ECHO_T}$ac_cv_n_hdlc" >&6
4282 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4283 +{ echo "$as_me:$LINENO: result: $ac_cv_n_hdlc" >&5
4284 +echo "${ECHO_T}$ac_cv_n_hdlc" >&6; }
4285 if test "$ac_cv_n_hdlc" = yes ; then
4286 cat >>confdefs.h <<\_ACEOF
4287 #define HAVE_N_HDLC 1
4288 @@ -3575,26 +4116,26 @@ _ACEOF
4292 -# Check whether --enable-plugin or --disable-plugin was given.
4293 +# Check whether --enable-plugin was given.
4294 if test "${enable_plugin+set}" = set; then
4295 - enableval="$enable_plugin"
4296 - ac_cv_pluginpath=$enableval
4297 + enableval=$enable_plugin; ac_cv_pluginpath=$enableval
4298 else
4299 ac_cv_pluginpath=no
4300 -fi;
4301 -# Check whether --enable-debugging or --disable-debugging was given.
4304 +# Check whether --enable-debugging was given.
4305 if test "${enable_debugging+set}" = set; then
4306 - enableval="$enable_debugging"
4307 - ac_cv_debugging=$enableval
4308 + enableval=$enable_debugging; ac_cv_debugging=$enableval
4309 else
4310 ac_cv_debugging=yes
4311 -fi;
4315 if test "$ac_cv_pluginpath" = "yes" ; then
4316 # Extract the first word of "pppd/pppd.h", so it can be a program name with args.
4317 set dummy pppd/pppd.h; ac_word=$2
4318 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4319 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4320 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4321 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4322 if test "${ac_cv_path_PPPD_H+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4324 else
4325 @@ -3610,28 +4151,29 @@ do
4326 IFS=$as_save_IFS
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4331 ac_cv_path_PPPD_H="$as_dir/$ac_word$ac_exec_ext"
4332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 break 2
4335 done
4336 done
4337 +IFS=$as_save_IFS
4339 test -z "$ac_cv_path_PPPD_H" && ac_cv_path_PPPD_H="NOTFOUND"
4341 esac
4343 PPPD_H=$ac_cv_path_PPPD_H
4345 if test -n "$PPPD_H"; then
4346 - echo "$as_me:$LINENO: result: $PPPD_H" >&5
4347 -echo "${ECHO_T}$PPPD_H" >&6
4348 + { echo "$as_me:$LINENO: result: $PPPD_H" >&5
4349 +echo "${ECHO_T}$PPPD_H" >&6; }
4350 else
4351 - echo "$as_me:$LINENO: result: no" >&5
4352 -echo "${ECHO_T}no" >&6
4353 + { echo "$as_me:$LINENO: result: no" >&5
4354 +echo "${ECHO_T}no" >&6; }
4358 if test "$PPPD_H" = "NOTFOUND" ; then
4359 ac_cv_pluginpath=no
4360 else
4361 @@ -3640,13 +4182,13 @@ fi
4365 -# Check whether --enable-licenses or --disable-licenses was given.
4366 +# Check whether --enable-licenses was given.
4367 if test "${enable_licenses+set}" = set; then
4368 - enableval="$enable_licenses"
4369 - ac_cv_licpath=$enableval
4370 + enableval=$enable_licenses; ac_cv_licpath=$enableval
4371 else
4372 ac_cv_licpath=no
4373 -fi;
4377 LIC_INCDIR=""
4378 LIC_LIBDIR=""
4379 @@ -3696,8 +4238,8 @@ if test "`uname -s`" = "Linux" ; then
4383 -echo "$as_me:$LINENO: checking for working memcmp" >&5
4384 -echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4385 +{ echo "$as_me:$LINENO: checking for working memcmp" >&5
4386 +echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
4387 if test "${ac_cv_func_memcmp_working+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 else
4390 @@ -3716,9 +4258,9 @@ main ()
4393 /* Some versions of memcmp are not 8-bit clean. */
4394 - char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4395 + char c0 = '\100', c1 = '\200', c2 = '\201';
4396 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4397 - exit (1);
4398 + return 1;
4400 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4401 or more and with at least one buffer not starting on a 4-byte boundary.
4402 @@ -3734,9 +4276,9 @@ main ()
4403 strcpy (a, "--------01111111");
4404 strcpy (b, "--------10000000");
4405 if (memcmp (a, b, 16) >= 0)
4406 - exit (1);
4407 + return 1;
4409 - exit (0);
4410 + return 0;
4414 @@ -3744,13 +4286,22 @@ main ()
4416 _ACEOF
4417 rm -f conftest$ac_exeext
4418 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4419 - (eval $ac_link) 2>&5
4420 +if { (ac_try="$ac_link"
4421 +case "(($ac_try" in
4422 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 + *) ac_try_echo=$ac_try;;
4424 +esac
4425 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4426 + (eval "$ac_link") 2>&5
4427 ac_status=$?
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431 - (eval $ac_try) 2>&5
4432 + { (case "(($ac_try" in
4433 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434 + *) ac_try_echo=$ac_try;;
4435 +esac
4436 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4437 + (eval "$ac_try") 2>&5
4438 ac_status=$?
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); }; }; then
4441 @@ -3763,25 +4314,25 @@ sed 's/^/| /' conftest.$ac_ext >&5
4442 ( exit $ac_status )
4443 ac_cv_func_memcmp_working=no
4445 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4446 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4451 -echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4452 -echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4453 -test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
4454 - "memcmp.$ac_objext" | \
4455 - *" memcmp.$ac_objext" | \
4456 - "memcmp.$ac_objext "* | \
4457 +{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4458 +echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
4459 +test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
4460 *" memcmp.$ac_objext "* ) ;;
4461 - *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
4462 + *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4463 + ;;
4464 esac
4467 -echo "$as_me:$LINENO: checking for function prototypes" >&5
4468 -echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
4469 -if test "$ac_cv_prog_cc_stdc" != no; then
4470 - echo "$as_me:$LINENO: result: yes" >&5
4471 -echo "${ECHO_T}yes" >&6
4472 +{ echo "$as_me:$LINENO: checking for function prototypes" >&5
4473 +echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
4474 +if test "$ac_cv_prog_cc_c89" != no; then
4475 + { echo "$as_me:$LINENO: result: yes" >&5
4476 +echo "${ECHO_T}yes" >&6; }
4478 cat >>confdefs.h <<\_ACEOF
4479 #define PROTOTYPES 1
4480 @@ -3793,12 +4344,12 @@ cat >>confdefs.h <<\_ACEOF
4481 _ACEOF
4483 else
4484 - echo "$as_me:$LINENO: result: no" >&5
4485 -echo "${ECHO_T}no" >&6
4486 + { echo "$as_me:$LINENO: result: no" >&5
4487 +echo "${ECHO_T}no" >&6; }
4490 -echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
4491 -echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
4492 +{ echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
4493 +echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6; }
4494 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 else
4497 @@ -3810,7 +4361,7 @@ cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4500 #include <stdio.h>
4501 -# if PROTOTYPES
4502 +# ifdef PROTOTYPES
4503 int (setvbuf) (FILE *, int, char *, size_t);
4504 # endif
4506 @@ -3822,26 +4373,23 @@ char buf; return setvbuf (stdout, _IOLBF
4508 _ACEOF
4509 rm -f conftest.$ac_objext conftest$ac_exeext
4510 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4511 - (eval $ac_link) 2>conftest.er1
4512 +if { (ac_try="$ac_link"
4513 +case "(($ac_try" in
4514 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515 + *) ac_try_echo=$ac_try;;
4516 +esac
4517 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4518 + (eval "$ac_link") 2>conftest.er1
4519 ac_status=$?
4520 grep -v '^ *+' conftest.er1 >conftest.err
4521 rm -f conftest.er1
4522 cat conftest.err >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 - (exit $ac_status); } &&
4525 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4526 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 - (eval $ac_try) 2>&5
4528 - ac_status=$?
4529 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 - (exit $ac_status); }; } &&
4531 - { ac_try='test -s conftest$ac_exeext'
4532 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 - (eval $ac_try) 2>&5
4534 - ac_status=$?
4535 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 - (exit $ac_status); }; }; then
4537 + (exit $ac_status); } && {
4538 + test -z "$ac_c_werror_flag" ||
4539 + test ! -s conftest.err
4540 + } && test -s conftest$ac_exeext &&
4541 + $as_test_x conftest$ac_exeext; then
4542 cat >conftest.$ac_ext <<_ACEOF
4543 /* confdefs.h. */
4544 _ACEOF
4545 @@ -3849,7 +4397,7 @@ cat confdefs.h >>conftest.$ac_ext
4546 cat >>conftest.$ac_ext <<_ACEOF
4547 /* end confdefs.h. */
4548 #include <stdio.h>
4549 -# if PROTOTYPES
4550 +# ifdef PROTOTYPES
4551 int (setvbuf) (FILE *, int, char *, size_t);
4552 # endif
4554 @@ -3861,26 +4409,23 @@ char buf; return setvbuf (stdout, &buf,
4556 _ACEOF
4557 rm -f conftest.$ac_objext conftest$ac_exeext
4558 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4559 - (eval $ac_link) 2>conftest.er1
4560 +if { (ac_try="$ac_link"
4561 +case "(($ac_try" in
4562 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 + *) ac_try_echo=$ac_try;;
4564 +esac
4565 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 + (eval "$ac_link") 2>conftest.er1
4567 ac_status=$?
4568 grep -v '^ *+' conftest.er1 >conftest.err
4569 rm -f conftest.er1
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 - (exit $ac_status); } &&
4573 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4574 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575 - (eval $ac_try) 2>&5
4576 - ac_status=$?
4577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 - (exit $ac_status); }; } &&
4579 - { ac_try='test -s conftest$ac_exeext'
4580 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581 - (eval $ac_try) 2>&5
4582 - ac_status=$?
4583 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 - (exit $ac_status); }; }; then
4585 + (exit $ac_status); } && {
4586 + test -z "$ac_c_werror_flag" ||
4587 + test ! -s conftest.err
4588 + } && test -s conftest$ac_exeext &&
4589 + $as_test_x conftest$ac_exeext; then
4590 # It compiles and links either way, so it must not be declared
4591 # with a prototype and most likely this is a K&R C compiler.
4592 # Try running it.
4593 @@ -3893,7 +4438,7 @@ _ACEOF
4594 cat confdefs.h >>conftest.$ac_ext
4595 cat >>conftest.$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4597 -#include <stdio.h>
4598 +$ac_includes_default
4600 main ()
4602 @@ -3902,21 +4447,30 @@ main ()
4603 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
4604 char buf;
4605 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
4606 - exit (1);
4607 + return 1;
4608 putchar ('\r');
4609 - exit (0); /* Non-reversed systems SEGV here. */
4610 + return 0; /* Non-reversed systems SEGV here. */
4612 return 0;
4614 _ACEOF
4615 rm -f conftest$ac_exeext
4616 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4617 - (eval $ac_link) 2>&5
4618 +if { (ac_try="$ac_link"
4619 +case "(($ac_try" in
4620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4621 + *) ac_try_echo=$ac_try;;
4622 +esac
4623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4624 + (eval "$ac_link") 2>&5
4625 ac_status=$?
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4628 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 - (eval $ac_try) 2>&5
4630 + { (case "(($ac_try" in
4631 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4632 + *) ac_try_echo=$ac_try;;
4633 +esac
4634 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4635 + (eval "$ac_try") 2>&5
4636 ac_status=$?
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; }; then
4639 @@ -3926,29 +4480,33 @@ else
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.$ac_ext >&5
4643 -( exit $ac_status )
4644 -rm -f core *.core
4646 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4647 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4651 ac_cv_func_setvbuf_reversed=yes
4652 else
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.$ac_ext >&5
4658 -rm -f conftest.err conftest.$ac_objext \
4660 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4661 conftest$ac_exeext conftest.$ac_ext
4662 else
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4668 -rm -f conftest.err conftest.$ac_objext \
4670 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4671 conftest$ac_exeext conftest.$ac_ext
4673 -echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
4674 -echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
4675 +{ echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
4676 +echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
4677 if test $ac_cv_func_setvbuf_reversed = yes; then
4679 cat >>confdefs.h <<\_ACEOF
4680 @@ -3957,8 +4515,8 @@ _ACEOF
4684 -echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4685 -echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4686 +{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4687 +echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
4688 if test "${ac_cv_type_signal+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4690 else
4691 @@ -3970,55 +4528,44 @@ cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 #include <sys/types.h>
4694 #include <signal.h>
4695 -#ifdef signal
4696 -# undef signal
4697 -#endif
4698 -#ifdef __cplusplus
4699 -extern "C" void (*signal (int, void (*)(int)))(int);
4700 -#else
4701 -void (*signal ()) ();
4702 -#endif
4705 main ()
4707 -int i;
4708 +return *(signal (0, 0)) (0) == 1;
4710 return 0;
4712 _ACEOF
4713 rm -f conftest.$ac_objext
4714 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4715 - (eval $ac_compile) 2>conftest.er1
4716 +if { (ac_try="$ac_compile"
4717 +case "(($ac_try" in
4718 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4719 + *) ac_try_echo=$ac_try;;
4720 +esac
4721 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4722 + (eval "$ac_compile") 2>conftest.er1
4723 ac_status=$?
4724 grep -v '^ *+' conftest.er1 >conftest.err
4725 rm -f conftest.er1
4726 cat conftest.err >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 - (exit $ac_status); } &&
4729 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4730 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 - (eval $ac_try) 2>&5
4732 - ac_status=$?
4733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 - (exit $ac_status); }; } &&
4735 - { ac_try='test -s conftest.$ac_objext'
4736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4737 - (eval $ac_try) 2>&5
4738 - ac_status=$?
4739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 - (exit $ac_status); }; }; then
4741 - ac_cv_type_signal=void
4742 + (exit $ac_status); } && {
4743 + test -z "$ac_c_werror_flag" ||
4744 + test ! -s conftest.err
4745 + } && test -s conftest.$ac_objext; then
4746 + ac_cv_type_signal=int
4747 else
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 -ac_cv_type_signal=int
4752 + ac_cv_type_signal=void
4754 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4756 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 -echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4759 -echo "${ECHO_T}$ac_cv_type_signal" >&6
4760 +{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4761 +echo "${ECHO_T}$ac_cv_type_signal" >&6; }
4763 cat >>confdefs.h <<_ACEOF
4764 #define RETSIGTYPE $ac_cv_type_signal
4765 @@ -4032,9 +4579,9 @@ _ACEOF
4766 for ac_func in select socket strerror strtol
4768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4769 -echo "$as_me:$LINENO: checking for $ac_func" >&5
4770 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4771 -if eval "test \"\${$as_ac_var+set}\" = set"; then
4772 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4773 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4774 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 else
4777 cat >conftest.$ac_ext <<_ACEOF
4778 @@ -4060,67 +4607,60 @@ cat >>conftest.$ac_ext <<_ACEOF
4780 #undef $ac_func
4782 -/* Override any gcc2 internal prototype to avoid an error. */
4783 +/* Override any GCC internal prototype to avoid an error.
4784 + Use char because int might match the return type of a GCC
4785 + builtin and then its argument prototype would still apply. */
4786 #ifdef __cplusplus
4787 extern "C"
4789 #endif
4790 -/* We use char because int might match the return type of a gcc2
4791 - builtin and then its argument prototype would still apply. */
4792 char $ac_func ();
4793 /* The GNU C library defines this for functions which it implements
4794 to always fail with ENOSYS. Some functions are actually named
4795 something starting with __ and the normal name is an alias. */
4796 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4797 +#if defined __stub_$ac_func || defined __stub___$ac_func
4798 choke me
4799 -#else
4800 -char (*f) () = $ac_func;
4801 -#endif
4802 -#ifdef __cplusplus
4804 #endif
4807 main ()
4809 -return f != $ac_func;
4810 +return $ac_func ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4817 - (eval $ac_link) 2>conftest.er1
4818 +if { (ac_try="$ac_link"
4819 +case "(($ac_try" in
4820 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 + *) ac_try_echo=$ac_try;;
4822 +esac
4823 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4824 + (eval "$ac_link") 2>conftest.er1
4825 ac_status=$?
4826 grep -v '^ *+' conftest.er1 >conftest.err
4827 rm -f conftest.er1
4828 cat conftest.err >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 - (exit $ac_status); } &&
4831 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4832 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4833 - (eval $ac_try) 2>&5
4834 - ac_status=$?
4835 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 - (exit $ac_status); }; } &&
4837 - { ac_try='test -s conftest$ac_exeext'
4838 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4839 - (eval $ac_try) 2>&5
4840 - ac_status=$?
4841 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 - (exit $ac_status); }; }; then
4843 + (exit $ac_status); } && {
4844 + test -z "$ac_c_werror_flag" ||
4845 + test ! -s conftest.err
4846 + } && test -s conftest$ac_exeext &&
4847 + $as_test_x conftest$ac_exeext; then
4848 eval "$as_ac_var=yes"
4849 else
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.$ac_ext >&5
4853 -eval "$as_ac_var=no"
4854 + eval "$as_ac_var=no"
4856 -rm -f conftest.err conftest.$ac_objext \
4858 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4859 conftest$ac_exeext conftest.$ac_ext
4861 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4862 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4863 +ac_res=`eval echo '${'$as_ac_var'}'`
4864 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4865 +echo "${ECHO_T}$ac_res" >&6; }
4866 if test `eval echo '${'$as_ac_var'}'` = yes; then
4867 cat >>confdefs.h <<_ACEOF
4868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4869 @@ -4130,29 +4670,35 @@ fi
4870 done
4872 ac_aux_dir=
4873 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
4874 - if test -f $ac_dir/install-sh; then
4875 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4876 + if test -f "$ac_dir/install-sh"; then
4877 ac_aux_dir=$ac_dir
4878 ac_install_sh="$ac_aux_dir/install-sh -c"
4879 break
4880 - elif test -f $ac_dir/install.sh; then
4881 + elif test -f "$ac_dir/install.sh"; then
4882 ac_aux_dir=$ac_dir
4883 ac_install_sh="$ac_aux_dir/install.sh -c"
4884 break
4885 - elif test -f $ac_dir/shtool; then
4886 + elif test -f "$ac_dir/shtool"; then
4887 ac_aux_dir=$ac_dir
4888 ac_install_sh="$ac_aux_dir/shtool install -c"
4889 break
4891 done
4892 if test -z "$ac_aux_dir"; then
4893 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
4894 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
4895 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
4896 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
4897 { (exit 1); exit 1; }; }
4899 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
4900 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
4901 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
4903 +# These three variables are undocumented and unsupported,
4904 +# and are intended to be withdrawn in a future Autoconf release.
4905 +# They can cause serious problems if a builder's source tree is in a directory
4906 +# whose full name contains unusual characters.
4907 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4908 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4909 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4912 # Find a good install program. We prefer a C program (faster),
4913 # so one script is as good as another. But avoid the broken or
4914 @@ -4167,8 +4713,8 @@ ac_configure="$SHELL $ac_aux_dir/configu
4915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4916 # OS/2's system install, which has a completely different semantic
4917 # ./install, which can be erroneously created by make from ./install.sh.
4918 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4919 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4920 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4921 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4922 if test -z "$INSTALL"; then
4923 if test "${ac_cv_path_install+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 @@ -4190,7 +4736,7 @@ case $as_dir/ in
4926 # by default.
4927 for ac_prog in ginstall scoinst install; do
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4930 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4931 if test $ac_prog = install &&
4932 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4933 # AIX install. It has an incompatible calling convention.
4934 @@ -4209,21 +4755,22 @@ case $as_dir/ in
4936 esac
4937 done
4938 +IFS=$as_save_IFS
4942 if test "${ac_cv_path_install+set}" = set; then
4943 INSTALL=$ac_cv_path_install
4944 else
4945 - # As a last resort, use the slow shell script. We don't cache a
4946 - # path for INSTALL within a source directory, because that will
4947 + # As a last resort, use the slow shell script. Don't cache a
4948 + # value for INSTALL within a source directory, because that will
4949 # break other packages using the cache if that directory is
4950 - # removed, or if the path is relative.
4951 + # removed, or if the value is a relative name.
4952 INSTALL=$ac_install_sh
4955 -echo "$as_me:$LINENO: result: $INSTALL" >&5
4956 -echo "${ECHO_T}$INSTALL" >&6
4957 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4958 +echo "${ECHO_T}$INSTALL" >&6; }
4960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4961 # It thinks the first close brace ends the variable substitution.
4962 @@ -4234,8 +4781,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
4963 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4966 -echo "$as_me:$LINENO: checking for unsigned short" >&5
4967 -echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
4968 +{ echo "$as_me:$LINENO: checking for unsigned short" >&5
4969 +echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
4970 if test "${ac_cv_type_unsigned_short+set}" = set; then
4971 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 else
4973 @@ -4246,60 +4793,57 @@ cat confdefs.h >>conftest.$ac_ext
4974 cat >>conftest.$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4976 $ac_includes_default
4977 +typedef unsigned short ac__type_new_;
4979 main ()
4981 -if ((unsigned short *) 0)
4982 +if ((ac__type_new_ *) 0)
4983 return 0;
4984 -if (sizeof (unsigned short))
4985 +if (sizeof (ac__type_new_))
4986 return 0;
4988 return 0;
4990 _ACEOF
4991 rm -f conftest.$ac_objext
4992 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4993 - (eval $ac_compile) 2>conftest.er1
4994 +if { (ac_try="$ac_compile"
4995 +case "(($ac_try" in
4996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4997 + *) ac_try_echo=$ac_try;;
4998 +esac
4999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5000 + (eval "$ac_compile") 2>conftest.er1
5001 ac_status=$?
5002 grep -v '^ *+' conftest.er1 >conftest.err
5003 rm -f conftest.er1
5004 cat conftest.err >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 - (exit $ac_status); } &&
5007 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5008 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009 - (eval $ac_try) 2>&5
5010 - ac_status=$?
5011 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 - (exit $ac_status); }; } &&
5013 - { ac_try='test -s conftest.$ac_objext'
5014 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 - (eval $ac_try) 2>&5
5016 - ac_status=$?
5017 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 - (exit $ac_status); }; }; then
5019 + (exit $ac_status); } && {
5020 + test -z "$ac_c_werror_flag" ||
5021 + test ! -s conftest.err
5022 + } && test -s conftest.$ac_objext; then
5023 ac_cv_type_unsigned_short=yes
5024 else
5025 echo "$as_me: failed program was:" >&5
5026 sed 's/^/| /' conftest.$ac_ext >&5
5028 -ac_cv_type_unsigned_short=no
5029 + ac_cv_type_unsigned_short=no
5031 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5033 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 -echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
5036 -echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
5037 +{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
5038 +echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
5040 -echo "$as_me:$LINENO: checking size of unsigned short" >&5
5041 -echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
5042 +# The cast to long int works around a bug in the HP C Compiler
5043 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5044 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5045 +# This bug is HP SR number 8606223364.
5046 +{ echo "$as_me:$LINENO: checking size of unsigned short" >&5
5047 +echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
5048 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
5049 echo $ECHO_N "(cached) $ECHO_C" >&6
5050 else
5051 - if test "$ac_cv_type_unsigned_short" = yes; then
5052 - # The cast to unsigned long works around a bug in the HP C Compiler
5053 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5054 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5055 - # This bug is HP SR number 8606223364.
5056 if test "$cross_compiling" = yes; then
5057 # Depending upon the size, compute the lo and hi bounds.
5058 cat >conftest.$ac_ext <<_ACEOF
5059 @@ -4309,10 +4853,11 @@ cat confdefs.h >>conftest.$ac_ext
5060 cat >>conftest.$ac_ext <<_ACEOF
5061 /* end confdefs.h. */
5062 $ac_includes_default
5063 + typedef unsigned short ac__type_sizeof_;
5065 main ()
5067 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
5068 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5069 test_array [0] = 0
5072 @@ -4320,26 +4865,22 @@ test_array [0] = 0
5074 _ACEOF
5075 rm -f conftest.$ac_objext
5076 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5077 - (eval $ac_compile) 2>conftest.er1
5078 +if { (ac_try="$ac_compile"
5079 +case "(($ac_try" in
5080 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5081 + *) ac_try_echo=$ac_try;;
5082 +esac
5083 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5084 + (eval "$ac_compile") 2>conftest.er1
5085 ac_status=$?
5086 grep -v '^ *+' conftest.er1 >conftest.err
5087 rm -f conftest.er1
5088 cat conftest.err >&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 - (exit $ac_status); } &&
5091 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5092 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093 - (eval $ac_try) 2>&5
5094 - ac_status=$?
5095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 - (exit $ac_status); }; } &&
5097 - { ac_try='test -s conftest.$ac_objext'
5098 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5099 - (eval $ac_try) 2>&5
5100 - ac_status=$?
5101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 - (exit $ac_status); }; }; then
5103 + (exit $ac_status); } && {
5104 + test -z "$ac_c_werror_flag" ||
5105 + test ! -s conftest.err
5106 + } && test -s conftest.$ac_objext; then
5107 ac_lo=0 ac_mid=0
5108 while :; do
5109 cat >conftest.$ac_ext <<_ACEOF
5110 @@ -4349,10 +4890,11 @@ cat confdefs.h >>conftest.$ac_ext
5111 cat >>conftest.$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5113 $ac_includes_default
5114 + typedef unsigned short ac__type_sizeof_;
5116 main ()
5118 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
5119 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5120 test_array [0] = 0
5123 @@ -4360,55 +4902,53 @@ test_array [0] = 0
5125 _ACEOF
5126 rm -f conftest.$ac_objext
5127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5128 - (eval $ac_compile) 2>conftest.er1
5129 +if { (ac_try="$ac_compile"
5130 +case "(($ac_try" in
5131 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132 + *) ac_try_echo=$ac_try;;
5133 +esac
5134 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135 + (eval "$ac_compile") 2>conftest.er1
5136 ac_status=$?
5137 grep -v '^ *+' conftest.er1 >conftest.err
5138 rm -f conftest.er1
5139 cat conftest.err >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 - (exit $ac_status); } &&
5142 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5143 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144 - (eval $ac_try) 2>&5
5145 - ac_status=$?
5146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 - (exit $ac_status); }; } &&
5148 - { ac_try='test -s conftest.$ac_objext'
5149 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5150 - (eval $ac_try) 2>&5
5151 - ac_status=$?
5152 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 - (exit $ac_status); }; }; then
5154 + (exit $ac_status); } && {
5155 + test -z "$ac_c_werror_flag" ||
5156 + test ! -s conftest.err
5157 + } && test -s conftest.$ac_objext; then
5158 ac_hi=$ac_mid; break
5159 else
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.$ac_ext >&5
5163 -ac_lo=`expr $ac_mid + 1`
5164 - if test $ac_lo -le $ac_mid; then
5165 - ac_lo= ac_hi=
5166 - break
5167 - fi
5168 - ac_mid=`expr 2 '*' $ac_mid + 1`
5169 + ac_lo=`expr $ac_mid + 1`
5170 + if test $ac_lo -le $ac_mid; then
5171 + ac_lo= ac_hi=
5172 + break
5173 + fi
5174 + ac_mid=`expr 2 '*' $ac_mid + 1`
5176 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5178 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5179 done
5180 else
5181 echo "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.$ac_ext >&5
5184 -cat >conftest.$ac_ext <<_ACEOF
5185 + cat >conftest.$ac_ext <<_ACEOF
5186 /* confdefs.h. */
5187 _ACEOF
5188 cat confdefs.h >>conftest.$ac_ext
5189 cat >>conftest.$ac_ext <<_ACEOF
5190 /* end confdefs.h. */
5191 $ac_includes_default
5192 + typedef unsigned short ac__type_sizeof_;
5194 main ()
5196 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
5197 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5198 test_array [0] = 0
5201 @@ -4416,26 +4956,22 @@ test_array [0] = 0
5203 _ACEOF
5204 rm -f conftest.$ac_objext
5205 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5206 - (eval $ac_compile) 2>conftest.er1
5207 +if { (ac_try="$ac_compile"
5208 +case "(($ac_try" in
5209 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5210 + *) ac_try_echo=$ac_try;;
5211 +esac
5212 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213 + (eval "$ac_compile") 2>conftest.er1
5214 ac_status=$?
5215 grep -v '^ *+' conftest.er1 >conftest.err
5216 rm -f conftest.er1
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 - (exit $ac_status); } &&
5220 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5221 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222 - (eval $ac_try) 2>&5
5223 - ac_status=$?
5224 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 - (exit $ac_status); }; } &&
5226 - { ac_try='test -s conftest.$ac_objext'
5227 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5228 - (eval $ac_try) 2>&5
5229 - ac_status=$?
5230 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231 - (exit $ac_status); }; }; then
5232 + (exit $ac_status); } && {
5233 + test -z "$ac_c_werror_flag" ||
5234 + test ! -s conftest.err
5235 + } && test -s conftest.$ac_objext; then
5236 ac_hi=-1 ac_mid=-1
5237 while :; do
5238 cat >conftest.$ac_ext <<_ACEOF
5239 @@ -4445,10 +4981,11 @@ cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 $ac_includes_default
5243 + typedef unsigned short ac__type_sizeof_;
5245 main ()
5247 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
5248 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5249 test_array [0] = 0
5252 @@ -4456,49 +4993,48 @@ test_array [0] = 0
5254 _ACEOF
5255 rm -f conftest.$ac_objext
5256 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5257 - (eval $ac_compile) 2>conftest.er1
5258 +if { (ac_try="$ac_compile"
5259 +case "(($ac_try" in
5260 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261 + *) ac_try_echo=$ac_try;;
5262 +esac
5263 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5264 + (eval "$ac_compile") 2>conftest.er1
5265 ac_status=$?
5266 grep -v '^ *+' conftest.er1 >conftest.err
5267 rm -f conftest.er1
5268 cat conftest.err >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 - (exit $ac_status); } &&
5271 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5272 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 - (eval $ac_try) 2>&5
5274 - ac_status=$?
5275 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 - (exit $ac_status); }; } &&
5277 - { ac_try='test -s conftest.$ac_objext'
5278 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 - (eval $ac_try) 2>&5
5280 - ac_status=$?
5281 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 - (exit $ac_status); }; }; then
5283 + (exit $ac_status); } && {
5284 + test -z "$ac_c_werror_flag" ||
5285 + test ! -s conftest.err
5286 + } && test -s conftest.$ac_objext; then
5287 ac_lo=$ac_mid; break
5288 else
5289 echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.$ac_ext >&5
5292 -ac_hi=`expr '(' $ac_mid ')' - 1`
5293 - if test $ac_mid -le $ac_hi; then
5294 - ac_lo= ac_hi=
5295 - break
5296 - fi
5297 - ac_mid=`expr 2 '*' $ac_mid`
5298 + ac_hi=`expr '(' $ac_mid ')' - 1`
5299 + if test $ac_mid -le $ac_hi; then
5300 + ac_lo= ac_hi=
5301 + break
5302 + fi
5303 + ac_mid=`expr 2 '*' $ac_mid`
5305 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5307 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5308 done
5309 else
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 -ac_lo= ac_hi=
5314 + ac_lo= ac_hi=
5316 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5318 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5322 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323 # Binary search between lo and hi bounds.
5324 while test "x$ac_lo" != "x$ac_hi"; do
5325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5326 @@ -4509,10 +5045,11 @@ cat confdefs.h >>conftest.$ac_ext
5327 cat >>conftest.$ac_ext <<_ACEOF
5328 /* end confdefs.h. */
5329 $ac_includes_default
5330 + typedef unsigned short ac__type_sizeof_;
5332 main ()
5334 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
5335 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5336 test_array [0] = 0
5339 @@ -4520,49 +5057,45 @@ test_array [0] = 0
5341 _ACEOF
5342 rm -f conftest.$ac_objext
5343 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5344 - (eval $ac_compile) 2>conftest.er1
5345 +if { (ac_try="$ac_compile"
5346 +case "(($ac_try" in
5347 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5348 + *) ac_try_echo=$ac_try;;
5349 +esac
5350 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5351 + (eval "$ac_compile") 2>conftest.er1
5352 ac_status=$?
5353 grep -v '^ *+' conftest.er1 >conftest.err
5354 rm -f conftest.er1
5355 cat conftest.err >&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 - (exit $ac_status); } &&
5358 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5359 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5360 - (eval $ac_try) 2>&5
5361 - ac_status=$?
5362 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 - (exit $ac_status); }; } &&
5364 - { ac_try='test -s conftest.$ac_objext'
5365 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5366 - (eval $ac_try) 2>&5
5367 - ac_status=$?
5368 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 - (exit $ac_status); }; }; then
5370 + (exit $ac_status); } && {
5371 + test -z "$ac_c_werror_flag" ||
5372 + test ! -s conftest.err
5373 + } && test -s conftest.$ac_objext; then
5374 ac_hi=$ac_mid
5375 else
5376 echo "$as_me: failed program was:" >&5
5377 sed 's/^/| /' conftest.$ac_ext >&5
5379 -ac_lo=`expr '(' $ac_mid ')' + 1`
5380 + ac_lo=`expr '(' $ac_mid ')' + 1`
5382 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5384 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385 done
5386 case $ac_lo in
5387 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
5388 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
5389 +'') if test "$ac_cv_type_unsigned_short" = yes; then
5390 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
5391 See \`config.log' for more details." >&5
5392 -echo "$as_me: error: cannot compute sizeof (unsigned short), 77
5393 +echo "$as_me: error: cannot compute sizeof (unsigned short)
5394 See \`config.log' for more details." >&2;}
5395 - { (exit 1); exit 1; }; } ;;
5396 + { (exit 77); exit 77; }; }
5397 + else
5398 + ac_cv_sizeof_unsigned_short=0
5399 + fi ;;
5400 esac
5401 else
5402 - if test "$cross_compiling" = yes; then
5403 - { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
5404 -echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5405 - { (exit 1); exit 1; }; }
5406 -else
5407 cat >conftest.$ac_ext <<_ACEOF
5408 /* confdefs.h. */
5409 _ACEOF
5410 @@ -4570,8 +5103,9 @@ cat confdefs.h >>conftest.$ac_ext
5411 cat >>conftest.$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5413 $ac_includes_default
5414 -long longval () { return (long) (sizeof (unsigned short)); }
5415 -unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
5416 + typedef unsigned short ac__type_sizeof_;
5417 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5418 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5419 #include <stdio.h>
5420 #include <stdlib.h>
5422 @@ -4580,35 +5114,44 @@ main ()
5424 FILE *f = fopen ("conftest.val", "w");
5425 if (! f)
5426 - exit (1);
5427 - if (((long) (sizeof (unsigned short))) < 0)
5428 + return 1;
5429 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5431 - long i = longval ();
5432 - if (i != ((long) (sizeof (unsigned short))))
5433 - exit (1);
5434 + long int i = longval ();
5435 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5436 + return 1;
5437 fprintf (f, "%ld\n", i);
5439 else
5441 - unsigned long i = ulongval ();
5442 - if (i != ((long) (sizeof (unsigned short))))
5443 - exit (1);
5444 + unsigned long int i = ulongval ();
5445 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5446 + return 1;
5447 fprintf (f, "%lu\n", i);
5449 - exit (ferror (f) || fclose (f) != 0);
5450 + return ferror (f) || fclose (f) != 0;
5453 return 0;
5455 _ACEOF
5456 rm -f conftest$ac_exeext
5457 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5458 - (eval $ac_link) 2>&5
5459 +if { (ac_try="$ac_link"
5460 +case "(($ac_try" in
5461 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5462 + *) ac_try_echo=$ac_try;;
5463 +esac
5464 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5465 + (eval "$ac_link") 2>&5
5466 ac_status=$?
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5469 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5470 - (eval $ac_try) 2>&5
5471 + { (case "(($ac_try" in
5472 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5473 + *) ac_try_echo=$ac_try;;
5474 +esac
5475 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5476 + (eval "$ac_try") 2>&5
5477 ac_status=$?
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; }; then
5480 @@ -4619,29 +5162,32 @@ echo "$as_me: failed program was:" >&5
5481 sed 's/^/| /' conftest.$ac_ext >&5
5483 ( exit $ac_status )
5484 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77
5485 +if test "$ac_cv_type_unsigned_short" = yes; then
5486 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
5487 See \`config.log' for more details." >&5
5488 -echo "$as_me: error: cannot compute sizeof (unsigned short), 77
5489 +echo "$as_me: error: cannot compute sizeof (unsigned short)
5490 See \`config.log' for more details." >&2;}
5491 - { (exit 1); exit 1; }; }
5493 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5494 + { (exit 77); exit 77; }; }
5495 + else
5496 + ac_cv_sizeof_unsigned_short=0
5497 + fi
5499 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5501 rm -f conftest.val
5502 -else
5503 - ac_cv_sizeof_unsigned_short=0
5506 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
5507 -echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
5508 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
5509 +echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
5513 cat >>confdefs.h <<_ACEOF
5514 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
5515 _ACEOF
5518 -echo "$as_me:$LINENO: checking for unsigned int" >&5
5519 -echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
5520 +{ echo "$as_me:$LINENO: checking for unsigned int" >&5
5521 +echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
5522 if test "${ac_cv_type_unsigned_int+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 else
5525 @@ -4652,60 +5198,57 @@ cat confdefs.h >>conftest.$ac_ext
5526 cat >>conftest.$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528 $ac_includes_default
5529 +typedef unsigned int ac__type_new_;
5531 main ()
5533 -if ((unsigned int *) 0)
5534 +if ((ac__type_new_ *) 0)
5535 return 0;
5536 -if (sizeof (unsigned int))
5537 +if (sizeof (ac__type_new_))
5538 return 0;
5540 return 0;
5542 _ACEOF
5543 rm -f conftest.$ac_objext
5544 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5545 - (eval $ac_compile) 2>conftest.er1
5546 +if { (ac_try="$ac_compile"
5547 +case "(($ac_try" in
5548 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5549 + *) ac_try_echo=$ac_try;;
5550 +esac
5551 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5552 + (eval "$ac_compile") 2>conftest.er1
5553 ac_status=$?
5554 grep -v '^ *+' conftest.er1 >conftest.err
5555 rm -f conftest.er1
5556 cat conftest.err >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 - (exit $ac_status); } &&
5559 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5560 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561 - (eval $ac_try) 2>&5
5562 - ac_status=$?
5563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 - (exit $ac_status); }; } &&
5565 - { ac_try='test -s conftest.$ac_objext'
5566 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 - (eval $ac_try) 2>&5
5568 - ac_status=$?
5569 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 - (exit $ac_status); }; }; then
5571 + (exit $ac_status); } && {
5572 + test -z "$ac_c_werror_flag" ||
5573 + test ! -s conftest.err
5574 + } && test -s conftest.$ac_objext; then
5575 ac_cv_type_unsigned_int=yes
5576 else
5577 echo "$as_me: failed program was:" >&5
5578 sed 's/^/| /' conftest.$ac_ext >&5
5580 -ac_cv_type_unsigned_int=no
5581 + ac_cv_type_unsigned_int=no
5583 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5585 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587 -echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
5588 -echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
5589 +{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
5590 +echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
5592 -echo "$as_me:$LINENO: checking size of unsigned int" >&5
5593 -echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
5594 +# The cast to long int works around a bug in the HP C Compiler
5595 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5596 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5597 +# This bug is HP SR number 8606223364.
5598 +{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
5599 +echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
5600 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 else
5603 - if test "$ac_cv_type_unsigned_int" = yes; then
5604 - # The cast to unsigned long works around a bug in the HP C Compiler
5605 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5606 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5607 - # This bug is HP SR number 8606223364.
5608 if test "$cross_compiling" = yes; then
5609 # Depending upon the size, compute the lo and hi bounds.
5610 cat >conftest.$ac_ext <<_ACEOF
5611 @@ -4715,10 +5258,11 @@ cat confdefs.h >>conftest.$ac_ext
5612 cat >>conftest.$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5614 $ac_includes_default
5615 + typedef unsigned int ac__type_sizeof_;
5617 main ()
5619 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
5620 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5621 test_array [0] = 0
5624 @@ -4726,26 +5270,22 @@ test_array [0] = 0
5626 _ACEOF
5627 rm -f conftest.$ac_objext
5628 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5629 - (eval $ac_compile) 2>conftest.er1
5630 +if { (ac_try="$ac_compile"
5631 +case "(($ac_try" in
5632 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5633 + *) ac_try_echo=$ac_try;;
5634 +esac
5635 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5636 + (eval "$ac_compile") 2>conftest.er1
5637 ac_status=$?
5638 grep -v '^ *+' conftest.er1 >conftest.err
5639 rm -f conftest.er1
5640 cat conftest.err >&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 - (exit $ac_status); } &&
5643 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5644 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5645 - (eval $ac_try) 2>&5
5646 - ac_status=$?
5647 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 - (exit $ac_status); }; } &&
5649 - { ac_try='test -s conftest.$ac_objext'
5650 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5651 - (eval $ac_try) 2>&5
5652 - ac_status=$?
5653 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 - (exit $ac_status); }; }; then
5655 + (exit $ac_status); } && {
5656 + test -z "$ac_c_werror_flag" ||
5657 + test ! -s conftest.err
5658 + } && test -s conftest.$ac_objext; then
5659 ac_lo=0 ac_mid=0
5660 while :; do
5661 cat >conftest.$ac_ext <<_ACEOF
5662 @@ -4755,10 +5295,11 @@ cat confdefs.h >>conftest.$ac_ext
5663 cat >>conftest.$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5665 $ac_includes_default
5666 + typedef unsigned int ac__type_sizeof_;
5668 main ()
5670 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
5671 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5672 test_array [0] = 0
5675 @@ -4766,55 +5307,53 @@ test_array [0] = 0
5677 _ACEOF
5678 rm -f conftest.$ac_objext
5679 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5680 - (eval $ac_compile) 2>conftest.er1
5681 +if { (ac_try="$ac_compile"
5682 +case "(($ac_try" in
5683 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5684 + *) ac_try_echo=$ac_try;;
5685 +esac
5686 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5687 + (eval "$ac_compile") 2>conftest.er1
5688 ac_status=$?
5689 grep -v '^ *+' conftest.er1 >conftest.err
5690 rm -f conftest.er1
5691 cat conftest.err >&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 - (exit $ac_status); } &&
5694 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5695 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 - (eval $ac_try) 2>&5
5697 - ac_status=$?
5698 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 - (exit $ac_status); }; } &&
5700 - { ac_try='test -s conftest.$ac_objext'
5701 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5702 - (eval $ac_try) 2>&5
5703 - ac_status=$?
5704 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 - (exit $ac_status); }; }; then
5706 + (exit $ac_status); } && {
5707 + test -z "$ac_c_werror_flag" ||
5708 + test ! -s conftest.err
5709 + } && test -s conftest.$ac_objext; then
5710 ac_hi=$ac_mid; break
5711 else
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 -ac_lo=`expr $ac_mid + 1`
5716 - if test $ac_lo -le $ac_mid; then
5717 - ac_lo= ac_hi=
5718 - break
5719 - fi
5720 - ac_mid=`expr 2 '*' $ac_mid + 1`
5721 + ac_lo=`expr $ac_mid + 1`
5722 + if test $ac_lo -le $ac_mid; then
5723 + ac_lo= ac_hi=
5724 + break
5725 + fi
5726 + ac_mid=`expr 2 '*' $ac_mid + 1`
5728 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5730 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5731 done
5732 else
5733 echo "$as_me: failed program was:" >&5
5734 sed 's/^/| /' conftest.$ac_ext >&5
5736 -cat >conftest.$ac_ext <<_ACEOF
5737 + cat >conftest.$ac_ext <<_ACEOF
5738 /* confdefs.h. */
5739 _ACEOF
5740 cat confdefs.h >>conftest.$ac_ext
5741 cat >>conftest.$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 $ac_includes_default
5744 + typedef unsigned int ac__type_sizeof_;
5746 main ()
5748 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
5749 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5750 test_array [0] = 0
5753 @@ -4822,26 +5361,22 @@ test_array [0] = 0
5755 _ACEOF
5756 rm -f conftest.$ac_objext
5757 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5758 - (eval $ac_compile) 2>conftest.er1
5759 +if { (ac_try="$ac_compile"
5760 +case "(($ac_try" in
5761 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5762 + *) ac_try_echo=$ac_try;;
5763 +esac
5764 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5765 + (eval "$ac_compile") 2>conftest.er1
5766 ac_status=$?
5767 grep -v '^ *+' conftest.er1 >conftest.err
5768 rm -f conftest.er1
5769 cat conftest.err >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 - (exit $ac_status); } &&
5772 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5774 - (eval $ac_try) 2>&5
5775 - ac_status=$?
5776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 - (exit $ac_status); }; } &&
5778 - { ac_try='test -s conftest.$ac_objext'
5779 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5780 - (eval $ac_try) 2>&5
5781 - ac_status=$?
5782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 - (exit $ac_status); }; }; then
5784 + (exit $ac_status); } && {
5785 + test -z "$ac_c_werror_flag" ||
5786 + test ! -s conftest.err
5787 + } && test -s conftest.$ac_objext; then
5788 ac_hi=-1 ac_mid=-1
5789 while :; do
5790 cat >conftest.$ac_ext <<_ACEOF
5791 @@ -4851,10 +5386,11 @@ cat confdefs.h >>conftest.$ac_ext
5792 cat >>conftest.$ac_ext <<_ACEOF
5793 /* end confdefs.h. */
5794 $ac_includes_default
5795 + typedef unsigned int ac__type_sizeof_;
5797 main ()
5799 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
5800 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5801 test_array [0] = 0
5804 @@ -4862,49 +5398,48 @@ test_array [0] = 0
5806 _ACEOF
5807 rm -f conftest.$ac_objext
5808 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5809 - (eval $ac_compile) 2>conftest.er1
5810 +if { (ac_try="$ac_compile"
5811 +case "(($ac_try" in
5812 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5813 + *) ac_try_echo=$ac_try;;
5814 +esac
5815 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5816 + (eval "$ac_compile") 2>conftest.er1
5817 ac_status=$?
5818 grep -v '^ *+' conftest.er1 >conftest.err
5819 rm -f conftest.er1
5820 cat conftest.err >&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 - (exit $ac_status); } &&
5823 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5824 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 - (eval $ac_try) 2>&5
5826 - ac_status=$?
5827 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 - (exit $ac_status); }; } &&
5829 - { ac_try='test -s conftest.$ac_objext'
5830 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 - (eval $ac_try) 2>&5
5832 - ac_status=$?
5833 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 - (exit $ac_status); }; }; then
5835 + (exit $ac_status); } && {
5836 + test -z "$ac_c_werror_flag" ||
5837 + test ! -s conftest.err
5838 + } && test -s conftest.$ac_objext; then
5839 ac_lo=$ac_mid; break
5840 else
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.$ac_ext >&5
5844 -ac_hi=`expr '(' $ac_mid ')' - 1`
5845 - if test $ac_mid -le $ac_hi; then
5846 - ac_lo= ac_hi=
5847 - break
5848 - fi
5849 - ac_mid=`expr 2 '*' $ac_mid`
5850 + ac_hi=`expr '(' $ac_mid ')' - 1`
5851 + if test $ac_mid -le $ac_hi; then
5852 + ac_lo= ac_hi=
5853 + break
5854 + fi
5855 + ac_mid=`expr 2 '*' $ac_mid`
5857 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5859 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5860 done
5861 else
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.$ac_ext >&5
5865 -ac_lo= ac_hi=
5866 + ac_lo= ac_hi=
5868 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5870 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5874 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5875 # Binary search between lo and hi bounds.
5876 while test "x$ac_lo" != "x$ac_hi"; do
5877 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5878 @@ -4915,10 +5450,11 @@ cat confdefs.h >>conftest.$ac_ext
5879 cat >>conftest.$ac_ext <<_ACEOF
5880 /* end confdefs.h. */
5881 $ac_includes_default
5882 + typedef unsigned int ac__type_sizeof_;
5884 main ()
5886 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
5887 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5888 test_array [0] = 0
5891 @@ -4926,49 +5462,45 @@ test_array [0] = 0
5893 _ACEOF
5894 rm -f conftest.$ac_objext
5895 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5896 - (eval $ac_compile) 2>conftest.er1
5897 +if { (ac_try="$ac_compile"
5898 +case "(($ac_try" in
5899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5900 + *) ac_try_echo=$ac_try;;
5901 +esac
5902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5903 + (eval "$ac_compile") 2>conftest.er1
5904 ac_status=$?
5905 grep -v '^ *+' conftest.er1 >conftest.err
5906 rm -f conftest.er1
5907 cat conftest.err >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 - (exit $ac_status); } &&
5910 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5911 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 - (eval $ac_try) 2>&5
5913 - ac_status=$?
5914 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 - (exit $ac_status); }; } &&
5916 - { ac_try='test -s conftest.$ac_objext'
5917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 - (eval $ac_try) 2>&5
5919 - ac_status=$?
5920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 - (exit $ac_status); }; }; then
5922 + (exit $ac_status); } && {
5923 + test -z "$ac_c_werror_flag" ||
5924 + test ! -s conftest.err
5925 + } && test -s conftest.$ac_objext; then
5926 ac_hi=$ac_mid
5927 else
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.$ac_ext >&5
5931 -ac_lo=`expr '(' $ac_mid ')' + 1`
5932 + ac_lo=`expr '(' $ac_mid ')' + 1`
5934 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5936 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5937 done
5938 case $ac_lo in
5939 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
5940 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
5941 +'') if test "$ac_cv_type_unsigned_int" = yes; then
5942 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
5943 See \`config.log' for more details." >&5
5944 -echo "$as_me: error: cannot compute sizeof (unsigned int), 77
5945 +echo "$as_me: error: cannot compute sizeof (unsigned int)
5946 See \`config.log' for more details." >&2;}
5947 - { (exit 1); exit 1; }; } ;;
5948 + { (exit 77); exit 77; }; }
5949 + else
5950 + ac_cv_sizeof_unsigned_int=0
5951 + fi ;;
5952 esac
5953 else
5954 - if test "$cross_compiling" = yes; then
5955 - { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
5956 -echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5957 - { (exit 1); exit 1; }; }
5958 -else
5959 cat >conftest.$ac_ext <<_ACEOF
5960 /* confdefs.h. */
5961 _ACEOF
5962 @@ -4976,8 +5508,9 @@ cat confdefs.h >>conftest.$ac_ext
5963 cat >>conftest.$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 $ac_includes_default
5966 -long longval () { return (long) (sizeof (unsigned int)); }
5967 -unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
5968 + typedef unsigned int ac__type_sizeof_;
5969 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5970 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5971 #include <stdio.h>
5972 #include <stdlib.h>
5974 @@ -4986,35 +5519,44 @@ main ()
5976 FILE *f = fopen ("conftest.val", "w");
5977 if (! f)
5978 - exit (1);
5979 - if (((long) (sizeof (unsigned int))) < 0)
5980 + return 1;
5981 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5983 - long i = longval ();
5984 - if (i != ((long) (sizeof (unsigned int))))
5985 - exit (1);
5986 + long int i = longval ();
5987 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5988 + return 1;
5989 fprintf (f, "%ld\n", i);
5991 else
5993 - unsigned long i = ulongval ();
5994 - if (i != ((long) (sizeof (unsigned int))))
5995 - exit (1);
5996 + unsigned long int i = ulongval ();
5997 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5998 + return 1;
5999 fprintf (f, "%lu\n", i);
6001 - exit (ferror (f) || fclose (f) != 0);
6002 + return ferror (f) || fclose (f) != 0;
6005 return 0;
6007 _ACEOF
6008 rm -f conftest$ac_exeext
6009 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6010 - (eval $ac_link) 2>&5
6011 +if { (ac_try="$ac_link"
6012 +case "(($ac_try" in
6013 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6014 + *) ac_try_echo=$ac_try;;
6015 +esac
6016 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6017 + (eval "$ac_link") 2>&5
6018 ac_status=$?
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6021 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 - (eval $ac_try) 2>&5
6023 + { (case "(($ac_try" in
6024 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6025 + *) ac_try_echo=$ac_try;;
6026 +esac
6027 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6028 + (eval "$ac_try") 2>&5
6029 ac_status=$?
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6032 @@ -5025,29 +5567,32 @@ echo "$as_me: failed program was:" >&5
6033 sed 's/^/| /' conftest.$ac_ext >&5
6035 ( exit $ac_status )
6036 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
6037 +if test "$ac_cv_type_unsigned_int" = yes; then
6038 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
6039 See \`config.log' for more details." >&5
6040 -echo "$as_me: error: cannot compute sizeof (unsigned int), 77
6041 +echo "$as_me: error: cannot compute sizeof (unsigned int)
6042 See \`config.log' for more details." >&2;}
6043 - { (exit 1); exit 1; }; }
6045 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6046 + { (exit 77); exit 77; }; }
6047 + else
6048 + ac_cv_sizeof_unsigned_int=0
6049 + fi
6051 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6053 rm -f conftest.val
6054 -else
6055 - ac_cv_sizeof_unsigned_int=0
6058 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
6059 -echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
6060 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
6061 +echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
6065 cat >>confdefs.h <<_ACEOF
6066 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
6067 _ACEOF
6070 -echo "$as_me:$LINENO: checking for unsigned long" >&5
6071 -echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
6072 +{ echo "$as_me:$LINENO: checking for unsigned long" >&5
6073 +echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
6074 if test "${ac_cv_type_unsigned_long+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 else
6077 @@ -5058,60 +5603,57 @@ cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 $ac_includes_default
6081 +typedef unsigned long ac__type_new_;
6083 main ()
6085 -if ((unsigned long *) 0)
6086 +if ((ac__type_new_ *) 0)
6087 return 0;
6088 -if (sizeof (unsigned long))
6089 +if (sizeof (ac__type_new_))
6090 return 0;
6092 return 0;
6094 _ACEOF
6095 rm -f conftest.$ac_objext
6096 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6097 - (eval $ac_compile) 2>conftest.er1
6098 +if { (ac_try="$ac_compile"
6099 +case "(($ac_try" in
6100 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6101 + *) ac_try_echo=$ac_try;;
6102 +esac
6103 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6104 + (eval "$ac_compile") 2>conftest.er1
6105 ac_status=$?
6106 grep -v '^ *+' conftest.er1 >conftest.err
6107 rm -f conftest.er1
6108 cat conftest.err >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 - (exit $ac_status); } &&
6111 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6112 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6113 - (eval $ac_try) 2>&5
6114 - ac_status=$?
6115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 - (exit $ac_status); }; } &&
6117 - { ac_try='test -s conftest.$ac_objext'
6118 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 - (eval $ac_try) 2>&5
6120 - ac_status=$?
6121 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 - (exit $ac_status); }; }; then
6123 + (exit $ac_status); } && {
6124 + test -z "$ac_c_werror_flag" ||
6125 + test ! -s conftest.err
6126 + } && test -s conftest.$ac_objext; then
6127 ac_cv_type_unsigned_long=yes
6128 else
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.$ac_ext >&5
6132 -ac_cv_type_unsigned_long=no
6133 + ac_cv_type_unsigned_long=no
6135 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6137 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6139 -echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
6140 -echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
6141 +{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
6142 +echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
6144 -echo "$as_me:$LINENO: checking size of unsigned long" >&5
6145 -echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
6146 +# The cast to long int works around a bug in the HP C Compiler
6147 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6148 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6149 +# This bug is HP SR number 8606223364.
6150 +{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
6151 +echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
6152 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 else
6155 - if test "$ac_cv_type_unsigned_long" = yes; then
6156 - # The cast to unsigned long works around a bug in the HP C Compiler
6157 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6158 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6159 - # This bug is HP SR number 8606223364.
6160 if test "$cross_compiling" = yes; then
6161 # Depending upon the size, compute the lo and hi bounds.
6162 cat >conftest.$ac_ext <<_ACEOF
6163 @@ -5121,10 +5663,11 @@ cat confdefs.h >>conftest.$ac_ext
6164 cat >>conftest.$ac_ext <<_ACEOF
6165 /* end confdefs.h. */
6166 $ac_includes_default
6167 + typedef unsigned long ac__type_sizeof_;
6169 main ()
6171 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
6172 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6173 test_array [0] = 0
6176 @@ -5132,26 +5675,22 @@ test_array [0] = 0
6178 _ACEOF
6179 rm -f conftest.$ac_objext
6180 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6181 - (eval $ac_compile) 2>conftest.er1
6182 +if { (ac_try="$ac_compile"
6183 +case "(($ac_try" in
6184 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6185 + *) ac_try_echo=$ac_try;;
6186 +esac
6187 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6188 + (eval "$ac_compile") 2>conftest.er1
6189 ac_status=$?
6190 grep -v '^ *+' conftest.er1 >conftest.err
6191 rm -f conftest.er1
6192 cat conftest.err >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 - (exit $ac_status); } &&
6195 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 - (eval $ac_try) 2>&5
6198 - ac_status=$?
6199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 - (exit $ac_status); }; } &&
6201 - { ac_try='test -s conftest.$ac_objext'
6202 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 - (eval $ac_try) 2>&5
6204 - ac_status=$?
6205 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 - (exit $ac_status); }; }; then
6207 + (exit $ac_status); } && {
6208 + test -z "$ac_c_werror_flag" ||
6209 + test ! -s conftest.err
6210 + } && test -s conftest.$ac_objext; then
6211 ac_lo=0 ac_mid=0
6212 while :; do
6213 cat >conftest.$ac_ext <<_ACEOF
6214 @@ -5161,10 +5700,11 @@ cat confdefs.h >>conftest.$ac_ext
6215 cat >>conftest.$ac_ext <<_ACEOF
6216 /* end confdefs.h. */
6217 $ac_includes_default
6218 + typedef unsigned long ac__type_sizeof_;
6220 main ()
6222 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
6223 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6224 test_array [0] = 0
6227 @@ -5172,55 +5712,53 @@ test_array [0] = 0
6229 _ACEOF
6230 rm -f conftest.$ac_objext
6231 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6232 - (eval $ac_compile) 2>conftest.er1
6233 +if { (ac_try="$ac_compile"
6234 +case "(($ac_try" in
6235 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6236 + *) ac_try_echo=$ac_try;;
6237 +esac
6238 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6239 + (eval "$ac_compile") 2>conftest.er1
6240 ac_status=$?
6241 grep -v '^ *+' conftest.er1 >conftest.err
6242 rm -f conftest.er1
6243 cat conftest.err >&5
6244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 - (exit $ac_status); } &&
6246 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6247 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 - (eval $ac_try) 2>&5
6249 - ac_status=$?
6250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 - (exit $ac_status); }; } &&
6252 - { ac_try='test -s conftest.$ac_objext'
6253 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6254 - (eval $ac_try) 2>&5
6255 - ac_status=$?
6256 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 - (exit $ac_status); }; }; then
6258 + (exit $ac_status); } && {
6259 + test -z "$ac_c_werror_flag" ||
6260 + test ! -s conftest.err
6261 + } && test -s conftest.$ac_objext; then
6262 ac_hi=$ac_mid; break
6263 else
6264 echo "$as_me: failed program was:" >&5
6265 sed 's/^/| /' conftest.$ac_ext >&5
6267 -ac_lo=`expr $ac_mid + 1`
6268 - if test $ac_lo -le $ac_mid; then
6269 - ac_lo= ac_hi=
6270 - break
6271 - fi
6272 - ac_mid=`expr 2 '*' $ac_mid + 1`
6273 + ac_lo=`expr $ac_mid + 1`
6274 + if test $ac_lo -le $ac_mid; then
6275 + ac_lo= ac_hi=
6276 + break
6277 + fi
6278 + ac_mid=`expr 2 '*' $ac_mid + 1`
6280 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6282 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6283 done
6284 else
6285 echo "$as_me: failed program was:" >&5
6286 sed 's/^/| /' conftest.$ac_ext >&5
6288 -cat >conftest.$ac_ext <<_ACEOF
6289 + cat >conftest.$ac_ext <<_ACEOF
6290 /* confdefs.h. */
6291 _ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6295 $ac_includes_default
6296 + typedef unsigned long ac__type_sizeof_;
6298 main ()
6300 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
6301 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6302 test_array [0] = 0
6305 @@ -5228,26 +5766,22 @@ test_array [0] = 0
6307 _ACEOF
6308 rm -f conftest.$ac_objext
6309 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6310 - (eval $ac_compile) 2>conftest.er1
6311 +if { (ac_try="$ac_compile"
6312 +case "(($ac_try" in
6313 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6314 + *) ac_try_echo=$ac_try;;
6315 +esac
6316 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6317 + (eval "$ac_compile") 2>conftest.er1
6318 ac_status=$?
6319 grep -v '^ *+' conftest.er1 >conftest.err
6320 rm -f conftest.er1
6321 cat conftest.err >&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 - (exit $ac_status); } &&
6324 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6325 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 - (eval $ac_try) 2>&5
6327 - ac_status=$?
6328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 - (exit $ac_status); }; } &&
6330 - { ac_try='test -s conftest.$ac_objext'
6331 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 - (eval $ac_try) 2>&5
6333 - ac_status=$?
6334 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 - (exit $ac_status); }; }; then
6336 + (exit $ac_status); } && {
6337 + test -z "$ac_c_werror_flag" ||
6338 + test ! -s conftest.err
6339 + } && test -s conftest.$ac_objext; then
6340 ac_hi=-1 ac_mid=-1
6341 while :; do
6342 cat >conftest.$ac_ext <<_ACEOF
6343 @@ -5257,10 +5791,11 @@ cat confdefs.h >>conftest.$ac_ext
6344 cat >>conftest.$ac_ext <<_ACEOF
6345 /* end confdefs.h. */
6346 $ac_includes_default
6347 + typedef unsigned long ac__type_sizeof_;
6349 main ()
6351 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
6352 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6353 test_array [0] = 0
6356 @@ -5268,49 +5803,48 @@ test_array [0] = 0
6358 _ACEOF
6359 rm -f conftest.$ac_objext
6360 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6361 - (eval $ac_compile) 2>conftest.er1
6362 +if { (ac_try="$ac_compile"
6363 +case "(($ac_try" in
6364 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6365 + *) ac_try_echo=$ac_try;;
6366 +esac
6367 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6368 + (eval "$ac_compile") 2>conftest.er1
6369 ac_status=$?
6370 grep -v '^ *+' conftest.er1 >conftest.err
6371 rm -f conftest.er1
6372 cat conftest.err >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 - (exit $ac_status); } &&
6375 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6376 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6377 - (eval $ac_try) 2>&5
6378 - ac_status=$?
6379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 - (exit $ac_status); }; } &&
6381 - { ac_try='test -s conftest.$ac_objext'
6382 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6383 - (eval $ac_try) 2>&5
6384 - ac_status=$?
6385 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 - (exit $ac_status); }; }; then
6387 + (exit $ac_status); } && {
6388 + test -z "$ac_c_werror_flag" ||
6389 + test ! -s conftest.err
6390 + } && test -s conftest.$ac_objext; then
6391 ac_lo=$ac_mid; break
6392 else
6393 echo "$as_me: failed program was:" >&5
6394 sed 's/^/| /' conftest.$ac_ext >&5
6396 -ac_hi=`expr '(' $ac_mid ')' - 1`
6397 - if test $ac_mid -le $ac_hi; then
6398 - ac_lo= ac_hi=
6399 - break
6400 - fi
6401 - ac_mid=`expr 2 '*' $ac_mid`
6402 + ac_hi=`expr '(' $ac_mid ')' - 1`
6403 + if test $ac_mid -le $ac_hi; then
6404 + ac_lo= ac_hi=
6405 + break
6406 + fi
6407 + ac_mid=`expr 2 '*' $ac_mid`
6409 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6411 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6412 done
6413 else
6414 echo "$as_me: failed program was:" >&5
6415 sed 's/^/| /' conftest.$ac_ext >&5
6417 -ac_lo= ac_hi=
6418 + ac_lo= ac_hi=
6420 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6422 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6424 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6426 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6427 # Binary search between lo and hi bounds.
6428 while test "x$ac_lo" != "x$ac_hi"; do
6429 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6430 @@ -5321,10 +5855,11 @@ cat confdefs.h >>conftest.$ac_ext
6431 cat >>conftest.$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6433 $ac_includes_default
6434 + typedef unsigned long ac__type_sizeof_;
6436 main ()
6438 -static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
6439 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6440 test_array [0] = 0
6443 @@ -5332,49 +5867,45 @@ test_array [0] = 0
6445 _ACEOF
6446 rm -f conftest.$ac_objext
6447 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6448 - (eval $ac_compile) 2>conftest.er1
6449 +if { (ac_try="$ac_compile"
6450 +case "(($ac_try" in
6451 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6452 + *) ac_try_echo=$ac_try;;
6453 +esac
6454 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6455 + (eval "$ac_compile") 2>conftest.er1
6456 ac_status=$?
6457 grep -v '^ *+' conftest.er1 >conftest.err
6458 rm -f conftest.er1
6459 cat conftest.err >&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 - (exit $ac_status); } &&
6462 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6463 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 - (eval $ac_try) 2>&5
6465 - ac_status=$?
6466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 - (exit $ac_status); }; } &&
6468 - { ac_try='test -s conftest.$ac_objext'
6469 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470 - (eval $ac_try) 2>&5
6471 - ac_status=$?
6472 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 - (exit $ac_status); }; }; then
6474 + (exit $ac_status); } && {
6475 + test -z "$ac_c_werror_flag" ||
6476 + test ! -s conftest.err
6477 + } && test -s conftest.$ac_objext; then
6478 ac_hi=$ac_mid
6479 else
6480 echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6483 -ac_lo=`expr '(' $ac_mid ')' + 1`
6484 + ac_lo=`expr '(' $ac_mid ')' + 1`
6486 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6488 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6489 done
6490 case $ac_lo in
6491 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
6492 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
6493 +'') if test "$ac_cv_type_unsigned_long" = yes; then
6494 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
6495 See \`config.log' for more details." >&5
6496 -echo "$as_me: error: cannot compute sizeof (unsigned long), 77
6497 +echo "$as_me: error: cannot compute sizeof (unsigned long)
6498 See \`config.log' for more details." >&2;}
6499 - { (exit 1); exit 1; }; } ;;
6500 + { (exit 77); exit 77; }; }
6501 + else
6502 + ac_cv_sizeof_unsigned_long=0
6503 + fi ;;
6504 esac
6505 else
6506 - if test "$cross_compiling" = yes; then
6507 - { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
6508 -echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
6509 - { (exit 1); exit 1; }; }
6510 -else
6511 cat >conftest.$ac_ext <<_ACEOF
6512 /* confdefs.h. */
6513 _ACEOF
6514 @@ -5382,8 +5913,9 @@ cat confdefs.h >>conftest.$ac_ext
6515 cat >>conftest.$ac_ext <<_ACEOF
6516 /* end confdefs.h. */
6517 $ac_includes_default
6518 -long longval () { return (long) (sizeof (unsigned long)); }
6519 -unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
6520 + typedef unsigned long ac__type_sizeof_;
6521 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6522 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6523 #include <stdio.h>
6524 #include <stdlib.h>
6526 @@ -5392,35 +5924,44 @@ main ()
6528 FILE *f = fopen ("conftest.val", "w");
6529 if (! f)
6530 - exit (1);
6531 - if (((long) (sizeof (unsigned long))) < 0)
6532 + return 1;
6533 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6535 - long i = longval ();
6536 - if (i != ((long) (sizeof (unsigned long))))
6537 - exit (1);
6538 + long int i = longval ();
6539 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
6540 + return 1;
6541 fprintf (f, "%ld\n", i);
6543 else
6545 - unsigned long i = ulongval ();
6546 - if (i != ((long) (sizeof (unsigned long))))
6547 - exit (1);
6548 + unsigned long int i = ulongval ();
6549 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
6550 + return 1;
6551 fprintf (f, "%lu\n", i);
6553 - exit (ferror (f) || fclose (f) != 0);
6554 + return ferror (f) || fclose (f) != 0;
6557 return 0;
6559 _ACEOF
6560 rm -f conftest$ac_exeext
6561 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6562 - (eval $ac_link) 2>&5
6563 +if { (ac_try="$ac_link"
6564 +case "(($ac_try" in
6565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6566 + *) ac_try_echo=$ac_try;;
6567 +esac
6568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6569 + (eval "$ac_link") 2>&5
6570 ac_status=$?
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 - (eval $ac_try) 2>&5
6575 + { (case "(($ac_try" in
6576 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6577 + *) ac_try_echo=$ac_try;;
6578 +esac
6579 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580 + (eval "$ac_try") 2>&5
6581 ac_status=$?
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; }; then
6584 @@ -5431,22 +5972,25 @@ echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.$ac_ext >&5
6587 ( exit $ac_status )
6588 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
6589 +if test "$ac_cv_type_unsigned_long" = yes; then
6590 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
6591 See \`config.log' for more details." >&5
6592 -echo "$as_me: error: cannot compute sizeof (unsigned long), 77
6593 +echo "$as_me: error: cannot compute sizeof (unsigned long)
6594 See \`config.log' for more details." >&2;}
6595 - { (exit 1); exit 1; }; }
6597 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6598 + { (exit 77); exit 77; }; }
6599 + else
6600 + ac_cv_sizeof_unsigned_long=0
6601 + fi
6603 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6605 rm -f conftest.val
6606 -else
6607 - ac_cv_sizeof_unsigned_long=0
6610 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
6611 -echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
6612 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
6613 +echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
6617 cat >>confdefs.h <<_ACEOF
6618 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
6619 _ACEOF
6620 @@ -5455,8 +5999,8 @@ _ACEOF
6622 # Extract the first word of "pppd", so it can be a program name with args.
6623 set dummy pppd; ac_word=$2
6624 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6625 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6626 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6627 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6628 if test "${ac_cv_path_PPPD+set}" = set; then
6629 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 else
6631 @@ -5472,32 +6016,33 @@ do
6632 IFS=$as_save_IFS
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_path_PPPD="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 break 2
6641 done
6642 done
6643 +IFS=$as_save_IFS
6645 test -z "$ac_cv_path_PPPD" && ac_cv_path_PPPD="NOTFOUND"
6647 esac
6649 PPPD=$ac_cv_path_PPPD
6651 if test -n "$PPPD"; then
6652 - echo "$as_me:$LINENO: result: $PPPD" >&5
6653 -echo "${ECHO_T}$PPPD" >&6
6654 + { echo "$as_me:$LINENO: result: $PPPD" >&5
6655 +echo "${ECHO_T}$PPPD" >&6; }
6656 else
6657 - echo "$as_me:$LINENO: result: no" >&5
6658 -echo "${ECHO_T}no" >&6
6659 + { echo "$as_me:$LINENO: result: no" >&5
6660 +echo "${ECHO_T}no" >&6; }
6664 # Extract the first word of "echo", so it can be a program name with args.
6665 set dummy echo; ac_word=$2
6666 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6667 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6668 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6669 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6670 if test "${ac_cv_path_ECHO+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 else
6673 @@ -5512,33 +6057,34 @@ do
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6678 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
6680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 break 2
6683 done
6684 done
6685 +IFS=$as_save_IFS
6687 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
6689 esac
6691 ECHO=$ac_cv_path_ECHO
6693 if test -n "$ECHO"; then
6694 - echo "$as_me:$LINENO: result: $ECHO" >&5
6695 -echo "${ECHO_T}$ECHO" >&6
6696 + { echo "$as_me:$LINENO: result: $ECHO" >&5
6697 +echo "${ECHO_T}$ECHO" >&6; }
6698 else
6699 - echo "$as_me:$LINENO: result: no" >&5
6700 -echo "${ECHO_T}no" >&6
6701 + { echo "$as_me:$LINENO: result: no" >&5
6702 +echo "${ECHO_T}no" >&6; }
6707 # Extract the first word of "setsid", so it can be a program name with args.
6708 set dummy setsid; ac_word=$2
6709 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6710 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6711 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6712 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6713 if test "${ac_cv_path_SETSID+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 else
6716 @@ -5554,33 +6100,34 @@ do
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6721 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6722 ac_cv_path_SETSID="$as_dir/$ac_word$ac_exec_ext"
6723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 break 2
6726 done
6727 done
6728 +IFS=$as_save_IFS
6730 test -z "$ac_cv_path_SETSID" && ac_cv_path_SETSID=""""
6732 esac
6734 SETSID=$ac_cv_path_SETSID
6736 if test -n "$SETSID"; then
6737 - echo "$as_me:$LINENO: result: $SETSID" >&5
6738 -echo "${ECHO_T}$SETSID" >&6
6739 + { echo "$as_me:$LINENO: result: $SETSID" >&5
6740 +echo "${ECHO_T}$SETSID" >&6; }
6741 else
6742 - echo "$as_me:$LINENO: result: no" >&5
6743 -echo "${ECHO_T}no" >&6
6744 + { echo "$as_me:$LINENO: result: no" >&5
6745 +echo "${ECHO_T}no" >&6; }
6750 # Extract the first word of "id", so it can be a program name with args.
6751 set dummy id; ac_word=$2
6752 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6753 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6754 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6755 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6756 if test "${ac_cv_path_ID+set}" = set; then
6757 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 else
6759 @@ -5596,31 +6143,32 @@ do
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6765 ac_cv_path_ID="$as_dir/$ac_word$ac_exec_ext"
6766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 break 2
6769 done
6770 done
6771 +IFS=$as_save_IFS
6773 test -z "$ac_cv_path_ID" && ac_cv_path_ID=""""
6775 esac
6777 ID=$ac_cv_path_ID
6779 if test -n "$ID"; then
6780 - echo "$as_me:$LINENO: result: $ID" >&5
6781 -echo "${ECHO_T}$ID" >&6
6782 + { echo "$as_me:$LINENO: result: $ID" >&5
6783 +echo "${ECHO_T}$ID" >&6; }
6784 else
6785 - echo "$as_me:$LINENO: result: no" >&5
6786 -echo "${ECHO_T}no" >&6
6787 + { echo "$as_me:$LINENO: result: no" >&5
6788 +echo "${ECHO_T}no" >&6; }
6792 -echo "$as_me:$LINENO: checking for Linux 2.4.X kernel-mode PPPoE support" >&5
6793 -echo $ECHO_N "checking for Linux 2.4.X kernel-mode PPPoE support... $ECHO_C" >&6
6795 +{ echo "$as_me:$LINENO: checking for Linux 2.4.X kernel-mode PPPoE support" >&5
6796 +echo $ECHO_N "checking for Linux 2.4.X kernel-mode PPPoE support... $ECHO_C" >&6; }
6797 if test "${ac_cv_linux_kernel_pppoe+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 else
6800 @@ -5654,13 +6202,22 @@ int main()
6802 _ACEOF
6803 rm -f conftest$ac_exeext
6804 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6805 - (eval $ac_link) 2>&5
6806 +if { (ac_try="$ac_link"
6807 +case "(($ac_try" in
6808 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6809 + *) ac_try_echo=$ac_try;;
6810 +esac
6811 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6812 + (eval "$ac_link") 2>&5
6813 ac_status=$?
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817 - (eval $ac_try) 2>&5
6818 + { (case "(($ac_try" in
6819 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6820 + *) ac_try_echo=$ac_try;;
6821 +esac
6822 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6823 + (eval "$ac_try") 2>&5
6824 ac_status=$?
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); }; }; then
6827 @@ -5673,8 +6230,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
6828 ( exit $ac_status )
6829 ac_cv_linux_kernel_pppoe=no
6831 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6832 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6836 else
6837 ac_cv_linux_kernel_pppoe=no
6839 @@ -5682,8 +6241,8 @@ fi
6843 -echo "$as_me:$LINENO: result: $ac_cv_linux_kernel_pppoe" >&5
6844 -echo "${ECHO_T}$ac_cv_linux_kernel_pppoe" >&6
6845 +{ echo "$as_me:$LINENO: result: $ac_cv_linux_kernel_pppoe" >&5
6846 +echo "${ECHO_T}$ac_cv_linux_kernel_pppoe" >&6; }
6848 if test "$ac_cv_linux_kernel_pppoe" != yes ; then
6849 if test "$LINUX_KERNELMODE_PLUGIN" = rp-pppoe.so; then
6850 @@ -5741,10 +6300,11 @@ echo "$as_me: WARNING: *** I will keep g
6852 esac
6854 -echo "$as_me:$LINENO: checking packing order of bit fields" >&5
6855 -echo $ECHO_N "checking packing order of bit fields... $ECHO_C" >&6
6856 +{ echo "$as_me:$LINENO: checking packing order of bit fields" >&5
6857 +echo $ECHO_N "checking packing order of bit fields... $ECHO_C" >&6; }
6858 +if test "x$rpppoe_cv_pack_bitfields" = "x" ; then
6859 if test "$cross_compiling" = yes; then
6860 - $ECHO "no defaults for cross-compiling"; exit 0
6861 + $ECHO "no defaults for cross-compiling"
6862 else
6863 cat >conftest.$ac_ext <<_ACEOF
6864 /* confdefs.h. */
6865 @@ -5777,13 +6337,22 @@ main(void)
6867 _ACEOF
6868 rm -f conftest$ac_exeext
6869 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6870 - (eval $ac_link) 2>&5
6871 +if { (ac_try="$ac_link"
6872 +case "(($ac_try" in
6873 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874 + *) ac_try_echo=$ac_try;;
6875 +esac
6876 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 + (eval "$ac_link") 2>&5
6878 ac_status=$?
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6881 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 - (eval $ac_try) 2>&5
6883 + { (case "(($ac_try" in
6884 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6885 + *) ac_try_echo=$ac_try;;
6886 +esac
6887 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6888 + (eval "$ac_try") 2>&5
6889 ac_status=$?
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; }; then
6892 @@ -5796,19 +6365,21 @@ sed 's/^/| /' conftest.$ac_ext >&5
6893 ( exit $ac_status )
6894 rpppoe_cv_pack_bitfields=rev
6896 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6897 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6902 if test "$rpppoe_cv_pack_bitfields" = "rev" ; then
6903 - echo "$as_me:$LINENO: result: reversed" >&5
6904 -echo "${ECHO_T}reversed" >&6
6905 + { echo "$as_me:$LINENO: result: reversed" >&5
6906 +echo "${ECHO_T}reversed" >&6; }
6907 cat >>confdefs.h <<\_ACEOF
6908 #define PACK_BITFIELDS_REVERSED 1
6909 _ACEOF
6911 else
6912 - echo "$as_me:$LINENO: result: normal" >&5
6913 -echo "${ECHO_T}normal" >&6
6914 + { echo "$as_me:$LINENO: result: normal" >&5
6915 +echo "${ECHO_T}normal" >&6; }
6918 # Sigh... got to fix this up for tcl
6919 @@ -5874,7 +6445,8 @@ LIBEVENT=../libevent
6920 datadir_evaluated=`eval echo $datadir`
6923 - ac_config_files="$ac_config_files Makefile libevent/Makefile ../scripts/pppoe-connect ../scripts/pppoe-start ../scripts/pppoe-stop ../scripts/pppoe-init ../scripts/pppoe-init-suse ../scripts/pppoe-init-turbolinux ../scripts/pppoe-setup ../gui/Makefile ../gui/tkpppoe $EXTRACONFIGS"
6924 +ac_config_files="$ac_config_files Makefile libevent/Makefile ../scripts/pppoe-connect ../scripts/pppoe-start ../scripts/pppoe-stop ../scripts/pppoe-init ../scripts/pppoe-init-suse ../scripts/pppoe-init-turbolinux ../scripts/pppoe-setup ../gui/Makefile ../gui/tkpppoe $EXTRACONFIGS"
6926 cat >confcache <<\_ACEOF
6927 # This file is a shell script that caches the results of configure
6928 # tests run on this system so they can be shared between configure
6929 @@ -5893,39 +6465,58 @@ _ACEOF
6931 # The following way of writing the cache mishandles newlines in values,
6932 # but we know of no workaround that is simple, portable, and efficient.
6933 -# So, don't put newlines in cache variables' values.
6934 +# So, we kill variables containing newlines.
6935 # Ultrix sh set writes to stderr and can't be redirected directly,
6936 # and sets the high bit in the cache file unless we assign to the vars.
6939 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6940 + eval ac_val=\$$ac_var
6941 + case $ac_val in #(
6942 + *${as_nl}*)
6943 + case $ac_var in #(
6944 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6945 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6946 + esac
6947 + case $ac_var in #(
6948 + _ | IFS | as_nl) ;; #(
6949 + *) $as_unset $ac_var ;;
6950 + esac ;;
6951 + esac
6952 + done
6954 (set) 2>&1 |
6955 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
6956 - *ac_space=\ *)
6957 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
6958 + *${as_nl}ac_space=\ *)
6959 # `set' does not quote correctly, so add quotes (double-quote
6960 # substitution turns \\\\ into \\, and sed turns \\ into \).
6961 sed -n \
6962 "s/'/'\\\\''/g;
6963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6964 - ;;
6965 + ;; #(
6967 # `set' quotes correctly as required by POSIX, so do not add quotes.
6968 - sed -n \
6969 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6970 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6972 - esac;
6973 -} |
6974 + esac |
6975 + sort
6976 +) |
6977 sed '
6978 + /^ac_cv_env_/b end
6979 t clear
6980 - : clear
6981 + :clear
6982 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6983 t end
6984 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6985 - : end' >>confcache
6986 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
6987 - if test -w $cache_file; then
6988 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6989 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6990 + :end' >>confcache
6991 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6992 + if test -w "$cache_file"; then
6993 + test "x$cache_file" != "x/dev/null" &&
6994 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6995 +echo "$as_me: updating cache $cache_file" >&6;}
6996 cat confcache >$cache_file
6997 else
6998 - echo "not updating unwritable cache $cache_file"
6999 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7000 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7003 rm -f confcache
7004 @@ -5934,32 +6525,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
7005 # Let make expand exec_prefix.
7006 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7008 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
7009 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7010 -# trailing colons and then remove the whole line if VPATH becomes empty
7011 -# (actually we leave an empty line to preserve line numbers).
7012 -if test "x$srcdir" = x.; then
7013 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
7014 -s/:*\$(srcdir):*/:/;
7015 -s/:*\${srcdir}:*/:/;
7016 -s/:*@srcdir@:*/:/;
7017 -s/^\([^=]*=[ ]*\):*/\1/;
7018 -s/:*$//;
7019 -s/^[^=]*=[ ]*$//;
7023 DEFS=-DHAVE_CONFIG_H
7025 ac_libobjs=
7026 ac_ltlibobjs=
7027 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7028 # 1. Remove the extension, and $U if already installed.
7029 - ac_i=`echo "$ac_i" |
7030 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7031 - # 2. Add them.
7032 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7033 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7034 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7035 + ac_i=`echo "$ac_i" | sed "$ac_script"`
7036 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7037 + # will be set to the directory where LIBOBJS objects are built.
7038 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7039 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7040 done
7041 LIBOBJS=$ac_libobjs
7043 @@ -5990,17 +6567,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
7044 ## M4sh Initialization. ##
7045 ## --------------------- ##
7047 -# Be Bourne compatible
7048 +# Be more Bourne compatible
7049 +DUALCASE=1; export DUALCASE # for MKS sh
7050 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7051 emulate sh
7052 NULLCMD=:
7053 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7054 # is contrary to our usage. Disable this feature.
7055 alias -g '${1+"$@"}'='"$@"'
7056 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7057 - set -o posix
7058 + setopt NO_GLOB_SUBST
7059 +else
7060 + case `(set -o) 2>/dev/null` in
7061 + *posix*) set -o posix ;;
7062 +esac
7069 +# PATH needs CR
7070 +# Avoid depending upon Character Ranges.
7071 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7072 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7073 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7074 +as_cr_digits='0123456789'
7075 +as_cr_alnum=$as_cr_Letters$as_cr_digits
7077 +# The user is always right.
7078 +if test "${PATH_SEPARATOR+set}" != set; then
7079 + echo "#! /bin/sh" >conf$$.sh
7080 + echo "exit 0" >>conf$$.sh
7081 + chmod +x conf$$.sh
7082 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7083 + PATH_SEPARATOR=';'
7084 + else
7085 + PATH_SEPARATOR=:
7086 + fi
7087 + rm -f conf$$.sh
7089 -DUALCASE=1; export DUALCASE # for MKS sh
7091 # Support unset when possible.
7092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7093 @@ -6010,8 +6615,43 @@ else
7097 +# IFS
7098 +# We need space, tab and new line, in precisely that order. Quoting is
7099 +# there to prevent editors from complaining about space-tab.
7100 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7101 +# splitting by setting IFS to empty value.)
7102 +as_nl='
7104 +IFS=" "" $as_nl"
7106 +# Find who we are. Look in the path if we contain no directory separator.
7107 +case $0 in
7108 + *[\\/]* ) as_myself=$0 ;;
7109 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 +for as_dir in $PATH
7112 + IFS=$as_save_IFS
7113 + test -z "$as_dir" && as_dir=.
7114 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7115 +done
7116 +IFS=$as_save_IFS
7118 + ;;
7119 +esac
7120 +# We did not find ourselves, most probably we were run as `sh COMMAND'
7121 +# in which case we are not to be found in the path.
7122 +if test "x$as_myself" = x; then
7123 + as_myself=$0
7125 +if test ! -f "$as_myself"; then
7126 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7127 + { (exit 1); exit 1; }
7130 # Work around bugs in pre-3.0 UWIN ksh.
7131 -$as_unset ENV MAIL MAILPATH
7132 +for as_var in ENV MAIL MAILPATH
7133 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7134 +done
7135 PS1='$ '
7136 PS2='> '
7137 PS4='+ '
7138 @@ -6025,18 +6665,19 @@ do
7139 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7140 eval $as_var=C; export $as_var
7141 else
7142 - $as_unset $as_var
7143 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7145 done
7147 # Required to use basename.
7148 -if expr a : '\(a\)' >/dev/null 2>&1; then
7149 +if expr a : '\(a\)' >/dev/null 2>&1 &&
7150 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
7151 as_expr=expr
7152 else
7153 as_expr=false
7156 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7157 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7158 as_basename=basename
7159 else
7160 as_basename=false
7161 @@ -6044,159 +6685,120 @@ fi
7164 # Name of the executable.
7165 -as_me=`$as_basename "$0" ||
7166 +as_me=`$as_basename -- "$0" ||
7167 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7168 X"$0" : 'X\(//\)$' \| \
7169 - X"$0" : 'X\(/\)$' \| \
7170 - . : '\(.\)' 2>/dev/null ||
7171 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7172 echo X/"$0" |
7173 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7174 - /^X\/\(\/\/\)$/{ s//\1/; q; }
7175 - /^X\/\(\/\).*/{ s//\1/; q; }
7176 - s/.*/./; q'`
7179 -# PATH needs CR, and LINENO needs CR and PATH.
7180 -# Avoid depending upon Character Ranges.
7181 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7182 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7183 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7184 -as_cr_digits='0123456789'
7185 -as_cr_alnum=$as_cr_Letters$as_cr_digits
7186 + sed '/^.*\/\([^/][^/]*\)\/*$/{
7187 + s//\1/
7190 + /^X\/\(\/\/\)$/{
7191 + s//\1/
7194 + /^X\/\(\/\).*/{
7195 + s//\1/
7198 + s/.*/./; q'`
7200 -# The user is always right.
7201 -if test "${PATH_SEPARATOR+set}" != set; then
7202 - echo "#! /bin/sh" >conf$$.sh
7203 - echo "exit 0" >>conf$$.sh
7204 - chmod +x conf$$.sh
7205 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7206 - PATH_SEPARATOR=';'
7207 - else
7208 - PATH_SEPARATOR=:
7209 - fi
7210 - rm -f conf$$.sh
7212 +# CDPATH.
7213 +$as_unset CDPATH
7216 - as_lineno_1=$LINENO
7217 - as_lineno_2=$LINENO
7218 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7219 - test "x$as_lineno_1" != "x$as_lineno_2" &&
7220 - test "x$as_lineno_3" = "x$as_lineno_2" || {
7221 - # Find who we are. Look in the path if we contain no path at all
7222 - # relative or not.
7223 - case $0 in
7224 - *[\\/]* ) as_myself=$0 ;;
7225 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 -for as_dir in $PATH
7228 - IFS=$as_save_IFS
7229 - test -z "$as_dir" && as_dir=.
7230 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7231 -done
7233 - ;;
7234 - esac
7235 - # We did not find ourselves, most probably we were run as `sh COMMAND'
7236 - # in which case we are not to be found in the path.
7237 - if test "x$as_myself" = x; then
7238 - as_myself=$0
7239 - fi
7240 - if test ! -f "$as_myself"; then
7241 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7242 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7243 - { (exit 1); exit 1; }; }
7244 - fi
7245 - case $CONFIG_SHELL in
7246 - '')
7247 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7250 - IFS=$as_save_IFS
7251 - test -z "$as_dir" && as_dir=.
7252 - for as_base in sh bash ksh sh5; do
7253 - case $as_dir in
7254 - /*)
7255 - if ("$as_dir/$as_base" -c '
7256 as_lineno_1=$LINENO
7257 as_lineno_2=$LINENO
7258 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7259 test "x$as_lineno_1" != "x$as_lineno_2" &&
7260 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7261 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7262 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7263 - CONFIG_SHELL=$as_dir/$as_base
7264 - export CONFIG_SHELL
7265 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7266 - fi;;
7267 - esac
7268 - done
7269 -done
7271 - esac
7272 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7274 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7275 # uniformly replaced by the line number. The first 'sed' inserts a
7276 - # line-number line before each line; the second 'sed' does the real
7277 - # work. The second script uses 'N' to pair each line-number line
7278 - # with the numbered line, and appends trailing '-' during
7279 - # substitution so that $LINENO is not a special case at line end.
7280 + # line-number line after each line using $LINENO; the second 'sed'
7281 + # does the real work. The second script uses 'N' to pair each
7282 + # line-number line with the line containing $LINENO, and appends
7283 + # trailing '-' during substitution so that $LINENO is not a special
7284 + # case at line end.
7285 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7286 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7287 - sed '=' <$as_myself |
7288 + # scripts with optimization help from Paolo Bonzini. Blame Lee
7289 + # E. McMahon (1931-1989) for sed's syntax. :-)
7290 + sed -n '
7292 + /[$]LINENO/=
7293 + ' <$as_myself |
7294 sed '
7295 + s/[$]LINENO.*/&-/
7296 + t lineno
7298 + :lineno
7300 - s,$,-,
7301 - : loop
7302 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7303 + :loop
7304 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7305 t loop
7306 - s,-$,,
7307 - s,^['$as_cr_digits']*\n,,
7308 + s/-\n.*//
7309 ' >$as_me.lineno &&
7310 - chmod +x $as_me.lineno ||
7311 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7312 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7313 + chmod +x "$as_me.lineno" ||
7314 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7315 { (exit 1); exit 1; }; }
7317 # Don't try to exec as it changes $[0], causing all sort of problems
7318 # (the dirname of $[0] is not the place where we might find the
7319 - # original and so on. Autoconf is especially sensible to this).
7320 - . ./$as_me.lineno
7321 + # original and so on. Autoconf is especially sensitive to this).
7322 + . "./$as_me.lineno"
7323 # Exit status is that of the last command.
7324 exit
7328 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7329 - *c*,-n*) ECHO_N= ECHO_C='
7330 -' ECHO_T=' ' ;;
7331 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7332 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7333 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7334 + as_dirname=dirname
7335 +else
7336 + as_dirname=false
7339 +ECHO_C= ECHO_N= ECHO_T=
7340 +case `echo -n x` in
7341 +-n*)
7342 + case `echo 'x\c'` in
7343 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7344 + *) ECHO_C='\c';;
7345 + esac;;
7347 + ECHO_N='-n';;
7348 esac
7350 -if expr a : '\(a\)' >/dev/null 2>&1; then
7351 +if expr a : '\(a\)' >/dev/null 2>&1 &&
7352 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
7353 as_expr=expr
7354 else
7355 as_expr=false
7358 rm -f conf$$ conf$$.exe conf$$.file
7359 +if test -d conf$$.dir; then
7360 + rm -f conf$$.dir/conf$$.file
7361 +else
7362 + rm -f conf$$.dir
7363 + mkdir conf$$.dir
7365 echo >conf$$.file
7366 if ln -s conf$$.file conf$$ 2>/dev/null; then
7367 - # We could just check for DJGPP; but this test a) works b) is more generic
7368 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7369 - if test -f conf$$.exe; then
7370 - # Don't use ln at all; we don't have any links
7371 + as_ln_s='ln -s'
7372 + # ... but there are two gotchas:
7373 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7374 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7375 + # In both cases, we have to default to `cp -p'.
7376 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7377 as_ln_s='cp -p'
7378 - else
7379 - as_ln_s='ln -s'
7380 - fi
7381 elif ln conf$$.file conf$$ 2>/dev/null; then
7382 as_ln_s=ln
7383 else
7384 as_ln_s='cp -p'
7386 -rm -f conf$$ conf$$.exe conf$$.file
7387 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7388 +rmdir conf$$.dir 2>/dev/null
7390 if mkdir -p . 2>/dev/null; then
7391 as_mkdir_p=:
7392 @@ -6205,7 +6807,28 @@ else
7393 as_mkdir_p=false
7396 -as_executable_p="test -f"
7397 +if test -x / >/dev/null 2>&1; then
7398 + as_test_x='test -x'
7399 +else
7400 + if ls -dL / >/dev/null 2>&1; then
7401 + as_ls_L_option=L
7402 + else
7403 + as_ls_L_option=
7404 + fi
7405 + as_test_x='
7406 + eval sh -c '\''
7407 + if test -d "$1"; then
7408 + test -d "$1/.";
7409 + else
7410 + case $1 in
7411 + -*)set "./$1";;
7412 + esac;
7413 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
7414 + ???[sx]*):;;*)false;;esac;fi
7415 + '\'' sh
7418 +as_executable_p=$as_test_x
7420 # Sed expression to map a string onto a valid CPP name.
7421 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7422 @@ -6214,31 +6837,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
7423 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7426 -# IFS
7427 -# We need space, tab and new line, in precisely that order.
7428 -as_nl='
7430 -IFS=" $as_nl"
7432 -# CDPATH.
7433 -$as_unset CDPATH
7435 exec 6>&1
7437 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
7438 +# Save the log message, to keep $[0] and so on meaningful, and to
7439 # report actual input values of CONFIG_FILES etc. instead of their
7440 -# values after options handling. Logging --version etc. is OK.
7441 -exec 5>>config.log
7443 - echo
7444 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7445 -## Running $as_me. ##
7446 -_ASBOX
7447 -} >&5
7448 -cat >&5 <<_CSEOF
7450 +# values after options handling.
7451 +ac_log="
7452 This file was extended by $as_me, which was
7453 -generated by GNU Autoconf 2.59. Invocation command line was
7454 +generated by GNU Autoconf 2.61. Invocation command line was
7456 CONFIG_FILES = $CONFIG_FILES
7457 CONFIG_HEADERS = $CONFIG_HEADERS
7458 @@ -6246,30 +6852,19 @@ generated by GNU Autoconf 2.59. Invocat
7459 CONFIG_COMMANDS = $CONFIG_COMMANDS
7460 $ $0 $@
7462 -_CSEOF
7463 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7464 -echo >&5
7465 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
7468 _ACEOF
7470 +cat >>$CONFIG_STATUS <<_ACEOF
7471 # Files that config.status was made for.
7472 -if test -n "$ac_config_files"; then
7473 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7476 -if test -n "$ac_config_headers"; then
7477 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7480 -if test -n "$ac_config_links"; then
7481 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7483 +config_files="$ac_config_files"
7484 +config_headers="$ac_config_headers"
7486 -if test -n "$ac_config_commands"; then
7487 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7489 +_ACEOF
7491 cat >>$CONFIG_STATUS <<\_ACEOF
7493 ac_cs_usage="\
7494 \`$as_me' instantiates files from templates according to the
7495 current configuration.
7496 @@ -6277,7 +6872,7 @@ current configuration.
7497 Usage: $0 [OPTIONS] [FILE]...
7499 -h, --help print this help, then exit
7500 - -V, --version print version number, then exit
7501 + -V, --version print version number and configuration settings, then exit
7502 -q, --quiet do not print progress messages
7503 -d, --debug don't remove temporary files
7504 --recheck update $as_me by reconfiguring in the same conditions
7505 @@ -6293,19 +6888,21 @@ Configuration headers:
7506 $config_headers
7508 Report bugs to <bug-autoconf@gnu.org>."
7509 -_ACEOF
7511 +_ACEOF
7512 cat >>$CONFIG_STATUS <<_ACEOF
7513 ac_cs_version="\\
7514 config.status
7515 -configured by $0, generated by GNU Autoconf 2.59,
7516 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7517 +configured by $0, generated by GNU Autoconf 2.61,
7518 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7520 -Copyright (C) 2003 Free Software Foundation, Inc.
7521 +Copyright (C) 2006 Free Software Foundation, Inc.
7522 This config.status script is free software; the Free Software Foundation
7523 gives unlimited permission to copy, distribute and modify it."
7524 -srcdir=$srcdir
7525 -INSTALL="$INSTALL"
7527 +ac_pwd='$ac_pwd'
7528 +srcdir='$srcdir'
7529 +INSTALL='$INSTALL'
7530 _ACEOF
7532 cat >>$CONFIG_STATUS <<\_ACEOF
7533 @@ -6316,39 +6913,24 @@ while test $# != 0
7535 case $1 in
7536 --*=*)
7537 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
7538 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7539 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
7540 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7541 ac_shift=:
7543 - -*)
7544 + *)
7545 ac_option=$1
7546 ac_optarg=$2
7547 ac_shift=shift
7549 - *) # This is not an option, so the user has probably given explicit
7550 - # arguments.
7551 - ac_option=$1
7552 - ac_need_defaults=false;;
7553 esac
7555 case $ac_option in
7556 # Handling of the options.
7557 -_ACEOF
7558 -cat >>$CONFIG_STATUS <<\_ACEOF
7559 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7560 ac_cs_recheck=: ;;
7561 - --version | --vers* | -V )
7562 - echo "$ac_cs_version"; exit 0 ;;
7563 - --he | --h)
7564 - # Conflict between --help and --header
7565 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
7566 -Try \`$0 --help' for more information." >&5
7567 -echo "$as_me: error: ambiguous option: $1
7568 -Try \`$0 --help' for more information." >&2;}
7569 - { (exit 1); exit 1; }; };;
7570 - --help | --hel | -h )
7571 - echo "$ac_cs_usage"; exit 0 ;;
7572 - --debug | --d* | -d )
7573 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7574 + echo "$ac_cs_version"; exit ;;
7575 + --debug | --debu | --deb | --de | --d | -d )
7576 debug=: ;;
7577 --file | --fil | --fi | --f )
7578 $ac_shift
7579 @@ -6358,18 +6940,24 @@ Try \`$0 --help' for more information."
7580 $ac_shift
7581 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7582 ac_need_defaults=false;;
7583 + --he | --h)
7584 + # Conflict between --help and --header
7585 + { echo "$as_me: error: ambiguous option: $1
7586 +Try \`$0 --help' for more information." >&2
7587 + { (exit 1); exit 1; }; };;
7588 + --help | --hel | -h )
7589 + echo "$ac_cs_usage"; exit ;;
7590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7591 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7592 ac_cs_silent=: ;;
7594 # This is an error.
7595 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7596 -Try \`$0 --help' for more information." >&5
7597 -echo "$as_me: error: unrecognized option: $1
7598 -Try \`$0 --help' for more information." >&2;}
7599 + -*) { echo "$as_me: error: unrecognized option: $1
7600 +Try \`$0 --help' for more information." >&2
7601 { (exit 1); exit 1; }; } ;;
7603 - *) ac_config_targets="$ac_config_targets $1" ;;
7604 + *) ac_config_targets="$ac_config_targets $1"
7605 + ac_need_defaults=false ;;
7607 esac
7608 shift
7609 @@ -6385,40 +6973,54 @@ fi
7610 _ACEOF
7611 cat >>$CONFIG_STATUS <<_ACEOF
7612 if \$ac_cs_recheck; then
7613 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7614 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7615 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7616 + CONFIG_SHELL=$SHELL
7617 + export CONFIG_SHELL
7618 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7621 _ACEOF
7622 +cat >>$CONFIG_STATUS <<\_ACEOF
7623 +exec 5>>config.log
7625 + echo
7626 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7627 +## Running $as_me. ##
7628 +_ASBOX
7629 + echo "$ac_log"
7630 +} >&5
7635 +_ACEOF
7636 +cat >>$CONFIG_STATUS <<_ACEOF
7637 +_ACEOF
7639 cat >>$CONFIG_STATUS <<\_ACEOF
7641 +# Handling of arguments.
7642 for ac_config_target in $ac_config_targets
7644 - case "$ac_config_target" in
7645 - # Handling of arguments.
7646 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7647 - "libevent/Makefile" ) CONFIG_FILES="$CONFIG_FILES libevent/Makefile" ;;
7648 - "../scripts/pppoe-connect" ) CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-connect" ;;
7649 - "../scripts/pppoe-start" ) CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-start" ;;
7650 - "../scripts/pppoe-stop" ) CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-stop" ;;
7651 - "../scripts/pppoe-init" ) CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init" ;;
7652 - "../scripts/pppoe-init-suse" ) CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init-suse" ;;
7653 - "../scripts/pppoe-init-turbolinux" ) CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init-turbolinux" ;;
7654 - "../scripts/pppoe-setup" ) CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-setup" ;;
7655 - "../gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES ../gui/Makefile" ;;
7656 - "../gui/tkpppoe" ) CONFIG_FILES="$CONFIG_FILES ../gui/tkpppoe" ;;
7657 - "$EXTRACONFIGS" ) CONFIG_FILES="$CONFIG_FILES $EXTRACONFIGS" ;;
7658 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7659 + case $ac_config_target in
7660 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7661 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7662 + "libevent/Makefile") CONFIG_FILES="$CONFIG_FILES libevent/Makefile" ;;
7663 + "../scripts/pppoe-connect") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-connect" ;;
7664 + "../scripts/pppoe-start") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-start" ;;
7665 + "../scripts/pppoe-stop") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-stop" ;;
7666 + "../scripts/pppoe-init") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init" ;;
7667 + "../scripts/pppoe-init-suse") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init-suse" ;;
7668 + "../scripts/pppoe-init-turbolinux") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-init-turbolinux" ;;
7669 + "../scripts/pppoe-setup") CONFIG_FILES="$CONFIG_FILES ../scripts/pppoe-setup" ;;
7670 + "../gui/Makefile") CONFIG_FILES="$CONFIG_FILES ../gui/Makefile" ;;
7671 + "../gui/tkpppoe") CONFIG_FILES="$CONFIG_FILES ../gui/tkpppoe" ;;
7672 + "$EXTRACONFIGS") CONFIG_FILES="$CONFIG_FILES $EXTRACONFIGS" ;;
7674 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7675 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7676 { (exit 1); exit 1; }; };;
7677 esac
7678 done
7681 # If the user did not use the arguments to specify the items to instantiate,
7682 # then the envvar interface is used. Set only those that are not.
7683 # We use the long form for the default assignment because of an extremely
7684 @@ -6429,573 +7031,524 @@ if $ac_need_defaults; then
7687 # Have a temporary directory for convenience. Make it in the build tree
7688 -# simply because there is no reason to put it here, and in addition,
7689 +# simply because there is no reason against having it here, and in addition,
7690 # creating and moving files from /tmp can sometimes cause problems.
7691 -# Create a temporary directory, and hook for its removal unless debugging.
7692 +# Hook for its removal unless debugging.
7693 +# Note that there is a small window in which the directory will not be cleaned:
7694 +# after its creation but before its name has been assigned to `$tmp'.
7695 $debug ||
7697 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7698 + tmp=
7699 + trap 'exit_status=$?
7700 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7701 +' 0
7702 trap '{ (exit 1); exit 1; }' 1 2 13 15
7705 # Create a (secure) tmp directory for tmp files.
7708 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7709 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7710 test -n "$tmp" && test -d "$tmp"
7711 } ||
7713 - tmp=./confstat$$-$RANDOM
7714 - (umask 077 && mkdir $tmp)
7715 + tmp=./conf$$-$RANDOM
7716 + (umask 077 && mkdir "$tmp")
7717 } ||
7719 echo "$me: cannot create a temporary directory in ." >&2
7720 { (exit 1); exit 1; }
7723 -_ACEOF
7725 -cat >>$CONFIG_STATUS <<_ACEOF
7728 -# CONFIG_FILES section.
7729 +# Set up the sed scripts for CONFIG_FILES section.
7732 # No need to generate the scripts if there are no CONFIG_FILES.
7733 # This happens for instance when ./config.status config.h
7734 -if test -n "\$CONFIG_FILES"; then
7735 - # Protect against being on the right side of a sed subst in config.status.
7736 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7737 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7738 -s,@SHELL@,$SHELL,;t t
7739 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7740 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7741 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7742 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7743 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7744 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7745 -s,@exec_prefix@,$exec_prefix,;t t
7746 -s,@prefix@,$prefix,;t t
7747 -s,@program_transform_name@,$program_transform_name,;t t
7748 -s,@bindir@,$bindir,;t t
7749 -s,@sbindir@,$sbindir,;t t
7750 -s,@libexecdir@,$libexecdir,;t t
7751 -s,@datadir@,$datadir,;t t
7752 -s,@sysconfdir@,$sysconfdir,;t t
7753 -s,@sharedstatedir@,$sharedstatedir,;t t
7754 -s,@localstatedir@,$localstatedir,;t t
7755 -s,@libdir@,$libdir,;t t
7756 -s,@includedir@,$includedir,;t t
7757 -s,@oldincludedir@,$oldincludedir,;t t
7758 -s,@infodir@,$infodir,;t t
7759 -s,@mandir@,$mandir,;t t
7760 -s,@build_alias@,$build_alias,;t t
7761 -s,@host_alias@,$host_alias,;t t
7762 -s,@target_alias@,$target_alias,;t t
7763 -s,@DEFS@,$DEFS,;t t
7764 -s,@ECHO_C@,$ECHO_C,;t t
7765 -s,@ECHO_N@,$ECHO_N,;t t
7766 -s,@ECHO_T@,$ECHO_T,;t t
7767 -s,@LIBS@,$LIBS,;t t
7768 -s,@CC@,$CC,;t t
7769 -s,@CFLAGS@,$CFLAGS,;t t
7770 -s,@LDFLAGS@,$LDFLAGS,;t t
7771 -s,@CPPFLAGS@,$CPPFLAGS,;t t
7772 -s,@ac_ct_CC@,$ac_ct_CC,;t t
7773 -s,@EXEEXT@,$EXEEXT,;t t
7774 -s,@OBJEXT@,$OBJEXT,;t t
7775 -s,@RANLIB@,$RANLIB,;t t
7776 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7777 -s,@CPP@,$CPP,;t t
7778 -s,@EGREP@,$EGREP,;t t
7779 -s,@PPPD_H@,$PPPD_H,;t t
7780 -s,@LINUX_KERNELMODE_PLUGIN@,$LINUX_KERNELMODE_PLUGIN,;t t
7781 -s,@PPPD_INCDIR@,$PPPD_INCDIR,;t t
7782 -s,@PPPOE_RELAY@,$PPPOE_RELAY,;t t
7783 -s,@LIBOBJS@,$LIBOBJS,;t t
7784 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7785 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7786 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7787 -s,@PPPD@,$PPPD,;t t
7788 -s,@ECHO@,$ECHO,;t t
7789 -s,@SETSID@,$SETSID,;t t
7790 -s,@ID@,$ID,;t t
7791 -s,@WRAPPER@,$WRAPPER,;t t
7792 -s,@TARGETS@,$TARGETS,;t t
7793 -s,@LIC_INCDIR@,$LIC_INCDIR,;t t
7794 -s,@LIC_LIBDIR@,$LIC_LIBDIR,;t t
7795 -s,@LIC_LIB@,$LIC_LIB,;t t
7796 -s,@LIC_MAKEFILE_INCLUDE@,$LIC_MAKEFILE_INCLUDE,;t t
7797 -s,@LIC_DEFINE@,$LIC_DEFINE,;t t
7798 -s,@PPPOE_SERVER_DEPS@,$PPPOE_SERVER_DEPS,;t t
7799 -s,@RDYNAMIC@,$RDYNAMIC,;t t
7800 -s,@LIBEVENT@,$LIBEVENT,;t t
7801 -s,@datadir_evaluated@,$datadir_evaluated,;t t
7802 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7803 -CEOF
7804 +if test -n "$CONFIG_FILES"; then
7806 _ACEOF
7808 - cat >>$CONFIG_STATUS <<\_ACEOF
7809 - # Split the substitutions into bite-sized pieces for seds with
7810 - # small command number limits, like on Digital OSF/1 and HP-UX.
7811 - ac_max_sed_lines=48
7812 - ac_sed_frag=1 # Number of current file.
7813 - ac_beg=1 # First line for current file.
7814 - ac_end=$ac_max_sed_lines # Line after last line for current file.
7815 - ac_more_lines=:
7816 - ac_sed_cmds=
7817 - while $ac_more_lines; do
7818 - if test $ac_beg -gt 1; then
7819 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7820 - else
7821 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7822 - fi
7823 - if test ! -s $tmp/subs.frag; then
7824 - ac_more_lines=false
7825 - else
7826 - # The purpose of the label and of the branching condition is to
7827 - # speed up the sed processing (if there are no `@' at all, there
7828 - # is no need to browse any of the substitutions).
7829 - # These are the two extra sed commands mentioned above.
7830 - (echo ':t
7831 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7832 - if test -z "$ac_sed_cmds"; then
7833 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7834 - else
7835 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7836 - fi
7837 - ac_sed_frag=`expr $ac_sed_frag + 1`
7838 - ac_beg=$ac_end
7839 - ac_end=`expr $ac_end + $ac_max_sed_lines`
7840 - fi
7841 - done
7842 - if test -z "$ac_sed_cmds"; then
7843 - ac_sed_cmds=cat
7846 +ac_delim='%!_!# '
7847 +for ac_last_try in false false false false false :; do
7848 + cat >conf$$subs.sed <<_ACEOF
7849 +SHELL!$SHELL$ac_delim
7850 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7851 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7852 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7853 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7854 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7855 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7856 +exec_prefix!$exec_prefix$ac_delim
7857 +prefix!$prefix$ac_delim
7858 +program_transform_name!$program_transform_name$ac_delim
7859 +bindir!$bindir$ac_delim
7860 +sbindir!$sbindir$ac_delim
7861 +libexecdir!$libexecdir$ac_delim
7862 +datarootdir!$datarootdir$ac_delim
7863 +datadir!$datadir$ac_delim
7864 +sysconfdir!$sysconfdir$ac_delim
7865 +sharedstatedir!$sharedstatedir$ac_delim
7866 +localstatedir!$localstatedir$ac_delim
7867 +includedir!$includedir$ac_delim
7868 +oldincludedir!$oldincludedir$ac_delim
7869 +docdir!$docdir$ac_delim
7870 +infodir!$infodir$ac_delim
7871 +htmldir!$htmldir$ac_delim
7872 +dvidir!$dvidir$ac_delim
7873 +pdfdir!$pdfdir$ac_delim
7874 +psdir!$psdir$ac_delim
7875 +libdir!$libdir$ac_delim
7876 +localedir!$localedir$ac_delim
7877 +mandir!$mandir$ac_delim
7878 +DEFS!$DEFS$ac_delim
7879 +ECHO_C!$ECHO_C$ac_delim
7880 +ECHO_N!$ECHO_N$ac_delim
7881 +ECHO_T!$ECHO_T$ac_delim
7882 +LIBS!$LIBS$ac_delim
7883 +build_alias!$build_alias$ac_delim
7884 +host_alias!$host_alias$ac_delim
7885 +target_alias!$target_alias$ac_delim
7886 +CC!$CC$ac_delim
7887 +CFLAGS!$CFLAGS$ac_delim
7888 +LDFLAGS!$LDFLAGS$ac_delim
7889 +CPPFLAGS!$CPPFLAGS$ac_delim
7890 +ac_ct_CC!$ac_ct_CC$ac_delim
7891 +EXEEXT!$EXEEXT$ac_delim
7892 +OBJEXT!$OBJEXT$ac_delim
7893 +RANLIB!$RANLIB$ac_delim
7894 +CPP!$CPP$ac_delim
7895 +GREP!$GREP$ac_delim
7896 +EGREP!$EGREP$ac_delim
7897 +PPPD_H!$PPPD_H$ac_delim
7898 +LINUX_KERNELMODE_PLUGIN!$LINUX_KERNELMODE_PLUGIN$ac_delim
7899 +PPPD_INCDIR!$PPPD_INCDIR$ac_delim
7900 +PPPOE_RELAY!$PPPOE_RELAY$ac_delim
7901 +LIBOBJS!$LIBOBJS$ac_delim
7902 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7903 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7904 +INSTALL_DATA!$INSTALL_DATA$ac_delim
7905 +PPPD!$PPPD$ac_delim
7906 +ECHO!$ECHO$ac_delim
7907 +SETSID!$SETSID$ac_delim
7908 +ID!$ID$ac_delim
7909 +WRAPPER!$WRAPPER$ac_delim
7910 +TARGETS!$TARGETS$ac_delim
7911 +LIC_INCDIR!$LIC_INCDIR$ac_delim
7912 +LIC_LIBDIR!$LIC_LIBDIR$ac_delim
7913 +LIC_LIB!$LIC_LIB$ac_delim
7914 +LIC_MAKEFILE_INCLUDE!$LIC_MAKEFILE_INCLUDE$ac_delim
7915 +LIC_DEFINE!$LIC_DEFINE$ac_delim
7916 +PPPOE_SERVER_DEPS!$PPPOE_SERVER_DEPS$ac_delim
7917 +RDYNAMIC!$RDYNAMIC$ac_delim
7918 +LIBEVENT!$LIBEVENT$ac_delim
7919 +datadir_evaluated!$datadir_evaluated$ac_delim
7920 +LTLIBOBJS!$LTLIBOBJS$ac_delim
7921 +_ACEOF
7923 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
7924 + break
7925 + elif $ac_last_try; then
7926 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7927 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7928 + { (exit 1); exit 1; }; }
7929 + else
7930 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7932 -fi # test -n "$CONFIG_FILES"
7933 +done
7935 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7936 +if test -n "$ac_eof"; then
7937 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7938 + ac_eof=`expr $ac_eof + 1`
7941 +cat >>$CONFIG_STATUS <<_ACEOF
7942 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7943 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7944 +_ACEOF
7945 +sed '
7946 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7947 +s/^/s,@/; s/!/@,|#_!!_#|/
7949 +t n
7950 +s/'"$ac_delim"'$/,g/; t
7951 +s/$/\\/; p
7952 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7953 +' >>$CONFIG_STATUS <conf$$subs.sed
7954 +rm -f conf$$subs.sed
7955 +cat >>$CONFIG_STATUS <<_ACEOF
7956 +:end
7957 +s/|#_!!_#|//g
7958 +CEOF$ac_eof
7959 _ACEOF
7962 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
7963 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7964 +# trailing colons and then remove the whole line if VPATH becomes empty
7965 +# (actually we leave an empty line to preserve line numbers).
7966 +if test "x$srcdir" = x.; then
7967 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
7968 +s/:*\$(srcdir):*/:/
7969 +s/:*\${srcdir}:*/:/
7970 +s/:*@srcdir@:*/:/
7971 +s/^\([^=]*=[ ]*\):*/\1/
7972 +s/:*$//
7973 +s/^[^=]*=[ ]*$//
7977 cat >>$CONFIG_STATUS <<\_ACEOF
7978 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7979 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7980 - case $ac_file in
7981 - - | *:- | *:-:* ) # input from stdin
7982 - cat >$tmp/stdin
7983 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7984 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7985 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7986 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7987 - * ) ac_file_in=$ac_file.in ;;
7988 +fi # test -n "$CONFIG_FILES"
7991 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
7993 + case $ac_tag in
7994 + :[FHLC]) ac_mode=$ac_tag; continue;;
7995 esac
7996 + case $ac_mode$ac_tag in
7997 + :[FHL]*:*);;
7998 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7999 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8000 + { (exit 1); exit 1; }; };;
8001 + :[FH]-) ac_tag=-:-;;
8002 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8003 + esac
8004 + ac_save_IFS=$IFS
8005 + IFS=:
8006 + set x $ac_tag
8007 + IFS=$ac_save_IFS
8008 + shift
8009 + ac_file=$1
8010 + shift
8012 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8013 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8014 + case $ac_mode in
8015 + :L) ac_source=$1;;
8016 + :[FH])
8017 + ac_file_inputs=
8018 + for ac_f
8019 + do
8020 + case $ac_f in
8021 + -) ac_f="$tmp/stdin";;
8022 + *) # Look for the file first in the build tree, then in the source tree
8023 + # (if the path is not absolute). The absolute path cannot be DOS-style,
8024 + # because $ac_f cannot contain `:'.
8025 + test -f "$ac_f" ||
8026 + case $ac_f in
8027 + [\\/$]*) false;;
8028 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8029 + esac ||
8030 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8031 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8032 + { (exit 1); exit 1; }; };;
8033 + esac
8034 + ac_file_inputs="$ac_file_inputs $ac_f"
8035 + done
8037 + # Let's still pretend it is `configure' which instantiates (i.e., don't
8038 + # use $as_me), people would be surprised to read:
8039 + # /* config.h. Generated by config.status. */
8040 + configure_input="Generated from "`IFS=:
8041 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8042 + if test x"$ac_file" != x-; then
8043 + configure_input="$ac_file. $configure_input"
8044 + { echo "$as_me:$LINENO: creating $ac_file" >&5
8045 +echo "$as_me: creating $ac_file" >&6;}
8046 + fi
8048 + case $ac_tag in
8049 + *:-:* | *:-) cat >"$tmp/stdin";;
8050 + esac
8051 + ;;
8052 + esac
8054 + ac_dir=`$as_dirname -- "$ac_file" ||
8055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8056 X"$ac_file" : 'X\(//\)[^/]' \| \
8057 X"$ac_file" : 'X\(//\)$' \| \
8058 - X"$ac_file" : 'X\(/\)' \| \
8059 - . : '\(.\)' 2>/dev/null ||
8060 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8061 echo X"$ac_file" |
8062 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8063 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8064 - /^X\(\/\/\)$/{ s//\1/; q; }
8065 - /^X\(\/\).*/{ s//\1/; q; }
8066 - s/.*/./; q'`
8067 - { if $as_mkdir_p; then
8068 - mkdir -p "$ac_dir"
8069 - else
8070 - as_dir="$ac_dir"
8071 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8072 + s//\1/
8075 + /^X\(\/\/\)[^/].*/{
8076 + s//\1/
8079 + /^X\(\/\/\)$/{
8080 + s//\1/
8083 + /^X\(\/\).*/{
8084 + s//\1/
8087 + s/.*/./; q'`
8088 + { as_dir="$ac_dir"
8089 + case $as_dir in #(
8090 + -*) as_dir=./$as_dir;;
8091 + esac
8092 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8093 as_dirs=
8094 - while test ! -d "$as_dir"; do
8095 - as_dirs="$as_dir $as_dirs"
8096 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
8097 + while :; do
8098 + case $as_dir in #(
8099 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8100 + *) as_qdir=$as_dir;;
8101 + esac
8102 + as_dirs="'$as_qdir' $as_dirs"
8103 + as_dir=`$as_dirname -- "$as_dir" ||
8104 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8105 X"$as_dir" : 'X\(//\)[^/]' \| \
8106 X"$as_dir" : 'X\(//\)$' \| \
8107 - X"$as_dir" : 'X\(/\)' \| \
8108 - . : '\(.\)' 2>/dev/null ||
8109 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8110 echo X"$as_dir" |
8111 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8112 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8113 - /^X\(\/\/\)$/{ s//\1/; q; }
8114 - /^X\(\/\).*/{ s//\1/; q; }
8115 - s/.*/./; q'`
8116 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8117 + s//\1/
8120 + /^X\(\/\/\)[^/].*/{
8121 + s//\1/
8124 + /^X\(\/\/\)$/{
8125 + s//\1/
8128 + /^X\(\/\).*/{
8129 + s//\1/
8132 + s/.*/./; q'`
8133 + test -d "$as_dir" && break
8134 done
8135 - test ! -n "$as_dirs" || mkdir $as_dirs
8136 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8137 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8138 + test -z "$as_dirs" || eval "mkdir $as_dirs"
8139 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8140 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
8141 { (exit 1); exit 1; }; }; }
8143 ac_builddir=.
8145 -if test "$ac_dir" != .; then
8146 +case "$ac_dir" in
8147 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8149 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8150 - # A "../" for each directory in $ac_dir_suffix.
8151 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8152 -else
8153 - ac_dir_suffix= ac_top_builddir=
8155 + # A ".." for each directory in $ac_dir_suffix.
8156 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8157 + case $ac_top_builddir_sub in
8158 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8159 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8160 + esac ;;
8161 +esac
8162 +ac_abs_top_builddir=$ac_pwd
8163 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
8164 +# for backward compatibility:
8165 +ac_top_builddir=$ac_top_build_prefix
8167 case $srcdir in
8168 - .) # No --srcdir option. We are building in place.
8169 + .) # We are building in place.
8170 ac_srcdir=.
8171 - if test -z "$ac_top_builddir"; then
8172 - ac_top_srcdir=.
8173 - else
8174 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8175 - fi ;;
8176 - [\\/]* | ?:[\\/]* ) # Absolute path.
8177 + ac_top_srcdir=$ac_top_builddir_sub
8178 + ac_abs_top_srcdir=$ac_pwd ;;
8179 + [\\/]* | ?:[\\/]* ) # Absolute name.
8180 ac_srcdir=$srcdir$ac_dir_suffix;
8181 - ac_top_srcdir=$srcdir ;;
8182 - *) # Relative path.
8183 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8184 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
8185 + ac_top_srcdir=$srcdir
8186 + ac_abs_top_srcdir=$srcdir ;;
8187 + *) # Relative name.
8188 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8189 + ac_top_srcdir=$ac_top_build_prefix$srcdir
8190 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8191 esac
8192 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8194 -# Do not use `cd foo && pwd` to compute absolute paths, because
8195 -# the directories may not exist.
8196 -case `pwd` in
8197 -.) ac_abs_builddir="$ac_dir";;
8199 - case "$ac_dir" in
8200 - .) ac_abs_builddir=`pwd`;;
8201 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8202 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
8203 - esac;;
8204 -esac
8205 -case $ac_abs_builddir in
8206 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
8208 - case ${ac_top_builddir}. in
8209 - .) ac_abs_top_builddir=$ac_abs_builddir;;
8210 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8211 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8212 - esac;;
8213 -esac
8214 -case $ac_abs_builddir in
8215 -.) ac_abs_srcdir=$ac_srcdir;;
8217 - case $ac_srcdir in
8218 - .) ac_abs_srcdir=$ac_abs_builddir;;
8219 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8220 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8221 - esac;;
8222 -esac
8223 -case $ac_abs_builddir in
8224 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
8226 - case $ac_top_srcdir in
8227 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
8228 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8229 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8230 - esac;;
8231 -esac
8233 + case $ac_mode in
8234 + :F)
8236 + # CONFIG_FILE
8239 case $INSTALL in
8240 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8241 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8242 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8243 esac
8244 +_ACEOF
8246 - # Let's still pretend it is `configure' which instantiates (i.e., don't
8247 - # use $as_me), people would be surprised to read:
8248 - # /* config.h. Generated by config.status. */
8249 - if test x"$ac_file" = x-; then
8250 - configure_input=
8251 - else
8252 - configure_input="$ac_file. "
8253 - fi
8254 - configure_input=$configure_input"Generated from `echo $ac_file_in |
8255 - sed 's,.*/,,'` by configure."
8257 - # First look for the input files in the build tree, otherwise in the
8258 - # src tree.
8259 - ac_file_inputs=`IFS=:
8260 - for f in $ac_file_in; do
8261 - case $f in
8262 - -) echo $tmp/stdin ;;
8263 - [\\/$]*)
8264 - # Absolute (can't be DOS-style, as IFS=:)
8265 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8266 -echo "$as_me: error: cannot find input file: $f" >&2;}
8267 - { (exit 1); exit 1; }; }
8268 - echo "$f";;
8269 - *) # Relative
8270 - if test -f "$f"; then
8271 - # Build tree
8272 - echo "$f"
8273 - elif test -f "$srcdir/$f"; then
8274 - # Source tree
8275 - echo "$srcdir/$f"
8276 - else
8277 - # /dev/null tree
8278 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8279 -echo "$as_me: error: cannot find input file: $f" >&2;}
8280 - { (exit 1); exit 1; }; }
8281 - fi;;
8282 - esac
8283 - done` || { (exit 1); exit 1; }
8284 +cat >>$CONFIG_STATUS <<\_ACEOF
8285 +# If the template does not know about datarootdir, expand it.
8286 +# FIXME: This hack should be removed a few years after 2.60.
8287 +ac_datarootdir_hack=; ac_datarootdir_seen=
8289 - if test x"$ac_file" != x-; then
8290 - { echo "$as_me:$LINENO: creating $ac_file" >&5
8291 -echo "$as_me: creating $ac_file" >&6;}
8292 - rm -f "$ac_file"
8293 - fi
8294 +case `sed -n '/datarootdir/ {
8298 +/@datadir@/p
8299 +/@docdir@/p
8300 +/@infodir@/p
8301 +/@localedir@/p
8302 +/@mandir@/p
8303 +' $ac_file_inputs` in
8304 +*datarootdir*) ac_datarootdir_seen=yes;;
8305 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8306 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8307 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8308 _ACEOF
8309 cat >>$CONFIG_STATUS <<_ACEOF
8310 + ac_datarootdir_hack='
8311 + s&@datadir@&$datadir&g
8312 + s&@docdir@&$docdir&g
8313 + s&@infodir@&$infodir&g
8314 + s&@localedir@&$localedir&g
8315 + s&@mandir@&$mandir&g
8316 + s&\\\${datarootdir}&$datarootdir&g' ;;
8317 +esac
8318 +_ACEOF
8320 +# Neutralize VPATH when `$srcdir' = `.'.
8321 +# Shell code in configure.ac might set extrasub.
8322 +# FIXME: do we really want to maintain this feature?
8323 +cat >>$CONFIG_STATUS <<_ACEOF
8324 sed "$ac_vpsub
8325 $extrasub
8326 _ACEOF
8327 cat >>$CONFIG_STATUS <<\_ACEOF
8329 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8330 -s,@configure_input@,$configure_input,;t t
8331 -s,@srcdir@,$ac_srcdir,;t t
8332 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
8333 -s,@top_srcdir@,$ac_top_srcdir,;t t
8334 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8335 -s,@builddir@,$ac_builddir,;t t
8336 -s,@abs_builddir@,$ac_abs_builddir,;t t
8337 -s,@top_builddir@,$ac_top_builddir,;t t
8338 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8339 -s,@INSTALL@,$ac_INSTALL,;t t
8340 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8341 - rm -f $tmp/stdin
8342 - if test x"$ac_file" != x-; then
8343 - mv $tmp/out $ac_file
8344 - else
8345 - cat $tmp/out
8346 - rm -f $tmp/out
8347 - fi
8349 -done
8350 -_ACEOF
8351 -cat >>$CONFIG_STATUS <<\_ACEOF
8354 -# CONFIG_HEADER section.
8356 +s&@configure_input@&$configure_input&;t t
8357 +s&@top_builddir@&$ac_top_builddir_sub&;t t
8358 +s&@srcdir@&$ac_srcdir&;t t
8359 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
8360 +s&@top_srcdir@&$ac_top_srcdir&;t t
8361 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8362 +s&@builddir@&$ac_builddir&;t t
8363 +s&@abs_builddir@&$ac_abs_builddir&;t t
8364 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8365 +s&@INSTALL@&$ac_INSTALL&;t t
8366 +$ac_datarootdir_hack
8367 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
8369 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8370 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
8372 -# ac_d sets the value in "#define NAME VALUE" lines.
8373 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8374 -ac_dB='[ ].*$,\1#\2'
8375 -ac_dC=' '
8376 -ac_dD=',;t'
8377 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8378 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8379 -ac_uB='$,\1#\2define\3'
8380 -ac_uC=' '
8381 -ac_uD=',;t'
8382 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8383 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8384 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8385 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8386 +which seems to be undefined. Please make sure it is defined." >&5
8387 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8388 +which seems to be undefined. Please make sure it is defined." >&2;}
8390 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8391 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8392 + rm -f "$tmp/stdin"
8393 case $ac_file in
8394 - - | *:- | *:-:* ) # input from stdin
8395 - cat >$tmp/stdin
8396 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8397 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8398 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8399 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8400 - * ) ac_file_in=$ac_file.in ;;
8401 + -) cat "$tmp/out"; rm -f "$tmp/out";;
8402 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8403 esac
8405 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8406 -echo "$as_me: creating $ac_file" >&6;}
8408 - # First look for the input files in the build tree, otherwise in the
8409 - # src tree.
8410 - ac_file_inputs=`IFS=:
8411 - for f in $ac_file_in; do
8412 - case $f in
8413 - -) echo $tmp/stdin ;;
8414 - [\\/$]*)
8415 - # Absolute (can't be DOS-style, as IFS=:)
8416 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8417 -echo "$as_me: error: cannot find input file: $f" >&2;}
8418 - { (exit 1); exit 1; }; }
8419 - # Do quote $f, to prevent DOS paths from being IFS'd.
8420 - echo "$f";;
8421 - *) # Relative
8422 - if test -f "$f"; then
8423 - # Build tree
8424 - echo "$f"
8425 - elif test -f "$srcdir/$f"; then
8426 - # Source tree
8427 - echo "$srcdir/$f"
8428 - else
8429 - # /dev/null tree
8430 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8431 -echo "$as_me: error: cannot find input file: $f" >&2;}
8432 - { (exit 1); exit 1; }; }
8433 - fi;;
8434 - esac
8435 - done` || { (exit 1); exit 1; }
8436 - # Remove the trailing spaces.
8437 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8439 + ;;
8440 + :H)
8442 + # CONFIG_HEADER
8444 _ACEOF
8446 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
8447 -# `conftest.undefs', that substitutes the proper values into
8448 -# config.h.in to produce config.h. The first handles `#define'
8449 -# templates, and the second `#undef' templates.
8450 -# And first: Protect against being on the right side of a sed subst in
8451 -# config.status. Protect against being in an unquoted here document
8452 -# in config.status.
8453 -rm -f conftest.defines conftest.undefs
8454 -# Using a here document instead of a string reduces the quoting nightmare.
8455 -# Putting comments in sed scripts is not portable.
8457 -# `end' is used to avoid that the second main sed command (meant for
8458 -# 0-ary CPP macros) applies to n-ary macro definitions.
8459 -# See the Autoconf documentation for `clear'.
8460 -cat >confdef2sed.sed <<\_ACEOF
8461 -s/[\\&,]/\\&/g
8462 -s,[\\$`],\\&,g
8463 -t clear
8464 -: clear
8465 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8466 -t end
8467 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8468 -: end
8469 -_ACEOF
8470 -# If some macros were called several times there might be several times
8471 -# the same #defines, which is useless. Nevertheless, we may not want to
8472 -# sort them, since we want the *last* AC-DEFINE to be honored.
8473 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8474 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8475 -rm -f confdef2sed.sed
8476 +# Transform confdefs.h into a sed script `conftest.defines', that
8477 +# substitutes the proper values into config.h.in to produce config.h.
8478 +rm -f conftest.defines conftest.tail
8479 +# First, append a space to every undef/define line, to ease matching.
8480 +echo 's/$/ /' >conftest.defines
8481 +# Then, protect against being on the right side of a sed subst, or in
8482 +# an unquoted here document, in config.status. If some macros were
8483 +# called several times there might be several #defines for the same
8484 +# symbol, which is useless. But do not sort them, since the last
8485 +# AC_DEFINE must be honored.
8486 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8487 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8488 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
8489 +# PARAMS is the parameter list in the macro definition--in most cases, it's
8490 +# just an empty string.
8491 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8492 +ac_dB='\\)[ (].*,\\1define\\2'
8493 +ac_dC=' '
8494 +ac_dD=' ,'
8496 -# This sed command replaces #undef with comments. This is necessary, for
8497 +uniq confdefs.h |
8498 + sed -n '
8499 + t rset
8500 + :rset
8501 + s/^[ ]*#[ ]*define[ ][ ]*//
8502 + t ok
8504 + :ok
8505 + s/[\\&,]/\\&/g
8506 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8507 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8508 + ' >>conftest.defines
8510 +# Remove the space that was appended to ease matching.
8511 +# Then replace #undef with comments. This is necessary, for
8512 # example, in the case of _POSIX_SOURCE, which is predefined and required
8513 # on some systems where configure will not decide to define it.
8514 -cat >>conftest.undefs <<\_ACEOF
8515 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8516 -_ACEOF
8517 +# (The regexp can be short, since the line contains either #define or #undef.)
8518 +echo 's/ $//
8519 +s,^[ #]*u.*,/* & */,' >>conftest.defines
8521 -# Break up conftest.defines because some shells have a limit on the size
8522 -# of here documents, and old seds have small limits too (100 cmds).
8523 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8524 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8525 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8526 -echo ' :' >>$CONFIG_STATUS
8527 -rm -f conftest.tail
8528 -while grep . conftest.defines >/dev/null
8529 +# Break up conftest.defines:
8530 +ac_max_sed_lines=50
8532 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8533 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8534 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8535 +# et cetera.
8536 +ac_in='$ac_file_inputs'
8537 +ac_out='"$tmp/out1"'
8538 +ac_nxt='"$tmp/out2"'
8540 +while :
8542 - # Write a limited-size here document to $tmp/defines.sed.
8543 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8544 - # Speed up: don't consider the non `#define' lines.
8545 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8546 - # Work around the forget-to-reset-the-flag bug.
8547 - echo 't clr' >>$CONFIG_STATUS
8548 - echo ': clr' >>$CONFIG_STATUS
8549 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8550 + # Write a here document:
8551 + cat >>$CONFIG_STATUS <<_ACEOF
8552 + # First, check the format of the line:
8553 + cat >"\$tmp/defines.sed" <<\\CEOF
8554 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8555 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8557 +:def
8558 +_ACEOF
8559 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8560 echo 'CEOF
8561 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
8562 - rm -f $tmp/in
8563 - mv $tmp/out $tmp/in
8564 -' >>$CONFIG_STATUS
8565 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8566 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8567 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8568 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8569 + grep . conftest.tail >/dev/null || break
8570 rm -f conftest.defines
8571 mv conftest.tail conftest.defines
8572 done
8573 -rm -f conftest.defines
8574 -echo ' fi # grep' >>$CONFIG_STATUS
8575 -echo >>$CONFIG_STATUS
8577 -# Break up conftest.undefs because some shells have a limit on the size
8578 -# of here documents, and old seds have small limits too (100 cmds).
8579 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8580 -rm -f conftest.tail
8581 -while grep . conftest.undefs >/dev/null
8583 - # Write a limited-size here document to $tmp/undefs.sed.
8584 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8585 - # Speed up: don't consider the non `#undef'
8586 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8587 - # Work around the forget-to-reset-the-flag bug.
8588 - echo 't clr' >>$CONFIG_STATUS
8589 - echo ': clr' >>$CONFIG_STATUS
8590 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8591 - echo 'CEOF
8592 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8593 - rm -f $tmp/in
8594 - mv $tmp/out $tmp/in
8595 -' >>$CONFIG_STATUS
8596 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8597 - rm -f conftest.undefs
8598 - mv conftest.tail conftest.undefs
8599 -done
8600 -rm -f conftest.undefs
8601 +rm -f conftest.defines conftest.tail
8603 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
8604 cat >>$CONFIG_STATUS <<\_ACEOF
8605 - # Let's still pretend it is `configure' which instantiates (i.e., don't
8606 - # use $as_me), people would be surprised to read:
8607 - # /* config.h. Generated by config.status. */
8608 - if test x"$ac_file" = x-; then
8609 - echo "/* Generated by configure. */" >$tmp/config.h
8610 - else
8611 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8612 - fi
8613 - cat $tmp/in >>$tmp/config.h
8614 - rm -f $tmp/in
8615 if test x"$ac_file" != x-; then
8616 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8617 + echo "/* $configure_input */" >"$tmp/config.h"
8618 + cat "$ac_result" >>"$tmp/config.h"
8619 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8620 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8621 echo "$as_me: $ac_file is unchanged" >&6;}
8622 else
8623 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8624 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8625 - X"$ac_file" : 'X\(//\)[^/]' \| \
8626 - X"$ac_file" : 'X\(//\)$' \| \
8627 - X"$ac_file" : 'X\(/\)' \| \
8628 - . : '\(.\)' 2>/dev/null ||
8629 -echo X"$ac_file" |
8630 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8631 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8632 - /^X\(\/\/\)$/{ s//\1/; q; }
8633 - /^X\(\/\).*/{ s//\1/; q; }
8634 - s/.*/./; q'`
8635 - { if $as_mkdir_p; then
8636 - mkdir -p "$ac_dir"
8637 - else
8638 - as_dir="$ac_dir"
8639 - as_dirs=
8640 - while test ! -d "$as_dir"; do
8641 - as_dirs="$as_dir $as_dirs"
8642 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
8643 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8644 - X"$as_dir" : 'X\(//\)[^/]' \| \
8645 - X"$as_dir" : 'X\(//\)$' \| \
8646 - X"$as_dir" : 'X\(/\)' \| \
8647 - . : '\(.\)' 2>/dev/null ||
8648 -echo X"$as_dir" |
8649 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8650 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8651 - /^X\(\/\/\)$/{ s//\1/; q; }
8652 - /^X\(\/\).*/{ s//\1/; q; }
8653 - s/.*/./; q'`
8654 - done
8655 - test ! -n "$as_dirs" || mkdir $as_dirs
8656 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8657 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8658 - { (exit 1); exit 1; }; }; }
8660 rm -f $ac_file
8661 - mv $tmp/config.h $ac_file
8662 + mv "$tmp/config.h" $ac_file
8664 else
8665 - cat $tmp/config.h
8666 - rm -f $tmp/config.h
8667 + echo "/* $configure_input */"
8668 + cat "$ac_result"
8670 -done
8671 -_ACEOF
8672 + rm -f "$tmp/out12"
8673 + ;;
8676 + esac
8678 +done # for ac_tag
8680 -cat >>$CONFIG_STATUS <<\_ACEOF
8682 { (exit 0); exit 0; }
8683 _ACEOF
8684 @@ -7025,9 +7578,9 @@ if test "$no_create" != yes; then
8688 -echo "$as_me:$LINENO: result: On this platform, the following targets will be built:" >&5
8689 -echo "${ECHO_T}On this platform, the following targets will be built:" >&6
8690 -echo "$as_me:$LINENO: result: $TARGETS" >&5
8691 -echo "${ECHO_T}$TARGETS" >&6
8692 -echo "$as_me:$LINENO: result: Type 'make' to compile the software." >&5
8693 -echo "${ECHO_T}Type 'make' to compile the software." >&6
8694 +{ echo "$as_me:$LINENO: result: On this platform, the following targets will be built:" >&5
8695 +echo "${ECHO_T}On this platform, the following targets will be built:" >&6; }
8696 +{ echo "$as_me:$LINENO: result: $TARGETS" >&5
8697 +echo "${ECHO_T}$TARGETS" >&6; }
8698 +{ echo "$as_me:$LINENO: result: Type 'make' to compile the software." >&5
8699 +echo "${ECHO_T}Type 'make' to compile the software." >&6; }