"Fossies" - the Fresh Open Source Software Archive

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