"Fossies" - the Fresh Open Source Software Archive

Member "screentest-2.0/configure" (5 Aug 2007, 767252 Bytes) of package /linux/privat/old/screentest-2.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61 for screentest 2.0.
    4 #
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    7 # This configure script is free software; the Free Software Foundation
    8 # gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
   10 ## M4sh Initialization.  ##
   11 ## --------------------- ##
   12 
   13 # Be more Bourne compatible
   14 DUALCASE=1; export DUALCASE # for MKS sh
   15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   16   emulate sh
   17   NULLCMD=:
   18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   19   # is contrary to our usage.  Disable this feature.
   20   alias -g '${1+"$@"}'='"$@"'
   21   setopt NO_GLOB_SUBST
   22 else
   23   case `(set -o) 2>/dev/null` in
   24   *posix*) set -o posix ;;
   25 esac
   26 
   27 fi
   28 
   29 
   30 
   31 
   32 # PATH needs CR
   33 # Avoid depending upon Character Ranges.
   34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   37 as_cr_digits='0123456789'
   38 as_cr_alnum=$as_cr_Letters$as_cr_digits
   39 
   40 # The user is always right.
   41 if test "${PATH_SEPARATOR+set}" != set; then
   42   echo "#! /bin/sh" >conf$$.sh
   43   echo  "exit 0"   >>conf$$.sh
   44   chmod +x conf$$.sh
   45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   46     PATH_SEPARATOR=';'
   47   else
   48     PATH_SEPARATOR=:
   49   fi
   50   rm -f conf$$.sh
   51 fi
   52 
   53 # Support unset when possible.
   54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   55   as_unset=unset
   56 else
   57   as_unset=false
   58 fi
   59 
   60 
   61 # IFS
   62 # We need space, tab and new line, in precisely that order.  Quoting is
   63 # there to prevent editors from complaining about space-tab.
   64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   65 # splitting by setting IFS to empty value.)
   66 as_nl='
   67 '
   68 IFS=" ""    $as_nl"
   69 
   70 # Find who we are.  Look in the path if we contain no directory separator.
   71 case $0 in
   72   *[\\/]* ) as_myself=$0 ;;
   73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   74 for as_dir in $PATH
   75 do
   76   IFS=$as_save_IFS
   77   test -z "$as_dir" && as_dir=.
   78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   79 done
   80 IFS=$as_save_IFS
   81 
   82      ;;
   83 esac
   84 # We did not find ourselves, most probably we were run as `sh COMMAND'
   85 # in which case we are not to be found in the path.
   86 if test "x$as_myself" = x; then
   87   as_myself=$0
   88 fi
   89 if test ! -f "$as_myself"; then
   90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   91   { (exit 1); exit 1; }
   92 fi
   93 
   94 # Work around bugs in pre-3.0 UWIN ksh.
   95 for as_var in ENV MAIL MAILPATH
   96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   97 done
   98 PS1='$ '
   99 PS2='> '
  100 PS4='+ '
  101 
  102 # NLS nuisances.
  103 for as_var in \
  104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  106   LC_TELEPHONE LC_TIME
  107 do
  108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  109     eval $as_var=C; export $as_var
  110   else
  111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  112   fi
  113 done
  114 
  115 # Required to use basename.
  116 if expr a : '\(a\)' >/dev/null 2>&1 &&
  117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  118   as_expr=expr
  119 else
  120   as_expr=false
  121 fi
  122 
  123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  124   as_basename=basename
  125 else
  126   as_basename=false
  127 fi
  128 
  129 
  130 # Name of the executable.
  131 as_me=`$as_basename -- "$0" ||
  132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  133      X"$0" : 'X\(//\)$' \| \
  134      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  135 echo X/"$0" |
  136     sed '/^.*\/\([^/][^/]*\)\/*$/{
  137         s//\1/
  138         q
  139       }
  140       /^X\/\(\/\/\)$/{
  141         s//\1/
  142         q
  143       }
  144       /^X\/\(\/\).*/{
  145         s//\1/
  146         q
  147       }
  148       s/.*/./; q'`
  149 
  150 # CDPATH.
  151 $as_unset CDPATH
  152 
  153 
  154 if test "x$CONFIG_SHELL" = x; then
  155   if (eval ":") 2>/dev/null; then
  156   as_have_required=yes
  157 else
  158   as_have_required=no
  159 fi
  160 
  161   if test $as_have_required = yes &&     (eval ":
  162 (as_func_return () {
  163   (exit \$1)
  164 }
  165 as_func_success () {
  166   as_func_return 0
  167 }
  168 as_func_failure () {
  169   as_func_return 1
  170 }
  171 as_func_ret_success () {
  172   return 0
  173 }
  174 as_func_ret_failure () {
  175   return 1
  176 }
  177 
  178 exitcode=0
  179 if as_func_success; then
  180   :
  181 else
  182   exitcode=1
  183   echo as_func_success failed.
  184 fi
  185 
  186 if as_func_failure; then
  187   exitcode=1
  188   echo as_func_failure succeeded.
  189 fi
  190 
  191 if as_func_ret_success; then
  192   :
  193 else
  194   exitcode=1
  195   echo as_func_ret_success failed.
  196 fi
  197 
  198 if as_func_ret_failure; then
  199   exitcode=1
  200   echo as_func_ret_failure succeeded.
  201 fi
  202 
  203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  204   :
  205 else
  206   exitcode=1
  207   echo positional parameters were not saved.
  208 fi
  209 
  210 test \$exitcode = 0) || { (exit 1); exit 1; }
  211 
  212 (
  213   as_lineno_1=\$LINENO
  214   as_lineno_2=\$LINENO
  215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  217 ") 2> /dev/null; then
  218   :
  219 else
  220   as_candidate_shells=
  221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  223 do
  224   IFS=$as_save_IFS
  225   test -z "$as_dir" && as_dir=.
  226   case $as_dir in
  227      /*)
  228        for as_base in sh bash ksh sh5; do
  229          as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  230        done;;
  231        esac
  232 done
  233 IFS=$as_save_IFS
  234 
  235 
  236       for as_shell in $as_candidate_shells $SHELL; do
  237      # Try only shells that exist, to save several forks.
  238      if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  239         { ("$as_shell") 2> /dev/null <<\_ASEOF
  240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  241   emulate sh
  242   NULLCMD=:
  243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  244   # is contrary to our usage.  Disable this feature.
  245   alias -g '${1+"$@"}'='"$@"'
  246   setopt NO_GLOB_SUBST
  247 else
  248   case `(set -o) 2>/dev/null` in
  249   *posix*) set -o posix ;;
  250 esac
  251 
  252 fi
  253 
  254 
  255 :
  256 _ASEOF
  257 }; then
  258   CONFIG_SHELL=$as_shell
  259            as_have_required=yes
  260            if { "$as_shell" 2> /dev/null <<\_ASEOF
  261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  262   emulate sh
  263   NULLCMD=:
  264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  265   # is contrary to our usage.  Disable this feature.
  266   alias -g '${1+"$@"}'='"$@"'
  267   setopt NO_GLOB_SUBST
  268 else
  269   case `(set -o) 2>/dev/null` in
  270   *posix*) set -o posix ;;
  271 esac
  272 
  273 fi
  274 
  275 
  276 :
  277 (as_func_return () {
  278   (exit $1)
  279 }
  280 as_func_success () {
  281   as_func_return 0
  282 }
  283 as_func_failure () {
  284   as_func_return 1
  285 }
  286 as_func_ret_success () {
  287   return 0
  288 }
  289 as_func_ret_failure () {
  290   return 1
  291 }
  292 
  293 exitcode=0
  294 if as_func_success; then
  295   :
  296 else
  297   exitcode=1
  298   echo as_func_success failed.
  299 fi
  300 
  301 if as_func_failure; then
  302   exitcode=1
  303   echo as_func_failure succeeded.
  304 fi
  305 
  306 if as_func_ret_success; then
  307   :
  308 else
  309   exitcode=1
  310   echo as_func_ret_success failed.
  311 fi
  312 
  313 if as_func_ret_failure; then
  314   exitcode=1
  315   echo as_func_ret_failure succeeded.
  316 fi
  317 
  318 if ( set x; as_func_ret_success y && test x = "$1" ); then
  319   :
  320 else
  321   exitcode=1
  322   echo positional parameters were not saved.
  323 fi
  324 
  325 test $exitcode = 0) || { (exit 1); exit 1; }
  326 
  327 (
  328   as_lineno_1=$LINENO
  329   as_lineno_2=$LINENO
  330   test "x$as_lineno_1" != "x$as_lineno_2" &&
  331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  332 
  333 _ASEOF
  334 }; then
  335   break
  336 fi
  337 
  338 fi
  339 
  340       done
  341 
  342       if test "x$CONFIG_SHELL" != x; then
  343   for as_var in BASH_ENV ENV
  344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  345         done
  346         export CONFIG_SHELL
  347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  348 fi
  349 
  350 
  351     if test $as_have_required = no; then
  352   echo This script requires a shell more modern than all the
  353       echo shells that I found on your system.  Please install a
  354       echo modern shell, or manually run the script under such a
  355       echo shell if you do have one.
  356       { (exit 1); exit 1; }
  357 fi
  358 
  359 
  360 fi
  361 
  362 fi
  363 
  364 
  365 
  366 (eval "as_func_return () {
  367   (exit \$1)
  368 }
  369 as_func_success () {
  370   as_func_return 0
  371 }
  372 as_func_failure () {
  373   as_func_return 1
  374 }
  375 as_func_ret_success () {
  376   return 0
  377 }
  378 as_func_ret_failure () {
  379   return 1
  380 }
  381 
  382 exitcode=0
  383 if as_func_success; then
  384   :
  385 else
  386   exitcode=1
  387   echo as_func_success failed.
  388 fi
  389 
  390 if as_func_failure; then
  391   exitcode=1
  392   echo as_func_failure succeeded.
  393 fi
  394 
  395 if as_func_ret_success; then
  396   :
  397 else
  398   exitcode=1
  399   echo as_func_ret_success failed.
  400 fi
  401 
  402 if as_func_ret_failure; then
  403   exitcode=1
  404   echo as_func_ret_failure succeeded.
  405 fi
  406 
  407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  408   :
  409 else
  410   exitcode=1
  411   echo positional parameters were not saved.
  412 fi
  413 
  414 test \$exitcode = 0") || {
  415   echo No shell found that supports shell functions.
  416   echo Please tell autoconf@gnu.org about your system,
  417   echo including any error possibly output before this
  418   echo message
  419 }
  420 
  421 
  422 
  423   as_lineno_1=$LINENO
  424   as_lineno_2=$LINENO
  425   test "x$as_lineno_1" != "x$as_lineno_2" &&
  426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  427 
  428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  429   # uniformly replaced by the line number.  The first 'sed' inserts a
  430   # line-number line after each line using $LINENO; the second 'sed'
  431   # does the real work.  The second script uses 'N' to pair each
  432   # line-number line with the line containing $LINENO, and appends
  433   # trailing '-' during substitution so that $LINENO is not a special
  434   # case at line end.
  435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
  437   # E. McMahon (1931-1989) for sed's syntax.  :-)
  438   sed -n '
  439     p
  440     /[$]LINENO/=
  441   ' <$as_myself |
  442     sed '
  443       s/[$]LINENO.*/&-/
  444       t lineno
  445       b
  446       :lineno
  447       N
  448       :loop
  449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  450       t loop
  451       s/-\n.*//
  452     ' >$as_me.lineno &&
  453   chmod +x "$as_me.lineno" ||
  454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  455    { (exit 1); exit 1; }; }
  456 
  457   # Don't try to exec as it changes $[0], causing all sort of problems
  458   # (the dirname of $[0] is not the place where we might find the
  459   # original and so on.  Autoconf is especially sensitive to this).
  460   . "./$as_me.lineno"
  461   # Exit status is that of the last command.
  462   exit
  463 }
  464 
  465 
  466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  467   as_dirname=dirname
  468 else
  469   as_dirname=false
  470 fi
  471 
  472 ECHO_C= ECHO_N= ECHO_T=
  473 case `echo -n x` in
  474 -n*)
  475   case `echo 'x\c'` in
  476   *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  477   *)   ECHO_C='\c';;
  478   esac;;
  479 *)
  480   ECHO_N='-n';;
  481 esac
  482 
  483 if expr a : '\(a\)' >/dev/null 2>&1 &&
  484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  485   as_expr=expr
  486 else
  487   as_expr=false
  488 fi
  489 
  490 rm -f conf$$ conf$$.exe conf$$.file
  491 if test -d conf$$.dir; then
  492   rm -f conf$$.dir/conf$$.file
  493 else
  494   rm -f conf$$.dir
  495   mkdir conf$$.dir
  496 fi
  497 echo >conf$$.file
  498 if ln -s conf$$.file conf$$ 2>/dev/null; then
  499   as_ln_s='ln -s'
  500   # ... but there are two gotchas:
  501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  503   # In both cases, we have to default to `cp -p'.
  504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  505     as_ln_s='cp -p'
  506 elif ln conf$$.file conf$$ 2>/dev/null; then
  507   as_ln_s=ln
  508 else
  509   as_ln_s='cp -p'
  510 fi
  511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  512 rmdir conf$$.dir 2>/dev/null
  513 
  514 if mkdir -p . 2>/dev/null; then
  515   as_mkdir_p=:
  516 else
  517   test -d ./-p && rmdir ./-p
  518   as_mkdir_p=false
  519 fi
  520 
  521 if test -x / >/dev/null 2>&1; then
  522   as_test_x='test -x'
  523 else
  524   if ls -dL / >/dev/null 2>&1; then
  525     as_ls_L_option=L
  526   else
  527     as_ls_L_option=
  528   fi
  529   as_test_x='
  530     eval sh -c '\''
  531       if test -d "$1"; then
  532         test -d "$1/.";
  533       else
  534     case $1 in
  535         -*)set "./$1";;
  536     esac;
  537     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  538     ???[sx]*):;;*)false;;esac;fi
  539     '\'' sh
  540   '
  541 fi
  542 as_executable_p=$as_test_x
  543 
  544 # Sed expression to map a string onto a valid CPP name.
  545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  546 
  547 # Sed expression to map a string onto a valid variable name.
  548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  549 
  550 
  551 
  552 
  553 # Check that we are running under the correct shell.
  554 SHELL=${CONFIG_SHELL-/bin/sh}
  555 
  556 case X$ECHO in
  557 X*--fallback-echo)
  558   # Remove one level of quotation (which was required for Make).
  559   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  560   ;;
  561 esac
  562 
  563 echo=${ECHO-echo}
  564 if test "X$1" = X--no-reexec; then
  565   # Discard the --no-reexec flag, and continue.
  566   shift
  567 elif test "X$1" = X--fallback-echo; then
  568   # Avoid inline document here, it may be left over
  569   :
  570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  571   # Yippee, $echo works!
  572   :
  573 else
  574   # Restart under the correct shell.
  575   exec $SHELL "$0" --no-reexec ${1+"$@"}
  576 fi
  577 
  578 if test "X$1" = X--fallback-echo; then
  579   # used as fallback echo
  580   shift
  581   cat <<EOF
  582 $*
  583 EOF
  584   exit 0
  585 fi
  586 
  587 # The HP-UX ksh and POSIX shell print the target directory to stdout
  588 # if CDPATH is set.
  589 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  590 
  591 if test -z "$ECHO"; then
  592 if test "X${echo_test_string+set}" != Xset; then
  593 # find a string as large as possible, as long as the shell can cope with it
  594   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  595     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  596     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  597        echo_test_string=`eval $cmd` &&
  598        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  599     then
  600       break
  601     fi
  602   done
  603 fi
  604 
  605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  606    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  607    test "X$echo_testing_string" = "X$echo_test_string"; then
  608   :
  609 else
  610   # The Solaris, AIX, and Digital Unix default echo programs unquote
  611   # backslashes.  This makes it impossible to quote backslashes using
  612   #   echo "$something" | sed 's/\\/\\\\/g'
  613   #
  614   # So, first we look for a working echo in the user's PATH.
  615 
  616   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  617   for dir in $PATH /usr/ucb; do
  618     IFS="$lt_save_ifs"
  619     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  620        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  621        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  622        test "X$echo_testing_string" = "X$echo_test_string"; then
  623       echo="$dir/echo"
  624       break
  625     fi
  626   done
  627   IFS="$lt_save_ifs"
  628 
  629   if test "X$echo" = Xecho; then
  630     # We didn't find a better echo, so look for alternatives.
  631     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  632        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  633        test "X$echo_testing_string" = "X$echo_test_string"; then
  634       # This shell has a builtin print -r that does the trick.
  635       echo='print -r'
  636     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  637      test "X$CONFIG_SHELL" != X/bin/ksh; then
  638       # If we have ksh, try running configure again with it.
  639       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  640       export ORIGINAL_CONFIG_SHELL
  641       CONFIG_SHELL=/bin/ksh
  642       export CONFIG_SHELL
  643       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  644     else
  645       # Try using printf.
  646       echo='printf %s\n'
  647       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  648      echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  649      test "X$echo_testing_string" = "X$echo_test_string"; then
  650     # Cool, printf works
  651     :
  652       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  653        test "X$echo_testing_string" = 'X\t' &&
  654        echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  655        test "X$echo_testing_string" = "X$echo_test_string"; then
  656     CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  657     export CONFIG_SHELL
  658     SHELL="$CONFIG_SHELL"
  659     export SHELL
  660     echo="$CONFIG_SHELL $0 --fallback-echo"
  661       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  662        test "X$echo_testing_string" = 'X\t' &&
  663        echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  664        test "X$echo_testing_string" = "X$echo_test_string"; then
  665     echo="$CONFIG_SHELL $0 --fallback-echo"
  666       else
  667     # maybe with a smaller string...
  668     prev=:
  669 
  670     for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  671       if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  672       then
  673         break
  674       fi
  675       prev="$cmd"
  676     done
  677 
  678     if test "$prev" != 'sed 50q "$0"'; then
  679       echo_test_string=`eval $prev`
  680       export echo_test_string
  681       exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  682     else
  683       # Oops.  We lost completely, so just stick with echo.
  684       echo=echo
  685     fi
  686       fi
  687     fi
  688   fi
  689 fi
  690 fi
  691 
  692 # Copy echo and quote the copy suitably for passing to libtool from
  693 # the Makefile, instead of quoting the original, which is used later.
  694 ECHO=$echo
  695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  696    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  697 fi
  698 
  699 
  700 
  701 
  702 tagnames=${tagnames+${tagnames},}CXX
  703 
  704 tagnames=${tagnames+${tagnames},}F77
  705 
  706 exec 7<&0 </dev/null 6>&1
  707 
  708 # Name of the host.
  709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  710 # so uname gets run too.
  711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  712 
  713 #
  714 # Initializations.
  715 #
  716 ac_default_prefix=/usr/local
  717 ac_clean_files=
  718 ac_config_libobj_dir=.
  719 LIBOBJS=
  720 cross_compiling=no
  721 subdirs=
  722 MFLAGS=
  723 MAKEFLAGS=
  724 SHELL=${CONFIG_SHELL-/bin/sh}
  725 
  726 # Identity of this package.
  727 PACKAGE_NAME='screentest'
  728 PACKAGE_TARNAME='screentest'
  729 PACKAGE_VERSION='2.0'
  730 PACKAGE_STRING='screentest 2.0'
  731 PACKAGE_BUGREPORT=''
  732 
  733 ac_unique_file="screentest.glade"
  734 # Factoring default headers for most tests.
  735 ac_includes_default="\
  736 #include <stdio.h>
  737 #ifdef HAVE_SYS_TYPES_H
  738 # include <sys/types.h>
  739 #endif
  740 #ifdef HAVE_SYS_STAT_H
  741 # include <sys/stat.h>
  742 #endif
  743 #ifdef STDC_HEADERS
  744 # include <stdlib.h>
  745 # include <stddef.h>
  746 #else
  747 # ifdef HAVE_STDLIB_H
  748 #  include <stdlib.h>
  749 # endif
  750 #endif
  751 #ifdef HAVE_STRING_H
  752 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  753 #  include <memory.h>
  754 # endif
  755 # include <string.h>
  756 #endif
  757 #ifdef HAVE_STRINGS_H
  758 # include <strings.h>
  759 #endif
  760 #ifdef HAVE_INTTYPES_H
  761 # include <inttypes.h>
  762 #endif
  763 #ifdef HAVE_STDINT_H
  764 # include <stdint.h>
  765 #endif
  766 #ifdef HAVE_UNISTD_H
  767 # include <unistd.h>
  768 #endif"
  769 
  770 ac_subst_vars='SHELL
  771 PATH_SEPARATOR
  772 PACKAGE_NAME
  773 PACKAGE_TARNAME
  774 PACKAGE_VERSION
  775 PACKAGE_STRING
  776 PACKAGE_BUGREPORT
  777 exec_prefix
  778 prefix
  779 program_transform_name
  780 bindir
  781 sbindir
  782 libexecdir
  783 datarootdir
  784 datadir
  785 sysconfdir
  786 sharedstatedir
  787 localstatedir
  788 includedir
  789 oldincludedir
  790 docdir
  791 infodir
  792 htmldir
  793 dvidir
  794 pdfdir
  795 psdir
  796 libdir
  797 localedir
  798 mandir
  799 DEFS
  800 ECHO_C
  801 ECHO_N
  802 ECHO_T
  803 LIBS
  804 build_alias
  805 host_alias
  806 target_alias
  807 INSTALL_PROGRAM
  808 INSTALL_SCRIPT
  809 INSTALL_DATA
  810 CYGPATH_W
  811 PACKAGE
  812 VERSION
  813 ACLOCAL
  814 AUTOCONF
  815 AUTOMAKE
  816 AUTOHEADER
  817 MAKEINFO
  818 install_sh
  819 STRIP
  820 INSTALL_STRIP_PROGRAM
  821 mkdir_p
  822 AWK
  823 SET_MAKE
  824 am__leading_dot
  825 AMTAR
  826 am__tar
  827 am__untar
  828 MAINTAINER_MODE_TRUE
  829 MAINTAINER_MODE_FALSE
  830 MAINT
  831 CC
  832 CFLAGS
  833 LDFLAGS
  834 CPPFLAGS
  835 ac_ct_CC
  836 EXEEXT
  837 OBJEXT
  838 DEPDIR
  839 am__include
  840 am__quote
  841 AMDEP_TRUE
  842 AMDEP_FALSE
  843 AMDEPBACKSLASH
  844 CCDEPMODE
  845 am__fastdepCC_TRUE
  846 am__fastdepCC_FALSE
  847 build
  848 build_cpu
  849 build_vendor
  850 build_os
  851 host
  852 host_cpu
  853 host_vendor
  854 host_os
  855 SED
  856 GREP
  857 EGREP
  858 LN_S
  859 ECHO
  860 AR
  861 RANLIB
  862 CPP
  863 CXX
  864 CXXFLAGS
  865 ac_ct_CXX
  866 CXXDEPMODE
  867 am__fastdepCXX_TRUE
  868 am__fastdepCXX_FALSE
  869 CXXCPP
  870 F77
  871 FFLAGS
  872 ac_ct_F77
  873 LIBTOOL
  874 PKG_CONFIG
  875 GTK_CFLAGS
  876 GTK_LIBS
  877 GLADE_CFLAGS
  878 GLADE_LIBS
  879 USE_NLS
  880 MSGFMT
  881 MSGFMT_OPTS
  882 GMSGFMT
  883 XGETTEXT
  884 CATALOGS
  885 CATOBJEXT
  886 DATADIRNAME
  887 GMOFILES
  888 INSTOBJEXT
  889 INTLLIBS
  890 PO_IN_DATADIR_TRUE
  891 PO_IN_DATADIR_FALSE
  892 POFILES
  893 POSUB
  894 MKINSTALLDIRS
  895 GETTEXT_PACKAGE
  896 LIBOBJS
  897 LTLIBOBJS'
  898 ac_subst_files=''
  899       ac_precious_vars='build_alias
  900 host_alias
  901 target_alias
  902 CC
  903 CFLAGS
  904 LDFLAGS
  905 LIBS
  906 CPPFLAGS
  907 CPP
  908 CXX
  909 CXXFLAGS
  910 CCC
  911 CXXCPP
  912 F77
  913 FFLAGS
  914 PKG_CONFIG
  915 GLADE_CFLAGS
  916 GLADE_LIBS'
  917 
  918 
  919 # Initialize some variables set by options.
  920 ac_init_help=
  921 ac_init_version=false
  922 # The variables have the same names as the options, with
  923 # dashes changed to underlines.
  924 cache_file=/dev/null
  925 exec_prefix=NONE
  926 no_create=
  927 no_recursion=
  928 prefix=NONE
  929 program_prefix=NONE
  930 program_suffix=NONE
  931 program_transform_name=s,x,x,
  932 silent=
  933 site=
  934 srcdir=
  935 verbose=
  936 x_includes=NONE
  937 x_libraries=NONE
  938 
  939 # Installation directory options.
  940 # These are left unexpanded so users can "make install exec_prefix=/foo"
  941 # and all the variables that are supposed to be based on exec_prefix
  942 # by default will actually change.
  943 # Use braces instead of parens because sh, perl, etc. also accept them.
  944 # (The list follows the same order as the GNU Coding Standards.)
  945 bindir='${exec_prefix}/bin'
  946 sbindir='${exec_prefix}/sbin'
  947 libexecdir='${exec_prefix}/libexec'
  948 datarootdir='${prefix}/share'
  949 datadir='${datarootdir}'
  950 sysconfdir='${prefix}/etc'
  951 sharedstatedir='${prefix}/com'
  952 localstatedir='${prefix}/var'
  953 includedir='${prefix}/include'
  954 oldincludedir='/usr/include'
  955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  956 infodir='${datarootdir}/info'
  957 htmldir='${docdir}'
  958 dvidir='${docdir}'
  959 pdfdir='${docdir}'
  960 psdir='${docdir}'
  961 libdir='${exec_prefix}/lib'
  962 localedir='${datarootdir}/locale'
  963 mandir='${datarootdir}/man'
  964 
  965 ac_prev=
  966 ac_dashdash=
  967 for ac_option
  968 do
  969   # If the previous option needs an argument, assign it.
  970   if test -n "$ac_prev"; then
  971     eval $ac_prev=\$ac_option
  972     ac_prev=
  973     continue
  974   fi
  975 
  976   case $ac_option in
  977   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  978   *)    ac_optarg=yes ;;
  979   esac
  980 
  981   # Accept the important Cygnus configure options, so we can diagnose typos.
  982 
  983   case $ac_dashdash$ac_option in
  984   --)
  985     ac_dashdash=yes ;;
  986 
  987   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  988     ac_prev=bindir ;;
  989   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  990     bindir=$ac_optarg ;;
  991 
  992   -build | --build | --buil | --bui | --bu)
  993     ac_prev=build_alias ;;
  994   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  995     build_alias=$ac_optarg ;;
  996 
  997   -cache-file | --cache-file | --cache-fil | --cache-fi \
  998   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  999     ac_prev=cache_file ;;
 1000   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 1001   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 1002     cache_file=$ac_optarg ;;
 1003 
 1004   --config-cache | -C)
 1005     cache_file=config.cache ;;
 1006 
 1007   -datadir | --datadir | --datadi | --datad)
 1008     ac_prev=datadir ;;
 1009   -datadir=* | --datadir=* | --datadi=* | --datad=*)
 1010     datadir=$ac_optarg ;;
 1011 
 1012   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 1013   | --dataroo | --dataro | --datar)
 1014     ac_prev=datarootdir ;;
 1015   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 1016   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 1017     datarootdir=$ac_optarg ;;
 1018 
 1019   -disable-* | --disable-*)
 1020     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 1021     # Reject names that are not valid shell variable names.
 1022     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1023       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 1024    { (exit 1); exit 1; }; }
 1025     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 1026     eval enable_$ac_feature=no ;;
 1027 
 1028   -docdir | --docdir | --docdi | --doc | --do)
 1029     ac_prev=docdir ;;
 1030   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 1031     docdir=$ac_optarg ;;
 1032 
 1033   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 1034     ac_prev=dvidir ;;
 1035   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 1036     dvidir=$ac_optarg ;;
 1037 
 1038   -enable-* | --enable-*)
 1039     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 1040     # Reject names that are not valid shell variable names.
 1041     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1042       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 1043    { (exit 1); exit 1; }; }
 1044     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 1045     eval enable_$ac_feature=\$ac_optarg ;;
 1046 
 1047   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 1048   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 1049   | --exec | --exe | --ex)
 1050     ac_prev=exec_prefix ;;
 1051   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 1052   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 1053   | --exec=* | --exe=* | --ex=*)
 1054     exec_prefix=$ac_optarg ;;
 1055 
 1056   -gas | --gas | --ga | --g)
 1057     # Obsolete; use --with-gas.
 1058     with_gas=yes ;;
 1059 
 1060   -help | --help | --hel | --he | -h)
 1061     ac_init_help=long ;;
 1062   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 1063     ac_init_help=recursive ;;
 1064   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 1065     ac_init_help=short ;;
 1066 
 1067   -host | --host | --hos | --ho)
 1068     ac_prev=host_alias ;;
 1069   -host=* | --host=* | --hos=* | --ho=*)
 1070     host_alias=$ac_optarg ;;
 1071 
 1072   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 1073     ac_prev=htmldir ;;
 1074   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 1075   | --ht=*)
 1076     htmldir=$ac_optarg ;;
 1077 
 1078   -includedir | --includedir | --includedi | --included | --include \
 1079   | --includ | --inclu | --incl | --inc)
 1080     ac_prev=includedir ;;
 1081   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 1082   | --includ=* | --inclu=* | --incl=* | --inc=*)
 1083     includedir=$ac_optarg ;;
 1084 
 1085   -infodir | --infodir | --infodi | --infod | --info | --inf)
 1086     ac_prev=infodir ;;
 1087   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 1088     infodir=$ac_optarg ;;
 1089 
 1090   -libdir | --libdir | --libdi | --libd)
 1091     ac_prev=libdir ;;
 1092   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 1093     libdir=$ac_optarg ;;
 1094 
 1095   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 1096   | --libexe | --libex | --libe)
 1097     ac_prev=libexecdir ;;
 1098   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 1099   | --libexe=* | --libex=* | --libe=*)
 1100     libexecdir=$ac_optarg ;;
 1101 
 1102   -localedir | --localedir | --localedi | --localed | --locale)
 1103     ac_prev=localedir ;;
 1104   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 1105     localedir=$ac_optarg ;;
 1106 
 1107   -localstatedir | --localstatedir | --localstatedi | --localstated \
 1108   | --localstate | --localstat | --localsta | --localst | --locals)
 1109     ac_prev=localstatedir ;;
 1110   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 1111   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 1112     localstatedir=$ac_optarg ;;
 1113 
 1114   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 1115     ac_prev=mandir ;;
 1116   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 1117     mandir=$ac_optarg ;;
 1118 
 1119   -nfp | --nfp | --nf)
 1120     # Obsolete; use --without-fp.
 1121     with_fp=no ;;
 1122 
 1123   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 1124   | --no-cr | --no-c | -n)
 1125     no_create=yes ;;
 1126 
 1127   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 1128   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 1129     no_recursion=yes ;;
 1130 
 1131   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 1132   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 1133   | --oldin | --oldi | --old | --ol | --o)
 1134     ac_prev=oldincludedir ;;
 1135   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 1136   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 1137   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 1138     oldincludedir=$ac_optarg ;;
 1139 
 1140   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 1141     ac_prev=prefix ;;
 1142   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 1143     prefix=$ac_optarg ;;
 1144 
 1145   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 1146   | --program-pre | --program-pr | --program-p)
 1147     ac_prev=program_prefix ;;
 1148   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 1149   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 1150     program_prefix=$ac_optarg ;;
 1151 
 1152   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 1153   | --program-suf | --program-su | --program-s)
 1154     ac_prev=program_suffix ;;
 1155   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 1156   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 1157     program_suffix=$ac_optarg ;;
 1158 
 1159   -program-transform-name | --program-transform-name \
 1160   | --program-transform-nam | --program-transform-na \
 1161   | --program-transform-n | --program-transform- \
 1162   | --program-transform | --program-transfor \
 1163   | --program-transfo | --program-transf \
 1164   | --program-trans | --program-tran \
 1165   | --progr-tra | --program-tr | --program-t)
 1166     ac_prev=program_transform_name ;;
 1167   -program-transform-name=* | --program-transform-name=* \
 1168   | --program-transform-nam=* | --program-transform-na=* \
 1169   | --program-transform-n=* | --program-transform-=* \
 1170   | --program-transform=* | --program-transfor=* \
 1171   | --program-transfo=* | --program-transf=* \
 1172   | --program-trans=* | --program-tran=* \
 1173   | --progr-tra=* | --program-tr=* | --program-t=*)
 1174     program_transform_name=$ac_optarg ;;
 1175 
 1176   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 1177     ac_prev=pdfdir ;;
 1178   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 1179     pdfdir=$ac_optarg ;;
 1180 
 1181   -psdir | --psdir | --psdi | --psd | --ps)
 1182     ac_prev=psdir ;;
 1183   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 1184     psdir=$ac_optarg ;;
 1185 
 1186   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1187   | -silent | --silent | --silen | --sile | --sil)
 1188     silent=yes ;;
 1189 
 1190   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 1191     ac_prev=sbindir ;;
 1192   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 1193   | --sbi=* | --sb=*)
 1194     sbindir=$ac_optarg ;;
 1195 
 1196   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 1197   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 1198   | --sharedst | --shareds | --shared | --share | --shar \
 1199   | --sha | --sh)
 1200     ac_prev=sharedstatedir ;;
 1201   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 1202   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 1203   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 1204   | --sha=* | --sh=*)
 1205     sharedstatedir=$ac_optarg ;;
 1206 
 1207   -site | --site | --sit)
 1208     ac_prev=site ;;
 1209   -site=* | --site=* | --sit=*)
 1210     site=$ac_optarg ;;
 1211 
 1212   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 1213     ac_prev=srcdir ;;
 1214   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 1215     srcdir=$ac_optarg ;;
 1216 
 1217   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 1218   | --syscon | --sysco | --sysc | --sys | --sy)
 1219     ac_prev=sysconfdir ;;
 1220   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 1221   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 1222     sysconfdir=$ac_optarg ;;
 1223 
 1224   -target | --target | --targe | --targ | --tar | --ta | --t)
 1225     ac_prev=target_alias ;;
 1226   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 1227     target_alias=$ac_optarg ;;
 1228 
 1229   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 1230     verbose=yes ;;
 1231 
 1232   -version | --version | --versio | --versi | --vers | -V)
 1233     ac_init_version=: ;;
 1234 
 1235   -with-* | --with-*)
 1236     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 1237     # Reject names that are not valid shell variable names.
 1238     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1239       { echo "$as_me: error: invalid package name: $ac_package" >&2
 1240    { (exit 1); exit 1; }; }
 1241     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1242     eval with_$ac_package=\$ac_optarg ;;
 1243 
 1244   -without-* | --without-*)
 1245     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 1246     # Reject names that are not valid shell variable names.
 1247     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1248       { echo "$as_me: error: invalid package name: $ac_package" >&2
 1249    { (exit 1); exit 1; }; }
 1250     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 1251     eval with_$ac_package=no ;;
 1252 
 1253   --x)
 1254     # Obsolete; use --with-x.
 1255     with_x=yes ;;
 1256 
 1257   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 1258   | --x-incl | --x-inc | --x-in | --x-i)
 1259     ac_prev=x_includes ;;
 1260   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 1261   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 1262     x_includes=$ac_optarg ;;
 1263 
 1264   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 1265   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 1266     ac_prev=x_libraries ;;
 1267   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 1268   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 1269     x_libraries=$ac_optarg ;;
 1270 
 1271   -*) { echo "$as_me: error: unrecognized option: $ac_option
 1272 Try \`$0 --help' for more information." >&2
 1273    { (exit 1); exit 1; }; }
 1274     ;;
 1275 
 1276   *=*)
 1277     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 1278     # Reject names that are not valid shell variable names.
 1279     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
 1280       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 1281    { (exit 1); exit 1; }; }
 1282     eval $ac_envvar=\$ac_optarg
 1283     export $ac_envvar ;;
 1284 
 1285   *)
 1286     # FIXME: should be removed in autoconf 3.0.
 1287     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 1288     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 1289       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 1290     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 1291     ;;
 1292 
 1293   esac
 1294 done
 1295 
 1296 if test -n "$ac_prev"; then
 1297   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 1298   { echo "$as_me: error: missing argument to $ac_option" >&2
 1299    { (exit 1); exit 1; }; }
 1300 fi
 1301 
 1302 # Be sure to have absolute directory names.
 1303 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 1304         datadir sysconfdir sharedstatedir localstatedir includedir \
 1305         oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 1306         libdir localedir mandir
 1307 do
 1308   eval ac_val=\$$ac_var
 1309   case $ac_val in
 1310     [\\/$]* | ?:[\\/]* )  continue;;
 1311     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 1312   esac
 1313   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 1314    { (exit 1); exit 1; }; }
 1315 done
 1316 
 1317 # There might be people who depend on the old broken behavior: `$host'
 1318 # used to hold the argument of --host etc.
 1319 # FIXME: To remove some day.
 1320 build=$build_alias
 1321 host=$host_alias
 1322 target=$target_alias
 1323 
 1324 # FIXME: To remove some day.
 1325 if test "x$host_alias" != x; then
 1326   if test "x$build_alias" = x; then
 1327     cross_compiling=maybe
 1328     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 1329     If a cross compiler is detected then cross compile mode will be used." >&2
 1330   elif test "x$build_alias" != "x$host_alias"; then
 1331     cross_compiling=yes
 1332   fi
 1333 fi
 1334 
 1335 ac_tool_prefix=
 1336 test -n "$host_alias" && ac_tool_prefix=$host_alias-
 1337 
 1338 test "$silent" = yes && exec 6>/dev/null
 1339 
 1340 
 1341 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 1342 ac_ls_di=`ls -di .` &&
 1343 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 1344   { echo "$as_me: error: Working directory cannot be determined" >&2
 1345    { (exit 1); exit 1; }; }
 1346 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 1347   { echo "$as_me: error: pwd does not report name of working directory" >&2
 1348    { (exit 1); exit 1; }; }
 1349 
 1350 
 1351 # Find the source files, if location was not specified.
 1352 if test -z "$srcdir"; then
 1353   ac_srcdir_defaulted=yes
 1354   # Try the directory containing this script, then the parent directory.
 1355   ac_confdir=`$as_dirname -- "$0" ||
 1356 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 1357      X"$0" : 'X\(//\)[^/]' \| \
 1358      X"$0" : 'X\(//\)$' \| \
 1359      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 1360 echo X"$0" |
 1361     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 1362         s//\1/
 1363         q
 1364       }
 1365       /^X\(\/\/\)[^/].*/{
 1366         s//\1/
 1367         q
 1368       }
 1369       /^X\(\/\/\)$/{
 1370         s//\1/
 1371         q
 1372       }
 1373       /^X\(\/\).*/{
 1374         s//\1/
 1375         q
 1376       }
 1377       s/.*/./; q'`
 1378   srcdir=$ac_confdir
 1379   if test ! -r "$srcdir/$ac_unique_file"; then
 1380     srcdir=..
 1381   fi
 1382 else
 1383   ac_srcdir_defaulted=no
 1384 fi
 1385 if test ! -r "$srcdir/$ac_unique_file"; then
 1386   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 1387   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 1388    { (exit 1); exit 1; }; }
 1389 fi
 1390 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 1391 ac_abs_confdir=`(
 1392     cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 1393    { (exit 1); exit 1; }; }
 1394     pwd)`
 1395 # When building in place, set srcdir=.
 1396 if test "$ac_abs_confdir" = "$ac_pwd"; then
 1397   srcdir=.
 1398 fi
 1399 # Remove unnecessary trailing slashes from srcdir.
 1400 # Double slashes in file names in object file debugging info
 1401 # mess up M-x gdb in Emacs.
 1402 case $srcdir in
 1403 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 1404 esac
 1405 for ac_var in $ac_precious_vars; do
 1406   eval ac_env_${ac_var}_set=\${${ac_var}+set}
 1407   eval ac_env_${ac_var}_value=\$${ac_var}
 1408   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 1409   eval ac_cv_env_${ac_var}_value=\$${ac_var}
 1410 done
 1411 
 1412 #
 1413 # Report the --help message.
 1414 #
 1415 if test "$ac_init_help" = "long"; then
 1416   # Omit some internal or obsolete options to make the list less imposing.
 1417   # This message is too long to be a string in the A/UX 3.1 sh.
 1418   cat <<_ACEOF
 1419 \`configure' configures screentest 2.0 to adapt to many kinds of systems.
 1420 
 1421 Usage: $0 [OPTION]... [VAR=VALUE]...
 1422 
 1423 To assign environment variables (e.g., CC, CFLAGS...), specify them as
 1424 VAR=VALUE.  See below for descriptions of some of the useful variables.
 1425 
 1426 Defaults for the options are specified in brackets.
 1427 
 1428 Configuration:
 1429   -h, --help              display this help and exit
 1430       --help=short        display options specific to this package
 1431       --help=recursive    display the short help of all the included packages
 1432   -V, --version           display version information and exit
 1433   -q, --quiet, --silent   do not print \`checking...' messages
 1434       --cache-file=FILE   cache test results in FILE [disabled]
 1435   -C, --config-cache      alias for \`--cache-file=config.cache'
 1436   -n, --no-create         do not create output files
 1437       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 1438 
 1439 Installation directories:
 1440   --prefix=PREFIX         install architecture-independent files in PREFIX
 1441               [$ac_default_prefix]
 1442   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 1443               [PREFIX]
 1444 
 1445 By default, \`make install' will install all the files in
 1446 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 1447 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 1448 for instance \`--prefix=\$HOME'.
 1449 
 1450 For better control, use the options below.
 1451 
 1452 Fine tuning of the installation directories:
 1453   --bindir=DIR           user executables [EPREFIX/bin]
 1454   --sbindir=DIR          system admin executables [EPREFIX/sbin]
 1455   --libexecdir=DIR       program executables [EPREFIX/libexec]
 1456   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
 1457   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
 1458   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
 1459   --libdir=DIR           object code libraries [EPREFIX/lib]
 1460   --includedir=DIR       C header files [PREFIX/include]
 1461   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
 1462   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 1463   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 1464   --infodir=DIR          info documentation [DATAROOTDIR/info]
 1465   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 1466   --mandir=DIR           man documentation [DATAROOTDIR/man]
 1467   --docdir=DIR           documentation root [DATAROOTDIR/doc/screentest]
 1468   --htmldir=DIR          html documentation [DOCDIR]
 1469   --dvidir=DIR           dvi documentation [DOCDIR]
 1470   --pdfdir=DIR           pdf documentation [DOCDIR]
 1471   --psdir=DIR            ps documentation [DOCDIR]
 1472 _ACEOF
 1473 
 1474   cat <<\_ACEOF
 1475 
 1476 Program names:
 1477   --program-prefix=PREFIX            prepend PREFIX to installed program names
 1478   --program-suffix=SUFFIX            append SUFFIX to installed program names
 1479   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 1480 
 1481 System types:
 1482   --build=BUILD     configure for building on BUILD [guessed]
 1483   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 1484 _ACEOF
 1485 fi
 1486 
 1487 if test -n "$ac_init_help"; then
 1488   case $ac_init_help in
 1489      short | recursive ) echo "Configuration of screentest 2.0:";;
 1490    esac
 1491   cat <<\_ACEOF
 1492 
 1493 Optional Features:
 1494   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 1495   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 1496   --enable-maintainer-mode  enable make rules and dependencies not useful
 1497               (and sometimes confusing) to the casual installer
 1498   --disable-dependency-tracking  speeds up one-time build
 1499   --enable-dependency-tracking   do not reject slow dependency extractors
 1500   --enable-shared[=PKGS]  build shared libraries [default=yes]
 1501   --enable-static[=PKGS]  build static libraries [default=yes]
 1502   --enable-fast-install[=PKGS]
 1503                           optimize for fast installation [default=yes]
 1504   --disable-libtool-lock  avoid locking (might break parallel builds)
 1505   --disable-gtktest       do not try to compile and run a test GTK+ program
 1506 
 1507 Optional Packages:
 1508   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 1509   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 1510   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 1511   --with-pic              try to use only PIC/non-PIC objects [default=use
 1512                           both]
 1513   --with-tags[=TAGS]      include additional configurations [automatic]
 1514 
 1515 Some influential environment variables:
 1516   CC          C compiler command
 1517   CFLAGS      C compiler flags
 1518   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 1519               nonstandard directory <lib dir>
 1520   LIBS        libraries to pass to the linker, e.g. -l<library>
 1521   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 1522               you have headers in a nonstandard directory <include dir>
 1523   CPP         C preprocessor
 1524   CXX         C++ compiler command
 1525   CXXFLAGS    C++ compiler flags
 1526   CXXCPP      C++ preprocessor
 1527   F77         Fortran 77 compiler command
 1528   FFLAGS      Fortran 77 compiler flags
 1529   PKG_CONFIG  path to pkg-config utility
 1530   GLADE_CFLAGS
 1531               C compiler flags for GLADE, overriding pkg-config
 1532   GLADE_LIBS  linker flags for GLADE, overriding pkg-config
 1533 
 1534 Use these variables to override the choices made by `configure' or to help
 1535 it to find libraries and programs with nonstandard names/locations.
 1536 
 1537 _ACEOF
 1538 ac_status=$?
 1539 fi
 1540 
 1541 if test "$ac_init_help" = "recursive"; then
 1542   # If there are subdirs, report their specific --help.
 1543   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 1544     test -d "$ac_dir" || continue
 1545     ac_builddir=.
 1546 
 1547 case "$ac_dir" in
 1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1549 *)
 1550   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 1551   # A ".." for each directory in $ac_dir_suffix.
 1552   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 1553   case $ac_top_builddir_sub in
 1554   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 1555   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 1556   esac ;;
 1557 esac
 1558 ac_abs_top_builddir=$ac_pwd
 1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 1560 # for backward compatibility:
 1561 ac_top_builddir=$ac_top_build_prefix
 1562 
 1563 case $srcdir in
 1564   .)  # We are building in place.
 1565     ac_srcdir=.
 1566     ac_top_srcdir=$ac_top_builddir_sub
 1567     ac_abs_top_srcdir=$ac_pwd ;;
 1568   [\\/]* | ?:[\\/]* )  # Absolute name.
 1569     ac_srcdir=$srcdir$ac_dir_suffix;
 1570     ac_top_srcdir=$srcdir
 1571     ac_abs_top_srcdir=$srcdir ;;
 1572   *) # Relative name.
 1573     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 1574     ac_top_srcdir=$ac_top_build_prefix$srcdir
 1575     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 1576 esac
 1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 1578 
 1579     cd "$ac_dir" || { ac_status=$?; continue; }
 1580     # Check for guested configure.
 1581     if test -f "$ac_srcdir/configure.gnu"; then
 1582       echo &&
 1583       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 1584     elif test -f "$ac_srcdir/configure"; then
 1585       echo &&
 1586       $SHELL "$ac_srcdir/configure" --help=recursive
 1587     else
 1588       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 1589     fi || ac_status=$?
 1590     cd "$ac_pwd" || { ac_status=$?; break; }
 1591   done
 1592 fi
 1593 
 1594 test -n "$ac_init_help" && exit $ac_status
 1595 if $ac_init_version; then
 1596   cat <<\_ACEOF
 1597 screentest configure 2.0
 1598 generated by GNU Autoconf 2.61
 1599 
 1600 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 1601 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 1602 This configure script is free software; the Free Software Foundation
 1603 gives unlimited permission to copy, distribute and modify it.
 1604 _ACEOF
 1605   exit
 1606 fi
 1607 cat >config.log <<_ACEOF
 1608 This file contains any messages produced by compilers while
 1609 running configure, to aid debugging if configure makes a mistake.
 1610 
 1611 It was created by screentest $as_me 2.0, which was
 1612 generated by GNU Autoconf 2.61.  Invocation command line was
 1613 
 1614   $ $0 $@
 1615 
 1616 _ACEOF
 1617 exec 5>>config.log
 1618 {
 1619 cat <<_ASUNAME
 1620 ## --------- ##
 1621 ## Platform. ##
 1622 ## --------- ##
 1623 
 1624 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 1625 uname -m = `(uname -m) 2>/dev/null || echo unknown`
 1626 uname -r = `(uname -r) 2>/dev/null || echo unknown`
 1627 uname -s = `(uname -s) 2>/dev/null || echo unknown`
 1628 uname -v = `(uname -v) 2>/dev/null || echo unknown`
 1629 
 1630 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 1631 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 1632 
 1633 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 1634 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 1635 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 1636 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 1637 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 1638 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 1639 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 1640 
 1641 _ASUNAME
 1642 
 1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1644 for as_dir in $PATH
 1645 do
 1646   IFS=$as_save_IFS
 1647   test -z "$as_dir" && as_dir=.
 1648   echo "PATH: $as_dir"
 1649 done
 1650 IFS=$as_save_IFS
 1651 
 1652 } >&5
 1653 
 1654 cat >&5 <<_ACEOF
 1655 
 1656 
 1657 ## ----------- ##
 1658 ## Core tests. ##
 1659 ## ----------- ##
 1660 
 1661 _ACEOF
 1662 
 1663 
 1664 # Keep a trace of the command line.
 1665 # Strip out --no-create and --no-recursion so they do not pile up.
 1666 # Strip out --silent because we don't want to record it for future runs.
 1667 # Also quote any args containing shell meta-characters.
 1668 # Make two passes to allow for proper duplicate-argument suppression.
 1669 ac_configure_args=
 1670 ac_configure_args0=
 1671 ac_configure_args1=
 1672 ac_must_keep_next=false
 1673 for ac_pass in 1 2
 1674 do
 1675   for ac_arg
 1676   do
 1677     case $ac_arg in
 1678     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1679     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1680     | -silent | --silent | --silen | --sile | --sil)
 1681       continue ;;
 1682     *\'*)
 1683       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1684     esac
 1685     case $ac_pass in
 1686     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1687     2)
 1688       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1689       if test $ac_must_keep_next = true; then
 1690     ac_must_keep_next=false # Got value, back to normal.
 1691       else
 1692     case $ac_arg in
 1693       *=* | --config-cache | -C | -disable-* | --disable-* \
 1694       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1695       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1696       | -with-* | --with-* | -without-* | --without-* | --x)
 1697         case "$ac_configure_args0 " in
 1698           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1699         esac
 1700         ;;
 1701       -* ) ac_must_keep_next=true ;;
 1702     esac
 1703       fi
 1704       ac_configure_args="$ac_configure_args '$ac_arg'"
 1705       ;;
 1706     esac
 1707   done
 1708 done
 1709 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
 1710 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 1711 
 1712 # When interrupted or exit'd, cleanup temporary files, and complete
 1713 # config.log.  We remove comments because anyway the quotes in there
 1714 # would cause problems or look ugly.
 1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
 1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 1717 trap 'exit_status=$?
 1718   # Save into config.log some information that might help in debugging.
 1719   {
 1720     echo
 1721 
 1722     cat <<\_ASBOX
 1723 ## ---------------- ##
 1724 ## Cache variables. ##
 1725 ## ---------------- ##
 1726 _ASBOX
 1727     echo
 1728     # The following way of writing the cache mishandles newlines in values,
 1729 (
 1730   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 1731     eval ac_val=\$$ac_var
 1732     case $ac_val in #(
 1733     *${as_nl}*)
 1734       case $ac_var in #(
 1735       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 1736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 1737       esac
 1738       case $ac_var in #(
 1739       _ | IFS | as_nl) ;; #(
 1740       *) $as_unset $ac_var ;;
 1741       esac ;;
 1742     esac
 1743   done
 1744   (set) 2>&1 |
 1745     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 1746     *${as_nl}ac_space=\ *)
 1747       sed -n \
 1748     "s/'\''/'\''\\\\'\'''\''/g;
 1749       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 1750       ;; #(
 1751     *)
 1752       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 1753       ;;
 1754     esac |
 1755     sort
 1756 )
 1757     echo
 1758 
 1759     cat <<\_ASBOX
 1760 ## ----------------- ##
 1761 ## Output variables. ##
 1762 ## ----------------- ##
 1763 _ASBOX
 1764     echo
 1765     for ac_var in $ac_subst_vars
 1766     do
 1767       eval ac_val=\$$ac_var
 1768       case $ac_val in
 1769       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1770       esac
 1771       echo "$ac_var='\''$ac_val'\''"
 1772     done | sort
 1773     echo
 1774 
 1775     if test -n "$ac_subst_files"; then
 1776       cat <<\_ASBOX
 1777 ## ------------------- ##
 1778 ## File substitutions. ##
 1779 ## ------------------- ##
 1780 _ASBOX
 1781       echo
 1782       for ac_var in $ac_subst_files
 1783       do
 1784     eval ac_val=\$$ac_var
 1785     case $ac_val in
 1786     *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 1787     esac
 1788     echo "$ac_var='\''$ac_val'\''"
 1789       done | sort
 1790       echo
 1791     fi
 1792 
 1793     if test -s confdefs.h; then
 1794       cat <<\_ASBOX
 1795 ## ----------- ##
 1796 ## confdefs.h. ##
 1797 ## ----------- ##
 1798 _ASBOX
 1799       echo
 1800       cat confdefs.h
 1801       echo
 1802     fi
 1803     test "$ac_signal" != 0 &&
 1804       echo "$as_me: caught signal $ac_signal"
 1805     echo "$as_me: exit $exit_status"
 1806   } >&5
 1807   rm -f core *.core core.conftest.* &&
 1808     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 1809     exit $exit_status
 1810 ' 0
 1811 for ac_signal in 1 2 13 15; do
 1812   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1813 done
 1814 ac_signal=0
 1815 
 1816 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1817 rm -f -r conftest* confdefs.h
 1818 
 1819 # Predefined preprocessor variables.
 1820 
 1821 cat >>confdefs.h <<_ACEOF
 1822 #define PACKAGE_NAME "$PACKAGE_NAME"
 1823 _ACEOF
 1824 
 1825 
 1826 cat >>confdefs.h <<_ACEOF
 1827 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1828 _ACEOF
 1829 
 1830 
 1831 cat >>confdefs.h <<_ACEOF
 1832 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1833 _ACEOF
 1834 
 1835 
 1836 cat >>confdefs.h <<_ACEOF
 1837 #define PACKAGE_STRING "$PACKAGE_STRING"
 1838 _ACEOF
 1839 
 1840 
 1841 cat >>confdefs.h <<_ACEOF
 1842 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1843 _ACEOF
 1844 
 1845 
 1846 # Let the site file select an alternate cache file if it wants to.
 1847 # Prefer explicitly selected file to automatically selected ones.
 1848 if test -n "$CONFIG_SITE"; then
 1849   set x "$CONFIG_SITE"
 1850 elif test "x$prefix" != xNONE; then
 1851   set x "$prefix/share/config.site" "$prefix/etc/config.site"
 1852 else
 1853   set x "$ac_default_prefix/share/config.site" \
 1854     "$ac_default_prefix/etc/config.site"
 1855 fi
 1856 shift
 1857 for ac_site_file
 1858 do
 1859   if test -r "$ac_site_file"; then
 1860     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1861 echo "$as_me: loading site script $ac_site_file" >&6;}
 1862     sed 's/^/| /' "$ac_site_file" >&5
 1863     . "$ac_site_file"
 1864   fi
 1865 done
 1866 
 1867 if test -r "$cache_file"; then
 1868   # Some versions of bash will fail to source /dev/null (special
 1869   # files actually), so we avoid doing that.
 1870   if test -f "$cache_file"; then
 1871     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1872 echo "$as_me: loading cache $cache_file" >&6;}
 1873     case $cache_file in
 1874       [\\/]* | ?:[\\/]* ) . "$cache_file";;
 1875       *)                      . "./$cache_file";;
 1876     esac
 1877   fi
 1878 else
 1879   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1880 echo "$as_me: creating cache $cache_file" >&6;}
 1881   >$cache_file
 1882 fi
 1883 
 1884 # Check that the precious variables saved in the cache have kept the same
 1885 # value.
 1886 ac_cache_corrupted=false
 1887 for ac_var in $ac_precious_vars; do
 1888   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1889   eval ac_new_set=\$ac_env_${ac_var}_set
 1890   eval ac_old_val=\$ac_cv_env_${ac_var}_value
 1891   eval ac_new_val=\$ac_env_${ac_var}_value
 1892   case $ac_old_set,$ac_new_set in
 1893     set,)
 1894       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1895 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1896       ac_cache_corrupted=: ;;
 1897     ,set)
 1898       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1899 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1900       ac_cache_corrupted=: ;;
 1901     ,);;
 1902     *)
 1903       if test "x$ac_old_val" != "x$ac_new_val"; then
 1904     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1905 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1906     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1907 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1908     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1909 echo "$as_me:   current value: $ac_new_val" >&2;}
 1910     ac_cache_corrupted=:
 1911       fi;;
 1912   esac
 1913   # Pass precious variables to config.status.
 1914   if test "$ac_new_set" = set; then
 1915     case $ac_new_val in
 1916     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1917     *) ac_arg=$ac_var=$ac_new_val ;;
 1918     esac
 1919     case " $ac_configure_args " in
 1920       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1921       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1922     esac
 1923   fi
 1924 done
 1925 if $ac_cache_corrupted; then
 1926   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1927 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1928   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1929 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1930    { (exit 1); exit 1; }; }
 1931 fi
 1932 
 1933 
 1934 
 1935 
 1936 
 1937 
 1938 
 1939 
 1940 
 1941 
 1942 
 1943 
 1944 
 1945 
 1946 
 1947 
 1948 
 1949 
 1950 
 1951 
 1952 
 1953 
 1954 
 1955 
 1956 
 1957 ac_ext=c
 1958 ac_cpp='$CPP $CPPFLAGS'
 1959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1962 
 1963 
 1964 
 1965 am__api_version="1.9"
 1966 ac_aux_dir=
 1967 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 1968   if test -f "$ac_dir/install-sh"; then
 1969     ac_aux_dir=$ac_dir
 1970     ac_install_sh="$ac_aux_dir/install-sh -c"
 1971     break
 1972   elif test -f "$ac_dir/install.sh"; then
 1973     ac_aux_dir=$ac_dir
 1974     ac_install_sh="$ac_aux_dir/install.sh -c"
 1975     break
 1976   elif test -f "$ac_dir/shtool"; then
 1977     ac_aux_dir=$ac_dir
 1978     ac_install_sh="$ac_aux_dir/shtool install -c"
 1979     break
 1980   fi
 1981 done
 1982 if test -z "$ac_aux_dir"; then
 1983   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 1984 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 1985    { (exit 1); exit 1; }; }
 1986 fi
 1987 
 1988 # These three variables are undocumented and unsupported,
 1989 # and are intended to be withdrawn in a future Autoconf release.
 1990 # They can cause serious problems if a builder's source tree is in a directory
 1991 # whose full name contains unusual characters.
 1992 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 1993 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 1994 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 1995 
 1996 
 1997 # Find a good install program.  We prefer a C program (faster),
 1998 # so one script is as good as another.  But avoid the broken or
 1999 # incompatible versions:
 2000 # SysV /etc/install, /usr/sbin/install
 2001 # SunOS /usr/etc/install
 2002 # IRIX /sbin/install
 2003 # AIX /bin/install
 2004 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2005 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2006 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2007 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2008 # OS/2's system install, which has a completely different semantic
 2009 # ./install, which can be erroneously created by make from ./install.sh.
 2010 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2011 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 2012 if test -z "$INSTALL"; then
 2013 if test "${ac_cv_path_install+set}" = set; then
 2014   echo $ECHO_N "(cached) $ECHO_C" >&6
 2015 else
 2016   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2017 for as_dir in $PATH
 2018 do
 2019   IFS=$as_save_IFS
 2020   test -z "$as_dir" && as_dir=.
 2021   # Account for people who put trailing slashes in PATH elements.
 2022 case $as_dir/ in
 2023   ./ | .// | /cC/* | \
 2024   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2025   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2026   /usr/ucb/* ) ;;
 2027   *)
 2028     # OSF1 and SCO ODT 3.0 have their own names for install.
 2029     # Don't use installbsd from OSF since it installs stuff as root
 2030     # by default.
 2031     for ac_prog in ginstall scoinst install; do
 2032       for ac_exec_ext in '' $ac_executable_extensions; do
 2033     if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 2034       if test $ac_prog = install &&
 2035         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2036         # AIX install.  It has an incompatible calling convention.
 2037         :
 2038       elif test $ac_prog = install &&
 2039         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2040         # program-specific install script used by HP pwplus--don't use.
 2041         :
 2042       else
 2043         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2044         break 3
 2045       fi
 2046     fi
 2047       done
 2048     done
 2049     ;;
 2050 esac
 2051 done
 2052 IFS=$as_save_IFS
 2053 
 2054 
 2055 fi
 2056   if test "${ac_cv_path_install+set}" = set; then
 2057     INSTALL=$ac_cv_path_install
 2058   else
 2059     # As a last resort, use the slow shell script.  Don't cache a
 2060     # value for INSTALL within a source directory, because that will
 2061     # break other packages using the cache if that directory is
 2062     # removed, or if the value is a relative name.
 2063     INSTALL=$ac_install_sh
 2064   fi
 2065 fi
 2066 { echo "$as_me:$LINENO: result: $INSTALL" >&5
 2067 echo "${ECHO_T}$INSTALL" >&6; }
 2068 
 2069 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2070 # It thinks the first close brace ends the variable substitution.
 2071 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2072 
 2073 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2074 
 2075 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2076 
 2077 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 2078 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 2079 # Just in case
 2080 sleep 1
 2081 echo timestamp > conftest.file
 2082 # Do `set' in a subshell so we don't clobber the current shell's
 2083 # arguments.  Must try -L first in case configure is actually a
 2084 # symlink; some systems play weird games with the mod time of symlinks
 2085 # (eg FreeBSD returns the mod time of the symlink's containing
 2086 # directory).
 2087 if (
 2088    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 2089    if test "$*" = "X"; then
 2090       # -L didn't work.
 2091       set X `ls -t $srcdir/configure conftest.file`
 2092    fi
 2093    rm -f conftest.file
 2094    if test "$*" != "X $srcdir/configure conftest.file" \
 2095       && test "$*" != "X conftest.file $srcdir/configure"; then
 2096 
 2097       # If neither matched, then we have a broken ls.  This can happen
 2098       # if, for instance, CONFIG_SHELL is bash and it inherits a
 2099       # broken ls alias from the environment.  This has actually
 2100       # happened.  Such a system could not be considered "sane".
 2101       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 2102 alias in your environment" >&5
 2103 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 2104 alias in your environment" >&2;}
 2105    { (exit 1); exit 1; }; }
 2106    fi
 2107 
 2108    test "$2" = conftest.file
 2109    )
 2110 then
 2111    # Ok.
 2112    :
 2113 else
 2114    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 2115 Check your system clock" >&5
 2116 echo "$as_me: error: newly created file is older than distributed files!
 2117 Check your system clock" >&2;}
 2118    { (exit 1); exit 1; }; }
 2119 fi
 2120 { echo "$as_me:$LINENO: result: yes" >&5
 2121 echo "${ECHO_T}yes" >&6; }
 2122 test "$program_prefix" != NONE &&
 2123   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 2124 # Use a double $ so make ignores it.
 2125 test "$program_suffix" != NONE &&
 2126   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 2127 # Double any \ or $.  echo might interpret backslashes.
 2128 # By default was `s,x,x', remove it if useless.
 2129 cat <<\_ACEOF >conftest.sed
 2130 s/[\\$]/&&/g;s/;s,x,x,$//
 2131 _ACEOF
 2132 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
 2133 rm -f conftest.sed
 2134 
 2135 # expand $ac_aux_dir to an absolute path
 2136 am_aux_dir=`cd $ac_aux_dir && pwd`
 2137 
 2138 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 2139 # Use eval to expand $SHELL
 2140 if eval "$MISSING --run true"; then
 2141   am_missing_run="$MISSING --run "
 2142 else
 2143   am_missing_run=
 2144   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 2145 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 2146 fi
 2147 
 2148 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 2149   # We used to keeping the `.' as first argument, in order to
 2150   # allow $(mkdir_p) to be used without argument.  As in
 2151   #   $(mkdir_p) $(somedir)
 2152   # where $(somedir) is conditionally defined.  However this is wrong
 2153   # for two reasons:
 2154   #  1. if the package is installed by a user who cannot write `.'
 2155   #     make install will fail,
 2156   #  2. the above comment should most certainly read
 2157   #     $(mkdir_p) $(DESTDIR)$(somedir)
 2158   #     so it does not work when $(somedir) is undefined and
 2159   #     $(DESTDIR) is not.
 2160   #  To support the latter case, we have to write
 2161   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 2162   #  so the `.' trick is pointless.
 2163   mkdir_p='mkdir -p --'
 2164 else
 2165   # On NextStep and OpenStep, the `mkdir' command does not
 2166   # recognize any option.  It will interpret all options as
 2167   # directories to create, and then abort because `.' already
 2168   # exists.
 2169   for d in ./-p ./--version;
 2170   do
 2171     test -d $d && rmdir $d
 2172   done
 2173   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 2174   if test -f "$ac_aux_dir/mkinstalldirs"; then
 2175     mkdir_p='$(mkinstalldirs)'
 2176   else
 2177     mkdir_p='$(install_sh) -d'
 2178   fi
 2179 fi
 2180 
 2181 for ac_prog in gawk mawk nawk awk
 2182 do
 2183   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2184 set dummy $ac_prog; ac_word=$2
 2185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2187 if test "${ac_cv_prog_AWK+set}" = set; then
 2188   echo $ECHO_N "(cached) $ECHO_C" >&6
 2189 else
 2190   if test -n "$AWK"; then
 2191   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 2192 else
 2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2194 for as_dir in $PATH
 2195 do
 2196   IFS=$as_save_IFS
 2197   test -z "$as_dir" && as_dir=.
 2198   for ac_exec_ext in '' $ac_executable_extensions; do
 2199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2200     ac_cv_prog_AWK="$ac_prog"
 2201     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2202     break 2
 2203   fi
 2204 done
 2205 done
 2206 IFS=$as_save_IFS
 2207 
 2208 fi
 2209 fi
 2210 AWK=$ac_cv_prog_AWK
 2211 if test -n "$AWK"; then
 2212   { echo "$as_me:$LINENO: result: $AWK" >&5
 2213 echo "${ECHO_T}$AWK" >&6; }
 2214 else
 2215   { echo "$as_me:$LINENO: result: no" >&5
 2216 echo "${ECHO_T}no" >&6; }
 2217 fi
 2218 
 2219 
 2220   test -n "$AWK" && break
 2221 done
 2222 
 2223 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2224 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 2225 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 2226 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 2227   echo $ECHO_N "(cached) $ECHO_C" >&6
 2228 else
 2229   cat >conftest.make <<\_ACEOF
 2230 SHELL = /bin/sh
 2231 all:
 2232     @echo '@@@%%%=$(MAKE)=@@@%%%'
 2233 _ACEOF
 2234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2235 case `${MAKE-make} -f conftest.make 2>/dev/null` in
 2236   *@@@%%%=?*=@@@%%%*)
 2237     eval ac_cv_prog_make_${ac_make}_set=yes;;
 2238   *)
 2239     eval ac_cv_prog_make_${ac_make}_set=no;;
 2240 esac
 2241 rm -f conftest.make
 2242 fi
 2243 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 2244   { echo "$as_me:$LINENO: result: yes" >&5
 2245 echo "${ECHO_T}yes" >&6; }
 2246   SET_MAKE=
 2247 else
 2248   { echo "$as_me:$LINENO: result: no" >&5
 2249 echo "${ECHO_T}no" >&6; }
 2250   SET_MAKE="MAKE=${MAKE-make}"
 2251 fi
 2252 
 2253 rm -rf .tst 2>/dev/null
 2254 mkdir .tst 2>/dev/null
 2255 if test -d .tst; then
 2256   am__leading_dot=.
 2257 else
 2258   am__leading_dot=_
 2259 fi
 2260 rmdir .tst 2>/dev/null
 2261 
 2262 # test to see if srcdir already configured
 2263 if test "`cd $srcdir && pwd`" != "`pwd`" &&
 2264    test -f $srcdir/config.status; then
 2265   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 2266 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 2267    { (exit 1); exit 1; }; }
 2268 fi
 2269 
 2270 # test whether we have cygpath
 2271 if test -z "$CYGPATH_W"; then
 2272   if (cygpath --version) >/dev/null 2>/dev/null; then
 2273     CYGPATH_W='cygpath -w'
 2274   else
 2275     CYGPATH_W=echo
 2276   fi
 2277 fi
 2278 
 2279 
 2280 # Define the identity of the package.
 2281  PACKAGE='screentest'
 2282  VERSION='2.0'
 2283 
 2284 
 2285 cat >>confdefs.h <<_ACEOF
 2286 #define PACKAGE "$PACKAGE"
 2287 _ACEOF
 2288 
 2289 
 2290 cat >>confdefs.h <<_ACEOF
 2291 #define VERSION "$VERSION"
 2292 _ACEOF
 2293 
 2294 # Some tools Automake needs.
 2295 
 2296 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 2297 
 2298 
 2299 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 2300 
 2301 
 2302 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 2303 
 2304 
 2305 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 2306 
 2307 
 2308 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 2309 
 2310 install_sh=${install_sh-"$am_aux_dir/install-sh"}
 2311 
 2312 # Installed binaries are usually stripped using `strip' when the user
 2313 # run `make install-strip'.  However `strip' might not be the right
 2314 # tool to use in cross-compilation environments, therefore Automake
 2315 # will honor the `STRIP' environment variable to overrule this program.
 2316 if test "$cross_compiling" != no; then
 2317   if test -n "$ac_tool_prefix"; then
 2318   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 2319 set dummy ${ac_tool_prefix}strip; ac_word=$2
 2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2322 if test "${ac_cv_prog_STRIP+set}" = set; then
 2323   echo $ECHO_N "(cached) $ECHO_C" >&6
 2324 else
 2325   if test -n "$STRIP"; then
 2326   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 2327 else
 2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2329 for as_dir in $PATH
 2330 do
 2331   IFS=$as_save_IFS
 2332   test -z "$as_dir" && as_dir=.
 2333   for ac_exec_ext in '' $ac_executable_extensions; do
 2334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2335     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 2336     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2337     break 2
 2338   fi
 2339 done
 2340 done
 2341 IFS=$as_save_IFS
 2342 
 2343 fi
 2344 fi
 2345 STRIP=$ac_cv_prog_STRIP
 2346 if test -n "$STRIP"; then
 2347   { echo "$as_me:$LINENO: result: $STRIP" >&5
 2348 echo "${ECHO_T}$STRIP" >&6; }
 2349 else
 2350   { echo "$as_me:$LINENO: result: no" >&5
 2351 echo "${ECHO_T}no" >&6; }
 2352 fi
 2353 
 2354 
 2355 fi
 2356 if test -z "$ac_cv_prog_STRIP"; then
 2357   ac_ct_STRIP=$STRIP
 2358   # Extract the first word of "strip", so it can be a program name with args.
 2359 set dummy strip; ac_word=$2
 2360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2362 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 2363   echo $ECHO_N "(cached) $ECHO_C" >&6
 2364 else
 2365   if test -n "$ac_ct_STRIP"; then
 2366   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 2367 else
 2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2369 for as_dir in $PATH
 2370 do
 2371   IFS=$as_save_IFS
 2372   test -z "$as_dir" && as_dir=.
 2373   for ac_exec_ext in '' $ac_executable_extensions; do
 2374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2375     ac_cv_prog_ac_ct_STRIP="strip"
 2376     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2377     break 2
 2378   fi
 2379 done
 2380 done
 2381 IFS=$as_save_IFS
 2382 
 2383 fi
 2384 fi
 2385 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 2386 if test -n "$ac_ct_STRIP"; then
 2387   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 2388 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 2389 else
 2390   { echo "$as_me:$LINENO: result: no" >&5
 2391 echo "${ECHO_T}no" >&6; }
 2392 fi
 2393 
 2394   if test "x$ac_ct_STRIP" = x; then
 2395     STRIP=":"
 2396   else
 2397     case $cross_compiling:$ac_tool_warned in
 2398 yes:)
 2399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2400 whose name does not start with the host triplet.  If you think this
 2401 configuration is useful to you, please write to autoconf@gnu.org." >&5
 2402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2403 whose name does not start with the host triplet.  If you think this
 2404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2405 ac_tool_warned=yes ;;
 2406 esac
 2407     STRIP=$ac_ct_STRIP
 2408   fi
 2409 else
 2410   STRIP="$ac_cv_prog_STRIP"
 2411 fi
 2412 
 2413 fi
 2414 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 2415 
 2416 # We need awk for the "check" target.  The system "awk" is bad on
 2417 # some platforms.
 2418 # Always define AMTAR for backward compatibility.
 2419 
 2420 AMTAR=${AMTAR-"${am_missing_run}tar"}
 2421 
 2422 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 2423 
 2424 
 2425 
 2426 
 2427 
 2428 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 2429 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 2430     # Check whether --enable-maintainer-mode was given.
 2431 if test "${enable_maintainer_mode+set}" = set; then
 2432   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 2433 else
 2434   USE_MAINTAINER_MODE=no
 2435 fi
 2436 
 2437   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 2438 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 2439 
 2440 
 2441 if test $USE_MAINTAINER_MODE = yes; then
 2442   MAINTAINER_MODE_TRUE=
 2443   MAINTAINER_MODE_FALSE='#'
 2444 else
 2445   MAINTAINER_MODE_TRUE='#'
 2446   MAINTAINER_MODE_FALSE=
 2447 fi
 2448 
 2449   MAINT=$MAINTAINER_MODE_TRUE
 2450 
 2451 
 2452 
 2453 ac_config_headers="$ac_config_headers config.h"
 2454 
 2455 
 2456 DEPDIR="${am__leading_dot}deps"
 2457 
 2458 ac_config_commands="$ac_config_commands depfiles"
 2459 
 2460 
 2461 am_make=${MAKE-make}
 2462 cat > confinc << 'END'
 2463 am__doit:
 2464     @echo done
 2465 .PHONY: am__doit
 2466 END
 2467 # If we don't find an include directive, just comment out the code.
 2468 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 2469 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 2470 am__include="#"
 2471 am__quote=
 2472 _am_result=none
 2473 # First try GNU make style include.
 2474 echo "include confinc" > confmf
 2475 # We grep out `Entering directory' and `Leaving directory'
 2476 # messages which can occur if `w' ends up in MAKEFLAGS.
 2477 # In particular we don't look at `^make:' because GNU make might
 2478 # be invoked under some other name (usually "gmake"), in which
 2479 # case it prints its new name instead of `make'.
 2480 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 2481    am__include=include
 2482    am__quote=
 2483    _am_result=GNU
 2484 fi
 2485 # Now try BSD make style include.
 2486 if test "$am__include" = "#"; then
 2487    echo '.include "confinc"' > confmf
 2488    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 2489       am__include=.include
 2490       am__quote="\""
 2491       _am_result=BSD
 2492    fi
 2493 fi
 2494 
 2495 
 2496 { echo "$as_me:$LINENO: result: $_am_result" >&5
 2497 echo "${ECHO_T}$_am_result" >&6; }
 2498 rm -f confinc confmf
 2499 
 2500 # Check whether --enable-dependency-tracking was given.
 2501 if test "${enable_dependency_tracking+set}" = set; then
 2502   enableval=$enable_dependency_tracking;
 2503 fi
 2504 
 2505 if test "x$enable_dependency_tracking" != xno; then
 2506   am_depcomp="$ac_aux_dir/depcomp"
 2507   AMDEPBACKSLASH='\'
 2508 fi
 2509 
 2510 
 2511 if test "x$enable_dependency_tracking" != xno; then
 2512   AMDEP_TRUE=
 2513   AMDEP_FALSE='#'
 2514 else
 2515   AMDEP_TRUE='#'
 2516   AMDEP_FALSE=
 2517 fi
 2518 
 2519 
 2520 
 2521 ac_ext=c
 2522 ac_cpp='$CPP $CPPFLAGS'
 2523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2526 if test -n "$ac_tool_prefix"; then
 2527   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 2528 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 2529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2531 if test "${ac_cv_prog_CC+set}" = set; then
 2532   echo $ECHO_N "(cached) $ECHO_C" >&6
 2533 else
 2534   if test -n "$CC"; then
 2535   ac_cv_prog_CC="$CC" # Let the user override the test.
 2536 else
 2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2538 for as_dir in $PATH
 2539 do
 2540   IFS=$as_save_IFS
 2541   test -z "$as_dir" && as_dir=.
 2542   for ac_exec_ext in '' $ac_executable_extensions; do
 2543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2544     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 2545     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2546     break 2
 2547   fi
 2548 done
 2549 done
 2550 IFS=$as_save_IFS
 2551 
 2552 fi
 2553 fi
 2554 CC=$ac_cv_prog_CC
 2555 if test -n "$CC"; then
 2556   { echo "$as_me:$LINENO: result: $CC" >&5
 2557 echo "${ECHO_T}$CC" >&6; }
 2558 else
 2559   { echo "$as_me:$LINENO: result: no" >&5
 2560 echo "${ECHO_T}no" >&6; }
 2561 fi
 2562 
 2563 
 2564 fi
 2565 if test -z "$ac_cv_prog_CC"; then
 2566   ac_ct_CC=$CC
 2567   # Extract the first word of "gcc", so it can be a program name with args.
 2568 set dummy gcc; ac_word=$2
 2569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2572   echo $ECHO_N "(cached) $ECHO_C" >&6
 2573 else
 2574   if test -n "$ac_ct_CC"; then
 2575   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2576 else
 2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2578 for as_dir in $PATH
 2579 do
 2580   IFS=$as_save_IFS
 2581   test -z "$as_dir" && as_dir=.
 2582   for ac_exec_ext in '' $ac_executable_extensions; do
 2583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2584     ac_cv_prog_ac_ct_CC="gcc"
 2585     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2586     break 2
 2587   fi
 2588 done
 2589 done
 2590 IFS=$as_save_IFS
 2591 
 2592 fi
 2593 fi
 2594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2595 if test -n "$ac_ct_CC"; then
 2596   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2597 echo "${ECHO_T}$ac_ct_CC" >&6; }
 2598 else
 2599   { echo "$as_me:$LINENO: result: no" >&5
 2600 echo "${ECHO_T}no" >&6; }
 2601 fi
 2602 
 2603   if test "x$ac_ct_CC" = x; then
 2604     CC=""
 2605   else
 2606     case $cross_compiling:$ac_tool_warned in
 2607 yes:)
 2608 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2609 whose name does not start with the host triplet.  If you think this
 2610 configuration is useful to you, please write to autoconf@gnu.org." >&5
 2611 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2612 whose name does not start with the host triplet.  If you think this
 2613 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2614 ac_tool_warned=yes ;;
 2615 esac
 2616     CC=$ac_ct_CC
 2617   fi
 2618 else
 2619   CC="$ac_cv_prog_CC"
 2620 fi
 2621 
 2622 if test -z "$CC"; then
 2623           if test -n "$ac_tool_prefix"; then
 2624     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 2625 set dummy ${ac_tool_prefix}cc; ac_word=$2
 2626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2628 if test "${ac_cv_prog_CC+set}" = set; then
 2629   echo $ECHO_N "(cached) $ECHO_C" >&6
 2630 else
 2631   if test -n "$CC"; then
 2632   ac_cv_prog_CC="$CC" # Let the user override the test.
 2633 else
 2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2635 for as_dir in $PATH
 2636 do
 2637   IFS=$as_save_IFS
 2638   test -z "$as_dir" && as_dir=.
 2639   for ac_exec_ext in '' $ac_executable_extensions; do
 2640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2641     ac_cv_prog_CC="${ac_tool_prefix}cc"
 2642     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2643     break 2
 2644   fi
 2645 done
 2646 done
 2647 IFS=$as_save_IFS
 2648 
 2649 fi
 2650 fi
 2651 CC=$ac_cv_prog_CC
 2652 if test -n "$CC"; then
 2653   { echo "$as_me:$LINENO: result: $CC" >&5
 2654 echo "${ECHO_T}$CC" >&6; }
 2655 else
 2656   { echo "$as_me:$LINENO: result: no" >&5
 2657 echo "${ECHO_T}no" >&6; }
 2658 fi
 2659 
 2660 
 2661   fi
 2662 fi
 2663 if test -z "$CC"; then
 2664   # Extract the first word of "cc", so it can be a program name with args.
 2665 set dummy cc; ac_word=$2
 2666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2668 if test "${ac_cv_prog_CC+set}" = set; then
 2669   echo $ECHO_N "(cached) $ECHO_C" >&6
 2670 else
 2671   if test -n "$CC"; then
 2672   ac_cv_prog_CC="$CC" # Let the user override the test.
 2673 else
 2674   ac_prog_rejected=no
 2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2676 for as_dir in $PATH
 2677 do
 2678   IFS=$as_save_IFS
 2679   test -z "$as_dir" && as_dir=.
 2680   for ac_exec_ext in '' $ac_executable_extensions; do
 2681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2682     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 2683        ac_prog_rejected=yes
 2684        continue
 2685      fi
 2686     ac_cv_prog_CC="cc"
 2687     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2688     break 2
 2689   fi
 2690 done
 2691 done
 2692 IFS=$as_save_IFS
 2693 
 2694 if test $ac_prog_rejected = yes; then
 2695   # We found a bogon in the path, so make sure we never use it.
 2696   set dummy $ac_cv_prog_CC
 2697   shift
 2698   if test $# != 0; then
 2699     # We chose a different compiler from the bogus one.
 2700     # However, it has the same basename, so the bogon will be chosen
 2701     # first if we set CC to just the basename; use the full file name.
 2702     shift
 2703     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 2704   fi
 2705 fi
 2706 fi
 2707 fi
 2708 CC=$ac_cv_prog_CC
 2709 if test -n "$CC"; then
 2710   { echo "$as_me:$LINENO: result: $CC" >&5
 2711 echo "${ECHO_T}$CC" >&6; }
 2712 else
 2713   { echo "$as_me:$LINENO: result: no" >&5
 2714 echo "${ECHO_T}no" >&6; }
 2715 fi
 2716 
 2717 
 2718 fi
 2719 if test -z "$CC"; then
 2720   if test -n "$ac_tool_prefix"; then
 2721   for ac_prog in cl.exe
 2722   do
 2723     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 2724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 2725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2727 if test "${ac_cv_prog_CC+set}" = set; then
 2728   echo $ECHO_N "(cached) $ECHO_C" >&6
 2729 else
 2730   if test -n "$CC"; then
 2731   ac_cv_prog_CC="$CC" # Let the user override the test.
 2732 else
 2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2734 for as_dir in $PATH
 2735 do
 2736   IFS=$as_save_IFS
 2737   test -z "$as_dir" && as_dir=.
 2738   for ac_exec_ext in '' $ac_executable_extensions; do
 2739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2740     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 2741     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2742     break 2
 2743   fi
 2744 done
 2745 done
 2746 IFS=$as_save_IFS
 2747 
 2748 fi
 2749 fi
 2750 CC=$ac_cv_prog_CC
 2751 if test -n "$CC"; then
 2752   { echo "$as_me:$LINENO: result: $CC" >&5
 2753 echo "${ECHO_T}$CC" >&6; }
 2754 else
 2755   { echo "$as_me:$LINENO: result: no" >&5
 2756 echo "${ECHO_T}no" >&6; }
 2757 fi
 2758 
 2759 
 2760     test -n "$CC" && break
 2761   done
 2762 fi
 2763 if test -z "$CC"; then
 2764   ac_ct_CC=$CC
 2765   for ac_prog in cl.exe
 2766 do
 2767   # Extract the first word of "$ac_prog", so it can be a program name with args.
 2768 set dummy $ac_prog; ac_word=$2
 2769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 2771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 2772   echo $ECHO_N "(cached) $ECHO_C" >&6
 2773 else
 2774   if test -n "$ac_ct_CC"; then
 2775   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 2776 else
 2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2778 for as_dir in $PATH
 2779 do
 2780   IFS=$as_save_IFS
 2781   test -z "$as_dir" && as_dir=.
 2782   for ac_exec_ext in '' $ac_executable_extensions; do
 2783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 2784     ac_cv_prog_ac_ct_CC="$ac_prog"
 2785     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2786     break 2
 2787   fi
 2788 done
 2789 done
 2790 IFS=$as_save_IFS
 2791 
 2792 fi
 2793 fi
 2794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 2795 if test -n "$ac_ct_CC"; then
 2796   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 2797 echo "${ECHO_T}$ac_ct_CC" >&6; }
 2798 else
 2799   { echo "$as_me:$LINENO: result: no" >&5
 2800 echo "${ECHO_T}no" >&6; }
 2801 fi
 2802 
 2803 
 2804   test -n "$ac_ct_CC" && break
 2805 done
 2806 
 2807   if test "x$ac_ct_CC" = x; then
 2808     CC=""
 2809   else
 2810     case $cross_compiling:$ac_tool_warned in
 2811 yes:)
 2812 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 2813 whose name does not start with the host triplet.  If you think this
 2814 configuration is useful to you, please write to autoconf@gnu.org." >&5
 2815 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 2816 whose name does not start with the host triplet.  If you think this
 2817 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 2818 ac_tool_warned=yes ;;
 2819 esac
 2820     CC=$ac_ct_CC
 2821   fi
 2822 fi
 2823 
 2824 fi
 2825 
 2826 
 2827 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 2828 See \`config.log' for more details." >&5
 2829 echo "$as_me: error: no acceptable C compiler found in \$PATH
 2830 See \`config.log' for more details." >&2;}
 2831    { (exit 1); exit 1; }; }
 2832 
 2833 # Provide some information about the compiler.
 2834 echo "$as_me:$LINENO: checking for C compiler version" >&5
 2835 ac_compiler=`set X $ac_compile; echo $2`
 2836 { (ac_try="$ac_compiler --version >&5"
 2837 case "(($ac_try" in
 2838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2839   *) ac_try_echo=$ac_try;;
 2840 esac
 2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2842   (eval "$ac_compiler --version >&5") 2>&5
 2843   ac_status=$?
 2844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2845   (exit $ac_status); }
 2846 { (ac_try="$ac_compiler -v >&5"
 2847 case "(($ac_try" in
 2848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2849   *) ac_try_echo=$ac_try;;
 2850 esac
 2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2852   (eval "$ac_compiler -v >&5") 2>&5
 2853   ac_status=$?
 2854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2855   (exit $ac_status); }
 2856 { (ac_try="$ac_compiler -V >&5"
 2857 case "(($ac_try" in
 2858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2859   *) ac_try_echo=$ac_try;;
 2860 esac
 2861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2862   (eval "$ac_compiler -V >&5") 2>&5
 2863   ac_status=$?
 2864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2865   (exit $ac_status); }
 2866 
 2867 cat >conftest.$ac_ext <<_ACEOF
 2868 /* confdefs.h.  */
 2869 _ACEOF
 2870 cat confdefs.h >>conftest.$ac_ext
 2871 cat >>conftest.$ac_ext <<_ACEOF
 2872 /* end confdefs.h.  */
 2873 
 2874 int
 2875 main ()
 2876 {
 2877 
 2878   ;
 2879   return 0;
 2880 }
 2881 _ACEOF
 2882 ac_clean_files_save=$ac_clean_files
 2883 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 2884 # Try to create an executable without -o first, disregard a.out.
 2885 # It will help us diagnose broken compilers, and finding out an intuition
 2886 # of exeext.
 2887 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 2888 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
 2889 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 2890 #
 2891 # List of possible output files, starting from the most likely.
 2892 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 2893 # only as a last resort.  b.out is created by i960 compilers.
 2894 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 2895 #
 2896 # The IRIX 6 linker writes into existing files which may not be
 2897 # executable, retaining their permissions.  Remove them first so a
 2898 # subsequent execution test works.
 2899 ac_rmfiles=
 2900 for ac_file in $ac_files
 2901 do
 2902   case $ac_file in
 2903     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 2904     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 2905   esac
 2906 done
 2907 rm -f $ac_rmfiles
 2908 
 2909 if { (ac_try="$ac_link_default"
 2910 case "(($ac_try" in
 2911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2912   *) ac_try_echo=$ac_try;;
 2913 esac
 2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2915   (eval "$ac_link_default") 2>&5
 2916   ac_status=$?
 2917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2918   (exit $ac_status); }; then
 2919   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 2920 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 2921 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
 2922 # so that the user can short-circuit this test for compilers unknown to
 2923 # Autoconf.
 2924 for ac_file in $ac_files ''
 2925 do
 2926   test -f "$ac_file" || continue
 2927   case $ac_file in
 2928     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 2929     ;;
 2930     [ab].out )
 2931     # We found the default executable, but exeext='' is most
 2932     # certainly right.
 2933     break;;
 2934     *.* )
 2935         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 2936     then :; else
 2937        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 2938     fi
 2939     # We set ac_cv_exeext here because the later test for it is not
 2940     # safe: cross compilers may not add the suffix if given an `-o'
 2941     # argument, so we may need to know it at that point already.
 2942     # Even if this section looks crufty: it has the advantage of
 2943     # actually working.
 2944     break;;
 2945     * )
 2946     break;;
 2947   esac
 2948 done
 2949 test "$ac_cv_exeext" = no && ac_cv_exeext=
 2950 
 2951 else
 2952   ac_file=''
 2953 fi
 2954 
 2955 { echo "$as_me:$LINENO: result: $ac_file" >&5
 2956 echo "${ECHO_T}$ac_file" >&6; }
 2957 if test -z "$ac_file"; then
 2958   echo "$as_me: failed program was:" >&5
 2959 sed 's/^/| /' conftest.$ac_ext >&5
 2960 
 2961 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 2962 See \`config.log' for more details." >&5
 2963 echo "$as_me: error: C compiler cannot create executables
 2964 See \`config.log' for more details." >&2;}
 2965    { (exit 77); exit 77; }; }
 2966 fi
 2967 
 2968 ac_exeext=$ac_cv_exeext
 2969 
 2970 # Check that the compiler produces executables we can run.  If not, either
 2971 # the compiler is broken, or we cross compile.
 2972 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 2973 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 2974 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 2975 # If not cross compiling, check that we can run a simple program.
 2976 if test "$cross_compiling" != yes; then
 2977   if { ac_try='./$ac_file'
 2978   { (case "(($ac_try" in
 2979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 2980   *) ac_try_echo=$ac_try;;
 2981 esac
 2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 2983   (eval "$ac_try") 2>&5
 2984   ac_status=$?
 2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2986   (exit $ac_status); }; }; then
 2987     cross_compiling=no
 2988   else
 2989     if test "$cross_compiling" = maybe; then
 2990     cross_compiling=yes
 2991     else
 2992     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 2993 If you meant to cross compile, use \`--host'.
 2994 See \`config.log' for more details." >&5
 2995 echo "$as_me: error: cannot run C compiled programs.
 2996 If you meant to cross compile, use \`--host'.
 2997 See \`config.log' for more details." >&2;}
 2998    { (exit 1); exit 1; }; }
 2999     fi
 3000   fi
 3001 fi
 3002 { echo "$as_me:$LINENO: result: yes" >&5
 3003 echo "${ECHO_T}yes" >&6; }
 3004 
 3005 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 3006 ac_clean_files=$ac_clean_files_save
 3007 # Check that the compiler produces executables we can run.  If not, either
 3008 # the compiler is broken, or we cross compile.
 3009 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 3010 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 3011 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
 3012 echo "${ECHO_T}$cross_compiling" >&6; }
 3013 
 3014 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
 3015 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 3016 if { (ac_try="$ac_link"
 3017 case "(($ac_try" in
 3018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3019   *) ac_try_echo=$ac_try;;
 3020 esac
 3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3022   (eval "$ac_link") 2>&5
 3023   ac_status=$?
 3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3025   (exit $ac_status); }; then
 3026   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 3027 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 3028 # work properly (i.e., refer to `conftest.exe'), while it won't with
 3029 # `rm'.
 3030 for ac_file in conftest.exe conftest conftest.*; do
 3031   test -f "$ac_file" || continue
 3032   case $ac_file in
 3033     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 3034     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 3035       break;;
 3036     * ) break;;
 3037   esac
 3038 done
 3039 else
 3040   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 3041 See \`config.log' for more details." >&5
 3042 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 3043 See \`config.log' for more details." >&2;}
 3044    { (exit 1); exit 1; }; }
 3045 fi
 3046 
 3047 rm -f conftest$ac_cv_exeext
 3048 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 3049 echo "${ECHO_T}$ac_cv_exeext" >&6; }
 3050 
 3051 rm -f conftest.$ac_ext
 3052 EXEEXT=$ac_cv_exeext
 3053 ac_exeext=$EXEEXT
 3054 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
 3055 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 3056 if test "${ac_cv_objext+set}" = set; then
 3057   echo $ECHO_N "(cached) $ECHO_C" >&6
 3058 else
 3059   cat >conftest.$ac_ext <<_ACEOF
 3060 /* confdefs.h.  */
 3061 _ACEOF
 3062 cat confdefs.h >>conftest.$ac_ext
 3063 cat >>conftest.$ac_ext <<_ACEOF
 3064 /* end confdefs.h.  */
 3065 
 3066 int
 3067 main ()
 3068 {
 3069 
 3070   ;
 3071   return 0;
 3072 }
 3073 _ACEOF
 3074 rm -f conftest.o conftest.obj
 3075 if { (ac_try="$ac_compile"
 3076 case "(($ac_try" in
 3077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3078   *) ac_try_echo=$ac_try;;
 3079 esac
 3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3081   (eval "$ac_compile") 2>&5
 3082   ac_status=$?
 3083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3084   (exit $ac_status); }; then
 3085   for ac_file in conftest.o conftest.obj conftest.*; do
 3086   test -f "$ac_file" || continue;
 3087   case $ac_file in
 3088     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 3089     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 3090        break;;
 3091   esac
 3092 done
 3093 else
 3094   echo "$as_me: failed program was:" >&5
 3095 sed 's/^/| /' conftest.$ac_ext >&5
 3096 
 3097 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 3098 See \`config.log' for more details." >&5
 3099 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 3100 See \`config.log' for more details." >&2;}
 3101    { (exit 1); exit 1; }; }
 3102 fi
 3103 
 3104 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 3105 fi
 3106 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 3107 echo "${ECHO_T}$ac_cv_objext" >&6; }
 3108 OBJEXT=$ac_cv_objext
 3109 ac_objext=$OBJEXT
 3110 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 3111 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 3112 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 3113   echo $ECHO_N "(cached) $ECHO_C" >&6
 3114 else
 3115   cat >conftest.$ac_ext <<_ACEOF
 3116 /* confdefs.h.  */
 3117 _ACEOF
 3118 cat confdefs.h >>conftest.$ac_ext
 3119 cat >>conftest.$ac_ext <<_ACEOF
 3120 /* end confdefs.h.  */
 3121 
 3122 int
 3123 main ()
 3124 {
 3125 #ifndef __GNUC__
 3126        choke me
 3127 #endif
 3128 
 3129   ;
 3130   return 0;
 3131 }
 3132 _ACEOF
 3133 rm -f conftest.$ac_objext
 3134 if { (ac_try="$ac_compile"
 3135 case "(($ac_try" in
 3136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3137   *) ac_try_echo=$ac_try;;
 3138 esac
 3139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3140   (eval "$ac_compile") 2>conftest.er1
 3141   ac_status=$?
 3142   grep -v '^ *+' conftest.er1 >conftest.err
 3143   rm -f conftest.er1
 3144   cat conftest.err >&5
 3145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3146   (exit $ac_status); } && {
 3147      test -z "$ac_c_werror_flag" ||
 3148      test ! -s conftest.err
 3149        } && test -s conftest.$ac_objext; then
 3150   ac_compiler_gnu=yes
 3151 else
 3152   echo "$as_me: failed program was:" >&5
 3153 sed 's/^/| /' conftest.$ac_ext >&5
 3154 
 3155     ac_compiler_gnu=no
 3156 fi
 3157 
 3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 3160 
 3161 fi
 3162 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 3163 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 3164 GCC=`test $ac_compiler_gnu = yes && echo yes`
 3165 ac_test_CFLAGS=${CFLAGS+set}
 3166 ac_save_CFLAGS=$CFLAGS
 3167 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 3168 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 3169 if test "${ac_cv_prog_cc_g+set}" = set; then
 3170   echo $ECHO_N "(cached) $ECHO_C" >&6
 3171 else
 3172   ac_save_c_werror_flag=$ac_c_werror_flag
 3173    ac_c_werror_flag=yes
 3174    ac_cv_prog_cc_g=no
 3175    CFLAGS="-g"
 3176    cat >conftest.$ac_ext <<_ACEOF
 3177 /* confdefs.h.  */
 3178 _ACEOF
 3179 cat confdefs.h >>conftest.$ac_ext
 3180 cat >>conftest.$ac_ext <<_ACEOF
 3181 /* end confdefs.h.  */
 3182 
 3183 int
 3184 main ()
 3185 {
 3186 
 3187   ;
 3188   return 0;
 3189 }
 3190 _ACEOF
 3191 rm -f conftest.$ac_objext
 3192 if { (ac_try="$ac_compile"
 3193 case "(($ac_try" in
 3194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3195   *) ac_try_echo=$ac_try;;
 3196 esac
 3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3198   (eval "$ac_compile") 2>conftest.er1
 3199   ac_status=$?
 3200   grep -v '^ *+' conftest.er1 >conftest.err
 3201   rm -f conftest.er1
 3202   cat conftest.err >&5
 3203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3204   (exit $ac_status); } && {
 3205      test -z "$ac_c_werror_flag" ||
 3206      test ! -s conftest.err
 3207        } && test -s conftest.$ac_objext; then
 3208   ac_cv_prog_cc_g=yes
 3209 else
 3210   echo "$as_me: failed program was:" >&5
 3211 sed 's/^/| /' conftest.$ac_ext >&5
 3212 
 3213     CFLAGS=""
 3214       cat >conftest.$ac_ext <<_ACEOF
 3215 /* confdefs.h.  */
 3216 _ACEOF
 3217 cat confdefs.h >>conftest.$ac_ext
 3218 cat >>conftest.$ac_ext <<_ACEOF
 3219 /* end confdefs.h.  */
 3220 
 3221 int
 3222 main ()
 3223 {
 3224 
 3225   ;
 3226   return 0;
 3227 }
 3228 _ACEOF
 3229 rm -f conftest.$ac_objext
 3230 if { (ac_try="$ac_compile"
 3231 case "(($ac_try" in
 3232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3233   *) ac_try_echo=$ac_try;;
 3234 esac
 3235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3236   (eval "$ac_compile") 2>conftest.er1
 3237   ac_status=$?
 3238   grep -v '^ *+' conftest.er1 >conftest.err
 3239   rm -f conftest.er1
 3240   cat conftest.err >&5
 3241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3242   (exit $ac_status); } && {
 3243      test -z "$ac_c_werror_flag" ||
 3244      test ! -s conftest.err
 3245        } && test -s conftest.$ac_objext; then
 3246   :
 3247 else
 3248   echo "$as_me: failed program was:" >&5
 3249 sed 's/^/| /' conftest.$ac_ext >&5
 3250 
 3251     ac_c_werror_flag=$ac_save_c_werror_flag
 3252      CFLAGS="-g"
 3253      cat >conftest.$ac_ext <<_ACEOF
 3254 /* confdefs.h.  */
 3255 _ACEOF
 3256 cat confdefs.h >>conftest.$ac_ext
 3257 cat >>conftest.$ac_ext <<_ACEOF
 3258 /* end confdefs.h.  */
 3259 
 3260 int
 3261 main ()
 3262 {
 3263 
 3264   ;
 3265   return 0;
 3266 }
 3267 _ACEOF
 3268 rm -f conftest.$ac_objext
 3269 if { (ac_try="$ac_compile"
 3270 case "(($ac_try" in
 3271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3272   *) ac_try_echo=$ac_try;;
 3273 esac
 3274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3275   (eval "$ac_compile") 2>conftest.er1
 3276   ac_status=$?
 3277   grep -v '^ *+' conftest.er1 >conftest.err
 3278   rm -f conftest.er1
 3279   cat conftest.err >&5
 3280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3281   (exit $ac_status); } && {
 3282      test -z "$ac_c_werror_flag" ||
 3283      test ! -s conftest.err
 3284        } && test -s conftest.$ac_objext; then
 3285   ac_cv_prog_cc_g=yes
 3286 else
 3287   echo "$as_me: failed program was:" >&5
 3288 sed 's/^/| /' conftest.$ac_ext >&5
 3289 
 3290 
 3291 fi
 3292 
 3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3294 fi
 3295 
 3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3297 fi
 3298 
 3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 3300    ac_c_werror_flag=$ac_save_c_werror_flag
 3301 fi
 3302 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 3303 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 3304 if test "$ac_test_CFLAGS" = set; then
 3305   CFLAGS=$ac_save_CFLAGS
 3306 elif test $ac_cv_prog_cc_g = yes; then
 3307   if test "$GCC" = yes; then
 3308     CFLAGS="-g -O2"
 3309   else
 3310     CFLAGS="-g"
 3311   fi
 3312 else
 3313   if test "$GCC" = yes; then
 3314     CFLAGS="-O2"
 3315   else
 3316     CFLAGS=
 3317   fi
 3318 fi
 3319 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 3320 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 3321 if test "${ac_cv_prog_cc_c89+set}" = set; then
 3322   echo $ECHO_N "(cached) $ECHO_C" >&6
 3323 else
 3324   ac_cv_prog_cc_c89=no
 3325 ac_save_CC=$CC
 3326 cat >conftest.$ac_ext <<_ACEOF
 3327 /* confdefs.h.  */
 3328 _ACEOF
 3329 cat confdefs.h >>conftest.$ac_ext
 3330 cat >>conftest.$ac_ext <<_ACEOF
 3331 /* end confdefs.h.  */
 3332 #include <stdarg.h>
 3333 #include <stdio.h>
 3334 #include <sys/types.h>
 3335 #include <sys/stat.h>
 3336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 3337 struct buf { int x; };
 3338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 3339 static char *e (p, i)
 3340      char **p;
 3341      int i;
 3342 {
 3343   return p[i];
 3344 }
 3345 static char *f (char * (*g) (char **, int), char **p, ...)
 3346 {
 3347   char *s;
 3348   va_list v;
 3349   va_start (v,p);
 3350   s = g (p, va_arg (v,int));
 3351   va_end (v);
 3352   return s;
 3353 }
 3354 
 3355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 3356    function prototypes and stuff, but not '\xHH' hex character constants.
 3357    These don't provoke an error unfortunately, instead are silently treated
 3358    as 'x'.  The following induces an error, until -std is added to get
 3359    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 3360    array size at least.  It's necessary to write '\x00'==0 to get something
 3361    that's true only with -std.  */
 3362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 3363 
 3364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 3365    inside strings and character constants.  */
 3366 #define FOO(x) 'x'
 3367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 3368 
 3369 int test (int i, double x);
 3370 struct s1 {int (*f) (int a);};
 3371 struct s2 {int (*f) (double a);};
 3372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 3373 int argc;
 3374 char **argv;
 3375 int
 3376 main ()
 3377 {
 3378 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 3379   ;
 3380   return 0;
 3381 }
 3382 _ACEOF
 3383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 3384     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 3385 do
 3386   CC="$ac_save_CC $ac_arg"
 3387   rm -f conftest.$ac_objext
 3388 if { (ac_try="$ac_compile"
 3389 case "(($ac_try" in
 3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3391   *) ac_try_echo=$ac_try;;
 3392 esac
 3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3394   (eval "$ac_compile") 2>conftest.er1
 3395   ac_status=$?
 3396   grep -v '^ *+' conftest.er1 >conftest.err
 3397   rm -f conftest.er1
 3398   cat conftest.err >&5
 3399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3400   (exit $ac_status); } && {
 3401      test -z "$ac_c_werror_flag" ||
 3402      test ! -s conftest.err
 3403        } && test -s conftest.$ac_objext; then
 3404   ac_cv_prog_cc_c89=$ac_arg
 3405 else
 3406   echo "$as_me: failed program was:" >&5
 3407 sed 's/^/| /' conftest.$ac_ext >&5
 3408 
 3409 
 3410 fi
 3411 
 3412 rm -f core conftest.err conftest.$ac_objext
 3413   test "x$ac_cv_prog_cc_c89" != "xno" && break
 3414 done
 3415 rm -f conftest.$ac_ext
 3416 CC=$ac_save_CC
 3417 
 3418 fi
 3419 # AC_CACHE_VAL
 3420 case "x$ac_cv_prog_cc_c89" in
 3421   x)
 3422     { echo "$as_me:$LINENO: result: none needed" >&5
 3423 echo "${ECHO_T}none needed" >&6; } ;;
 3424   xno)
 3425     { echo "$as_me:$LINENO: result: unsupported" >&5
 3426 echo "${ECHO_T}unsupported" >&6; } ;;
 3427   *)
 3428     CC="$CC $ac_cv_prog_cc_c89"
 3429     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 3430 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 3431 esac
 3432 
 3433 
 3434 ac_ext=c
 3435 ac_cpp='$CPP $CPPFLAGS'
 3436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3439 
 3440 depcc="$CC"   am_compiler_list=
 3441 
 3442 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 3443 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 3444 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 3445   echo $ECHO_N "(cached) $ECHO_C" >&6
 3446 else
 3447   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 3448   # We make a subdir and do the tests there.  Otherwise we can end up
 3449   # making bogus files that we don't know about and never remove.  For
 3450   # instance it was reported that on HP-UX the gcc test will end up
 3451   # making a dummy file named `D' -- because `-MD' means `put the output
 3452   # in D'.
 3453   mkdir conftest.dir
 3454   # Copy depcomp to subdir because otherwise we won't find it if we're
 3455   # using a relative directory.
 3456   cp "$am_depcomp" conftest.dir
 3457   cd conftest.dir
 3458   # We will build objects and dependencies in a subdirectory because
 3459   # it helps to detect inapplicable dependency modes.  For instance
 3460   # both Tru64's cc and ICC support -MD to output dependencies as a
 3461   # side effect of compilation, but ICC will put the dependencies in
 3462   # the current directory while Tru64 will put them in the object
 3463   # directory.
 3464   mkdir sub
 3465 
 3466   am_cv_CC_dependencies_compiler_type=none
 3467   if test "$am_compiler_list" = ""; then
 3468      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 3469   fi
 3470   for depmode in $am_compiler_list; do
 3471     # Setup a source with many dependencies, because some compilers
 3472     # like to wrap large dependency lists on column 80 (with \), and
 3473     # we should not choose a depcomp mode which is confused by this.
 3474     #
 3475     # We need to recreate these files for each test, as the compiler may
 3476     # overwrite some of them when testing with obscure command lines.
 3477     # This happens at least with the AIX C compiler.
 3478     : > sub/conftest.c
 3479     for i in 1 2 3 4 5 6; do
 3480       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 3481       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 3482       # Solaris 8's {/usr,}/bin/sh.
 3483       touch sub/conftst$i.h
 3484     done
 3485     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 3486 
 3487     case $depmode in
 3488     nosideeffect)
 3489       # after this tag, mechanisms are not by side-effect, so they'll
 3490       # only be used when explicitly requested
 3491       if test "x$enable_dependency_tracking" = xyes; then
 3492     continue
 3493       else
 3494     break
 3495       fi
 3496       ;;
 3497     none) break ;;
 3498     esac
 3499     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 3500     # mode.  It turns out that the SunPro C++ compiler does not properly
 3501     # handle `-M -o', and we need to detect this.
 3502     if depmode=$depmode \
 3503        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 3504        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 3505        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 3506          >/dev/null 2>conftest.err &&
 3507        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 3508        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 3509        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 3510       # icc doesn't choke on unknown options, it will just issue warnings
 3511       # or remarks (even with -Werror).  So we grep stderr for any message
 3512       # that says an option was ignored or not supported.
 3513       # When given -MP, icc 7.0 and 7.1 complain thusly:
 3514       #   icc: Command line warning: ignoring option '-M'; no argument required
 3515       # The diagnosis changed in icc 8.0:
 3516       #   icc: Command line remark: option '-MP' not supported
 3517       if (grep 'ignoring option' conftest.err ||
 3518           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 3519         am_cv_CC_dependencies_compiler_type=$depmode
 3520         break
 3521       fi
 3522     fi
 3523   done
 3524 
 3525   cd ..
 3526   rm -rf conftest.dir
 3527 else
 3528   am_cv_CC_dependencies_compiler_type=none
 3529 fi
 3530 
 3531 fi
 3532 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 3533 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 3534 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 3535 
 3536 
 3537 
 3538 if
 3539   test "x$enable_dependency_tracking" != xno \
 3540   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 3541   am__fastdepCC_TRUE=
 3542   am__fastdepCC_FALSE='#'
 3543 else
 3544   am__fastdepCC_TRUE='#'
 3545   am__fastdepCC_FALSE=
 3546 fi
 3547 
 3548 
 3549 
 3550 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
 3551 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 3552 if test "${ac_cv_search_strerror+set}" = set; then
 3553   echo $ECHO_N "(cached) $ECHO_C" >&6
 3554 else
 3555   ac_func_search_save_LIBS=$LIBS
 3556 cat >conftest.$ac_ext <<_ACEOF
 3557 /* confdefs.h.  */
 3558 _ACEOF
 3559 cat confdefs.h >>conftest.$ac_ext
 3560 cat >>conftest.$ac_ext <<_ACEOF
 3561 /* end confdefs.h.  */
 3562 
 3563 /* Override any GCC internal prototype to avoid an error.
 3564    Use char because int might match the return type of a GCC
 3565    builtin and then its argument prototype would still apply.  */
 3566 #ifdef __cplusplus
 3567 extern "C"
 3568 #endif
 3569 char strerror ();
 3570 int
 3571 main ()
 3572 {
 3573 return strerror ();
 3574   ;
 3575   return 0;
 3576 }
 3577 _ACEOF
 3578 for ac_lib in '' cposix; do
 3579   if test -z "$ac_lib"; then
 3580     ac_res="none required"
 3581   else
 3582     ac_res=-l$ac_lib
 3583     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3584   fi
 3585   rm -f conftest.$ac_objext conftest$ac_exeext
 3586 if { (ac_try="$ac_link"
 3587 case "(($ac_try" in
 3588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3589   *) ac_try_echo=$ac_try;;
 3590 esac
 3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3592   (eval "$ac_link") 2>conftest.er1
 3593   ac_status=$?
 3594   grep -v '^ *+' conftest.er1 >conftest.err
 3595   rm -f conftest.er1
 3596   cat conftest.err >&5
 3597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3598   (exit $ac_status); } && {
 3599      test -z "$ac_c_werror_flag" ||
 3600      test ! -s conftest.err
 3601        } && test -s conftest$ac_exeext &&
 3602        $as_test_x conftest$ac_exeext; then
 3603   ac_cv_search_strerror=$ac_res
 3604 else
 3605   echo "$as_me: failed program was:" >&5
 3606 sed 's/^/| /' conftest.$ac_ext >&5
 3607 
 3608 
 3609 fi
 3610 
 3611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 3612       conftest$ac_exeext
 3613   if test "${ac_cv_search_strerror+set}" = set; then
 3614   break
 3615 fi
 3616 done
 3617 if test "${ac_cv_search_strerror+set}" = set; then
 3618   :
 3619 else
 3620   ac_cv_search_strerror=no
 3621 fi
 3622 rm conftest.$ac_ext
 3623 LIBS=$ac_func_search_save_LIBS
 3624 fi
 3625 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 3626 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 3627 ac_res=$ac_cv_search_strerror
 3628 if test "$ac_res" != no; then
 3629   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 3630 
 3631 fi
 3632 
 3633 ac_ext=c
 3634 ac_cpp='$CPP $CPPFLAGS'
 3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 3638 if test -n "$ac_tool_prefix"; then
 3639   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 3640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 3641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3643 if test "${ac_cv_prog_CC+set}" = set; then
 3644   echo $ECHO_N "(cached) $ECHO_C" >&6
 3645 else
 3646   if test -n "$CC"; then
 3647   ac_cv_prog_CC="$CC" # Let the user override the test.
 3648 else
 3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3650 for as_dir in $PATH
 3651 do
 3652   IFS=$as_save_IFS
 3653   test -z "$as_dir" && as_dir=.
 3654   for ac_exec_ext in '' $ac_executable_extensions; do
 3655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3656     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 3657     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3658     break 2
 3659   fi
 3660 done
 3661 done
 3662 IFS=$as_save_IFS
 3663 
 3664 fi
 3665 fi
 3666 CC=$ac_cv_prog_CC
 3667 if test -n "$CC"; then
 3668   { echo "$as_me:$LINENO: result: $CC" >&5
 3669 echo "${ECHO_T}$CC" >&6; }
 3670 else
 3671   { echo "$as_me:$LINENO: result: no" >&5
 3672 echo "${ECHO_T}no" >&6; }
 3673 fi
 3674 
 3675 
 3676 fi
 3677 if test -z "$ac_cv_prog_CC"; then
 3678   ac_ct_CC=$CC
 3679   # Extract the first word of "gcc", so it can be a program name with args.
 3680 set dummy gcc; ac_word=$2
 3681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 3684   echo $ECHO_N "(cached) $ECHO_C" >&6
 3685 else
 3686   if test -n "$ac_ct_CC"; then
 3687   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3688 else
 3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3690 for as_dir in $PATH
 3691 do
 3692   IFS=$as_save_IFS
 3693   test -z "$as_dir" && as_dir=.
 3694   for ac_exec_ext in '' $ac_executable_extensions; do
 3695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3696     ac_cv_prog_ac_ct_CC="gcc"
 3697     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3698     break 2
 3699   fi
 3700 done
 3701 done
 3702 IFS=$as_save_IFS
 3703 
 3704 fi
 3705 fi
 3706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3707 if test -n "$ac_ct_CC"; then
 3708   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 3709 echo "${ECHO_T}$ac_ct_CC" >&6; }
 3710 else
 3711   { echo "$as_me:$LINENO: result: no" >&5
 3712 echo "${ECHO_T}no" >&6; }
 3713 fi
 3714 
 3715   if test "x$ac_ct_CC" = x; then
 3716     CC=""
 3717   else
 3718     case $cross_compiling:$ac_tool_warned in
 3719 yes:)
 3720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3721 whose name does not start with the host triplet.  If you think this
 3722 configuration is useful to you, please write to autoconf@gnu.org." >&5
 3723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3724 whose name does not start with the host triplet.  If you think this
 3725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3726 ac_tool_warned=yes ;;
 3727 esac
 3728     CC=$ac_ct_CC
 3729   fi
 3730 else
 3731   CC="$ac_cv_prog_CC"
 3732 fi
 3733 
 3734 if test -z "$CC"; then
 3735           if test -n "$ac_tool_prefix"; then
 3736     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 3737 set dummy ${ac_tool_prefix}cc; ac_word=$2
 3738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3740 if test "${ac_cv_prog_CC+set}" = set; then
 3741   echo $ECHO_N "(cached) $ECHO_C" >&6
 3742 else
 3743   if test -n "$CC"; then
 3744   ac_cv_prog_CC="$CC" # Let the user override the test.
 3745 else
 3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3747 for as_dir in $PATH
 3748 do
 3749   IFS=$as_save_IFS
 3750   test -z "$as_dir" && as_dir=.
 3751   for ac_exec_ext in '' $ac_executable_extensions; do
 3752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3753     ac_cv_prog_CC="${ac_tool_prefix}cc"
 3754     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3755     break 2
 3756   fi
 3757 done
 3758 done
 3759 IFS=$as_save_IFS
 3760 
 3761 fi
 3762 fi
 3763 CC=$ac_cv_prog_CC
 3764 if test -n "$CC"; then
 3765   { echo "$as_me:$LINENO: result: $CC" >&5
 3766 echo "${ECHO_T}$CC" >&6; }
 3767 else
 3768   { echo "$as_me:$LINENO: result: no" >&5
 3769 echo "${ECHO_T}no" >&6; }
 3770 fi
 3771 
 3772 
 3773   fi
 3774 fi
 3775 if test -z "$CC"; then
 3776   # Extract the first word of "cc", so it can be a program name with args.
 3777 set dummy cc; ac_word=$2
 3778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3780 if test "${ac_cv_prog_CC+set}" = set; then
 3781   echo $ECHO_N "(cached) $ECHO_C" >&6
 3782 else
 3783   if test -n "$CC"; then
 3784   ac_cv_prog_CC="$CC" # Let the user override the test.
 3785 else
 3786   ac_prog_rejected=no
 3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3788 for as_dir in $PATH
 3789 do
 3790   IFS=$as_save_IFS
 3791   test -z "$as_dir" && as_dir=.
 3792   for ac_exec_ext in '' $ac_executable_extensions; do
 3793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3794     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 3795        ac_prog_rejected=yes
 3796        continue
 3797      fi
 3798     ac_cv_prog_CC="cc"
 3799     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3800     break 2
 3801   fi
 3802 done
 3803 done
 3804 IFS=$as_save_IFS
 3805 
 3806 if test $ac_prog_rejected = yes; then
 3807   # We found a bogon in the path, so make sure we never use it.
 3808   set dummy $ac_cv_prog_CC
 3809   shift
 3810   if test $# != 0; then
 3811     # We chose a different compiler from the bogus one.
 3812     # However, it has the same basename, so the bogon will be chosen
 3813     # first if we set CC to just the basename; use the full file name.
 3814     shift
 3815     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 3816   fi
 3817 fi
 3818 fi
 3819 fi
 3820 CC=$ac_cv_prog_CC
 3821 if test -n "$CC"; then
 3822   { echo "$as_me:$LINENO: result: $CC" >&5
 3823 echo "${ECHO_T}$CC" >&6; }
 3824 else
 3825   { echo "$as_me:$LINENO: result: no" >&5
 3826 echo "${ECHO_T}no" >&6; }
 3827 fi
 3828 
 3829 
 3830 fi
 3831 if test -z "$CC"; then
 3832   if test -n "$ac_tool_prefix"; then
 3833   for ac_prog in cl.exe
 3834   do
 3835     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 3836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 3837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3839 if test "${ac_cv_prog_CC+set}" = set; then
 3840   echo $ECHO_N "(cached) $ECHO_C" >&6
 3841 else
 3842   if test -n "$CC"; then
 3843   ac_cv_prog_CC="$CC" # Let the user override the test.
 3844 else
 3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3846 for as_dir in $PATH
 3847 do
 3848   IFS=$as_save_IFS
 3849   test -z "$as_dir" && as_dir=.
 3850   for ac_exec_ext in '' $ac_executable_extensions; do
 3851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3852     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 3853     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3854     break 2
 3855   fi
 3856 done
 3857 done
 3858 IFS=$as_save_IFS
 3859 
 3860 fi
 3861 fi
 3862 CC=$ac_cv_prog_CC
 3863 if test -n "$CC"; then
 3864   { echo "$as_me:$LINENO: result: $CC" >&5
 3865 echo "${ECHO_T}$CC" >&6; }
 3866 else
 3867   { echo "$as_me:$LINENO: result: no" >&5
 3868 echo "${ECHO_T}no" >&6; }
 3869 fi
 3870 
 3871 
 3872     test -n "$CC" && break
 3873   done
 3874 fi
 3875 if test -z "$CC"; then
 3876   ac_ct_CC=$CC
 3877   for ac_prog in cl.exe
 3878 do
 3879   # Extract the first word of "$ac_prog", so it can be a program name with args.
 3880 set dummy $ac_prog; ac_word=$2
 3881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 3882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 3883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 3884   echo $ECHO_N "(cached) $ECHO_C" >&6
 3885 else
 3886   if test -n "$ac_ct_CC"; then
 3887   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 3888 else
 3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 3890 for as_dir in $PATH
 3891 do
 3892   IFS=$as_save_IFS
 3893   test -z "$as_dir" && as_dir=.
 3894   for ac_exec_ext in '' $ac_executable_extensions; do
 3895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 3896     ac_cv_prog_ac_ct_CC="$ac_prog"
 3897     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 3898     break 2
 3899   fi
 3900 done
 3901 done
 3902 IFS=$as_save_IFS
 3903 
 3904 fi
 3905 fi
 3906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 3907 if test -n "$ac_ct_CC"; then
 3908   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 3909 echo "${ECHO_T}$ac_ct_CC" >&6; }
 3910 else
 3911   { echo "$as_me:$LINENO: result: no" >&5
 3912 echo "${ECHO_T}no" >&6; }
 3913 fi
 3914 
 3915 
 3916   test -n "$ac_ct_CC" && break
 3917 done
 3918 
 3919   if test "x$ac_ct_CC" = x; then
 3920     CC=""
 3921   else
 3922     case $cross_compiling:$ac_tool_warned in
 3923 yes:)
 3924 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 3925 whose name does not start with the host triplet.  If you think this
 3926 configuration is useful to you, please write to autoconf@gnu.org." >&5
 3927 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 3928 whose name does not start with the host triplet.  If you think this
 3929 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 3930 ac_tool_warned=yes ;;
 3931 esac
 3932     CC=$ac_ct_CC
 3933   fi
 3934 fi
 3935 
 3936 fi
 3937 
 3938 
 3939 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 3940 See \`config.log' for more details." >&5
 3941 echo "$as_me: error: no acceptable C compiler found in \$PATH
 3942 See \`config.log' for more details." >&2;}
 3943    { (exit 1); exit 1; }; }
 3944 
 3945 # Provide some information about the compiler.
 3946 echo "$as_me:$LINENO: checking for C compiler version" >&5
 3947 ac_compiler=`set X $ac_compile; echo $2`
 3948 { (ac_try="$ac_compiler --version >&5"
 3949 case "(($ac_try" in
 3950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3951   *) ac_try_echo=$ac_try;;
 3952 esac
 3953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3954   (eval "$ac_compiler --version >&5") 2>&5
 3955   ac_status=$?
 3956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3957   (exit $ac_status); }
 3958 { (ac_try="$ac_compiler -v >&5"
 3959 case "(($ac_try" in
 3960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3961   *) ac_try_echo=$ac_try;;
 3962 esac
 3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3964   (eval "$ac_compiler -v >&5") 2>&5
 3965   ac_status=$?
 3966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3967   (exit $ac_status); }
 3968 { (ac_try="$ac_compiler -V >&5"
 3969 case "(($ac_try" in
 3970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 3971   *) ac_try_echo=$ac_try;;
 3972 esac
 3973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 3974   (eval "$ac_compiler -V >&5") 2>&5
 3975   ac_status=$?
 3976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3977   (exit $ac_status); }
 3978 
 3979 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 3980 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 3981 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 3982   echo $ECHO_N "(cached) $ECHO_C" >&6
 3983 else
 3984   cat >conftest.$ac_ext <<_ACEOF
 3985 /* confdefs.h.  */
 3986 _ACEOF
 3987 cat confdefs.h >>conftest.$ac_ext
 3988 cat >>conftest.$ac_ext <<_ACEOF
 3989 /* end confdefs.h.  */
 3990 
 3991 int
 3992 main ()
 3993 {
 3994 #ifndef __GNUC__
 3995        choke me
 3996 #endif
 3997 
 3998   ;
 3999   return 0;
 4000 }
 4001 _ACEOF
 4002 rm -f conftest.$ac_objext
 4003 if { (ac_try="$ac_compile"
 4004 case "(($ac_try" in
 4005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4006   *) ac_try_echo=$ac_try;;
 4007 esac
 4008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4009   (eval "$ac_compile") 2>conftest.er1
 4010   ac_status=$?
 4011   grep -v '^ *+' conftest.er1 >conftest.err
 4012   rm -f conftest.er1
 4013   cat conftest.err >&5
 4014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4015   (exit $ac_status); } && {
 4016      test -z "$ac_c_werror_flag" ||
 4017      test ! -s conftest.err
 4018        } && test -s conftest.$ac_objext; then
 4019   ac_compiler_gnu=yes
 4020 else
 4021   echo "$as_me: failed program was:" >&5
 4022 sed 's/^/| /' conftest.$ac_ext >&5
 4023 
 4024     ac_compiler_gnu=no
 4025 fi
 4026 
 4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4028 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 4029 
 4030 fi
 4031 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 4032 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
 4033 GCC=`test $ac_compiler_gnu = yes && echo yes`
 4034 ac_test_CFLAGS=${CFLAGS+set}
 4035 ac_save_CFLAGS=$CFLAGS
 4036 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 4037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 4038 if test "${ac_cv_prog_cc_g+set}" = set; then
 4039   echo $ECHO_N "(cached) $ECHO_C" >&6
 4040 else
 4041   ac_save_c_werror_flag=$ac_c_werror_flag
 4042    ac_c_werror_flag=yes
 4043    ac_cv_prog_cc_g=no
 4044    CFLAGS="-g"
 4045    cat >conftest.$ac_ext <<_ACEOF
 4046 /* confdefs.h.  */
 4047 _ACEOF
 4048 cat confdefs.h >>conftest.$ac_ext
 4049 cat >>conftest.$ac_ext <<_ACEOF
 4050 /* end confdefs.h.  */
 4051 
 4052 int
 4053 main ()
 4054 {
 4055 
 4056   ;
 4057   return 0;
 4058 }
 4059 _ACEOF
 4060 rm -f conftest.$ac_objext
 4061 if { (ac_try="$ac_compile"
 4062 case "(($ac_try" in
 4063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4064   *) ac_try_echo=$ac_try;;
 4065 esac
 4066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4067   (eval "$ac_compile") 2>conftest.er1
 4068   ac_status=$?
 4069   grep -v '^ *+' conftest.er1 >conftest.err
 4070   rm -f conftest.er1
 4071   cat conftest.err >&5
 4072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4073   (exit $ac_status); } && {
 4074      test -z "$ac_c_werror_flag" ||
 4075      test ! -s conftest.err
 4076        } && test -s conftest.$ac_objext; then
 4077   ac_cv_prog_cc_g=yes
 4078 else
 4079   echo "$as_me: failed program was:" >&5
 4080 sed 's/^/| /' conftest.$ac_ext >&5
 4081 
 4082     CFLAGS=""
 4083       cat >conftest.$ac_ext <<_ACEOF
 4084 /* confdefs.h.  */
 4085 _ACEOF
 4086 cat confdefs.h >>conftest.$ac_ext
 4087 cat >>conftest.$ac_ext <<_ACEOF
 4088 /* end confdefs.h.  */
 4089 
 4090 int
 4091 main ()
 4092 {
 4093 
 4094   ;
 4095   return 0;
 4096 }
 4097 _ACEOF
 4098 rm -f conftest.$ac_objext
 4099 if { (ac_try="$ac_compile"
 4100 case "(($ac_try" in
 4101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4102   *) ac_try_echo=$ac_try;;
 4103 esac
 4104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4105   (eval "$ac_compile") 2>conftest.er1
 4106   ac_status=$?
 4107   grep -v '^ *+' conftest.er1 >conftest.err
 4108   rm -f conftest.er1
 4109   cat conftest.err >&5
 4110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4111   (exit $ac_status); } && {
 4112      test -z "$ac_c_werror_flag" ||
 4113      test ! -s conftest.err
 4114        } && test -s conftest.$ac_objext; then
 4115   :
 4116 else
 4117   echo "$as_me: failed program was:" >&5
 4118 sed 's/^/| /' conftest.$ac_ext >&5
 4119 
 4120     ac_c_werror_flag=$ac_save_c_werror_flag
 4121      CFLAGS="-g"
 4122      cat >conftest.$ac_ext <<_ACEOF
 4123 /* confdefs.h.  */
 4124 _ACEOF
 4125 cat confdefs.h >>conftest.$ac_ext
 4126 cat >>conftest.$ac_ext <<_ACEOF
 4127 /* end confdefs.h.  */
 4128 
 4129 int
 4130 main ()
 4131 {
 4132 
 4133   ;
 4134   return 0;
 4135 }
 4136 _ACEOF
 4137 rm -f conftest.$ac_objext
 4138 if { (ac_try="$ac_compile"
 4139 case "(($ac_try" in
 4140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4141   *) ac_try_echo=$ac_try;;
 4142 esac
 4143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4144   (eval "$ac_compile") 2>conftest.er1
 4145   ac_status=$?
 4146   grep -v '^ *+' conftest.er1 >conftest.err
 4147   rm -f conftest.er1
 4148   cat conftest.err >&5
 4149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4150   (exit $ac_status); } && {
 4151      test -z "$ac_c_werror_flag" ||
 4152      test ! -s conftest.err
 4153        } && test -s conftest.$ac_objext; then
 4154   ac_cv_prog_cc_g=yes
 4155 else
 4156   echo "$as_me: failed program was:" >&5
 4157 sed 's/^/| /' conftest.$ac_ext >&5
 4158 
 4159 
 4160 fi
 4161 
 4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4163 fi
 4164 
 4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4166 fi
 4167 
 4168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 4169    ac_c_werror_flag=$ac_save_c_werror_flag
 4170 fi
 4171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 4172 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 4173 if test "$ac_test_CFLAGS" = set; then
 4174   CFLAGS=$ac_save_CFLAGS
 4175 elif test $ac_cv_prog_cc_g = yes; then
 4176   if test "$GCC" = yes; then
 4177     CFLAGS="-g -O2"
 4178   else
 4179     CFLAGS="-g"
 4180   fi
 4181 else
 4182   if test "$GCC" = yes; then
 4183     CFLAGS="-O2"
 4184   else
 4185     CFLAGS=
 4186   fi
 4187 fi
 4188 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 4189 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 4190 if test "${ac_cv_prog_cc_c89+set}" = set; then
 4191   echo $ECHO_N "(cached) $ECHO_C" >&6
 4192 else
 4193   ac_cv_prog_cc_c89=no
 4194 ac_save_CC=$CC
 4195 cat >conftest.$ac_ext <<_ACEOF
 4196 /* confdefs.h.  */
 4197 _ACEOF
 4198 cat confdefs.h >>conftest.$ac_ext
 4199 cat >>conftest.$ac_ext <<_ACEOF
 4200 /* end confdefs.h.  */
 4201 #include <stdarg.h>
 4202 #include <stdio.h>
 4203 #include <sys/types.h>
 4204 #include <sys/stat.h>
 4205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 4206 struct buf { int x; };
 4207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 4208 static char *e (p, i)
 4209      char **p;
 4210      int i;
 4211 {
 4212   return p[i];
 4213 }
 4214 static char *f (char * (*g) (char **, int), char **p, ...)
 4215 {
 4216   char *s;
 4217   va_list v;
 4218   va_start (v,p);
 4219   s = g (p, va_arg (v,int));
 4220   va_end (v);
 4221   return s;
 4222 }
 4223 
 4224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 4225    function prototypes and stuff, but not '\xHH' hex character constants.
 4226    These don't provoke an error unfortunately, instead are silently treated
 4227    as 'x'.  The following induces an error, until -std is added to get
 4228    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 4229    array size at least.  It's necessary to write '\x00'==0 to get something
 4230    that's true only with -std.  */
 4231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 4232 
 4233 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 4234    inside strings and character constants.  */
 4235 #define FOO(x) 'x'
 4236 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 4237 
 4238 int test (int i, double x);
 4239 struct s1 {int (*f) (int a);};
 4240 struct s2 {int (*f) (double a);};
 4241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 4242 int argc;
 4243 char **argv;
 4244 int
 4245 main ()
 4246 {
 4247 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 4248   ;
 4249   return 0;
 4250 }
 4251 _ACEOF
 4252 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 4253     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 4254 do
 4255   CC="$ac_save_CC $ac_arg"
 4256   rm -f conftest.$ac_objext
 4257 if { (ac_try="$ac_compile"
 4258 case "(($ac_try" in
 4259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 4260   *) ac_try_echo=$ac_try;;
 4261 esac
 4262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 4263   (eval "$ac_compile") 2>conftest.er1
 4264   ac_status=$?
 4265   grep -v '^ *+' conftest.er1 >conftest.err
 4266   rm -f conftest.er1
 4267   cat conftest.err >&5
 4268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4269   (exit $ac_status); } && {
 4270      test -z "$ac_c_werror_flag" ||
 4271      test ! -s conftest.err
 4272        } && test -s conftest.$ac_objext; then
 4273   ac_cv_prog_cc_c89=$ac_arg
 4274 else
 4275   echo "$as_me: failed program was:" >&5
 4276 sed 's/^/| /' conftest.$ac_ext >&5
 4277 
 4278 
 4279 fi
 4280 
 4281 rm -f core conftest.err conftest.$ac_objext
 4282   test "x$ac_cv_prog_cc_c89" != "xno" && break
 4283 done
 4284 rm -f conftest.$ac_ext
 4285 CC=$ac_save_CC
 4286 
 4287 fi
 4288 # AC_CACHE_VAL
 4289 case "x$ac_cv_prog_cc_c89" in
 4290   x)
 4291     { echo "$as_me:$LINENO: result: none needed" >&5
 4292 echo "${ECHO_T}none needed" >&6; } ;;
 4293   xno)
 4294     { echo "$as_me:$LINENO: result: unsupported" >&5
 4295 echo "${ECHO_T}unsupported" >&6; } ;;
 4296   *)
 4297     CC="$CC $ac_cv_prog_cc_c89"
 4298     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 4299 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 4300 esac
 4301 
 4302 
 4303 ac_ext=c
 4304 ac_cpp='$CPP $CPPFLAGS'
 4305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 4306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 4307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 4308 
 4309 depcc="$CC"   am_compiler_list=
 4310 
 4311 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 4312 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 4313 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 4314   echo $ECHO_N "(cached) $ECHO_C" >&6
 4315 else
 4316   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 4317   # We make a subdir and do the tests there.  Otherwise we can end up
 4318   # making bogus files that we don't know about and never remove.  For
 4319   # instance it was reported that on HP-UX the gcc test will end up
 4320   # making a dummy file named `D' -- because `-MD' means `put the output
 4321   # in D'.
 4322   mkdir conftest.dir
 4323   # Copy depcomp to subdir because otherwise we won't find it if we're
 4324   # using a relative directory.
 4325   cp "$am_depcomp" conftest.dir
 4326   cd conftest.dir
 4327   # We will build objects and dependencies in a subdirectory because
 4328   # it helps to detect inapplicable dependency modes.  For instance
 4329   # both Tru64's cc and ICC support -MD to output dependencies as a
 4330   # side effect of compilation, but ICC will put the dependencies in
 4331   # the current directory while Tru64 will put them in the object
 4332   # directory.
 4333   mkdir sub
 4334 
 4335   am_cv_CC_dependencies_compiler_type=none
 4336   if test "$am_compiler_list" = ""; then
 4337      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 4338   fi
 4339   for depmode in $am_compiler_list; do
 4340     # Setup a source with many dependencies, because some compilers
 4341     # like to wrap large dependency lists on column 80 (with \), and
 4342     # we should not choose a depcomp mode which is confused by this.
 4343     #
 4344     # We need to recreate these files for each test, as the compiler may
 4345     # overwrite some of them when testing with obscure command lines.
 4346     # This happens at least with the AIX C compiler.
 4347     : > sub/conftest.c
 4348     for i in 1 2 3 4 5 6; do
 4349       echo '#include "conftst'$i'.h"' >> sub/conftest.c
 4350       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 4351       # Solaris 8's {/usr,}/bin/sh.
 4352       touch sub/conftst$i.h
 4353     done
 4354     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 4355 
 4356     case $depmode in
 4357     nosideeffect)
 4358       # after this tag, mechanisms are not by side-effect, so they'll
 4359       # only be used when explicitly requested
 4360       if test "x$enable_dependency_tracking" = xyes; then
 4361     continue
 4362       else
 4363     break
 4364       fi
 4365       ;;
 4366     none) break ;;
 4367     esac
 4368     # We check with `-c' and `-o' for the sake of the "dashmstdout"
 4369     # mode.  It turns out that the SunPro C++ compiler does not properly
 4370     # handle `-M -o', and we need to detect this.
 4371     if depmode=$depmode \
 4372        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 4373        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 4374        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 4375          >/dev/null 2>conftest.err &&
 4376        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 4377        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 4378        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 4379       # icc doesn't choke on unknown options, it will just issue warnings
 4380       # or remarks (even with -Werror).  So we grep stderr for any message
 4381       # that says an option was ignored or not supported.
 4382       # When given -MP, icc 7.0 and 7.1 complain thusly:
 4383       #   icc: Command line warning: ignoring option '-M'; no argument required
 4384       # The diagnosis changed in icc 8.0:
 4385       #   icc: Command line remark: option '-MP' not supported
 4386       if (grep 'ignoring option' conftest.err ||
 4387           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 4388         am_cv_CC_dependencies_compiler_type=$depmode
 4389         break
 4390       fi
 4391     fi
 4392   done
 4393 
 4394   cd ..
 4395   rm -rf conftest.dir
 4396 else
 4397   am_cv_CC_dependencies_compiler_type=none
 4398 fi
 4399 
 4400 fi
 4401 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 4402 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 4403 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 4404 
 4405 
 4406 
 4407 if
 4408   test "x$enable_dependency_tracking" != xno \
 4409   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 4410   am__fastdepCC_TRUE=
 4411   am__fastdepCC_FALSE='#'
 4412 else
 4413   am__fastdepCC_TRUE='#'
 4414   am__fastdepCC_FALSE=
 4415 fi
 4416 
 4417 
 4418 # Check whether --enable-shared was given.
 4419 if test "${enable_shared+set}" = set; then
 4420   enableval=$enable_shared; p=${PACKAGE-default}
 4421     case $enableval in
 4422     yes) enable_shared=yes ;;
 4423     no) enable_shared=no ;;
 4424     *)
 4425       enable_shared=no
 4426       # Look at the argument we got.  We use all the common list separators.
 4427       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 4428       for pkg in $enableval; do
 4429     IFS="$lt_save_ifs"
 4430     if test "X$pkg" = "X$p"; then
 4431       enable_shared=yes
 4432     fi
 4433       done
 4434       IFS="$lt_save_ifs"
 4435       ;;
 4436     esac
 4437 else
 4438   enable_shared=yes
 4439 fi
 4440 
 4441 
 4442 # Check whether --enable-static was given.
 4443 if test "${enable_static+set}" = set; then
 4444   enableval=$enable_static; p=${PACKAGE-default}
 4445     case $enableval in
 4446     yes) enable_static=yes ;;
 4447     no) enable_static=no ;;
 4448     *)
 4449      enable_static=no
 4450       # Look at the argument we got.  We use all the common list separators.
 4451       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 4452       for pkg in $enableval; do
 4453     IFS="$lt_save_ifs"
 4454     if test "X$pkg" = "X$p"; then
 4455       enable_static=yes
 4456     fi
 4457       done
 4458       IFS="$lt_save_ifs"
 4459       ;;
 4460     esac
 4461 else
 4462   enable_static=yes
 4463 fi
 4464 
 4465 
 4466 # Check whether --enable-fast-install was given.
 4467 if test "${enable_fast_install+set}" = set; then
 4468   enableval=$enable_fast_install; p=${PACKAGE-default}
 4469     case $enableval in
 4470     yes) enable_fast_install=yes ;;
 4471     no) enable_fast_install=no ;;
 4472     *)
 4473       enable_fast_install=no
 4474       # Look at the argument we got.  We use all the common list separators.
 4475       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 4476       for pkg in $enableval; do
 4477     IFS="$lt_save_ifs"
 4478     if test "X$pkg" = "X$p"; then
 4479       enable_fast_install=yes
 4480     fi
 4481       done
 4482       IFS="$lt_save_ifs"
 4483       ;;
 4484     esac
 4485 else
 4486   enable_fast_install=yes
 4487 fi
 4488 
 4489 
 4490 # Make sure we can run config.sub.
 4491 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 4492   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 4493 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 4494    { (exit 1); exit 1; }; }
 4495 
 4496 { echo "$as_me:$LINENO: checking build system type" >&5
 4497 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 4498 if test "${ac_cv_build+set}" = set; then
 4499   echo $ECHO_N "(cached) $ECHO_C" >&6
 4500 else
 4501   ac_build_alias=$build_alias
 4502 test "x$ac_build_alias" = x &&
 4503   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 4504 test "x$ac_build_alias" = x &&
 4505   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 4506 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 4507    { (exit 1); exit 1; }; }
 4508 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 4509   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 4510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 4511    { (exit 1); exit 1; }; }
 4512 
 4513 fi
 4514 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 4515 echo "${ECHO_T}$ac_cv_build" >&6; }
 4516 case $ac_cv_build in
 4517 *-*-*) ;;
 4518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 4519 echo "$as_me: error: invalid value of canonical build" >&2;}
 4520    { (exit 1); exit 1; }; };;
 4521 esac
 4522 build=$ac_cv_build
 4523 ac_save_IFS=$IFS; IFS='-'
 4524 set x $ac_cv_build
 4525 shift
 4526 build_cpu=$1
 4527 build_vendor=$2
 4528 shift; shift
 4529 # Remember, the first character of IFS is used to create $*,
 4530 # except with old shells:
 4531 build_os=$*
 4532 IFS=$ac_save_IFS
 4533 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 4534 
 4535 
 4536 { echo "$as_me:$LINENO: checking host system type" >&5
 4537 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 4538 if test "${ac_cv_host+set}" = set; then
 4539   echo $ECHO_N "(cached) $ECHO_C" >&6
 4540 else
 4541   if test "x$host_alias" = x; then
 4542   ac_cv_host=$ac_cv_build
 4543 else
 4544   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 4545     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 4546 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 4547    { (exit 1); exit 1; }; }
 4548 fi
 4549 
 4550 fi
 4551 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 4552 echo "${ECHO_T}$ac_cv_host" >&6; }
 4553 case $ac_cv_host in
 4554 *-*-*) ;;
 4555 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 4556 echo "$as_me: error: invalid value of canonical host" >&2;}
 4557    { (exit 1); exit 1; }; };;
 4558 esac
 4559 host=$ac_cv_host
 4560 ac_save_IFS=$IFS; IFS='-'
 4561 set x $ac_cv_host
 4562 shift
 4563 host_cpu=$1
 4564 host_vendor=$2
 4565 shift; shift
 4566 # Remember, the first character of IFS is used to create $*,
 4567 # except with old shells:
 4568 host_os=$*
 4569 IFS=$ac_save_IFS
 4570 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 4571 
 4572 
 4573 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 4574 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 4575 if test "${lt_cv_path_SED+set}" = set; then
 4576   echo $ECHO_N "(cached) $ECHO_C" >&6
 4577 else
 4578   # Loop through the user's path and test for sed and gsed.
 4579 # Then use that list of sed's as ones to test for truncation.
 4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4581 for as_dir in $PATH
 4582 do
 4583   IFS=$as_save_IFS
 4584   test -z "$as_dir" && as_dir=.
 4585   for lt_ac_prog in sed gsed; do
 4586     for ac_exec_ext in '' $ac_executable_extensions; do
 4587       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
 4588         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
 4589       fi
 4590     done
 4591   done
 4592 done
 4593 IFS=$as_save_IFS
 4594 lt_ac_max=0
 4595 lt_ac_count=0
 4596 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
 4597 # along with /bin/sed that truncates output.
 4598 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
 4599   test ! -f $lt_ac_sed && continue
 4600   cat /dev/null > conftest.in
 4601   lt_ac_count=0
 4602   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
 4603   # Check for GNU sed and select it if it is found.
 4604   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
 4605     lt_cv_path_SED=$lt_ac_sed
 4606     break
 4607   fi
 4608   while true; do
 4609     cat conftest.in conftest.in >conftest.tmp
 4610     mv conftest.tmp conftest.in
 4611     cp conftest.in conftest.nl
 4612     echo >>conftest.nl
 4613     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
 4614     cmp -s conftest.out conftest.nl || break
 4615     # 10000 chars as input seems more than enough
 4616     test $lt_ac_count -gt 10 && break
 4617     lt_ac_count=`expr $lt_ac_count + 1`
 4618     if test $lt_ac_count -gt $lt_ac_max; then
 4619       lt_ac_max=$lt_ac_count
 4620       lt_cv_path_SED=$lt_ac_sed
 4621     fi
 4622   done
 4623 done
 4624 
 4625 fi
 4626 
 4627 SED=$lt_cv_path_SED
 4628 
 4629 { echo "$as_me:$LINENO: result: $SED" >&5
 4630 echo "${ECHO_T}$SED" >&6; }
 4631 
 4632 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 4633 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 4634 if test "${ac_cv_path_GREP+set}" = set; then
 4635   echo $ECHO_N "(cached) $ECHO_C" >&6
 4636 else
 4637   # Extract the first word of "grep ggrep" to use in msg output
 4638 if test -z "$GREP"; then
 4639 set dummy grep ggrep; ac_prog_name=$2
 4640 if test "${ac_cv_path_GREP+set}" = set; then
 4641   echo $ECHO_N "(cached) $ECHO_C" >&6
 4642 else
 4643   ac_path_GREP_found=false
 4644 # Loop through the user's path and test for each of PROGNAME-LIST
 4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4647 do
 4648   IFS=$as_save_IFS
 4649   test -z "$as_dir" && as_dir=.
 4650   for ac_prog in grep ggrep; do
 4651   for ac_exec_ext in '' $ac_executable_extensions; do
 4652     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 4653     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 4654     # Check for GNU ac_path_GREP and select it if it is found.
 4655   # Check for GNU $ac_path_GREP
 4656 case `"$ac_path_GREP" --version 2>&1` in
 4657 *GNU*)
 4658   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 4659 *)
 4660   ac_count=0
 4661   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 4662   while :
 4663   do
 4664     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4665     mv "conftest.tmp" "conftest.in"
 4666     cp "conftest.in" "conftest.nl"
 4667     echo 'GREP' >> "conftest.nl"
 4668     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4669     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4670     ac_count=`expr $ac_count + 1`
 4671     if test $ac_count -gt ${ac_path_GREP_max-0}; then
 4672       # Best one so far, save it but keep looking for a better one
 4673       ac_cv_path_GREP="$ac_path_GREP"
 4674       ac_path_GREP_max=$ac_count
 4675     fi
 4676     # 10*(2^10) chars as input seems more than enough
 4677     test $ac_count -gt 10 && break
 4678   done
 4679   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4680 esac
 4681 
 4682 
 4683     $ac_path_GREP_found && break 3
 4684   done
 4685 done
 4686 
 4687 done
 4688 IFS=$as_save_IFS
 4689 
 4690 
 4691 fi
 4692 
 4693 GREP="$ac_cv_path_GREP"
 4694 if test -z "$GREP"; then
 4695   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 4696 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 4697    { (exit 1); exit 1; }; }
 4698 fi
 4699 
 4700 else
 4701   ac_cv_path_GREP=$GREP
 4702 fi
 4703 
 4704 
 4705 fi
 4706 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 4707 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 4708  GREP="$ac_cv_path_GREP"
 4709 
 4710 
 4711 { echo "$as_me:$LINENO: checking for egrep" >&5
 4712 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 4713 if test "${ac_cv_path_EGREP+set}" = set; then
 4714   echo $ECHO_N "(cached) $ECHO_C" >&6
 4715 else
 4716   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 4717    then ac_cv_path_EGREP="$GREP -E"
 4718    else
 4719      # Extract the first word of "egrep" to use in msg output
 4720 if test -z "$EGREP"; then
 4721 set dummy egrep; ac_prog_name=$2
 4722 if test "${ac_cv_path_EGREP+set}" = set; then
 4723   echo $ECHO_N "(cached) $ECHO_C" >&6
 4724 else
 4725   ac_path_EGREP_found=false
 4726 # Loop through the user's path and test for each of PROGNAME-LIST
 4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 4728 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 4729 do
 4730   IFS=$as_save_IFS
 4731   test -z "$as_dir" && as_dir=.
 4732   for ac_prog in egrep; do
 4733   for ac_exec_ext in '' $ac_executable_extensions; do
 4734     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 4735     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 4736     # Check for GNU ac_path_EGREP and select it if it is found.
 4737   # Check for GNU $ac_path_EGREP
 4738 case `"$ac_path_EGREP" --version 2>&1` in
 4739 *GNU*)
 4740   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 4741 *)
 4742   ac_count=0
 4743   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 4744   while :
 4745   do
 4746     cat "conftest.in" "conftest.in" >"conftest.tmp"
 4747     mv "conftest.tmp" "conftest.in"
 4748     cp "conftest.in" "conftest.nl"
 4749     echo 'EGREP' >> "conftest.nl"
 4750     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 4751     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 4752     ac_count=`expr $ac_count + 1`
 4753     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 4754       # Best one so far, save it but keep looking for a better one
 4755       ac_cv_path_EGREP="$ac_path_EGREP"
 4756       ac_path_EGREP_max=$ac_count
 4757     fi
 4758     # 10*(2^10) chars as input seems more than enough
 4759     test $ac_count -gt 10 && break
 4760   done
 4761   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 4762 esac
 4763 
 4764 
 4765     $ac_path_EGREP_found && break 3
 4766   done
 4767 done
 4768 
 4769 done
 4770 IFS=$as_save_IFS
 4771 
 4772 
 4773 fi
 4774 
 4775 EGREP="$ac_cv_path_EGREP"
 4776 if test -z "$EGREP"; then
 4777   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 4778 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 4779    { (exit 1); exit 1; }; }
 4780 fi
 4781 
 4782 else
 4783   ac_cv_path_EGREP=$EGREP
 4784 fi
 4785 
 4786 
 4787    fi
 4788 fi
 4789 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 4790 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 4791  EGREP="$ac_cv_path_EGREP"
 4792 
 4793 
 4794 
 4795 # Check whether --with-gnu-ld was given.
 4796 if test "${with_gnu_ld+set}" = set; then
 4797   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 4798 else
 4799   with_gnu_ld=no
 4800 fi
 4801 
 4802 ac_prog=ld
 4803 if test "$GCC" = yes; then
 4804   # Check if gcc -print-prog-name=ld gives a path.
 4805   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 4806 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 4807   case $host in
 4808   *-*-mingw*)
 4809     # gcc leaves a trailing carriage return which upsets mingw
 4810     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 4811   *)
 4812     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 4813   esac
 4814   case $ac_prog in
 4815     # Accept absolute paths.
 4816     [\\/]* | ?:[\\/]*)
 4817       re_direlt='/[^/][^/]*/\.\./'
 4818       # Canonicalize the pathname of ld
 4819       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 4820       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 4821     ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 4822       done
 4823       test -z "$LD" && LD="$ac_prog"
 4824       ;;
 4825   "")
 4826     # If it fails, then pretend we aren't using GCC.
 4827     ac_prog=ld
 4828     ;;
 4829   *)
 4830     # If it is relative, then search for the first ld in PATH.
 4831     with_gnu_ld=unknown
 4832     ;;
 4833   esac
 4834 elif test "$with_gnu_ld" = yes; then
 4835   { echo "$as_me:$LINENO: checking for GNU ld" >&5
 4836 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 4837 else
 4838   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 4839 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 4840 fi
 4841 if test "${lt_cv_path_LD+set}" = set; then
 4842   echo $ECHO_N "(cached) $ECHO_C" >&6
 4843 else
 4844   if test -z "$LD"; then
 4845   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4846   for ac_dir in $PATH; do
 4847     IFS="$lt_save_ifs"
 4848     test -z "$ac_dir" && ac_dir=.
 4849     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 4850       lt_cv_path_LD="$ac_dir/$ac_prog"
 4851       # Check to see if the program is GNU ld.  I'd rather use --version,
 4852       # but apparently some variants of GNU ld only accept -v.
 4853       # Break only if it was the GNU/non-GNU ld that we prefer.
 4854       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 4855       *GNU* | *'with BFD'*)
 4856     test "$with_gnu_ld" != no && break
 4857     ;;
 4858       *)
 4859     test "$with_gnu_ld" != yes && break
 4860     ;;
 4861       esac
 4862     fi
 4863   done
 4864   IFS="$lt_save_ifs"
 4865 else
 4866   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 4867 fi
 4868 fi
 4869 
 4870 LD="$lt_cv_path_LD"
 4871 if test -n "$LD"; then
 4872   { echo "$as_me:$LINENO: result: $LD" >&5
 4873 echo "${ECHO_T}$LD" >&6; }
 4874 else
 4875   { echo "$as_me:$LINENO: result: no" >&5
 4876 echo "${ECHO_T}no" >&6; }
 4877 fi
 4878 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 4879 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 4880    { (exit 1); exit 1; }; }
 4881 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 4882 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 4883 if test "${lt_cv_prog_gnu_ld+set}" = set; then
 4884   echo $ECHO_N "(cached) $ECHO_C" >&6
 4885 else
 4886   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 4887 case `$LD -v 2>&1 </dev/null` in
 4888 *GNU* | *'with BFD'*)
 4889   lt_cv_prog_gnu_ld=yes
 4890   ;;
 4891 *)
 4892   lt_cv_prog_gnu_ld=no
 4893   ;;
 4894 esac
 4895 fi
 4896 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 4897 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 4898 with_gnu_ld=$lt_cv_prog_gnu_ld
 4899 
 4900 
 4901 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 4902 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 4903 if test "${lt_cv_ld_reload_flag+set}" = set; then
 4904   echo $ECHO_N "(cached) $ECHO_C" >&6
 4905 else
 4906   lt_cv_ld_reload_flag='-r'
 4907 fi
 4908 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 4909 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 4910 reload_flag=$lt_cv_ld_reload_flag
 4911 case $reload_flag in
 4912 "" | " "*) ;;
 4913 *) reload_flag=" $reload_flag" ;;
 4914 esac
 4915 reload_cmds='$LD$reload_flag -o $output$reload_objs'
 4916 case $host_os in
 4917   darwin*)
 4918     if test "$GCC" = yes; then
 4919       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 4920     else
 4921       reload_cmds='$LD$reload_flag -o $output$reload_objs'
 4922     fi
 4923     ;;
 4924 esac
 4925 
 4926 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 4927 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 4928 if test "${lt_cv_path_NM+set}" = set; then
 4929   echo $ECHO_N "(cached) $ECHO_C" >&6
 4930 else
 4931   if test -n "$NM"; then
 4932   # Let the user override the test.
 4933   lt_cv_path_NM="$NM"
 4934 else
 4935   lt_nm_to_check="${ac_tool_prefix}nm"
 4936   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 4937     lt_nm_to_check="$lt_nm_to_check nm"
 4938   fi
 4939   for lt_tmp_nm in $lt_nm_to_check; do
 4940     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 4941     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 4942       IFS="$lt_save_ifs"
 4943       test -z "$ac_dir" && ac_dir=.
 4944       tmp_nm="$ac_dir/$lt_tmp_nm"
 4945       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 4946     # Check to see if the nm accepts a BSD-compat flag.
 4947     # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 4948     #   nm: unknown option "B" ignored
 4949     # Tru64's nm complains that /dev/null is an invalid object file
 4950     case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 4951     */dev/null* | *'Invalid file or object type'*)
 4952       lt_cv_path_NM="$tmp_nm -B"
 4953       break
 4954       ;;
 4955     *)
 4956       case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 4957       */dev/null*)
 4958         lt_cv_path_NM="$tmp_nm -p"
 4959         break
 4960         ;;
 4961       *)
 4962         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 4963         continue # so that we can try to find one that supports BSD flags
 4964         ;;
 4965       esac
 4966       ;;
 4967     esac
 4968       fi
 4969     done
 4970     IFS="$lt_save_ifs"
 4971   done
 4972   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 4973 fi
 4974 fi
 4975 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 4976 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 4977 NM="$lt_cv_path_NM"
 4978 
 4979 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
 4980 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 4981 LN_S=$as_ln_s
 4982 if test "$LN_S" = "ln -s"; then
 4983   { echo "$as_me:$LINENO: result: yes" >&5
 4984 echo "${ECHO_T}yes" >&6; }
 4985 else
 4986   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 4987 echo "${ECHO_T}no, using $LN_S" >&6; }
 4988 fi
 4989 
 4990 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 4991 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 4992 if test "${lt_cv_deplibs_check_method+set}" = set; then
 4993   echo $ECHO_N "(cached) $ECHO_C" >&6
 4994 else
 4995   lt_cv_file_magic_cmd='$MAGIC_CMD'
 4996 lt_cv_file_magic_test_file=
 4997 lt_cv_deplibs_check_method='unknown'
 4998 # Need to set the preceding variable on all platforms that support
 4999 # interlibrary dependencies.
 5000 # 'none' -- dependencies not supported.
 5001 # `unknown' -- same as none, but documents that we really don't know.
 5002 # 'pass_all' -- all dependencies passed with no checks.
 5003 # 'test_compile' -- check by making test program.
 5004 # 'file_magic [[regex]]' -- check by looking for files in library path
 5005 # which responds to the $file_magic_cmd with a given extended regex.
 5006 # If you have `file' or equivalent on your system and you're not sure
 5007 # whether `pass_all' will *always* work, you probably want this one.
 5008 
 5009 case $host_os in
 5010 aix4* | aix5*)
 5011   lt_cv_deplibs_check_method=pass_all
 5012   ;;
 5013 
 5014 beos*)
 5015   lt_cv_deplibs_check_method=pass_all
 5016   ;;
 5017 
 5018 bsdi[45]*)
 5019   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 5020   lt_cv_file_magic_cmd='/usr/bin/file -L'
 5021   lt_cv_file_magic_test_file=/shlib/libc.so
 5022   ;;
 5023 
 5024 cygwin*)
 5025   # func_win32_libid is a shell function defined in ltmain.sh
 5026   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5027   lt_cv_file_magic_cmd='func_win32_libid'
 5028   ;;
 5029 
 5030 mingw* | pw32*)
 5031   # Base MSYS/MinGW do not provide the 'file' command needed by
 5032   # func_win32_libid shell function, so use a weaker test based on 'objdump',
 5033   # unless we find 'file', for example because we are cross-compiling.
 5034   if ( file / ) >/dev/null 2>&1; then
 5035     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 5036     lt_cv_file_magic_cmd='func_win32_libid'
 5037   else
 5038     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 5039     lt_cv_file_magic_cmd='$OBJDUMP -f'
 5040   fi
 5041   ;;
 5042 
 5043 darwin* | rhapsody*)
 5044   lt_cv_deplibs_check_method=pass_all
 5045   ;;
 5046 
 5047 freebsd* | dragonfly*)
 5048   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 5049     case $host_cpu in
 5050     i*86 )
 5051       # Not sure whether the presence of OpenBSD here was a mistake.
 5052       # Let's accept both of them until this is cleared up.
 5053       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 5054       lt_cv_file_magic_cmd=/usr/bin/file
 5055       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 5056       ;;
 5057     esac
 5058   else
 5059     lt_cv_deplibs_check_method=pass_all
 5060   fi
 5061   ;;
 5062 
 5063 gnu*)
 5064   lt_cv_deplibs_check_method=pass_all
 5065   ;;
 5066 
 5067 hpux10.20* | hpux11*)
 5068   lt_cv_file_magic_cmd=/usr/bin/file
 5069   case $host_cpu in
 5070   ia64*)
 5071     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 5072     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 5073     ;;
 5074   hppa*64*)
 5075     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 5076     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 5077     ;;
 5078   *)
 5079     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 5080     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 5081     ;;
 5082   esac
 5083   ;;
 5084 
 5085 interix[3-9]*)
 5086   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 5087   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 5088   ;;
 5089 
 5090 irix5* | irix6* | nonstopux*)
 5091   case $LD in
 5092   *-32|*"-32 ") libmagic=32-bit;;
 5093   *-n32|*"-n32 ") libmagic=N32;;
 5094   *-64|*"-64 ") libmagic=64-bit;;
 5095   *) libmagic=never-match;;
 5096   esac
 5097   lt_cv_deplibs_check_method=pass_all
 5098   ;;
 5099 
 5100 # This must be Linux ELF.
 5101 linux* | k*bsd*-gnu)
 5102   lt_cv_deplibs_check_method=pass_all
 5103   ;;
 5104 
 5105 netbsd* | netbsdelf*-gnu)
 5106   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 5107     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5108   else
 5109     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 5110   fi
 5111   ;;
 5112 
 5113 newos6*)
 5114   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 5115   lt_cv_file_magic_cmd=/usr/bin/file
 5116   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 5117   ;;
 5118 
 5119 nto-qnx*)
 5120   lt_cv_deplibs_check_method=unknown
 5121   ;;
 5122 
 5123 openbsd*)
 5124   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 5125     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 5126   else
 5127     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 5128   fi
 5129   ;;
 5130 
 5131 osf3* | osf4* | osf5*)
 5132   lt_cv_deplibs_check_method=pass_all
 5133   ;;
 5134 
 5135 rdos*)
 5136   lt_cv_deplibs_check_method=pass_all
 5137   ;;
 5138 
 5139 solaris*)
 5140   lt_cv_deplibs_check_method=pass_all
 5141   ;;
 5142 
 5143 sysv4 | sysv4.3*)
 5144   case $host_vendor in
 5145   motorola)
 5146     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 5147     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 5148     ;;
 5149   ncr)
 5150     lt_cv_deplibs_check_method=pass_all
 5151     ;;
 5152   sequent)
 5153     lt_cv_file_magic_cmd='/bin/file'
 5154     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 5155     ;;
 5156   sni)
 5157     lt_cv_file_magic_cmd='/bin/file'
 5158     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 5159     lt_cv_file_magic_test_file=/lib/libc.so
 5160     ;;
 5161   siemens)
 5162     lt_cv_deplibs_check_method=pass_all
 5163     ;;
 5164   pc)
 5165     lt_cv_deplibs_check_method=pass_all
 5166     ;;
 5167   esac
 5168   ;;
 5169 
 5170 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 5171   lt_cv_deplibs_check_method=pass_all
 5172   ;;
 5173 esac
 5174 
 5175 fi
 5176 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 5177 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 5178 file_magic_cmd=$lt_cv_file_magic_cmd
 5179 deplibs_check_method=$lt_cv_deplibs_check_method
 5180 test -z "$deplibs_check_method" && deplibs_check_method=unknown
 5181 
 5182 
 5183 
 5184 
 5185 # If no C compiler was specified, use CC.
 5186 LTCC=${LTCC-"$CC"}
 5187 
 5188 # If no C compiler flags were specified, use CFLAGS.
 5189 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 5190 
 5191 # Allow CC to be a program name with arguments.
 5192 compiler=$CC
 5193 
 5194 # Check whether --enable-libtool-lock was given.
 5195 if test "${enable_libtool_lock+set}" = set; then
 5196   enableval=$enable_libtool_lock;
 5197 fi
 5198 
 5199 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 5200 
 5201 # Some flags need to be propagated to the compiler or linker for good
 5202 # libtool support.
 5203 case $host in
 5204 ia64-*-hpux*)
 5205   # Find out which ABI we are using.
 5206   echo 'int i;' > conftest.$ac_ext
 5207   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5208   (eval $ac_compile) 2>&5
 5209   ac_status=$?
 5210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5211   (exit $ac_status); }; then
 5212     case `/usr/bin/file conftest.$ac_objext` in
 5213     *ELF-32*)
 5214       HPUX_IA64_MODE="32"
 5215       ;;
 5216     *ELF-64*)
 5217       HPUX_IA64_MODE="64"
 5218       ;;
 5219     esac
 5220   fi
 5221   rm -rf conftest*
 5222   ;;
 5223 *-*-irix6*)
 5224   # Find out which ABI we are using.
 5225   echo '#line 5225 "configure"' > conftest.$ac_ext
 5226   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5227   (eval $ac_compile) 2>&5
 5228   ac_status=$?
 5229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5230   (exit $ac_status); }; then
 5231    if test "$lt_cv_prog_gnu_ld" = yes; then
 5232     case `/usr/bin/file conftest.$ac_objext` in
 5233     *32-bit*)
 5234       LD="${LD-ld} -melf32bsmip"
 5235       ;;
 5236     *N32*)
 5237       LD="${LD-ld} -melf32bmipn32"
 5238       ;;
 5239     *64-bit*)
 5240       LD="${LD-ld} -melf64bmip"
 5241       ;;
 5242     esac
 5243    else
 5244     case `/usr/bin/file conftest.$ac_objext` in
 5245     *32-bit*)
 5246       LD="${LD-ld} -32"
 5247       ;;
 5248     *N32*)
 5249       LD="${LD-ld} -n32"
 5250       ;;
 5251     *64-bit*)
 5252       LD="${LD-ld} -64"
 5253       ;;
 5254     esac
 5255    fi
 5256   fi
 5257   rm -rf conftest*
 5258   ;;
 5259 
 5260 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 5261 s390*-*linux*|sparc*-*linux*)
 5262   # Find out which ABI we are using.
 5263   echo 'int i;' > conftest.$ac_ext
 5264   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5265   (eval $ac_compile) 2>&5
 5266   ac_status=$?
 5267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5268   (exit $ac_status); }; then
 5269     case `/usr/bin/file conftest.o` in
 5270     *32-bit*)
 5271       case $host in
 5272         x86_64-*kfreebsd*-gnu)
 5273           LD="${LD-ld} -m elf_i386_fbsd"
 5274           ;;
 5275         x86_64-*linux*)
 5276           LD="${LD-ld} -m elf_i386"
 5277           ;;
 5278         ppc64-*linux*|powerpc64-*linux*)
 5279           LD="${LD-ld} -m elf32ppclinux"
 5280           ;;
 5281         s390x-*linux*)
 5282           LD="${LD-ld} -m elf_s390"
 5283           ;;
 5284         sparc64-*linux*)
 5285           LD="${LD-ld} -m elf32_sparc"
 5286           ;;
 5287       esac
 5288       ;;
 5289     *64-bit*)
 5290       case $host in
 5291         x86_64-*kfreebsd*-gnu)
 5292           LD="${LD-ld} -m elf_x86_64_fbsd"
 5293           ;;
 5294         x86_64-*linux*)
 5295           LD="${LD-ld} -m elf_x86_64"
 5296           ;;
 5297         ppc*-*linux*|powerpc*-*linux*)
 5298           LD="${LD-ld} -m elf64ppc"
 5299           ;;
 5300         s390*-*linux*)
 5301           LD="${LD-ld} -m elf64_s390"
 5302           ;;
 5303         sparc*-*linux*)
 5304           LD="${LD-ld} -m elf64_sparc"
 5305           ;;
 5306       esac
 5307       ;;
 5308     esac
 5309   fi
 5310   rm -rf conftest*
 5311   ;;
 5312 
 5313 *-*-sco3.2v5*)
 5314   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 5315   SAVE_CFLAGS="$CFLAGS"
 5316   CFLAGS="$CFLAGS -belf"
 5317   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 5318 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 5319 if test "${lt_cv_cc_needs_belf+set}" = set; then
 5320   echo $ECHO_N "(cached) $ECHO_C" >&6
 5321 else
 5322   ac_ext=c
 5323 ac_cpp='$CPP $CPPFLAGS'
 5324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5327 
 5328      cat >conftest.$ac_ext <<_ACEOF
 5329 /* confdefs.h.  */
 5330 _ACEOF
 5331 cat confdefs.h >>conftest.$ac_ext
 5332 cat >>conftest.$ac_ext <<_ACEOF
 5333 /* end confdefs.h.  */
 5334 
 5335 int
 5336 main ()
 5337 {
 5338 
 5339   ;
 5340   return 0;
 5341 }
 5342 _ACEOF
 5343 rm -f conftest.$ac_objext conftest$ac_exeext
 5344 if { (ac_try="$ac_link"
 5345 case "(($ac_try" in
 5346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5347   *) ac_try_echo=$ac_try;;
 5348 esac
 5349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5350   (eval "$ac_link") 2>conftest.er1
 5351   ac_status=$?
 5352   grep -v '^ *+' conftest.er1 >conftest.err
 5353   rm -f conftest.er1
 5354   cat conftest.err >&5
 5355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5356   (exit $ac_status); } && {
 5357      test -z "$ac_c_werror_flag" ||
 5358      test ! -s conftest.err
 5359        } && test -s conftest$ac_exeext &&
 5360        $as_test_x conftest$ac_exeext; then
 5361   lt_cv_cc_needs_belf=yes
 5362 else
 5363   echo "$as_me: failed program was:" >&5
 5364 sed 's/^/| /' conftest.$ac_ext >&5
 5365 
 5366     lt_cv_cc_needs_belf=no
 5367 fi
 5368 
 5369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 5370       conftest$ac_exeext conftest.$ac_ext
 5371      ac_ext=c
 5372 ac_cpp='$CPP $CPPFLAGS'
 5373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5376 
 5377 fi
 5378 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 5379 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 5380   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 5381     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 5382     CFLAGS="$SAVE_CFLAGS"
 5383   fi
 5384   ;;
 5385 sparc*-*solaris*)
 5386   # Find out which ABI we are using.
 5387   echo 'int i;' > conftest.$ac_ext
 5388   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5389   (eval $ac_compile) 2>&5
 5390   ac_status=$?
 5391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5392   (exit $ac_status); }; then
 5393     case `/usr/bin/file conftest.o` in
 5394     *64-bit*)
 5395       case $lt_cv_prog_gnu_ld in
 5396       yes*) LD="${LD-ld} -m elf64_sparc" ;;
 5397       *)    LD="${LD-ld} -64" ;;
 5398       esac
 5399       ;;
 5400     esac
 5401   fi
 5402   rm -rf conftest*
 5403   ;;
 5404 
 5405 
 5406 esac
 5407 
 5408 need_locks="$enable_libtool_lock"
 5409 
 5410 
 5411 ac_ext=c
 5412 ac_cpp='$CPP $CPPFLAGS'
 5413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5416 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 5417 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 5418 # On Suns, sometimes $CPP names a directory.
 5419 if test -n "$CPP" && test -d "$CPP"; then
 5420   CPP=
 5421 fi
 5422 if test -z "$CPP"; then
 5423   if test "${ac_cv_prog_CPP+set}" = set; then
 5424   echo $ECHO_N "(cached) $ECHO_C" >&6
 5425 else
 5426       # Double quotes because CPP needs to be expanded
 5427     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5428     do
 5429       ac_preproc_ok=false
 5430 for ac_c_preproc_warn_flag in '' yes
 5431 do
 5432   # Use a header file that comes with gcc, so configuring glibc
 5433   # with a fresh cross-compiler works.
 5434   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5435   # <limits.h> exists even on freestanding compilers.
 5436   # On the NeXT, cc -E runs the code through the compiler's parser,
 5437   # not just through cpp. "Syntax error" is here to catch this case.
 5438   cat >conftest.$ac_ext <<_ACEOF
 5439 /* confdefs.h.  */
 5440 _ACEOF
 5441 cat confdefs.h >>conftest.$ac_ext
 5442 cat >>conftest.$ac_ext <<_ACEOF
 5443 /* end confdefs.h.  */
 5444 #ifdef __STDC__
 5445 # include <limits.h>
 5446 #else
 5447 # include <assert.h>
 5448 #endif
 5449              Syntax error
 5450 _ACEOF
 5451 if { (ac_try="$ac_cpp conftest.$ac_ext"
 5452 case "(($ac_try" in
 5453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 5454   *) ac_try_echo=$ac_try;;
 5455 esac
 5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 5457   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 5458   ac_status=$?
 5459   grep -v '^ *+' conftest.er1 >conftest.err
 5460   rm -f conftest.er1
 5461   cat conftest.err >&5
 5462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5463   (exit $ac_status); } >/dev/null && {
 5464      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 5465      test ! -s conftest.err
 5466        }; then
 5467   :
 5468 else
 5469   echo "$as_me: failed program was:" >&5<