"Fossies" - the Fresh Open Source Software Archive

Member "xscreensaver-6.01/configure" (9 Jun 2021, 582788 Bytes) of package /linux/misc/xscreensaver-6.01.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 and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 6.00_vs_6.01.

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