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.
8  #
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
59  fi
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
65  fi
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
115    fi
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
125  fi
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/
150 +           q
151 +         }
152 +         /^X\/\(\/\/\)$/{
153 +           s//\1/
154 +           q
155 +         }
156 +         /^X\/\(\/\).*/{
157 +           s//\1/
158 +           q
159 +         }
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
189  fi
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
226 +  :
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
251 +  :
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
263 +  :
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
277 +  :
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
282  do
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
288          /*)
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
357 +  :
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
369 +  :
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
381 +  :
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
459 +  :
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
471 +  :
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
483 +  :
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 '
520 +    p
521 +    /[$]LINENO/=
522 +  ' <$as_myself |
523      sed '
524 +      s/[$]LINENO.*/&-/
525 +      t lineno
526 +      b
527 +      :lineno
528        N
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
583  fi
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'
612  fi
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
621  fi
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
643 +  '
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
861  do
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
868    fi
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 ;;
1035    *)
1036 @@ -656,27 +1081,19 @@ if test -n "$ac_prev"; then
1037     { (exit 1); exit 1; }; }
1038  fi
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
1059  do
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/
1109 +           q
1110 +         }
1111 +         /^X\(\/\/\)[^/].*/{
1112 +           s//\1/
1113 +           q
1114 +         }
1115 +         /^X\(\/\/\)$/{
1116 +           s//\1/
1117 +           q
1118 +         }
1119 +         /^X\(\/\).*/{
1120 +           s//\1/
1121 +           q
1122 +         }
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=..
1128    fi
1129  else
1130    ac_srcdir_defaulted=no
1131  fi
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
1143  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=$?
1255  fi
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
1380  fi
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
1397  fi
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
1439  do
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
1452        fi
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'"
1457        ;;
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.
1470    {
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 +      ;; #(
1503      *)
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"
1507        ;;
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
1519      do
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
1541        do
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
1551      fi
1552 @@ -1134,26 +1544,24 @@ _ASBOX
1553  ## ----------- ##
1554  _ASBOX
1555        echo
1556 -      sed "/^$/d" confdefs.h | sort
1557 +      cat confdefs.h
1558        echo
1559      fi
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"
1601  fi
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
1618    fi
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; }; }
1648  fi
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
1698    fi
1699  done
1700  done
1701 +IFS=$as_save_IFS
1703  fi
1704  fi
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; }
1716  fi
1719  fi
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
1740    fi
1741  done
1742  done
1743 +IFS=$as_save_IFS
1745  fi
1746  fi
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; }
1758  fi
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"
1778  fi
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
1802    fi
1803  done
1804  done
1805 +IFS=$as_save_IFS
1807  fi
1808  fi
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; }
1858  fi
1860 -  CC=$ac_ct_CC
1861 -else
1862 -  CC="$ac_cv_prog_CC"
1865 +  fi
1866  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
1887    fi
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
1895  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; }
1907  fi
1910  fi
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
1915    do
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
1934    fi
1935  done
1936  done
1937 +IFS=$as_save_IFS
1939  fi
1940  fi
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; }
1952  fi
1955      test -n "$CC" && break
1956    done
1957  fi
1958  if test -z "$CC"; then
1959    ac_ct_CC=$CC
1960 -  for ac_prog in cl
1961 +  for ac_prog in cl.exe
1962  do
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
1981    fi
1982  done
1983  done
1984 +IFS=$as_save_IFS
1986  fi
1987  fi
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; }
1999  fi
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
2021  fi
2023  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 ''
2123  do
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 )
2131         ;;
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;;
2152      * )
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
2169  fi
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
2198      fi
2199    fi
2200  fi
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
2248  fi
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
2294  fi
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
2350  fi
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
2356  fi
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 ()
2424 +  ;
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
2449 +  :
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 ()
2467 +  ;
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
2496  fi
2497 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2499 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500  fi
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=
2517    fi
2518  fi
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__"
2566  do
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
2608  fi
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
2618  fi
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; } ;;
2632    *)
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);
2691 -  ;
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
2716 -  :
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);
2735 -  ;
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
2804    fi
2805  done
2806  done
2807 +IFS=$as_save_IFS
2809  fi
2810  fi
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; }
2822  fi
2825  fi
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
2846    fi
2847  done
2848  done
2849 +IFS=$as_save_IFS
2851 -  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2852  fi
2853  fi
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; }
2865  fi
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"
2885  fi
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
2930    :
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
2936  fi
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
2984  fi
2986  rm -f conftest.err conftest.$ac_ext
2988  done
2989 @@ -2430,8 +2847,8 @@ fi
2990  else
2991    ac_cv_prog_CPP=$CPP
2992  fi
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
2999  do
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
3033    :
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
3039  fi
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
3087  fi
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
3145      fi
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; }; }
3168  fi
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
3316  fi
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
3368  fi
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
3371  fi
3374  fi
3375  fi
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
3385  fi
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
3445  fi
3446 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3448 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3449  fi
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
3459  do
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"
3512  fi
3513 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3515 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516  fi
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
3527  do
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
3538  fi
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
3595  fi
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
3651  fi
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;}
3665 -    (
3666 -      cat <<\_ASBOX
3667 -## ------------------------------------------ ##
3668 -## Report this to the AC_PACKAGE_NAME lists.  ##
3669 -## ------------------------------------------ ##
3670 -_ASBOX
3671 -    ) |
3672 -      sed "s/^/$as_me: WARNING:     /" >&2
3674      ;;
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"
3685  fi
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; }
3692  fi
3693  if test `eval echo '${'$as_ac_Header'}'` = yes; then
3694 @@ -3042,9 +3599,9 @@ done
3695  for ac_header in linux/if.h
3696  do
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"
3749  fi
3750 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3752 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753  fi
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
3764  do
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"
3817  fi
3818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3820 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821  fi
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;
3874    }
3875    { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3876      int x[] = {25, 17};
3877 @@ -3222,7 +3776,9 @@ main ()
3878    }
3879    { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3880      const int foo = 10;
3881 +    if (!foo) return 0;
3882    }
3883 +  return !cs[0] && !zero.x;
3884  #endif
3886    ;
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
3929  fi
3930 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3932 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3933  fi
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
3943  fi
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_;
3957  int
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;
3966    ;
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
4009  fi
4010 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4012 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4013  fi
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
4019    :
4020  else
4021 @@ -3334,8 +3885,8 @@ _ACEOF
4023  fi
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
4074  fi
4075 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4077 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078  fi
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
4088  fi
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
4098  int
4099  main ()
4101 -struct tm *tp; tp->tm_sec;
4102 +struct tm tm;
4103 +                                    int *p = &tm.tm_sec;
4104 +                                    return !p;
4105    ;
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
4148  fi
4149 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4151 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152  fi
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
4161  fi
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"