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